/* ==========================================================================
   Julia Stark – Website
   Gestaltung nach dem Wickelfalz-Flyer: Creme, Gelb, Blau, Anthrazit,
   dünne Konturen, runde Boxen, General Sans.
   ========================================================================== */

@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-VariableItalic.woff2") format("woff2");
  font-weight: 200 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #262A2D;
  --cream: #EFEFE3;
  --paper: #F8F8F0;
  --yellow: #EAEC8D;
  --blue: #7C98CE;
  --blue-soft: #CAD6EE;
  --alert: #E8604C;
  --error: #B4412F;

  --line-w: 1.5px;
  --line: var(--line-w) solid var(--ink);
  --radius: 22px;
  --radius-lg: 34px;

  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 84px;

  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.3, 1.55, .5, 1);
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 18px; border-radius: 999px; text-decoration: none;
}
.skip:focus { left: 12px; }

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

/* ---------- Typografie ---------- */

.h1 { font-size: clamp(2.7rem, 7.2vw, 6.6rem); line-height: .94; letter-spacing: -.045em; font-weight: 700; margin: 0 0 .35em; }
.h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: .95; letter-spacing: -.04em; font-weight: 700; margin: 0 0 .4em; }
.h3 { font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; margin: 0 0 .6em; }
.lead { font-size: clamp(1.2rem, 1.75vw, 1.55rem); line-height: 1.28; letter-spacing: -.012em; margin: 0; max-width: 42ch; }

.prose { max-width: 62ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.1rem; font-weight: 600; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .7em; height: .7em;
  border: var(--line); border-radius: 50%;
}
.prose blockquote { margin: 1.4em 0; padding: 1em 1.3em; background: var(--yellow); border: var(--line); border-radius: var(--radius); font-weight: 500; }
.prose a { font-weight: 500; }


.tag {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .82rem; font-weight: 500; line-height: 1; letter-spacing: .01em;
  padding: .45em .8em; border: var(--line); border-radius: 999px; background: var(--paper); white-space: nowrap;
}
.tag--blue { background: var(--blue); }
.tag--yellow { background: var(--yellow); }

.arrow { display: inline-block; transition: transform .25s var(--ease-out); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border: var(--line); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 500 1rem/1.1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
}
.btn:hover { transform: translate(2px, -2px); box-shadow: -4px 4px 0 var(--ink); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: none; box-shadow: none; }
.btn--yellow { background: var(--yellow); }
.btn--blue { background: var(--blue); }
.btn--paper { background: var(--paper); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { box-shadow: -4px 4px 0 var(--blue); }
.btn--lg { font-size: 1.1rem; padding: .95em 1.6em; }
.btn--small { font-size: .9rem; padding: .6em 1.05em; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header & Navigation ---------- */

.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: var(--line-w) solid transparent; transition: border-color .3s;
}
.is-scrolled .site-header::before { border-bottom-color: var(--ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.08; position: relative; z-index: 60; }
.brand__rays { width: 38px; height: 38px; flex: none; transition: transform .6s var(--ease-out); }
.brand:hover .brand__rays { transform: rotate(45deg); }
.brand__text { display: flex; flex-direction: column; font-size: .86rem; }
.brand__text b { font-size: 1.08rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 1px; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: 9px 15px; border-radius: 999px;
  text-decoration: none; font-weight: 500; transition: background-color .2s;
}
.site-nav__list a:hover { background: rgba(38, 42, 45, .07); }
.site-nav__list a[aria-current] { background: var(--yellow); box-shadow: inset 0 0 0 var(--line-w) var(--ink); }
.site-nav__extra { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .brand__rays { width: 32px; height: 32px; }
  .menu-toggle {
    display: inline-flex; align-items: center; position: relative; z-index: 60;
    padding: 11px 20px; border: var(--line); border-radius: 999px; background: var(--paper); color: var(--ink);
    font: 500 1rem/1 var(--font); letter-spacing: .01em; cursor: pointer;
  }
  .menu-toggle__close { display: none; }
  .menu-open .menu-toggle { background: var(--ink); color: var(--yellow); }
  .menu-open .menu-toggle__open { display: none; }
  .menu-open .menu-toggle__close { display: inline; }

  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; gap: 28px;
    padding: calc(var(--header-h) + 28px) var(--gutter) 28px;
    background: var(--yellow); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-14px);
    transition: opacity .3s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s;
  }
  .menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease-out), transform .35s var(--ease-out); }
  .site-nav__list { flex-direction: column; width: 100%; gap: 0; }
  .site-nav__list li { border-bottom: var(--line); }
  .site-nav__list li:first-child { border-top: var(--line); }
  .site-nav__list a {
    padding: 12px 0; border-radius: 0; font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05;
    display: flex; justify-content: space-between; align-items: center;
  }
  .site-nav__list a::after { content: "→"; font-weight: 500; font-size: .6em; transition: transform .2s; }
  .site-nav__list a:hover { background: none; }
  .site-nav__list a:hover::after { transform: translateX(4px); }
  .site-nav__list a[aria-current] { background: none; box-shadow: none; }
  .site-nav__list a[aria-current]::before { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--ink); margin-right: .3em; order: -1; }
  .site-nav__list a[aria-current] { justify-content: flex-start; }
  .site-nav__list a[aria-current]::after { margin-left: auto; }
  .site-nav__cta { font-size: 1.15rem; padding: .9em 1.6em; background: var(--paper); }
  .site-nav__extra { display: block; margin-top: auto; font-size: .98rem; line-height: 1.4; }
  .site-nav__extra p { margin: 0 0 .6em; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Header-Hero mit Störern ---------- */

.hero { position: relative; padding: clamp(20px, 3.5vw, 48px) 0 clamp(56px, 7vw, 104px); }
.hero__wrap { position: relative; z-index: 2; }
.hero__top { display: flex; justify-content: flex-end; align-items: center; margin-bottom: clamp(20px, 3vw, 40px); }

.hero__title {
  margin: 0;
  font-size: clamp(3.1rem, 9.4vw, 9.6rem);
  line-height: .95;
  letter-spacing: -.048em;
  font-weight: 700;
  text-wrap: wrap;
}
.hw { position: relative; z-index: 1; }

.slot {
  --w: .82em;
  display: inline-block; position: relative; z-index: 2;
  width: var(--w); height: .8em; margin-right: .22em;
  vertical-align: -.07em;
  transition: width .75s cubic-bezier(.6, 0, .2, 1), margin .75s cubic-bezier(.6, 0, .2, 1);
  transition-delay: calc(var(--i) * .16s);
}
.slot__inner {
  position: absolute; inset: 0; display: block;
  rotate: var(--r);
  animation: pop .75s var(--ease-spring) both;
  animation-delay: calc(.35s + var(--i) * .2s);
}
.slot svg, .slot img { width: 100%; height: 100%; overflow: visible; }
.slot img { object-fit: contain; }
.slot--mail, .slot--chat { --w: .82em; }
.slot--like { --w: .92em; }
.slot--emojis { --w: 1.66em; }
.slot--akku { --w: 1.48em; height: .78em; }
.slot--zeit { --w: 1.08em; }
.slot--push { --w: 3.5em; height: .76em; vertical-align: -.04em; container-type: size; }

.badge {
  position: absolute; top: -.1em; right: -.18em;
  display: flex; align-items: center; justify-content: center;
  min-width: 1.75em; height: 1.75em; padding: 0 .5em;
  font-size: max(.16em, 11px); font-weight: 600; line-height: 1; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: #fff; background: var(--alert); border: 2px solid var(--ink); border-radius: 999px;
  rotate: calc(var(--r) * -1);
}
.badge--like { top: auto; bottom: .02em; right: -.42em; color: var(--yellow); background: var(--ink); }
.badge.bump, .push__meta em.bump { animation: bump .45s var(--ease-spring); }

/* Push-Benachrichtigung – skaliert über Container-Einheiten mit der Headline */
.push {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 7cqh;
  padding: 0 9cqh 0 9cqh;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 26cqh;
  box-shadow: -5px 5px 0 var(--ink);
  font-size: 16.5cqh; font-weight: 400; line-height: 1.18; letter-spacing: 0; text-align: left; color: var(--ink);
}
.push__icon { flex: none; width: 58cqh; height: 58cqh; }
.push__icon svg { width: 100%; height: 100%; }
.push__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.push__body b, .push__body span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.push__body b { font-weight: 600; }
.push__meta { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5cqh; font-size: .8em; }
.push__meta em { font-style: normal; font-weight: 600; color: #fff; background: var(--alert); border-radius: 999px; padding: .15em .55em; font-variant-numeric: tabular-nums; }

/* Frei schwebende Störer – positioniert relativ zur Headline (skaliert mit ihr) */
.hero__stage { position: relative; }
.floaters { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.floater {
  --d: 2.2s;
  position: absolute; display: block;
  animation: floatIn .7s var(--ease-spring) both, bob 5.5s ease-in-out infinite;
  animation-delay: var(--d), calc(var(--d) + .7s);
  transition: opacity .35s, scale .35s;
}
.floater--1 { top: 3%; right: 0; width: 25.5%; height: 5.4vw; max-height: 86px; container-type: size; rotate: 3deg; --d: 2.1s; }
.floater--2 { top: 57%; right: 0; rotate: -5deg; --d: 2.9s; }
.floater--3 { bottom: 5%; right: 3%; width: 24%; height: 5vw; max-height: 80px; container-type: size; rotate: -3deg; --d: 3.6s; }

.typing {
  display: flex; gap: 7px; padding: 16px 20px;
  background: var(--blue); border: 2px solid var(--ink); border-radius: 24px 24px 24px 6px;
  box-shadow: -4px 4px 0 var(--ink);
}
.typing i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

/* „Nicht stören“: alle Störer verschwinden, die Headline wird ruhig */
.dnd {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border: var(--line); border-radius: 999px; background: var(--paper);
  font: 500 .95rem/1 var(--font); color: var(--ink); cursor: pointer;
  transition: background-color .3s;
}
.dnd:hover { background: #fff; }
.dnd__switch { position: relative; width: 46px; height: 28px; flex: none; border: var(--line); border-radius: 999px; background: var(--cream); transition: background-color .3s; }
.dnd__switch span { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); transition: transform .35s var(--ease-spring); }
.dnd[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.dnd[aria-pressed="true"] .dnd__switch { background: var(--blue); border-color: var(--cream); }
.dnd[aria-pressed="true"] .dnd__switch span { transform: translateX(18px); background: var(--cream); }

.hero.is-calm .slot { width: 0; margin-right: 0; transition-delay: 0s; }
.hero.is-calm .slot__inner { animation: unpop .45s cubic-bezier(.5, 0, .75, 0) both; }
.hero.is-calm .floater { animation: none; opacity: 0; scale: .4; }

.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; margin-top: clamp(32px, 4.4vw, 64px); }
.hero__copy { max-width: 36ch; }
.hero__text { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.22; letter-spacing: -.015em; margin: 0; }
.hero__calm {
  margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  font-size: 1.02rem; line-height: 1.4;
  transition: max-height .6s var(--ease-out), opacity .5s, margin .6s;
}
.hero.is-calm .hero__calm { max-height: 8em; opacity: 1; margin-top: 1em; }
.hero__calm::before { content: "☾ "; font-size: 1.1em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes pop {
  from { scale: 0; opacity: 0; }
  60% { opacity: 1; }
  to { scale: 1; opacity: 1; }
}
@keyframes unpop {
  from { scale: 1; opacity: 1; }
  to { scale: 0; opacity: 0; }
}
@keyframes floatIn {
  from { scale: 0; opacity: 0; }
  to { scale: 1; opacity: 1; }
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
@keyframes bump {
  0% { scale: 1; }
  40% { scale: 1.35; }
  100% { scale: 1; }
}
@keyframes typing {
  0%, 60%, 100% { translate: 0 0; opacity: .5; }
  30% { translate: 0 -6px; opacity: 1; }
}

/* ---------- Laufband ---------- */

.ticker { overflow: hidden; background: var(--yellow); border-block: var(--line); padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.9rem); letter-spacing: -.025em; }
.ticker__rays { width: .85em; height: .85em; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */

.section { padding: clamp(64px, 9vw, 136px) 0; }
.section--tight { padding-top: 0; }
.section--yellow { background: var(--yellow); }
.section--blue { background: var(--blue-soft); }
.section--paper { background: var(--paper); }

/* Bausteine auf farbigen Flächen: gleiche Farbe wird zu Papier, damit nichts verschwimmt */
.section--yellow .btn--yellow,
.section--yellow .box--yellow,
.section--yellow .quote-box { background: var(--paper); }
.section--blue .box--blue,
.section--blue .tag--blue { background: var(--paper); }
:is(.section--yellow, .section--blue) .event-row__link:hover { background: rgba(255, 255, 255, .5); }
:is(.section--yellow, .section--blue) .empty-state { background: var(--paper); }
.section-head { max-width: 920px; margin-bottom: clamp(32px, 4.2vw, 60px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; max-width: none; flex-wrap: wrap; }
.section-head--row .h2 { margin: 0; }
.section-head--row .h2 + .prose { margin-top: .9em; }

/* ---------- Dreiklang ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.pillar { position: relative; border: var(--line); border-radius: var(--radius-lg); background: var(--paper); transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
.pillar--yellow { background: var(--yellow); }
.pillar--blue { background: var(--blue); }
.pillar--line { background: transparent; }
.pillar:hover { transform: translate(3px, -3px); box-shadow: -7px 7px 0 var(--ink); }
.pillar__link { display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 2.4vw, 36px); text-decoration: none; color: inherit; border-radius: inherit; }
.pillar__no { align-self: flex-start; font-weight: 600; font-size: .9rem; line-height: 1; padding: .45em .8em; border: var(--line); border-radius: 999px; background: var(--paper); }
.pillar__img { align-self: center; width: auto; height: clamp(150px, 15vw, 210px); object-fit: contain; margin: 18px 0 28px; transition: transform .5s var(--ease-spring); }
.pillar:hover .pillar__img { transform: rotate(-4deg) scale(1.04); }
.pillar__title { font-size: clamp(1.65rem, 2.3vw, 2.25rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 0 0 .45em; hyphens: manual; }
.pillar__aud { font-weight: 600; margin: 0 0 .7em; }
.pillar__text { margin: 0 0 1.8em; }
.pillar__cta { margin-top: auto; font-weight: 600; display: inline-flex; gap: .45em; align-items: center; }
.pillar:hover .arrow { transform: translateX(5px); }

/* ---------- Terminliste ---------- */

.event-list { list-style: none; margin: 0; padding: 0; border-top: var(--line); }
.event-row { border-bottom: var(--line); }
.event-row__link {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 24px 12px; text-decoration: none; color: inherit; border-radius: 18px; transition: background-color .2s;
}
.event-row__link:hover { background: var(--paper); }
.event-row__date { display: flex; flex-direction: column; line-height: 1; }
.event-row__day { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 700; letter-spacing: -.05em; }
.event-row__month { font-size: .95rem; font-weight: 500; margin-top: 6px; }
.event-row__main { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.event-row__title { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.event-row__meta { font-size: .98rem; opacity: .82; }
.event-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.seats { font-size: .9rem; font-weight: 500; }
.seats--full { color: var(--error); }
.empty-state { border: var(--line); border-radius: var(--radius); padding: 32px; background: var(--paper); max-width: 760px; }
.empty-state p:last-child { margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.filters a { display: inline-block; padding: .55em 1em; border: var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; transition: background-color .2s; }
.filters a:hover { background: var(--paper); }
.filters a[aria-current] { background: var(--ink); color: var(--cream); }

/* ---------- Zahlen ---------- */

.stats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 72px) clamp(24px, 3.5vw, 56px); }
.stat { display: grid; grid-template-columns: clamp(84px, 8vw, 116px) minmax(0, 1fr); gap: 4px 20px; align-items: start; }
.stat__img { grid-row: span 2; width: 100%; aspect-ratio: 1; object-fit: contain; }
.stat__value { font-size: clamp(2.4rem, 3.8vw, 3.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: .1em 0 .25em; }
.stat__text { margin: 0; line-height: 1.4; }
.stats__source { font-size: .8rem; margin: clamp(40px, 5vw, 64px) 0 0; opacity: .7; max-width: 70ch; }

/* ---------- Haltung ---------- */

.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 120px); align-items: start; }
.why__img { width: min(440px, 100%); margin: 0 0 40px -8px; }
.why__col:last-child { padding-top: clamp(0px, 8vw, 140px); }
.quote-box {
  position: relative; margin: 44px 0 0;
  padding: clamp(24px, 2.6vw, 34px) clamp(64px, 7vw, 100px) clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px);
  background: var(--yellow); border: var(--line); border-radius: var(--radius);
  font-size: clamp(1.2rem, 1.65vw, 1.5rem); font-weight: 600; line-height: 1.22; letter-spacing: -.018em;
}
.quote-box p { margin: 0; }
.quote-box__burst { position: absolute; top: -46px; right: -26px; width: clamp(88px, 9vw, 120px); height: auto; animation: wiggle 4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { rotate: -4deg; } 50% { rotate: 6deg; } }

/* ---------- Über-mich-Teaser ---------- */

.about-teaser__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.about-teaser__photo { margin: 0; border: var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #1e1f20; min-height: 320px; }
.about-teaser__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-teaser__cards { display: flex; flex-direction: column; justify-content: center; gap: 16px; align-items: flex-start; }
.card { width: 100%; border: var(--line); border-radius: var(--radius); padding: clamp(20px, 2vw, 28px); background: transparent; }
.card--paper { background: var(--paper); }
.card--yellow { background: var(--yellow); }
.card--blue { background: var(--blue); }
.card__name { font-weight: 700; font-size: 1.35rem; margin: 0; letter-spacing: -.015em; }
.card__role { font-size: 1.35rem; margin: 0; line-height: 1.15; }
.card__label { font-weight: 600; font-size: .95rem; margin: 0 0 .7em; }
.card__list { list-style: none; margin: 0; padding: 0; font-size: 1.15rem; line-height: 1.25; }
.card__list li + li { margin-top: .55em; }

/* ---------- Kontakt-CTA ---------- */

.contact-cta { padding-top: 0; }
:is(.section--yellow, .section--blue) + .contact-cta { padding-top: clamp(64px, 9vw, 136px); }
.contact-cta__box {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 5.5vw, 80px); background: var(--yellow); border: var(--line); border-radius: var(--radius-lg);
}
.contact-cta__img { width: clamp(110px, 15vw, 210px); rotate: -9deg; }
.contact-cta__body .h2 { margin-bottom: .3em; }
.contact-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Footer ---------- */

.site-footer { padding: clamp(56px, 7vw, 104px) 0 32px; border-top: var(--line); }
.site-footer__claim { font-size: clamp(2.2rem, 6.2vw, 5.8rem); font-weight: 700; letter-spacing: -.05em; line-height: .94; margin: 0 0 36px; max-width: 13ch; }
.site-footer__pills { display: flex; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.pill { padding: 15px 28px; background: var(--yellow); border: var(--line); text-decoration: none; font-size: 1.08rem; transition: background-color .2s; }
.pill:hover { background: var(--paper); }
.pill:first-child { border-radius: 999px 0 0 999px; }
.pill:last-child { border-radius: 0 999px 999px 0; }
.pill:only-child { border-radius: 999px; }
.pill + .pill { margin-left: calc(var(--line-w) * -1); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; border-top: var(--line); font-size: .98rem; }
.site-footer__grid p { margin: 0; }
.site-footer__h { font-size: .95rem; font-weight: 600; margin: 0 0 .8em; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .4em; }
.site-footer__grid a { text-decoration: none; }
.site-footer__grid a:hover { text-decoration: underline; }
.site-footer__copy { margin: 48px 0 0; font-size: .85rem; opacity: .7; }

/* ---------- Unterseiten ---------- */

.page-hero { padding: clamp(36px, 6vw, 96px) 0 clamp(40px, 5vw, 80px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-hero .h1 { margin-bottom: .32em; font-size: clamp(2.6rem, 5.8vw, 5.6rem); }
.page-hero .h1, .event-head .h1, .pillar__title, .workshop__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.page-hero__img { justify-self: end; width: auto; max-height: clamp(200px, 26vw, 360px); object-fit: contain; }
.page-hero--narrow .page-hero__grid { grid-template-columns: minmax(0, 1fr); }

.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

.info-card { border: var(--line); border-radius: var(--radius); background: var(--yellow); padding: clamp(22px, 2.4vw, 32px); }
.info-card h2, .info-card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .7em; }
.info-card dl { margin: 0 0 1.4em; display: grid; gap: 14px; }
.info-card dt { font-weight: 600; font-size: .9rem; }
.info-card dd { margin: 2px 0 0; }
.info-card .btn { width: 100%; }
.info-card .btn + .btn { margin-top: 10px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }

.box { border: var(--line); border-radius: var(--radius); padding: clamp(22px, 2.2vw, 30px); background: transparent; }
.box--paper { background: var(--paper); }
.box--yellow { background: var(--yellow); }
.box--blue { background: var(--blue); }
.box__title { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
.box__text { margin: 0; }
.box__text p:last-child { margin: 0; }

.topic { display: flex; flex-direction: column; gap: 10px; }
.topic::before { content: ""; width: 16px; height: 16px; border: var(--line); border-radius: 50%; margin-bottom: 4px; transition: background-color .2s; }
.topic:hover::before { background: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; border-top: var(--line); padding: 22px 0 6px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-bottom: 14px; }

.workshop { display: flex; flex-direction: column; gap: 12px; }
.grid-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.workshop__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.workshop__title { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 4px 0 0; }
.workshop .prose { font-size: 1rem; }
.workshop details { margin-top: auto; }
.workshop summary { cursor: pointer; font-weight: 600; list-style: none; display: inline-flex; gap: .4em; align-items: center; }
.workshop summary::-webkit-details-marker { display: none; }
.workshop summary::after { content: "+"; font-size: 1.2em; line-height: 1; transition: transform .2s; }
.workshop details[open] summary::after { transform: rotate(45deg); }
.workshop details .prose { margin-top: 12px; }

.facts { display: flex; flex-wrap: wrap; gap: 0; }
.facts span { padding: 14px 22px; border: var(--line); background: var(--yellow); margin: 0 0 -1.5px -1.5px; }
.facts span:first-child { border-radius: 18px 0 0 18px; margin-left: 0; }
.facts span:last-child { border-radius: 0 18px 18px 0; }
.facts b { font-weight: 600; }

.photo { margin: 0; border: var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 24px); }

/* ---------- Termin-Detail ---------- */

.event-head { padding: clamp(28px, 5vw, 72px) 0 clamp(28px, 4vw, 48px); }
.back-link { display: inline-flex; gap: .4em; align-items: center; text-decoration: none; font-weight: 500; margin-bottom: clamp(20px, 3vw, 36px); }
.back-link:hover { text-decoration: underline; }
.event-head .h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 16ch; }
.event-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.event-facts .tag { font-size: .95rem; padding: .6em 1em; }
.event-image { margin: 0 0 32px; border: var(--line); border-radius: var(--radius); overflow: hidden; }

.register-card { border: var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: clamp(22px, 2.6vw, 36px); }
.register-card__title { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; margin: 0 0 .25em; }
.register-card__seats { margin: 0 0 22px; font-weight: 500; }
.capacity { height: 10px; border: var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 24px; background: var(--cream); }
.capacity span { display: block; height: 100%; background: var(--blue); border-right: var(--line); }

.cal-menu { position: relative; display: inline-block; }
.cal-menu summary { list-style: none; }
.cal-menu summary::-webkit-details-marker { display: none; }
.cal-menu summary::after { content: ""; width: .45em; height: .45em; margin-left: .2em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.15em) rotate(45deg); transition: transform .2s; }
.cal-menu[open] summary::after { transform: translateY(.1em) rotate(-135deg); }
.cal-menu__list {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 260px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--paper); border: var(--line); border-radius: 18px; box-shadow: -5px 5px 0 var(--ink);
}
.cal-menu__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.cal-menu__list a:hover, .cal-menu__list a:focus-visible { background: var(--yellow); }
.cal-menu__list small { font-weight: 400; opacity: .65; font-size: .85em; }

.event-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 36px 0 24px; border-top: var(--line); }
.event-dl > div { padding: 16px 16px 16px 0; border-bottom: var(--line); }
.event-dl dt { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.event-dl dd { margin: 0; }

.cancel-form { margin-top: 36px; padding-top: 20px; border-top: var(--line); font-size: .95rem; }
.cancel-form p { margin: 0; }
.text-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--error); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

.talk-list { list-style: none; margin: 0; padding: 0; }
.talk { display: flex; flex-direction: column; gap: 10px; }
.talk .prose p { margin: 0; }

.approach { display: grid; gap: 14px; }
.lead-prose { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.45; letter-spacing: -.008em; }

/* ---------- Formulare ---------- */

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label, .field .label { display: block; font-weight: 500; font-size: .95rem; margin: 0 0 7px; }
.field .opt { font-weight: 400; opacity: .65; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 1rem; line-height: 1.35; color: var(--ink);
  background: #fff; border: var(--line); border-radius: 14px;
  transition: box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23262A2D' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--blue); }
.field [aria-invalid="true"] { border-color: var(--error); background: #FCF0EE; }
.field__error { color: var(--error); font-size: .9rem; font-weight: 500; margin: 6px 0 0; }
.field__hint { font-size: .88rem; opacity: .75; margin: 6px 0 0; }
.check, .field label.check { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .93rem; font-weight: 400; line-height: 1.45; cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none;
  flex: none; display: grid; place-content: center;
  width: 24px; height: 24px; margin: 0; padding: 0;
  background: #fff; border: var(--line); border-radius: 7px; cursor: pointer;
  transition: background-color .15s;
}
.check input::before {
  content: ""; width: 13px; height: 13px; background: var(--yellow);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0); transition: transform .15s var(--ease-spring);
}
.check input:checked { background: var(--ink); }
.check input:checked::before { transform: scale(1); }
.check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--error); background: #FCF0EE; }
.check input[aria-invalid="true"]:checked { background: var(--ink); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; opacity: .8; }
.form-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); border-right-color: transparent; animation: spin .8s linear infinite; }
.form-status.is-ready::before { animation: none; border: 0; width: auto; height: auto; content: "✓"; font-weight: 700; }
@keyframes spin { to { rotate: 360deg; } }

.alert { padding: 16px 20px; border: var(--line); border-radius: 14px; background: #FCF0EE; font-weight: 500; }
.alert--ok { background: var(--yellow); }
.alert p:last-child { margin: 0; }

.success { text-align: left; }
.success__icon { width: 92px; margin-bottom: 18px; }

/* ---------- Rechtliches & 404 ---------- */

.legal { padding: clamp(36px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); }
.legal .prose h3 { font-size: 1.25rem; }
.not-found { padding: clamp(56px, 10vw, 160px) 0; }
.not-found img { width: 180px; margin-bottom: 24px; }

/* ---------- Scroll-Einblendungen ---------- */

.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:last-child { grid-column: 1 / -1; }
  .pillar:last-child .pillar__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; }
  .pillar:last-child .pillar__img { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floater--2 .typing { padding: 12px 15px; }
  .floater--2 .typing i { width: 9px; height: 9px; }
}

@media (max-width: 860px) {
  .why__grid, .about-teaser__grid, .page-hero__grid, .photo-row { grid-template-columns: minmax(0, 1fr); }
  .why__col:last-child { padding-top: 0; }
  .page-hero__img { justify-self: start; max-height: 220px; order: -1; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-row__link { grid-template-columns: 84px minmax(0, 1fr); gap: 8px 18px; }
  .event-row__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .hero__title { font-size: clamp(2.6rem, 13.2vw, 5rem); line-height: .98; }
  .hero__top { margin-bottom: 18px; }
  .hero__foot { margin-top: 28px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .floaters { display: none; }
  .badge { font-size: max(.2em, 10px); border-width: 1.5px; }
  .push { border-width: 1.5px; box-shadow: -3px 3px 0 var(--ink); }

  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar:last-child .pillar__link { display: flex; }
  .pillar:last-child .pillar__img { margin: 18px 0 28px; }
  .pillar__img { height: 150px; }

  .stats__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid-2, .grid-3, .grid-4, .form__row { grid-template-columns: minmax(0, 1fr); }
  .contact-cta__box { grid-template-columns: minmax(0, 1fr); }
  .contact-cta__img { width: 96px; }
  .site-footer__pills { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pill, .pill:first-child, .pill:last-child { border-radius: 999px; margin-left: 0; }
  .facts { flex-direction: column; }
  .facts span, .facts span:first-child, .facts span:last-child { border-radius: 14px; margin: 0 0 8px; }
  .quote-box__burst { top: -40px; right: -8px; }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .brand__text { font-size: .78rem; }
  .brand__text b { font-size: 1rem; }
  .event-row__side { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; translate: none; }
}

@media print {
  .site-header, .site-footer, .floaters, .ticker, .dnd, .hero__actions { display: none !important; }
  body { background: #fff; }
}
