/* =========================
   1) ROOT / FARBEN / BASIS
   ========================= */

:root {
    --bg-board: #0f2810;
    --bg-board-dark: #0a1c0b;
    --bg-glass: rgba(8, 20, 10, 0.72);
    --bg-glass-soft: rgba(8, 20, 10, 0.42);
    --text-chalk: #f5f3ea;
    --text-chalk-soft: #ddd7c8;
    --text-muted: #bdb6a4;
    --snake-white: #f8f4ea;
    --snake-cream: #efe7d2;
    --accent-red: #b31217;
    --accent-red-soft: #d63a3f;
    --accent-red-dark: #7e0d12;
    --border-chalk: rgba(245, 243, 234, 0.18);
    --border-red: rgba(179, 18, 23, 0.28);
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.28);
    --shadow-strong: 0 10px 28px rgba(0, 0, 0, 0.42);
    --content-width: 1600px;
    --radius-card: 18px;
    --radius-soft: 12px;
}

/* =========================
   2) GLOBAL / GRUNDEINSTELLUNGEN
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-board);
    background-image: url("../images/chalk-texture.png"), radial-gradient(circle at center, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.35));
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
    color: var(--text-chalk);
    font-family: Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    color: var(--snake-white);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.3;
    color: var(--snake-white);
}

h4 {
    font-size: 1rem;
    line-height: 1.3;
}

p {
    line-height: 1.7;
    color: var(--text-chalk-soft);
    margin-top: 0;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.highlight {
    color: var(--accent-red);
    font-weight: 700;
}

a {
    color: var(--snake-white);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

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

img {
    max-width: 100%;
    display: block;
}

main {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 40px 40px 60px;
}

section {
    padding: 40px 0;
}

/* =========================
   3) WIEDERVERWENDBARE BAUSTEINE
   ========================= */

.content-card {
    background: linear-gradient(rgba(8, 20, 10, 0.68), rgba(8, 20, 10, 0.68)), url("../images/chalk-texture.png");
    background-size: cover;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-chalk);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

    .content-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(179, 18, 23, 0.06), transparent 28%), radial-gradient(circle at bottom left, rgba(248, 244, 234, 0.04), transparent 30%);
        pointer-events: none;
    }

.soft-panel {
    background: var(--bg-glass-soft);
    border-radius: var(--radius-soft);
}

.glass-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-red);
    box-shadow: var(--shadow-strong);
    border-radius: var(--radius-card);
}

.ui-card {
    background: rgba(8, 20, 10, 0.72);
    border: 1px solid rgba(245, 243, 234, 0.14);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.ui-card-strong {
    background: rgba(8, 20, 10, 0.72);
    border: 1px solid var(--border-red);
    border-radius: 22px;
    box-shadow: var(--shadow-strong);
}

.ui-pill {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.page-intro {
    margin-bottom: 32px;
    text-align: center;
}

    .page-intro h1 {
        margin-bottom: 12px;
    }

    .page-intro p {
        max-width: 760px;
        margin: 0 auto;
        color: var(--text-chalk-soft);
    }

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border: 1px solid var(--border-red);
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.08);
    color: var(--accent-red-soft);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.back-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-chalk);
    background: var(--bg-glass);
    border: 1px solid var(--border-chalk);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

    .back-button:hover {
        border-color: var(--border-red);
        transform: translateY(-2px);
    }

/* =========================
   4) HEADER / NAVIGATION
   ========================= */

.site-header {
    padding: 12px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 20, 10, 0.82);
    border-bottom: 1px solid rgba(245, 243, 234, 0.14);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28));
    border-radius: 50%;
    border: 1px solid var(--border-chalk);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.10), 0 6px 16px rgba(0, 0, 0, 0.24);
}

    .logo-box img {
        max-width: 44px;
        max-height: 44px;
        width: auto;
        height: auto;
    }

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

    .main-nav a {
        color: var(--snake-white);
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.3px;
        position: relative;
    }

        .main-nav a:hover {
            color: var(--accent-red);
            opacity: 0.95;
            transform: translateY(-1px);
        }

        .main-nav a.active {
            color: var(--accent-red);
        }

            .main-nav a.active::after,
            .main-nav a:hover::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: -6px;
                width: 100%;
                height: 2px;
                background: var(--accent-red);
                border-radius: 2px;
            }

/* =========================
   5) FOOTER
   ========================= */

.site-footer {
    margin-top: 60px;
    background: linear-gradient(180deg, rgba(10, 28, 11, 0.96), rgba(6, 16, 7, 0.98)), repeating-linear-gradient( -2deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 10px );
    border-top: 1px solid rgba(245, 243, 234, 0.12);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand h3,
.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    margin: 0 0 12px;
    color: var(--snake-white);
}

.footer-brand h3 {
    font-size: 1.4rem;
    letter-spacing: 0.04em;
}

.footer-brand p,
.footer-links a,
.footer-legal a,
.footer-contact a,
.footer-bottom p {
    color: #d8d2c4;
}

.footer-brand p {
    margin: 0;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links,
.footer-legal,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links a,
    .footer-legal a,
    .footer-contact a {
        text-decoration: none;
    }

        .footer-links a:hover,
        .footer-legal a:hover,
        .footer-contact a:hover {
            color: var(--accent-red);
            transform: translateX(3px);
        }

.footer-bottom {
    border-top: 1px solid rgba(245, 243, 234, 0.10);
    padding: 16px 24px 22px;
    text-align: center;
}

    .footer-bottom p {
        margin: 0;
        font-size: 0.95rem;
    }

/* =========================
   6) HOME
   ========================= */

.home .top-section {
    margin-bottom: 10px;
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
    gap: 34px;
    align-items: center;
    padding: 34px;
}

.hero-card-text h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    color: var(--snake-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-card-text p {
    max-width: 34ch;
}

    .hero-card-text p:last-child {
        margin-bottom: 0;
    }

.hero-card-logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    padding: 20px;
    border-radius: 22px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.22)), rgba(8, 20, 10, 0.45);
    border: 1px solid var(--border-red);
    box-shadow: var(--shadow-strong);
}

    .hero-card-logo img {
        max-width: 320px;
        width: 100%;
        height: auto;
        filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.4));
        transition: transform 0.3s ease, filter 0.3s ease;
        animation: floatLogo 4s ease-in-out infinite;
    }

        .hero-card-logo img:hover {
            transform: translateY(-6px) scale(1.02);
            filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.5));
        }

@keyframes floatLogo {
    0% {
        transform: translateY(0);
    }

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

    100% {
        transform: translateY(0);
    }
}

.classroom-map-section {
    width: 100%;
    margin: 36px auto 0;
}

.classroom-map-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.classroom-map-intro {
    margin-bottom: 26px;
}

    .classroom-map-intro h2 {
        margin: 0 0 10px;
    }

    .classroom-map-intro p {
        margin: 0;
        color: var(--text-muted);
        max-width: 720px;
        line-height: 1.6;
    }

.classroom-map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.classroom-spot {
    position: relative;
    display: block;
    min-height: 230px;
    padding: 24px;
    border-radius: 22px;
    color: var(--text-chalk);
    border: 1px solid var(--border-chalk);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    overflow: hidden;
}

    .classroom-spot::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(179, 18, 23, 0.12), transparent 35%), radial-gradient(circle at bottom left, rgba(248, 244, 234, 0.06), transparent 35%);
        pointer-events: none;
    }

    .classroom-spot:hover {
        transform: translateY(-6px);
        border-color: rgba(179, 18, 23, 0.45);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
        filter: brightness(1.03);
    }

    .classroom-spot:focus-visible {
        outline: 2px solid var(--accent-red);
        outline-offset: 3px;
    }

    .classroom-spot h3,
    .classroom-spot p,
    .spot-label {
        position: relative;
        z-index: 1;
    }

    .classroom-spot h3 {
        margin: 14px 0 10px;
        color: var(--snake-white);
    }

    .classroom-spot p {
        margin: 0;
        color: var(--text-muted);
        max-width: 28ch;
    }

.spot-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--snake-cream);
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(245, 243, 234, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.spot-board {
    background: linear-gradient(180deg, rgba(7, 24, 10, 0.84), rgba(7, 24, 10, 0.64)), repeating-linear-gradient( -2deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 11px );
}

.spot-terrarium {
    background: linear-gradient(180deg, rgba(8, 20, 10, 0.8), rgba(8, 20, 10, 0.58)), radial-gradient(circle at 80% 20%, rgba(179, 18, 23, 0.14), transparent 25%), radial-gradient(circle at 20% 80%, rgba(248, 244, 234, 0.08), transparent 30%);
}

.spot-cabinet {
    background: linear-gradient(180deg, rgba(20, 16, 10, 0.78), rgba(12, 10, 8, 0.62)), linear-gradient(90deg, rgba(245, 243, 234, 0.04), rgba(0, 0, 0, 0) 30%);
}

.spot-desk {
    background: linear-gradient(180deg, rgba(16, 12, 8, 0.76), rgba(10, 8, 6, 0.6)), radial-gradient(circle at top left, rgba(179, 18, 23, 0.12), transparent 28%);
}

.home .streamplan {
    width: 100%;
}

    .home .streamplan h2 {
        margin-bottom: 10px;
    }

    .home .streamplan p {
        margin-bottom: 20px;
    }

/* =========================
   7) HOME / KALENDER
   ========================= */

.calendar-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-red);
    color: var(--snake-white);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

    .calendar-nav-btn:hover {
        transform: translateY(-2px);
        background: rgba(179, 18, 23, 0.18);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    }

.calendar-wrapper {
    overflow-x: auto;
}

.calendar-grid {
    width: 100%;
}

.home .calendar {
    background: linear-gradient(rgba(8, 20, 10, 0.85), rgba(8, 20, 10, 0.85)), url("../images/chalk-texture.png");
    background-size: cover;
    border: 1px solid var(--border-chalk);
    border-radius: 22px;
    padding: 26px;
    margin-top: 24px;
    box-shadow: var(--shadow-soft), inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.home .calendar-header {
    flex: 1;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--snake-white);
    letter-spacing: 0.4px;
    text-shadow: 0 0 8px rgba(179, 18, 23, 0.2), 0 2px 10px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.home .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.home .day-name {
    background: rgba(20, 60, 20, 0.9);
    color: var(--snake-white);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-chalk);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.home .day {
    background: rgba(10, 25, 10, 0.95);
    min-height: 132px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

    .home .day:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), 0 0 12px rgba(179, 18, 23, 0.14);
        border-color: var(--border-red);
    }

.home .empty {
    background: transparent;
    border: none;
    box-shadow: none;
}

.home .date-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--snake-white);
    margin-bottom: 2px;
}

.home .event {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--snake-white);
}

.home .event-time {
    font-size: 12px;
    color: var(--text-chalk-soft);
    line-height: 1.2;
}

.home .stream-label {
    display: inline-block;
    margin-top: auto;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    align-self: flex-start;
    letter-spacing: 0.2px;
    background: rgba(0, 0, 0, 0.18);
}

.home .stream-day {
    box-shadow: 0 0 10px rgba(179, 18, 23, 0.10);
}

.home .type-basteln {
    border: 1px solid rgba(180, 220, 180, 0.40);
    box-shadow: inset 0 0 0 1px rgba(180, 220, 180, 0.12), 0 0 10px rgba(180, 220, 180, 0.06);
}

    .home .type-basteln .stream-label {
        background: rgba(180, 220, 180, 0.16);
        color: #eef8ee;
    }

.home .type-story {
    border: 1px solid rgba(170, 190, 255, 0.40);
    box-shadow: inset 0 0 0 1px rgba(170, 190, 255, 0.12), 0 0 10px rgba(170, 190, 255, 0.06);
}

    .home .type-story .stream-label {
        background: rgba(170, 190, 255, 0.16);
        color: #eef1ff;
    }

.home .type-community {
    border: 1px solid rgba(220, 170, 255, 0.40);
    box-shadow: inset 0 0 0 1px rgba(220, 170, 255, 0.12), 0 0 10px rgba(220, 170, 255, 0.06);
}

    .home .type-community .stream-label {
        background: rgba(220, 170, 255, 0.16);
        color: #f7efff;
    }

.home .type-horror {
    border: 1px solid rgba(255, 90, 90, 0.5);
    box-shadow: inset 0 0 0 1px rgba(255, 90, 90, 0.15), 0 0 12px rgba(255, 90, 90, 0.10);
}

    .home .type-horror .stream-label {
        background: rgba(255, 90, 90, 0.2);
        color: #ffdede;
    }

.home .type-games {
    border: 1px solid rgba(245, 243, 234, 0.22);
    box-shadow: inset 0 0 0 1px rgba(245, 243, 234, 0.08), 0 0 10px rgba(245, 243, 234, 0.05);
}

    .home .type-games .stream-label {
        background: rgba(245, 243, 234, 0.12);
        color: var(--snake-white);
    }

.home .type-special {
    border: 2px solid rgba(179, 18, 23, 0.75);
    box-shadow: 0 0 14px rgba(179, 18, 23, 0.20), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

    .home .type-special .stream-label {
        background: rgba(179, 18, 23, 0.22);
        color: var(--snake-white);
    }

.home .type-standard {
    border: 1px solid var(--border-chalk);
}

    .home .type-standard .stream-label {
        background: rgba(245, 243, 234, 0.10);
        color: var(--snake-white);
    }

.home .today {
    outline: 2px solid var(--accent-red-soft);
    outline-offset: -2px;
    box-shadow: 0 0 14px rgba(214, 58, 63, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* =========================
   8) ABOUT
   ========================= */

.about-page .about-hero-section,
.about-page .about-story-section,
.about-page .about-philosophy-section,
.about-page .about-characters-section {
    padding: 22px 0;
}

.about-page .about-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 420px);
    gap: 30px;
    align-items: stretch;
    padding: 32px;
}

.about-page .about-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.16);
    color: var(--snake-white);
    border: 1px solid var(--border-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.about-page .about-hero-text h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4.6vw, 3.3rem);
    line-height: 1.05;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.about-page .about-hero-text p {
    max-width: 34ch;
}

    .about-page .about-hero-text p:last-child {
        margin-bottom: 0;
    }

.about-page .about-hero-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
}

.about-page .about-hero-badge-card {
    background: linear-gradient(180deg, rgba(8, 20, 10, 0.76), rgba(8, 20, 10, 0.58));
    border: 1px solid var(--border-chalk);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.about-page .about-side-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 243, 234, 0.18);
    color: var(--snake-cream);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-page .about-hero-badge-card p {
    margin: 0;
    color: var(--text-chalk-soft);
}

.about-page .about-story-card,
.about-page .about-philosophy-card {
    padding: 30px;
}

    .about-page .about-story-card h2,
    .about-page .about-philosophy-card h2 {
        margin-bottom: 16px;
    }

.about-page .about-story-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.about-page .about-story-text p:last-child,
.about-page .about-philosophy-card p:last-child {
    margin-bottom: 0;
}

.about-page .about-section-heading {
    margin-bottom: 20px;
}

    .about-page .about-section-heading h2 {
        margin-bottom: 10px;
    }

    .about-page .about-section-heading p {
        margin-bottom: 0;
        color: var(--text-muted);
    }

.about-page .about-characters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.about-page .character-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .about-page .character-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-strong);
        border-color: var(--border-red);
    }

.about-page .character-image {
    width: 100%;
}

    .about-page .character-image img {
        width: 100%;
        border-radius: 16px;
        object-fit: cover;
        box-shadow: var(--shadow-soft);
    }

.about-page .character-role {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.16);
    border: 1px solid var(--border-red);
    color: var(--snake-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-page .character-content h3 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--accent-red);
}

.about-page .character-content p {
    margin-bottom: 14px;
}

.about-page .profile-button {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--accent-red-soft) 0%, var(--accent-red-dark) 100%);
    color: var(--snake-white);
    font-weight: 700;
    border: 1px solid var(--border-red);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .about-page .profile-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        background: linear-gradient(180deg, #d63a3f 0%, #7e0d12 100%);
    }

.profile-link-text {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 16px;
}

/* =========================
   9) GALLERY HUB
   ========================= */

.gallery-hub-main {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 80px;
}

.gallery-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hub-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--bg-glass);
    border: 1px solid var(--border-chalk);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .hub-card:hover {
        transform: translateY(-4px);
        border-color: var(--border-red);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }

.hub-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

    .hub-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hub-card-content {
    padding: 20px;
}

    .hub-card-content h2 {
        margin-bottom: 10px;
    }

    .hub-card-content p {
        margin-bottom: 16px;
        color: var(--text-chalk-soft);
    }

.hub-card-link {
    display: inline-block;
    font-weight: 600;
    color: var(--accent-red-soft);
}

.gallery-hub-backlinks {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 100%;
    min-height: 220px;
    overflow: hidden;
}

    .preview-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.preview-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.auto-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-image-link {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-chalk);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .gallery-image-link:hover {
        transform: translateY(-6px) scale(1.01);
        border-color: var(--accent-red);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    }

    .gallery-image-link img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        display: block;
    }

    .gallery-image-link::after {
        content: "Klasssse87";
        position: absolute;
        bottom: 10px;
        right: 12px;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        background: rgba(0, 0, 0, 0.35);
        padding: 4px 8px;
        border-radius: 6px;
        letter-spacing: 1px;
    }

/* =========================
   10) GALLERY DETAIL
   ========================= */

.gallery-detail-main {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 80px;
}

.gallery-detail-page .content-card {
    margin-bottom: 24px;
    padding: 24px;
}

    .gallery-detail-page .content-card h2 {
        margin-bottom: 12px;
    }

.simple-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

    .simple-gallery-grid img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        border-radius: 14px;
        display: block;
    }

.detail-backlinks {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

    .video-grid video {
        width: 100%;
        border-radius: 16px;
        background: #000;
        display: block;
    }

/* =========================
   VIDEO GALLERY
   ========================= */

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.video-thumb-card {
    position: relative;
    padding: 0;
    border: 1px solid var(--border-chalk);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .video-thumb-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-red);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
    }

.video-thumb-media {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background: #000;
    pointer-events: none;
}

.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(8, 20, 10, 0.82);
    border: 1px solid var(--border-red);
    color: var(--snake-white);
    font-size: 24px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.video-thumb-title {
    display: block;
    padding: 12px 14px;
    color: var(--text-chalk-soft);
    font-size: 0.95rem;
}

/* =========================
   VIDEO LIGHTBOX
   ========================= */

.video-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.88);
    z-index: 10000;
}

.lightbox-video-shell {
    position: relative;
    width: min(1100px, 95vw);
    max-height: 90vh;
    padding: 14px;
    border-radius: 20px;
    background: rgba(8, 20, 10, 0.94);
    border: 1px solid var(--border-chalk);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

    .lightbox-video-shell video {
        width: 100%;
        max-height: calc(90vh - 28px);
        display: block;
        border-radius: 14px;
        background: #000;
    }

.lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-red);
    border-radius: 50%;
    background: rgba(8, 20, 10, 0.96);
    color: var(--snake-white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

    .lightbox-close:hover {
        border-color: var(--accent-red-soft);
    }

@media (max-width: 900px) {
    .video-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .video-gallery-grid {
        grid-template-columns: 1fr;
    }

    .video-thumb-media {
        height: 220px;
    }

    .lightbox-video-shell {
        width: 100%;
        padding: 10px;
        border-radius: 16px;
    }

    .lightbox-close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
        font-size: 22px;
        z-index: 2;
    }
}

.video-preview-box {
    position: relative;
    min-height: 220px;
    background: #000;
}

.hub-preview-video {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

/* =========================
   TERRARIUM SPLIT IM HUB
   ========================= */

.hub-card-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

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

/* =========================
   TERRARIUM / SNAKE CARDS
   ========================= */

.terrarium-main-card {
    padding: 24px;
}

.terrarium-main-image {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-chalk);
    box-shadow: var(--shadow-soft);
}

    .terrarium-main-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.snake-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.snake-card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.snake-card {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-chalk);
    background: rgba(255, 255, 255, 0.03);
    color: var(--snake-white);
    cursor: pointer;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .snake-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-red);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
    }

    .snake-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        display: block;
    }

    .snake-card span {
        display: block;
        padding: 12px 14px;
        color: var(--text-chalk-soft);
        font-weight: 700;
        text-align: center;
    }

/* =========================
   SNAKE PROFILE OVERLAY
   ========================= */

.snake-profile-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.86);
    z-index: 10000;
}

.snake-profile-box {
    position: relative;
    width: min(1000px, 95vw);
    max-height: 90vh;
    overflow: auto;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(rgba(8, 20, 10, 0.96), rgba(8, 20, 10, 0.96)), url("../images/chalk-texture.png");
    background-size: cover;
    border: 1px solid var(--border-chalk);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.snake-profile-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-red);
    border-radius: 50%;
    background: rgba(8, 20, 10, 0.96);
    color: var(--snake-white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.snake-profile-grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 24px;
    align-items: center;
}

.snake-profile-image-wrap {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border-chalk);
    box-shadow: var(--shadow-soft);
}

    .snake-profile-image-wrap img {
        width: 100%;
        height: auto;
        display: block;
    }

.snake-profile-content h2 {
    margin-bottom: 18px;
}

.snake-profile-facts {
    margin-bottom: 18px;
}

    .snake-profile-facts p {
        margin-bottom: 8px;
    }

@media (max-width: 900px) {
    .snake-card-grid,
    .snake-card-grid-2 {
        grid-template-columns: 1fr;
    }

    .snake-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .snake-card img {
        height: 220px;
    }

    .snake-profile-box {
        padding: 18px;
        border-radius: 18px;
    }
}

/* =========================
   STREAM SETUP PAGE
   ========================= */

.setup-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.setup-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.setup-main-view,
.setup-detail-card,
.setup-thumb {
    background: rgba(8, 20, 10, 0.72);
    border: 1px solid rgba(245, 243, 234, 0.14);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.setup-main-view {
    overflow: hidden;
    padding: 20px;
}

    .setup-main-view img {
        width: 100%;
        height: 100%;
        min-height: 420px;
        object-fit: cover;
        border-radius: 16px;
    }

.setup-detail-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .setup-detail-card h2 {
        margin: 0 0 14px;
        color: var(--snake-white);
        font-size: 1.8rem;
    }

    .setup-detail-card p {
        margin: 0;
        color: var(--text-chalk-soft);
        line-height: 1.7;
        font-size: 1.02rem;
    }

.setup-thumb-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.setup-thumb {
    padding: 12px;
    cursor: pointer;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    color: var(--snake-white);
    font-weight: 700;
}

    .setup-thumb:hover,
    .setup-thumb.active {
        transform: translateY(-3px);
        border-color: rgba(179, 18, 23, 0.38);
        background: rgba(179, 18, 23, 0.08);
    }

    .setup-thumb img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 12px;
    }

    .setup-thumb span {
        font-size: 0.95rem;
    }

@media (max-width: 1100px) {
    .setup-layout {
        grid-template-columns: 1fr;
    }

    .setup-thumb-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .setup-thumb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .setup-main-view img {
        min-height: 300px;
    }

    .setup-detail-card {
        padding: 20px;
    }
}

/* =========================
   SHOP PAGE
   ========================= */

.shop-page main {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.shop-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.shop-hero-text,
.shop-hero-card,
.category-card,
.product-card {
    background: rgba(8, 20, 10, 0.72);
    border: 1px solid rgba(245, 243, 234, 0.14);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.shop-hero-text {
    padding: 32px;
}

.shop-kicker,
.product-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(179, 18, 23, 0.14);
    color: var(--snake-white);
    border: 1px solid rgba(179, 18, 23, 0.28);
}

.shop-hero-text h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    color: var(--snake-white);
}

.shop-hero-text p {
    margin: 0;
    max-width: 700px;
    color: var(--text-chalk-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn-primary,
.btn-secondary,
.product-button,
.category-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.25s ease;
    cursor: pointer;
}

.btn-primary,
.btn-secondary {
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.btn-primary {
    background: var(--accent-red);
    color: var(--snake-white);
    border: 1px solid var(--accent-red);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        background: var(--accent-red-soft);
    }

.btn-secondary {
    background: transparent;
    color: var(--snake-white);
    border: 1px solid rgba(245, 243, 234, 0.2);
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        border-color: rgba(245, 243, 234, 0.45);
        background: rgba(255, 255, 255, 0.04);
    }

.shop-hero-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .shop-hero-card h2 {
        margin: 0 0 12px;
        color: var(--snake-white);
        font-size: 1.35rem;
    }

    .shop-hero-card p {
        margin: 0 0 20px;
        color: var(--text-chalk-soft);
        line-height: 1.7;
    }

.shop-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.18);
    border: 1px solid rgba(179, 18, 23, 0.35);
    color: var(--snake-white);
    font-weight: 700;
}

/* =========================
   CATEGORY SECTION
   ========================= */

.shop-categories,
.shop-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .shop-categories h2,
    .section-heading h2 {
        margin: 0 0 10px;
        color: var(--snake-white);
        font-size: clamp(1.6rem, 3vw, 2.4rem);
    }

.section-heading p {
    margin: 0;
    color: var(--text-chalk-soft);
    line-height: 1.7;
    max-width: 760px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .category-card:hover {
        transform: translateY(-4px);
        border-color: rgba(179, 18, 23, 0.4);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    }

    .category-card img {
        width: 100%;
        height: 250px;
        object-fit: contain;
        margin-bottom: 18px;
        padding: 16px;
        border-radius: 16px;
        background: radial-gradient(circle at center, rgba(28, 58, 28, 0.65) 0%, rgba(15, 40, 16, 0.2) 100%);
    }

    .category-card h3 {
        margin: 0 0 12px;
        color: var(--snake-white);
        font-size: 1.25rem;
    }

    .category-card p {
        margin: 0 0 20px;
        color: var(--text-chalk-soft);
        line-height: 1.6;
        flex-grow: 1;
    }

.category-button {
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(179, 18, 23, 0.16);
    border: 1px solid rgba(179, 18, 23, 0.3);
    color: var(--snake-white);
    font-weight: 700;
}

    .category-button:hover {
        transform: translateY(-2px);
        background: rgba(179, 18, 23, 0.26);
    }

/* =========================
   PRODUCT SECTION
   ========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
        border-color: rgba(179, 18, 23, 0.3);
    }

.product-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(28, 58, 28, 0.65) 0%, rgba(15, 40, 16, 0.2) 100%);
    border-bottom: 1px solid rgba(245, 243, 234, 0.08);
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

    .product-content h3 {
        margin: 0;
        color: var(--snake-white);
        font-size: 1.15rem;
    }

    .product-content p {
        margin: 0;
        color: var(--text-chalk-soft);
        line-height: 1.6;
        flex-grow: 1;
    }

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.product-price {
    color: var(--snake-white);
    font-weight: 800;
    font-size: 1.05rem;
}

.product-button {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(179, 18, 23, 0.16);
    border: 1px solid rgba(179, 18, 23, 0.3);
    color: var(--snake-white);
    font-weight: 700;
}

    .product-button:hover {
        transform: translateY(-2px);
        background: rgba(179, 18, 23, 0.26);
    }

/* =========================
   SHOP RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
    .shop-hero {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .shop-hero-text,
    .shop-hero-card,
    .category-card,
    .product-content {
        padding: 20px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .shop-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-button {
        width: 100%;
    }

    .category-card {
        min-height: auto;
    }

        .product-image,
        .category-card img {
            height: 220px;
        }
}

/* =========================
   11) CONTACT
   ========================= */

.contact-page .contact-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
}

.contact-page .contact-box {
    padding: 30px;
}

.contact-page .contact-form {
    display: grid;
    gap: 14px;
}

.contact-page label {
    font-weight: 700;
    color: var(--snake-white);
    margin-bottom: -4px;
}

.contact-page input,
.contact-page textarea,
.contact-page select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-chalk);
    background: rgba(0, 0, 0, 0.25);
    color: var(--snake-white);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .contact-page input:hover,
    .contact-page textarea:hover,
    .contact-page select:hover {
        background: rgba(0, 0, 0, 0.32);
    }

.contact-page textarea {
    resize: vertical;
    min-height: 140px;
}

    .contact-page input::placeholder,
    .contact-page textarea::placeholder {
        color: rgba(245, 243, 234, 0.65);
    }

    .contact-page input:focus,
    .contact-page textarea:focus,
    .contact-page select:focus {
        outline: none;
        border-color: var(--accent-red);
        box-shadow: 0 0 0 3px rgba(179, 18, 23, 0.18);
    }

.contact-page button {
    padding: 14px 18px;
    border: 1px solid var(--border-red);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--accent-red-soft) 0%, var(--accent-red-dark) 100%);
    color: var(--snake-white);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .contact-page button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
        background: linear-gradient(180deg, #d63a3f 0%, #7e0d12 100%);
    }

.contact-page .form-message {
    display: none;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 17px;
    line-height: 1.5;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.4s ease;
}

    .contact-page .form-message.show {
        opacity: 1;
        transform: translateY(0);
    }

.contact-page .success-message {
    background: linear-gradient(180deg, rgba(70, 140, 70, 0.25), rgba(20, 60, 20, 0.35));
    border: 1px solid rgba(120, 220, 120, 0.45);
    color: #d7ffd7;
    box-shadow: 0 0 12px rgba(120, 220, 120, 0.15);
}

.contact-page .error-message {
    background: linear-gradient(180deg, rgba(177, 26, 26, 0.25), rgba(80, 10, 10, 0.35));
    border: 1px solid rgba(255, 120, 120, 0.45);
    color: #ffd6d6;
    box-shadow: 0 0 12px rgba(255, 120, 120, 0.15);
}

.contact-page .field-error {
    min-height: 20px;
    margin-top: -6px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #ffd6d6;
}

.contact-page input.input-error,
.contact-page textarea.input-error,
.contact-page select.input-error {
    border-color: rgba(255, 120, 120, 0.7);
    box-shadow: 0 0 0 3px rgba(177, 26, 26, 0.18);
}

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form-privacy-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.4;
}

    .form-privacy-note a {
        color: var(--accent-red);
        text-decoration: underline;
    }

/* =========================
   12) MOBILE WOCHENANSICHT
   ========================= */

.mobile-week-view {
    display: none;
}

.mobile-week-card {
    background: linear-gradient(rgba(8, 20, 10, 0.88), rgba(8, 20, 10, 0.88)), url("../images/chalk-texture.png");
    background-size: cover;
    border: 1px solid var(--border-chalk);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-soft), inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.mobile-week-title {
    font-size: 28px;
    color: var(--snake-white);
    margin: 0 0 16px;
    text-align: center;
}

.mobile-week-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-week-item {
    background: rgba(10, 25, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
}

    .mobile-week-item.today {
        outline: 2px solid var(--accent-red-soft);
        outline-offset: -2px;
        box-shadow: 0 0 14px rgba(214, 58, 63, 0.25);
    }

.mobile-week-date {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 6px;
}

.mobile-week-event-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--snake-white);
    margin-bottom: 4px;
}

.mobile-week-time {
    font-size: 14px;
    color: var(--text-chalk-soft);
    margin-bottom: 8px;
}

.mobile-week-desc {
    font-size: 14px;
    color: var(--text-chalk-soft);
    margin-bottom: 10px;
}

.mobile-week-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(179, 18, 23, 0.16);
    color: var(--snake-white);
}

.mobile-week-empty {
    text-align: center;
    color: var(--text-chalk-soft);
    font-size: 16px;
    padding: 20px 10px;
}

.mobile-week-item.type-basteln {
    border-color: rgba(180, 220, 180, 0.45);
}

.mobile-week-item.type-story {
    border-color: rgba(170, 190, 255, 0.45);
}

.mobile-week-item.type-community {
    border-color: rgba(220, 170, 255, 0.45);
}

.mobile-week-item.type-horror {
    border-color: rgba(255, 90, 90, 0.5);
}

.mobile-week-item.type-games {
    border-color: rgba(245, 243, 234, 0.28);
}

.mobile-week-item.type-special {
    border: 2px solid rgba(179, 18, 23, 0.7);
}

/* =========================
   13) STREAM DETAILS
   ========================= */

.stream-details-page .stream-details-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.stream-details-page .stream-details-box {
    padding: 30px;
}

.stream-details-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stream-back-link {
    display: inline-block;
    font-weight: 700;
    color: var(--snake-white);
}

    .stream-back-link:hover {
        color: var(--accent-red);
    }

.stream-detail-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    background: rgba(245, 243, 234, 0.10);
    color: var(--snake-white);
    border: 1px solid var(--border-chalk);
}

.stream-meta-list {
    margin-bottom: 28px;
}

    .stream-meta-list p {
        margin-bottom: 10px;
    }

.stream-description-block h2 {
    margin-bottom: 12px;
}

.stream-description-block p {
    margin-bottom: 0;
}

.stream-detail-badge.type-basteln {
    background: rgba(180, 220, 180, 0.16);
    color: #eef8ee;
    border-color: rgba(180, 220, 180, 0.40);
}

.stream-detail-badge.type-story {
    background: rgba(170, 190, 255, 0.16);
    color: #eef1ff;
    border-color: rgba(170, 190, 255, 0.40);
}

.stream-detail-badge.type-community {
    background: rgba(220, 170, 255, 0.16);
    color: #f7efff;
    border-color: rgba(220, 170, 255, 0.40);
}

.stream-detail-badge.type-horror {
    background: rgba(255, 90, 90, 0.20);
    color: #ffdede;
    border-color: rgba(255, 90, 90, 0.50);
}

.stream-detail-badge.type-games {
    background: rgba(245, 243, 234, 0.12);
    color: var(--snake-white);
    border-color: rgba(245, 243, 234, 0.22);
}

.stream-detail-badge.type-special {
    background: rgba(179, 18, 23, 0.22);
    color: var(--snake-white);
    border-color: rgba(179, 18, 23, 0.75);
}

.stream-detail-badge.type-standard {
    background: rgba(245, 243, 234, 0.10);
    color: var(--snake-white);
    border-color: var(--border-chalk);
}

/* =========================
   14) NEXT STREAM BANNER
   ========================= */

.next-stream-banner {
    width: 100%;
    max-width: var(--content-width);
    margin: 22px auto 0;
    padding: 0 40px;
}

.next-stream-box {
    padding: 22px 26px;
}

.next-stream-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.next-stream-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.16);
    color: var(--snake-white);
    border: 1px solid var(--border-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.next-stream-text h2 {
    margin-bottom: 10px;
}

.next-stream-text p:last-child {
    margin-bottom: 0;
}

.next-stream-action {
    flex-shrink: 0;
}

.next-stream-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--accent-red-soft) 0%, var(--accent-red-dark) 100%);
    color: var(--snake-white);
    font-weight: 700;
    border: 1px solid var(--border-red);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .next-stream-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
        background: linear-gradient(180deg, #d63a3f 0%, #7e0d12 100%);
    }

/* =========================
   15) CHARACTER DETAILS
   ========================= */

.character-page .character-detail-section {
    padding: 32px 0;
}

.character-page .character-detail-card {
    padding: 30px;
}

.character-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.character-back-link {
    display: inline-block;
    font-weight: 700;
    color: var(--snake-white);
}

    .character-back-link:hover {
        color: var(--accent-red);
    }

.character-detail-role {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.16);
    color: var(--snake-white);
    border: 1px solid var(--border-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.character-detail-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: center;
}

.character-detail-image img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.character-detail-content h1 {
    margin-bottom: 18px;
}

.character-detail-content p:last-of-type {
    margin-bottom: 0;
}

.character-detail-actions {
    margin-top: 24px;
}

/* =========================
   16) RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-card-text p {
        max-width: none;
    }

    .hero-card-logo {
        min-height: 260px;
    }

    .about-page .about-hero-card {
        grid-template-columns: 1fr;
    }

    .about-page .about-hero-text p {
        max-width: none;
    }

    .about-page .about-story-columns {
        grid-template-columns: 1fr;
    }

    .classroom-map-grid {
        grid-template-columns: 1fr;
    }

    .gallery-page .gallery-grid,
    .shop-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

        .main-nav a {
            font-size: 1rem;
        }

    main {
        padding: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .home .calendar-grid {
        gap: 8px;
    }

    .home .day {
        min-height: 96px;
        padding: 8px;
    }

    .about-page .character-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-page .character-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

        .about-page .character-image img {
            max-width: 220px;
        }

    .gallery-hub-grid {
        grid-template-columns: 1fr;
    }

    .simple-gallery-grid {
        grid-template-columns: 1fr;
    }

        .simple-gallery-grid img {
            height: auto;
        }

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

    .gallery-page .gallery-grid,
    .shop-page .product-grid {
        grid-template-columns: 1fr;
    }

    .next-stream-banner {
        padding: 0 20px;
    }

    .next-stream-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .next-stream-action {
        width: 100%;
    }

    .next-stream-button {
        width: 100%;
        text-align: center;
    }

    .character-detail-grid {
        grid-template-columns: 1fr;
    }

    .character-detail-image {
        display: flex;
        justify-content: center;
    }

        .character-detail-image img {
            max-width: 260px;
        }
}

@media (max-width: 700px) {
    section {
        padding: 24px 0;
    }

    main {
        padding: 16px;
    }

    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        width: 100%;
    }

        .main-nav a {
            width: auto;
            text-align: center;
            padding: 6px 0;
            font-size: 1.05rem;
        }

    .hero-card {
        padding: 22px;
        gap: 22px;
    }

    .hero-card-logo {
        min-height: 220px;
        padding: 16px;
    }

        .hero-card-logo img {
            max-width: 220px;
        }

    .home .calendar {
        display: none;
    }

    .mobile-week-view {
        display: block;
        margin-top: 20px;
    }

    .classroom-map-card {
        padding: 22px;
    }

    .classroom-spot {
        min-height: 180px;
        padding: 20px;
    }

    .about-page .about-hero-section,
    .about-page .about-story-section,
    .about-page .about-philosophy-section,
    .about-page .about-characters-section,
    .gallery-page .gallery-layout,
    .shop-page .shop-layout,
    .contact-page .contact-layout,
    .stream-details-page .stream-details-layout {
        padding: 24px 0;
    }

    .about-page .about-hero-card,
    .about-page .about-story-card,
    .about-page .about-philosophy-card,
    .stream-details-page .stream-details-box,
    .character-page .character-detail-card {
        padding: 22px;
    }

    .about-page .character-content h3 {
        font-size: 36px;
    }

    .stream-details-top,
    .character-detail-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .next-stream-banner {
        padding: 0 16px;
        margin-top: 16px;
    }

    .next-stream-box {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 32px 20px 20px;
        gap: 22px;
    }

    .footer-bottom {
        padding: 14px 20px 20px;
    }

    .next-stream-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .next-stream-action {
        width: 100%;
    }

    .next-stream-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 10px 12px;
    }

    .logo-box {
        width: 58px;
        height: 58px;
    }

        .logo-box img {
            max-width: 36px;
            max-height: 36px;
        }

    .mobile-week-card {
        padding: 14px;
    }

    .mobile-week-title {
        font-size: 24px;
    }

    .mobile-week-event-title {
        font-size: 16px;
    }
}

/* =========================
   FLOATING BACK BUTTON
   ========================= */

.floating-back-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    color: var(--text-chalk);
    background: var(--bg-glass);
    border: 1px solid var(--border-chalk);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 999;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .floating-back-button:hover {
        transform: translateY(-3px);
        border-color: var(--border-red);
    }

@media (max-width: 700px) {
    .floating-back-button {
        width: 64px;
        height: 64px;
        bottom: 16px;
        right: 16px;
        font-size: 24px;
    }
}

/* =========================
   LIGHTBOX
   ========================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

    .lightbox img {
        max-width: 95%;
        max-height: 90%;
        border-radius: 16px;
        border: 2px solid var(--border-chalk);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    }
