/* ============================================================
   HOGWARTS EVENT PORTAL - STYLESHEET
   Magisches Design: Gryffindor, Ravenclaw, Hufflepuff, Slytherin
   ============================================================ */

:root {
    --nav-height: 98px;
    --gold: #d3a625;
    --gold-light: #fbe082;
    --gold-dark: #8c6d13;

    --bg-dark: #090a10;
    --bg-card: rgba(18, 20, 32, 0.82);
    --bg-card-hover: rgba(28, 32, 48, 0.92);
    --border-gold: rgba(211, 166, 37, 0.35);
    --border-gold-glow: rgba(211, 166, 37, 0.7);

    --parchment: #f4ecd8;
    --parchment-dark: #3a2e1d;

    /* Hausfarben */
    --gryffindor-red: #740001;
    --gryffindor-gold: #eeba30;
    --slytherin-green: #1a472a;
    --slytherin-silver: #aaaaaa;
    --ravenclaw-blue: #0e1a40;
    --ravenclaw-bronze: #946b2d;
    --hufflepuff-yellow: #ecb939;
    --hufflepuff-black: #111111;

    --font-heading: 'Cinzel Decorative', 'Cinzel', 'Times New Roman', serif;
    --font-sub: 'Cinzel', 'Times New Roman', serif;
    --font-body: 'Crimson Text', Georgia, serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: #e8e6e3;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 20%, #151829 0%, #0a0b12 60%, #050609 100%);
}

/* Magischer Canvas Hintergrund */
#magic-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   VERZAUBERTE DECKE: KOSMISCHER NEBEL (WEISS, BLAU, LILA) & GALAXIEN
   ============================================================ */
.enchanted-clouds-container {
    position: absolute;
    top: -120px;
    left: calc((100% - 100vw) / 2);
    width: 100vw;
    height: 860px;
    pointer-events: none;
    overflow: hidden;
    isolation: isolate;
    /* Stabiler eigener Stacking-Context verhindert Z-Fighting */
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.03) 6%,
            rgba(0, 0, 0, 0.15) 12%,
            rgba(0, 0, 0, 0.4) 18%,
            rgba(0, 0, 0, 0.75) 26%,
            #000 35%,
            #000 65%,
            rgba(0, 0, 0, 0.75) 75%,
            rgba(0, 0, 0, 0.35) 85%,
            rgba(0, 0, 0, 0.1) 93%,
            transparent 100%);
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.03) 6%,
            rgba(0, 0, 0, 0.15) 12%,
            rgba(0, 0, 0, 0.4) 18%,
            rgba(0, 0, 0, 0.75) 26%,
            #000 35%,
            #000 65%,
            rgba(0, 0, 0, 0.75) 75%,
            rgba(0, 0, 0, 0.35) 85%,
            rgba(0, 0, 0, 0.1) 93%,
            transparent 100%);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 0. Kosmisches Firmament: Tiefer photorealistischer Sternenhimmel im Hintergrund */
.enchanted-cosmos-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stage/cosmic_starfield.jpg');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* 0.1 Video-Kosmos-Schleife über dem Sternenhimmel (subtil transparent für maximale Tiefe) */
.enchanted-cosmos-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* 1. Tiefste Ebene: Galaxien (liegen DAUERHAFT HINTER dem Nebel) */
.enchanted-galaxies-layer {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    height: 720px;
    pointer-events: none;
    z-index: 1;
    /* Fest und dauerhaft HINTER allen Wolkenschichten */
}

/* 2. Mittlere Ebene: Nebelschichten (ziehen sanft VOR den Galaxien her)
   Vollständig nahtloser, flackerfreier 100vw-Endlosloop mit nativer Weichheit */
.cloud-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 200vw;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    /* Liegt DAUERHAFT und stabil VOR den Galaxien */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* 1. Tiefes kosmisches Blau & Saphir (Nahtlose 100vw-Doppelkachel, kräftig & strahlend) */
.cloud-layer-1 {
    background:
        /* Segment A (0 - 100vw) */
        radial-gradient(ellipse 46vw 270px at 30vw 26%, rgba(30, 95, 225, 0.58) 0%, rgba(22, 75, 185, 0.38) 35%, rgba(15, 55, 145, 0.18) 60%, rgba(10, 35, 105, 0.05) 80%, transparent 100%),
        radial-gradient(ellipse 44vw 330px at 72vw 36%, rgba(45, 115, 240, 0.52) 0%, rgba(30, 85, 205, 0.34) 40%, rgba(18, 60, 155, 0.16) 65%, rgba(10, 35, 105, 0.04) 85%, transparent 100%),
        /* Segment B (+100vw identisch nahtlos gedoppelt) */
        radial-gradient(ellipse 46vw 270px at 130vw 26%, rgba(30, 95, 225, 0.58) 0%, rgba(22, 75, 185, 0.38) 35%, rgba(15, 55, 145, 0.18) 60%, rgba(10, 35, 105, 0.05) 80%, transparent 100%),
        radial-gradient(ellipse 44vw 330px at 172vw 36%, rgba(45, 115, 240, 0.52) 0%, rgba(30, 85, 205, 0.34) 40%, rgba(18, 60, 155, 0.16) 65%, rgba(10, 35, 105, 0.04) 85%, transparent 100%);
    animation: driftCloudsSeamless1 72s linear infinite;
}

/* 2. Mystisches Lila, Violett & Magisches Magenta (Nahtlose Doppelkachel, leuchtend & atmosphärisch) */
.cloud-layer-2 {
    background:
        /* Segment A (0 - 100vw) */
        radial-gradient(ellipse 48vw 290px at 40vw 38%, rgba(160, 50, 245, 0.50) 0%, rgba(125, 35, 205, 0.30) 35%, rgba(85, 20, 155, 0.15) 65%, rgba(50, 10, 100, 0.04) 85%, transparent 100%),
        radial-gradient(ellipse 34vw 250px at 82vw 22%, rgba(205, 95, 235, 0.44) 0%, rgba(155, 65, 195, 0.26) 40%, rgba(105, 30, 145, 0.11) 65%, transparent 100%),
        /* Segment B (+100vw identisch nahtlos gedoppelt) */
        radial-gradient(ellipse 48vw 290px at 140vw 38%, rgba(160, 50, 245, 0.50) 0%, rgba(125, 35, 205, 0.30) 35%, rgba(85, 20, 155, 0.15) 65%, rgba(50, 10, 100, 0.04) 85%, transparent 100%),
        radial-gradient(ellipse 34vw 250px at 182vw 22%, rgba(205, 95, 235, 0.44) 0%, rgba(155, 65, 195, 0.26) 40%, rgba(105, 30, 145, 0.11) 65%, transparent 100%);
    animation: driftCloudsSeamless2 88s linear infinite;
}

/* 3. Lichterfüllter weißer & silbriger Sternenstaub (Nahtlose Doppelkachel, brillanter Nebelschleier) */
.cloud-layer-3 {
    background:
        /* Segment A (0 - 100vw) */
        radial-gradient(ellipse 36vw 190px at 26vw 42%, rgba(255, 255, 255, 0.30) 0%, rgba(225, 240, 255, 0.17) 35%, rgba(190, 220, 255, 0.07) 65%, transparent 100%),
        radial-gradient(ellipse 40vw 200px at 68vw 28%, rgba(240, 248, 255, 0.26) 0%, rgba(205, 230, 255, 0.14) 40%, rgba(175, 210, 255, 0.05) 70%, transparent 100%),
        /* Segment B (+100vw identisch nahtlos gedoppelt) */
        radial-gradient(ellipse 36vw 190px at 126vw 42%, rgba(255, 255, 255, 0.30) 0%, rgba(225, 240, 255, 0.17) 35%, rgba(190, 220, 255, 0.07) 65%, transparent 100%),
        radial-gradient(ellipse 40vw 200px at 168vw 28%, rgba(240, 248, 255, 0.26) 0%, rgba(205, 230, 255, 0.14) 40%, rgba(175, 210, 255, 0.05) 70%, transparent 100%);
    animation: driftCloudsSeamless3 54s linear infinite;
}

/* Vollkommen nahtlose Endlos-Loops ohne Abbremsen, ohne Richtungswechsel, ohne Flackern */
@keyframes driftCloudsSeamless1 {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100vw, 0, 0);
    }
}

@keyframes driftCloudsSeamless2 {
    0% {
        transform: translate3d(-100vw, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes driftCloudsSeamless3 {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100vw, 0, 0);
    }
}

/* ============================================================
   FUNKELNDE STERNE (VORDERGRUND & TIEFE)
   Liegen mit z-index: 5 deutlich VOR den Nebelschichten und Galaxien
   ============================================================ */
.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    /* Liegt deutlich VOR dem Nebel und den Galaxien */
}

.twinkle-star {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

/* 1. Strahlend helle Vordergrundsterne */
.twinkle-star.bright {
    background-color: #ffffff;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 1), 0 0 20px 6px rgba(255, 255, 255, 0.8);
    animation: starPulseBright var(--pulse-dur, 2.4s) ease-in-out infinite alternate;
}

.twinkle-star.bright.purple {
    background-color: #f6dcff;
    box-shadow: 0 0 12px 3px rgba(220, 130, 255, 1), 0 0 24px 7px rgba(186, 85, 211, 0.9);
}

.twinkle-star.bright.blue {
    background-color: #e0f2ff;
    box-shadow: 0 0 12px 3px rgba(130, 210, 255, 1), 0 0 24px 7px rgba(65, 105, 225, 0.9);
}

.twinkle-star.bright.gold {
    background-color: #fff9de;
    box-shadow: 0 0 12px 3px rgba(255, 220, 50, 1), 0 0 24px 7px rgba(218, 165, 32, 0.9);
}

/* 2. Mittlere Standard-Sterne */
.twinkle-star.medium {
    background-color: #ffffff;
    box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.9);
    animation: starPulseMedium var(--pulse-dur, 3s) ease-in-out infinite alternate;
}

.twinkle-star.medium.purple {
    background-color: #e5b3ff;
    box-shadow: 0 0 8px 2px rgba(186, 85, 211, 0.85);
}

.twinkle-star.medium.blue {
    background-color: #b8e2ff;
    box-shadow: 0 0 8px 2px rgba(100, 180, 255, 0.85);
}

.twinkle-star.medium.gold {
    background-color: #ffe699;
    box-shadow: 0 0 8px 2px rgba(211, 166, 37, 0.85);
}

/* 3. Zarte, dunklere Sterne in kosmischer Tiefe */
.twinkle-star.dim {
    background-color: rgba(225, 235, 255, 0.7);
    box-shadow: 0 0 3px 1px rgba(180, 205, 255, 0.5);
    animation: starPulseDim var(--pulse-dur, 3.8s) ease-in-out infinite alternate;
}

.twinkle-star.dim.purple {
    background-color: rgba(210, 160, 250, 0.65);
    box-shadow: 0 0 4px 1px rgba(147, 51, 234, 0.45);
}

.twinkle-star.dim.blue {
    background-color: rgba(160, 210, 255, 0.65);
    box-shadow: 0 0 4px 1px rgba(65, 105, 225, 0.45);
}

.twinkle-star.dim.gold {
    background-color: rgba(235, 205, 130, 0.65);
    box-shadow: 0 0 4px 1px rgba(180, 140, 30, 0.45);
}

/* Individuelle Puls-Animationen */
@keyframes starPulseBright {
    0% {
        opacity: 0.45;
        transform: scale(0.75);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
        filter: drop-shadow(0 0 8px #ffffff);
    }

    100% {
        opacity: 0.55;
        transform: scale(0.9);
    }
}

@keyframes starPulseMedium {
    0% {
        opacity: 0.2;
        transform: scale(0.65);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

@keyframes starPulseDim {
    0% {
        opacity: 0.12;
        transform: scale(0.6);
    }

    50% {
        opacity: 0.55;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.18;
        transform: scale(0.75);
    }
}

/* ============================================================
   MAGISCHE MILCHSTRASSEN-GALAXIEN (MILKY WAY GALAXY PNG)
   2 vergrößerte, rotierende Galaxien tief im Kosmos HINTER dem Nebel
   ============================================================ */
.galaxy-item {
    position: absolute;
    pointer-events: none;
}

/* Große Hauptgalaxie: Majestätisch oben links/mittig im tiefen Firmament (vergrößert) */
.galaxy-item.galaxy-major {
    left: 4%;
    top: 5px;
    width: clamp(380px, 36vw, 560px);
    aspect-ratio: 1 / 1;
}

/* Kleinere Begleitgalaxie: Tiefer im Kosmos rechts versetzt (vergrößert) */
.galaxy-item.galaxy-minor {
    right: 7%;
    top: 130px;
    width: clamp(230px, 23vw, 350px);
    aspect-ratio: 1 / 1;
}

/* Bild der Galaxie: Feine Transparenz, reiche Farben, sanftes Glühen */
.galaxy-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    will-change: transform;
    display: block;
    border-radius: 50%;
}

.galaxy-major .galaxy-image {
    opacity: 0.96;
    filter: drop-shadow(0 0 35px rgba(138, 43, 226, 0.6)) drop-shadow(0 0 70px rgba(65, 105, 225, 0.45));
}

.galaxy-minor .galaxy-image {
    opacity: 0.85;
    filter: drop-shadow(0 0 25px rgba(147, 51, 234, 0.55)) drop-shadow(0 0 50px rgba(65, 105, 225, 0.38));
}

/* Eigenständige kontinuierliche Drehung der Spiralarme */
.rotator-cw {
    animation: galaxyRotateCW 115s linear infinite;
    transform-origin: 50% 50%;
}

.rotator-ccw {
    animation: galaxyRotateCCW 155s linear infinite;
    transform-origin: 50% 50%;
}

@keyframes galaxyRotateCW {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes galaxyRotateCCW {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* ============================================================
   STERNSCHNUPPEN (SHOOTING STARS / METEORS)
   Liegen VOR dem Nebel und den Sternen (z-index: 6) für maximale Leuchtkraft & Brillanz
   ============================================================ */
.shooting-stars-layer {
    position: absolute;
    top: 0;
    left: calc((100% - 100vw) / 2);
    width: 100vw;
    height: 600px;
    pointer-events: none;
    z-index: 6;
    /* Liegt deutlich vor dem Nebel (z-index: 2) und Hintergrund */
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    height: 3.5px;
    border-radius: 999px;
    background: linear-gradient(to left,
            #ffffff 0%,
            rgba(255, 255, 255, 1) 15%,
            rgba(215, 238, 255, 0.98) 35%,
            rgba(130, 195, 255, 0.9) 60%,
            rgba(186, 85, 211, 0.75) 80%,
            transparent 100%);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 18px rgba(186, 85, 211, 0.95)) drop-shadow(0 0 28px rgba(65, 105, 225, 0.8));
    pointer-events: none;
    opacity: 0;
    transform-origin: right center;
    will-change: transform, opacity;
}

/* Leuchtender Kometenkopf an der Spitze */
.shooting-star::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        0 0 10px 4px #ffffff,
        0 0 20px 8px rgba(220, 240, 255, 1),
        0 0 32px 12px rgba(186, 85, 211, 0.95),
        0 0 48px 18px rgba(65, 105, 225, 0.85);
}

/* ============================================================
   SCHWEBENDE KERZEN (GROSSE HALLE) - BRENNEND MIT WACHSTROPFEN
   Formiert in magischen Bändern & Schwärmen
   - Kein Schimmer um das Wachs (sauber & natürlich)
   - Nur die Flamme flackert dezent und individuell asynchron
   ============================================================ */
.candles-container {
    position: absolute;
    top: 0;
    left: calc((100% - 100vw) / 2);
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 20;
    /* Liegt gut sichtbar vor den Flanken, ohne Klicks zu blockieren */
    overflow: visible;
}

.candle {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    animation: floatCandle var(--float-dur, 5.5s) ease-in-out infinite alternate;
    /* Bewusst kein Drop-Shadow oder Schimmer auf dem Wachs */
    filter: none;
}

/* Wachskörper mit Wachstropfen (ruhig & sauber, kein Schimmer) */
.candle-wax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stage/candle_wax.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    pointer-events: none;
}

/* Flamme: Flackert dezent, organisch und individuell */
.candle-flame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stage/candle_flame.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    pointer-events: none;
    transform-origin: 48% 36.5%;
    will-change: transform, opacity, filter;
    /* Sanfter, feiner Schein ausschließlich um die Flamme */
    filter: drop-shadow(0 0 4px rgba(255, 180, 20, 0.6));
    animation: flameFlicker var(--flame-dur, 1.4s) ease-in-out infinite alternate;
    animation-delay: var(--flame-delay, 0s);
}

@keyframes floatCandle {
    0% {
        transform: translateY(0px) rotate(var(--rot-start, -1.2deg));
    }

    50% {
        transform: translateY(-16px) rotate(var(--rot-mid, 1.2deg));
    }

    100% {
        transform: translateY(-5px) rotate(var(--rot-end, -0.6deg));
    }
}

/* Dezentes, natürliches Flackern: weiches Atmen & sanfter Windhauch */
@keyframes flameFlicker {
    0% {
        transform: scale(0.98, 0.97) rotate(var(--flame-rot-1, -0.8deg));
        opacity: 0.92;
        filter: drop-shadow(0 0 3px rgba(255, 170, 0, 0.45));
    }

    40% {
        transform: scale(1.02, 1.03) rotate(var(--flame-rot-2, 0.6deg));
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(255, 190, 30, 0.7));
    }

    75% {
        transform: scale(0.99, 1.01) rotate(var(--flame-rot-3, -0.4deg));
        opacity: 0.94;
    }

    100% {
        transform: scale(1.03, 1.02) rotate(var(--flame-rot-4, 0.9deg));
        opacity: 0.98;
        filter: drop-shadow(0 0 4px rgba(255, 180, 20, 0.55));
    }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.hogwarts-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 18, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border-gold);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    text-shadow: 0 0 12px rgba(211, 166, 37, 0.6);
    transition: transform 0.25s ease;
}

.brand:hover {
    transform: scale(1.03);
}

.brand-crest {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(211, 166, 37, 0.8));
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: #c9c7c2;
    text-decoration: none;
    font-family: var(--font-sub);
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
    background: rgba(211, 166, 37, 0.12);
    border-color: var(--border-gold);
    box-shadow: 0 0 15px rgba(211, 166, 37, 0.25);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audio-btn {
    background: rgba(25, 28, 42, 0.8);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 0.45rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background: rgba(211, 166, 37, 0.2);
    color: #fff;
    box-shadow: 0 0 10px rgba(211, 166, 37, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ============================================================
   CONTENT WRAPPER & SECTIONS
   ============================================================ */
.main-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

.section {
    margin-bottom: 5rem;
    scroll-margin-top: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(211, 166, 37, 0.6));
}

.section-title {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 2.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(211, 166, 37, 0.4);
}

.section-subtitle {
    color: #a8a59d;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0.5rem auto 0;
}

.gold-divider {
    width: 140px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 1rem auto 0;
}

/* ============================================================
   HERO / WILLKOMMEN
   ============================================================ */
.hero-banner {
    background: linear-gradient(135deg, rgba(20, 24, 40, 0.9) 0%, rgba(12, 14, 24, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(211, 166, 37, 0.08);
    overflow: hidden;
    margin-bottom: 3.5rem;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-badge {
    display: inline-block;
    background: rgba(211, 166, 37, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-family: var(--font-sub);
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 0.35rem 1.25rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(211, 166, 37, 0.5), 0 2px 4px #000;
}

.hero-title span {
    color: var(--gold);
    display: block;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 780px;
    margin: 0 auto 2rem;
    color: #d1cfc7;
}

.hero-countdown-box {
    background: rgba(10, 12, 20, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1.25rem 2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

.countdown-label {
    font-family: var(--font-sub);
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
}

.countdown-timers {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    min-width: 3.8rem;
    text-align: center;
}

.timer-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(211, 166, 37, 0.5);
    display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.timer-unit {
    font-size: 0.75rem;
    color: #8c8980;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    width: 100%;
    text-align: center;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font-sub);
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: none;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #aa8014 100%);
    color: #111;
    box-shadow: 0 4px 15px rgba(211, 166, 37, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fbe082 0%, var(--gold) 100%);
    box-shadow: 0 6px 25px rgba(211, 166, 37, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(25, 29, 45, 0.9);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
}

.btn-secondary:hover {
    background: rgba(211, 166, 37, 0.15);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   HÄUSERWAHL / DER SPRECHENDE HUT
   ============================================================ */
.quiz-container-layout {
    position: relative;
    width: 100%;
}

/* Banner flankieren den Quiz-Container links und rechts auf fester, stabiler Höhe */
.quiz-house-banner {
    position: absolute;
    top: 35px;
    /* Bleibt bei Quiz-Fragen UND bei Abschluss auf derselben festen Höhe */
    width: clamp(110px, 11vw, 175px);
    aspect-ratio: 1 / 2;
    z-index: 22;
    pointer-events: none;
    perspective: 1200px;
    animation: bannerGentleFloat 5.2s ease-in-out infinite alternate;
}

.quiz-house-banner.banner-left {
    right: calc(100% + 24px);
    left: auto;
}

.quiz-house-banner.banner-right {
    left: calc(100% + 24px);
    right: auto;
    animation-delay: -2.6s;
}

/* 3D-Bühne für die magische Metamorphose - weich auslaufend ohne Kanten */
.banner-inner-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform, filter;
    transition: filter 0.8s ease;
}

.quiz-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform-origin: center top;
}

/* Ätherische, stark weichgezeichnete Lichtkugel - gleitet gleichmäßig & sanft von oben nach unten */
.banner-magic-sheen {
    position: absolute;
    left: 50%;
    width: clamp(90px, 9vw, 130px);
    height: clamp(90px, 9vw, 130px);
    border-radius: 50%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 235, 140, 0.85) 30%,
            rgba(211, 166, 37, 0.45) 55%,
            transparent 75%);
    filter: blur(16px);
    /* Vollkommen weiche, diffuse Ränder - absolut keine eckigen Kanten */
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
}

/* Partikel-Container für weich schwebende Zauberfunken */
.banner-sparks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 25;
}

.banner-spark {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.6px);
    box-shadow: 0 0 12px currentColor, 0 0 22px currentColor;
    animation: sparkSoftFloat 1.4s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes sparkSoftFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }

    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.25), calc(var(--ty) * 0.25)) scale(1.1);
    }

    65% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.2);
    }
}

/* Magisches Glühen passend zum zugewiesenen Haus */
.quiz-house-banner.banner-schloss .banner-inner-wrap {
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 18px rgba(211, 166, 37, 0.5));
}

.quiz-house-banner.banner-gryffindor .banner-inner-wrap {
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(234, 56, 76, 0.85)) drop-shadow(0 0 50px rgba(255, 197, 66, 0.5));
}

.quiz-house-banner.banner-slytherin .banner-inner-wrap {
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(46, 204, 113, 0.85)) drop-shadow(0 0 50px rgba(26, 188, 156, 0.5));
}

.quiz-house-banner.banner-ravenclaw .banner-inner-wrap {
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(52, 152, 219, 0.85)) drop-shadow(0 0 50px rgba(41, 128, 185, 0.55));
}

.quiz-house-banner.banner-hufflepuff .banner-inner-wrap {
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(243, 156, 18, 0.85)) drop-shadow(0 0 50px rgba(230, 126, 34, 0.55));
}

/* ================= WEICHE MAGISCHE METAMORPHOSE (GLEICHMÄSSIG, SCHARF & OHNE KANTEN) ================= */
.quiz-house-banner.is-morphing {
    animation: none !important;
    /* Float pausieren während Metamorphose */
}

.quiz-house-banner.is-morphing .banner-inner-wrap {
    animation: bannerSoftPulse 1.5s cubic-bezier(0.35, 0, 0.25, 1) forwards;
}

.quiz-house-banner.is-morphing .quiz-banner-img {
    animation: bannerImageSharpTransition 1.5s cubic-bezier(0.35, 0, 0.25, 1) forwards;
}

.quiz-house-banner.is-morphing .banner-magic-sheen {
    animation: bannerConstantSheenCascade 1.5s cubic-bezier(0.35, 0, 0.25, 1) forwards;
}

@keyframes bannerSoftPulse {
    0% {
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 16px rgba(211, 166, 37, 0.45));
    }

    50% {
        transform: scale(1.035) translateY(-5px);
        filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 45px rgba(255, 230, 130, 0.9));
    }

    100% {
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px currentColor);
    }
}

/* Gestochen scharfer Übergang - 100% kristallklar ohne Unschärfe auf dem Banner */
@keyframes bannerImageSharpTransition {
    0% {
        opacity: 1;
    }

    45% {
        opacity: 0.12;
    }

    50% {
        opacity: 0;
    }

    55% {
        opacity: 0.12;
    }

    100% {
        opacity: 1;
    }
}

/* Vollkommen gleichmäßige, stetige Abwärtsbewegung der weich geblurrten Lichtkugel */
@keyframes bannerConstantSheenCascade {
    0% {
        top: -8%;
        opacity: 0;
        transform: translateX(-50%) scale(0.7);
    }

    14% {
        opacity: 0.95;
        transform: translateX(-50%) scale(1);
    }

    50% {
        top: 36%;
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }

    85% {
        opacity: 0.95;
        transform: translateX(-50%) scale(1);
    }

    100% {
        top: 80%;
        opacity: 0;
        transform: translateX(-50%) scale(0.7);
    }
}

@keyframes bannerGentleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(-0.8deg);
    }

    100% {
        transform: translateY(2px) rotate(0.8deg);
    }
}

/* Responsives Verhalten für schmalere Bildschirme */
@media (max-width: 1400px) {
    .quiz-house-banner.banner-left {
        right: calc(100% + 14px);
        width: clamp(90px, 9vw, 130px);
    }

    .quiz-house-banner.banner-right {
        left: calc(100% + 14px);
        width: clamp(90px, 9vw, 130px);
    }
}

@media (max-width: 1200px) {
    .quiz-house-banner.banner-left {
        right: auto;
        left: -80px;
        width: 78px;
    }

    .quiz-house-banner.banner-right {
        left: auto;
        right: -80px;
        width: 78px;
    }
}

@media (max-width: 950px) {
    .quiz-house-banner {
        top: -30px;
        width: 58px;
        animation: none;
    }

    .quiz-house-banner.banner-left {
        left: 12px;
        right: auto;
    }

    .quiz-house-banner.banner-right {
        right: 12px;
        left: auto;
    }
}

@media (max-width: 600px) {
    .quiz-house-banner {
        display: none;
    }
}

.quiz-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* Quiz Start Screen */
.quiz-start-screen {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.hat-icon-large {
    font-size: 5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    filter: drop-shadow(0 0 22px rgba(211, 166, 37, 0.7)) drop-shadow(0 8px 25px rgba(0, 0, 0, 0.7));
    transform-origin: 50% 85%;
    will-change: transform;
    animation: sortingHatAlive 5s ease-in-out infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes sortingHatAlive {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1, 1);
    }

    20% {
        transform: translate3d(-3px, -8px, 0) rotate(-4.5deg) scale(0.98, 1.03);
    }

    40% {
        transform: translate3d(1px, -3px, 0) rotate(-1deg) scale(1.01, 0.99);
    }

    60% {
        transform: translate3d(4px, -9px, 0) rotate(5deg) scale(0.97, 1.03);
    }

    80% {
        transform: translate3d(-1px, -4px, 0) rotate(1.5deg) scale(1.01, 0.99);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1, 1);
    }
}

.quiz-intro-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cfcbbd;
}

.name-input-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.name-input-group label {
    font-family: var(--font-sub);
    color: var(--gold);
    font-size: 1rem;
}

.magic-input {
    background: rgba(10, 12, 20, 0.85);
    border: 1px solid var(--border-gold);
    color: #fff;
    font-family: var(--font-sub);
    font-size: 1.15rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    outline: none;
    transition: all 0.3s;
}

.magic-input:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 15px rgba(211, 166, 37, 0.4);
}

/* Quiz Active Screen */
.quiz-active-screen {
    display: none;
}

.quiz-progress-bar-wrap {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    height: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(211, 166, 37, 0.3);
}

.quiz-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #740001, var(--gold));
    transition: width 0.4s ease;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-sub);
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.quiz-question-box {
    text-align: center;
    margin-bottom: 2.5rem;
}

.quiz-question-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: #fff;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.quiz-option-btn {
    background: rgba(25, 29, 44, 0.85);
    border: 1px solid rgba(211, 166, 37, 0.25);
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    color: #e5e3dc;
    font-family: var(--font-body);
    font-size: 1.15rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.quiz-option-btn:hover {
    background: rgba(45, 52, 78, 0.9);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 166, 37, 0.25);
    color: #fff;
}

.option-badge {
    background: rgba(211, 166, 37, 0.2);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sub);
    font-weight: 700;
    flex-shrink: 0;
}

/* Quiz Thinking Overlay - Stabile Mindesthöhe verhindert jedes Springen */
.quiz-thinking-screen {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
    min-height: 340px;
    /* Feste Mindesthöhe für den gesamten Denkschirm */
    box-sizing: border-box;
}

.hat-thinking-anim {
    font-size: 5rem;
    display: inline-block;
    animation: thinkingWobble 1.2s infinite ease-in-out;
}

@keyframes thinkingWobble {
    0% {
        transform: rotate(-5deg) scale(1);
    }

    50% {
        transform: rotate(5deg) scale(1.08);
    }

    100% {
        transform: rotate(-5deg) scale(1);
    }
}

.thinking-text {
    font-family: var(--font-sub);
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-top: 1.5rem;
    font-style: italic;
    min-height: 5.8rem;
    /* Feste Mindesthöhe für bis zu 3 Zeilen Text verhindert Layout-Springen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.45;
    padding: 0 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Quiz Result Screen */
.quiz-result-screen {
    display: none;
    text-align: center;
}

.result-card {
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    margin-bottom: 2rem;
    border: 2px solid;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.result-card.gryffindor {
    background: radial-gradient(circle at center, rgba(116, 0, 1, 0.45) 0%, rgba(15, 8, 12, 0.95) 100%);
    border-color: var(--gryffindor-gold);
}

.result-card.slytherin {
    background: radial-gradient(circle at center, rgba(26, 71, 42, 0.45) 0%, rgba(8, 15, 11, 0.95) 100%);
    border-color: #38a169;
}

.result-card.ravenclaw {
    background: radial-gradient(circle at center, rgba(14, 26, 64, 0.55) 0%, rgba(8, 10, 20, 0.95) 100%);
    border-color: #4299e1;
}

.result-card.hufflepuff {
    background: radial-gradient(circle at center, rgba(236, 185, 57, 0.35) 0%, rgba(18, 16, 8, 0.95) 100%);
    border-color: var(--hufflepuff-yellow);
}

.result-crest {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
    animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.result-house-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.result-motto {
    font-family: var(--font-sub);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.result-desc {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: #e5e2da;
}

/* Percentage Bars */
.house-breakdown {
    background: rgba(10, 12, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.breakdown-title {
    font-family: var(--font-sub);
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.breakdown-row {
    margin-bottom: 0.75rem;
}

.breakdown-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #d1cfc7;
}

.breakdown-track {
    background: rgba(255, 255, 255, 0.08);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}

.fill-gryffindor {
    background: #b71c1c;
}

.fill-slytherin {
    background: #2e7d32;
}

.fill-ravenclaw {
    background: #1565c0;
}

.fill-hufflepuff {
    background: #fbc02d;
}

/* Urkunde Vorschau & Druck */
.certificate-preview {
    background: #fdfbf7;
    color: #2b2319;
    padding: 12px;
    border: 4px solid #8c6d13;
    border-radius: 4px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    max-width: 650px;
    margin: 0 auto 2rem;
    position: relative;
    text-align: center;
    box-sizing: border-box;
}

.cert-inner-frame {
    border: 2px solid #d3a625;
    padding: 2.2rem 1.8rem;
    background: #fdfbf7;
    box-sizing: border-box;
}

.certificate-preview .cert-crest {
    width: 62px;
    height: 62px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    border: 2px solid #d3a625;
    background: #0e1a40;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
}

.cert-head {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: #3d2f1f;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.cert-subtitle {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #8c6d13;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cert-proclamation {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    color: #3b2e1e;
    margin-bottom: 0.6rem;
}

.cert-name {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    color: #0e1a40;
    margin: 0.5rem 0 1.2rem;
    text-decoration: underline;
    text-decoration-color: #d3a625;
    text-underline-offset: 6px;
}

.cert-reason {
    font-family: var(--font-body);
    font-size: 1.22rem;
    line-height: 1.7;
    color: #3b2e1e;
}

.cert-house-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: #0e1a40;
    margin: 0.8rem 0 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cert-blessing {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    color: #5a4732;
    margin-bottom: 2rem;
}

.cert-seal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #c9b998;
    padding-top: 1.2rem;
    font-family: var(--font-sub);
    font-size: 0.88rem;
    color: #6a5740;
}

.certificate-preview .wax-seal {
    width: 42px;
    height: 42px;
    background: #0a1330;
    border-radius: 50%;
    border: 2px solid #5a0000;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   TERMINE / WATCH-PARTY
   ============================================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.event-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--gold-light);
    box-shadow: 0 12px 30px rgba(211, 166, 37, 0.2);
}

.event-card.featured {
    border: 2px solid var(--gold);
    box-shadow: 0 0 25px rgba(211, 166, 37, 0.3);
}

.event-featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, #aa8014 100%);
    color: #111;
    font-family: var(--font-sub);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-date-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    color: var(--gold-light);
    font-family: var(--font-sub);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.35;
    letter-spacing: 0.8px;
    word-break: break-word;
}

.event-details-list {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #cfcbbe;
    line-height: 1.5;
}

.event-details-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.event-details-list li strong {
    color: var(--gold);
    font-family: var(--font-sub);
    min-width: 80px;
}

.event-attendees {
    background: rgba(10, 12, 20, 0.6);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    color: #bbb8b0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.event-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Watch-Termine Pagination: Standardmäßig auf Desktop ausgeblendet, im mobilen Hochformat aktiv */
.events-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding: 0.5rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-reset-cache {
    background: transparent;
    border: 1px dashed rgba(211, 166, 37, 0.4);
    color: #aaa;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
    transition: all 0.2s;
}

.btn-reset-cache:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(211, 166, 37, 0.1);
}

/* ============================================================
   PARTY-GALERIE
   ============================================================ */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--gold-light);
    box-shadow: 0 10px 25px rgba(211, 166, 37, 0.35);
}

.gallery-thumb-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.08);
}

/* Galerie Pagination */
.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 0.5rem;
    flex-wrap: wrap;
}

.gallery-page-btn {
    padding: 0.65rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: rgba(18, 22, 36, 0.9);
    color: var(--gold-light);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-page-btn:hover:not(:disabled) {
    background: rgba(211, 166, 37, 0.22);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 20px rgba(211, 166, 37, 0.45);
    transform: translateY(-2px);
}

.gallery-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(211, 166, 37, 0.2);
    transform: none;
    box-shadow: none;
}

.gallery-page-indicator {
    font-family: var(--font-sub);
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 1px;
    min-width: 130px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.gallery-meta {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.gallery-caption {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #e5e2da;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

/* Upload Dropzone */
.upload-box {
    background: rgba(18, 22, 36, 0.75);
    border: 2px dashed var(--border-gold);
    border-radius: 14px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: var(--gold-light);
    background: rgba(30, 36, 58, 0.9);
    box-shadow: 0 0 20px rgba(211, 166, 37, 0.25);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox-content {
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--border-gold);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
    color: #f1ede3;
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.2rem;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: var(--gold-light);
    background: rgba(10, 12, 20, 0.7);
    border: 1px solid var(--border-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-nav:hover {
    background: var(--gold);
    color: #111;
}

/* ============================================================
   HAUSPOKAL / PUNKTE
   ============================================================ */
.house-cup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.cup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 1.75rem 1rem;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.cup-card:hover {
    transform: translateY(-4px);
}

.cup-card.gryffindor-card {
    border-top: 4px solid #b71c1c;
}

.cup-card.slytherin-card {
    border-top: 4px solid #2e7d32;
}

.cup-card.ravenclaw-card {
    border-top: 4px solid #1565c0;
}

.cup-card.hufflepuff-card {
    border-top: 4px solid #fbc02d;
}

.cup-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.cup-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-top: 0.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cup-controls {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.btn-point {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-gold);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-point:hover {
    background: var(--gold);
    color: #111;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-sub);
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    background: rgba(10, 12, 20, 0.85);
    border: 1px solid var(--border-gold);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    outline: none;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(211, 166, 37, 0.4);
}

/* Footer */
.hogwarts-footer {
    border-top: 2px solid var(--border-gold);
    background: #06070a;
    padding: 3rem 1.5rem;
    text-align: center;
    color: #8c8980;
    font-size: 0.95rem;
}

.footer-quote {
    font-family: var(--font-sub);
    font-style: italic;
    color: var(--gold-light);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 900px) {
    .house-cup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz-options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 12, 20, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 2px solid var(--border-gold);
    }

    .nav-links.open {
        display: flex;
    }

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

    .hero-title {
        font-size: 2.2rem;
    }

    .countdown-timers {
        gap: 0.85rem;
    }

    .timer-item {
        width: 3rem;
        min-width: 3rem;
    }

    .timer-val {
        font-size: 1.6rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* ============================================================
   WATCHPARTY QUIZ MODAL STYLES
   ============================================================ */
.house-pick-btn {
    background: rgba(25, 29, 44, 0.8);
    border: 1px solid var(--border-gold);
    color: #e0d8c8;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
}

.house-pick-btn:hover,
.house-pick-btn.active {
    background: var(--gold);
    color: #111;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(211, 166, 37, 0.5);
    border-color: var(--gold);
}

.watch-quiz-opt-btn {
    background: rgba(25, 30, 48, 0.85);
    border: 1px solid rgba(211, 166, 37, 0.35);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #eee;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.watch-quiz-opt-btn:hover:not(:disabled) {
    background: rgba(45, 54, 85, 0.95);
    border-color: var(--gold);
    transform: translateX(4px);
    color: #fff;
}


/* ============================================================
   HERALDISCHE WAPPEN & VEKTOR-GRAPHIKEN (STATT EMOJIS)
   ============================================================ */
.house-shield-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 90px;
    border-radius: 8px 8px 30px 30px;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(211, 166, 37, 0.2);
    user-select: none;
    border: 2px solid var(--gold-border);
}

.badge-gryffindor {
    color: #ffd700;
    border-color: #d3a625;
    background: radial-gradient(circle, #740001 0%, #300000 100%);
    box-shadow: 0 0 20px rgba(116, 0, 1, 0.6);
}

.badge-slytherin {
    color: #f0f0f0;
    border-color: #5d8aa8;
    background: radial-gradient(circle, #1a472a 0%, #081d11 100%);
    box-shadow: 0 0 20px rgba(26, 71, 42, 0.6);
}

.badge-ravenclaw {
    color: #cd7f32;
    border-color: #cd7f32;
    background: radial-gradient(circle, #0e1a40 0%, #060b1c 100%);
    box-shadow: 0 0 20px rgba(14, 26, 64, 0.6);
}

.badge-hufflepuff {
    color: #111111;
    border-color: #ecb939;
    background: radial-gradient(circle, #ecb939 0%, #a67c1e 100%);
    box-shadow: 0 0 20px rgba(236, 185, 57, 0.6);
}

.magic-hat-svg {
    filter: drop-shadow(0 0 15px rgba(211, 166, 37, 0.5));
    transition: filter 0.3s ease;
    display: block;
}

.magic-hat-svg:hover {
    filter: drop-shadow(0 0 26px rgba(255, 215, 0, 0.95)) drop-shadow(0 0 8px #ffffff);
}

.thinking-spin {
    transform-origin: 50% 85%;
    will-change: transform;
    animation: gentleWiggle 2s infinite ease-in-out;
}

@keyframes gentleWiggle {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-5deg);
    }

    50% {
        transform: translate3d(0, -6px, 0) rotate(5deg);
    }
}


/* ============================================================
   GOTISCHE HOGWARTS STUNDENGLÄSER (HAUSPOKAL)
   Authentische Glaskolben mit Messing-Fassung & randvoller Edelsteinfüllung
   ============================================================ */
.house-cup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .house-cup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .house-cup-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

.cup-card {
    background: radial-gradient(circle at 50% 15%, rgba(26, 30, 45, 0.96) 0%, rgba(10, 12, 18, 0.98) 100%);
    border: 2px solid var(--border-gold);
    border-radius: 16px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 25px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cup-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(211, 166, 37, 0.3);
}

.cup-card.gryffindor-card {
    border-top: 4px solid #b71c1c;
}

.cup-card.slytherin-card {
    border-top: 4px solid #2e7d32;
}

.cup-card.ravenclaw-card {
    border-top: 4px solid #1565c0;
}

.cup-card.hufflepuff-card {
    border-top: 4px solid #fbc02d;
}

.cup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.2rem;
}

.cup-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-top: 0.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- DAS STUNDENGLAS GEHÄUSE --- */
.gothic-hourglass {
    width: 110px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.9));
}

/* Obere & Untere Messing-Fassungen */
.hourglass-cap {
    width: 100%;
    position: relative;
    z-index: 6;
}

.top-cap {
    height: 22px;
    background: linear-gradient(180deg, #ffe082 0%, #d4af37 35%, #8c6d1f 75%, #423006 100%);
    border-radius: 8px 8px 2px 2px;
    border: 1px solid #ffd700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), inset 0 1px 2px #fff;
    position: relative;
}

/* Messing-Giebelspitze */
.cap-crest-finial {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 9px;
    background: linear-gradient(180deg, #fff0a0 0%, #d4af37 60%, #5c4308 100%);
    border-radius: 6px 6px 0 0;
    border-top: 1px solid #ffe082;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

.bottom-cap {
    height: 24px;
    background: linear-gradient(180deg, #423006 0%, #8c6d1f 25%, #d4af37 65%, #ffe082 100%);
    border-radius: 2px 2px 10px 10px;
    border: 1px solid #ffd700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.85), inset 0 -1px 2px #fff;
    position: relative;
}

.cap-base-pedestal {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 122px;
    height: 8px;
    background: linear-gradient(180deg, #8c6d1f 0%, #423006 70%, #1a1200 100%);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

/* Hauptkörper: Glas und Seitensäulen */
.hourglass-body {
    display: flex;
    width: 100%;
    height: 215px;
    position: relative;
}

.brass-column {
    width: 8px;
    height: 100%;
    background: linear-gradient(90deg, #3d2b04 0%, #d4af37 40%, #fff0a0 60%, #8a6c1e 90%, #3d2b04 100%);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
    z-index: 5;
    position: relative;
}

.brass-column::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2px;
    width: 2px;
    background: rgba(255, 255, 255, 0.4);
}

/* Glaskolben */
.glass-chamber {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow:
        inset 10px 0 16px rgba(0, 0, 0, 0.75),
        inset -10px 0 16px rgba(0, 0, 0, 0.75),
        inset 0 12px 14px rgba(0, 0, 0, 0.85),
        inset 0 -12px 14px rgba(0, 0, 0, 0.85);
}

/* Dichte, randlose Edelsteinfüllung (kein Platz dazwischen, dynamische Höhe nach Punkten) */
.gems-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    min-height: 12px;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    pointer-events: none;
    transition: height 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
    overflow: hidden;
}

/* Oberer Kristall-Lichtrand der Edelsteinsäule */
.gems-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 45%, transparent 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
    z-index: 3;
}

.gems-gryffindor {
    background-image: url('../images/stage/gems_gryffindor.png');
    box-shadow: inset 0 0 20px rgba(185, 15, 30, 0.6);
}

.gems-slytherin {
    background-image: url('../images/stage/gems_slytherin.png');
    box-shadow: inset 0 0 20px rgba(0, 195, 85, 0.6);
}

.gems-ravenclaw {
    background-image: url('../images/stage/gems_ravenclaw.png');
    box-shadow: inset 0 0 20px rgba(20, 100, 230, 0.6);
}

.gems-hufflepuff {
    background-image: url('../images/stage/gems_hufflepuff.png');
    box-shadow: inset 0 0 20px rgba(245, 175, 10, 0.6);
}

/* ============================================================
   MAGISCHER LICHTSTRAHL (WUSCH-EFFEKT VON LINKS NACH RECHTS)
   ============================================================ */
.gem-light-beam {
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 60px;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 15%,
            rgba(255, 255, 255, 0.6) 44%,
            rgba(255, 255, 255, 1.0) 50%,
            rgba(255, 255, 255, 0.6) 56%,
            rgba(255, 255, 255, 0.04) 85%,
            transparent 100%);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 35px rgba(255, 240, 200, 0.5);
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateX(-160%) skewX(-20deg);
    will-change: transform, opacity;
}

/* Gesteuerter Lichtdurchlauf: Startet IMMER sequentiell bei Gryffindor -> Slytherin -> Ravenclaw -> Hufflepuff */
.gem-light-beam.beam-active,
.gem-light-beam.beam-flash {
    animation: singleBeamSweep 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes singleBeamSweep {
    0% {
        transform: translateX(-160%) skewX(-20deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    25% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translateX(230%) skewX(-20deg);
        opacity: 0;
    }
}

/* Wölbung & Reflexion des zylindrischen Glases */
.glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(255, 255, 255, 0.12) 12%,
            transparent 25%,
            transparent 72%,
            rgba(255, 255, 255, 0.15) 88%,
            rgba(0, 0, 0, 0.55) 100%);
}

/* Goldene Mess-Skala an der Seite */
.glass-scale {
    position: absolute;
    top: 0;
    right: 4px;
    bottom: 0;
    width: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 0;
    pointer-events: none;
    z-index: 5;
}

.scale-mark {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 235, 160, 0.75);
    text-shadow: 0 0 4px #000, 1px 1px 2px #000;
    text-align: right;
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    line-height: 1.2;
    padding-right: 2px;
}

/* Punkte-Plakette */
.cup-score-plaque {
    margin-top: 1.2rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.cup-points {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    text-shadow: 0 0 12px rgba(211, 166, 37, 0.5);
}

.cup-points-label {
    font-family: var(--font-sub);
    font-size: 0.8rem;
    color: #a8a59d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Edelstein-Badge */
.cup-gem-badge {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    margin-top: 0.65rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.45);
}

.gem-ruby {
    color: #ff5252;
    border-color: rgba(255, 82, 82, 0.4);
}

.gem-emerald {
    color: #69f0ae;
    border-color: rgba(105, 240, 174, 0.4);
}

.gem-sapphire {
    color: #82b1ff;
    border-color: rgba(130, 177, 255, 0.4);
}

.gem-topaz {
    color: #ffd600;
    border-color: rgba(255, 214, 0, 0.4);
}

/* ============================================================
   BUCH DER ZULASSUNG (TEASER & MODALS)
   ============================================================ */
.admission-teaser-card {
    position: relative;
    background: linear-gradient(135deg, rgba(28, 20, 12, 0.85) 0%, rgba(18, 12, 6, 0.95) 100%);
    border: 2px solid var(--gold-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(211, 166, 37, 0.1);
    overflow: hidden;
    padding: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.admission-card-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(211, 166, 37, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.admission-card-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .admission-card-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Magische Feder der Akzeptanz (Quill Schreib-Animation) */
.ancient-book-emblem {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold-border);
    border-radius: 50%;
    padding: 1.5rem;
    box-shadow: 0 0 25px rgba(211, 166, 37, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.ancient-book-svg {
    overflow: visible;
}

.quill-pen {
    transform-origin: 67px 78px;
    transform-box: view-box;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.quill-sparkle {
    transform-origin: 67px 78px;
    transform-box: view-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.book-script-lines {
    transition: stroke 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

/* Hover-Trigger: Wenn die Maus über den Container 'Das Buch der Zulassung' fährt */
.admission-teaser-card:hover .ancient-book-emblem {
    border-color: var(--gold-light);
    box-shadow: 0 0 35px rgba(211, 166, 37, 0.55), inset 0 0 15px rgba(211, 166, 37, 0.2);
    transform: scale(1.05);
}

.admission-teaser-card:hover .quill-pen {
    animation: quillWritingMotion 1.1s infinite ease-in-out;
    filter: drop-shadow(0 0 7px rgba(211, 166, 37, 0.9)) drop-shadow(0 0 12px rgba(255, 235, 130, 0.5));
}

.admission-teaser-card:hover .quill-sparkle {
    opacity: 1;
    animation: quillNibSparkle 0.7s infinite alternate ease-in-out;
}

.admission-teaser-card:hover .book-script-lines {
    stroke: #ffd700;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
    animation: scriptLineGlow 1.4s infinite alternate ease-in-out;
}

@keyframes quillWritingMotion {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    18% {
        transform: translate(-3.5px, -1.5px) rotate(-8deg);
    }

    35% {
        transform: translate(1px, 2px) rotate(7deg);
    }

    52% {
        transform: translate(-5px, 0.5px) rotate(-11deg);
    }

    70% {
        transform: translate(2.5px, -1px) rotate(8deg);
    }

    85% {
        transform: translate(-2px, 2px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes quillNibSparkle {
    0% {
        transform: scale(0.6);
        opacity: 0.4;
        filter: drop-shadow(0 0 2px #d3a625);
    }

    100% {
        transform: scale(1.8);
        opacity: 1;
        filter: drop-shadow(0 0 8px #ffe066) drop-shadow(0 0 14px #d3a625);
    }
}

@keyframes scriptLineGlow {
    0% {
        opacity: 0.65;
        stroke: #d3a625;
    }

    100% {
        opacity: 1;
        stroke: #ffe066;
        filter: drop-shadow(0 0 6px rgba(255, 224, 102, 0.9));
    }
}

.admission-kicker {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.admission-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.admission-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #dfd8c8;
    margin-bottom: 1.75rem;
}

.admission-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-subtle-host {
    background: transparent;
    border: 1px dashed rgba(211, 166, 37, 0.4);
    color: #bbb;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subtle-host:hover {
    color: var(--text-gold);
    border-color: var(--accent-gold);
    background: rgba(211, 166, 37, 0.08);
}

/* Modals Overlay */
.admission-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admission-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.admission-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 10, 0.88);
    backdrop-filter: blur(8px);
}

.admission-modal-dialog {
    position: relative;
    background: #14110d;
    border: 2px solid var(--gold-border);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(211, 166, 37, 0.2);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    z-index: 2;
    background-image: radial-gradient(circle at 50% 0%, rgba(211, 166, 37, 0.1) 0%, transparent 60%);
}

.modal-wide {
    max-width: 900px;
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: 1px solid rgba(211, 166, 37, 0.3);
    color: var(--text-gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(211, 166, 37, 0.2);
    border-color: var(--accent-gold);
    transform: scale(1.08);
}

.admission-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.parchment-seal {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #8a1515 0%, #4a0000 100%);
    border: 2px solid #d3a625;
    border-radius: 50%;
    color: #ffd700;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.75rem;
}

.admission-modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-gold);
    margin-bottom: 0.35rem;
}

.admission-modal-subtitle {
    color: #a89f91;
    font-size: 0.95rem;
    font-style: italic;
}

.admission-lore-note {
    background: rgba(211, 166, 37, 0.08);
    border-left: 3px solid var(--accent-gold);
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    color: #dfd8c8;
    font-size: 0.95rem;
    line-height: 1.6;
    border-radius: 0 8px 8px 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-gold);
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

.magic-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(211, 166, 37, 0.4);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.magic-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(211, 166, 37, 0.4);
    background: rgba(0, 0, 0, 0.7);
}

.magic-select {
    cursor: pointer;
}

.magic-select option {
    background: #1a1612;
    color: #fff;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.form-grid-name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid-street {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Erfolgsbox */
.admission-success-box {
    text-align: center;
    padding: 2rem 1rem;
}

.quill-success-anim {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quill-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(211, 166, 37, 0.4) 0%, transparent 70%);
    animation: pulseGlow 2s infinite ease-in-out;
}

.quill-symbol {
    font-size: 2.5rem;
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(211, 166, 37, 0.8);
    position: relative;
    z-index: 2;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0d8c8;
    margin-bottom: 1.5rem;
}

.success-parchment-hint {
    background: rgba(211, 166, 37, 0.08);
    border: 1px solid rgba(211, 166, 37, 0.3);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    color: #ffd700;
}

/* Gastgeber-Tabelle */
.host-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.count-badge {
    margin-left: auto;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-gold);
    padding: 0.35rem 0.75rem;
    background: rgba(211, 166, 37, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(211, 166, 37, 0.3);
}

.btn-subtle-danger {
    background: transparent;
    border: 1px solid rgba(255, 82, 82, 0.4);
    color: #ff8a80;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-subtle-danger:hover {
    background: rgba(255, 82, 82, 0.15);
    border-color: #ff5252;
}

.table-container {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(211, 166, 37, 0.2);
    border-radius: 8px;
}

.admissions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.admissions-table th {
    background: rgba(211, 166, 37, 0.15);
    color: var(--text-gold);
    font-family: var(--font-heading);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(211, 166, 37, 0.3);
}

.admissions-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #dfd8c8;
}

.admissions-table tr:hover td {
    background: rgba(211, 166, 37, 0.05);
}

.btn-del-row {
    background: transparent;
    border: none;
    color: #ff5252;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
}

.btn-del-row:hover {
    color: #ff1744;
}


/* ============================================================
   VERTIKALE KAMERAFAHRT: DIE GROSSE HALLE BIS ZU DEN KÜCHEN
   Modular gestapelte Schlossflanken links und rechts
   ============================================================ */
body {
    position: relative;
    background: linear-gradient(180deg,
            #060812 0%,
            /* Dach: Sternenhimmel & Verzauberte Decke */
            #0a0c18 12%,
            /* Hammerbeam-Dachschrägen */
            #101320 28%,
            /* Mauern & lodernde Feuerschalen */
            #121524 45%,
            /* Hohe Steinhalle & Pfeiler */
            #14141e 65%,
            /* Übergang zu den Schloss-Gewölben */
            #1b120a 82%,
            /* Kellergewölbe & Hauspokal */
            #140a04 100%
            /* Hogwarts-Küchen & Herdfeuer-Glut */
        );
    background-attachment: scroll;
}

.main-content {
    position: relative;
    z-index: 10;
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 7rem;
}

/* ============================================================
   BÜHNEN-FLANKEN: SEKTIONS-BASIERTES RANDDESIGN
   Gleis 9 3/4 & Große Halle ("umzäuntes" Container-Design)
   ============================================================ */

/* Altes globales Schloss-Overlay deaktivieren, da nun container-basiert */
.castle-vertical-stage {
    display: none !important;
}

/* Hauptbereich: Erweiterte Maximalbreite für flankierende Bühnenränder */
.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 7rem;
}

/* Gestagte Sektion mit grafischen Seitenflanken */
.section-staged {
    position: relative;
    width: 100%;
    margin-bottom: 5.5rem;
}

/* Mittiger Container-Bereich zwischen den beiden Flanken */
.stage-container-center {
    position: relative;
    z-index: 15;
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

/* Generische Flanke (Links & Rechts) */
.section-stage-flank {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(160px, 16vw, 250px);
    pointer-events: none;
    z-index: 3;
    background-repeat: no-repeat;
    background-size: contain;
    will-change: transform;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.section-stage-flank.flank-left {
    left: 0;
    background-position: top left;
}

.section-stage-flank.flank-right {
    right: 0;
    background-position: top right;
}

/* ================= THEMA 1: BÜHNE GLEIS 9 3/4 (HERO) ================= */
#hero.stage-platform {
    margin-bottom: 0;
    /* Mindesthöhe exakt auf die Flankenhöhe bis zur Koordinatenlinie (y=704) abgestimmt */
    min-height: calc(clamp(150px, 15vw, 240px) * 1768 / 454 - 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Platzierung exakt am Rand der Webseite (Viewport-Kante) und bündig an der Navigationsleiste */
.stage-platform .flank-left {
    position: absolute;
    top: -2.5rem;
    bottom: 0;
    left: calc((100% - 100vw) / 2);
    width: clamp(150px, 15vw, 240px);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 20;
    /* Liegt VOR dem Hero-Banner-Container (z-index: 15) */
    will-change: auto;
    overflow: visible;
}

.stage-platform .flank-right {
    position: absolute;
    top: -2.5rem;
    bottom: 0;
    right: calc((100% - 100vw) / 2);
    width: clamp(150px, 15vw, 240px);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 20;
    /* Liegt VOR dem Hero-Banner-Container (z-index: 15) */
    overflow: visible;
}

/* 3-teiliger vertikaler Aufbau: station_beginn_9_3_4 -> wall_loop_neu -> station_end_9_3_4 */
/* Exakt dieselbe Skalierung wie Quidditch-Feld (Basis 454px) */
.stage-composite-flank .flank-segment-top {
    width: calc(100% * 956 / 454);
    aspect-ratio: 956 / 1064;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    z-index: 3;
    /* Liegt UNTER station_end_9_3_4 (z-index: 5) und VOR wall_loop_neu (z-index: 2) */
}

.stage-composite-flank.flank-left .flank-segment-top {
    background-image: url('../images/stage/station_beginn_9_3_4.png');
    background-position: top left;
    align-self: flex-start;
    filter: drop-shadow(6px 8px 20px rgba(0, 0, 0, 0.9));
}

.stage-composite-flank.flank-right .flank-segment-top {
    background-image: url('../images/stage/station_beginn_9_3_4_right.png');
    background-position: top right;
    align-self: flex-end;
    filter: drop-shadow(-6px 8px 20px rgba(0, 0, 0, 0.9));
}

/* Wiederholendes Mauerwerk (wall_loop_neu) - Verbindungsstück zwischen Beginn und Ende */
.stage-composite-flank .flank-segment-wall {
    width: calc(100% * 122 / 454);
    min-height: 80px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    /* Liegt HINTER station_beginn_9_3_4 und HINTER station_end_9_3_4 */
    margin-top: -35px;
    /* Taucht nahtlos HINTER station_beginn_9_3_4 ein */
    margin-bottom: -35px;
    /* Taucht nahtlos HINTER station_end_9_3_4 ein */
    background-repeat: repeat-y;
    background-size: 100% auto;
}

.stage-composite-flank.flank-left .flank-segment-wall {
    background-image: url('../images/stage/wall_loop_neu.png');
    background-position: top left;
    align-self: flex-start;
    filter: drop-shadow(4px 0 15px rgba(0, 0, 0, 0.85));
}

.stage-composite-flank.flank-right .flank-segment-wall {
    background-image: url('../images/stage/wall_loop_neu_right.png');
    background-position: top right;
    align-self: flex-end;
    filter: drop-shadow(-4px 0 15px rgba(0, 0, 0, 0.85));
}

/* Hogwarts Express: Liegt exakt auf Höhe von station_end_9_3_4 (unten bündig) und physisch HINTER greathall_top */
.hogwarts-express-train {
    position: absolute;
    bottom: 0;
    left: clamp(3rem, 5vw, 6.5rem);
    /* Weiter nach rechts gerückt für beste Sichtbarkeit */
    width: clamp(280px, 28vw, 440px);
    aspect-ratio: 1199 / 1312;
    background-image: url('../images/stage/Hogwarts Express.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom left;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(8px 14px 28px rgba(0, 0, 0, 0.92));
    will-change: transform;
}

/* Unterer Abschluss: station_end_9_3_4 - liegt ÜBER station_beginn_9_3_4 und ÜBER wall_loop_neu */
.stage-composite-flank .flank-segment-bottom {
    width: calc(100% * 1066 / 454);
    aspect-ratio: 1066 / 943;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    z-index: 5;
    /* Liegt ÜBER station_beginn_9_3_4 (z-index: 3) und ÜBER wall_loop_neu (z-index: 2) */
}

.stage-composite-flank.flank-left .flank-segment-bottom {
    background-image: url('../images/stage/station_end_9_3_4.png');
    background-position: bottom left;
    align-self: flex-start;
    filter: drop-shadow(6px 10px 25px rgba(0, 0, 0, 0.9));
}

.stage-composite-flank.flank-right .flank-segment-bottom {
    background-image: url('../images/stage/station_end_9_3_4_right.png');
    background-position: bottom right;
    align-self: flex-end;
    filter: drop-shadow(-6px 10px 25px rgba(0, 0, 0, 0.9));
}

/* ================= THEMA 2: DIE GROSSE HALLE (ZULASSUNG & HÄUSERWAHL) ================= */
.great-hall-stage-wrapper {
    position: relative;
    width: 100%;
    z-index: 2;
    padding-top: 3.5rem;
}

/* Platzierung sauber unterhalb von station_end_9_3_4 (responsiv fließend nach unten versetzt) */
.stage-greathall-flank {
    position: absolute;
    top: clamp(1.5rem, 2.5vw + 0.5rem, 3.5rem);
    bottom: -25rem;
    /* Geht weit nach unten hinter quditsch_field, um die Lücke komplett zu schließen */
    width: clamp(150px, 15vw, 240px);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 10;
    /* Liegt VOR den Kerzen (z-index: 3) & Sternen/Nebel (z-index: 1-2) */
    overflow: visible;
}

.stage-greathall-flank.flank-left {
    left: calc((100% - 100vw) / 2);
}

.stage-greathall-flank.flank-right {
    right: calc((100% - 100vw) / 2);
}

/* Obere Schloss-Säule / Bogen: greathall_top.png (725 x 2154) */
/* Skalengleich zum Pfeiler von Quidditch (~70px) */
.stage-greathall-flank .greathall-segment-top {
    width: calc(100% * 2.5);
    aspect-ratio: 725 / 2154;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    z-index: 1;
    /* Liegt unter greathall_loop */
}

.stage-greathall-flank.flank-left .greathall-segment-top {
    background-image: url('../images/stage/greathall_top.png');
    background-position: top left;
    align-self: flex-start;
    filter: drop-shadow(6px 12px 25px rgba(0, 0, 0, 0.9));
}

.stage-greathall-flank.flank-right .greathall-segment-top {
    background-image: url('../images/stage/greathall_top_right.png');
    background-position: top right;
    align-self: flex-end;
    filter: drop-shadow(-6px 12px 25px rgba(0, 0, 0, 0.9));
}

/* Verlängerungs-Säule: greathall_loop.png (724 x 211 Kachel) - liegt ÜBER greathall_top */
.stage-greathall-flank .greathall-segment-loop {
    width: calc(100% * 2.5);
    flex-grow: 1;
    background-repeat: repeat-y;
    position: relative;
    z-index: 2;
    /* Liegt ÜBER greathall_top */
    margin-top: -2px;
    /* Schließt nahtlos direkt unten an greathall_top an */
}

.stage-greathall-flank.flank-left .greathall-segment-loop {
    background-image: url('../images/stage/greathall_loop.png');
    background-position: top left;
    background-size: 100% auto;
    align-self: flex-start;
    filter: drop-shadow(6px 0 20px rgba(0, 0, 0, 0.85));
}

.stage-greathall-flank.flank-right .greathall-segment-loop {
    background-image: url('../images/stage/greathall_loop_right.png');
    background-position: top right;
    background-size: 100% auto;
    align-self: flex-end;
    filter: drop-shadow(-6px 0 20px rgba(0, 0, 0, 0.85));
}

/* ================= THEMA 3: DAS QUIDDITCH-FELD (WATCH-PARTY TERMINE) ================= */
.quidditch-stage-wrapper {
    position: relative;
    width: 100%;
    z-index: 3;
    /* Liegt über greathall_loop (z-index: 2) */
}

/* Platzierung exakt am Rand der Webseite (Viewport-Kante), nahtlos über greathall_loop überlappend */
.stage-quidditch-flank {
    position: absolute;
    top: -5rem;
    /* Schiebt sich nahtlos über das untere Ende von greathall_loop */
    bottom: -8rem;
    /* Läuft nach unten weiter, damit quditsch_loop tief hinter keller_top eintaucht */
    width: clamp(150px, 15vw, 240px);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}

.stage-quidditch-flank.flank-left {
    left: calc((100% - 100vw) / 2);
}

.stage-quidditch-flank.flank-right {
    right: calc((100% - 100vw) / 2);
}

/* Oberes Quidditch-Feld / Türme: quditsch_field.png (454 x 1870) */
.stage-quidditch-flank .quidditch-segment-field {
    width: 100%;
    aspect-ratio: 454 / 1870;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    z-index: 1;
    /* Liegt in der Reihenfolge unter quditsch_loop */
}

.stage-quidditch-flank.flank-left .quidditch-segment-field {
    background-image: url('../images/stage/quditsch_field.png');
    background-position: top left;
    filter: drop-shadow(6px 12px 25px rgba(0, 0, 0, 0.9));
}

.stage-quidditch-flank.flank-right .quidditch-segment-field {
    background-image: url('../images/stage/quditsch_field_right.png');
    background-position: top right;
    filter: drop-shadow(-6px 12px 25px rgba(0, 0, 0, 0.9));
}

/* Verlängerungs-Säule: quditsch_loop.png (142 x 276) - liegt ÜBER quditsch_field */
.stage-quidditch-flank .quidditch-segment-loop {
    width: 100%;
    flex-grow: 1;
    background-repeat: repeat-y;
    position: relative;
    z-index: 3;
    /* Liegt ÜBER quditsch_field (z-index: 1) */
    margin-top: -20px;
    /* Leichtes Überlappen für fugenlosen Anschluss an den Pfeiler */
}

.stage-quidditch-flank.flank-left .quidditch-segment-loop {
    background-image: url('../images/stage/quditsch_loop.png');
    background-position: top left;
    background-size: calc(100% * 142 / 454) auto;
    filter: drop-shadow(6px 0 20px rgba(0, 0, 0, 0.85));
}

.stage-quidditch-flank.flank-right .quidditch-segment-loop {
    background-image: url('../images/stage/quditsch_loop_right.png');
    background-position: top right;
    background-size: calc(100% * 142 / 454) auto;
    filter: drop-shadow(-6px 0 20px rgba(0, 0, 0, 0.85));
}

/* ============================================================
   GOLDENER SCHNATZ (QUIDDITCH BÜHNE)
   Schnell, flatternde Flügel mit Kolibri-Bewegungsunschärfe
   Kann hinter Grafiken tauchen (dann nicht anklickbar)
   ============================================================ */
.snitch-arena {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: auto;
    /* Kein eigener Stacking Context, damit z-index des Schnatzes direkt im Quidditch-Bereich greift */
}

.golden-snitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    pointer-events: none;
    opacity: 0;
    cursor: pointer;
    z-index: 35;
    /* Weit ÜBER .stage-container-center (z-index: 15) und Karten! */
    will-change: transform, opacity;
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.15, 0.85, 0.25, 1);
    transform-origin: center center;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.golden-snitch.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.golden-snitch * {
    pointer-events: none;
}

/* ============================================================
   DIE QUIDDITCH-KISTE (TRUHE)
   Liegt unten am Rand des Quidditch-Feldes.
   - Klick öffnet die Kiste -> Schnatz & Klatscher fliegen heraus
   - Zweiter Klick schließt sie -> Bälle kehren zurück, Spiel beendet
   ============================================================ */
.quidditch-chest {
    position: absolute;
    bottom: 2rem;
    right: clamp(2rem, 7vw, 6.5rem);
    width: 88px;
    height: 64px;
    z-index: 38;
    cursor: pointer;
    perspective: 600px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    pointer-events: auto;
    transition: transform 0.25s ease;
}

/* Weicher Bodenschatten auf dem Quidditch-Rasen */
.quidditch-chest::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 4px;
    right: 4px;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, transparent 75%);
    border-radius: 50%;
    filter: blur(4px);
    z-index: 0;
}

.quidditch-chest:hover {
    transform: translateY(-2px) scale(1.03);
}

.quidditch-chest:active {
    transform: translateY(0) scale(0.98);
}

/* Schwebender Hinweistext über der Kiste */
.chest-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    right: -8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.45rem 1rem;
    background: linear-gradient(135deg, rgba(22, 14, 8, 0.96), rgba(45, 30, 12, 0.94));
    border: 1.5px solid #d4af37;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 16px rgba(212, 175, 55, 0.4);
    white-space: nowrap;
    font-family: 'Cinzel', 'Cinzel Decorative', 'Georgia', serif;
    font-size: clamp(0.72rem, 0.82vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffe680;
    pointer-events: none;
    z-index: 50;
    animation: chestTooltipPulse 2.4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.chest-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 28px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #d4af37 transparent transparent transparent;
}

.chest-tooltip-icon {
    font-size: 0.95rem;
    color: #ffd700;
    filter: drop-shadow(0 0 4px #ff9900);
}

@keyframes chestTooltipPulse {

    0%,
    100% {
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 12px rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 4px 22px rgba(0, 0, 0, 0.85), 0 0 22px rgba(255, 215, 0, 0.65);
    }
}

.quidditch-chest.is-open .chest-tooltip {
    border-color: #81c784;
    color: #e8f5e9;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 16px rgba(76, 175, 80, 0.45);
}

.quidditch-chest.is-open .chest-tooltip::after {
    border-color: #81c784 transparent transparent transparent;
}

.quidditch-chest.is-open .chest-tooltip-icon {
    color: #81c784;
    filter: drop-shadow(0 0 4px #4caf50);
}

/* 3D-Kistenkasten */
.chest-box {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* DECKEL DER TRUHE */
.chest-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    transform-origin: top center;
    transition: transform 0.65s cubic-bezier(0.34, 1.25, 0.64, 1);
    z-index: 5;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #5c341b 0%, #3e2210 65%, #2a1408 100%);
    border: 2px solid #160a04;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.8),
        inset 0 2px 3px rgba(255, 255, 255, 0.2),
        inset 0 -2px 3px rgba(0, 0, 0, 0.6);
}

.quidditch-chest.is-open .chest-lid {
    transform: rotateX(-125deg);
    box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.7);
}

/* Deckel-Elemente */
.chest-lid-outer {
    position: relative;
    width: 100%;
    height: 100%;
}

.chest-wood-plank {
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Beschläge & Riemen auf dem Deckel */
.chest-strap {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 9px;
    background: linear-gradient(90deg, #1b130b 0%, #332314 50%, #1b130b 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 1px solid #0a0502;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.chest-strap.strap-1 {
    left: 16px;
}

.chest-strap.strap-2 {
    right: 16px;
}

.chest-strap::before,
.chest-strap::after {
    content: '';
    position: absolute;
    left: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 1px 1px #000;
}

.chest-strap::before {
    top: 2px;
}

.chest-strap::after {
    bottom: 2px;
}

.chest-hasp {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 10px;
    background: linear-gradient(180deg, #ffd700, #996515);
    border: 1px solid #332000;
    border-radius: 2px 2px 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 6;
}

.chest-handle {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 4px;
    background: #8b6508;
    border: 1px solid #2b1800;
    border-radius: 2px;
}

/* KISTENKÖRPER */
.chest-body {
    position: absolute;
    top: 21px;
    left: 0;
    width: 100%;
    height: 43px;
    border-radius: 2px 2px 6px 6px;
    background: linear-gradient(180deg, #442512 0%, #2b1508 60%, #190a03 100%);
    border: 2px solid #160a04;
    overflow: hidden;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.9),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* Samt-Innenraum */
.chest-interior {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, #1f080e 0%, #2e0e16 100%);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 12px;
    z-index: 2;
}

.chest-compartment {
    width: 18px;
    height: 12px;
    border-radius: 50%;
    background: #140509;
    box-shadow: inset 0 2px 5px #000, 0 1px 1px rgba(255, 255, 255, 0.06);
    position: relative;
}

.chest-compartment.comp-snitch {
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.chest-compartment.comp-bludger {
    border: 1px solid rgba(140, 150, 160, 0.4);
}

/* Magischer Schein beim Öffnen der Truhe */
.chest-inner-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.85) 0%, rgba(255, 140, 0, 0.4) 40%, transparent 75%);
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 3;
}

.quidditch-chest.is-open .chest-inner-glow {
    opacity: 1;
    animation: chestGlowPulse 1.8s ease-in-out infinite alternate;
}

@keyframes chestGlowPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.75;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Kisten-Front mit Eisenbändern & Schloss */
.chest-front {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.chest-iron-band {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a140d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid #000;
}

.chest-iron-band.band-top {
    top: 2px;
}

.chest-iron-band.band-bottom {
    bottom: 2px;
}

/* Eckbeschläge */
.chest-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #8b6508;
}

.chest-corner.bracket-tl {
    top: -18px;
    left: 2px;
    border-right: none;
    border-bottom: none;
}

.chest-corner.bracket-tr {
    top: -18px;
    right: 2px;
    border-left: none;
    border-bottom: none;
}

.chest-corner.bracket-bl {
    bottom: 2px;
    left: 2px;
    border-right: none;
    border-top: none;
}

.chest-corner.bracket-br {
    bottom: 2px;
    right: 2px;
    border-left: none;
    border-top: none;
}

/* Schlossplatte */
.chest-lock-plate {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 17px;
    height: 16px;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 60%, #6e4e00 100%);
    border: 1px solid #2e1e02;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chest-keyhole {
    width: 3px;
    height: 6px;
    background: #140900;
    border-radius: 2px 2px 1px 1px;
}

/* Quidditch-Truhe: Magisches Schloss & Verriegelung (wenn nicht angemeldet) */
.chest-padlock {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 12;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease;
}

.quidditch-chest.is-locked .chest-padlock {
    display: flex;
}

.quidditch-chest.is-locked .chest-tooltip {
    border-color: rgba(211, 166, 37, 0.7);
    background: rgba(18, 12, 8, 0.95);
}

.quidditch-chest.is-locked:hover .chest-padlock {
    transform: translateX(-50%) scale(1.18);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.95));
}

.quidditch-chest.is-locked:active .chest-padlock {
    animation: padlock-rattle 0.35s ease;
}

@keyframes padlock-rattle {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    20% { transform: translateX(-56%) rotate(-9deg); }
    40% { transform: translateX(-44%) rotate(9deg); }
    60% { transform: translateX(-54%) rotate(-6deg); }
    80% { transform: translateX(-47%) rotate(4deg); }
}

.padlock-shackle {
    width: 13px;
    height: 11px;
    border: 2.5px solid #ffe082;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    margin-bottom: -2px;
    box-shadow: 0 0 5px rgba(255, 224, 130, 0.5);
}

.padlock-body {
    width: 20px;
    height: 17px;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 70%, #6e4e00 100%);
    border: 1px solid #3a2202;
    border-radius: 3.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.9), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.padlock-icon {
    font-size: 10px;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
}


/* Responsiv: Auf kleineren Bildschirmen */
@media (max-width: 600px) {
    .quidditch-chest {
        right: 50%;
        transform: translateX(50%);
        bottom: 1.2rem;
    }

    .quidditch-chest:hover {
        transform: translateX(50%) translateY(-2px) scale(1.03);
    }

    .quidditch-chest:active {
        transform: translateX(50%) translateY(0) scale(0.98);
    }
}

/* Großzügige Klickzone (Hitbox: 76px Durchmesser) für zuverlässiges Fangen */
.golden-snitch::before {
    content: '';
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
    z-index: 40;
}

/* Wenn der Schnatz HINTER Grafiken (Flanken-Türme, Karten) taucht */
.golden-snitch.snitch-behind {
    z-index: 1 !important;
    /* Unter den Flanken-Türmen (z-index: 3) und Karten */
    pointer-events: none !important;
    cursor: default !important;
    filter: brightness(0.65) blur(0.6px);
}

.golden-snitch.snitch-behind::before {
    pointer-events: none !important;
}

/* Gegenlicht-Aura bei Annäherung */
.snitch-gegenlicht {
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 245, 180, 0.95) 0%, rgba(255, 215, 0, 0.7) 35%, rgba(255, 160, 0, 0.25) 65%, transparent 85%);
    filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.65);
    transition: opacity 0.22s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
    z-index: 2;
}

.golden-snitch.is-illuminated .snitch-gegenlicht {
    opacity: 1;
    transform: scale(1.4);
    animation: snitchGegenlichtBloom 0.4s ease-in-out infinite alternate;
}

@keyframes snitchGegenlichtBloom {
    0% {
        transform: scale(1.3);
        filter: blur(7px);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.5);
        filter: blur(10px);
        opacity: 1;
    }
}

/* Intensiviertes Glühen der Kugel bei Gegenlicht */
.golden-snitch.is-illuminated .snitch-sphere {
    box-shadow:
        0 0 15px rgba(255, 240, 150, 1),
        0 0 32px rgba(255, 215, 0, 0.9),
        0 0 55px rgba(255, 170, 0, 0.55),
        inset -2px -3px 5px rgba(110, 70, 0, 0.65);
    filter: brightness(1.25);
}

.golden-snitch.is-illuminated .snitch-wing {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 14px rgba(255, 215, 0, 0.75));
}

/* Schweif-Spur beim Davongleiten (wie durch die Hand sausend) */
.snitch-slip-trail {
    position: absolute;
    width: 70px;
    height: 14px;
    top: 50%;
    left: 50%;
    margin-top: -7px;
    margin-left: -35px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 240, 160, 0.85), #ffffff, rgba(255, 215, 0, 0.85), transparent);
    filter: blur(2.5px);
    opacity: 0;
    pointer-events: none;
    transform-origin: center center;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.golden-snitch.is-slipping .snitch-slip-trail {
    opacity: 1;
}

/* Schnatz-Körper: Goldene glänzende Kugel */
.snitch-ball {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 4;
}

.snitch-sphere {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #fff2a3 22%, #f5b300 55%, #c68a00 80%, #6e4600 100%);
    box-shadow:
        0 0 10px rgba(255, 215, 0, 0.95),
        0 0 20px rgba(255, 180, 0, 0.6),
        inset -2px -3px 5px rgba(110, 70, 0, 0.65);
}

/* Magische feine Gravur-Rillen auf der Kugel */
.snitch-rune-ring {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 245, 190, 0.75);
    opacity: 0.8;
    transform: rotate(25deg);
}

/* Funkelnder Glanzpunkt */
.snitch-glint-spark {
    position: absolute;
    top: 4px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    filter: drop-shadow(0 0 3px #ffffff);
    animation: snitchGlintPulse 1.8s ease-in-out infinite alternate;
}

@keyframes snitchGlintPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* ============================================================
   KOLIBRI-FLÜGEL MIT BEWEGUNGSUNSCHÄRFE (MOTION BLUR)
   Extrem hochfrequentes Schlagen wie beim Kolibri
   ============================================================ */
.snitch-wing {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 18px;
    margin-top: -9px;
    pointer-events: none;
    transform-style: preserve-3d;
}

.wing-left {
    right: 50%;
    margin-right: 8px;
    transform-origin: right center;
    animation: hummingbirdFlapLeft 0.048s linear infinite alternate;
}

.wing-right {
    left: 50%;
    margin-left: 8px;
    transform-origin: left center;
    animation: hummingbirdFlapRight 0.048s linear infinite alternate;
}

/* Kolibri-Motion-Blur Fächer (Schleier der Flügelbewegung) */
.wing-blur-fan {
    position: absolute;
    inset: -6px -4px -6px -4px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 235, 170, 0.35) 45%, transparent 75%);
    filter: blur(3px);
    opacity: 0.8;
    pointer-events: none;
    animation: hummingbirdFanPulse 0.048s ease-in-out infinite alternate;
}

.wing-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

@keyframes hummingbirdFlapLeft {
    0% {
        transform: rotateZ(20deg) rotateY(-8deg) scaleY(1);
        filter: blur(0.4px);
        opacity: 0.95;
    }

    30% {
        transform: rotateZ(38deg) rotateY(55deg) scaleY(0.7);
        filter: blur(2.5px);
        opacity: 0.55;
    }

    70% {
        transform: rotateZ(-22deg) rotateY(105deg) scaleY(0.85);
        filter: blur(1.8px);
        opacity: 0.7;
    }

    100% {
        transform: rotateZ(-40deg) rotateY(35deg) scaleY(0.6);
        filter: blur(3.5px);
        opacity: 0.4;
    }
}

@keyframes hummingbirdFlapRight {
    0% {
        transform: rotateZ(-20deg) rotateY(8deg) scaleY(1);
        filter: blur(0.4px);
        opacity: 0.95;
    }

    30% {
        transform: rotateZ(-38deg) rotateY(-55deg) scaleY(0.7);
        filter: blur(2.5px);
        opacity: 0.55;
    }

    70% {
        transform: rotateZ(22deg) rotateY(-105deg) scaleY(0.85);
        filter: blur(1.8px);
        opacity: 0.7;
    }

    100% {
        transform: rotateZ(40deg) rotateY(-35deg) scaleY(0.6);
        filter: blur(3.5px);
        opacity: 0.4;
    }
}

@keyframes hummingbirdFanPulse {
    0% {
        transform: scaleY(0.85);
        opacity: 0.65;
    }

    100% {
        transform: scaleY(1.35);
        opacity: 0.95;
    }
}

/* Leichtes Schwebe-Zittern beim Verweilen (Hovering) */
.golden-snitch.snitch-hovering .snitch-ball {
    animation: snitchMicroJitter 0.12s ease-in-out infinite alternate;
}

@keyframes snitchMicroJitter {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(1.5px, -1.5px);
    }
}

/* ============================================================
   FANG-FEEDBACK & EFFEKTE
   ============================================================ */
.snitch-catch-toast {
    position: absolute;
    transform: translate(-50%, -100%);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 2px solid #ffd700;
    font-family: 'Cinzel', 'Cinzel Decorative', 'Georgia', serif;
    font-size: clamp(0.75rem, 0.9vw, 0.95rem);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 215, 0, 0.85);
    animation: snitchToastFloat 2.6s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

@keyframes snitchToastFloat {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }

    15% {
        opacity: 1;
        transform: translate(-50%, -115%) scale(1.08);
    }

    25% {
        transform: translate(-50%, -110%) scale(1);
    }

    80% {
        opacity: 1;
        transform: translate(-50%, -135%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -165%) scale(0.9);
    }
}

/* Fang-Schockwelle */
.snitch-shockwave {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #ffd700;
    box-shadow: 0 0 18px #ffd700, inset 0 0 12px #ffea00;
    pointer-events: none;
    z-index: 95;
    animation: snitchShockwaveExpand 0.75s ease-out forwards;
}

@keyframes snitchShockwaveExpand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }

    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.25);
    }
}

/* Goldene Funken-Partikel beim Fang */
.snitch-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffd700, 0 0 16px #ffb300;
    pointer-events: none;
    z-index: 96;
    animation: snitchSparkleBurst 0.85s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes snitchSparkleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* ============================================================
   DER KLATSCHER (BLUDGER)
   Schwere, unberechenbare Eisenkugel - zieht bei Treffer 2 Punkte ab
   ============================================================ */
.bludger {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    pointer-events: none;
    z-index: 28;
    will-change: transform, opacity;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.25, 1);
    transform-origin: center center;
}

.bludger.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.bludger.bludger-behind {
    z-index: 1 !important;
    filter: brightness(0.55) blur(0.6px);
}

.bludger-iron-ball {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #9aa0a6 0%, #4f565e 32%, #202428 68%, #0d0f12 100%);
    box-shadow:
        0 0 14px rgba(0, 0, 0, 0.95),
        0 6px 18px rgba(0, 0, 0, 0.9),
        inset -3px -4px 7px rgba(0, 0, 0, 0.85),
        inset 2px 2px 4px rgba(255, 255, 255, 0.25);
    animation: bludgerSpin 1.6s linear infinite;
}

@keyframes bludgerSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Eisenbänder und Nieten des Klatschers */
.bludger-strap {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 2px dashed #14171a;
    opacity: 0.85;
}

.bludger-strap.strap-2 {
    transform: rotate(65deg);
    border-color: #2c3238;
}

.bludger-dent {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 7px;
    height: 5px;
    border-radius: 50%;
    background: #14171a;
    box-shadow: inset 1px 1px 2px #000, 1px 1px 1px rgba(255, 255, 255, 0.15);
}

/* Dunkle Rauchspur / Eisenstaub hinter dem Klatscher */
.bludger-smoke-trail {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 40, 45, 0.5) 0%, transparent 75%);
    filter: blur(5px);
    pointer-events: none;
}

/* Erschütterung des Bildschirms bei Klatscher-Treffer */
.bludger-screen-shake {
    animation: bludgerShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes bludgerShake {

    10%,
    90% {
        transform: translate3d(-4px, 3px, 0);
    }

    20%,
    80% {
        transform: translate3d(5px, -4px, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-6px, 4px, 0);
    }

    40%,
    60% {
        transform: translate3d(6px, -3px, 0);
    }
}

/* ============================================================
   MAUS-LÄHMUNG / BENOMMENHEITS-EFFEKT (STUNNED CURSOR)
   Maus bewegt sich für 1.4s nicht mehr, rotierende Sterne
   ============================================================ */
body.bludger-mouse-stunned,
body.bludger-mouse-stunned * {
    cursor: none !important;
}

.stunned-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    pointer-events: none;
    z-index: 999999;
    display: none;
    transform: translate(-50%, -50%);
}

.stunned-cursor.is-active {
    display: block;
}

/* Rotierender Sternenkranz über dem gelähmten Cursor */
.stun-stars-ring {
    position: absolute;
    inset: -14px;
    animation: stunStarsRotate 0.65s linear infinite;
}

.stun-star {
    position: absolute;
    font-size: 17px;
    color: #ffcc00;
    text-shadow: 0 0 6px #ff9900, 0 0 12px #ff4400;
    animation: stunStarWobble 0.3s ease-in-out infinite alternate;
}

.stun-star.s1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.stun-star.s2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #ff5533;
}

.stun-star.s3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.stun-star.s4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #ffdd44;
}

@keyframes stunStarsRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes stunStarWobble {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1.25);
    }
}

.stun-label {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ff4d4d;
    text-shadow: 0 0 8px #000, 0 0 14px rgba(255, 50, 50, 0.85);
    white-space: nowrap;
    text-transform: uppercase;
}

/* Klatscher-Treffer Toast (-2 Punkte) */
.bludger-hit-toast {
    position: absolute;
    transform: translate(-50%, -100%);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 2px solid #d32f2f;
    background: linear-gradient(135deg, rgba(30, 10, 10, 0.95), rgba(180, 20, 20, 0.85));
    font-family: 'Cinzel', 'Cinzel Decorative', 'Georgia', serif;
    font-size: clamp(0.78rem, 0.95vw, 1rem);
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.9), 0 0 25px rgba(220, 20, 20, 0.85);
    animation: snitchToastFloat 2.6s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

/* Eisen-Trümmer Funken beim Klatscher-Treffer */
.bludger-debris {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: #ff5722;
    box-shadow: 0 0 8px #ff3d00, 0 0 14px #ff9100;
    pointer-events: none;
    z-index: 96;
    animation: snitchSparkleBurst 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

/* ================= THEMA 4: DER KELLER / GEWÖLBE (PARTY-GALERIE) ================= */
.gallery-stage-wrapper {
    position: relative;
    width: 100%;
    z-index: 4;
    /* Liegt VOR quditsch_loop (z-index: 3) */
    margin-bottom: -7rem;
    /* Schließt bündig mit der Oberkante des Footers ab */
}

.gallery-stage-wrapper #gallery-section {
    margin-bottom: 0;
    padding-bottom: 5.5rem;
    /* Abstand des Inhalts der Galerie vor dem Footer */
}

/* Platzierung exakt am Rand der Webseite (Viewport-Kante), bündig vor quditsch_loop und bis zum Footer */
.stage-keller-flank {
    position: absolute;
    top: -9rem;
    /* Schiebt sich nahtlos VOR und ÜBER das untere Ende von quditsch_loop */
    bottom: 0;
    width: clamp(150px, 15vw, 240px);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 4;
    overflow: visible;
}

.stage-keller-flank.flank-left {
    left: calc((100% - 100vw) / 2);
}

.stage-keller-flank.flank-right {
    right: calc((100% - 100vw) / 2);
}

/* Oberer Keller-Abschluss: keller_top.png (654 x 961) - Harmonischer Mittelweg (1.45x) */
.stage-keller-flank .keller-segment-top {
    width: calc(100% * 1.45);
    aspect-ratio: 654 / 961;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    z-index: 2;
}

.stage-keller-flank.flank-left .keller-segment-top {
    background-image: url('../images/stage/keller_top.png');
    background-position: top left;
    align-self: flex-start;
    filter: drop-shadow(6px 12px 25px rgba(0, 0, 0, 0.9));
}

.stage-keller-flank.flank-right .keller-segment-top {
    background-image: url('../images/stage/keller_top_right.png');
    background-position: top right;
    align-self: flex-end;
    filter: drop-shadow(-6px 12px 25px rgba(0, 0, 0, 0.9));
}

/* Wiederholendes Mauerwerk / Säule: keller_loop.png (107 x 676) */
.stage-keller-flank .keller-segment-loop {
    width: 100%;
    flex-grow: 1;
    background-repeat: repeat-y;
    position: relative;
    z-index: 1;
    margin-top: -20px;
    margin-bottom: -20px;
}

.stage-keller-flank.flank-left .keller-segment-loop {
    background-image: url('../images/stage/keller_loop.png');
    background-position: top left;
    background-size: calc(100% * 1.45 * 107 / 654) auto;
    filter: drop-shadow(6px 0 20px rgba(0, 0, 0, 0.85));
}

.stage-keller-flank.flank-right .keller-segment-loop {
    background-image: url('../images/stage/keller_loop_right.png');
    background-position: top right;
    background-size: calc(100% * 1.45 * 107 / 654) auto;
    filter: drop-shadow(-6px 0 20px rgba(0, 0, 0, 0.85));
}

/* Unterer Keller-Abschluss am Ende der Webseite: keller_bottum.png (941 x 484) */
.stage-keller-flank .keller-segment-bottom {
    width: calc(100% * 1.45 * 941 / 654);
    aspect-ratio: 941 / 484;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    z-index: 2;
}

.stage-keller-flank.flank-left .keller-segment-bottom {
    background-image: url('../images/stage/keller_bottum.png');
    background-position: bottom left;
    align-self: flex-start;
    filter: drop-shadow(6px 10px 25px rgba(0, 0, 0, 0.9));
}

.stage-keller-flank.flank-right .keller-segment-bottom {
    background-image: url('../images/stage/keller_bottum_right.png');
    background-position: bottom right;
    align-self: flex-end;
    filter: drop-shadow(-6px 10px 25px rgba(0, 0, 0, 0.9));
}

/* ============================================================
   GOLDVERZIERTE GESTALT IM SCHATTENMANTEL
   Steht rechts über keller_bottum_right, nach links eingerückt
   ============================================================ */
.stage-keller-flank.flank-right {
    z-index: 20;
}

.shadow-figure-wrapper {
    position: absolute;
    bottom: clamp(0.5rem, 1.2vw, 1.8rem);
    right: clamp(3rem, 6vw, 9rem);
    width: clamp(180px, 18vw, 290px);
    aspect-ratio: 1024 / 1536;
    z-index: 8;
    /* Liegt ÜBER keller_bottum (z-index: 2) */
    pointer-events: auto;
    cursor: default;
    filter: drop-shadow(-10px 14px 28px rgba(0, 0, 0, 0.95));
    transition: filter 0.6s ease, transform 0.6s ease;
    will-change: transform, filter;
}

/* Großzügiger Erkennungsbereich um die Gestalt für Hover-Erkennung */
.shadow-figure-wrapper::before {
    content: '';
    position: absolute;
    inset: -140px -120px -80px -180px;
    pointer-events: auto;
    z-index: 0;
}

/* Körper der Gestalt */
.shadow-figure-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stage/Goldverzierte Gestalt im Schattenmantel.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    z-index: 1;
    pointer-events: none;
}

/* Gesicht der Gestalt - liegt 1:1 deckungsgleich direkt über dem Körper */
.shadow-figure-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stage/Goldverzierte Gestalt im Schattenmantel_gesicht.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

/* Gesicht aufdecken bei Annäherung / Hover (ohne künstlichen Glow) */
.shadow-figure-wrapper:hover .shadow-figure-face,
.shadow-figure-wrapper.is-revealed .shadow-figure-face {
    opacity: 1;
}

/* ============================================================
   MAGISCHER SPIEGEL (SPIEGEL NERHEGEB)
   Steht links über keller_bottum, nach rechts eingerückt
   Auf gleicher Höhe wie die Schattenfigur rechts
   Mit schimmernden Zauberfäden, Positiv-Wörtern und Stein der Weisen
   ============================================================ */
.stage-keller-flank.flank-left {
    z-index: 20;
}

.magic-mirror-wrapper {
    position: absolute;
    bottom: clamp(0.5rem, 1.2vw, 1.8rem);
    left: clamp(3rem, 6vw, 9rem);
    width: clamp(150px, 15vw, 240px);
    aspect-ratio: 582 / 1331;
    z-index: 8;
    /* Liegt ÜBER keller_bottum (z-index: 2) wie shadow-figure-wrapper */
    pointer-events: auto;
    cursor: default;
    filter: drop-shadow(8px 14px 28px rgba(0, 0, 0, 0.95));
    transition: filter 0.6s ease, transform 0.6s ease;
    will-change: transform, filter;
}

.magic-mirror-wrapper:hover {
    filter: drop-shadow(8px 16px 32px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.25));
}

/* Spiegel-Grafik Körper */
.magic-mirror-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stage/Magischer%20Spiegel.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom left;
    z-index: 1;
    pointer-events: none;
}

/* Innere magische Kammer - exakt und unsichtbar maskiert durch spiegel_maske.png */
.mirror-inner-chamber {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    /* Base64 Data-URI verhindert lokale file:/// CORS-Blocks in Chromium/Edge */
    -webkit-mask-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkYAAAUzCAYAAAAgleiQAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAKytJREFUeJzt3X/I73V9//GnCBZI4QyhYoURRosIR2LQGp5hEK2IkoiiDWxBWMRwFNHY2LlgYxE1iEVFIzywFQ2iiI2iSHYcLYYUS4oIQabECpQCCxQi8ft9fXbp1KPneM51znU9np/P83aD+9/f82Pfx+fZ8fN+X1UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA2Cr/H2lVHpEYg3XcAAAAAElFTkSuQmCC');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}

/* Kosmischer Schimmernebel im Glas */
.mirror-shimmer-fog {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 55%, rgba(138, 79, 255, 0.24) 0%, rgba(26, 12, 48, 0.22) 50%, rgba(5, 3, 12, 0.38) 90%);
    mix-blend-mode: screen;
    animation: mirrorFogPulse 7s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes mirrorFogPulse {
    0% {
        opacity: 0.55;
        transform: scale(0.98);
    }

    100% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

/* Magische Zauberfäden (SVG) */
.mirror-threads-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.magic-thread {
    transform-origin: center center;
    will-change: stroke-dashoffset, opacity, transform;
}

/* Faden 1: Goldene Schwungwelle */
.magic-thread.thread-1 {
    stroke-dasharray: 240 120;
    animation: threadFlow1 9s ease-in-out infinite alternate, threadShimmer1 5s ease-in-out infinite alternate;
}

/* Faden 2: Ätherischer Aufstieg */
.magic-thread.thread-2 {
    stroke-dasharray: 280 140;
    animation: threadFlow2 11s cubic-bezier(0.4, 0, 0.6, 1) infinite, threadShimmer2 6.5s ease-in-out infinite alternate;
}

/* Faden 3: Mystischer Bogen */
.magic-thread.thread-3 {
    stroke-dasharray: 220 110;
    animation: threadFlow3 8s ease-in-out infinite alternate, threadShimmer1 4.5s ease-in-out infinite alternate;
}

/* Faden 4: Rubinrote Resonanz */
.magic-thread.thread-4 {
    stroke-dasharray: 180 120;
    animation: threadFlow4 10s ease-in-out infinite alternate, threadShimmer2 5.5s ease-in-out infinite alternate;
}

/* Faden 5: Sternenstaub-Vertikale */
.magic-thread.thread-5 {
    stroke-dasharray: 14 20;
    animation: threadFlow5 14s linear infinite;
}

/* Faden 6: Kosmische Schleife */
.magic-thread.thread-6 {
    animation: threadOrbit 12s linear infinite;
}

@keyframes threadFlow1 {
    0% {
        stroke-dashoffset: 0;
        transform: translateY(0) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) scale(1.02) rotate(1deg);
    }

    100% {
        stroke-dashoffset: 720;
        transform: translateY(8px) scale(0.98) rotate(-1deg);
    }
}

@keyframes threadFlow2 {
    0% {
        stroke-dashoffset: 0;
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-16px) scale(1.03);
    }

    100% {
        stroke-dashoffset: -840;
        transform: translateY(0) scale(1);
    }
}

@keyframes threadFlow3 {
    0% {
        stroke-dashoffset: 160;
        transform: scale(0.98) rotate(-1deg);
    }

    100% {
        stroke-dashoffset: -440;
        transform: scale(1.03) rotate(1.5deg);
    }
}

@keyframes threadFlow4 {
    0% {
        stroke-dashoffset: 0;
        transform: translateY(5px) scale(0.97);
    }

    100% {
        stroke-dashoffset: 540;
        transform: translateY(-12px) scale(1.04);
    }
}

@keyframes threadFlow5 {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -400;
    }
}

@keyframes threadOrbit {
    0% {
        transform: rotate(0deg) scale(0.98);
        opacity: 0.45;
    }

    50% {
        transform: rotate(180deg) scale(1.06);
        opacity: 0.85;
    }

    100% {
        transform: rotate(360deg) scale(0.98);
        opacity: 0.45;
    }
}

@keyframes threadShimmer1 {
    0% {
        opacity: 0.45;
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4));
    }

    100% {
        opacity: 0.95;
        filter: drop-shadow(0 0 7px rgba(255, 225, 120, 0.95));
    }
}

@keyframes threadShimmer2 {
    0% {
        opacity: 0.4;
        filter: drop-shadow(0 0 2px rgba(116, 185, 255, 0.4));
    }

    100% {
        opacity: 0.9;
        filter: drop-shadow(0 0 8px rgba(162, 155, 254, 0.9));
    }
}

/* Aufleuchten der Fäden bei Annäherung */
.magic-mirror-wrapper:hover .magic-thread {
    filter: drop-shadow(0 0 10px rgba(255, 235, 160, 0.95));
}

/* ============================================================
   POSITIV-WÖRTER (FREUNDSCHAFT & FAMILIE)
   Immer genau EIN Wort zur selben Zeit, unterschiedliche sichere Höhen
   ============================================================ */
.mirror-words-cloud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.mirror-word {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    font-family: 'Cinzel', 'Cinzel Decorative', 'Georgia', serif;
    font-size: clamp(0.58rem, 0.72vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    color: #fff6df;
    text-shadow:
        0 0 6px rgba(255, 220, 80, 0.95),
        0 0 14px rgba(255, 165, 40, 0.65),
        0 0 24px rgba(255, 120, 20, 0.4);
    opacity: 0;
    will-change: opacity, transform, filter;
    animation: singleWordShow 80s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Unterschiedliche Höhen - alle im breiten, geraden Glasbereich (Y: 39% - 51%) */
.mirror-word.mw-1 {
    top: 42%;
    animation-delay: 0s;
}

.mirror-word.mw-2 {
    top: 48%;
    animation-delay: 4s;
}

.mirror-word.mw-3 {
    top: 39%;
    animation-delay: 8s;
}

.mirror-word.mw-4 {
    top: 51%;
    animation-delay: 12s;
}

.mirror-word.mw-5 {
    top: 41%;
    animation-delay: 16s;
}

.mirror-word.mw-6 {
    top: 47%;
    animation-delay: 20s;
}

.mirror-word.mw-7 {
    top: 44%;
    animation-delay: 24s;
}

.mirror-word.mw-8 {
    top: 43%;
    animation-delay: 28s;
}

.mirror-word.mw-9 {
    top: 50%;
    animation-delay: 32s;
}

.mirror-word.mw-10 {
    top: 40%;
    animation-delay: 36s;
}

.mirror-word.mw-11 {
    top: 46%;
    animation-delay: 40s;
}

.mirror-word.mw-12 {
    top: 42%;
    animation-delay: 44s;
}

.mirror-word.mw-13 {
    top: 49%;
    animation-delay: 48s;
}

.mirror-word.mw-14 {
    top: 45%;
    animation-delay: 52s;
}

.mirror-word.mw-15 {
    top: 40%;
    animation-delay: 56s;
}

.mirror-word.mw-16 {
    top: 47%;
    animation-delay: 60s;
}

.mirror-word.mw-17 {
    top: 51%;
    animation-delay: 64s;
}

.mirror-word.mw-18 {
    top: 44%;
    animation-delay: 68s;
}

.mirror-word.mw-19 {
    top: 39%;
    animation-delay: 72s;
}

.mirror-word.mw-20 {
    top: 48%;
    animation-delay: 76s;
}

/* Exakt 4s Zeitfenster pro Wort bei 80s Gesamtzyklus (5%): immer nur EIN Wort sichtbar */
@keyframes singleWordShow {
    0% {
        opacity: 0;
        transform: translate(-50%, 6px) scale(0.95);
        filter: blur(2px);
    }

    0.8% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
        filter: blur(0px);
    }

    3.6% {
        opacity: 1;
        transform: translate(-50%, -4px) scale(1.02);
        filter: blur(0px);
    }

    4.4% {
        opacity: 0;
        transform: translate(-50%, -8px) scale(1.04);
        filter: blur(2px);
    }

    5.0% {
        opacity: 0;
        transform: translate(-50%, -8px) scale(1.04);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -8px) scale(1.04);
    }
}

/* ============================================================
   STEIN DER WEISEN (PHILOSOPHER'S STONE)
   Schwebendes, rubinrotes, facettenreiches Juwel mit Aura
   Erscheint und verschwindet periodisch im Spiegel Nerhegeb
   ============================================================ */
.philosophers-stone-wrap {
    position: absolute;
    top: 66%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(44px, 4.8vw, 68px);
    aspect-ratio: 100 / 120;
    z-index: 5;
    pointer-events: none;
    animation:
        stoneLevitate 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite,
        stoneVanishCycle 16s ease-in-out infinite;
    will-change: transform, opacity, filter;
    transition: opacity 0.8s ease, filter 0.8s ease;
}

@keyframes stoneVanishCycle {
    0%, 15% {
        opacity: 0;
        filter: blur(8px) brightness(0.5);
        visibility: hidden;
    }
    22% {
        visibility: visible;
    }
    30%, 68% {
        opacity: 1;
        filter: blur(0px) brightness(1);
        visibility: visible;
    }
    78% {
        visibility: visible;
    }
    85%, 100% {
        opacity: 0;
        filter: blur(8px) brightness(0.5);
        visibility: hidden;
    }
}

/* Schimmernde Rubin-Aura um den Stein */
.stone-aura-pulse {
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 25, 65, 0.6) 0%, rgba(220, 20, 60, 0.35) 42%, rgba(138, 0, 24, 0.12) 70%, transparent 85%);
    filter: blur(10px);
    animation: stoneAuraPulse 4.2s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes stoneAuraPulse {
    0% {
        transform: scale(0.88);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.22);
        opacity: 0.92;
    }
}

/* Schwebender SVG-Stein */
.philosophers-stone-svg {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 20, 60, 0.85)) drop-shadow(0 0 22px rgba(220, 0, 40, 0.55));
    animation: stoneShimmer 3.2s ease-in-out infinite alternate;
    will-change: filter;
}

@keyframes stoneLevitate {
    0% {
        transform: translateX(-50%) translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateX(-50%) translateY(-11px) rotate(2.5deg);
    }

    100% {
        transform: translateX(-50%) translateY(0px) rotate(-2deg);
    }
}

@keyframes stoneShimmer {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 20, 60, 0.75)) drop-shadow(0 0 18px rgba(200, 0, 30, 0.45));
    }

    100% {
        filter: drop-shadow(0 0 14px rgba(255, 60, 95, 0.95)) drop-shadow(0 0 28px rgba(255, 20, 60, 0.75));
    }
}

.magic-mirror-wrapper:hover .stone-aura-pulse {
    animation-duration: 2.5s;
    background: radial-gradient(circle, rgba(255, 40, 80, 0.8) 0%, rgba(240, 20, 60, 0.45) 45%, rgba(180, 0, 30, 0.2) 75%, transparent 90%);
}

.magic-mirror-wrapper:hover .philosophers-stone-svg {
    filter: drop-shadow(0 0 16px rgba(255, 50, 90, 1)) drop-shadow(0 0 32px rgba(255, 0, 50, 0.85));
}

.magic-mirror-wrapper:hover .philosophers-stone-wrap {
    opacity: 1 !important;
    filter: blur(0px) brightness(1.1) !important;
    visibility: visible !important;
}

/* ================= RESPONSIVES DESIGN FÜR ALLE GRÖSSEN ================= */
/* Große Bildschirme / Desktops (> 1400px) */
@media (min-width: 1401px) {
    .section-stage-flank {
        width: 240px;
    }
}

/* Laptops / mittlere Bildschirme (1100px - 1400px) */
@media (max-width: 1400px) and (min-width: 1025px) {
    .section-stage-flank {
        width: clamp(140px, 14vw, 190px);
    }

    .stage-container-center {
        max-width: 860px;
    }
}

/* Tablets (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .section-stage-flank {
        width: clamp(90px, 12vw, 130px);
        opacity: 0.85;
        z-index: 1;
    }

    .stage-platform .flank-left {
        z-index: 20;
        will-change: auto;
    }

    .stage-platform .flank-right {
        z-index: 20;
    }

    #hero.stage-platform {
        min-height: calc(clamp(90px, 12vw, 130px) * 1768 / 454 - 2.5rem);
    }

    .stage-greathall-flank {
        top: clamp(1.2rem, 2vw + 0.4rem, 2.5rem);
        bottom: -18rem;
        z-index: 10;
    }

    .stage-quidditch-flank {
        bottom: -6rem;
    }

    .stage-keller-flank {
        top: -7rem;
    }

    .hogwarts-express-train {
        left: clamp(1.5rem, 3vw, 3rem);
        width: clamp(140px, 16vw, 200px);
        opacity: 0.9;
    }

    .stage-container-center {
        max-width: 90%;
    }

    .shadow-figure-wrapper {
        width: clamp(140px, 15vw, 200px);
        right: clamp(1.5rem, 3.5vw, 4rem);
        bottom: 0.5rem;
    }

    .magic-mirror-wrapper {
        width: clamp(120px, 13vw, 175px);
        left: clamp(1.5rem, 3.5vw, 4rem);
        bottom: 0.5rem;
    }
}

/* Standard-Ausblendung für reine Mobil-/Hochformat-Hilfselemente auf Desktop */
.mobile-title-break,
.quiz-options-pagination,
.candles-container .candle.candle-mobile-top {
    display: none;
}

/* Smartphones / Kleine Bildschirme (<= 768px) */
@media (max-width: 768px) {
    .main-content {
        padding: 1.75rem 1rem 5.5rem;
    }

    .section-staged {
        margin-bottom: 3rem;
    }

    /* Zeilenumbruch-Helfer für mobile Überschriften aktivieren */
    .mobile-title-break {
        display: inline;
    }

    /* 1. Alle Bühnen-Flanken exakt bündig am echten Bildschirmrand (0px Viewport-Kante) starten lassen */
    .stage-platform .flank-left,
    .stage-greathall-flank.flank-left,
    .stage-quidditch-flank.flank-left,
    .stage-keller-flank.flank-left {
        left: calc((100% - 100vw) / 2) !important;
    }

    .stage-platform .flank-right,
    .stage-greathall-flank.flank-right,
    .stage-quidditch-flank.flank-right,
    .stage-keller-flank.flank-right {
        right: calc((100% - 100vw) / 2) !important;
    }

    /* 2. Keine Loop-Grafiken auf kleinen Monitoren: verhindert den einengenden Rahmen-Effekt */
    .stage-composite-flank .flank-segment-wall,
    .stage-greathall-flank .greathall-segment-loop,
    .stage-quidditch-flank .quidditch-segment-loop,
    .stage-keller-flank .keller-segment-loop {
        display: none !important;
    }

    /* Weiches Auslaufen der Stein-/Holzsäulen dort, wo früher die Loop-Grafiken anschlossen */
    .stage-composite-flank .flank-segment-top,
    .stage-greathall-flank .greathall-segment-top,
    .stage-quidditch-flank .quidditch-segment-field,
    .stage-keller-flank .keller-segment-top {
        -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
    }

    .stage-composite-flank .flank-segment-bottom,
    .stage-keller-flank .keller-segment-bottom {
        -webkit-mask-image: linear-gradient(to top, #000 82%, transparent 100%);
        mask-image: linear-gradient(to top, #000 82%, transparent 100%);
    }

    /* 3. Alle Randgrafiken liegen ÜBER den Containern (z-index: 20 > Container z-index: 15),
          damit die Container organisch eingebettet wirken; pointer-events: none garantiert klickbare Buttons */
    .section-stage-flank {
        width: clamp(82px, 22vw, 125px);
        opacity: 0.96;
        z-index: 20 !important;
        pointer-events: none !important;
    }

    /* --- BÜHNE 1: GLEIS 9 3/4 & HOGWARTS EXPRESS --- */
    /* Mehr Abstand nach unten (padding-bottom: 13.5rem), damit station_end_9_3_4 + Hogwarts Express
       (sowie alle folgenden Sektionen & Grafiken) weiter nach unten rücken und der Express
       den untersten Button ("Party-Fotos ansehen") nicht verdeckt, sondern nur den unteren Container-Rand überlappt */
    #hero.stage-platform {
        min-height: auto;
        padding-top: 4.8rem;
        padding-bottom: 13.5rem;
        margin-bottom: 0;
    }

    .stage-platform .flank-left,
    .stage-platform .flank-right {
        top: -1.75rem;
        bottom: 0;
        width: clamp(84px, 23vw, 128px);
        justify-content: space-between;
        z-index: 20 !important;
        pointer-events: none !important;
    }

    /* Hogwarts Express:
       - Exakt in der Lücke platziert, wo linke & rechte Stationsgrafik aufeinandertreffen (Lokomotive bei ~67% der Bildbreite -> translateX(-67%) bei 50vw)
       - Liegt HINTER beiden Stationsgrafiken (z-index: 2 < flank-segment-bottom z-index: 5 sowie hinter flank-right)
       - Etwas weiter nach oben gesetzt (bottom: 2.2rem), sodass er schön über dem unteren Container-Bereich thront */
    .hogwarts-express-train {
        left: 50vw;
        transform: translateX(-67%);
        background-position: bottom center;
        bottom: 2.2rem;
        width: clamp(185px, 50vw, 255px);
        opacity: 0.98;
        z-index: 2;
        pointer-events: none !important;
    }

    /* --- BÜHNE 2: DIE GROSSE HALLE --- */
    /* Großzügiger Himmel oben (padding-top: 11.5rem) innerhalb der Großen-Halle-Sektion,
       damit die Galaxie & die 3 Kerzen frei oberhalb des Containers sichtbar sind */
    .great-hall-stage-wrapper {
        padding-top: 11.5rem;
    }

    /* greathall_top sanft nach oben geschoben (top: -1.8rem), sodass die Lücke geschlossen ist, ohne zu weit oben zu sitzen */
    .stage-greathall-flank.flank-left,
    .stage-greathall-flank.flank-right {
        top: -1.8rem;
        bottom: auto;
        width: clamp(72px, 19vw, 108px);
        z-index: 20 !important;
        opacity: 0.94;
        pointer-events: none !important;
    }

    /* --- BÜHNE 3: QUIDDITCH-FELD --- */
    .quidditch-stage-wrapper {
        padding-top: 5.2rem;
        padding-bottom: 1.5rem;
    }

    /* Quidditch-Flanken bleiben auf z-index: 5 UNTER dem Container (z-index: 15),
       damit "Watch-Party & Serien Termine" + Untertitel klar über den Grafiken liegen */
    .stage-quidditch-flank.flank-left,
    .stage-quidditch-flank.flank-right {
        top: -1.5rem;
        bottom: auto;
        width: clamp(105px, 28vw, 155px);
        z-index: 5 !important;
        opacity: 0.94;
        pointer-events: none !important;
    }

    /* Quidditch-Truhe & Schnatz-Arena auf kleinen Bildschirmen ausblenden */
    #quidditch-chest,
    #snitch-arena {
        display: none !important;
    }

    /* --- BÜHNE 4: KELLERGEWÖLBE, SPIEGEL NERHEGEB & GESTALT --- */
    .gallery-stage-wrapper {
        padding-top: 4.5rem;
        margin-bottom: -5.5rem;
    }

    /* Deutlich größerer unterer Abstand (19.5rem), damit keller_bottum + Spiegel + Mantel
       als gemeinsame Einheit weit genug unterhalb des "Vorherige"-Buttons stehen */
    .gallery-stage-wrapper #gallery-section {
        padding-bottom: 19.5rem;
    }

    .stage-keller-flank.flank-left,
    .stage-keller-flank.flank-right {
        top: -2rem;
        bottom: -1.5rem;
        width: clamp(92px, 25vw, 140px);
        justify-content: space-between;
        opacity: 0.96;
        z-index: 20 !important;
        pointer-events: none !important;
    }

    /* Magischer Spiegel: vergrößert, etwas mehr nach rechts gerückt und ein Stück nach unten (bottom: 0.55rem) versetzt */
    .magic-mirror-wrapper {
        width: clamp(140px, 36vw, 195px);
        left: clamp(2.8rem, 8vw, 5.2rem);
        bottom: 0.55rem;
        pointer-events: none !important;
    }

    .mirror-word {
        font-size: clamp(0.56rem, 0.68vw, 0.78rem);
        letter-spacing: 0.05em;
    }

    .shadow-figure-wrapper {
        width: clamp(128px, 34vw, 180px);
        right: clamp(0.75rem, 4vw, 2rem);
        bottom: 0.35rem;
        pointer-events: none !important;
    }

    .shadow-figure-wrapper::before {
        display: none !important;
        pointer-events: none !important;
    }

    /* 4. Schwebende Kerzen: 3 Kerzen als harmonische Gruppe mit Abstand oben im Freien */
    .candles-container {
        z-index: 4 !important;
    }

    .candles-container .candle.candle-desktop-corridor,
    .candles-container .candle.candle-mobile-hide {
        display: none !important;
    }

    .candles-container .candle.candle-mobile-top {
        display: block !important;
        transform: scale(0.84);
        opacity: 0.92 !important;
    }

    .candles-container .candle.candle-mobile-top-1 {
        left: 33% !important;
        top: 32px !important;
    }

    .candles-container .candle.candle-mobile-top-2 {
        left: 49% !important;
        top: 52px !important;
    }

    .candles-container .candle.candle-mobile-top-3 {
        left: 65% !important;
        top: 38px !important;
    }

    /* 5. Überschriften & Container: liegen auf z-index: 15 UNTER den Randgrafiken (z-index: 20) */
    .stage-container-center {
        width: 100%;
        padding: 0 0.35rem;
        z-index: 15;
        position: relative;
    }

    .section-header {
        max-width: 82%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.85rem;
        padding: 0 0.25rem;
    }

    .section-title {
        font-size: clamp(1.22rem, 4.7vw, 1.58rem);
        letter-spacing: 1px;
        line-height: 1.28;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
    }

    /* Höhere Helligkeit & weicher schwarzer Blur-Schatten hinter den Untertiteln (insb. Watch-Termine) */
    .section-subtitle {
        font-size: 0.98rem;
        line-height: 1.5;
        max-width: 94%;
        margin: 0.5rem auto 0;
        color: #f7f3e8 !important;
        text-shadow:
            0 2px 5px rgba(0, 0, 0, 0.98),
            0 0 12px rgba(0, 0, 0, 0.95),
            0 0 22px rgba(0, 0, 0, 0.9),
            0 0 32px rgba(0, 0, 0, 0.85);
        background: radial-gradient(ellipse at center, rgba(5, 7, 14, 0.58) 0%, rgba(5, 7, 14, 0.28) 65%, transparent 100%);
        padding: 0.3rem 0.6rem;
        border-radius: 10px;
    }

    .gold-divider {
        width: 100px;
        margin: 0.85rem auto 0;
    }

    .hero-banner {
        padding: 2.2rem 1.15rem 2.6rem;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, rgba(20, 24, 40, 0.88) 0%, rgba(12, 14, 24, 0.93) 100%);
        backdrop-filter: blur(6px);
    }

    .hero-title {
        font-size: clamp(1.5rem, 5.8vw, 1.95rem);
        line-height: 1.25;
        margin-bottom: 0.85rem;
        overflow-wrap: break-word;
    }

    .hero-desc {
        font-size: 1.02rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    /* 6. Timer / Countdown: Deutlicher, harmonischer Abstand zu allen Rahmen- & Trennlinien */
    .hero-countdown-box {
        width: 100%;
        max-width: 100%;
        padding: 1.55rem 1.15rem 1.75rem;
        margin: 1.35rem auto 2.15rem;
        gap: 1.1rem;
        box-sizing: border-box;
    }

    .countdown-label {
        font-size: 0.86rem;
        line-height: 1.45;
        padding: 0 0.35rem 0.65rem;
        margin-bottom: 0.15rem;
        border-bottom: 1px solid rgba(211, 166, 37, 0.25);
        width: 100%;
    }

    .countdown-timers {
        gap: 0.55rem;
        width: 100%;
        justify-content: space-evenly;
        padding: 0.35rem 0.2rem 0.15rem;
    }

    .timer-item {
        width: auto;
        min-width: 3.1rem;
        padding: 0.2rem 0.15rem;
    }

    .timer-val {
        font-size: 1.6rem;
        margin-bottom: 0.25rem;
    }

    .timer-unit {
        font-size: 0.7rem;
    }

    /* 6b. Schnell-Links / Rubriken im Hero-Banner: untereinander & exakt gleich breite Rahmen */
    .hero-cta-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
        max-width: 310px;
        margin: 0 auto;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        padding: 0.85rem 1.2rem;
    }

    /* 7. Buch der Zulassung (Teaser-Karte & Eintragen-Formular-Modal für kleine Bildschirme optimiert) */
    .admission-teaser-card {
        padding: 1.65rem 1.15rem;
    }

    .admission-card-content {
        gap: 1.15rem;
    }

    .ancient-book-emblem {
        padding: 1.05rem;
    }

    .ancient-book-svg {
        width: 64px;
        height: 64px;
    }

    .admission-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }

    .admission-title {
        font-size: clamp(1.3rem, 5vw, 1.65rem);
        line-height: 1.28;
        overflow-wrap: break-word;
        margin-bottom: 0.75rem;
    }

    .admission-desc {
        font-size: 0.96rem;
        line-height: 1.55;
        margin-bottom: 1.35rem;
    }

    .admission-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 310px;
        margin: 0 auto;
    }

    .admission-actions .btn,
    .admission-actions .btn-subtle-host {
        width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    /* Modal: Eintragung in das Buch der Zulassung & Gastgeber-Verzeichnis */
    .admission-modal-overlay {
        padding: 0.65rem;
        align-items: center;
    }

    .admission-modal-dialog {
        padding: 1.5rem 1.1rem 1.35rem;
        max-height: 92vh;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .modal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 34px;
        height: 34px;
        font-size: 1rem;
        z-index: 5;
    }

    .admission-modal-header {
        margin-bottom: 1.15rem;
        padding: 0 1.6rem;
    }

    .parchment-seal {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .admission-modal-title {
        font-size: clamp(1.18rem, 4.8vw, 1.42rem);
        line-height: 1.28;
        margin-bottom: 0.3rem;
    }

    .admission-modal-subtitle {
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .admission-lore-note {
        padding: 0.75rem 0.9rem;
        margin-bottom: 1.15rem;
        font-size: 0.86rem;
        line-height: 1.48;
        text-align: left;
    }

    .admission-form .form-group {
        margin-bottom: 0.9rem;
        text-align: left;
    }

    .admission-form .form-group label {
        font-size: 0.78rem;
        line-height: 1.35;
        margin-bottom: 0.32rem;
    }

    .form-grid-2,
    .form-grid-name,
    .form-grid-street {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .magic-input {
        padding: 0.68rem 0.85rem;
        font-size: 0.95rem;
        box-sizing: border-box;
        text-overflow: ellipsis;
    }

    .admission-form .btn-block {
        font-size: 0.92rem;
        line-height: 1.35;
        padding: 0.85rem 1rem;
        margin-top: 0.65rem;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .admission-success-box {
        padding: 1.25rem 0.4rem 0.6rem;
    }

    .quill-success-anim {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }

    .quill-symbol {
        font-size: 2rem;
    }

    .success-title {
        font-size: 1.45rem;
        margin-bottom: 0.75rem;
    }

    .success-text {
        font-size: 0.96rem;
        line-height: 1.55;
        margin-bottom: 1.15rem;
    }

    .success-parchment-hint {
        padding: 0.9rem;
        margin-bottom: 1.35rem;
        font-size: 0.9rem;
    }

    #close-success-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .host-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        margin-bottom: 1.15rem;
    }

    .host-toolbar .btn,
    .host-toolbar .btn-subtle-danger {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .count-badge {
        margin: 0.15rem auto 0;
        text-align: center;
    }

    .admissions-table th,
    .admissions-table td {
        padding: 0.55rem 0.65rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .quiz-wrapper {
        padding: 1.65rem 1.1rem;
    }

    .quiz-question-text {
        font-size: clamp(1.15rem, 4.4vw, 1.4rem);
        line-height: 1.38;
    }

    .result-card {
        padding: 1.6rem 1rem;
    }

    .result-house-title {
        font-size: clamp(1.6rem, 6vw, 2.1rem);
        overflow-wrap: break-word;
    }

    .cert-inner-frame {
        padding: 1.4rem 0.9rem;
    }

    .cert-head {
        font-size: 1.2rem;
    }

    .cert-name {
        font-size: 1.5rem;
    }

    .cert-house-title {
        font-size: 1.65rem;
    }

    /* Galaxie & verzauberte Decke in der Großen Halle:
       Bleibt strikt innerhalb von .great-hall-stage-wrapper (top: 0, ragt nicht in die Station-Sektion hinein)
       und sitzt hoch im freien Himmel oberhalb des Containers "Das Buch der Zulassung", sodass sie frei sichtbar ist */
    .enchanted-clouds-container {
        top: 0;
        height: 680px;
        -webkit-mask-image: linear-gradient(to bottom,
                transparent 0%,
                rgba(0, 0, 0, 0.35) 5%,
                rgba(0, 0, 0, 0.85) 12%,
                #000 20%,
                #000 68%,
                rgba(0, 0, 0, 0.4) 85%,
                transparent 100%);
        mask-image: linear-gradient(to bottom,
                transparent 0%,
                rgba(0, 0, 0, 0.35) 5%,
                rgba(0, 0, 0, 0.85) 12%,
                #000 20%,
                #000 68%,
                rgba(0, 0, 0, 0.4) 85%,
                transparent 100%);
    }

    .enchanted-galaxies-layer {
        top: 0;
        left: 0;
        width: 100%;
        height: 520px;
    }

    .shooting-stars-layer {
        top: 0;
        height: 480px;
        z-index: 6;
    }

    .shooting-star {
        height: 4px;
    }

    .shooting-star::after {
        width: 10px;
        height: 10px;
        box-shadow:
            0 0 12px 5px #ffffff,
            0 0 22px 9px rgba(220, 240, 255, 1),
            0 0 35px 14px rgba(186, 85, 211, 0.95),
            0 0 52px 20px rgba(65, 105, 225, 0.85);
    }

    .galaxy-item.galaxy-major {
        left: 10%;
        top: 2px;
        width: clamp(185px, 50vw, 235px);
    }

    .galaxy-item.galaxy-minor {
        right: 6%;
        top: 22px;
        width: clamp(110px, 30vw, 145px);
    }
}

/* ============================================================
   SPEZIFISCHES HOCHFORMAT-DESIGN FÜR KLEINE BILDSCHIRME
   1. Hauspokal als schlankes horizontales Edelstein-Balkendiagramm
   2. Watch-Termine Einzelkarten-Ansicht mit Zurück/Vorwärts
   3. Party-Galerie Einzelbild-Ansicht mit Zurück/Vorwärts
   ============================================================ */
@media (max-width: 768px) and (orientation: portrait) {

    /* --- 1. HAUSPOKAL ALS SCHLANKES EDELSTEIN-BALKENDIAGRAMM --- */
    .house-cup-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        max-width: 100% !important;
        margin: 0 auto 1.5rem !important;
    }

    .cup-card {
        padding: 0.9rem 1.05rem !important;
        border-radius: 12px !important;
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "header score"
            "bar bar" !important;
        align-items: center !important;
        gap: 0.6rem 0.75rem !important;
        text-align: left !important;
    }

    .cup-card.gryffindor-card {
        border-top: 1px solid var(--border-gold) !important;
        border-left: 5px solid #d32f2f !important;
    }

    .cup-card.slytherin-card {
        border-top: 1px solid var(--border-gold) !important;
        border-left: 5px solid #388e3c !important;
    }

    .cup-card.ravenclaw-card {
        border-top: 1px solid var(--border-gold) !important;
        border-left: 5px solid #1976d2 !important;
    }

    .cup-card.hufflepuff-card {
        border-top: 1px solid var(--border-gold) !important;
        border-left: 5px solid #fbc02d !important;
    }

    .cup-header {
        grid-area: header;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.65rem !important;
        margin-bottom: 0 !important;
    }

    .cup-header .house-shield-badge {
        width: 32px !important;
        height: 38px !important;
        font-size: 1rem !important;
        border-radius: 5px 5px 15px 15px !important;
        flex-shrink: 0;
    }

    .cup-name {
        font-size: 1.05rem !important;
        margin-top: 0 !important;
        letter-spacing: 1px !important;
    }

    .cup-score-plaque {
        grid-area: score;
        margin-top: 0 !important;
        padding: 0.25rem 0.7rem !important;
        border-radius: 6px !important;
    }

    .cup-points {
        font-size: 1.25rem !important;
    }

    .cup-points-label {
        font-size: 0.68rem !important;
    }

    /* Aus dem vertikalen Stundenglas wird eine edle horizontale Edelstein-Leiste */
    .gothic-hourglass {
        grid-area: bar;
        width: 100% !important;
        margin: 0 !important;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75)) !important;
    }

    .hourglass-cap,
    .brass-column,
    .glass-scale {
        display: none !important;
    }

    .hourglass-body {
        width: 100% !important;
        height: 22px !important;
        border-radius: 999px !important;
        border: 1.5px solid rgba(212, 175, 55, 0.7) !important;
        overflow: hidden !important;
        background: #05060a !important;
        box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(211, 166, 37, 0.18) !important;
    }

    .glass-chamber {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        border-radius: 999px !important;
        box-shadow:
            inset 0 3px 6px rgba(0, 0, 0, 0.8),
            inset 0 -3px 6px rgba(0, 0, 0, 0.8) !important;
    }

    .gems-fill {
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        height: 100% !important;
        width: var(--gem-pct, 70%) !important;
        min-height: 0 !important;
        min-width: 14px !important;
        border-radius: 999px !important;
        background-size: cover !important;
        background-position: center center !important;
        transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .gems-fill::before {
        top: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 6px !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7)) !important;
        border-radius: 0 999px 999px 0 !important;
    }

    /* --- 1b. DER SPRECHENDE HUT: EINZELANTWORT-ANSICHT MIT VORWÄRTS & ZURÜCK --- */
    .quiz-options-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    .quiz-options-grid .quiz-option-btn:not(.mobile-active-opt) {
        display: none !important;
    }

    .quiz-options-grid .quiz-option-btn.mobile-active-opt {
        min-height: 7.2rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1.35rem 1.15rem !important;
        animation: fadeInEventCard 0.25s ease-out;
    }

    .quiz-options-pagination {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        margin-top: 1.25rem;
        flex-wrap: nowrap;
        position: relative;
        z-index: 35;
        pointer-events: auto;
    }

    /* --- 2. WATCH-TERMINE: EINZELKARTEN-ANSICHT MIT VORWÄRTS & ZURÜCK --- */
    .events-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .events-grid .event-card:not(.mobile-active-event) {
        display: none !important;
    }

    .events-grid .event-card.mobile-active-event {
        padding: 1.5rem 1.2rem !important;
        animation: fadeInEventCard 0.3s ease-out;
    }

    @keyframes fadeInEventCard {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .events-pagination {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        margin-top: 1.35rem;
        flex-wrap: nowrap;
        position: relative;
        z-index: 35;
        pointer-events: auto;
    }

    /* --- 3. PARTY-GALERIE: EINZELBILD-ANSICHT MIT VORWÄRTS & ZURÜCK --- */
    .upload-box {
        padding: 1.35rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
        max-width: 420px;
        margin: 0 auto;
    }

    .gallery-thumb-wrap {
        height: 250px;
    }

    .gallery-pagination {
        gap: 0.65rem !important;
        margin-top: 1.35rem !important;
        flex-wrap: nowrap !important;
        position: relative !important;
        z-index: 35 !important;
        pointer-events: auto !important;
    }

    .gallery-page-btn {
        padding: 0.55rem 0.95rem !important;
        font-size: 0.85rem !important;
        position: relative;
        z-index: 36;
        pointer-events: auto !important;
    }

    .gallery-page-indicator {
        min-width: 105px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================================
   DRUCKANSICHT: NUR DIE HOGWARTS-URKUNDE DRUCKEN (KEINE WEBSEITE)
   ============================================================ */
@media print {

    /* Alle dekorativen Webseiten-Elemente, Navigation, Hero und Flanken ausblenden */
    body {
        background: #fff !important;
        color: #2c2214 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hogwarts-nav,
    .castle-vertical-stage,
    #hero,
    .enchanted-clouds-container,
    .shooting-stars-layer,
    #magic-canvas,
    #admission-section,
    #house-cup-section,
    #events-section,
    #gallery-section,
    .quiz-house-banner,
    .quiz-start-screen,
    .quiz-active-screen,
    .quiz-thinking-screen,
    .section-header,
    .gold-divider,
    .result-crest,
    .result-title,
    .result-motto,
    .result-desc,
    .points-progress-section,
    .result-actions,
    .btn {
        display: none !important;
    }

    .main-content,
    .great-hall-stage-wrapper,
    #quiz-section,
    .stage-container-center,
    .quiz-container-layout,
    .quiz-wrapper,
    #quiz-result-screen,
    #result-card {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
    }

    .certificate-preview {
        display: block !important;
        width: 100% !important;
        max-width: 680px !important;
        margin: 1.5cm auto !important;
        padding: 3rem 2.5rem !important;
        background: #fdfbf7 !important;
        border: 10px double #8c6d13 !important;
        outline: 2px solid #d3a625 !important;
        outline-offset: -14px !important;
        box-shadow: none !important;
        page-break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    @page {
        size: A4 portrait;
        margin: 1cm;
    }
}

/* ============================================================
   STATUS: EINGETRAGEN IM BUCH DER ZULASSUNG
   ============================================================ */
.admission-confirmed-box {
    background: rgba(14, 20, 18, 0.75);
    border: 1px solid rgba(129, 199, 132, 0.45);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(46, 125, 50, 0.15);
}

.admission-confirmed-badge {
    color: #a5d6a7;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admission-confirmed-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.8rem 0;
}

.adm-detail-tag {
    background: rgba(211, 166, 37, 0.12);
    border: 1px solid rgba(211, 166, 37, 0.35);
    color: #f5eedc;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: var(--font-ui);
}

.admission-confirmed-hint {
    font-size: 0.9rem;
    color: #b0bec5;
    margin-top: 0.6rem;
    line-height: 1.4;
}

.admission-modal-notice {
    background: rgba(46, 125, 50, 0.18);
    border: 1px solid rgba(129, 199, 132, 0.4);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    color: #c8e6c9;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* ============================================================
   STATUS: HAUS BEREITS GEWÄHLT (QUIZ START SCREEN)
   ============================================================ */
.house-assigned-banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(18, 14, 24, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 0.4rem 1.25rem 0.4rem 0.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.house-assigned-banner-pill.house-pill-gryffindor {
    border-color: #b71c1c;
    box-shadow: 0 0 16px rgba(183, 28, 28, 0.4);
}
.house-assigned-banner-pill.house-pill-slytherin {
    border-color: #2e7d32;
    box-shadow: 0 0 16px rgba(46, 125, 50, 0.4);
}
.house-assigned-banner-pill.house-pill-ravenclaw {
    border-color: #1565c0;
    box-shadow: 0 0 16px rgba(21, 101, 192, 0.4);
}
.house-assigned-banner-pill.house-pill-hufflepuff {
    border-color: #fbc02d;
    box-shadow: 0 0 16px rgba(251, 192, 45, 0.4);
}

.house-pill-text {
    font-size: 1.05rem;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.quiz-assigned-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.quiz-repeat-hint {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.98rem;
    color: var(--gold-light);
    font-style: normal;
}


/* ============================================================
   GESCHÜTZTE PARTY-GALERIE & ADMIN-BEREICH (PHASE 4 ERWEITERUNG)
   ============================================================ */
.gallery-auth-gate {
    max-width: 640px;
    margin: 0 auto 2rem;
    padding: 2rem 1.8rem;
    background: linear-gradient(145deg, rgba(22, 16, 12, 0.94), rgba(12, 10, 16, 0.96));
    border: 1px solid rgba(211, 166, 37, 0.45);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), inset 0 0 24px rgba(211, 166, 37, 0.08);
    text-align: center;
}

.gallery-gate-seal {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(211, 166, 37, 0.25), rgba(36, 21, 8, 0.9));
    border: 2px solid var(--gold-primary, #d3a625);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 18px rgba(211, 166, 37, 0.35);
}

.gallery-gate-title {
    font-family: var(--font-heading);
    color: var(--gold-light, #fbe082);
    font-size: 1.45rem;
    margin-bottom: 0.65rem;
}

.gallery-gate-desc {
    color: #d5ccb8;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1.4rem;
}

.gallery-gate-hint {
    display: block;
    margin-top: 0.75rem;
    padding: 0.65rem 0.9rem;
    background: rgba(211, 166, 37, 0.09);
    border: 1px dashed rgba(211, 166, 37, 0.4);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #f3e5ab;
}

.gallery-gate-hint code {
    background: rgba(0, 0, 0, 0.55);
    color: #ffe066;
    padding: 0.12rem 0.45rem;
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.gallery-login-form {
    text-align: left;
}

.gallery-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .gallery-login-grid {
        grid-template-columns: 1fr;
    }
}

.turnstile-container {
    display: none;
    justify-content: center;
    margin: 0;
    min-height: 0;
    height: 0;
    overflow: hidden;
}

.auth-error-msg {
    background: rgba(183, 28, 28, 0.22);
    border: 1px solid #ef5350;
    color: #ffcdd2;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
    margin-bottom: 1rem;
    text-align: center;
}

.gallery-session-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1.15rem;
    background: rgba(20, 32, 22, 0.85);
    border: 1px solid rgba(102, 187, 106, 0.45);
    border-radius: 12px;
}

.session-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #e8f5e9;
    font-size: 0.95rem;
}

.session-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #66bb6a;
    box-shadow: 0 0 8px #66bb6a;
}

.upload-status-msg {
    margin-top: 0.75rem;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
}

.generated-username-box {
    margin: 1.1rem 0;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(211, 166, 37, 0.16), rgba(36, 22, 8, 0.92));
    border: 1px solid var(--gold-primary, #d3a625);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.generated-username-code {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    letter-spacing: 0.14em;
    color: #ffe066;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.25rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 224, 102, 0.5);
}

/* Admin-Bereich Tabs & Formulare */
.admin-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(211, 166, 37, 0.3);
}

.admin-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #d5ccb8;
    border: 1px solid rgba(211, 166, 37, 0.3);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-tab-btn.active,
.admin-tab-btn:hover {
    background: rgba(211, 166, 37, 0.22);
    color: #ffe066;
    border-color: var(--gold-primary, #d3a625);
}

.admin-inline-form {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(211, 166, 37, 0.28);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.admin-inline-form h4 {
    color: var(--gold-light, #fbe082);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
}

.admin-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.admin-form-row .magic-input {
    flex: 1 1 150px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.admin-system-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.admin-stat-card {
    background: rgba(211, 166, 37, 0.08);
    border: 1px solid rgba(211, 166, 37, 0.3);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    text-align: center;
}

.admin-stat-card strong {
    display: block;
    font-size: 1.25rem;
    color: #ffe066;
    margin-top: 0.25rem;
}

/* ================= BÜHNEN-PHASEN-UMSCHALTER & ANTI-FLICKER ================= */
.stage-nav-pill-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}

.stage-pill-btn {
    background: rgba(18, 14, 24, 0.88);
    color: #d5ccb8;
    border: 1px solid rgba(211, 166, 37, 0.4);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stage-pill-btn:hover {
    border-color: var(--gold-light, #ffe066);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211, 166, 37, 0.3);
}

.stage-pill-btn.active {
    background: linear-gradient(135deg, rgba(211, 166, 37, 0.4), rgba(70, 45, 10, 0.65));
    border-color: #ffd54f;
    color: #ffe066;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(211, 166, 37, 0.45);
}

.stage-pill-btn .stage-pill-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 4px rgba(255, 224, 130, 0.5));
}

html.stage-hw-preload #quiz-wrapper {
    display: none !important;
}
html.stage-hw-preload #homework-stage-wrapper {
    display: block !important;
}
html.stage-hw-preload #stage-nav-pill-row {
    display: flex !important;
}


/* ============================================================
   AUFGERÄUMTES EULENPOST-MODAL & ERFOLGS-ANSICHT
   ============================================================ */
.admission-form-desc {
    color: #dfd8c8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    text-align: center;
}

.admission-clean-card {
    background: rgba(18, 12, 7, 0.7);
    border: 1px solid rgba(211, 166, 37, 0.35);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    margin: 1.2rem 0 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.admission-clean-badge {
    font-size: 1.15rem;
    color: #ffe066;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.admission-clean-text {
    font-size: 0.98rem;
    color: #dfd8c8;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.admission-clean-hint {
    font-size: 0.88rem;
    color: #bfaea0;
    font-style: italic;
    line-height: 1.5;
    border-top: 1px solid rgba(211, 166, 37, 0.2);
    padding-top: 0.75rem;
    margin: 0;
}
