/*
|--------------------------------------------------------------------------
| JustDate24 – Unterseite „Über JustDate24“
|--------------------------------------------------------------------------
| Pfad: /css/ueber-justdate24.css
|--------------------------------------------------------------------------
*/

:root {
    --about-navy: #082f6b;
    --about-navy-dark: #06265a;
    --about-orange: #ff6329;
    --about-orange-dark: #e94f18;
    --about-red: #ff5c74;
    --about-blue: #2e6db7;
    --about-text: #173761;
    --about-muted: #526885;
    --about-border: #dbe4ef;
    --about-soft: #f7f9fc;
}

.about-page,
.about-page * {
    box-sizing: border-box;
}

.about-page {
    width: 100%;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .98), transparent 36%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: var(--about-text);
    font-family: 'Roboto', Arial, sans-serif;
    padding: 9px 0 27px;
}

.about-page a {
    color: inherit;
}

.about-shell {
    width: min(100% - 46px, 1280px);
    margin: 0 auto;
}

.about-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* BREADCRUMB */

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    margin-bottom: 8px;
    color: #345174;
    font-size: 11px;
    font-weight: 700;
}

.about-breadcrumb a {
    text-decoration: none;
}

.about-breadcrumb a:hover {
    color: var(--about-orange);
}

/* HERO */

.about-hero {
    display: grid;
    grid-template-columns: minmax(420px, 39%) minmax(0, 61%);
    min-height: 235px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.about-hero-copy {
    position: relative;
    z-index: 2;
    padding: 16px 36px 16px 0;
}

.about-hero-copy::after {
    content: "";
    position: absolute;
    top: 0;
    right: -52px;
    bottom: 0;
    z-index: -1;
    width: 105px;
    background: linear-gradient(90deg, #fff 25%, rgba(255,255,255,0));
    pointer-events: none;
}

.about-hero h1 {
    margin: 0;
    color: var(--about-navy);
    font-size: clamp(43px, 4.3vw, 60px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.about-hero-script {
    margin: 11px 0 17px;
    color: var(--about-orange);
    font-family: 'Caveat', cursive;
    font-size: clamp(28px, 2.5vw, 37px);
    font-weight: 600;
    line-height: 1;
}

.about-hero-text {
    max-width: 510px;
    margin: 0 0 10px;
    color: #24456c;
    font-size: 14px;
    line-height: 1.65;
}

.about-hero-media {
    min-width: 0;
    min-height: 235px;
}

.about-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 235px;
    object-fit: cover;
    object-position: center;
}

/* HAUPTGRID */

.about-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "history mission values"
        "audience audience promise";
    gap: 11px;
}

.about-card,
.about-promise {
    min-width: 0;
    border: 1px solid var(--about-border);
    border-radius: 10px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 3px 12px rgba(24, 55, 95, .025);
}

.about-card {
    padding: 20px 25px;
}

.about-history {
    grid-area: history;
}

.about-mission {
    grid-area: mission;
}

.about-values {
    grid-area: values;
}

.about-audience {
    grid-area: audience;
}

.about-promise {
    grid-area: promise;
}

/* KARTENKÖPFE */

.about-card-header {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    margin-bottom: 12px;
}

.about-card-header h2,
.about-audience > h2,
.about-promise h2 {
    margin: 0;
    color: var(--about-navy);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
}

.about-card-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #eff5fc;
}

.about-card-icon svg,
.about-values-list svg,
.about-audience-item svg,
.about-promise-heart svg {
    width: 39px;
    height: 39px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-card-icon-blue {
    color: var(--about-blue);
}

.about-card-icon-orange {
    color: var(--about-orange);
    background: #fff3ed;
}

.about-card-icon-red {
    color: var(--about-red);
    background: #fff0f1;
}

/* GESCHICHTE */

.about-card-copy {
    padding-left: 72px;
}

.about-card-copy p {
    margin: 0 0 15px;
    color: #2b496e;
    font-size: 13px;
    line-height: 1.65;
}

.about-card-copy p:last-child {
    margin-bottom: 0;
}

/* MISSION */

.about-mission-list {
    display: grid;
    gap: 12px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.about-mission-list li {
    position: relative;
    padding-left: 28px;
    color: #24446b;
    font-size: 13px;
    line-height: 1.5;
}

.about-mission-list li::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 2px solid var(--about-orange);
    border-radius: 50%;
    color: var(--about-orange);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

/* WERTE */

.about-values-list {
    display: grid;
    gap: 10px;
    margin: 3px 0 0;
}

.about-values-list > div {
    position: relative;
    padding-left: 39px;
}

.about-values-list dt {
    color: var(--about-navy);
    font-size: 12px;
    font-weight: 900;
}

.about-values-list dt span {
    position: absolute;
    top: 0;
    left: 0;
    color: #3168ad;
}

.about-values-list dt span svg {
    width: 24px;
    height: 24px;
}

.about-values-list dd {
    margin: 2px 0 0;
    color: #365376;
    font-size: 11px;
    line-height: 1.35;
}

/* ZIELGRUPPEN */

.about-audience {
    padding: 14px 27px 17px;
}

.about-audience > h2 {
    margin-bottom: 12px;
}

.about-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.about-audience-item {
    display: grid;
    grid-template-columns: 49px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.about-audience-item > span {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border-radius: 50%;
    background: #f0f5fb;
    color: #2d66ad;
}

.about-audience-item svg {
    width: 30px;
    height: 30px;
}

.about-audience-item h3 {
    margin: 0 0 4px;
    color: var(--about-navy);
    font-size: 11px;
    font-weight: 900;
}

.about-audience-item p {
    margin: 0;
    color: #526681;
    font-size: 9px;
    line-height: 1.45;
}

/* VERSPRECHEN */

.about-promise {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    align-items: center;
    gap: 18px;
    padding: 15px 22px;
    border-color: #f0e2d8;
    background:
        linear-gradient(110deg, #fff8f3 0%, #fffdfb 72%, #fff5ed 100%);
}

.about-promise h2 {
    margin-bottom: 8px;
}

.about-promise p {
    margin: 0;
    color: #345171;
    font-size: 11px;
    line-height: 1.45;
}

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 35px;
    margin-top: 10px;
    padding: 7px 16px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ff7c42, var(--about-orange));
    color: #fff !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 11px rgba(255,99,41,.2);
    transition: transform .18s ease, box-shadow .18s ease;
}

.about-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(255,99,41,.27);
}

.about-promise-heart {
    color: var(--about-orange);
    transform: rotate(7deg);
}

.about-promise-heart svg {
    width: 68px;
    height: 68px;
    stroke-width: 2.4;
}

/* TABLET */

@media (max-width: 1050px) {
    .about-shell {
        width: min(100% - 30px, 960px);
    }

    .about-hero {
        grid-template-columns: 45% 55%;
    }

    .about-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "history mission"
            "values values"
            "audience audience"
            "promise promise";
    }

    .about-values-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 25px;
    }

    .about-audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 16px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .about-page {
        padding-top: 3px;
    }

    .about-shell {
        width: min(100% - 20px, 650px);
    }

    .about-breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
        font-size: 10px;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-copy {
        padding: 23px 15px 27px;
    }

    .about-hero-copy::after {
        display: none;
    }

    .about-hero-media {
        min-height: 240px;
    }

    .about-hero-media img {
        min-height: 240px;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "history"
            "mission"
            "values"
            "audience"
            "promise";
    }

    .about-card {
        padding: 18px;
    }

    .about-card-copy {
        padding-left: 0;
    }

    .about-values-list {
        grid-template-columns: 1fr;
    }

    .about-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .about-card-header {
        grid-template-columns: 49px minmax(0, 1fr);
    }

    .about-card-icon {
        width: 49px;
        height: 49px;
    }

    .about-card-icon svg {
        width: 32px;
        height: 32px;
    }

    .about-card-header h2,
    .about-audience > h2,
    .about-promise h2 {
        font-size: 18px;
    }

    .about-audience-grid {
        grid-template-columns: 1fr;
    }

    .about-promise {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-promise-heart {
        display: none;
    }

    .about-button {
        width: 100%;
    }
}
