/*
|--------------------------------------------------------------------------
| JustDate24 – Unterseite „Häufige Fragen“
|--------------------------------------------------------------------------
| Pfad: /css/haeufige-fragen.css
|--------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Roboto:wght@400;500;700;900&display=swap');

:root {
    --faq-navy: #082f6b;
    --faq-orange: #ff6329;
    --faq-orange-dark: #e84f18;
    --faq-blue: #3774c7;
    --faq-green: #74b555;
    --faq-red: #ef526c;
    --faq-text: #1b3b64;
    --faq-muted: #596d87;
    --faq-border: #dce5ef;
}

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

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

.faq-page a {
    color: inherit;
}

.faq-shell {
    width: min(100% - 40px, 1360px);
    margin: 0 auto;
}

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

/* HERO */

.faq-hero {
    display: grid;
    grid-template-columns: minmax(470px, 43%) minmax(0, 57%);
    min-height: 230px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
    background: #fff;
}

.faq-hero-copy {
    position: relative;
    z-index: 2;
    padding: 20px 36px 24px;
    border: 3px solid var(--faq-orange);
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 5px 15px rgba(23,52,90,.05);
}

.faq-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
    color: #365274;
    font-size: 11px;
    font-weight: 700;
}

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

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

.faq-hero h1 {
    margin: 0;
    color: var(--faq-navy);
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.faq-hero-script {
    margin: 11px 0 10px;
    color: var(--faq-orange);
    font-family: 'Caveat', cursive;
    font-size: clamp(27px, 2.8vw, 38px);
    font-weight: 600;
    line-height: 1;
}

.faq-hero-text {
    max-width: 560px;
    margin: 0;
    color: #29486d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.faq-hero-media {
    min-width: 0;
    min-height: 230px;
    overflow: hidden;
}

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

/* SEARCH */

.faq-search-card {
    display: grid;
    grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 22px;
    margin-bottom: 12px;
    padding: 17px 24px;
    border: 1px solid var(--faq-border);
    border-radius: 9px;
    background: #fff;
}

.faq-search-card h2 {
    margin: 0;
    color: var(--faq-navy);
    font-size: 17px;
    font-weight: 900;
}

.faq-search-card p {
    margin: 4px 0 0;
    color: var(--faq-muted);
    font-size: 11px;
}

.faq-search-field {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid #d6e0eb;
    border-radius: 6px;
    background: #fbfcfe;
}

.faq-search-field > span {
    display: grid;
    place-items: center;
    color: var(--faq-blue);
}

.faq-search-field svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-search-field input {
    width: 100%;
    height: 45px;
    border: 0;
    background: transparent;
    color: #29486d;
    font: inherit;
    font-size: 12px;
    outline: none;
}

/* LAYOUT */

.faq-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.faq-categories {
    display: grid;
    gap: 11px;
}

.faq-categories nav,
.faq-help-card,
.faq-content {
    border: 1px solid var(--faq-border);
    border-radius: 9px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 4px 16px rgba(22,51,90,.035);
}

.faq-categories nav {
    position: sticky;
    top: 12px;
    overflow: hidden;
}

.faq-categories nav h2 {
    margin: 0;
    padding: 17px 17px 12px;
    color: var(--faq-navy);
    font-size: 14px;
    font-weight: 900;
}

.faq-categories nav a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 7px 13px;
    border-top: 1px solid #edf1f5;
    border-left: 3px solid transparent;
    color: #315071;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.faq-categories nav a:hover,
.faq-categories nav a.is-active {
    border-left-color: var(--faq-orange);
    background: #fff7f2;
    color: var(--faq-orange-dark);
}

.faq-categories nav strong {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef4fb;
    color: var(--faq-navy);
    font-size: 9px;
}

.faq-help-card {
    padding: 18px;
    text-align: center;
}

.faq-help-card > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 11px;
    border-radius: 50%;
    background: #fff1e9;
    color: var(--faq-orange);
}

.faq-help-card svg {
    width: 33px;
    height: 33px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-help-card h2 {
    margin: 0;
    color: var(--faq-navy);
    font-size: 14px;
    font-weight: 900;
}

.faq-help-card p {
    margin: 6px 0 12px;
    color: var(--faq-muted);
    font-size: 10px;
    line-height: 1.5;
}

.faq-help-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid #f1b699;
    border-radius: 4px;
    color: var(--faq-orange-dark);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

/* FAQ CONTENT */

.faq-content {
    min-width: 0;
    padding: 6px 20px 20px;
    scroll-margin-top: 16px;
}

.faq-category-section {
    padding-top: 18px;
    scroll-margin-top: 16px;
}

.faq-category-section + .faq-category-section {
    margin-top: 5px;
    border-top: 1px solid #e7ecf2;
}

.faq-category-header {
    display: grid;
    grid-template-columns: 49px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 11px;
}

.faq-category-header > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eef5fd;
    color: var(--faq-blue);
}

.faq-category-header svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-category-header h2 {
    margin: 0;
    color: var(--faq-navy);
    font-size: 17px;
    font-weight: 900;
}

.faq-category-header p {
    margin: 3px 0 0;
    color: var(--faq-muted);
    font-size: 9px;
}

.faq-accordion {
    display: grid;
    gap: 7px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 6px;
    background: #fff;
}

.faq-item[hidden] {
    display: none;
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 27px;
    align-items: center;
    gap: 15px;
    min-height: 49px;
    padding: 11px 14px;
    color: var(--faq-navy);
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 900;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #eef4fb;
    color: var(--faq-blue);
    font-size: 18px;
    font-style: normal;
    transition: transform .18s ease;
}

.faq-item[open] summary {
    background: #fbfdff;
}

.faq-item[open] summary i {
    color: var(--faq-orange);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 14px 14px;
    color: #4c6380;
    font-size: 11px;
    line-height: 1.65;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    display: inline-block;
    margin-top: 9px;
    color: var(--faq-blue);
    font-weight: 800;
}

.faq-no-results {
    padding: 38px 20px;
    text-align: center;
}

.faq-no-results > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #eef4fb;
    color: var(--faq-blue);
}

.faq-no-results svg {
    width: 33px;
    height: 33px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-no-results h2 {
    margin: 0;
    color: var(--faq-navy);
    font-size: 17px;
}

.faq-no-results p {
    margin: 7px 0 13px;
    color: var(--faq-muted);
    font-size: 11px;
}

.faq-no-results a {
    color: var(--faq-orange);
    font-size: 11px;
    font-weight: 800;
}

/* CTA */

.faq-contact-cta {
    display: grid;
    grid-template-columns: 61px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 92px;
    margin-top: 13px;
    padding: 17px 25px;
    border: 1px solid #f0e1d7;
    border-radius: 9px;
    background: linear-gradient(90deg, #fff8f3, #fff 58%, #fff8f3);
}

.faq-contact-cta > span {
    color: var(--faq-orange);
}

.faq-contact-cta svg,
.faq-trust-icon svg {
    width: 47px;
    height: 47px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-contact-cta h2 {
    margin: 0;
    color: var(--faq-navy);
    font-size: 17px;
    font-weight: 900;
}

.faq-contact-cta p {
    margin: 4px 0 0;
    color: var(--faq-muted);
    font-size: 10px;
}

.faq-contact-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 37px;
    padding: 8px 18px;
    border-radius: 5px;
    background: linear-gradient(180deg, #ff7c40, var(--faq-orange));
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 5px 12px rgba(255,99,41,.18);
}

/* TRUSTBAR */

.faq-trustbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 13px;
    padding: 14px 8px 0;
    border-top: 1px solid #e1e7ef;
}

.faq-trust-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 0 24px;
    border-right: 1px solid #e1e7ef;
}

.faq-trust-item:last-child {
    border-right: 0;
}

.faq-trust-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
}

.faq-trust-green {
    color: var(--faq-green);
}

.faq-trust-blue {
    color: var(--faq-blue);
}

.faq-trust-red {
    color: var(--faq-red);
}

.faq-trust-item p {
    margin: 0;
    color: #51657f;
    font-size: 9px;
    line-height: 1.4;
}

.faq-trust-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--faq-navy);
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .faq-shell {
        width: min(100% - 28px, 940px);
    }

    .faq-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .faq-trustbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 15px;
    }

    .faq-trust-item:nth-child(2) {
        border-right: 0;
    }
}

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

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

    .faq-hero {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .faq-hero-copy {
        padding: 20px 18px 22px;
    }

    .faq-hero-media,
    .faq-hero-media img {
        min-height: 220px;
    }

    .faq-search-card {
        grid-template-columns: 1fr;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-categories nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-categories nav h2 {
        grid-column: 1 / -1;
    }

    .faq-help-card {
        display: none;
    }

    .faq-contact-cta {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .faq-contact-cta > a {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-hero h1 {
        font-size: 43px;
    }

    .faq-hero-script {
        font-size: 27px;
    }

    .faq-search-card {
        padding: 15px;
    }

    .faq-categories nav {
        grid-template-columns: 1fr;
    }

    .faq-categories nav h2 {
        grid-column: auto;
    }

    .faq-content {
        padding: 6px 12px 14px;
    }

    .faq-category-header {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .faq-category-header > span {
        width: 39px;
        height: 39px;
    }

    .faq-contact-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .faq-contact-cta > span {
        margin: 0 auto;
    }

    .faq-trustbar {
        grid-template-columns: 1fr;
    }

    .faq-trust-item,
    .faq-trust-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #e1e7ef;
        padding: 12px 4px;
    }

    .faq-trust-item:last-child {
        border-bottom: 0;
    }
}
