/* ========================================
   global.css — Petrol Editorial
   Bruns & Bruns e.K.
   CD-Kandidat „Petrol Editorial" V0.1 (30.08.2026)
   Umstellung 30.08.2026: reine Layoutebene (Farbe, Typografie,
   Abstände, Akzente). Selektoren und Klassennamen des Bestands
   bleiben unverändert — die Rollen-Tokens tragen die neuen Werte.
   ======================================== */

/* --- Webfonts (self-hosted, keine Fremdverbindung) --- */
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/instrumentsans-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/instrumentsans-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/ibmplexmono-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/ibmplexmono-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/ibmplexmono-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/ibmplexmono-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Crimson Pro';
    font-style: italic;
    font-weight: 500 600;
    font-display: swap;
    src: url('fonts/crimsonpro-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Crimson Pro';
    font-style: italic;
    font-weight: 500 600;
    font-display: swap;
    src: url('fonts/crimsonpro-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Design Tokens --- */
:root {
    /* CD-Palette Petrol Editorial */
    --petrol-1: #0F282B;
    --petrol-2: #123538;
    --petrol-deep: #0B1F22;
    --aqua: #8FDCD6;
    --aqua-dim: #5E8B88;
    --glow: #2E6B6F;
    --petrol-on-light: #2E5F63;
    --paper-1: #F7F4EE;
    --paper-2: #EFEBE1;
    --ink: #26292E;
    --ink-2: #4A4D52;
    --light-on-dark: #F0EDE5;
    --sub-on-dark: #9EC3C0;
    --meta-teal: #7E9C99;

    /* CD-Frage 1 entschieden am 30.08.2026: Option (a), vollständige Ablösung.
       Es gibt keine Zweitfarbe. Grenzen und Negativzonen werden STRUKTURELL
       markiert (.grenze-box) — das überlebt den Kanalwechsel, ein Farbton nicht. */

    --surface-dark: linear-gradient(135deg, var(--petrol-1), var(--petrol-2) 55%, var(--petrol-deep));

    /* Rollen-Tokens — Bestandsnamen bleiben, Werte wechseln.
       Dadurch folgen alle Seiten-Styleblöcke automatisch. */
    --black: var(--ink);
    --white: var(--paper-1);
    --brand-accent: var(--petrol-on-light);
    --brand-orange: var(--brand-accent); /* Bestandsname = Akzentrolle, ab 30.08.2026 Petrol */
    --gray-light: var(--paper-2);
    --gray-medium: #D8D2C6;
    --gray-dark: var(--ink-2);

    /* Backward-compatible aliases (legacy Variante A) */
    --ink-black: var(--black);
    --ink-grey: var(--gray-dark);
    --bg-paper: var(--white);
    --bg-section: var(--gray-light);
    --line-color: var(--gray-medium);
    --font-headline: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-label: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --font-accent: 'Crimson Pro', Georgia, "Times New Roman", serif;
}

/* --- Dunkle Flächen ---
   Setzt Fläche UND die Rollen-Tokens neu. Alles, was innerhalb
   einer .on-dark-Sektion var(--black)/var(--brand-orange)/… nutzt,
   kippt dadurch automatisch auf die Petrol-Werte um. */
.on-dark {
    background: var(--surface-dark);
    color: var(--light-on-dark);

    /* --white/--bg-paper bleiben hell: im Bestand stehen sie überwiegend
       als Textfarbe auf dunklem Grund (color: var(--white)), nicht als Fläche. */
    --black: var(--light-on-dark);
    --ink-black: var(--light-on-dark);
    --white: var(--light-on-dark);
    --bg-paper: var(--light-on-dark);
    --brand-accent: var(--aqua);
    --brand-orange: var(--aqua);
    --gray-dark: var(--sub-on-dark);
    --ink-grey: var(--sub-on-dark);
    --gray-medium: rgba(143, 220, 214, 0.28);
    --line-color: rgba(143, 220, 214, 0.28);
    --gray-light: rgba(143, 220, 214, 0.06);
    --bg-section: rgba(143, 220, 214, 0.06);
}

.on-dark p,
.on-dark li {
    color: var(--sub-on-dark);
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark strong,
.on-dark b {
    color: var(--light-on-dark);
}

/* &-Wasserzeichen — Markenzeichen ohne Logo (CD 4.4).
   Opt-in, damit es nicht auf jeder dunklen Fläche doppelt erscheint. */
.amp-mark {
    position: relative;
    overflow: hidden;
}

.amp-mark > * {
    position: relative;
    z-index: 1;
}

.amp-mark::after {
    content: "&";
    position: absolute;
    right: -0.1em;
    bottom: -0.42em;
    font-family: var(--font-headline);
    font-size: clamp(18rem, 34vw, 35rem);
    font-weight: 700;
    line-height: 1;
    color: var(--aqua);
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}

/* --- Base --- */
body {
    font-family: var(--font-body);
    background-color: var(--paper-1);
    color: var(--ink);
    line-height: 1.5;
    font-size: 16px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Grid --- */
.swiss-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-headline);
    font-weight: 500; /* 23.10.2026: Titel Medium statt Bold (CD-Kandidat V0.2, Frage B); h3/h4 setzen eigene Gewichte */
    letter-spacing: -0.015em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.022em;
}

/* Marginalie (CD 4.2) liegt auf h2 — die H1 trägt weiterhin die
   .accent-bar des Bestands, sonst stünden zwei Akzente übereinander. */
h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--brand-accent);
    padding-left: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Mono-Kicker (CD 4.1) — h4, .section-label, .section-number, .index-label */
h4 {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--brand-accent);
}

.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--brand-accent);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 70ch;
    color: var(--ink-2);
}

/* --- Layout Utilities --- */
.col-meta {
    grid-column: 1 / 3;
}

.col-content {
    grid-column: 4 / 12;
}

.bg-grey {
    background-color: var(--gray-light);
}

/* --- Section Labels --- */
.section-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--brand-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.index-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 500;
    color: var(--brand-accent);
    display: block;
    border-top: 1px solid var(--brand-accent);
    padding-top: 0.5rem;
    margin-bottom: 1rem;
}

.label-look {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
}

/* --- Chips (CD 4.3) — Outline-Pills, informieren statt fordern.
   Einzige Ausnahme von der „Kein border-radius"-Regel des Bestands;
   siehe decision-log 2026-08-30. --- */
.chips {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 2rem 0 0;
}

.chip {
    display: inline-block;
    border: 1.5px solid var(--aqua-dim);
    border-radius: 999px;
    padding: 0.45rem 1.15rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--ink-2);
    background: transparent;
}

/* Gefüllte CTAs auf dunklem Grund: Fläche ist Aqua, Schrift muss dunkel sein.
   Höhere Spezifität als die Seitenregel — kein !important nötig. */
.on-dark .swiss-cta,
.on-dark .cta-button,
.on-dark .swiss-button {
    color: var(--petrol-deep);
}

.on-dark .swiss-cta:hover,
.on-dark .cta-button:hover,
.on-dark .swiss-button:hover {
    color: var(--aqua);
}

.on-dark .chip {
    border-color: rgba(143, 220, 214, 0.35);
    color: var(--sub-on-dark);
}

/* --- Hero --- */
.hero-section {
    background: linear-gradient(150deg, var(--paper-1), var(--paper-2));
}

.accent-bar {
    width: 80px;
    height: 6px;
    background-color: var(--brand-accent);
    margin-bottom: 2rem;
}

.hero-lead {
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--ink);
    border-left: 1px solid var(--brand-accent);
    padding-left: 2rem;
    margin-bottom: 2rem;
}

/* --- Sections --- */
section {
    padding: 5rem 0;
}

/* --- Inline Links --- */
a.inline-link {
    color: var(--brand-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(46, 95, 99, 0.45);
    transition: color 0.2s, border-bottom-color 0.2s;
}

a.inline-link:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.on-dark a.inline-link {
    color: var(--aqua);
    border-bottom-color: var(--aqua-dim);
}

.on-dark a.inline-link:hover {
    color: var(--light-on-dark);
    border-bottom-color: var(--light-on-dark);
}

/* --- Definition Block --- */
.definition-block {
    background-color: rgba(46, 95, 99, 0.06);
    border-left: 4px solid var(--brand-accent);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

/* --- Grenzen-/Negativzonen-Box ---
   Unterscheidet sich vom Callout durch die FORM, nicht durch die Farbe:
   ohne Fläche, mit oberer und unterer Hairline und einem schmalen
   Tintenstrich links. Ein Callout trägt eine Aussage, diese Box begrenzt sie. */
.grenze-box {
    border-left: 2px solid var(--ink-2);
    border-top: 1px solid rgba(38, 41, 46, 0.14);
    border-bottom: 1px solid rgba(38, 41, 46, 0.14);
    background: none;
    padding: 1.25rem 0 1.25rem 1.5rem;
    margin-bottom: 2rem;
    max-width: 70ch;
}

.grenze-box .section-label,
.grenze-box h4 {
    color: var(--ink-2);
}

.on-dark .grenze-box {
    border-left-color: var(--sub-on-dark);
    border-top-color: rgba(143, 220, 214, 0.22);
    border-bottom-color: rgba(143, 220, 214, 0.22);
}

.on-dark .grenze-box .section-label,
.on-dark .grenze-box h4 {
    color: var(--sub-on-dark);
}

/* --- Akzentzitat (CD 3, sparsam — nur Zitate und Prüfsätze) --- */
.pruefsatz {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--brand-accent);
    max-width: 60ch;
}

/* --- Header --- */
header {
    border-bottom: 1px solid rgba(38, 41, 46, 0.14);
    background-color: var(--paper-1);
    position: sticky;
    top: 0;
    /* Über dem mobilen Overlay (z-index 100): sonst verdeckt das offene Menü
       die Wortmarke und den Schließen-Button, und es gibt auf dem Telefon
       keinen Weg mehr heraus. */
    z-index: 110;
}

/* Instrument Sans läuft breiter als der alte System-Stack — Laufweite und
   Abstand der Hauptnavigation entsprechend nachgezogen, sonst kollidiert
   sie bei 10 Einträgen mit der Wortmarke. */
header .swiss-grid > div {
    min-width: 0;
}

nav#desktopNav {
    display: flex;
    gap: 1.15rem;
    align-items: center;
}

nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.5rem 0;
    white-space: nowrap;
}

nav a:hover {
    color: var(--brand-accent);
}

nav a.active {
    color: var(--brand-accent);
    font-weight: 700;
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(143, 220, 214, 0.18);
    background-color: var(--petrol-deep);
    color: var(--meta-teal);
    margin-top: 6rem;

    --black: var(--light-on-dark);
    --ink-black: var(--light-on-dark);
    --white: var(--light-on-dark);
    --bg-paper: var(--light-on-dark);
    --brand-accent: var(--aqua);
    --brand-orange: var(--aqua);
    --gray-dark: var(--sub-on-dark);
    --ink-grey: var(--meta-teal); /* Rechtszeilen im Footer bewusst gedämpft */
    --gray-medium: rgba(143, 220, 214, 0.18);
    --line-color: rgba(143, 220, 214, 0.18);
    --gray-light: transparent;
    --bg-section: transparent;
}

footer p,
footer span {
    color: var(--sub-on-dark);
}

footer p.label-look {
    color: var(--aqua);
}

footer a {
    color: var(--sub-on-dark);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--aqua);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--ink);
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    margin: 5px auto;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--paper-1);
    z-index: 100;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-overlay nav {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
}

.mobile-nav-overlay nav a {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 1rem;
}

/* --- Navigation im Zwischenband (Desktop-Nav, aber wenig Breite) ---
   Bei schmalen Fenstern nutzt der Seitenkopf das gruppierte Kompaktmenü. */
@media (min-width: 769px) and (max-width: 1400px) {
    nav#desktopNav {
        gap: 0.85rem;
    }
    nav a {
        letter-spacing: 0.09em;
    }
}

@media (min-width: 769px) and (max-width: 1150px) {
    nav#desktopNav {
        gap: 0.5rem;
    }
    nav a {
        letter-spacing: 0.03em;
        font-size: 0.72rem;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    nav#desktopNav {
        gap: 0.3rem;
    }
    nav a {
        letter-spacing: 0;
        font-size: 0.65rem;
    }
}

/* Der Seitenkopf wächst mit der Standardschrift, damit alle Links Platz behalten. */
header .swiss-grid { max-width: 87.5rem; }

@media (width < 87.5625em) {
    nav#desktopNav { gap: 0.85rem; }
    nav#desktopNav a { letter-spacing: 0.09em; }
}

/* Dichtere Desktopnavigation bis genug Platz für die weiteren Abstände da ist. */
@media (width < 82em) {
    nav#desktopNav {
        gap: 0.5rem;
    }
    nav#desktopNav a {
        letter-spacing: 0.03em;
        font-size: 0.72rem;
    }
}

/* Navigation: switch before the links collide with the wordmark.
   Other content breakpoints remain unchanged. */
.mobile-nav-overlay { box-sizing: border-box; }
@media (width < 69.25em) {
    header .swiss-grid {
        display: flex;
        gap: 0.75rem;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }
    header nav { display: none !important; }
    .mobile-menu-toggle { display: block; }
}
@media (width >= 69.25em) {
    .mobile-nav-overlay.active { display: none; }
}

/* --- Responsive (768px) --- */
@media (max-width: 768px) {
    /* 23.10.2026: lange Wörter in Überschriften auf schmalen Geräten trennen statt überlaufen (Codex F1) */
    main h1,
    main h2,
    main h3 {
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }

    .swiss-grid {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    main .swiss-grid {
        display: block;
    }

    footer .swiss-grid {
        display: block;
    }

    .col-meta {
        margin-bottom: 1rem;
        color: var(--brand-accent);
    }

    header .swiss-grid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    header nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-lead {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--brand-accent);
        padding-top: 1rem;
    }

    .amp-mark::after {
        font-size: 16rem;
        opacity: 0.035;
    }
}

/* --- Focus Styles (Accessibility) --- */
:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 3px;
}

.on-dark :focus-visible,
footer :focus-visible {
    outline-color: var(--aqua);
}

/* --- Persistenter CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    background: var(--petrol-deep);
    color: var(--aqua);
    text-decoration: none;
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.85rem 1.5rem;
    border: 1px solid var(--aqua);
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.2s, color 0.2s;
    pointer-events: none;
}
.sticky-cta.visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.sticky-cta:hover {
    background: var(--aqua);
    border-color: var(--aqua);
    color: var(--petrol-deep);
}
/* Bei offenem Mobilmenü keine Kontaktleiste: Sie läge über den Menüeinträgen (nav.js setzt die Klasse). */
body.menue-offen .sticky-cta {
    display: none;
}
@media (max-width: 640px) {
    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
}

/* --- Reduced Motion (Accessibility) --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .sticky-cta {
        opacity: 1;
        transform: none;
    }
}

/* --- Platform Links (Podcast: Spotify, Apple, Amazon, YouTube) --- */
.platform-links {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.platform-links-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-accent);
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.platform-link.is-pending {
    color: var(--gray-dark);
}

.platform-link:hover {
    color: var(--brand-accent);
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
    position: absolute;
    /* -64px statt -40px: Instrument Sans macht den Link höher als der alte
       System-Stack, bei -40px schaute er 5 px in die Seite hinein. */
    top: -64px;
    left: 0;
    background: var(--petrol-deep);
    color: var(--light-on-dark);
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* --- Mobilmenü: Gruppen nach Besucherabsicht (21.11.2026) --- */
.mobile-nav-overlay nav .menue-gruppe {
    padding-bottom: 0.75rem;
}
.mobile-nav-overlay nav .menue-gruppe + .menue-gruppe {
    padding-top: 1.25rem;
}
.mobile-nav-overlay nav .menue-gruppe-titel {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin: 0 0 0.25rem;
    max-width: none;
}
.mobile-nav-overlay nav .menue-gruppe a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 1rem;
}
.mobile-nav-overlay nav .menue-gruppe a:focus-visible {
    outline-offset: -3px;
}
.mobile-nav-overlay {
    padding-top: 5.5rem;
}
