/* ============================================================
   heuken.com – Haupt-Stylesheet
   Version 2.2 | Bühnennebel von unten | News = Quote-Stil
   ============================================================ */


/* ============================================================
   1. SELF-HOSTED FONTS
   ============================================================ */

@font-face {
    font-family: 'Uncial Antiqua';
    src: url('https://fonts.dataurl.de/uncial-antiqua/uncial-antiqua-latin-400-normal.woff2')
         format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Crimson Text';
    src: url('https://fonts.dataurl.de/crimson-text/crimson-text-v19-latin-regular.woff2')
         format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Crimson Text';
    src: url('https://fonts.dataurl.de/crimson-text/crimson-text-v19-latin-italic.woff2')
         format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Crimson Text';
    src: url('https://fonts.dataurl.de/crimson-text/crimson-text-v19-latin-600.woff2')
         format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Crimson Text';
    src: url('https://fonts.dataurl.de/crimson-text/crimson-text-v19-latin-600italic.woff2')
         format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}


/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */

:root {
    --color-accent:            #8B5CF6;
    --color-accent-hover:      #a78bfa;
    --color-accent-dark:       #6d28d9;
    --color-text:              #dde8dd;
    --color-text-muted:        #9aaa9a;
    --color-text-dim:          #556055;
    --color-heading:           #ffffff;
    --color-card-bg:           rgba(4, 8, 4, 0.75);
    --color-card-border:       rgba(139, 92, 246, 0.18);
    --color-card-border-hover: rgba(139, 92, 246, 0.58);
    --color-header-bg:         rgba(2, 5, 2, 0.92);
    --color-footer-bg:         rgba(2, 5, 2, 0.96);
    --color-star-filled:       #f59e0b;
    --color-star-empty:        #2a3a2a;
    --color-success:           #22c55e;
    --color-warning:           #f59e0b;
    --color-error:             #ef4444;

    --font-h1:   'Uncial Antiqua', 'Palatino Linotype', Georgia, serif;
    --font-h2:   'Crimson Text',   'Palatino Linotype', Georgia, serif;
    --font-body: Verdana, Arial, 'Helvetica Neue', sans-serif;

    --fs-xs:   0.75rem;
    --fs-sm:   0.875rem;
    --fs-base: 1rem;
    --fs-md:   1.125rem;
    --fs-lg:   1.25rem;
    --fs-xl:   1.5rem;
    --fs-2xl:  1.875rem;
    --fs-3xl:  2.25rem;
    --fs-4xl:  3.25rem;

    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;

    --container-max:  1200px;
    --container-pad:  2rem;
    --radius-sm:      4px;
    --radius:         10px;
    --radius-lg:      18px;
    --header-height:  72px;

    --ease-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-base:   280ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm:     0 2px  6px  rgba(0, 0, 0, 0.55);
    --shadow-md:     0 6px  20px rgba(0, 0, 0, 0.65);
    --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.75);
    --shadow-accent: 0 0   28px  rgba(139, 92, 246, 0.42);
    --shadow-green:  0 0   24px  rgba(34, 197, 94, 0.30);
}


/* ============================================================
   3. RESET & BASE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.80;
    color: var(--color-text);
    background: #020702;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--color-heading);
    margin-bottom: var(--space-md);
}

h1 { font-family: var(--font-h1); font-weight: 400; letter-spacing: 0.06em; }
h2 { font-family: var(--font-h2); font-size: var(--fs-2xl); font-weight: 600; }
h3 { font-family: var(--font-h2); font-size: var(--fs-xl);  font-weight: 600; }
h4, h5, h6 { font-size: var(--fs-md); font-weight: 600; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--ease-fast);
}

a:hover, a:focus {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol   { list-style: none; }
button   { cursor: pointer; border: none; background: none; font-family: inherit; }

hr {
    border: none;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    margin: var(--space-xl) 0;
}


/* ============================================================
   4. CONTAINER
   ============================================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}


/* ============================================================
   5. SKIP-LINK
   ============================================================ */

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    z-index: 9999;
    background: var(--color-accent);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: top var(--ease-fast);
    text-decoration: none;
}

.skip-link:focus { top: var(--space-md); }


/* ============================================================
   6. HINTERGRUND
   ============================================================ */

.bg-wrapper {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    transform: translateZ(0);
}

/* Hintergrundbild: center top – Friedenstaube sichtbar! */
.bg-image {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            180deg,
            rgba(0,  0,  0,  0.05)  0%,
            rgba(0,  5,  0,  0.12) 18%,
            rgba(0,  8,  0,  0.28) 50%,
            rgba(0,  0,  0,  0.70) 85%,
            rgba(0,  0,  0,  0.92) 100%
        ),
        url('https://img.heuken.com/upload/2026/09/08/20260908120740-eafa88d3.png');
    background-size:       cover;
    background-position:   center top;
    background-repeat:     no-repeat;
    background-attachment: fixed;
}

/* Seitliche Vignette */
.bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 100% at 0%   50%,
            rgba(0, 0, 0, 0.42), transparent 70%),
        radial-gradient(ellipse 55% 100% at 100% 50%,
            rgba(0, 0, 0, 0.42), transparent 70%);
}

/* Canvas: Fog-System (JS-gesteuert) */
#fog-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: block;
}


/* ============================================================
   7. BÜHNENNEBEL
   ============================================================
   Konzept: Echter Bühnennebel
   - Entsteht unten am Boden (gradient sources at 97–100%)
   - Steigt langsam auf (translateY in negative Richtung)
   - Verteilt sich beim Aufsteigen (scaleX wächst)
   - Kommt in Wellen (3 Layer, unterschiedliche Zyklen + delays)
   - Layer 1: 20s, Layer 2: 30s, Layer 3: 44s
   - Negative delays → sofort sichtbar, nie synchron
   ============================================================ */

.fog-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    will-change: transform, opacity;
    display: none; /* Mobile: aus. Desktop: via @media aktiviert */
}

/* -------------------------------------------------------
   Nebel-Keyframes: Aufstieg von unten
   translateY startet bei 0 (unten) → geht nach oben (negativ)
   opacity: 0 → Peak → 0  (Wellen-Effekt)
   scaleX wächst: Nebel verteilt sich beim Aufsteigen
------------------------------------------------------- */

@keyframes fogBurst1 {
    0%   {
        transform: translateY(4%)   translateX(0%)   scaleX(0.88);
        opacity: 0;
    }
    10%  {
        transform: translateY(2%)   translateX(1%)   scaleX(0.94);
        opacity: 0.88;
    }
    28%  {
        transform: translateY(-6%)  translateX(3%)   scaleX(1.08);
        opacity: 0.80;
    }
    52%  {
        transform: translateY(-20%) translateX(-2%)  scaleX(1.28);
        opacity: 0.52;
    }
    76%  {
        transform: translateY(-38%) translateX(5%)   scaleX(1.50);
        opacity: 0.22;
    }
    100% {
        transform: translateY(-56%) translateX(-1%)  scaleX(1.68);
        opacity: 0;
    }
}

@keyframes fogBurst2 {
    0%   {
        transform: translateY(6%)   translateX(0%)   scaleX(0.82);
        opacity: 0;
    }
    8%   {
        transform: translateY(3%)   translateX(-2%)  scaleX(0.90);
        opacity: 0.78;
    }
    32%  {
        transform: translateY(-8%)  translateX(4%)   scaleX(1.12);
        opacity: 0.68;
    }
    60%  {
        transform: translateY(-28%) translateX(-5%)  scaleX(1.38);
        opacity: 0.38;
    }
    85%  {
        transform: translateY(-50%) translateX(3%)   scaleX(1.62);
        opacity: 0.12;
    }
    100% {
        transform: translateY(-62%) translateX(-3%)  scaleX(1.78);
        opacity: 0;
    }
}

@keyframes fogBurst3 {
    0%   {
        transform: translateY(3%)   translateX(0%)   scaleX(0.92);
        opacity: 0;
    }
    14%  {
        transform: translateY(1%)   translateX(5%)   scaleX(0.98);
        opacity: 0.72;
    }
    38%  {
        transform: translateY(-12%) translateX(-3%)  scaleX(1.18);
        opacity: 0.62;
    }
    68%  {
        transform: translateY(-35%) translateX(6%)   scaleX(1.45);
        opacity: 0.32;
    }
    100% {
        transform: translateY(-60%) translateX(-4%)  scaleX(1.72);
        opacity: 0;
    }
}


/* ============================================================
   8. SITE HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.20);
    box-shadow:
        0 1px 0   rgba(139, 92, 246, 0.15),
        0 4px 30px rgba(0, 0, 0, 0.60);
    min-height: var(--header-height);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    min-height: var(--header-height);
}

.site-header__logo {
    flex-shrink: 0;
    display: block;
    transition: all var(--ease-base);
    text-decoration: none;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.35));
}

.site-header__logo:hover,
.site-header__logo:focus {
    filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.65));
    transform: scale(1.03);
    text-decoration: none;
}

.site-header__logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Navigation */
.main-nav { flex: 1; }

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    color: rgba(221, 232, 221, 0.80);
    font-size: var(--fs-sm);
    font-weight: 400;
    letter-spacing: 0.03em;
    white-space: nowrap;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all var(--ease-base);
    text-decoration: none;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 1px;
    background: var(--color-accent);
    transition: transform var(--ease-base);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff;
    background: rgba(139, 92, 246, 0.10);
    border-color: rgba(139, 92, 246, 0.25);
    text-decoration: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.nav-active,
.nav-link[aria-current="page"] {
    color: #fff;
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.28),
        rgba(109, 40, 217, 0.18));
    border-color: rgba(139, 92, 246, 0.42);
    font-weight: 600;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.22);
}

.nav-link.nav-active::after {
    transform: translateX(-50%) scaleX(1);
    background: var(--color-accent-hover);
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.social-icons__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: all var(--ease-bounce);
    text-decoration: none;
}

.social-icons__link:hover,
.social-icons__link:focus {
    background: var(--color-accent);
    border-color: var(--color-accent-hover);
    transform: translateY(-3px) scale(1.10);
    box-shadow: var(--shadow-accent);
    text-decoration: none;
}

.social-icon {
    width: 17px;
    height: 17px;
    fill: rgba(221, 232, 221, 0.75);
    transition: fill var(--ease-fast);
    display: block;
}

.social-icons__link:hover .social-icon,
.social-icons__link:focus .social-icon {
    fill: #fff;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all var(--ease-base);
    flex-shrink: 0;
}

.nav-toggle:hover,
.nav-toggle:focus {
    background: rgba(139, 92, 246, 0.18);
    border-color: var(--color-accent);
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--ease-base);
    transform-origin: center;
}

.nav-toggle--open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle--open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   9. MAIN CONTENT
   ============================================================ */

.site-main {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    min-height: calc(100vh - var(--header-height) - 140px);
}

.content-box {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(139, 92, 246, 0.60),
        rgba(0, 200, 80, 0.40),
        rgba(139, 92, 246, 0.60),
        transparent);
}

.section-header {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.section-header__title {
    font-family: var(--font-h1);
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
    color: #fff;
    text-shadow:
        2px 2px 8px  rgba(0,   0,   0,   0.90),
        0   0   40px rgba(139, 92,  246, 0.45),
        0   0   80px rgba(0,   120, 0,   0.25);
}

.section-header__desc {
    font-family: var(--font-h2);
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    font-style: italic;
    margin: 0;
}


/* ============================================================
   10. HOME SECTIONS
   ============================================================ */

.home-section {
    margin-bottom: var(--space-2xl);
}

.home-section__title {
    font-family: var(--font-h2);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.home-section__title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.4em;
    background: linear-gradient(180deg,
        var(--color-accent-hover),
        var(--color-accent-dark));
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.55);
}

.home-section__title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(139, 92, 246, 0.35),
        transparent);
}


/* ============================================================
   11. NEWS-LISTE
   ============================================================
   Gleiches Rahmen/Transparenz-System wie Quote + Wish!
   Hover-Effekt (Leuchtrand) bleibt erhalten.
   ============================================================ */

.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Gleicher Look wie .quote-box und .wish-box */
.news-item {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.07) 0%,
        rgba(0,  50,  0,  0.09) 100%);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-left: 4px solid rgba(139, 92, 246, 0.55);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    transition: all var(--ease-base);
    position: relative;
    overflow: hidden;
}

/* Hover: Leuchtrand + Aufsteigen */
.news-item:hover {
    border-color: var(--color-card-border-hover);
    border-left-color: var(--color-accent-hover);
    box-shadow:
        var(--shadow-md),
        0 0 30px rgba(139, 92, 246, 0.22),
        inset 0 0 50px rgba(139, 92, 246, 0.04);
    transform: translateY(-3px);
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.11) 0%,
        rgba(0,  60,  0,  0.12) 100%);
}

/* 2-Spalten-Layout */
.news-item__inner {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

/* Thumbnail */
.news-item__thumb { flex-shrink: 0; }

.news-item__thumb-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.25);
    cursor: pointer;
    transition: all var(--ease-base);
    display: block;
    box-shadow: var(--shadow-sm);
}

.news-item__thumb-img:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.55), var(--shadow-md);
    transform: scale(1.06) rotate(1deg);
}

.news-item__thumb-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px dashed rgba(139, 92, 246, 0.22);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-2xl);
    user-select: none;
}

/* News-Textbereich */
.news-item__content { min-width: 0; }

.news-item__title {
    font-family: var(--font-h2);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--color-accent-hover);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    transition: color var(--ease-fast);
}

.news-item:hover .news-item__title {
    color: #fff;
}

.news-item__title a {
    color: inherit;
    text-decoration: none;
}

.news-item__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    font-size: var(--fs-xs);
    color: var(--color-text-dim);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-item__meta time { color: var(--color-text-muted); }
.news-item__meta-sep  { opacity: 0.35; }

.news-item__body {
    font-size: var(--fs-base);
    line-height: 1.80;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.news-item__comment {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    font-style: italic;
    border-left: 3px solid rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.05);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.65;
}

.news-item__weiterlesen {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-accent);
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: all var(--ease-fast);
    text-decoration: none;
}

.news-item__weiterlesen::after {
    content: '→';
    transition: transform var(--ease-base);
    display: inline-block;
}

.news-item__weiterlesen:hover::after {
    transform: translateX(4px);
}

.news-item__weiterlesen:hover,
.news-item__weiterlesen:focus {
    color: var(--color-accent-hover);
    text-decoration: none;
}

.news-item__ausflug {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-success);
    font-size: var(--fs-sm);
    transition: color var(--ease-fast);
    text-decoration: none;
}

.news-item__ausflug:hover,
.news-item__ausflug:focus {
    color: #4ade80;
    text-decoration: none;
}

.news-item__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* News-Detailseite */
.news-detail__image-wrap {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.news-detail__image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--color-card-border);
    cursor: pointer;
    transition: box-shadow var(--ease-base);
    display: inline-block;
}

.news-detail__image:hover {
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.45);
}

.news-detail__body {
    font-size: var(--fs-md);
    line-height: 1.85;
    color: var(--color-text);
}


/* ============================================================
   12. CONTENT-KARTEN (Links, Programme, Downloads)
   ============================================================ */

.content-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.content-item {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.06) 0%,
        rgba(0,  45,  0,  0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-left: 4px solid rgba(139, 92, 246, 0.45);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    transition: all var(--ease-base);
    position: relative;
    overflow: hidden;
}

.content-item:hover {
    border-color: var(--color-card-border-hover);
    border-left-color: var(--color-accent-hover);
    box-shadow: var(--shadow-md), 0 0 22px rgba(139, 92, 246, 0.18);
    transform: translateY(-2px);
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.10) 0%,
        rgba(0,  55,  0,  0.11) 100%);
}

.content-item__inner {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.content-item__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.content-item__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.20);
    display: block;
    transition: all var(--ease-base);
}

.content-item:hover .content-item__img {
    border-color: rgba(139, 92, 246, 0.50);
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.32);
}

.content-item__img-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px dashed rgba(139, 92, 246, 0.20);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    font-size: var(--fs-xl);
}

.content-item__content { min-width: 0; }

.content-item__title {
    font-family: var(--font-h2);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-accent-hover);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    transition: color var(--ease-fast);
}

.content-item:hover .content-item__title { color: #fff; }

.content-item__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    font-size: var(--fs-xs);
    color: var(--color-text-dim);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.content-item__description {
    font-size: var(--fs-sm);
    line-height: 1.72;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.content-item__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-accent);
    font-size: var(--fs-sm);
    font-weight: 600;
    word-break: break-all;
    transition: color var(--ease-fast);
    text-decoration: none;
}

.content-item__link::before { content: '↗'; }

.content-item__link:hover,
.content-item__link:focus {
    color: var(--color-accent-hover);
    text-decoration: none;
}


/* ============================================================
   13. STERN-BEWERTUNG
   ============================================================ */

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.star {
    font-size: var(--fs-md);
    line-height: 1;
    display: inline-block;
    transition: transform var(--ease-fast);
}

.star--filled { color: var(--color-star-filled); }
.star--empty  { color: var(--color-star-empty);  }

.star-rating:hover .star--filled { transform: scale(1.15); }


/* ============================================================
   14. QUOTE-BOX (Spruch)
   ============================================================
   Hover-Effekt hinzugefügt – gleiche Logik wie .news-item
   ============================================================ */

.quote-box {
    position: relative;
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.08),
        rgba(0, 60, 0, 0.10));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    /* Hover aktivieren */
    transition: all var(--ease-base);
}

.quote-box:hover {
    border-color: rgba(139, 92, 246, 0.52);
    border-left-color: var(--color-accent-hover);
    box-shadow: var(--shadow-md), 0 0 28px rgba(139, 92, 246, 0.22);
    transform: translateY(-2px);
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.12),
        rgba(0, 70, 0, 0.13));
}

.quote-box::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: var(--space-lg);
    font-family: var(--font-h1);
    font-size: 8rem;
    color: rgba(139, 92, 246, 0.14);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.quote-box::after {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 200px; height: 200px;
    background: radial-gradient(circle,
        rgba(139, 92, 246, 0.12),
        transparent 70%);
    pointer-events: none;
}

.quote-box__text {
    position: relative;
    z-index: 1;
    font-family: var(--font-h2);
    font-size: clamp(var(--fs-md), 2vw, var(--fs-xl));
    font-style: italic;
    color: #fff;
    line-height: 1.90;
    margin-bottom: var(--space-lg);
}

.quote-box__author {
    position: relative;
    z-index: 1;
    font-size: var(--fs-sm);
    color: var(--color-accent-hover);
    text-align: right;
    font-family: var(--font-h2);
    margin: 0;
    letter-spacing: 0.04em;
}

.quote-box__author::before { content: '— '; }


/* ============================================================
   15. WISH-BOX (Kinderwunsch Startseite)
   ============================================================
   Hover-Effekt hinzugefügt – grüne Variante
   ============================================================ */

.wish-box {
    background: linear-gradient(135deg,
        rgba(0,  80, 0,  0.18),
        rgba(0,  40, 0,  0.10));
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-left: 4px solid rgba(34, 197, 94, 0.65);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    /* Hover aktivieren */
    transition: all var(--ease-base);
}

.wish-box:hover {
    border-color: rgba(34, 197, 94, 0.48);
    border-left-color: rgba(34, 197, 94, 0.92);
    box-shadow: var(--shadow-md), 0 0 28px rgba(34, 197, 94, 0.20);
    transform: translateY(-2px);
    background: linear-gradient(135deg,
        rgba(0, 100, 0, 0.22),
        rgba(0,  55, 0, 0.14));
}

.wish-box::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 150px; height: 150px;
    background: radial-gradient(circle,
        rgba(34, 197, 94, 0.10),
        transparent 70%);
    pointer-events: none;
}

.wish-box__label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
}

.wish-box__title {
    font-family: var(--font-h2);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: #86efac;
    margin-bottom: var(--space-sm);
}

.wish-box__text {
    font-size: var(--fs-sm);
    color: rgba(221, 232, 221, 0.80);
    line-height: 1.70;
    margin: 0;
}

/* ============================================================
   KINDERWÜNSCHE HEADER-BILD
   Portrait-Format: zentriert, volle Höhe sichtbar,
   max-Breite begrenzt, leicht schwebend
   ============================================================ */

.kinderwuensche-cover {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.kinderwuensche-cover img {
    display: inline-block;
    max-height: 500px;
    width: auto;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow:
        var(--shadow-lg),
        0 0 40px rgba(139, 92, 246, 0.25),
        0 0 80px rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.22);
    /* Leichte Aufwärtsbewegung beim Hover */
    transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.kinderwuensche-cover img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        var(--shadow-lg),
        0 0 55px rgba(139, 92, 246, 0.35),
        0 0 100px rgba(34, 197, 94, 0.18);
}

/* Dekorativer Glow-Ring hinter dem Bild */
.kinderwuensche-cover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 90%;
    background: radial-gradient(ellipse,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(34, 197, 94, 0.08) 50%,
        transparent 75%);
    filter: blur(25px);
    pointer-events: none;
    z-index: -1;
}

/* Mobile: kleiner */
@media (max-width: 640px) {
    .kinderwuensche-cover img {
        max-height: 380px;
    }
}


/* ============================================================
   16. PAGINATION
   ============================================================ */

.pagination {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(139, 92, 246, 0.12);
}

.pagination__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.20);
    background: rgba(4, 8, 4, 0.55);
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: all var(--ease-base);
    white-space: nowrap;
}

.pagination__link:hover,
.pagination__link:focus {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.pagination__link--current {
    background: linear-gradient(135deg,
        var(--color-accent),
        var(--color-accent-dark));
    border-color: var(--color-accent-dark);
    color: #fff;
    font-weight: 700;
    cursor: default;
    box-shadow: var(--shadow-accent);
}

.pagination__item--disabled .pagination__link {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination__item--ellipsis span {
    min-width: 30px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
}

.pagination__info {
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--color-text-dim);
    margin: 0;
    letter-spacing: 0.04em;
}


/* ============================================================
   17. SITE FOOTER
   ============================================================ */

.site-footer {
    background: var(--color-footer-bg);
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    padding: var(--space-xl) 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(139, 92, 246, 0.50),
        rgba(0, 180, 60, 0.30),
        rgba(139, 92, 246, 0.50),
        transparent);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal__link {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    transition: color var(--ease-fast);
    text-decoration: none;
}

.footer-legal__link:hover,
.footer-legal__link:focus {
    color: var(--color-accent-hover);
    text-decoration: none;
}

.footer-legal__sep {
    color: var(--color-text-dim);
    user-select: none;
}

.footer-rotating { font-size: var(--fs-sm); }

.footer-rotating__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-accent-hover);
    padding: var(--space-sm) var(--space-xl);
    border: 1px solid rgba(139, 92, 246, 0.30);
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.06);
    transition: all var(--ease-bounce);
    text-decoration: none;
    font-weight: 500;
}

.footer-rotating__link:hover,
.footer-rotating__link:focus {
    color: #fff;
    background: linear-gradient(135deg,
        var(--color-accent),
        var(--color-accent-dark));
    border-color: var(--color-accent);
    text-decoration: none;
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px) scale(1.03);
}

.footer-copy {
    color: var(--color-text-dim);
    font-size: var(--fs-xs);
    margin: 0;
    letter-spacing: 0.05em;
}

.footer-copy__link {
    color: rgba(154, 170, 154, 0.65);
    text-decoration: none;
    transition: color var(--ease-fast);
}

.footer-copy__link:hover {
    color: var(--color-accent-hover);
    text-decoration: none;
}


/* ============================================================
   18. LIGHTBOX
   ============================================================ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.lightbox[hidden] { display: none; }

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(8px) saturate(50%);
    -webkit-backdrop-filter: blur(8px) saturate(50%);
    cursor: pointer;
}

.lightbox__container {
    position: relative;
    z-index: 1;
    background: rgba(5, 3, 12, 0.97);
    border: 1px solid rgba(139, 92, 246, 0.30);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--shadow-accent);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lightbox--image .lightbox__container {
    max-width: 750px;
    width: 100%;
}

.lightbox--iframe .lightbox__container {
    width:  min(90vw, 920px);
    height: min(82vh, 720px);
}

.lightbox__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    flex-shrink: 0;
    background: rgba(139, 92, 246, 0.05);
}

.lightbox__title {
    font-family: var(--font-h2);
    font-size: var(--fs-lg);
    color: var(--color-accent-hover);
    margin: 0;
    font-weight: 600;
}

.lightbox__close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-muted);
    font-size: var(--fs-xl);
    line-height: 1;
    cursor: pointer;
    transition: all var(--ease-base);
}

.lightbox__close:hover,
.lightbox__close:focus {
    background: var(--color-error);
    border-color: var(--color-error);
    color: #fff;
    transform: rotate(90deg) scale(1.10);
}

.lightbox__body {
    overflow: auto;
    flex: 1;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 130px);
    object-fit: contain;
    margin: 0 auto;
    border-radius: var(--radius);
}

.lightbox__iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: none;
    border-radius: var(--radius);
}

body.lightbox-is-open { overflow: hidden; }


/* ============================================================
   19. KINDERWÜNSCHE
   ============================================================ */

.page-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    display: block;
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-lg);
}

.page-cover-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg,
        rgba(0,   80,  0,  0.40),
        rgba(139, 92, 246, 0.15) 50%,
        rgba(0,   0,   0,  0.55));
    border: 1px dashed rgba(139, 92, 246, 0.28);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    font-family: var(--font-h2);
    font-size: var(--fs-lg);
    font-style: italic;
    text-align: center;
}

.wishes-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.wish-item {
    background: linear-gradient(135deg,
        rgba(0,  60, 0,  0.14),
        rgba(0,  30, 0,  0.08));
    border: 1px solid rgba(34, 197, 94, 0.14);
    border-left: 3px solid rgba(34, 197, 94, 0.48);
    border-radius: var(--radius);
    padding: var(--space-lg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all var(--ease-base);
    font-size: var(--fs-base);
    line-height: 1.80;
    color: var(--color-text);
}

.wish-item:hover {
    border-color: rgba(34, 197, 94, 0.40);
    border-left-color: rgba(34, 197, 94, 0.80);
    background: rgba(0, 40, 0, 0.55);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm), 0 0 18px rgba(34, 197, 94, 0.14);
}

.wish-item__label {
    font-family: var(--font-h2);
    font-weight: 600;
    color: #86efac;
    display: block;
    margin-bottom: var(--space-xs);
}


/* ============================================================
   20. EUROBAHN-STATS
   ============================================================ */

.eurobahn-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-tile {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.07),
        rgba(0,  40,  0,  0.08));
    border: 1px solid rgba(139, 92, 246, 0.20);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--ease-bounce);
    position: relative;
    overflow: hidden;
}

.stat-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--color-accent-dark),
        var(--color-accent-hover),
        rgba(0, 200, 80, 0.60));
}

.stat-tile:hover {
    border-color: var(--color-card-border-hover);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-accent);
}

.stat-tile__value {
    font-family: var(--font-h1);
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
    color: var(--color-accent-hover);
    line-height: 1;
    margin-bottom: var(--space-xs);
    display: block;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.45);
}

.stat-tile__label {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    display: block;
    letter-spacing: 0.04em;
}

.stat-tile__sub {
    font-size: var(--fs-xs);
    color: var(--color-text-dim);
    margin-top: var(--space-xs);
    display: block;
}

.status--puenktlich  { color: var(--color-success); }
.status--verspaetung { color: var(--color-warning); }
.status--ausfall     { color: var(--color-error);   }

.chart-container {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.06),
        rgba(0, 40, 0, 0.07));
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.chart-container__title {
    font-family: var(--font-h2);
    font-size: var(--fs-lg);
    color: var(--color-accent-hover);
    margin-bottom: var(--space-lg);
}

.chart-svg { width: 100%; height: auto; display: block; min-width: 320px; }

.chart-line {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-area       { fill: rgba(139, 92, 246, 0.14); }
.chart-axis-line  { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }

.chart-dot {
    fill: var(--color-accent);
    stroke: rgba(0, 0, 0, 0.60);
    stroke-width: 2;
    cursor: pointer;
    transition: r var(--ease-fast);
}

.chart-dot:hover { fill: #fff; }

.chart-label {
    fill: var(--color-text-dim);
    font-size: 11px;
    font-family: var(--font-body);
}

.chart-value-label {
    fill: var(--color-text-muted);
    font-size: 10px;
    font-family: var(--font-body);
}

.definitions-box {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.06),
        rgba(0, 35, 0, 0.07));
    border: 1px solid rgba(139, 92, 246, 0.16);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.definitions-box__title {
    font-family: var(--font-h2);
    font-size: var(--fs-lg);
    color: var(--color-accent-hover);
    margin-bottom: var(--space-lg);
}

.definition-item {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.definition-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.definition-item__term {
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-xs);
}

.definition-item__desc {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

.fazit-box {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.08),
        rgba(0, 60, 0, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius);
    padding: var(--space-xl);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.fazit-box__title {
    font-family: var(--font-h2);
    font-size: var(--fs-lg);
    color: var(--color-accent-hover);
    margin-bottom: var(--space-md);
}


/* ============================================================
   21. WERBEFLÄCHE
   ============================================================ */

.ad-slot {
    margin: var(--space-xl) 0;
    text-align: center;
    display: block;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-sm) 0 var(--space-md);
    overflow: hidden;
    position: relative;
}

/* Pflicht-Label "Anzeige" (§ 5a UWG) */
.ad-slot__label {
    display: block;
    font-size: var(--fs-xs);
    font-family: var(--font-body);
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 var(--space-sm) 0;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Bilder + iFrames begrenzen */
.ad-slot img,
.ad-slot iframe {
    max-height: 500px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* Dezente Variante für Detailseite */
.ad-slot--detail {
    max-width: 600px;
    margin-inline: auto;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: var(--space-md) 0;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-xl);
}


/* ============================================================
   22. FEHLERSEITEN
   ============================================================ */

.error-page {
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
}

@keyframes errorGlow {
    0%,  100% { text-shadow: 0 0 40px rgba(139, 92, 246, 0.65), 0 0  80px rgba(139, 92, 246, 0.35); }
    50%        { text-shadow: 0 0 60px rgba(139, 92, 246, 0.90), 0 0 120px rgba(139, 92, 246, 0.50); }
}

.error-page__code {
    font-family: var(--font-h1);
    font-size: clamp(5rem, 18vw, 10rem);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-md);
    display: block;
    animation: errorGlow 4s ease-in-out infinite;
}

.error-page__title {
    font-family: var(--font-h2);
    font-size: var(--fs-2xl);
    color: #fff;
    margin-bottom: var(--space-md);
}

.error-page__text {
    color: var(--color-text-muted);
    font-size: var(--fs-md);
    margin-bottom: var(--space-xl);
}

.error-page__link {
    display: inline-block;
    padding: var(--space-sm) var(--space-2xl);
    background: linear-gradient(135deg,
        var(--color-accent),
        var(--color-accent-dark));
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--ease-bounce);
    box-shadow: var(--shadow-accent);
}

.error-page__link:hover,
.error-page__link:focus {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.60);
    text-decoration: none;
    color: #fff;
}


/* ============================================================
   23. UTILITIES
   ============================================================ */

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--color-text-muted); }
.text-dim     { color: var(--color-text-dim); }
.text-accent  { color: var(--color-accent); }
.text-small   { font-size: var(--fs-sm); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error   { color: var(--color-error); }

.mt-sm  { margin-top: var(--space-sm);  }
.mt-md  { margin-top: var(--space-md);  }
.mt-lg  { margin-top: var(--space-lg);  }
.mt-xl  { margin-top: var(--space-xl);  }
.mb-sm  { margin-bottom: var(--space-sm);  }
.mb-md  { margin-bottom: var(--space-md);  }
.mb-lg  { margin-bottom: var(--space-lg);  }
.mb-xl  { margin-bottom: var(--space-xl);  }

.d-none  { display: none; }
.d-block { display: block; }
.d-flex  { display: flex; }

.separator {
    border: none;
    border-top: 1px solid rgba(139, 92, 246, 0.12);
    margin: var(--space-xl) 0;
}


/* ============================================================
   24. RESPONSIVE: TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    :root {
        --container-pad: 1.5rem;
        --header-height: 66px;
        --space-3xl: 3.5rem;
    }

    .bg-image { background-attachment: scroll; }
    .fog-layer { display: none !important; }

    .nav-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }

    .social-icons { order: 2; }

    .site-header__inner {
        position: relative;
        flex-wrap: nowrap;
    }

    .main-nav {
        order: 4;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(2, 5, 2, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(139, 92, 246, 0.15);
        border-bottom: 1px solid rgba(139, 92, 246, 0.10);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all var(--ease-base);
        z-index: 999;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.70);
    }

    .main-nav.main-nav--open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav__list {
        flex-direction: column;
        gap: 0;
        padding: var(--space-sm) 0;
    }

    .main-nav__item { width: 100%; }

    .nav-link {
        display: block;
        width: 100%;
        padding: var(--space-md) var(--space-xl);
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .nav-link::after { display: none; }

    .eurobahn-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   25. RESPONSIVE: MOBIL (≤ 640px)
   ============================================================ */

@media (max-width: 640px) {

    :root {
        --container-pad: 1rem;
        --header-height: 58px;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
    }

    .site-header__logo img { height: 36px; }
    .social-icons__link    { width: 30px; height: 30px; }
    .social-icon           { width: 14px; height: 14px; }

    .news-item__inner { grid-template-columns: 1fr; }

    .news-item__thumb {
        display: flex;
        gap: var(--space-md);
        align-items: center;
    }

    .news-item__thumb-img,
    .news-item__thumb-placeholder {
        width: 72px;
        height: 72px;
        flex-shrink: 0;
    }

    .content-item__inner    { grid-template-columns: 1fr; }
    .content-item__media    { flex-direction: row; align-items: center; }

    .content-item__img,
    .content-item__img-placeholder { width: 60px; height: 60px; }

    .eurobahn-stats-grid { grid-template-columns: 1fr; }

    .lightbox { padding: 0; align-items: flex-end; }

    .lightbox__container {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        max-height: 92vh;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .lightbox--iframe .lightbox__container {
        width: 100%;
        height: 88vh;
    }

    .content-box { padding: var(--space-lg); }
    .quote-box   { padding: var(--space-xl) var(--space-lg) var(--space-lg); }

    .page-cover,
    .page-cover-placeholder { height: 200px; }

    .pagination__link { min-width: 36px; height: 36px; font-size: var(--fs-xs); }
}


/* ============================================================
   26. DESKTOP (≥ 1025px) – BÜHNENNEBEL AKTIV
   ============================================================
   Gradients: Weiße Nebelschwaden am Boden (at X% 97-100%)
   Hohe Deckkraft für echte Sichtbarkeit
   Negative animation-delay: Sofort sichtbar, nie synchron
   ============================================================ */

@media (min-width: 1025px) {

    /* Layer 1: Schnell (20s), linkslastig + mittig
       Gradient-Quellen unten links und mitte */
    .fog-layer--1 {
        display: block;
        background-image:
            radial-gradient(ellipse 80% 42% at 18% 100%,
                rgba(255, 255, 255, 0.68) 0%,
                rgba(248, 255, 252, 0.42) 28%,
                rgba(225, 248, 236, 0.18) 55%,
                transparent 75%),
            radial-gradient(ellipse 52% 32% at 62% 99%,
                rgba(255, 255, 255, 0.58) 0%,
                rgba(242, 255, 249, 0.34) 32%,
                transparent 65%),
            radial-gradient(ellipse 32% 22% at 90% 98%,
                rgba(252, 255, 254, 0.50) 0%,
                transparent 62%);
        animation: fogBurst1 20s ease-in-out infinite;
        animation-delay: -5s;
    }

    /* Layer 2: Mittel (30s), breit + rechtslastig
       Andere Positionen als Layer 1 → kein Gleichlauf */
    .fog-layer--2 {
        display: block;
        background-image:
            radial-gradient(ellipse 88% 48% at 50% 100%,
                rgba(255, 255, 255, 0.62) 0%,
                rgba(244, 255, 250, 0.38) 26%,
                rgba(218, 244, 232, 0.16) 52%,
                transparent 72%),
            radial-gradient(ellipse 42% 30% at 5% 99%,
                rgba(255, 255, 255, 0.54) 0%,
                rgba(248, 255, 252, 0.30) 36%,
                transparent 66%),
            radial-gradient(ellipse 38% 26% at 82% 98%,
                rgba(252, 255, 253, 0.48) 0%,
                transparent 63%);
        animation: fogBurst2 30s ease-in-out infinite;
        animation-delay: -13s;
    }

    /* Layer 3: Langsam (44s), verteilt + organisch
       Läuft am langsamsten → gibt der Szene Tiefe */
    .fog-layer--3 {
        display: block;
        background-image:
            radial-gradient(ellipse 68% 38% at 30% 100%,
                rgba(255, 255, 255, 0.55) 0%,
                rgba(242, 255, 248, 0.34) 30%,
                transparent 68%),
            radial-gradient(ellipse 58% 36% at 74% 99%,
                rgba(252, 255, 254, 0.50) 0%,
                rgba(236, 252, 244, 0.28) 34%,
                transparent 66%),
            radial-gradient(ellipse 28% 20% at 8% 97%,
                rgba(255, 255, 255, 0.44) 0%,
                transparent 58%);
        animation: fogBurst3 44s ease-in-out infinite;
        animation-delay: -24s;
    }
}


/* ============================================================
   27. GROSS-DISPLAY (≥ 1400px) – Noch intensiverer Nebel
   ============================================================ */

@media (min-width: 1400px) {

    :root { --container-max: 1360px; }

    /* Mehr Volumen auf großen Displays */
    .fog-layer--1 {
        background-image:
            radial-gradient(ellipse 100% 50% at 15% 100%,
                rgba(255, 255, 255, 0.78) 0%,
                rgba(248, 255, 253, 0.48) 25%,
                rgba(225, 248, 238, 0.20) 52%,
                transparent 72%),
            radial-gradient(ellipse 65% 38% at 60% 99%,
                rgba(255, 255, 255, 0.65) 0%,
                rgba(244, 255, 250, 0.38) 30%,
                transparent 63%),
            radial-gradient(ellipse 40% 28% at 92% 98%,
                rgba(252, 255, 254, 0.58) 0%,
                transparent 60%);
    }

    .fog-layer--2 {
        background-image:
            radial-gradient(ellipse 110% 55% at 48% 100%,
                rgba(255, 255, 255, 0.72) 0%,
                rgba(244, 255, 251, 0.44) 24%,
                rgba(218, 244, 234, 0.18) 50%,
                transparent 70%),
            radial-gradient(ellipse 52% 35% at 3% 99%,
                rgba(255, 255, 255, 0.62) 0%,
                rgba(248, 255, 252, 0.34) 34%,
                transparent 64%),
            radial-gradient(ellipse 48% 30% at 85% 98%,
                rgba(252, 255, 254, 0.55) 0%,
                transparent 61%);
    }

    .fog-layer--3 {
        background-image:
            radial-gradient(ellipse 85% 45% at 28% 100%,
                rgba(255, 255, 255, 0.64) 0%,
                rgba(242, 255, 249, 0.40) 28%,
                transparent 65%),
            radial-gradient(ellipse 72% 42% at 72% 99%,
                rgba(252, 255, 254, 0.58) 0%,
                rgba(236, 252, 245, 0.32) 32%,
                transparent 64%),
            radial-gradient(ellipse 35% 24% at 6% 97%,
                rgba(255, 255, 255, 0.50) 0%,
                transparent 56%);
    }
}


/* ============================================================
   28. PRINT
   ============================================================ */

@media print {

    .bg-wrapper, .site-header, .site-footer,
    .pagination, .ad-slot, .lightbox,
    .nav-toggle, .social-icons, .skip-link,
    .fog-layer {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
    }

    a { color: #000; text-decoration: underline; }

    a[href^="http"]::after {
        content: ' (' attr(href) ')';
        font-size: 8pt;
        color: #555;
    }

    .content-box, .news-item, .content-item, .stat-tile {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        background: #fff !important;
        backdrop-filter: none !important;
        break-inside: avoid;
    }

    h1, h2, h3 {
        color: #000 !important;
        text-shadow: none !important;
        animation: none !important;
    }
}

/* ============================================================
   EUROBAHN-DETAILS (innerhalb News-Items)
   ============================================================ */

.eurobahn-details {
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: var(--radius);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-md);
    font-size: var(--fs-sm);
}

.eurobahn-details__datetime {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    font-family: var(--font-h2);
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    font-size: var(--fs-sm);
}

.eurobahn-details__time {
    color: var(--color-accent-hover);
    font-weight: 600;
    font-style: normal;
}

.eurobahn-details__row {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 1.5;
}

.eurobahn-details__row:last-of-type {
    border-bottom: none;
}

.eurobahn-details__label {
    font-weight: 600;
    color: var(--color-text-muted);
    min-width: 90px;
    flex-shrink: 0;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eurobahn-details__note {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(139, 92, 246, 0.12);
    color: var(--color-text-muted);
    font-style: italic;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
    margin-bottom: var(--space-xl);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb__link {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: color var(--ease-fast);
}

.breadcrumb__link:hover,
.breadcrumb__link:focus {
    color: var(--color-accent-hover);
    text-decoration: none;
}

.breadcrumb__sep {
    color: var(--color-text-dim);
    font-size: var(--fs-sm);
    user-select: none;
}

.breadcrumb__item--current {
    font-size: var(--fs-sm);
    color: var(--color-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}


/* ============================================================
   NEWS-DETAIL
   ============================================================ */

.news-detail {
    margin-bottom: var(--space-2xl);
}

.news-detail__title {
    font-family: var(--font-h1);
    font-size: clamp(var(--fs-xl), 3.5vw, var(--fs-3xl));
    color: #fff;
    margin-bottom: var(--space-md);
    line-height: 1.25;
    text-shadow:
        1px 1px 6px  rgba(0,   0,   0,   0.90),
        0   0   30px rgba(139, 92,  246, 0.35);
}


/* ============================================================
   NEWS-NAVIGATION (Vorheriger / Nächster)
   ============================================================ */

.news-nav {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.news-nav__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.news-nav__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-md);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.06),
        rgba(0, 40, 0, 0.06));
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all var(--ease-base);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.news-nav__link:hover,
.news-nav__link:focus {
    border-color: rgba(139, 92, 246, 0.45);
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.12),
        rgba(0, 50, 0, 0.10));
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(139, 92, 246, 0.15);
}

.news-nav__link--prev  { text-align: left;   }
.news-nav__link--next  { text-align: right;  }

.news-nav__link--overview {
    text-align: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
    white-space: nowrap;
}

.news-nav__link--disabled {
    opacity: 0.28;
    cursor: default;
    padding: var(--space-md);
    font-size: var(--fs-sm);
    color: var(--color-text-dim);
    text-align: center;
}

.news-nav__dir {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    font-weight: 600;
}

.news-nav__link:hover .news-nav__dir,
.news-nav__link:focus .news-nav__dir {
    color: var(--color-accent-hover);
}

.news-nav__label {
    font-family: var(--font-h2);
    font-size: var(--fs-sm);
    line-height: 1.35;
    color: inherit;

    /* Lange Titel kürzen */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile: Stack */
@media (max-width: 640px) {

    .news-nav__inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .news-nav__overview {
        grid-column: 1 / -1;
        text-align: center;
        order: -1;
    }

    .breadcrumb__item--current {
        max-width: 180px;
    }
}

/* ============================================================
   FEHLERSEITEN – Ergänzungen
   ============================================================ */

.error-page__emoji {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    display: block;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.45));
}

.error-page__hint {
    color: var(--color-text-dim);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-xl);
    max-width: 480px;
    margin-inline: auto;
}

.error-page__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.error-page__link--secondary {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.40);
    color: var(--color-accent-hover);
    box-shadow: none;
}

.error-page__link--secondary:hover,
.error-page__link--secondary:focus {
    background: rgba(139, 92, 246, 0.12);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}