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

@font-face {
    font-family: 'Bellefair';
    src: url('../Fonts/Bellefair-Regular.ttf') format('truetype');
    font-display: swap;
}

:root {
    --christmas-red: #C41E3A;
    --christmas-dark-red: #8B1538;
    /* Neues „Gold“ (statt knalligem Gelb) */
    --gold-0: #fff6d1;
    --gold-1: #f7e7a6;
    --gold-2: #e8c86a;
    --gold-3: #f5e3a0;
    --gold-4: #caa34b;
    --gold-5: #fff1c0;
    --gold-6: #e2c063;
    --gold-text: var(--gold-5);
    --gold-glow-soft: rgba(255, 220, 120, 0.25);
    --gold-glow-mid: rgba(255, 190, 60, 0.18);
    --gold-highlight: rgba(255, 255, 255, 0.35);

    --christmas-gold: var(--gold-text);
    --christmas-green: #0B6623;
    --snow-white: #FFFFFF;
    --warm-beige: #F5E6D3;
    --night-blue: #1a1a2e;
    --text-dark: #2c2c2c;
}

body {
    font-family: 'Bellefair', serif;
    font-weight: normal;
    font-size: 18px;
    background-image: url('../Media/weihnachtshaus-hintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #0f1419;
    color: var(--snow-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Einheitliche Schriftstärke */
h1, h2, h3, h4, h5, h6,
strong, b,
.page-title,
.topbar-link {
    font-weight: normal;
}

/* Background video (falls vorhanden) */
.bg-video {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (prefers-reduced-motion: reduce) {
    .bg-video {
        display: none;
    }
}

/* Desktop: fullscreen behalten, Pixeligkeit „kaschieren“ (weicher Film-Look) */
@media (min-width: 900px) {
    .bg-video video {
        /* cover bleibt → großflächig, aber mit leichtem Blur gegen Blockiness */
        filter: blur(6px) saturate(1.08) contrast(1.04) brightness(0.92);
        transform: scale(1.06);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

/* Kopf-Navigation (dezent, ohne „aufgesetzte Box“) */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem 0.75rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
    transition: all 0.4s ease;
}

.topbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.topbar-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 1.2;
    color: var(--gold-text);
    font-size: clamp(1rem, 2.4vw, 1.65rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.topbar-logo-link {
    display: block;
    text-decoration: none;
    width: min(600px, 70vw);
    height: 180px;
    overflow: visible;
    position: relative;
    z-index: 1;
    filter:
        drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 18px rgba(232, 200, 106, 0.12));
    transition: all 0.4s ease;
}

.topbar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(3.0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.topbar-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.5rem;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.85),
        0 2px 10px rgba(255, 220, 120, 0.10);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.topbar-link:hover {
    color: var(--gold-text);
    border-color: rgba(232, 200, 106, 0.5);
}

.topbar-link[aria-current="page"],
.topbar-link.is-active {
    color: var(--gold-text);
    border-color: rgba(232, 200, 106, 0.65);
}

/* Scrolled State - Logo klein links, Nav rechts */
.topbar.scrolled {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.6rem 2rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
}

.topbar.scrolled .topbar-logo-link {
    width: 280px;
    height: 80px;
    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 8px rgba(232, 200, 106, 0.1));
}

.topbar.scrolled .topbar-logo {
    transform: scale(2.8);
}

.topbar.scrolled .topbar-nav {
    margin-top: 0;
    gap: 1.5rem;
}

.topbar.scrolled .topbar-link {
    font-size: 0.95rem;
    padding: 0.2rem 0.4rem;
}

/* Anker-Offset (Topbar ist fixed) */
#top,
#faq,
#main-content,
.faq-block {
    scroll-margin-top: calc(260px + 2rem);
}

/* Snowflakes Animation */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.snowflake {
    position: absolute;
    color: var(--snow-white);
    font-size: 1.5em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    opacity: 0.8;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 1s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 13s;
    animation-delay: 1.5s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 15s;
    animation-delay: 2.5s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 10s;
    animation-delay: 0.3s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 12s;
    animation-delay: 1.2s;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 14s;
    animation-delay: 2.2s;
}

.snowflake:nth-child(10) {
    left: 15%;
    animation-duration: 11s;
    animation-delay: 0.7s;
}

.snowflake:nth-child(11) {
    left: 25%;
    animation-duration: 13s;
    animation-delay: 1.7s;
}

.snowflake:nth-child(12) {
    left: 35%;
    animation-duration: 15s;
    animation-delay: 2.7s;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Main Content */
main {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(260px + 2rem) 2rem 3rem;
    text-align: center;
}

main > * {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0.9rem auto 0.25rem auto;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: visible;
}

.title-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.main-title {
    font-family: 'Bellefair', serif;
    font-size: 5.4rem;
    fill: var(--snow-white);
    letter-spacing: 2px;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8)) 
            drop-shadow(0 0 20px rgba(232, 200, 106, 0.35));
}

.main-title.curved {
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-family: 'Bellefair', serif;
    font-size: 2.6rem;
    fill: var(--christmas-gold);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) 
            drop-shadow(0 0 15px rgba(232, 200, 106, 0.30));
    animation: fadeInUp 1.2s ease-out;
}

.subtitle.curved {
    margin: 0;
}

/* Logo (groß, ohne „aufgesetzte“ Box) */
.logo-big {
    width: min(300px, 54vw);
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter:
        drop-shadow(0 18px 55px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 28px rgba(232, 200, 106, 0.18));
}

/* Startseite: etwas enger an den Titel ziehen */
.logo-big--hero {
    margin: 1.25rem auto 1.25rem;
}

/* Countdown */
.countdown-wrapper {
    margin: 0.75rem 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.countdown-curved {
    width: min(980px, 92vw);
    margin: 0 auto -0.4rem;
}

.countdown-curved-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.countdown-curved-text {
    font-family: 'Bellefair', serif;
    font-size: 56px;
    fill: var(--christmas-gold);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 15px rgba(232, 200, 106, 0.30));
}

.countdown-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
}

.countdown-suffix {
    font-family: 'Bellefair', serif;
    font-size: 3.2rem;
    line-height: 1.05;
    color: var(--gold-text);
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.20),
        0 10px 40px rgba(255, 190, 60, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.25);
    margin-top: -0.35rem;
}

/* Spendenaktion */
.donation-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0;
    text-align: center;
    position: relative;
    padding-top: 0.5rem;
}

.donation-lead {
    color: var(--snow-white);
    font-size: 2.7rem;
    line-height: 1.15;
    margin: 0 auto 1.5rem;
    text-shadow:
        0 2px 10px rgba(255, 255, 255, 0.18),
        0 10px 40px rgba(0, 0, 0, 0.25),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.donation-card {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(232, 200, 106, 0.18);
    backdrop-filter: blur(10px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.30),
        0 2px 10px rgba(255, 220, 120, 0.05);
    padding: 1.1rem 1.1rem 1.15rem;
    text-align: left;
}

.donation-kicker {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.donation-amount {
    color: var(--gold-text);
    font-size: 2.6rem;
    line-height: 1.05;
    margin: 0 0 0.7rem;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.16),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.donation-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    line-height: 1.55;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

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

/* Cards (unter dem Countdown) */
.cards-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0;
    text-align: center;
    position: relative;
    padding-top: 2rem;
}

/* Divider zwischen Countdown und Karten (symmetrischer Abstand) */
.section-divider {
    width: min(820px, 92vw);
    height: 1px;
    margin: 2rem auto;
    background: linear-gradient(90deg, transparent 0%, rgba(232, 200, 106, 0.45) 50%, transparent 100%);
    opacity: 0.95;
}

.cards-kicker {
    color: var(--gold-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.18),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.cards-lead {
    color: var(--snow-white);
    font-size: 2.7rem;
    line-height: 1.15;
    margin: 0 auto 1.5rem;
    text-shadow:
        0 2px 10px rgba(255, 255, 255, 0.18),
        0 10px 40px rgba(0, 0, 0, 0.25),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.card {
    text-align: left;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(232, 200, 106, 0.22);
    backdrop-filter: blur(10px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 2px 10px rgba(255, 220, 120, 0.06);
    transform: translateY(0);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 200, 106, 0.35);
    background: rgba(0, 0, 0, 0.22);
}

.card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: rgba(0, 0, 0, 0.2);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

.card-title {
    margin: 1rem 1rem 0.25rem;
    color: var(--gold-text);
    font-size: 1.8rem;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.16),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.card-text {
    margin: 0 1rem 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    line-height: 1.55;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.mini-row {
    margin: 1.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 950px;
}

.mini {
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(232, 200, 106, 0.18);
    backdrop-filter: blur(10px);
    padding: 0.9rem 1rem;
    text-align: center;
}

.mini-label {
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.mini-value {
    color: var(--gold-text);
    font-size: 1.4rem;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.16),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.mini-link {
    color: var(--gold-text);
    text-decoration: none;
    font-size: 1.4rem;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.16),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.mini-link:hover {
    color: var(--snow-white);
}

/* Stats */
.stats {
    margin: 0 auto 2.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 950px;
}

.stat {
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(232, 200, 106, 0.18);
    backdrop-filter: blur(10px);
    padding: 1rem 1rem 1.05rem;
    text-align: center;
}

.stat-label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.stat-value {
    color: var(--gold-text);
    font-size: 2.2rem;
    line-height: 1.05;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.16),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.count-up {
    color: inherit;
}

.countdown-label {
    font-family: 'Bellefair', serif;
    font-size: 2.8rem;
    margin: 0.5rem 0;
    color: #fff1c0;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.25),
        0 10px 40px rgba(255, 190, 60, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.35),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.countdown-number {
    font-family: 'Bellefair', serif;
    font-size: 24rem;
    margin: 1rem 0;
    line-height: 1;
    letter-spacing: -0.06em;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    margin-left: auto;
    margin-right: auto;

    /* „Glow" + Tiefe (wirken auf die Walze insgesamt) */
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.20),
        0 10px 40px rgba(255, 190, 60, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.25);

    /* Optional: etwas „metallischer" Eindruck */
    filter: saturate(1.05) contrast(1.05);

    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

/* Zahlenwalze */
.countdown-number .digit {
    position: relative;
    width: 0.94em;
    height: 1em;
    overflow: hidden;
    display: inline-block;
}

/* Minimal mehr seitliche Luft, damit Serifen/Überhänge nicht abgeschnitten werden */
.countdown-number .digit-strip span {
    padding: 0 0.03em;
}

.countdown-number .digit-strip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(calc(var(--idx, 10) * -1em));
    transition: transform 110ms cubic-bezier(0.18, 0.7, 0.24, 1);
    will-change: transform;
}

.countdown-number .digit-strip.no-transition {
    transition: none;
}

.countdown-number .digit-strip span {
    display: block;
    width: 100%;
    height: 1em;
    line-height: 1em;
    text-align: center;

    /* Gold + Glitzer direkt pro Ziffer (kein Overlay → kein „Schatten-Digit“) */
    background-image:
        linear-gradient(
            180deg,
            var(--gold-0) 0%,
            var(--gold-1) 18%,
            var(--gold-2) 36%,
            var(--gold-3) 52%,
            var(--gold-4) 70%,
            var(--gold-5) 86%,
            var(--gold-6) 100%
        ),
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 38%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 62%,
            rgba(255, 255, 255, 0) 100%
        );
    background-size: 100% 100%, 220% 100%;
    background-position: 0 0, -35% 0;
    background-repeat: no-repeat;
    background-blend-mode: screen;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: goldShimmer 3.8s ease-in-out infinite;
}

.countdown-number .digit.is-hidden {
    width: 0;
    opacity: 0;
    margin: 0;
}

@keyframes goldShimmer {
    0%   { background-position: 0 0, -35% 0; }
    100% { background-position: 0 0, 35% 0; }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}


/* Info Items */
.info-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 5rem 0;
    max-width: 90%;
}

.info-item {
    flex: 0 1 300px;
    text-align: center;
    padding: 1.5rem;
    animation: fadeInUp 1.4s ease-out;
    position: relative;
}

/* dezente „Aura“ hinter jedem Punkt (keine Box/Karte) */
.info-item::before {
    content: "";
    position: absolute;
    inset: -0.75rem -0.75rem;
    background: radial-gradient(ellipse 60% 60% at 50% 30%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.0) 70%);
    filter: blur(2px);
    z-index: -1;
}

.info-item:nth-child(2) {
    animation-delay: 0.2s;
}

.info-item:nth-child(3) {
    animation-delay: 0.4s;
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px rgba(232, 200, 106, 0.35));
}

.info-item h2 {
    font-family: 'Bellefair', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--gold-text);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(255, 220, 120, 0.20),
        0 10px 40px rgba(255, 190, 60, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

/* kleines Ornament/Unterstreichung in Gold */
.info-item h2::after {
    content: "❦";
    display: block;
    margin: 0.35rem auto 0;
    font-size: 1.2rem;
    color: var(--gold-3);
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.22),
        0 10px 30px rgba(255, 190, 60, 0.12);
    opacity: 0.9;
}

.info-item p {
    font-family: 'Bellefair', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--snow-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Opening Date */
.opening-date {
    margin-top: 4rem;
    padding: 0;
}

.opening-text {
    font-family: 'Bellefair', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--snow-white);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.2);
}

.opening-date-text {
    font-family: 'Bellefair', serif;
    font-size: 3.5rem;
    color: var(--gold-text);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(255, 220, 120, 0.22),
        0 10px 40px rgba(255, 190, 60, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.25);
}

/* FAQ */
.faq-block {
    width: 100%;
    max-width: 1200px;
    margin: 3.5rem auto 0;
    text-align: center;
    position: relative;
}

.faq-lead {
    color: var(--snow-white);
    font-size: 2.7rem;
    line-height: 1.15;
    margin: 0 auto 1.5rem;
    text-shadow:
        0 2px 10px rgba(255, 255, 255, 0.18),
        0 10px 40px rgba(0, 0, 0, 0.25),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* (Legacy) Multi-Category Wrapper – wird im TYPO3-Template nicht mehr genutzt,
   bleibt aber kompatibel, falls alte Markups auftauchen. */
.faq-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

/* FAQ innerhalb des Rasters: volle Spaltenbreite nutzen */
.ch-grid12-col .faq-block {
    max-width: none;
    margin: 0;
    text-align: left;
}

/* Raster (Mehrspaltig) */
.ch-grid-block {
    width: 100%;
    max-width: 1200px;
    margin: 3.5rem auto 0;
}

.ch-grid12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.ch-grid12-col {
    --ch-col-span: 12;
    grid-column: span var(--ch-col-span);
    min-width: 0;
}

@media (max-width: 1100px) {
    .ch-grid12-col {
        grid-column: span 6;
    }
}

@media (max-width: 760px) {
    .ch-grid12-col {
        grid-column: span 12;
    }
}

.faq-category {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(232, 200, 106, 0.18);
    backdrop-filter: blur(10px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.30),
        0 2px 10px rgba(255, 220, 120, 0.05);
    padding: 1rem 1rem 1.05rem;
    text-align: left;
}

.faq-category-title {
    margin: 0.25rem 0 0.85rem;
    color: var(--gold-text);
    font-size: 1.6rem;
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.14),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.faq-item {
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(232, 200, 106, 0.14);
    padding: 0.85rem 0.9rem;
    margin: 0.65rem 0;
}

.faq-item[open] {
    border-color: rgba(232, 200, 106, 0.30);
    background: rgba(0, 0, 0, 0.16);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.35;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
    padding-right: 1.8rem;
    user-select: none;
}

/* Hide default marker (Chromium) */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--gold-text);
    font-size: 1.6rem;
    line-height: 1;
    transform: translateY(0.05rem);
    text-shadow:
        0 2px 10px rgba(255, 220, 120, 0.16),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-answer {
    padding-top: 0.65rem;
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.1rem;
    line-height: 1.55;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
    .faq-categories {
        grid-template-columns: 1fr;
    }
}

/* Footer (schmaler Balken) */
footer {
    position: relative;
    z-index: 100;
    background: rgba(139, 21, 56, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0;
    margin-top: 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: 'Bellefair', serif;
}

.footer-links {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: 'Bellefair', serif;
    color: var(--snow-white);
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-links a:hover {
    color: var(--gold-text);
}

.footer-links span {
    color: var(--snow-white);
    opacity: 0.5;
}

/* Footer-Spalte (tt_content colPos 10): Menüs/Frames wie die festen Links ausrichten */
.footer-links .frame {
    display: contents;
}

.footer-links .ce-menu ul,
.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links .ce-menu li,
.footer-links li {
    margin: 0;
}

/* Footer: Mehrspalten-Raster hat global .ch-grid-block { margin-top: 3.5rem } – im schmalen Footer weg */
footer .ch-grid-block {
    margin-top: 0;
    margin-bottom: 0;
}

/* Footer: keine Abstände durch Fluid-Styled-Content (frame-space-*, Lineal) */
footer .footer-content [class*="frame-space-before-"] {
    margin-top: 0;
}

footer .footer-content [class*="frame-space-after-"] {
    margin-bottom: 0;
}

footer .footer-content .frame.frame-ruler-before::before,
footer .footer-content .frame.frame-ruler-after::after {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: calc(230px + 2rem) 1.5rem 3rem;
    }

    .title-wrapper {
        height: 190px;
    }

    .main-title {
        font-size: 3.6rem;
    }

    .subtitle {
        font-size: 2.1rem;
    }

    .countdown-number {
        font-size: 14rem;
        letter-spacing: -5px;
    }

    .countdown-label {
        font-size: 2rem;
    }

    .topbar {
        padding: 0.75rem 1rem 0.5rem;
    }

    .topbar-logo-link {
        width: min(500px, 80vw);
        height: 150px;
    }

    .topbar-logo {
        transform: scale(2.8);
    }

    .topbar-nav {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .topbar-link {
        font-size: 0.95rem;
    }

    .topbar.scrolled {
        padding: 0.5rem 1rem;
    }

    .topbar.scrolled .topbar-logo-link {
        width: 220px;
        height: 65px;
    }

    .topbar.scrolled .topbar-logo {
        transform: scale(2.6);
    }

    .topbar.scrolled .topbar-nav {
        gap: 1rem;
    }

    .topbar.scrolled .topbar-link {
        font-size: 0.85rem;
    }

    .countdown-curved-text {
        font-size: 44px;
    }

    .countdown-suffix {
        font-size: 2.5rem;
        margin-top: -0.25rem;
    }

    .donation-lead {
        font-size: 2.2rem;
    }

    .cards-lead {
        font-size: 2.2rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .mini-row {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .stats {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .info-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .info-item {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .faq-lead {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: calc(200px + 2rem) 1rem 3rem;
    }

    .title-wrapper {
        height: 220px;
        padding: 0 0.75rem;
    }

    .main-title {
        font-size: 3.6rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .countdown-number {
        font-size: 12rem;
        letter-spacing: -4px;
    }

    .countdown-label {
        font-size: 1.6rem;
    }

    .topbar {
        padding: 0.5rem 0.75rem 0.4rem;
    }

    .topbar-logo-link {
        width: min(400px, 85vw);
        height: 120px;
    }

    .topbar-logo {
        transform: scale(2.6);
    }

    .topbar-nav {
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .topbar-link {
        font-size: 0.8rem;
        padding: 0.2rem 0.3rem;
    }

    .topbar.scrolled {
        padding: 0.4rem 0.75rem;
    }

    .topbar.scrolled .topbar-logo-link {
        width: 180px;
        height: 55px;
    }

    .topbar.scrolled .topbar-logo {
        transform: scale(2.4);
    }

    .topbar.scrolled .topbar-nav {
        gap: 0.6rem;
    }

    .topbar.scrolled .topbar-link {
        font-size: 0.75rem;
    }

    .countdown-curved-text {
        font-size: 38px;
    }

    .countdown-suffix {
        font-size: 2.1rem;
        margin-top: -0.2rem;
    }

    .logo-big {
        width: min(280px, 74vw);
    }

    .donation-lead {
        font-size: 2rem;
    }

    .opening-date-text {
        font-size: 2.5rem;
    }

    .faq-lead {
        font-size: 2rem;
    }

    .faq-category-title {
        font-size: 1.45rem;
    }

    .faq-item summary {
        font-size: 1.12rem;
    }

    .cards-lead {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .card-text {
        font-size: 1.05rem;
    }
}

/* Page Styles for Impressum, Datenschutz, Kontakt */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 200px);
}

.page-title {
    font-family: 'Bellefair', serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--gold-text);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(255, 220, 120, 0.20),
        0 10px 40px rgba(255, 190, 60, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.25);
}

.page-content {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(232, 200, 106, 0.2);
    line-height: 1.8;
}

/* RTE (CKEditor 5): Textausrichtung – gleiche Klassennamen wie EXT:rte_ckeditor/Resources/Public/Css/contents.css */
.text-left,
.text-start {
    text-align: start;
}

.text-center {
    text-align: center;
}

.text-right,
.text-end {
    text-align: end;
}

.text-justify {
    text-align: justify;
}

/* Unterseiten: mehrere Fluid-Styled-Content-Elemente statt eines großen HTML-Blocks */
.page-container > .frame.frame-type-text,
.page-container > .frame.frame-type-html {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(232, 200, 106, 0.2);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-align: left;
}

.page-container > .frame.frame-type-text:last-child,
.page-container > .frame.frame-type-html:last-child {
    margin-bottom: 0;
}

.page-container .frame-type-text header h2,
.page-container .frame-type-text header h3,
.page-container .frame-type-text header h4 {
    font-family: 'Bellefair', serif;
    color: var(--gold-text);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.page-container .frame-type-text header h3 {
    font-size: 1.5rem;
    color: var(--snow-white);
}

.page-container .frame-type-text .ce-bodytext > *:first-child {
    margin-top: 0;
}

.page-container .frame-type-text p,
.page-container .frame-type-html p {
    font-family: 'Bellefair', serif;
    margin-bottom: 1rem;
    color: var(--snow-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-container .frame-type-text .ce-bodytext h2,
.page-container .frame-type-text > h2 {
    font-family: 'Bellefair', serif;
    color: var(--gold-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.page-container .frame-type-text h3 {
    font-family: 'Bellefair', serif;
    color: var(--snow-white);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.page-container .frame-type-text a,
.page-container .frame-type-html a {
    color: var(--gold-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-container .frame-type-text a:hover,
.page-container .frame-type-html a:hover {
    color: var(--snow-white);
    text-decoration: underline;
}

.page-container .frame-type-text ul,
.page-container .frame-type-html ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--snow-white);
}

.page-container .frame-type-text li,
.page-container .frame-type-html li {
    margin-bottom: 0.5rem;
}

/* Galerie-/Sonder-HTML: volle Breite, weniger „Doppelkasten“ am Rand */
.page-container > .frame.frame-type-html .gallery-section {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.gallery-section {
    margin: 2.5rem auto 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.gallery-empty-hint {
    text-align: center;
    padding: 1rem 0.5rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.55;
}

.gallery-title {
    font-family: 'Bellefair', serif;
    color: var(--gold-text);
    margin-bottom: 1rem;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(255, 220, 120, 0.18);
}

.gallery-year h3 {
    color: var(--snow-white);
    margin: 0 0 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.9rem;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(232, 200, 106, 0.2);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(255, 220, 120, 0.05);
    transform: translateY(8px);
    opacity: 0;
    animation: galleryFadeUp 0.6s ease forwards;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.12) 40%, rgba(255, 255, 255, 0) 65%);
    opacity: 0;
    transform: translateX(-30%);
    transition: opacity 0.35s ease, transform 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 200, 106, 0.35);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 4px 16px rgba(255, 220, 120, 0.08);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateX(30%);
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.10s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.20s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.30s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }
.gallery-item:nth-child(8) { animation-delay: 0.40s; }
.gallery-item:nth-child(9) { animation-delay: 0.45s; }
.gallery-item:nth-child(10) { animation-delay: 0.50s; }
.gallery-item:nth-child(11) { animation-delay: 0.55s; }
.gallery-item:nth-child(12) { animation-delay: 0.60s; }
.gallery-item:nth-child(13) { animation-delay: 0.65s; }
.gallery-item:nth-child(14) { animation-delay: 0.70s; }
.gallery-item:nth-child(15) { animation-delay: 0.75s; }

@keyframes galleryFadeUp {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 60;
    padding: 2rem;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
}

.gallery-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-modal-image {
    max-width: min(92vw, 1200px);
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.97);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-modal.is-open .gallery-modal-image {
    transform: scale(1);
    opacity: 1;
}

.gallery-modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-modal-prev {
    left: 1.5rem;
}

.gallery-modal-next {
    right: 1.5rem;
}

.gallery-modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.gallery-modal-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.page-content h2 {
    font-family: 'Bellefair', serif;
    color: var(--gold-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.page-content h3 {
    font-family: 'Bellefair', serif;
    color: var(--snow-white);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.page-content p {
    font-family: 'Bellefair', serif;
    margin-bottom: 1rem;
    color: var(--snow-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-content a {
    color: var(--gold-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--snow-white);
    text-decoration: underline;
}

.page-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--snow-white);
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(232, 200, 106, 0.25);
}

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

.form-group label {
    font-family: 'Bellefair', serif;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-text);
    font-size: 1.3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(232, 200, 106, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--snow-white);
    font-size: 1rem;
    font-family: 'Bellefair', serif;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-2);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    font-family: 'Bellefair', serif;
    background: linear-gradient(135deg, var(--christmas-red), var(--christmas-dark-red));
    color: var(--snow-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ——— TYPO3 Form Framework (EXT:form) – gleicher Look wie Legacy .contact-form ——— */
.page-container [class*="frame-type-form"] form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(232, 200, 106, 0.25);
    text-align: left;
}

.page-container [class*="frame-type-form"] form > h2 {
    font-family: 'Bellefair', serif;
    color: var(--gold-text);
    margin: 0 0 1.25rem;
    font-size: 2rem;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(255, 220, 120, 0.18);
}

.page-container [class*="frame-type-form"] .form-element {
    margin-bottom: 1.5rem !important;
}

.page-container [class*="frame-type-form"] .form-element label {
    font-family: 'Bellefair', serif;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-text);
    font-size: 1.3rem;
}

.page-container [class*="frame-type-form"] .form-element .required {
    color: var(--gold-2);
    margin-left: 0.15em;
}

.page-container [class*="frame-type-form"] .form-control,
.page-container [class*="frame-type-form"] .form-select {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(232, 200, 106, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--snow-white);
    font-size: 1rem;
    font-family: 'Bellefair', serif;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.page-container [class*="frame-type-form"] .form-control:focus,
.page-container [class*="frame-type-form"] .form-select:focus {
    outline: none;
    border-color: var(--gold-2);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 1px rgba(232, 200, 106, 0.25);
}

.page-container [class*="frame-type-form"] .form-control::placeholder,
.page-container [class*="frame-type-form"] .form-select::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.page-container [class*="frame-type-form"] textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.page-container [class*="frame-type-form"] .form-control.is-invalid,
.page-container [class*="frame-type-form"] .form-select.is-invalid,
.page-container [class*="frame-type-form"] .form-element.is-invalid .form-control {
    border-color: rgba(255, 120, 120, 0.85);
    box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.35);
}

.page-container [class*="frame-type-form"] .invalid-feedback,
.page-container [class*="frame-type-form"] [role="alert"] {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: #ffb4b4;
}

.page-container [class*="frame-type-form"] .form-text {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.page-container [class*="frame-type-form"] .actions {
    margin-top: 0.5rem;
}

.page-container [class*="frame-type-form"] .form-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
}

.page-container [class*="frame-type-form"] .form-navigation .btn {
    font-family: 'Bellefair', serif;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-container [class*="frame-type-form"] .form-navigation .btn-primary {
    background: linear-gradient(135deg, var(--christmas-red), var(--christmas-dark-red));
    color: var(--snow-white);
    border: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-container [class*="frame-type-form"] .form-navigation .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.page-container [class*="frame-type-form"] .form-navigation .btn-outline-primary {
    background: transparent;
    color: var(--gold-text);
    border: 2px solid rgba(232, 200, 106, 0.45);
}

.page-container [class*="frame-type-form"] .form-navigation .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--snow-white);
    border-color: rgba(232, 200, 106, 0.65);
}

.page-container [class*="frame-type-form"] .form-check {
    text-align: left;
}

.page-container [class*="frame-type-form"] .form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    border: 2px solid rgba(232, 200, 106, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.page-container [class*="frame-type-form"] .form-check-label {
    font-size: 1.05rem;
    color: var(--snow-white);
    padding-left: 0.35rem;
}

.page-container [class*="frame-type-form"] fieldset {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    box-shadow: none;
}

.page-container [class*="frame-type-form"] fieldset + fieldset {
    margin-top: 2rem;
}

.page-container [class*="frame-type-form"] fieldset legend {
    display: block;
    width: 100%;
    float: none;
    padding: 0;
    margin: 2.5rem 0 1rem;
    border: none;
    font-family: 'Bellefair', serif;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: normal;
    color: var(--gold-text);
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(255, 220, 120, 0.18),
        0 10px 40px rgba(255, 190, 60, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.25);
}

