/* ==========================================================================
   Sonnige Bilder – Sonja Arvai
   Stylesheet

   Inhalt
   01  Schriften
   02  Design-Tokens
   03  Basis & Reset
   04  Hilfsklassen
   05  Typografie
   06  Buttons, Chips, Links
   07  Header & Navigation
   08  Startseite: Hero
   09  Techniken-Band (Marquee)
   10  Sektionen
   11  Angebote
   12  Termine (Tickets)
   13  Werkgruppen-Karussell
   14  Über-mich-Teaser
   15  Call to Action
   16  Footer
   17  Seitenkopf (Unterseiten)
   18  Bildrahmen: Bogen, Polaroid, Blob
   19  Inhalt: Split, Prosa, Zitate, Werdegang
   20  Bilder-Übersicht (Bento)
   21  Galerie (Mauerwerk) & Lightbox
   22  Blättern (Pager)
   23  Ausstellungen: Zeitleiste & Detail
   24  Malkurse
   25  Kunsttherapie
   26  Kontakt & Formular
   27  404
   28  Animationen & Bewegung
   ========================================================================== */


/* 01  Schriften (lokal eingebunden – keine Verbindung zu Google)
   ========================================================================== */

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-var-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Caveat";
    src: url("../fonts/caveat-var.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}


/* 02  Design-Tokens
   ========================================================================== */

:root {
    /* Farben – abgeleitet aus Logo und Gemälden */
    --paper:        #FBF6EC;
    --paper-2:      #F4EADA;
    --paper-3:      #EADBC3;
    --white:        #FFFDF8;
    --ink:          #2A211C;
    --ink-2:        #3A2E27;
    --ink-soft:     #6E6056;
    --sun:          #F0A52C;
    --sun-light:    #FFD27A;
    --sun-deep:     #E07A1F;
    --vermilion:    #D2452A;
    --dusk:         #2F5D73;
    --line:         rgba(42, 33, 28, .14);
    --line-light:   rgba(251, 246, 236, .18);

    /* Schriften */
    --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --f-body:    "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
    --f-hand:    "Caveat", "Segoe Print", "Bradley Hand", cursive;

    /* Maße */
    --container: 1240px;
    --gutter:    clamp(16px, 4vw, 40px);
    --header-h:  76px;
    --radius:    18px;
    --radius-lg: 32px;

    /* Abstände */
    --space-xs: .5rem;
    --space-s:  1rem;
    --space-m:  clamp(1.5rem, 3vw, 2rem);
    --space-l:  clamp(2.5rem, 6vw, 4.5rem);
    --space-xl: clamp(4rem, 10vw, 8rem);

    /* Effekte */
    --shadow-s: 0 1px 2px rgba(42, 33, 28, .06), 0 4px 14px rgba(42, 33, 28, .07);
    --shadow-m: 0 2px 6px rgba(42, 33, 28, .06), 0 18px 40px -12px rgba(42, 33, 28, .22);
    --ease:     cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    /* Papierstruktur */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .13 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* 03  Basis & Reset
   ========================================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--f-body);
    font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
    font-weight: 380;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--paper);
    background-image: var(--grain);
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
    margin: 0;
}

ul[class],
ol[class] {
    list-style: none;
    padding: 0;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--sun-deep);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--sun-light);
    color: var(--ink);
}

main:focus {
    outline: none;
}


/* 04  Hilfsklassen
   ========================================================================== */

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.svg-sprite {
    display: none;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 200;
    padding: .7rem 1.1rem;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    transform: translateY(-200%);
    transition: transform .2s var(--ease);
}

.skip-link:focus {
    transform: none;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: var(--space-m);
}


/* 05  Typografie
   ========================================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sun-deep);
}

.eyebrow::before {
    content: "";
    width: 1.8rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.eyebrow--light {
    color: var(--sun);
}

.hand {
    font-family: var(--f-hand);
    font-weight: 600;
    line-height: 1.1;
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
    font-weight: 380;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.section-title em,
.page-hero__title em,
.hero__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--vermilion);
}

.section-title--sm {
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
    margin-bottom: var(--space-m);
}

.section-head {
    max-width: 42rem;
    margin-bottom: var(--space-l);
}

.section-head > p:not(.eyebrow) {
    margin-top: 1rem;
    color: var(--ink-soft);
}

.section-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: none;
}

.prose {
    max-width: 68ch;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose--lead {
    font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
}

.prose--lead > p:first-child::first-letter {
    float: left;
    margin: .08em .12em 0 0;
    font-family: var(--f-display);
    font-size: 3.6em;
    font-style: italic;
    line-height: .8;
    color: var(--sun-deep);
}

.prose h2 {
    margin-top: 2.2em;
    font-family: var(--f-display);
    font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
    font-weight: 450;
    line-height: 1.2;
}

.prose h3 {
    margin-top: 1.6em;
    font-size: 1.05rem;
    font-weight: 600;
}

.prose ul {
    padding-left: 1.2rem;
}

.prose li + li {
    margin-top: .35em;
}

.prose li::marker {
    color: var(--sun-deep);
}

.prose a {
    color: var(--vermilion);
    word-break: break-word;
}

.prose hr {
    margin-block: 2.5em;
    border: 0;
    border-top: 1px solid var(--line);
}

/* Rechtstexte: linksbündig mit dem Seitenkopf, Zeilenlänge begrenzt */
.container.prose--legal {
    max-width: calc(var(--container) + 2 * var(--gutter));
}

.prose--legal > * {
    max-width: 78ch;
}


/* 06  Buttons, Chips, Links
   ========================================================================== */

.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 3.1rem;
    padding: .8rem 1.5rem;
    font-weight: 500;
    letter-spacing: .01em;
    text-decoration: none;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1.5px solid transparent;
    border-radius: 999px;
    isolation: isolate;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--vermilion);
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform .45s var(--ease-out);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-m);
}

.btn:hover::before {
    transform: none;
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn .icon {
    transition: transform .3s var(--ease);
}

.btn--sun {
    --btn-bg: var(--sun);
    --btn-fg: var(--ink);
}

.btn--sun:hover {
    color: var(--white);
}

.btn--ink:hover {
    color: var(--white);
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: var(--ink);
}

.btn--ghost::before {
    background: var(--ink);
}

.btn--ghost:hover {
    color: var(--paper);
}

.btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: var(--paper);
    border-color: var(--line-light);
}

.btn--ghost-light::before {
    background: var(--paper);
}

.btn--ghost-light:hover {
    color: var(--ink);
}

.btn--sm {
    min-height: 2.6rem;
    padding: .5rem 1.2rem;
    font-size: .95rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: .3rem .85rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--ink);
    background: var(--sun-light);
    border-radius: 999px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1.5px solid var(--sun);
    padding-bottom: .15rem;
    transition: gap .3s var(--ease), color .3s var(--ease);
}

.link-arrow:hover {
    gap: .85rem;
    color: var(--vermilion);
}

.round-btn {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    color: var(--ink);
    background: transparent;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    transition: background .25s var(--ease), color .25s var(--ease);
}

.round-btn:hover {
    color: var(--paper);
    background: var(--ink);
}

.carousel-nav {
    display: flex;
    gap: .6rem;
}


/* 07  Header & Navigation
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

/* Milchglas-Hintergrund als eigene Ebene: backdrop-filter direkt am Header
   würde das fest positionierte Mobilmenü auf die Header-Höhe begrenzen. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(251, 246, 236, .82);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.nav-open .site-header::before {
    background: var(--paper);
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 30px -20px rgba(42, 33, 28, .35);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: var(--header-h);
}

.brand {
    flex-shrink: 0;
    display: block;
    width: clamp(150px, 18vw, 205px);
}

.brand img {
    width: 100%;
}

/* Burger-Button */
.nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .9rem .55rem .75rem;
    font-size: .9rem;
    font-weight: 500;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .35s var(--ease), background .2s;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Navigation: Vollbild-Panel */
.main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 1;
    overflow-y: auto;
    padding: 1.5rem var(--gutter) 3rem;
    background: var(--paper);
    background-image: var(--grain);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}

.nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.nav-open {
    overflow: hidden;
}

.main-nav__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.main-nav__link {
    flex: 1;
    padding: 1rem 0;
    font-family: var(--f-display);
    font-size: 1.7rem;
    font-weight: 380;
    text-decoration: none;
}

.main-nav__item.is-active > .main-nav__link {
    font-style: italic;
    color: var(--vermilion);
}

.sub-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.sub-toggle .icon {
    transition: transform .3s var(--ease);
}

.is-open > .sub-toggle .icon {
    transform: rotate(180deg);
}

.sub-nav {
    display: none;
    width: 100%;
    padding-bottom: 1rem;
}

.is-open > .sub-nav {
    display: block;
}

.sub-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-nav a {
    display: flex;
    flex-direction: column;
    gap: .05rem;
    padding: .45rem 0;
    line-height: 1.3;
    text-decoration: none;
    color: var(--ink-soft);
}

.sub-nav a:hover,
.sub-nav a[aria-current] {
    color: var(--vermilion);
}

.sub-nav small {
    font-size: .76rem;
    letter-spacing: .02em;
    color: var(--ink-soft);
    opacity: .75;
}

.sub-nav a.sub-nav__all {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
    font-weight: 500;
    color: var(--ink) !important;
}

.main-nav__item--cta {
    border: 0;
    padding-top: 1.5rem;
}

/* Desktop Navigation */
@media (min-width: 1180px) {
    .nav-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        padding: 0;
        overflow: visible;
        background: none;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .main-nav__list {
        display: flex;
        align-items: center;
        gap: .2rem;
    }

    .main-nav__item {
        border: 0;
        flex-wrap: nowrap;
    }

    .main-nav__link {
        position: relative;
        padding: .5rem .8rem;
        font-family: var(--f-body);
        font-size: .98rem;
        font-weight: 450;
    }

    .main-nav__link::after {
        content: "";
        position: absolute;
        left: .8rem;
        right: .8rem;
        bottom: .2rem;
        height: 2px;
        background: var(--sun);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .35s var(--ease-out);
    }

    .main-nav__link:hover::after,
    .main-nav__item.is-active > .main-nav__link::after {
        transform: none;
    }

    .main-nav__item.is-active > .main-nav__link {
        font-style: normal;
        color: var(--ink);
    }

    .has-sub > .main-nav__link {
        padding-right: .2rem;
    }

    .has-sub > .main-nav__link::after {
        right: .2rem;
    }

    .sub-toggle {
        width: 1.6rem;
        height: 1.6rem;
        border: 0;
    }

    .sub-toggle .icon {
        width: .9rem;
        height: .9rem;
    }

    .sub-nav {
        position: absolute;
        top: calc(100% + .6rem);
        left: 50%;
        display: block;
        width: max-content;
        min-width: 280px;
        max-width: min(760px, calc(100vw - 2 * var(--gutter)));
        padding: 1.2rem 1.4rem 1.3rem;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-m);
        visibility: hidden;
        opacity: 0;
        transform: translate(-50%, 8px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    }

    /* Unsichtbare Brücke, damit das Menü beim Hovern nicht schließt */
    .sub-nav::before {
        content: "";
        position: absolute;
        inset: -1rem 0 auto;
        height: 1rem;
    }

    .has-sub:hover > .sub-nav,
    .has-sub:focus-within > .sub-nav,
    .has-sub.is-open > .sub-nav {
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, 0);
        transition: opacity .25s var(--ease), transform .25s var(--ease);
    }

    .sub-nav ul {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        column-gap: 2rem;
        row-gap: .15rem;
    }

    .sub-nav a {
        padding: .5rem .7rem;
        margin-inline: -.7rem;
        font-size: .95rem;
        border-radius: 10px;
    }

    .sub-nav li a span {
        white-space: nowrap;
    }

    /* Ausstellungen: einspaltig, rechtsbündig am Menüpunkt (sitzt weit rechts) */
    .sub-nav--exhibitions {
        left: auto;
        right: 0;
        transform: translateY(8px);
    }

    .has-sub:hover > .sub-nav--exhibitions,
    .has-sub:focus-within > .sub-nav--exhibitions,
    .has-sub.is-open > .sub-nav--exhibitions {
        transform: none;
    }

    .sub-nav--exhibitions ul {
        grid-template-columns: max-content;
    }

    .sub-nav li a:hover {
        background: var(--paper);
    }

    .sub-nav a.sub-nav__all {
        gap: .5rem;
        margin: .8rem 0 0;
        padding: .8rem 0 0;
        width: 100%;
        border-top: 1px solid var(--line);
        border-radius: 0 !important;
        font-size: .9rem;
    }

    .main-nav__item--cta {
        padding: 0 0 0 .8rem;
    }
}


/* 08  Startseite: Hero
   ========================================================================== */

.hero {
    position: relative;
    padding-block: clamp(2rem, 6vw, 5rem) var(--space-xl);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    top: -20%;
    right: -15%;
    width: min(900px, 120vw);
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(255, 210, 122, .65), rgba(240, 165, 44, .18) 55%, transparent 72%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.hero__hello {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    color: var(--sun-deep);
    transform: rotate(-3deg);
    transform-origin: left;
    margin-bottom: .6rem;
}

.hero__title {
    font-family: var(--f-display);
    font-size: clamp(2.9rem, 1.6rem + 6vw, 6.4rem);
    font-weight: 350;
    line-height: .98;
    letter-spacing: -.035em;
}

.hero__word {
    display: block;
    font-weight: 600;
    background: linear-gradient(100deg, var(--sun) 5%, var(--sun-deep) 45%, var(--vermilion) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__title em {
    display: block;
    padding-left: clamp(1.5rem, 6vw, 5rem);
}

.hero__lead {
    max-width: 36rem;
    margin-top: var(--space-m);
    font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
    color: var(--ink-soft);
}

.hero__art {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 5 / 6;
    margin-inline: auto;
}

.hero__sun {
    position: absolute;
    top: -6%;
    right: -4%;
    width: 52%;
    aspect-ratio: 1;
    color: var(--sun);
    animation: spin 70s linear infinite;
}

.hero__art .hero__arch {
    position: absolute;
    inset: 4% 12% 6% 18%;
    aspect-ratio: auto;
}

.hero__art .hero__polaroid {
    position: absolute;
    left: -2%;
    bottom: 2%;
    width: 46%;
    --r: -7deg;
}

.hero__polaroid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 65% 50%;
}

.hero__dot {
    position: absolute;
    top: 10%;
    left: 2%;
    width: 24%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--paper);
    box-shadow: var(--shadow-m);
    animation: float 9s ease-in-out infinite;
}

.hero__dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 920px) {
    .hero__grid {
        grid-template-columns: 1.15fr 1fr;
    }
}


/* 09  Techniken-Band (Marquee)
   ========================================================================== */

.marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding-block: 1.1rem;
    background: var(--ink);
    color: var(--paper);
    transform: rotate(-1.5deg);
    margin: -2rem -1rem 0;
    box-shadow: var(--shadow-m);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: marquee 45s linear infinite;
}

.marquee span {
    font-family: var(--f-display);
    font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem);
    font-style: italic;
    font-weight: 300;
    white-space: nowrap;
}

.marquee svg {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--sun);
}


/* 10  Sektionen
   ========================================================================== */

.section {
    position: relative;
    padding-block: var(--space-xl);
}

.section--tight {
    padding-block: var(--space-l);
}

.section--paper {
    background-color: var(--paper-2);
}

.section--ink {
    background-color: var(--ink);
    color: var(--paper);
}


/* 11  Angebote
   ========================================================================== */

.offers {
    display: grid;
    gap: clamp(2.5rem, 5vw, 3.5rem);
}

.offer {
    position: relative;
}

.offer__num {
    position: absolute;
    top: -1.6rem;
    right: 0;
    z-index: 1;
    font-family: var(--f-display);
    font-size: clamp(4rem, 3rem + 4vw, 6.5rem);
    font-weight: 600;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--sun-deep);
    pointer-events: none;
}

.offer__img {
    aspect-ratio: 4 / 3;
    margin-bottom: 1.6rem;
    overflow: hidden;
    box-shadow: var(--shadow-m);
}

.offer__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}

.offer:hover .offer__img img {
    transform: scale(1.06) rotate(-1deg);
}

.offer__title {
    margin-bottom: .6rem;
    font-family: var(--f-display);
    font-size: 1.85rem;
    font-weight: 450;
}

.offer p {
    margin-bottom: 1.2rem;
    color: var(--ink-soft);
}

@media (min-width: 900px) {
    .offers {
        grid-template-columns: repeat(3, 1fr);
    }

    .offer:nth-child(2) {
        margin-top: 4.5rem;
    }

    .offer:nth-child(3) {
        margin-top: 1.5rem;
    }
}


/* 12  Termine (Tickets)
   ========================================================================== */

.dates {
    display: grid;
    gap: var(--space-l);
}

.dates .section-head {
    margin-bottom: 0;
}

.dates .section-head .btn {
    margin-top: 1.5rem;
}

.tickets {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.ticket {
    position: relative;
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.ticket:hover {
    transform: translateX(6px) rotate(-.4deg);
    box-shadow: var(--shadow-m);
}

/* Perforation mit Einkerbungen */
.ticket__date {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 1.2rem .5rem;
    text-align: center;
    background: var(--sun);
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: 2px dashed rgba(42, 33, 28, .25);
}

.ticket__date::before,
.ticket__date::after {
    content: "";
    position: absolute;
    right: -11px;
    width: 20px;
    height: 20px;
    background: var(--paper-2);
    border-radius: 50%;
}

.ticket__date::before { top: -10px; }
.ticket__date::after  { bottom: -10px; }

.ticket__day {
    font-family: var(--f-display);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1;
}

.ticket__month {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ticket__icon {
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: .3rem;
    animation: spin 30s linear infinite;
}

.ticket--regular .ticket__date {
    background: var(--paper-3);
}

.ticket__body {
    align-self: center;
    padding: 1.2rem 1.4rem;
}

.ticket__body h3 {
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-weight: 450;
    line-height: 1.2;
}

.ticket__body p {
    margin-top: .25rem;
    font-size: .95rem;
    color: var(--ink-soft);
}

@media (min-width: 900px) {
    .dates {
        grid-template-columns: 1fr 1.25fr;
        align-items: start;
    }
}


/* 13  Werkgruppen-Karussell
   ========================================================================== */

.carousel {
    --inset: max(var(--gutter), calc((100vw - var(--container)) / 2));
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(240px, 27vw, 330px);
    gap: clamp(1rem, 2vw, 1.75rem);
    padding: 1rem var(--inset) 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--inset);
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.work-card {
    scroll-snap-align: start;
    text-decoration: none;
}

.work-card__img {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 200px 200px var(--radius) var(--radius);
    background: var(--paper-3);
    box-shadow: var(--shadow-s);
}

.work-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}

.work-card:hover .work-card__img img {
    transform: scale(1.07);
}

.work-card:nth-child(even) .work-card__img {
    border-radius: var(--radius) var(--radius) 200px 200px;
}

.work-card__meta {
    padding: 1rem .25rem 0;
}

.work-card__tech {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sun-deep);
}

.work-card__title {
    margin-top: .2rem;
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-weight: 450;
    line-height: 1.2;
    transition: color .3s var(--ease);
}

.work-card:hover .work-card__title {
    color: var(--vermilion);
}


/* 14  Über-mich-Teaser
   ========================================================================== */

.about-teaser {
    overflow: hidden;
}

.about-teaser__grid {
    display: grid;
    gap: var(--space-l);
    align-items: center;
}

.about-teaser__portrait {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1;
    margin-inline: auto;
}

.about-teaser__photo {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--line-light);
}

.about-teaser__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.about-teaser__text > p:not(.eyebrow) {
    max-width: 34rem;
    margin-top: 1.5rem;
    color: rgba(251, 246, 236, .75);
}

@media (min-width: 900px) {
    .about-teaser__grid {
        grid-template-columns: .9fr 1.1fr;
    }
}


/* 15  Call to Action
   ========================================================================== */

.cta {
    padding-block: var(--space-l) var(--space-xl);
}

.cta__inner {
    position: relative;
    display: grid;
    gap: 1.75rem;
    align-items: center;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background: var(--sun);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    max-width: calc(var(--container));
    padding-inline: clamp(1.5rem, 5vw, 4.5rem);
}

.cta__sun {
    position: absolute;
    right: -6rem;
    top: 50%;
    z-index: -1;
    width: 22rem;
    height: 22rem;
    color: var(--sun-light);
    translate: 0 -50%;
    animation: spin 60s linear infinite;
}

.cta__title {
    font-family: var(--f-display);
    font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.cta__text {
    max-width: 34rem;
    margin-top: .75rem;
}

@media (min-width: 820px) {
    .cta__inner {
        grid-template-columns: 1fr auto;
    }
}


/* 16  Footer
   ========================================================================== */

.site-footer {
    position: relative;
    padding-top: var(--space-xl);
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}

.site-footer__top {
    display: grid;
    gap: var(--space-l);
}

.site-footer__claim .hand {
    font-size: 1.9rem;
    color: var(--sun);
    transform: rotate(-3deg);
    transform-origin: left;
}

.site-footer__big {
    margin-block: .4rem 1.75rem;
    font-family: var(--f-display);
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
    font-weight: 330;
    line-height: 1.05;
}

.site-footer__big em {
    color: var(--sun);
}

.site-footer__cols {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer__title {
    margin-bottom: 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sun);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-block: .35rem;
}

.contact-list .icon {
    color: var(--sun);
}

.contact-list a,
.link-list a,
.legal-links a {
    text-decoration: none;
    word-break: break-word;
    transition: color .25s var(--ease);
}

.site-footer a:hover {
    color: var(--sun);
}

.link-list li {
    padding-block: .3rem;
}

.site-footer__bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.6rem;
    margin-top: var(--space-l);
    font-size: .9rem;
    color: rgba(251, 246, 236, .65);
}

/* Trennlinie nur über die Inhaltsbreite (ohne Seitenabstand) */
.site-footer__bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--gutter);
    right: var(--gutter);
    border-top: 1px solid var(--line-light);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .site-footer__top {
        grid-template-columns: 1.2fr 1fr;
        align-items: end;
    }
}


/* 17  Seitenkopf (Unterseiten)
   ========================================================================== */

.page-hero {
    position: relative;
    padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
}

.page-hero__sun {
    position: absolute;
    top: -9rem;
    right: -7rem;
    width: 24rem;
    height: 24rem;
    color: var(--sun-light);
    opacity: .55;
    animation: spin 80s linear infinite;
    pointer-events: none;
}

.page-hero__grid {
    position: relative;
    display: grid;
    gap: var(--space-l);
    align-items: center;
}

.page-hero__title {
    max-width: 18ch;
    font-family: var(--f-display);
    font-size: clamp(2.4rem, 1.5rem + 4vw, 4.8rem);
    font-weight: 350;
    line-height: 1.02;
    letter-spacing: -.03em;
    hyphens: manual;
}

.page-hero__intro {
    max-width: 40rem;
    margin-top: 1.5rem;
    font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
    color: var(--ink-soft);
}

.page-hero__media .arch {
    width: min(100%, 380px);
    margin-inline: auto;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    font-size: .88rem;
    color: var(--ink-soft);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: .4rem;
    color: var(--sun-deep);
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--vermilion);
}

@media (min-width: 900px) {
    .page-hero--image .page-hero__grid {
        grid-template-columns: 1.4fr 1fr;
    }
}


/* 18  Bildrahmen: Bogen, Polaroid, Blob
   ========================================================================== */

.arch {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 999px 999px var(--radius) var(--radius);
    box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--line), var(--shadow-m);
}

.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid {
    --r: -3deg;
    padding: .65rem .65rem 2.6rem;
    background: var(--white);
    box-shadow: var(--shadow-m);
    transform: rotate(var(--r));
    transition: transform .5s var(--ease-out);
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.02);
}

.polaroid img {
    width: 100%;
}

.polaroid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .55rem;
    font-size: 1.35rem;
    text-align: center;
    color: var(--ink-soft);
}

.polaroid--tilt   { --r: -4deg; }
.polaroid--tilt-r { --r: 3.5deg; }

/* Polaroids mit Bildunterschrift benötigen einen Positionsrahmen */
figure.polaroid {
    position: relative;
}

.blob {
    border-radius: 62% 38% 46% 54% / 58% 44% 56% 42%;
}

.blob--b {
    border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
}

.blob--c {
    border-radius: 55% 45% 38% 62% / 52% 60% 40% 48%;
}


/* 19  Inhalt: Split, Prosa, Zitate, Werdegang
   ========================================================================== */

.split {
    display: grid;
    gap: var(--space-l);
    align-items: start;
}

.split__side {
    display: grid;
    gap: 2rem;
    justify-items: center;
}

.split__side .polaroid {
    width: min(100%, 320px);
}

@media (min-width: 960px) {
    .split {
        grid-template-columns: 1.6fr 1fr;
    }

    .split__side {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
    }
}

.quote--sun {
    position: relative;
    margin-block: 2.5rem;
    padding-left: 1.75rem;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
    border-left: 3px solid var(--sun);
}

.milestones {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    counter-reset: step;
}

.milestone {
    position: relative;
    padding: 2.2rem 1.4rem 1.6rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
}

.milestone::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 1.4rem;
    width: 18px;
    height: 18px;
    background: var(--sun);
    border: 4px solid var(--paper-2);
    border-radius: 50%;
}

.milestone__when {
    font-family: var(--f-hand);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--sun-deep);
}

.milestone__title {
    margin-block: .2rem .5rem;
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 450;
    line-height: 1.2;
}

.milestone p {
    font-size: .95rem;
    color: var(--ink-soft);
}

.empty-note {
    padding: 1.4rem 1.6rem;
    background: var(--white);
    border-left: 3px solid var(--sun);
    border-radius: 0 var(--radius) var(--radius) 0;
}


/* 20  Bilder-Übersicht (Bento)
   ========================================================================== */

.bento {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    grid-auto-flow: dense;
}

@media (min-width: 900px) {
    .bento {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento__item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.bento__item {
    display: flex;
}

.stack-card {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 320px;
    text-decoration: none;
    color: var(--paper);
    isolation: isolate;
}

/* Papierstapel, der beim Hovern auffächert */
.stack-card::before,
.stack-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: var(--radius);
    transition: transform .6s var(--ease-out);
}

.stack-card::before {
    background: var(--sun);
    transform: rotate(0deg);
}

.stack-card::after {
    background: var(--paper-3);
    transform: rotate(0deg);
}

.stack-card:hover::before {
    transform: rotate(3deg) translate(8px, 4px);
}

.stack-card:hover::after {
    transform: rotate(-2.5deg) translate(-6px, 6px);
}

.stack-card__img {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink-2);
}

.stack-card__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(30, 22, 18, .55) 55%, rgba(30, 22, 18, .9));
}

.stack-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}

.stack-card:hover .stack-card__img img {
    transform: scale(1.06);
}

.stack-card__body {
    position: relative;
    align-self: flex-end;
    width: 100%;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.stack-card__count {
    position: absolute;
    top: -1rem;
    right: clamp(1.25rem, 3vw, 2rem);
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--sun);
    border-radius: 50%;
}

.stack-card__tech {
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sun-light);
}

.stack-card__title {
    margin-block: .25rem 1rem;
    font-family: var(--f-display);
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
}

.bento__item:nth-child(1) .stack-card__title {
    font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem);
}

.stack-card .link-arrow {
    color: var(--paper);
}


/* 21  Galerie (Mauerwerk) & Lightbox
   ========================================================================== */

.gallery-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    margin-bottom: var(--space-m);
    font-size: .92rem;
    color: var(--ink-soft);
}

.gallery-meta__hint {
    margin-left: auto;
    font-family: var(--f-hand);
    font-size: 1.3rem;
    color: var(--sun-deep);
}

.masonry {
    columns: 3 260px;
    column-gap: clamp(1rem, 2vw, 1.75rem);
}

.masonry__item {
    break-inside: avoid;
    margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

.frame {
    position: relative;
    display: block;
    padding: .5rem;
    background: var(--white);
    box-shadow: var(--shadow-s);
    transition: padding .45s var(--ease-out), box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}

.frame img {
    width: 100%;
}

.frame:hover {
    padding: 1.1rem;
    box-shadow: var(--shadow-m);
    transform: rotate(-.6deg);
}

.masonry__item:nth-child(even) .frame:hover {
    transform: rotate(.6deg);
}

.frame__zoom {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--sun);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .3s var(--ease), transform .4s var(--ease-out);
}

.frame:hover .frame__zoom,
.frame:focus-visible .frame__zoom {
    opacity: 1;
    transform: none;
}

.masonry__caption {
    padding: .6rem .25rem 0;
    font-family: var(--f-display);
    font-size: .98rem;
    font-style: italic;
    color: var(--ink-soft);
}

/* Lightbox */
.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    color: var(--paper);
    background: rgba(24, 18, 15, .96);
    border: 0;
}

.lightbox::backdrop {
    background: transparent;
}

.lightbox[open] {
    display: grid;
    place-items: center;
    animation: fade-in .3s var(--ease);
}

.lightbox__figure {
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding: 4.5rem 1rem 3.5rem;
}

.lightbox__img {
    max-width: min(92vw, 1100px);
    max-height: calc(100dvh - 10rem);
    width: auto;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    border: 8px solid var(--white);
}

.lightbox__img.is-loading {
    opacity: .3;
}

.lightbox__caption {
    max-width: 50rem;
    font-family: var(--f-display);
    font-style: italic;
    text-align: center;
}

.lightbox__count {
    position: absolute;
    top: 1.4rem;
    left: 1.5rem;
    font-size: .9rem;
    letter-spacing: .12em;
    color: rgba(251, 246, 236, .7);
}

.lightbox__btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    color: var(--paper);
    background: rgba(251, 246, 236, .08);
    border: 1px solid var(--line-light);
    border-radius: 50%;
    transition: background .25s var(--ease), color .25s var(--ease);
}

.lightbox__btn:hover {
    color: var(--ink);
    background: var(--sun);
}

.lightbox__btn--close { top: 1rem; right: 1rem; }
.lightbox__btn--prev  { left: 1rem;  top: 50%; translate: 0 -50%; }
.lightbox__btn--next  { right: 1rem; top: 50%; translate: 0 -50%; }

.lightbox.is-single .lightbox__btn--prev,
.lightbox.is-single .lightbox__btn--next,
.lightbox.is-single .lightbox__count {
    display: none;
}

@media (max-width: 640px) {
    .lightbox__btn--prev,
    .lightbox__btn--next {
        top: auto;
        bottom: 1rem;
        translate: none;
    }
}


/* 22  Blättern (Pager)
   ========================================================================== */

.pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding-block: var(--space-l);
    border-top: 1px solid var(--line);
}

.pager__link {
    display: grid;
    gap: .2rem;
    text-decoration: none;
}

.pager__link small {
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.pager__link span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--f-display);
    font-size: clamp(1rem, .9rem + .6vw, 1.35rem);
    line-height: 1.2;
    transition: color .25s var(--ease);
}

.pager__link:hover span {
    color: var(--vermilion);
}

.pager__link--next {
    text-align: right;
    justify-items: end;
}

.pager__link--all {
    padding: .6rem 1.1rem;
    font-size: .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.pager__link--all:hover {
    border-color: var(--ink);
}

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

    .pager__link--all {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }
}


/* 23  Ausstellungen: Zeitleiste & Detail
   ========================================================================== */

.timeline__year {
    display: grid;
    gap: 1rem;
    padding-block: 2rem;
    border-top: 1px solid var(--line);
}

.timeline__label {
    font-family: var(--f-display);
    font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
    font-weight: 600;
    font-style: italic;
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--sun-deep);
}

.timeline__items {
    display: grid;
    gap: .75rem;
}

.event {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: .75rem;
    text-decoration: none;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.event:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-m);
}

.event__thumb {
    display: grid;
    place-items: center;
    width: clamp(84px, 14vw, 132px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-2);
    border-radius: calc(var(--radius) - 6px);
}

.event__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event__thumb svg {
    width: 50%;
    height: 50%;
    color: var(--sun);
}

.event__when {
    font-size: .82rem;
    font-weight: 500;
    color: var(--sun-deep);
}

.event__title {
    font-family: var(--f-display);
    font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
    font-weight: 450;
    line-height: 1.2;
}

.event__place {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .2rem;
    font-size: .88rem;
    color: var(--ink-soft);
}

.event__arrow {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-right: .5rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}

.event:hover .event__arrow {
    color: var(--ink);
    background: var(--sun);
    border-color: var(--sun);
}

@media (max-width: 560px) {
    .event__arrow {
        display: none;
    }

    .event {
        grid-template-columns: auto 1fr;
    }
}

@media (min-width: 860px) {
    .timeline__year {
        grid-template-columns: 220px 1fr;
        gap: 2rem;
    }

    .timeline__label {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
        align-self: start;
    }
}

/* Detailseite */
.exhibit {
    display: grid;
    gap: var(--space-m);
    align-items: start;
}

.facts {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
}

.facts dt {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sun-deep);
}

.facts dd {
    margin-top: .2rem;
    font-weight: 450;
}

@media (min-width: 860px) {
    .exhibit {
        grid-template-columns: 300px 1fr;
        gap: var(--space-l);
    }

    .exhibit__facts {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
    }
}

.video {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-top: 2rem;
    overflow: hidden;
    background: var(--ink);
    border-radius: var(--radius);
}

.video__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(.55);
    transform: scale(1.05);
}

.video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.5rem;
    font-weight: 500;
    color: var(--ink);
    background: var(--sun);
    border: 0;
    border-radius: 999px;
    translate: -50% -50%;
    transition: transform .3s var(--ease);
}

.video__play:hover {
    transform: scale(1.06);
}

.video__note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .7rem 1rem;
    font-size: .8rem;
    text-align: center;
    color: rgba(251, 246, 236, .8);
}

.video__note a {
    color: var(--sun-light);
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* 24  Malkurse
   ========================================================================== */

.wide-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-m);
}

.wide-image img {
    width: 100%;
    aspect-ratio: 980 / 330;
    object-fit: cover;
}

.workshops {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.workshop {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.workshop:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m);
}

.workshop__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--paper-3);
}

.workshop__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop__date {
    position: absolute;
    left: 1rem;
    bottom: -1.75rem;
    display: grid;
    place-content: center;
    justify-items: center;
    width: 5.2rem;
    height: 5.2rem;
    text-align: center;
    background: var(--sun);
    border: 4px solid var(--white);
    border-radius: 50%;
}

.workshop__day {
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
}

.workshop__month {
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.workshop__body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
    padding: 2.4rem 1.4rem 1.4rem;
}

.workshop__title {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 450;
    line-height: 1.2;
}

.workshop__time,
.course__schedule {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--sun-deep);
}

.workshop__body > p:not([class]) {
    color: var(--ink-soft);
}

/* Preis + Anfrage-Button am Kartenende */
.card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    width: 100%;
    margin-top: auto;
    padding-top: .75rem;
}

.card-actions .price-tag {
    align-self: center;
}

.course .card-actions {
    justify-content: flex-start;
    margin-top: .25rem;
}

.price-tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: .4rem;
    padding: .35rem .9rem;
    font-weight: 600;
    background: var(--paper-2);
    border-radius: 6px 999px 999px 6px;
}

.price-tag::before {
    content: "";
    width: .45rem;
    height: .45rem;
    background: var(--sun-deep);
    border-radius: 50%;
}

.courses {
    display: grid;
    gap: var(--space-l);
}

.course {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.course__media {
    display: grid;
    place-items: center;
}

.course__media .polaroid {
    width: min(100%, 300px);
}

.course__media--sun svg {
    width: min(60%, 220px);
    aspect-ratio: 1;
    color: var(--sun);
    animation: spin 50s linear infinite;
}

.course__body {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    align-items: flex-start;
}

.course__title {
    font-family: var(--f-display);
    font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
    font-weight: 400;
    line-height: 1.1;
}

.course__body > p:not([class]) {
    max-width: 38rem;
    color: var(--ink-soft);
}

@media (min-width: 860px) {
    .course {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--space-l);
    }

    .course--flip .course__media {
        order: 2;
    }
}


/* 25  Kunsttherapie
   ========================================================================== */

.badge-new {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .25rem .9rem;
    font-family: var(--f-hand);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    background: var(--vermilion);
    border-radius: 999px;
    transform: rotate(-4deg);
}

.prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: var(--space-m);
}

.price-card {
    display: grid;
    gap: .2rem;
    padding: 1.4rem 1.6rem;
    background: var(--sun);
    border-radius: var(--radius);
}

.price-card--alt {
    background: var(--ink);
    color: var(--paper);
}

.price-card__label {
    font-weight: 500;
}

.price-card__value {
    font-family: var(--f-display);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
}

.price-card__note {
    font-size: .85rem;
    opacity: .75;
}

.pillars {
    display: grid;
    gap: .75rem;
    width: 100%;
}

.pillars li {
    display: grid;
    gap: .1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-left: 3px solid var(--sun);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-s);
}

.pillars strong {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 450;
}

.pillars span {
    font-size: .92rem;
    color: var(--ink-soft);
}

.split__side > .polaroid {
    width: min(70%, 240px);
}

.notice {
    max-width: 78ch;
    padding: 1.4rem 1.6rem;
    background: var(--white);
    border-left: 3px solid var(--sun);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-s);
}

.notice__title {
    margin-bottom: .4rem;
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 450;
}


/* 26  Kontakt & Formular
   ========================================================================== */

.contact {
    display: grid;
    gap: var(--space-l);
    align-items: start;
}

.contact__card {
    padding: 2rem;
    color: var(--paper);
    background: var(--ink);
    border-radius: var(--radius-lg);
}

.contact__photo {
    width: 7.5rem;
    aspect-ratio: 1;
    margin-bottom: 1.25rem;
    overflow: hidden;
    border: 3px solid var(--sun);
    border-radius: 50%;
}

.contact__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact__name {
    font-family: var(--f-display);
    font-size: 1.8rem;
    line-height: 1.1;
}

.contact__role {
    margin-block: .3rem 1.25rem;
    font-size: .9rem;
    color: rgba(251, 246, 236, .7);
}

.contact__card a {
    text-decoration: none;
}

.contact__card a:hover {
    color: var(--sun);
}

@media (min-width: 900px) {
    .contact {
        grid-template-columns: 340px 1fr;
    }

    .contact__card {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
    }
}

.form {
    display: grid;
    gap: 1.25rem;
}

.form__row {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form__row {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: grid;
    gap: .4rem;
}

.field label {
    font-size: .9rem;
    font-weight: 500;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
    width: 100%;
    padding: .9rem 1.1rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
    min-height: 10rem;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--sun-deep);
    box-shadow: 0 0 0 4px rgba(240, 165, 44, .25);
}

.field [aria-invalid="true"] {
    border-color: var(--vermilion);
}

.field__error {
    font-size: .86rem;
    color: var(--vermilion);
}

.field--check {
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: .75rem;
}

.field--check input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .2rem;
    accent-color: var(--sun-deep);
}

.field--check label {
    font-weight: 380;
    color: var(--ink-soft);
}

.field--check .field__error {
    grid-column: 2;
}

.form .btn {
    justify-self: start;
}

/* Honeypot */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius);
}

.alert--success {
    background: #E5F0DA;
    border-left: 4px solid #5D8A3A;
}

.alert--error {
    background: #F8E0D8;
    border-left: 4px solid var(--vermilion);
}


/* 27  404
   ========================================================================== */

.notfound {
    padding-block: var(--space-xl);
    text-align: center;
}

.notfound__inner {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
    max-width: 44rem;
}

.notfound__code {
    display: flex;
    align-items: center;
    font-family: var(--f-display);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

.notfound__code svg {
    width: .85em;
    height: .85em;
    color: var(--sun);
    animation: spin 20s linear infinite;
}

.notfound__title {
    font-family: var(--f-display);
    font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
    font-weight: 400;
}

.notfound .btn-row {
    justify-content: center;
}


/* 28  Animationen & Bewegung
   ========================================================================== */

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    50% { transform: translateY(-10px); }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes fade-in {
    from { opacity: 0; }
}

/* Einblenden beim Scrollen (nur mit JavaScript aktiv) */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
