/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --color-dark: #1c1c1c;
    --color-light: #eeeeee;
    --color-background: #ffffff;
    --color-accent-1: #3d6293;   /* Primärblau: Balken, Links, Akzente */
    --color-accent-2: #364253;   /* Slate: Buttons, dunkle Sektion */
    --color-accent-3: #929caa;   /* Graublau: sekundäre Balken, Muted */
    --color-accent-4: #929caa;
    --color-accent-5: #929caa;
    --color-accent-6: #5d7699;   /* Hover */
    --color-mist-line: #dfe3e8;

    --corner-radius: 10px;

    --font-heading: 'Vollkorn', Georgia, 'Times New Roman', serif;
    --font-caps: 'Vollkorn SC', Georgia, serif;
    --font-body: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
    --font-primary: var(--font-body);

    --max-width: 1080px;
}

/* ============================================================
   BASIS
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .use-card:hover .use-icon { transform: none; }
    .faq-item summary .chevron { transition: none; }
}

body {
    background-color: var(--color-background);
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;

    display: flex;
    flex-direction: column;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.25; color: var(--color-dark); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { max-width: 68ch; }

a { color: var(--color-accent-1); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--color-accent-6); }

button {
    border: none;
    border-radius: var(--corner-radius);
    background-color: var(--color-accent-2);
    color: var(--color-background);
    font-weight: bold;
    transition: all 0.25s;
}
button:hover {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    background-color: var(--color-accent-6);
}

.eyebrow {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    color: var(--color-accent-1);
    display: block;
    margin-bottom: 14px;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

main > section:not(.hero-section) { padding: 84px 0; }

.section-intro { max-width: 62ch; margin-bottom: 44px; }
.section-intro p { margin-top: 14px; color: #3a3a3a; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-mist-line);
}
.header-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.wordmark { display: flex; align-items: center; }
.wordmark img { display: block; height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--color-dark); font-size: 0.92rem; font-weight: 500; }
.main-nav a:hover { color: var(--color-accent-1); }

.lang-switch { font-size: 0.85rem; font-weight: 500; color: var(--color-accent-3); white-space: nowrap; }
.lang-switch .active { color: var(--color-dark); font-weight: 800; }
.lang-switch .disabled { color: var(--color-accent-3); cursor: default; }

@media (max-width: 760px) {
    .main-nav { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    border: none; border-radius: var(--corner-radius);
    background-color: var(--color-accent-2);
    color: var(--color-background);
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    padding: 15px 28px;
    cursor: pointer;
    transition: background-color 0.25s, box-shadow 0.25s;
}
.btn:hover { background-color: var(--color-accent-6); color: var(--color-background); box-shadow: 0 0 8px rgba(0,0,0,0.25); }
.btn-secondary {
    background: none;
    border: 2px solid var(--color-accent-2);
    color: var(--color-accent-2);
    padding: 13px 26px;
}
.btn-secondary:hover { background: none; border-color: var(--color-accent-6); color: var(--color-accent-6); box-shadow: none; }

:is(a, button):focus-visible { outline: 3px solid var(--color-accent-1); outline-offset: 2px; }

/* ============================================================
   HERO
   Grundfläche wie ursprünglich definiert: graublaue, abgerundete
   Fläche mit Außenabstand. Links das M-Icon als großes, blasses
   Wasserzeichen, der Text auf der rechten Hälfte.
   ============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;

    background-color: var(--color-accent-3);
    border-radius: var(--corner-radius);

    margin: 10px;
    padding: 60px 24px;

    min-height: 75vh;
    min-width: 350px;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* M-Icon als Hintergrund-Überlagerung: linksbündig, 90 % der Hero-Höhe,
   liegt immer hinter dem Text */
.hero-watermark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    pointer-events: none;
    z-index: 0;
}
.hero-watermark svg {
    display: block;
    height: 100%;
    width: auto;
    fill: var(--color-background);
    opacity: 0.08;
}

.hero-inner {
    position: relative;
    max-width: var(--max-width);
    width: 100%;
    display: grid;
    grid-template-columns: minmax(220px, 5fr) 7fr;
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.hero-content { grid-column: 2; }

.hero-content .eyebrow { color: var(--color-accent-2); }
.hero-content h1 { max-width: 21ch; }
.hero-content h1 em { font-style: normal; color: var(--color-background); }
.hero-content .lede { font-size: 1.15rem; margin-top: 22px; max-width: 58ch; color: #2f3742; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-facts {
    margin-top: 44px;
    font-family: var(--font-caps); font-weight: 600;
    font-size: 0.85rem; letter-spacing: 0.1em;
    color: var(--color-background);
}
.hero-facts span { white-space: nowrap; }
.hero-facts .sep { margin: 0 10px; color: rgba(255, 255, 255, 0.6); }

/* Button-Hover im Hero: Weiß statt Hellblau – hebt sich auf der
   graublauen Fläche deutlicher ab */
.hero-section .btn:hover {
    background-color: var(--color-background);
    color: var(--color-accent-2);
}
.hero-section .btn-secondary:hover {
    background: none;
    border-color: var(--color-background);
    color: var(--color-background);
    box-shadow: none;
}

/* Pfeil im Beispielprofil-Button: langsames Ein-/Ausblenden als Scroll-Hinweis */
.btn-arrow {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    margin-left: 6px;
    animation: arrow-blink 2.4s ease-in-out infinite;
}
@keyframes arrow-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}

@media (max-width: 860px) {
    .hero-section { min-height: 0; padding: 56px 20px; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-content { grid-column: 1; }
    /* Wasserzeichen bleibt linksbündig, der Text überlagert es hier stärker */
}

/* ============================================================
   BEISPIELPROFIL (Signature-Element)
   Divergierendes Balkendiagramm um die Mittelachse (Prozentrang 50):
   überdurchschnittliche Motive laufen nach rechts, unterdurch-
   schnittliche nach links – analog zum Ergebnisbericht.
   ============================================================ */
.profile-section { background: var(--color-light); }
.profile-card {
    background: var(--color-background);
    border-radius: var(--corner-radius);
    padding: 40px clamp(18px, 4vw, 48px);
    box-shadow: 0 1px 4px rgba(28, 28, 28, 0.06);
}
.profile-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.profile-head h3 { font-size: 1.25rem; }
.profile-tag {
    font-family: var(--font-caps); font-weight: 600; font-size: 0.78rem;
    letter-spacing: 0.12em; color: var(--color-accent-3);
}
/* Hinweis auf klickbare Skalennamen – bewusst als auffälliger Chip */
.profile-hint {
    display: inline-flex; align-items: flex-start; gap: 9px;
    background: #e9eef5;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem; color: #444;
    margin-bottom: 26px;
    max-width: none;
}
.hint-icon {
    flex: none;
    width: 1.15em; height: 1.15em;
    margin-top: 0.15em;
    color: var(--color-accent-1);
}

.profile-chart-scroll { overflow-x: auto; }
.profile-chart { position: relative; min-width: 620px; }

.chart-rows {
    position: relative;
    list-style: none;
    padding: 14px 0 4px;
    /* Gitterlinien alle 10 Prozentränge als 10 einzelne, nicht wiederholte
       1px-Verläufe – eine gekachelte background-size malt je nach
       Viewport-Breite eine angeschnittene 11. Linie neben den border-right
       (die 100er-Linie) */
    background-image:
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line)),
        linear-gradient(var(--color-mist-line), var(--color-mist-line));
    background-size: 1px 100%;
    background-position: 0 0, 10% 0, 20% 0, 30% 0, 40% 0, 50% 0, 60% 0, 70% 0, 80% 0, 90% 0;
    background-repeat: no-repeat;
    border-right: 1px solid var(--color-mist-line);
}
.chart-rows::after {
    /* gestrichelte Mittelachse bei Prozentrang 50 */
    content: '';
    position: absolute; top: 0; bottom: 0; left: 50%;
    margin-left: -1px;
    border-left: 2px dashed #7d8794;
    z-index: 0;
}

/* margin: 0 neutralisiert das globale `li { margin-left: 40px }` der
   Rechtsseiten-Listen – sonst verschieben sich alle Balken gegen die Mittellinie */
.motive { position: relative; height: 36px; margin: 0; }

.motive-name {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 2;
    background: none; border: none; border-radius: 4px;
    padding: 3px 5px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
    color: var(--color-dark);
    white-space: nowrap;
    cursor: pointer;
    text-align: right;
    transition: color 0.2s;
}
.motive.above .motive-name { right: calc(50% + 10px); }
.motive.below .motive-name { left: calc(50% + 10px); text-align: left; }
.motive-name:hover,
.motive-name[aria-expanded="true"] {
    color: var(--color-accent-1);
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none;
    background: none;
}

.motive-bar {
    position: absolute; top: 7px; bottom: 7px;
    z-index: 1;
    /* Endbreite kommt statisch aus dem Markup (--bar-width); ohne JS
       stehen die Balken damit sofort in finaler Breite */
    width: var(--bar-width, 0%);
    background: var(--color-accent-1);
    transition: width 1s cubic-bezier(0.25, 0.8, 0.3, 1);
}
/* Nur mit JS (html.js) starten die Balken bei 0 und werden animiert */
html.js .motive-bar { width: 0; }
.motive.above .motive-bar { left: 50%; border-radius: 0 3px 3px 0; }
.motive.below .motive-bar { right: 50%; border-radius: 3px 0 0 3px; }

.bar-value {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 0.75rem; font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--color-background);
    white-space: nowrap;
    transition: opacity 0.4s ease 0.8s;
}
/* Nur mit JS werden die Werte eingeblendet; ohne JS sofort sichtbar */
html.js .bar-value { opacity: 0; }
.motive.above .bar-value { right: 7px; }
.motive.below .bar-value { left: 7px; }
/* Werte nahe 50: Balken zu schmal, Zahl außerhalb in Grau */
.motive.value-outside .bar-value { color: var(--color-accent-3); }
.motive.above.value-outside .bar-value { right: auto; left: calc(100% + 7px); }
.motive.below.value-outside .bar-value { left: auto; right: calc(100% + 7px); }
.profile-chart.animated .bar-value { opacity: 1; }

.chart-axis {
    position: relative;
    height: 1.5em;
    margin-top: 10px;
    font-size: 0.78rem;
    color: #666;
    font-variant-numeric: tabular-nums;
}
.chart-axis span { position: absolute; transform: translateX(-50%); }
.chart-axis span:first-child { transform: none; }
.chart-axis span:last-child { transform: translateX(-100%); }

.axis-directions {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 6px;
    font-size: 0.85rem; color: #555;
    text-align: center;
}
.axis-dir { position: relative; padding-top: 18px; }
.axis-dir::before {
    content: '';
    position: absolute; top: 5px; left: 8px; right: 8px;
    height: 2px; border-radius: 1px;
    background: #5f6a78;
}
.axis-dir.left::after {
    content: '';
    position: absolute; top: 1px; left: 2px;
    border: 5px solid transparent;
    border-left: 0;
    border-right: 9px solid #5f6a78;
}
.axis-dir.right::after {
    content: '';
    position: absolute; top: 1px; right: 2px;
    border: 5px solid transparent;
    border-right: 0;
    border-left: 9px solid #5f6a78;
}
.axis-caption {
    text-align: center;
    margin-top: 14px;
    max-width: none;
    font-size: 0.95rem;
    color: var(--color-dark);
}

/* Tooltip/Popup mit der Motivdefinition */
.motive-pop {
    position: absolute; z-index: 5;
    width: min(360px, 94%);
    background: var(--color-background);
    border: 1px solid var(--color-mist-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(28, 28, 28, 0.18);
    padding: 16px 38px 16px 18px;
    font-size: 0.9rem; color: #444;
    display: none;
}
.motive-pop.open { display: block; }
.motive-pop h4 {
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.motive-pop .pop-close {
    position: absolute; top: 6px; right: 8px;
    background: none; border: none;
    padding: 4px 6px;
    font-size: 1.05rem; line-height: 1;
    color: var(--color-accent-3);
    cursor: pointer;
}
.motive-pop .pop-close:hover { color: var(--color-dark); background: none; box-shadow: none; }

.profile-note { margin-top: 26px; font-size: 0.92rem; color: #555; max-width: none; }

/* Mobil (Hochkant): gleiches Layout wie auf breiten Viewports, nur
   kompakter – das Diagramm passt sich der Viewport-Breite an,
   Querscrollen entfällt und Popups bleiben sichtbar */
@media (max-width: 680px) {
    .profile-chart { min-width: 0; }

    .motive-name {
        font-size: 0.72rem;
        white-space: normal;
        line-height: 1.2;
        max-width: calc(50% - 8px);
    }
    .motive.above .motive-name { right: calc(50% + 6px); }
    .motive.below .motive-name { left: calc(50% + 6px); }
    .bar-value { font-size: 0.7rem; }
    /* Balkenbreite 5–8: Zahl wandert auf schmalen Viewports nach außen,
       damit sie im schmalen Balken nicht angeschnitten wird */
    .motive.value-outside-sm .bar-value { color: var(--color-accent-3); }
    .motive.above.value-outside-sm .bar-value { right: auto; left: calc(100% + 7px); }
    .motive.below.value-outside-sm .bar-value { left: auto; right: calc(100% + 7px); }

    .chart-axis { font-size: 0.7rem; }
    /* "90" kollidiert auf schmalen Screens mit "100" */
    .chart-axis span:nth-last-child(2) { display: none; }
    .axis-directions { gap: 24px; font-size: 0.75rem; }
    .axis-caption { font-size: 0.85rem; }
}

/* ============================================================
   DREI-FRAGEN-LOGIK
   ============================================================ */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.triad-card {
    background: var(--color-light);
    border-radius: var(--corner-radius);
    padding: 30px 26px;
}
.triad-card .q {
    font-family: var(--font-caps); font-weight: 600;
    letter-spacing: 0.12em; font-size: 0.85rem;
    color: var(--color-accent-3);
    display: block; margin-bottom: 12px;
}
.triad-card h3 { margin-bottom: 10px; }
.triad-card p { font-size: 0.94rem; color: #444; }
.triad-card.focus {
    background: var(--color-accent-2);
}
.triad-card.focus .q { color: var(--color-accent-3); }
.triad-card.focus h3 { color: var(--color-background); }
.triad-card.focus p { color: #dfe3e8; }

.triad-after { margin-top: 30px; font-size: 1.05rem; max-width: 62ch; }

@media (max-width: 820px) { .triad { grid-template-columns: 1fr; } }

/* ============================================================
   PRAXISBEISPIEL
   ============================================================ */
.case-section { background: var(--color-light); }
.case-box {
    background: var(--color-background);
    border-left: 6px solid var(--color-accent-1);
    border-radius: var(--corner-radius);
    padding: 36px clamp(20px, 4vw, 44px);
    box-shadow: 0 1px 4px rgba(28, 28, 28, 0.06);
}
.case-box h3 { margin-bottom: 14px; font-size: 1.3rem; }
.case-box p { color: #3a3a3a; }
.case-box p + p { margin-top: 12px; }

/* ============================================================
   VERFAHREN / FAKTEN
   ============================================================ */
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.fact {
    border-top: 3px solid var(--color-accent-1);
    padding-top: 16px;
}
.fact .fact-label {
    font-family: var(--font-caps); font-weight: 600; font-size: 0.82rem;
    letter-spacing: 0.12em; color: var(--color-accent-3);
    display: block; margin-bottom: 6px;
}
.fact .fact-value { font-family: var(--font-heading); font-weight: 600; font-size: 1.35rem; }
.fact p { font-size: 0.92rem; color: #444; margin-top: 8px; }

@media (max-width: 820px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .facts-grid { grid-template-columns: 1fr; } }

/* ============================================================
   EINSATZSZENARIEN
   ============================================================ */
.uses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use-card {
    background: var(--color-light);
    border-radius: var(--corner-radius);
    padding: 26px 24px;
}
.use-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.use-card p { font-size: 0.92rem; color: #444; }
.use-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent-1);
    margin-bottom: 14px;
    transition: transform 0.25s ease, color 0.25s ease;
}
.use-card:hover .use-icon {
    transform: scale(1.12);
    color: var(--color-accent-6);
}
@media (max-width: 900px) { .uses-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIAL (Platzhalter – hidden bis Freigabe vorliegt)
   ============================================================ */
.testimonial-box {
    background: var(--color-light);
    border-radius: var(--corner-radius);
    padding: 44px clamp(20px, 5vw, 60px);
    text-align: center;
}
.testimonial-box blockquote {
    font-family: var(--font-heading); font-weight: 400;
    font-size: 1.35rem; line-height: 1.5;
    max-width: 34ch; margin: 0 auto;
}
.testimonial-box cite {
    display: block; margin-top: 20px;
    font-family: var(--font-caps); font-style: normal; font-weight: 600;
    font-size: 0.88rem; letter-spacing: 0.12em; color: var(--color-accent-3);
}

/* ============================================================
   TRIAL / CTA-SEKTION
   ============================================================ */
.trial-section { background: var(--color-accent-2); }
.trial-section .eyebrow { color: var(--color-accent-3); }
.trial-section h2 { color: var(--color-background); }
.trial-section p { color: #dfe3e8; margin-top: 16px; max-width: 60ch; }
.trial-section .btn {
    background: var(--color-background);
    color: var(--color-accent-2);
    margin-top: 30px;
}
.trial-section .btn:hover { background: var(--color-light); color: var(--color-accent-2); }
.trial-mail { margin-top: 18px; font-size: 0.92rem; color: var(--color-accent-3); }
.trial-mail a { color: #c8d2df; text-decoration: underline; }
.trial-mail a:hover { color: var(--color-background); }

/* ============================================================
   AUTOREN
   ============================================================ */
.authors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.author-card {
    background: var(--color-light);
    border-radius: var(--corner-radius);
    padding: 32px 28px;
    display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.author-photo {
    flex: none;
    width: 150px; height: 150px;
    border-radius: var(--corner-radius);
    background: var(--color-accent-3);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(28, 28, 28, 0.15);
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-card h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
    color: var(--color-accent-1);
}
.author-card p {
    font-size: 0.92rem; color: #444;
    text-align: justify;
    hyphens: auto;
}
.author-card p + p { margin-top: 12px; }
.author-lead {
    font-weight: 700;
    color: var(--color-dark);
    text-align: left;
    
}
.author-card strong { font-weight: 600; color: var(--color-dark); transition: color 0.25s; }

/* Externe Belege (Team-Seiten, DOIs): sehen aus wie die übrigen
   Hervorhebungen, erst der Hover zeigt sie als Link */
.author-card .author-link { color: inherit; text-decoration: none; }
.author-card .author-link:hover strong { color: var(--color-accent-1); }
.author-card .author-highlight {
    color: var(--color-accent-1);
    font-weight: 700;
}

/* Rechte Karte spiegelt die linke: Foto und Text rechtsbündig */
.author-card-right { align-items: flex-end; }
.author-card-right h3 { text-align: right; }
.author-card-right .author-lead { text-align: right; }
.author-card-right p { text-align-last: right; }

@media (max-width: 820px) { .authors-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
    .author-photo { width: 100px; height: 100px; }
    /* gestapelt wieder linksbündig */
    .author-card-right { align-items: flex-start; }
    .author-card-right h3,
    .author-card-right .author-lead { text-align: left; }
    .author-card-right p { text-align-last: auto; }
}

/* ============================================================
   FAQ
   Natives Akkordeon über <details name="faq">: der Browser hält
   immer nur einen Eintrag offen, ganz ohne JavaScript.
   ============================================================ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
    background: var(--color-accent-3);
    border-radius: var(--corner-radius);
}
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    border-radius: var(--corner-radius);
}
.faq-item summary::marker { content: ''; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--color-accent-2); outline-offset: 2px; }
.faq-item summary h3 { font-size: 1.2rem; color: var(--color-background); }
.faq-item summary:hover h3 { color: var(--color-accent-2); }
.faq-item .chevron {
    flex: none;
    width: 20px; height: 20px;
    color: var(--color-background);
    transition: transform 0.25s ease;
}
details[open] summary .chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { font-size: 0.94rem; font-weight: 500; color: var(--color-accent-2); }
.faq-answer p + p { margin-top: 10px; }

/* ============================================================
   FOOTER (Startseite)
   ============================================================ */
.site-footer { border-top: 1px solid var(--color-mist-line); padding: 44px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-logo { display: block; height: 24px; width: auto; }
.footer-brand p { font-size: 0.85rem; color: #555; margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: 0.9rem; }
.footer-links a { color: var(--color-dark); font-weight: 500; }
.footer-links a:hover { color: var(--color-accent-1); }

/* ============================================================
   RECHTSSEITEN (Impressum, Datenschutz, Datenschutz-Trial)
   ============================================================ */
.legal-section .wrap { max-width: 880px; }

.legal-section h1 { margin-bottom: 8px; }
.legal-updated { color: #777; font-size: 0.92rem; margin-bottom: 4px; }

.legal-section h2 { margin: 40px 0 14px; }
.legal-section h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.legal-section p { margin-bottom: 14px; color: #333; }
.legal-section ul { margin: 0 0 16px; padding-left: 4px; list-style-position: outside; }
.legal-section li { margin: 5px 0 5px 22px; }
.legal-section .muted { color: #777; font-size: 0.92rem; }

/* Hinweis-Boxen (Kurzfassung als section.note, Hinweise als p.note) */
.legal-section .note {
    background: var(--color-light);
    border-radius: var(--corner-radius);
    padding: 22px 26px;
    margin-bottom: 20px;
    max-width: none;
}
.legal-section .note h2 { margin-top: 0; }
.legal-section .note p:last-child,
.legal-section .note ul:last-child { margin-bottom: 0; }

/* ============================================================
   UNTERSEITEN (Impressum, Datenschutz, en/*)
   ============================================================ */
.flex-column-max-width {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;

    max-width: 1024px;
}

.subpage-infobox {
    background-color: var(--color-light);
    border-radius: var(--corner-radius);

    margin: 10px;
    padding: 60px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    min-height: 80vh;

    text-align: center;
}

.subpage-infobox h1,
.subpage-infobox h2,
.subpage-infobox h3 {
    margin: 25px 0px;
}

.subpage-infobox p,
.subpage-infobox ul {
    align-self: self-start;
    margin-bottom: 20px;
}

li {
    margin-left: 40px;
}

.subpage-infobox nav {
    align-self: flex-start;
}

hr {
    border: 3px solid var(--color-accent-4);
    border-radius: 3px;

    width: 90%;
}

.footer {
    position: relative;
    bottom: 0px;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.footer * {
    color: var(--color-dark);
    font-weight: bold;
}

.footer-flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-flex-element {
    margin: 25px 25px 30px;
}

.handwritten {
    font-family: Caveat;
}
