/* Wunderpinsel – styles, based on STYLEGUIDE.md */

@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/caveat-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/caveat-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Figtree';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/figtree-italic-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Figtree';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/figtree-italic-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/figtree-variable-400-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/figtree-variable-400-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Kame';
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/kame-normal-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Kame Poster';
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/kame-poster-normal-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Kame Poster';
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/kame-poster-normal-900.woff2') format('woff2');
}

/* ---------- Tokens (§13) ---------- */
:root {
    --wp-ocker: #cd850d;
    --wp-ocker-700: #8a5508;
    --wp-violett: #854d98;
    --wp-violett-700: #5e3270;
    --wp-blau: #4bacdf;
    --wp-blau-700: #1f6e99;
    --wp-gruen: #7ab92c;
    --wp-gruen-700: #4a7a12;
    --wp-koralle: #f5a29e;
    --wp-koralle-700: #b4473f;

    --wp-papier: #fbf7f0;
    --wp-weiss: #ffffff;
    --wp-tusche: #242121;
    --wp-tusche-2: #5a5352;
    --wp-linie: #e7dfd3;
    --wp-nacht: #2e1d38;

    --font-display: 'Kame Poster', 'Kame', Georgia, serif;
    --font-heading: 'Kame', 'Figtree', Georgia, serif;
    --font-body: 'Figtree', 'PT Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-hand: 'Caveat', 'Comic Sans MS', cursive;

    --fs-display: clamp(3.5rem, 2rem + 8vw, 9rem);
    --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
    --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 3rem);
    --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
    --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    --fs-body: 1.0625rem;
    --fs-small: 0.875rem;
    --fs-label: 0.8125rem;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;
    --section-y: clamp(4rem, 8vw, 8rem);
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2.5rem);

    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 28px;
    --radius-pill: 999px;
    --shadow-paper: 0 1px 0 var(--wp-linie), 0 8px 24px -12px rgb(46 29 56 / 0.18);
    --shadow-lift: 0 16px 40px -16px rgb(46 29 56 / 0.28);

    --ease-draw: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 200ms;
    --dur-base: 400ms;
    --dur-draw: 800ms;

    --akzent: var(--wp-violett);
    --akzent-text: var(--wp-violett-700);
}
@media (prefers-reduced-motion: reduce) {
    :root {
        --dur-fast: 0ms;
        --dur-base: 0ms;
        --dur-draw: 0ms;
    }
}

/* Offer colour themes (§3.5) */
.t-zeichnen {
    --akzent: var(--wp-ocker);
    --akzent-text: var(--wp-ocker-700);
}
.t-theater {
    --akzent: var(--wp-violett);
    --akzent-text: var(--wp-violett-700);
}
.t-musik {
    --akzent: var(--wp-blau);
    --akzent-text: var(--wp-blau-700);
}
.t-erwachsene {
    --akzent: var(--wp-gruen);
    --akzent-text: var(--wp-gruen-700);
}
.t-feiern {
    --akzent: var(--wp-koralle);
    --akzent-text: var(--wp-koralle-700);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
body {
    margin: 0;
    background: var(--wp-papier);
    color: var(--wp-tusche);
    overflow-x: clip;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
picture {
    display: contents;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
h1,
h2,
h3,
h4 {
    margin: 0 0 var(--space-4);
    line-height: 1.1;
    font-weight: 400;
}
h1 {
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    line-height: 1;
    font-weight: 900;
}
h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
}
h3 {
    font-family: var(--font-body);
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.2;
}
p {
    margin: 0 0 var(--space-4);
    max-width: 68ch;
}
a {
    color: var(--wp-violett-700);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
a:hover {
    color: var(--wp-violett);
}
:focus-visible {
    outline: 3px solid var(--wp-blau);
    outline-offset: 2px;
    border-radius: 4px;
}
.tabular {
    font-variant-numeric: tabular-nums;
}

.skip-link {
    position: absolute;
    left: var(--space-4);
    top: -100px;
    z-index: 100;
    background: var(--wp-tusche);
    color: var(--wp-papier);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus {
    top: var(--space-4);
}
.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;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}
.section {
    padding-block: var(--section-y);
}
.section--weiss {
    background: var(--wp-weiss);
}
.section--nacht {
    position: relative;
    background: var(--wp-nacht);
    color: var(--wp-weiss);
}
.section--nacht a:not(.btn) {
    color: var(--wp-koralle);
}

.eyebrow {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--akzent-text);
    margin-bottom: var(--space-3);
}
.section--nacht .eyebrow {
    color: var(--wp-koralle);
}
.lead {
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: var(--wp-tusche-2);
}
.section--nacht .lead {
    color: rgb(255 255 255 / 0.85);
}
.hand {
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.1;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-5);
    margin-bottom: var(--space-7);
}
.section-head > div {
    max-width: 640px;
}
.section-head p {
    margin: 0;
}

/* Heading highlight: word with crayon underline */
.mark {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}
.mark .kritzel {
    position: absolute;
    left: -4%;
    bottom: -0.18em;
    width: 108%;
    height: 0.32em;
    color: var(--akzent);
}

/* ---------- Kritzel (§7) ---------- */
.kritzel {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
    pointer-events: none;
}
.js .kritzel {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset var(--dur-draw) var(--ease-draw);
}
.js .kritzel.is-drawn {
    stroke-dashoffset: 0;
}

/* ---------- Buttons (§8.3) ---------- */
.btn {
    --btn-bg: var(--wp-violett-700);
    --btn-fg: var(--wp-weiss);
    --btn-bd: var(--btn-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 48px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 2px solid var(--btn-bd);
    font: 700 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition:
        background var(--dur-fast),
        color var(--dur-fast),
        transform var(--dur-fast),
        box-shadow var(--dur-fast);
}
.btn:hover {
    --btn-bg: var(--wp-violett);
    color: var(--btn-fg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}
.btn--secondary {
    --btn-bg: transparent;
    --btn-fg: var(--wp-tusche);
    --btn-bd: var(--wp-tusche);
}
.btn--secondary:hover {
    --btn-bg: var(--wp-tusche);
    --btn-fg: var(--wp-papier);
}
.section--nacht .btn--secondary {
    --btn-fg: var(--wp-weiss);
    --btn-bd: var(--wp-weiss);
}
.section--nacht .btn--secondary:hover {
    --btn-bg: var(--wp-weiss);
    --btn-fg: var(--wp-nacht);
}
.btn--whatsapp {
    --btn-bg: #25d366;
    --btn-fg: var(--wp-tusche);
    --btn-bd: #25d366;
}
.btn--whatsapp:hover {
    --btn-bg: #3be27a;
    --btn-fg: var(--wp-tusche);
}
.btn svg {
    width: 20px;
    height: 20px;
    flex: none;
}
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.link-arrow {
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.link-arrow::after {
    content: '→';
    transition: transform var(--dur-fast);
}
.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ---------- Badges & Tags ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--wp-weiss);
    color: var(--wp-tusche);
    border: 1.5px solid var(--wp-linie);
}
.badge--neu {
    background: var(--wp-gruen);
    border-color: var(--wp-gruen);
}
.badge--wenige {
    background: var(--wp-ocker);
    border-color: var(--wp-ocker);
}
.badge--ausgebucht {
    background: var(--wp-koralle-700);
    border-color: var(--wp-koralle-700);
    color: var(--wp-weiss);
}
.badge--geschwister {
    background: var(--wp-koralle);
    border-color: var(--wp-koralle);
}
.badge--akzent {
    background: var(--akzent);
    border-color: var(--akzent);
}
.t-theater .badge--akzent {
    color: var(--wp-weiss);
}

/* ---------- Header (§8.1) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-fast);
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(251 247 240 / 0.92);
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
}
.site-header.is-scrolled {
    border-bottom-color: var(--wp-linie);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    min-height: 76px;
}
.wordmark {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.9rem;
    line-height: 0.85;
    color: var(--wp-tusche);
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
}
.wordmark:hover {
    color: var(--wp-violett-700);
}
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}
.nav .btn {
    white-space: nowrap;
    padding-inline: 22px;
}
.nav__list {
    display: flex;
    gap: var(--space-4) clamp(1rem, 1.8vw, 1.75rem);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__list a {
    position: relative;
    color: var(--wp-tusche);
    text-decoration: none;
    font-weight: 600;
    padding-block: 6px;
    white-space: nowrap;
}
.nav__list a .kritzel {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 8px;
    color: var(--wp-violett);
}
.nav__list a:not([aria-current='page']) .kritzel {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset var(--dur-base) var(--ease-draw);
}
.nav__list a:not([aria-current='page']):hover .kritzel {
    stroke-dashoffset: 0;
}
.nav__list a[aria-current='page'] .kritzel {
    stroke-dashoffset: 0;
}
.nav-toggle {
    display: none;
}
.nav__top,
.nav__meta,
.nav__deco {
    display: none;
}
.nav__social {
    display: flex;
    gap: var(--space-2);
}
.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--wp-tusche);
}
.icon-btn:hover {
    background: var(--wp-linie);
    color: var(--wp-tusche);
}
.icon-btn svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1180px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        min-height: 44px;
        padding: 0 var(--space-5) 0 var(--space-4);
        border: 2px solid var(--wp-tusche);
        background: transparent;
        border-radius: var(--radius-pill);
        font: 700 1rem var(--font-body);
        color: var(--wp-tusche);
        cursor: pointer;
    }
    .nav-toggle:hover {
        background: var(--wp-tusche);
        color: var(--wp-papier);
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 60;
        height: 100vh;
        height: 100dvh;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--wp-nacht);
        color: var(--wp-weiss);
        overflow-y: auto;
        overscroll-behavior: contain;
        isolation: isolate;
        padding: 0 max(var(--gutter), calc((100% - 640px) / 2))
            max(var(--space-6), env(safe-area-inset-bottom));
        transform: translateY(-100%);
        visibility: hidden;
        transition:
            transform var(--dur-base) var(--ease-draw),
            visibility 0s linear var(--dur-base);
    }
    .nav.is-open {
        transform: none;
        visibility: visible;
        transition: transform var(--dur-base) var(--ease-draw);
    }

    .nav__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 76px;
        flex: none;
    }
    .nav__top .wordmark {
        color: var(--wp-weiss);
    }
    .nav__top .wordmark:hover {
        color: var(--wp-koralle);
    }
    .nav-close {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        min-height: 44px;
        padding: 0 var(--space-4) 0 var(--space-5);
        border: 2px solid rgb(255 255 255 / 0.7);
        background: transparent;
        border-radius: var(--radius-pill);
        font: 700 1rem var(--font-body);
        color: var(--wp-weiss);
        cursor: pointer;
    }
    .nav-close:hover {
        background: var(--wp-weiss);
        color: var(--wp-nacht);
    }
    .nav-close svg {
        width: 18px;
        height: 18px;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        margin-top: var(--space-5);
        flex: none;
    }
    .nav__list li {
        border-bottom: 1px solid rgb(255 255 255 / 0.14);
    }
    .nav__list li:first-child {
        border-top: 1px solid rgb(255 255 255 / 0.14);
    }
    .nav__list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-4);
        min-height: 64px;
        padding: var(--space-3) 0;
        white-space: normal;
        font-family: var(--font-heading);
        font-weight: 400;
        font-size: clamp(1.6rem, 6.8vw, 2.1rem);
        line-height: 1.1;
        color: var(--wp-weiss);
    }
    .nav__list a::after {
        content: '→';
        font-family: var(--font-body);
        font-size: 1.4rem;
        color: var(--wp-koralle);
        opacity: 0.85;
        transition: transform var(--dur-fast);
    }
    .nav__list a:hover,
    .nav__list a:active {
        color: var(--wp-koralle);
    }
    .nav__list a:hover::after {
        transform: translateX(4px);
    }
    .nav__list a[aria-current='page'] {
        color: var(--wp-koralle);
    }
    .nav__list a[aria-current='page']::after {
        content: '●';
        font-size: 0.8rem;
    }
    .nav__list a .kritzel {
        display: none;
    }

    .nav > .btn {
        margin-top: var(--space-6);
        width: 100%;
        min-height: 56px;
        font-size: 1.0625rem;
        --btn-bg: var(--wp-koralle);
        --btn-fg: var(--wp-tusche);
        --btn-bd: var(--wp-koralle);
    }
    .nav > .btn:hover {
        --btn-bg: var(--wp-weiss);
        --btn-bd: var(--wp-weiss);
    }

    .nav__social {
        display: flex;
        gap: var(--space-3);
        margin-top: var(--space-5);
    }
    .nav__social .icon-btn {
        width: 48px;
        height: 48px;
        color: var(--wp-weiss);
        border: 2px solid rgb(255 255 255 / 0.35);
    }
    .nav__social .icon-btn:hover {
        background: rgb(255 255 255 / 0.12);
    }

    .nav__meta {
        display: block;
        margin: var(--space-6) 0 0;
        padding-top: var(--space-5);
        border-top: 1px solid rgb(255 255 255 / 0.14);
        font-size: var(--fs-small);
        font-style: normal;
        color: rgb(255 255 255 / 0.8);
        line-height: 1.6;
    }
    .nav__meta a {
        color: var(--wp-weiss);
    }
    .nav__meta a:hover {
        color: var(--wp-koralle);
    }

    .nav__deco {
        display: block;
        position: absolute;
        z-index: -1;
        right: -12%;
        bottom: 14%;
        width: 75%;
        height: 90px;
        color: var(--wp-ocker);
        opacity: 0.35;
        pointer-events: none;
        stroke-dasharray: none !important;
        stroke-dashoffset: 0 !important;
        rotate: -8deg;
    }

    .nav.is-open .nav__list li {
        animation: nav-in var(--dur-base) var(--ease-draw) both;
        animation-delay: calc(var(--i, 0) * 45ms + 120ms);
    }
    .nav.is-open > .btn,
    .nav.is-open .nav__social,
    .nav.is-open .nav__meta {
        animation: nav-in var(--dur-base) var(--ease-draw) 450ms both;
    }
}
@keyframes nav-in {
    from {
        opacity: 0;
        translate: 0 14px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .nav.is-open * {
        animation: none !important;
    }
}
@media (min-width: 1181px) {
    .nav-close,
    .site-header .nav__social {
        display: none;
    }
}

/* ---------- Hero (§8.2) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: var(--space-6);
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--fs-display);
    line-height: 0.82;
    margin: 0 0 var(--space-6);
    position: relative;
    isolation: isolate;
}
.hero__title span {
    display: block;
    position: relative;
    width: fit-content;
}
.hero__title .kritzel {
    position: absolute;
    z-index: -1;
}
.hero__title .stroke {
    left: -6%;
    top: 24%;
    width: 112%;
    height: 66%;
    color: var(--wp-ocker);
}
.hero__title .stroke--2 {
    color: var(--wp-violett);
    top: 46%;
    height: 52%;
    left: 18%;
    width: 92%;
    opacity: 0.7;
}
.hero__lead {
    font-size: var(--fs-lead);
    max-width: 34ch;
    margin-bottom: var(--space-6);
}
.hero__visual {
    position: relative;
}
.hero__visual img {
    width: 100%;
    mix-blend-mode: multiply;
}
.hero__note {
    position: absolute;
    left: -4%;
    bottom: 4%;
    rotate: -6deg;
    color: var(--wp-violett-700);
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
}
.hero__note .kritzel {
    width: 70px;
    height: 46px;
    color: var(--wp-violett);
}
.hero__note .hand {
    font-size: 1.8rem;
}
.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    margin: var(--space-6) 0 0;
    color: var(--wp-tusche-2);
    font-size: var(--fs-small);
    font-weight: 500;
    list-style: none;
    padding: 0;
}
.hero__facts li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.hero__facts .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--akzent);
}
@media (max-width: 860px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
    .hero__visual {
        max-width: 420px;
        margin-inline: auto;
        order: -1;
    }
    .hero__note {
        display: none;
    }
}

/* ---------- Page header (sub pages) ---------- */
.page-header {
    padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}
.page-header h1 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-5);
    isolation: isolate;
}
.page-header h1 .kritzel {
    position: absolute;
    z-index: -1;
    left: -4%;
    bottom: -2%;
    width: 108%;
    height: 60%;
    color: var(--akzent);
    opacity: 0.9;
}
.page-header .lead {
    max-width: 60ch;
}
.page-header__deco {
    position: absolute;
    right: max(var(--gutter), calc((100vw - var(--container)) / 2));
    top: 50%;
    width: clamp(120px, 18vw, 240px);
    height: clamp(80px, 12vw, 160px);
    translate: 0 -50%;
}
@media (max-width: 720px) {
    .page-header__deco {
        display: none;
    }
}

/* ---------- Stundenplan (§8.4) ---------- */
.plan {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    align-items: start;
}
.plan__day {
    background: var(--wp-weiss);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-paper);
    padding: var(--space-5);
}
.plan__day h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-3);
}
.plan__day h3 small {
    font: 600 var(--fs-small) var(--font-body);
    color: var(--wp-tusche-2);
}
.plan__slots {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}
.slot {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px var(--space-3);
    align-items: baseline;
    padding: var(--space-3) var(--space-4) var(--space-3) calc(var(--space-4) + 6px);
    background: var(--wp-papier);
    border-radius: var(--radius-s);
    overflow: hidden;
}
.slot::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--akzent);
}
.slot__time {
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--wp-tusche-2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.slot__name {
    font-weight: 700;
    grid-column: 1 / -1;
    grid-row: 2;
}
.slot__meta {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: var(--fs-small);
    color: var(--wp-tusche-2);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
}
.slot__meta .badge {
    padding: 1px 8px;
    font-size: 0.75rem;
}
.plan-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    list-style: none;
    padding: 0;
    margin: var(--space-5) 0 0;
    font-size: var(--fs-small);
    color: var(--wp-tusche-2);
}
.plan-legend li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.plan-legend i {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--akzent);
}
@media (max-width: 900px) {
    .plan {
        grid-template-columns: 1fr;
    }
}

/* ---------- Photo treatments (§6.1) ---------- */
.foto {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    background: var(--wp-linie);
    isolation: isolate;
    margin: 0;
}
.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.foto--bw img {
    filter: grayscale(1) contrast(1.06);
    transition: filter var(--dur-base);
}
.foto .kritzel {
    position: absolute;
    z-index: 1;
    color: var(--akzent);
}
.foto--duo {
    background: var(--wp-nacht);
}
.foto--duo img {
    filter: grayscale(1) contrast(1.15) brightness(1.05);
    mix-blend-mode: screen;
    opacity: 0.9;
}
.foto--duo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgb(245 162 158 / 0.55),
        rgb(133 77 152 / 0.35) 60%,
        rgb(46 29 56 / 0.5)
    );
    mix-blend-mode: multiply;
}

/* Scribble overlay positions */
.k-pos-a {
    right: -8%;
    top: -4%;
    width: 46%;
    height: 38%;
}
.k-pos-b {
    left: -8%;
    bottom: 6%;
    width: 74%;
    height: 20%;
}
.k-pos-c {
    right: 6%;
    bottom: 8%;
    width: 30%;
    height: 30%;
}

/* ---------- Kurskarte (§8.5) ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: var(--space-5);
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--wp-weiss);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-paper);
    overflow: hidden;
    transition:
        transform var(--dur-fast) ease-out,
        box-shadow var(--dur-fast) ease-out;
}
.card::before {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    height: 6px;
    background: var(--akzent);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}
.card:hover .foto--bw img {
    filter: grayscale(0.2) contrast(1.02);
}
.card .foto {
    border-radius: 0;
    aspect-ratio: 4 / 5;
}
.card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5);
    flex: 1;
}
.card__body h3 {
    margin: 0;
}
.card__body .badge {
    align-self: flex-start;
}
@media (min-width: 600px) {
    .cards--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .cards--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}
.card__body p {
    margin: 0;
    color: var(--wp-tusche-2);
}
.card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: var(--fs-small);
    color: var(--wp-tusche-2);
    font-weight: 500;
    margin-top: auto;
    padding-top: var(--space-3);
}
.card__meta span + span::before {
    content: '·';
    margin-right: 12px;
}
.card__link {
    font-weight: 700;
    color: var(--akzent-text);
    text-decoration: none;
}
.card__link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
}
.card__link:focus-visible {
    outline: none;
}
.card:has(.card__link:focus-visible) {
    outline: 3px solid var(--wp-blau);
    outline-offset: 3px;
}

/* NEU badge with rays */
.neu {
    position: absolute;
    z-index: 3;
    top: var(--space-3);
    right: var(--space-3);
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
}
.neu .kritzel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--wp-gruen);
}
.neu span {
    position: relative;
    background: var(--wp-gruen);
    color: var(--wp-tusche);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    border-radius: var(--radius-pill);
    padding: 4px 10px;
}

/* ---------- Event / Bühne (§8.8) ---------- */
.event {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.event .foto {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-l);
}
.event__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}
.event__date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-m);
    background: var(--wp-weiss);
    color: var(--wp-nacht);
    line-height: 1;
}
.event__date b {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 3rem;
}
.event__date span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--fs-label);
    margin-top: 4px;
}
.event h2 {
    color: var(--wp-weiss);
}
.event__facts {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
    display: grid;
    gap: var(--space-2);
}
.event__facts li {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}
.event__facts svg {
    width: 20px;
    height: 20px;
    color: var(--wp-koralle);
    flex: none;
}
.curtain {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 28px;
    transform: translateY(-99%);
    pointer-events: none;
    background: radial-gradient(circle at 50% 0, transparent 13px, var(--wp-nacht) 14px) 0 100% /
        56px 28px repeat-x;
}
@media (max-width: 860px) {
    .event {
        grid-template-columns: 1fr;
    }
}

/* ---------- Atelier collage ---------- */
.atelier {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}
.collage {
    position: relative;
    aspect-ratio: 1 / 1;
    isolation: isolate;
}
.collage .foto {
    position: absolute;
    box-shadow: var(--shadow-lift);
    border: 8px solid var(--wp-weiss);
    border-radius: var(--radius-s);
}
.collage .foto:nth-of-type(1) {
    inset: 0 16% 36% 0;
    rotate: -2deg;
}
.collage .foto:nth-of-type(2) {
    inset: 40% 0 4% 38%;
    rotate: 2.5deg;
}
.collage .foto:nth-of-type(3) {
    inset: 56% 56% 0 6%;
    rotate: -1.5deg;
}
.collage .wolke {
    position: absolute;
    inset: 14% -4% -4% 18%;
    z-index: -1;
}
.collage > .kritzel {
    position: absolute;
    z-index: 5;
    right: 2%;
    top: 0;
    width: 24%;
    height: 24%;
    color: var(--wp-gruen);
}
@media (max-width: 860px) {
    .atelier {
        grid-template-columns: 1fr;
    }
    .collage {
        max-width: 520px;
        width: 100%;
    }
}

/* Crayon cloud (§7 Wolke) */
.wolke {
    background: radial-gradient(
        closest-side,
        rgb(245 162 158 / 0.95),
        rgb(245 162 158 / 0.4) 70%,
        rgb(245 162 158 / 0)
    );
    -webkit-mask: radial-gradient(circle, #000 1.7px, transparent 2.3px) 0 0 / 7px 7px;
    mask: radial-gradient(circle, #000 1.7px, transparent 2.3px) 0 0 / 7px 7px;
}

/* ---------- Stimmen (§8.10) ---------- */
.stimme {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding-top: var(--space-8);
}
.stimme::before {
    content: '\201C';
    position: absolute;
    left: 50%;
    top: -0.2em;
    translate: -50% 0;
    font: 900 9rem/1 var(--font-display);
    color: var(--wp-koralle);
}
.stimme blockquote {
    margin: 0 0 var(--space-5);
    font-size: var(--fs-lead);
    font-style: italic;
    line-height: 1.55;
}
.stimme blockquote p {
    max-width: none;
}
.stimme figcaption {
    font-weight: 700;
}
.stimme figcaption span {
    display: block;
    font-weight: 500;
    color: var(--wp-tusche-2);
    font-size: var(--fs-small);
}

/* ---------- Galerie (§8.9) ---------- */
.galerie {
    columns: 4 220px;
    column-gap: var(--space-4);
}
.galerie figure {
    margin: 0 0 var(--space-4);
    break-inside: avoid;
    border-radius: var(--radius-s);
    overflow: hidden;
}
.galerie figure img {
    width: 100%;
    transition: transform var(--dur-base);
}
.galerie figure:hover img {
    transform: scale(1.03);
}

/* ---------- Feiern band ---------- */
.band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--wp-koralle);
    border-radius: var(--radius-l);
    padding: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-6);
    align-items: center;
}
.band h2 {
    margin-bottom: var(--space-3);
}
.band .eyebrow {
    color: var(--wp-tusche);
}
.band .foto {
    aspect-ratio: 4 / 3;
    border: 6px solid var(--wp-weiss);
    rotate: 2deg;
    border-radius: var(--radius-m);
}
.band__price {
    font-size: var(--fs-h3);
    font-weight: 800;
    margin-bottom: var(--space-5);
}
.band > .kritzel {
    position: absolute;
    z-index: -1;
    right: -6%;
    top: -10%;
    width: 50%;
    height: 40%;
    color: var(--wp-weiss);
    opacity: 0.45;
}
@media (max-width: 860px) {
    .band {
        grid-template-columns: 1fr;
    }
}

/* ---------- Course detail rows (Kurse page) ---------- */
.filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0 0 var(--space-8);
    padding: 0;
    list-style: none;
}
.chip {
    min-height: 44px;
    padding: 0 var(--space-5);
    border-radius: var(--radius-pill);
    border: 2px solid var(--wp-linie);
    background: var(--wp-weiss);
    color: var(--wp-tusche);
    font: 600 1rem var(--font-body);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
.chip i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--akzent);
}
.chip:hover {
    border-color: var(--wp-tusche);
}
.chip[aria-pressed='true'] {
    background: var(--wp-tusche);
    border-color: var(--wp-tusche);
    color: var(--wp-papier);
}

.kurs {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding-block: var(--space-8);
    border-top: 1px solid var(--wp-linie);
}
.kurs.is-first {
    border-top: 0;
    padding-top: 0;
}
.kurs.is-flip {
    grid-template-columns: 7fr 5fr;
}
.kurs.is-flip .kurs__media {
    order: 2;
}
.kurs .foto {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-l);
}
.kurs .foto--bw:hover img {
    filter: grayscale(0.2) contrast(1.02);
}
@media (hover: none) {
    .card .foto--bw img,
    .card:hover .foto--bw img,
    .kurs .foto--bw img,
    .kurs .foto--bw:hover img {
        filter: none;
    }
}
.kurs__head {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}
.kurs__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-3);
    margin: var(--space-5) 0 var(--space-6);
    padding: 0;
    list-style: none;
}
.kurs__facts li {
    background: var(--wp-weiss);
    border-radius: var(--radius-s);
    padding: var(--space-3) var(--space-4);
    border-left: 4px solid var(--akzent);
}
.kurs__facts b {
    display: block;
    font-size: var(--fs-label);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp-tusche-2);
    font-weight: 700;
}
.kurs__facts span {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    display: grid;
    gap: var(--space-2);
}
.checklist li {
    position: relative;
    padding-left: 32px;
}
.checklist li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.3em;
    width: 16px;
    height: 9px;
    border-left: 3px solid var(--akzent);
    border-bottom: 3px solid var(--akzent);
    rotate: -45deg;
    border-radius: 2px;
}
.kurs[hidden] {
    display: none;
}
@media (max-width: 860px) {
    .kurs {
        grid-template-columns: 1fr;
    }
    .kurs.is-flip {
        grid-template-columns: 1fr;
    }
    .kurs.is-flip .kurs__media {
        order: 0;
    }
    .kurs .foto {
        aspect-ratio: 3 / 2;
    }
}

/* ---------- Preise (§8.6) ---------- */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: 6px;
    background: var(--wp-weiss);
    border-radius: 28px;
    box-shadow: var(--shadow-paper);
    width: fit-content;
    max-width: 100%;
    margin-bottom: var(--space-7);
}
.tab {
    min-height: 44px;
    padding: 0 var(--space-5);
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    font: 600 1rem var(--font-body);
    color: var(--wp-tusche);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
.tab i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--akzent);
}
.tab:hover {
    background: var(--wp-papier);
}
.tab[aria-selected='true'] {
    background: var(--wp-tusche);
    color: var(--wp-papier);
}
.tabpanel {
    scroll-margin-top: 220px;
}
.tabpanel[hidden] {
    display: none;
}
.tabpanel__intro {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
    align-items: baseline;
    margin-bottom: var(--space-6);
}
.tabpanel__intro h2 {
    margin: 0;
}
.tabpanel__intro ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    margin: 0;
    padding: 0;
    color: var(--wp-tusche-2);
    font-weight: 500;
}
.prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: var(--space-5);
    padding-top: var(--space-4);
}
.price {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--wp-weiss);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-paper);
    padding: var(--space-6);
    border-top: 6px solid var(--akzent);
}
.price h3,
.price .h3 {
    margin-bottom: var(--space-1);
    font: 700 var(--fs-h3)/1.2 var(--font-body);
}
.price__amount {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin: var(--space-3) 0 var(--space-2);
}
.price__amount small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wp-tusche-2);
    margin-right: 4px;
}
.price__per {
    color: var(--wp-tusche-2);
    font-size: var(--fs-small);
    margin-bottom: var(--space-5);
}
.price ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    display: grid;
    gap: var(--space-2);
}
.price ul li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    border-bottom: 1px dashed var(--wp-linie);
    padding-bottom: var(--space-2);
}
.price ul li span:first-child {
    color: var(--wp-tusche-2);
}
.price ul li span:last-child {
    font-weight: 600;
    text-align: right;
}
.price__sibling {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    background: var(--wp-papier);
    border-radius: var(--radius-s);
    padding: var(--space-3) var(--space-4);
}
.price__sibling b {
    font-variant-numeric: tabular-nums;
}
.beliebt {
    position: absolute;
    top: -22px;
    right: var(--space-5);
    rotate: 5deg;
    color: var(--wp-ocker-700);
}
.beliebt .hand {
    position: relative;
    display: block;
    padding: 4px 18px;
    background: var(--wp-weiss);
    border-radius: var(--radius-pill);
}
.beliebt .kritzel {
    position: absolute;
    inset: -8px -12px;
    width: calc(100% + 24px);
    height: calc(100% + 16px);
    color: var(--wp-ocker);
}
.price-hint {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    background: var(--wp-weiss);
    border-radius: var(--radius-m);
    padding: var(--space-5);
    margin-top: var(--space-7);
    border: 1.5px dashed var(--wp-linie);
}
.price-hint svg {
    width: 28px;
    height: 28px;
    flex: none;
    color: var(--wp-violett-700);
}
.price-hint p {
    margin: 0;
}

/* ---------- Kontakt CTA & Footer (§8.12) ---------- */
.cta {
    text-align: center;
}
.cta h2 {
    margin-inline: auto;
    max-width: 20ch;
}
.cta .eyebrow {
    margin-inline: auto;
}
.cta p {
    margin-inline: auto;
}
.cta .btn-row {
    justify-content: center;
    margin-top: var(--space-6);
}

.site-footer {
    position: relative;
    background: var(--wp-nacht);
    color: rgb(255 255 255 / 0.85);
    padding: var(--space-9) 0 var(--space-6);
    margin-top: var(--space-8);
}
.site-footer > .kritzel {
    position: absolute;
    left: 0;
    top: -30px;
    width: 100%;
    height: 60px;
    color: var(--wp-ocker);
}
.site-footer a {
    color: var(--wp-weiss);
}
.site-footer a:hover {
    color: var(--wp-koralle);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-7);
}
.footer-grid h2 {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp-koralle);
    margin-bottom: var(--space-4);
}
.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-2);
}
.footer-grid ul a {
    text-decoration: none;
}
.footer-grid ul a:hover {
    text-decoration: underline;
}
.footer-grid .wordmark {
    color: var(--wp-weiss);
    font-size: 2.6rem;
    margin-bottom: var(--space-4);
}
.footer-grid p {
    font-size: var(--fs-small);
}
.footer-grid .icon-btn {
    color: var(--wp-weiss);
}
.footer-grid .icon-btn:hover {
    background: rgb(255 255 255 / 0.12);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-4);
    border-top: 1px solid rgb(255 255 255 / 0.15);
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    font-size: var(--fs-small);
}
.footer-bottom ul {
    display: flex;
    gap: var(--space-5);
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Reveal ---------- */
.js .reveal {
    opacity: 0;
    translate: 0 16px;
    transition:
        opacity var(--dur-base) ease-out,
        translate var(--dur-base) ease-out;
}
.js .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

/* Hide petite-vue templates until they are mounted (only with JS, so <noscript> content stays visible) */
.js [v-cloak] {
    display: none;
}

/* =========================================================
   Additional pages: Team, Galerie, Aktuelles, Kontakt, Gästebuch
   ========================================================= */

/* ---------- Team (§8.7) ---------- */
.founder {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}
.founder blockquote {
    margin: 0 0 var(--space-5);
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    line-height: 1.15;
    position: relative;
}
.founder blockquote::before {
    content: '\201C';
    position: absolute;
    left: -0.55em;
    top: -0.15em;
    font: 900 1.6em/1 var(--font-display);
    color: var(--wp-koralle);
}
.founder .portrait {
    max-width: 420px;
}
@media (max-width: 860px) {
    .founder {
        grid-template-columns: 1fr;
    }
    .founder blockquote::before {
        position: static;
        display: block;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: var(--space-8) var(--space-6);
}
.person {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.portrait {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    isolation: isolate;
    margin: 0 0 var(--space-5);
}
.portrait .wolke {
    position: absolute;
    inset: 8% 0 -4% 10%;
    z-index: -1;
    background: radial-gradient(
        closest-side,
        color-mix(in srgb, var(--akzent) 90%, transparent),
        color-mix(in srgb, var(--akzent) 35%, transparent) 70%,
        transparent
    );
}
.portrait img {
    width: 88%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px 999px var(--radius-m) var(--radius-m);
}
.person h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: var(--fs-h2);
    margin: 0;
}
.person__role {
    font-weight: 700;
    color: var(--akzent-text);
    margin: var(--space-1) 0 var(--space-3);
}
.person__teaser {
    color: var(--wp-tusche-2);
    margin-bottom: var(--space-3);
}
.more {
    width: 100%;
}
.more summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-weight: 700;
    color: var(--akzent-text);
}
.more summary::-webkit-details-marker {
    display: none;
}
.more summary::after {
    content: '+';
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid currentColor;
    font-size: 0.9rem;
    line-height: 1;
    transition: rotate var(--dur-fast);
}
.more[open] summary::after {
    rotate: 45deg;
}
.more summary .less {
    display: none;
}
.more[open] summary .less {
    display: inline;
}
.more[open] summary .mehr {
    display: none;
}
.more__body {
    padding-top: var(--space-3);
    border-top: 2px dashed var(--wp-linie);
    font-size: 0.98rem;
}

.mascot {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}
.mascot .portrait img {
    border-radius: var(--radius-l);
    filter: none;
}
.mascot .hand {
    color: var(--wp-koralle);
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-3);
    rotate: -3deg;
}
@media (max-width: 860px) {
    .mascot {
        grid-template-columns: 1fr;
    }
    .mascot .portrait {
        max-width: 360px;
    }
}

/* ---------- Galerie: albums + lightbox (§8.9) ---------- */
.album-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
    margin: 0 0 var(--space-8);
    padding: 0;
}
.album-nav a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0 var(--space-5);
    border-radius: var(--radius-pill);
    border: 2px solid var(--wp-linie);
    background: var(--wp-weiss);
    color: var(--wp-tusche);
    font-weight: 600;
    text-decoration: none;
}
.album-nav a:hover {
    border-color: var(--wp-tusche);
    color: var(--wp-tusche);
}
.album-nav a span {
    font-size: var(--fs-small);
    color: var(--wp-tusche-2);
    font-variant-numeric: tabular-nums;
}
.album {
    scroll-margin-top: 100px;
    padding-bottom: var(--space-9);
}
.album__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: var(--space-3) var(--space-6);
    margin-bottom: var(--space-6);
}
.album__head p {
    margin: 0;
    color: var(--wp-tusche-2);
}
.album__credit {
    font-size: var(--fs-small);
    color: var(--wp-tusche-2);
    margin-top: var(--space-3);
}
.galerie a {
    display: block;
    position: relative;
    cursor: zoom-in;
}
.galerie a:focus-visible {
    outline-offset: -3px;
}

.lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(30 18 38 / 0.96);
    color: var(--wp-weiss);
}
.lightbox::backdrop {
    background: rgb(30 18 38 / 0.8);
}
.lightbox[open] {
    display: grid;
    grid-template-rows: auto 1fr auto;
}
.lightbox__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--gutter);
    font-variant-numeric: tabular-nums;
}
.lightbox__stage {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-4);
    padding: 0 var(--space-4);
    min-height: 0;
}
.lightbox__stage img {
    max-width: 100%;
    max-height: calc(100dvh - 170px);
    margin: auto;
    object-fit: contain;
    border-radius: var(--radius-s);
}
.lightbox figcaption {
    text-align: center;
    padding: var(--space-4) var(--gutter) var(--space-5);
    color: rgb(255 255 255 / 0.85);
}
.lb-btn {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgb(255 255 255 / 0.6);
    background: transparent;
    color: var(--wp-weiss);
    font-size: 1.4rem;
    cursor: pointer;
}
.lb-btn:hover {
    background: rgb(255 255 255 / 0.12);
}
@media (max-width: 640px) {
    .lightbox__stage {
        grid-template-columns: 1fr;
    }
    .lightbox__stage .lb-prev,
    .lightbox__stage .lb-next {
        position: absolute;
        bottom: var(--space-5);
    }
    .lb-prev {
        left: var(--gutter);
    }
    .lb-next {
        right: var(--gutter);
    }
}

/* ---------- Aktuelles (§8.8) ---------- */
.stage-poster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.stage-poster a {
    display: block;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.6);
}
.stage-poster a:nth-child(1) {
    rotate: -2deg;
}
.stage-poster a:nth-child(2) {
    rotate: 2deg;
    margin-top: var(--space-7);
}
.cast {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-5) var(--space-6);
    margin: var(--space-7) 0 0;
    padding-top: var(--space-6);
    border-top: 1px solid rgb(255 255 255 / 0.15);
}
.cast h3 {
    font-size: var(--fs-label);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp-koralle);
    margin-bottom: var(--space-3);
}
.cast dl {
    margin: 0;
    display: grid;
    gap: 4px;
    font-size: var(--fs-small);
}
.cast dt {
    font-weight: 700;
    display: inline;
}
.cast dt::after {
    content: ' – ';
    font-weight: 400;
}
.cast dd {
    display: inline;
    margin: 0;
    color: rgb(255 255 255 / 0.8);
}
.cast dl > div {
    line-height: 1.5;
}

.news {
    display: grid;
    gap: var(--space-6);
}
.news-item {
    display: grid;
    grid-template-columns: 96px 1fr minmax(0, 340px);
    gap: var(--space-6);
    align-items: start;
    background: var(--wp-weiss);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-paper);
    padding: var(--space-6);
    border-left: 6px solid var(--akzent);
}
.news-item .event__date {
    background: var(--wp-nacht);
    color: var(--wp-weiss);
    margin: 0;
    min-width: 0;
}
.news-item .event__date b {
    font-size: 2.4rem;
}
.news-item h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: var(--fs-h3);
    margin-bottom: var(--space-3);
}
.news-item .foto {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-s);
}
.news-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}
@media (max-width: 960px) {
    .news-item {
        grid-template-columns: 80px 1fr;
    }
    .news-item .foto {
        grid-column: 1 / -1;
    }
}
@media (max-width: 520px) {
    .news-item {
        grid-template-columns: 1fr;
    }
}

.programm {
    list-style: none;
    margin: var(--space-4) 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}
.programm li {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: 1px dashed var(--wp-linie);
}
.programm time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.programm time small {
    display: block;
    font-weight: 500;
    color: var(--wp-tusche-2);
}
.programm b {
    display: block;
}
@media (max-width: 560px) {
    .programm li {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.section-title-line {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    margin: var(--space-8) 0 var(--space-6);
}
.section-title-line h2 {
    margin: 0;
    white-space: nowrap;
}
.section-title-line::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--wp-linie);
}

/* ---------- Kontakt (§8.11) ---------- */
.contact {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
@media (max-width: 920px) {
    .contact {
        grid-template-columns: 1fr;
    }
}
.form {
    background: var(--wp-weiss);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-paper);
    padding: clamp(1.5rem, 4vw, 3rem);
}
.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}
.form__grid .full {
    grid-column: 1 / -1;
}
@media (max-width: 600px) {
    .form__grid {
        grid-template-columns: 1fr;
    }
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field label {
    font-weight: 700;
}
.field label small {
    font-weight: 500;
    color: var(--wp-tusche-2);
}
.field input,
.field select,
.field textarea {
    font: 400 1rem/1.4 var(--font-body);
    color: var(--wp-tusche);
    background: var(--wp-weiss);
    border: 1.5px solid #cfc4b4;
    border-radius: var(--radius-s);
    padding: 12px 14px;
    min-height: 48px;
    width: 100%;
    transition:
        border-color var(--dur-fast),
        box-shadow var(--dur-fast);
}
.field textarea {
    min-height: 150px;
    resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: var(--wp-tusche-2);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--wp-violett-700);
    box-shadow: 0 0 0 3px rgb(75 172 223 / 0.45);
}
.field [aria-invalid='true'] {
    border-color: var(--wp-koralle-700);
}
.field__error {
    display: none;
    align-items: center;
    gap: 6px;
    color: var(--wp-koralle-700);
    font-size: var(--fs-small);
    font-weight: 600;
}
.field__error::before {
    content: '!' / '';
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--wp-koralle-700);
    color: var(--wp-weiss);
    font-size: 0.75rem;
}
.field.has-error .field__error {
    display: flex;
}
.check {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    font-size: var(--fs-small);
}
.check input {
    width: 22px;
    height: 22px;
    min-height: 0;
    margin-top: 2px;
    accent-color: var(--wp-violett-700);
    flex: none;
}
.form__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
}
.form__foot p {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--wp-tusche-2);
}
.form-success {
    text-align: center;
    padding: var(--space-6) 0;
}
.form-success img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 999px 999px var(--radius-m) var(--radius-m);
    margin: 0 auto var(--space-5);
}
.form-success h2 {
    margin-bottom: var(--space-3);
}
.form-success p {
    margin-inline: auto;
}

.info-stack {
    display: grid;
    gap: var(--space-5);
}
.info-card {
    background: var(--wp-weiss);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-paper);
    padding: var(--space-6);
    border-top: 6px solid var(--akzent);
}
.info-card h2 {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--akzent-text);
    margin-bottom: var(--space-3);
}
.info-card address {
    font-style: normal;
    font-size: var(--fs-lead);
    line-height: 1.45;
    margin-bottom: var(--space-4);
}
.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-2);
}
.info-card .btn-row {
    margin-top: var(--space-4);
}
.map-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-m);
    overflow: hidden;
    background: #efe7da;
    text-decoration: none;
    color: var(--wp-tusche);
    isolation: isolate;
}
.map-card svg.streets {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.map-card__pin {
    position: absolute;
    left: 52%;
    top: 46%;
    translate: -50% -100%;
    width: 44px;
    height: 56px;
    color: var(--wp-violett-700);
    filter: drop-shadow(0 6px 8px rgb(46 29 56 / 0.3));
}
.map-card__label {
    position: absolute;
    left: var(--space-4);
    bottom: var(--space-4);
    background: var(--wp-weiss);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: var(--fs-small);
    box-shadow: var(--shadow-paper);
}
.map-card:hover .map-card__label {
    background: var(--wp-tusche);
    color: var(--wp-papier);
}

/* ---------- Gästebuch (§8.10) ---------- */
.entries {
    display: grid;
    gap: var(--space-6);
    max-width: 820px;
}
.entry {
    position: relative;
    background: var(--wp-weiss);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-paper);
    padding: var(--space-7) var(--space-6) var(--space-6);
}
.entry::before {
    content: '\201C';
    position: absolute;
    left: var(--space-5);
    top: -0.25em;
    font: 900 6rem/1 var(--font-display);
    color: var(--wp-koralle);
}
.entry blockquote {
    margin: 0 0 var(--space-5);
}
.entry blockquote p:last-child {
    margin-bottom: 0;
}
.entry footer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    align-items: center;
    font-weight: 700;
}
.entry footer span {
    font-weight: 500;
    color: var(--wp-tusche-2);
    font-size: var(--fs-small);
}
.split {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
@media (max-width: 920px) {
    .split {
        grid-template-columns: 1fr;
    }
}
