/* Griffbrett. One idea: the route. Holds, START and TOP tape, a wall that is re-set every week.
   Tokens carry their derivation. Design decisions behind scanner findings are recorded in notes.md. */

:root {
  /* Wall paint: the blue of the generated panel material (oklch 0.42 0.16 264), darkened for grounds. */
  --mat-900: oklch(0.19 0.06 262);   /* deepest crash-mat blue, footer and closing */
  --mat-800: oklch(0.25 0.09 263);   /* ground of the hero and the week section */
  --mat-600: oklch(0.42 0.16 264);   /* wall paint as photographed in the material image */
  /* Chalk: cool white, tinted toward the wall blue, never warm (no cream). */
  --chalk: oklch(0.955 0.012 250);
  --chalk-dust: oklch(0.9 0.02 252);
  --ink: oklch(0.2 0.06 262);        /* same hue as the wall, text on light grounds */
  --muted: oklch(0.42 0.05 262);
  --border-strong: oklch(0.5 0.07 262); /* input boundaries, 3:1 on white */
  /* One route colour: yellow marks the route and the booking action, nothing else is coloured. */
  --yellow: oklch(0.89 0.17 95);
  /* Chalk-blue tint: the wall blue lifted to a light surface for the hall section. */
  --wall-tint: oklch(0.9 0.03 255);
  /* Tonal holds of other routes: quiet, so the route is the brightest thing on the wall. */
  --tone-a: oklch(0.5 0.13 264);
  --tone-b: oklch(0.33 0.11 264);
  --tone-c: oklch(0.8 0.035 255);

  --color-text: var(--ink);
  --color-bg: var(--chalk);
  --color-accent: var(--mat-600); /* focus ring and selection on light grounds */
  --color-selection-fg: var(--chalk);
  --scroll-offset: 4.5rem;

  --font: "Gabarito", system-ui, sans-serif;
  --edge: clamp(1.5rem, 4.6vw, 4.5rem); /* overhang slant between sections */
  --gutter: max(5vw, 24px);
  --radius-hold: 1.4rem 1.9rem 1.3rem 2rem; /* controls echo the irregular hold outline */
  --ease-set: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.125rem/1.6 var(--font);
  color: var(--chalk);
  background: var(--mat-900);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.16em; text-decoration-thickness: 0.06em; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.022em; line-height: 0.96; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; }

/* ---------- buttons: a physical hold you press ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font: 800 1.05rem/1 var(--font);
  color: var(--ink); background: var(--yellow);
  padding: 1em 1.4em; border: 0; border-radius: var(--radius-hold);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 oklch(0.6 0.15 88), 0 10px 24px oklch(0.1 0.05 262 / 0.35);
  transition: translate 140ms ease-out, box-shadow 140ms ease-out, background-color 140ms;
}
.btn:hover { background: oklch(0.93 0.17 97); }
.btn:active { translate: 0 4px; box-shadow: 0 1px 0 oklch(0.6 0.15 88), 0 3px 8px oklch(0.1 0.05 262 / 0.3); }
.btn--small { padding: 0.7em 1.1em; font-size: 0.95rem; }
.btn--big { font-size: 1.25rem; padding: 1.05em 1.5em; justify-content: center; width: 100%; }
.skip-link.btn { z-index: 1000; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 4.5rem;
  display: flex; align-items: center; gap: 2rem; padding-inline: var(--gutter);
  background: oklch(0.19 0.06 262 / 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em; margin-right: auto; }
.brand__hold { width: 2rem; height: 2rem; filter: drop-shadow(0 2px 2px oklch(0.1 0.05 262 / 0.5)); }
.site-nav ul { display: flex; gap: 1.6rem; margin: 0; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: 0.4rem; background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; transition: background-size 220ms ease-out; }
@media (hover: hover) { .site-nav a:hover { background-size: 100% 2px; } }

/* ---------- the wall (shared by hero, plate, week stage) ---------- */
.wall { position: relative; container-type: inline-size; overflow: hidden; background: var(--mat-600); isolation: isolate; }
.wall__paint {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(90deg, oklch(0.19 0.06 262 / 0.6) 0%, oklch(0.19 0.06 262 / 0.28) 45%, oklch(0.19 0.06 262 / 0) 75%),
    linear-gradient(180deg, oklch(0.19 0.06 262 / 0.35), oklch(0.19 0.06 262 / 0) 30%, oklch(0.19 0.06 262 / 0.45)),
    url("../img/wall-flat.webp") 50% 40% / cover,
    var(--mat-600);
}
.wall__light {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--px, 34%) var(--py, 22%), oklch(1 0 0 / 0.42), transparent 46%);
}
.holds { position: absolute; inset: 0; z-index: 1; }
.holds--over { z-index: 3; pointer-events: none; }

.hold {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--s) * 1cqw); aspect-ratio: 1; translate: -50% -50%; rotate: var(--r, 0deg);
  color: var(--c); overflow: visible;
  /* One light source: the shadow direction follows --lx / --ly, set from the pointer in site.js. */
  filter: drop-shadow(calc(var(--lx, -0.3) * -6px) calc(var(--ly, -0.4) * -6px + 4px) 5px oklch(0.06 0.04 262 / 0.5));
}
.hold.quiet { opacity: 0.96; }
.hold .ring { transform-box: fill-box; transform-origin: center; }

.tape {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%; rotate: -3deg; z-index: 2;
  font: 800 0.8rem/1 var(--font); letter-spacing: 0.02em; /* motive: START and TOP tape is how every hall marks a route */
  color: var(--ink); background: var(--chalk); padding: 0.35em 0.7em; border-radius: 2px;
  box-shadow: 0 2px 4px oklch(0.06 0.04 262 / 0.4);
}

.trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.trail path { fill: none; stroke: oklch(0.97 0.02 250 / 0.75); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.012 0.018; stroke-dashoffset: 0; }

/* TOP hold = the booking action */
.hold-link {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--s) * 1cqw); aspect-ratio: 1;
  translate: -50% -50%; rotate: -8deg; z-index: 2; display: grid; place-items: center;
  color: var(--ink); text-decoration: none; border-radius: 46%;
  filter: drop-shadow(calc(var(--lx, -0.3) * -8px) calc(var(--ly, -0.4) * -8px + 8px) 10px oklch(0.06 0.04 262 / 0.55));
  transition: scale 200ms var(--ease-set), rotate 200ms var(--ease-set);
}
.hold-link > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* a hold this size is a volume: screwed at two points, not at the centre */
.bolt { position: absolute; width: 5%; aspect-ratio: 1; border-radius: 50%; background: oklch(0.2 0.06 262); box-shadow: inset 0 1px 2px oklch(0 0 0 / 0.6), 0 1px 0 oklch(1 0 0 / 0.35); z-index: 1; }
.bolt--a { left: 22%; top: 24%; }
.bolt--b { right: 20%; bottom: 26%; }
.hold-link__label {
  position: relative; z-index: 2; text-align: center; font-weight: 900; line-height: 1.02; letter-spacing: -0.02em;
  font-size: calc(var(--s) * 0.072cqw); width: 62%; rotate: 8deg; text-wrap: balance; white-space: normal;
}
@media (hover: hover) { .hold-link:hover { scale: 1.05; rotate: -4deg; } }
.hold-link:active { scale: 0.96; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: center; height: clamp(640px, calc(100svh - 4.5rem), 940px); overflow: hidden; }
.wall--hero { position: absolute; inset: 0; }
.hero__copy { position: relative; z-index: 5; width: min(52%, 50rem); padding: 3rem 0 4rem var(--gutter); pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
h1 {
  font-size: clamp(2.9rem, 6.6vw, 7.4rem); line-height: 0.92; letter-spacing: -0.03em; word-spacing: 0.02em;
  text-shadow: 0 3px 30px oklch(0.12 0.06 262 / 0.7);
}
.hero__lede { margin-top: 1.6rem; max-width: 31rem; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.4; font-weight: 500; text-shadow: 0 2px 16px oklch(0.12 0.06 262 / 0.8); }
.hero .tags { display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; margin: 2.4rem 0 0; }
.tags li { color: var(--ink); background: var(--chalk); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 0.5em 0.8em; white-space: nowrap; border-radius: 3px; box-shadow: 0 2px 6px oklch(0.06 0.04 262 / 0.4); }
.hero__credit { position: absolute; right: var(--gutter); bottom: 4.6rem; z-index: 6; font-size: 0.85rem; color: var(--chalk); text-shadow: 0 1px 8px oklch(0.1 0.06 262 / 0.95); }

/* set-up: the yellow route is screwed on first, slowly enough to follow; the other holds arrive as a wave;
   the TOP hold snaps in last. The resting state is the finished wall. */
.wall--hero .hold { animation: screw 680ms var(--ease-set) both; }
.wall--hero .hold.route { animation-delay: calc(var(--i) * 95ms + 120ms); }
.wall--hero .hold.quiet { animation-delay: calc(900ms + (var(--i) - 10) * 32ms); }
.wall--hero .hold-link { animation: screw-top 620ms cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: 1s; }
.wall--hero .trail path { animation: draw 900ms cubic-bezier(0.65, 0, 0.35, 1) both; animation-delay: 300ms; }
@keyframes screw { from { scale: 0; opacity: 0; rotate: calc(var(--r, 0deg) - 60deg); } 55% { opacity: 1; } to { scale: 1; opacity: 1; rotate: var(--r, 0deg); } }
@keyframes screw-top { from { scale: 0.2; opacity: 0; } 60% { opacity: 1; scale: 1.06; } to { scale: 1; opacity: 1; } }
@keyframes draw { from { opacity: 0; } to { opacity: 1; } }

/* ---------- sections: overhang slants ---------- */
.sec { overflow-x: clip; position: relative; padding: calc(var(--edge) + clamp(4rem, 8vw, 7rem)) var(--gutter) calc(var(--edge) + clamp(3rem, 6vw, 5rem)); margin-top: calc(var(--edge) * -1); }
.sec__inner { position: relative; max-width: 84rem; margin-inline: auto; }
.sec--kurs { background: var(--chalk); color: var(--ink); clip-path: polygon(0 var(--edge), 100% 0, 100% 100%, 0 100%); }
.sec--neu { padding-top: calc(var(--edge) + 3.2rem); background: var(--mat-800); clip-path: polygon(0 0, 100% var(--edge), 100% 100%, 0 100%); }
.sec--halle { background: var(--wall-tint); color: var(--ink); clip-path: polygon(0 var(--edge), 100% 0, 100% 100%, 0 100%); }
.sec--besuch { background: var(--chalk); color: var(--ink); clip-path: polygon(0 0, 100% var(--edge), 100% 100%, 0 100%); }
.sec--ende { background: var(--mat-900); clip-path: polygon(0 var(--edge), 100% 0, 100% 100%, 0 100%); overflow: hidden; }
h2 { font-size: clamp(2.3rem, 5vw, 5.4rem); }
.lede { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.45; font-weight: 500; max-width: 34rem; margin-top: 1.4rem; }
.ph {
  font-style: normal; font-weight: 500; color: inherit; text-decoration: none;
  border-bottom: 2px dashed currentColor;
}

/* ---------- kurs ---------- */
.kurs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: stretch; }
.kurs__body { min-width: 0; }
.plate-fig { margin: -2.5rem 0 0; align-self: stretch; display: flex; flex-direction: column; }
.plate { flex: 1; min-height: 32rem; border-radius: 2rem 2rem 2rem 5rem; box-shadow: 0 24px 60px oklch(0.19 0.06 262 / 0.35); }
.plate .wall__paint { background: linear-gradient(180deg, oklch(0.19 0.06 262 / 0.25), oklch(0.19 0.06 262 / 0.5)), url("../img/wall-flat.webp") 30% 50% / cover, var(--mat-600); }
.plate-fig figcaption, .neu-fig figcaption { margin-top: 0.8rem; font-size: 0.88rem; line-height: 1.4; color: var(--muted); max-width: 40rem; }
.neu-fig { margin: 0; }
.neu-fig figcaption { color: oklch(0.85 0.03 255); }
.facts { margin-top: 2rem; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid oklch(0.2 0.06 262 / 0.3); }
.facts dt { font-weight: 800; }
.facts dd { font-weight: 500; }
.form { margin-top: 2.5rem; max-width: 100%; padding: clamp(1.1rem, 3vw, 2.2rem); background: #fff; border: 2px solid var(--ink); border-radius: 1.6rem 2.2rem 1.5rem 2.4rem; box-shadow: 0 18px 40px -24px oklch(0.19 0.06 262 / 0.45); display: grid; gap: 1.2rem; }
.form h3 { font-size: 1.7rem; letter-spacing: -0.02em; }
.field { display: grid; gap: 0.35rem; }
.field label, .field legend { font-weight: 700; font-size: 1rem; }
.field input[type="text"], .field input[type="email"] {
  font: 500 1.1rem var(--font); color: var(--ink); background: #fff; height: 3.25rem; padding: 0 1rem;
  border: 2px solid var(--border-strong); border-radius: 0.8rem 1rem 0.7rem 1.1rem; width: 100%;
}
.field input:focus-visible { outline-offset: 2px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: oklch(0.5 0.2 25); background: oklch(0.97 0.02 25); }
.err { color: oklch(0.42 0.18 25); font-weight: 600; font-size: 0.95rem; }
.field--choice { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.field--choice legend { width: 100%; margin-bottom: 0.4rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-block; padding: 0.75em 1.3em; border: 2px solid var(--border-strong); border-radius: 1.3rem 1.7rem 1.2rem 1.8rem; font-weight: 800; cursor: pointer; transition: background-color 140ms, border-color 140ms, translate 140ms, box-shadow 140ms; }
/* the answer is a start hold: chosen means yellow and pressed onto the wall */
.choice input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); translate: 0 -2px; }
.choice input:focus-visible + span { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.form__status { font-weight: 700; min-height: 1.5em; }
.form__status.ok { color: oklch(0.38 0.1 160); }
.form__note { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* ---------- neu (weekly re-set) ---------- */
.neu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.neu h2 { font-size: clamp(2.2rem, 3.9vw, 4.4rem); }
.neu__ph { margin-top: 1.6rem; font-weight: 600; }
.neu__stage { position: relative; }
.seg { display: inline-flex; padding: 0.3rem; gap: 0.2rem; background: oklch(0.32 0.1 263); border-radius: 1.2rem 1.5rem 1.1rem 1.6rem; margin-bottom: 1rem; }
.seg__in { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 0.75em 1.3em; font-weight: 800; font-size: 1rem; border-radius: 1rem; cursor: pointer; transition: background-color 160ms, color 160ms; }
.seg__in:checked + label { background: var(--yellow); color: var(--ink); }
.seg__in:focus-visible + label { outline: 3px solid var(--chalk); outline-offset: 2px; }
.wall--neu { aspect-ratio: 16 / 10; border-radius: 2rem 2rem 5rem 2rem; box-shadow: 0 30px 70px oklch(0.08 0.05 262 / 0.5); }
.wall--neu .wall__paint { background: linear-gradient(180deg, oklch(0.19 0.06 262 / 0.2), oklch(0.19 0.06 262 / 0.5)), url("../img/wall-flat.webp") 75% 50% / cover, var(--mat-600); }
.h-new, .h-old { transition: scale 520ms var(--ease-set), opacity 320ms, rotate 520ms var(--ease-set); transition-delay: calc(var(--i) * 70ms); }
.neu:has(#w-last:checked) .h-new, .neu:has(#w-this:checked) .h-old { scale: 0; opacity: 0; rotate: calc(var(--r, 0deg) + 50deg); }
.neu:has(#w-this:checked) .h-new .ring { animation: ring 900ms calc(300ms + var(--i) * 70ms) var(--ease-set) both; }
@keyframes ring { from { scale: 0.6; opacity: 0; } to { scale: 1; opacity: 0.95; } }

/* ---------- halle ---------- */
.halle h2 { font-size: clamp(2.2rem, 4.4vw, 4.8rem); }
.halle h2 { margin-bottom: 0; }
.halle h2 .big { word-spacing: 0; display: block; font-size: clamp(6rem, 21vw, 22rem); line-height: 0.78; letter-spacing: -0.05em; margin-bottom: 0.08em; margin-left: -0.04em; }
.halle h2 .big small { font-size: 0.55em; letter-spacing: -0.03em; }

.halle .areas { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "main kids" "main cafe" "main train"; gap: 1rem clamp(1rem, 3vw, 2.5rem); margin: clamp(2.5rem, 5vw, 4.5rem) 0 0; padding: 0; }
.area { --icon-accent: var(--yellow); display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1.4rem; align-items: center; border-top: 2px solid var(--ink); padding-top: 1rem; }
.area__ico { width: 5.5rem; height: 5.5rem; grid-row: span 2; color: var(--ink); }
.area h3 { font-size: 1.6rem; letter-spacing: -0.02em; align-self: end; }
.area p { font-weight: 500; align-self: start; margin-top: 0.3rem; }
.area--main { grid-area: main; background: linear-gradient(180deg, oklch(0.19 0.06 262 / 0.55), oklch(0.19 0.06 262 / 0.75)), url("../img/wall-flat.webp") 60% 50% / cover, var(--mat-800); color: var(--chalk); border: 0; border-radius: 2rem 2rem 2rem 5rem; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.8rem; min-height: 24rem; --icon-accent: var(--yellow); box-shadow: 0 24px 50px oklch(0.19 0.06 262 / 0.3); }
.area--main .area__ico { width: clamp(7rem, 12vw, 11rem); height: clamp(7rem, 12vw, 11rem); color: var(--chalk); margin-bottom: auto; }
.area--main h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); align-self: flex-start; }
.area--main p { font-size: 1.2rem; max-width: 24rem; align-self: flex-start; margin-top: 0; }
.area--kids { grid-area: kids; }
.area--cafe { grid-area: cafe; }
.area--train { grid-area: train; }

/* ---------- besuch ---------- */
.besuch { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.besuch .contact { margin-top: clamp(1rem, 4vw, 3.5rem); }
.besuch__price { position: relative; }
.price { word-spacing: 0.08em; font-size: clamp(6rem, 22vw, 21rem); font-weight: 900; line-height: 0.8; letter-spacing: -0.06em; position: relative; z-index: 1; margin-left: -0.04em; }
.price__cap, .price__more { position: relative; z-index: 1; }
.price__cap { font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 1.2rem; }
.stamp { display: inline-block; rotate: -3deg; border: 2px solid var(--ink); color: var(--ink); padding: 0.05em 0.5em; border-radius: 3px; font-size: 0.6em; margin-left: 0.4em; }
.price__more { margin-top: 0.5rem; font-size: 1.2rem; font-weight: 500; }
.contact { display: grid; }
.contact > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 2px solid var(--ink); }
.contact dt { font-weight: 800; }
.contact dd { font-weight: 500; }

/* ---------- ende ---------- */
.ende__wall { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, oklch(0.19 0.06 262 / 0.75), oklch(0.19 0.06 262 / 0.45) 50%, oklch(0.19 0.06 262 / 0.85)), url("../img/wall-flat.webp") 50% 60% / cover, var(--mat-800); }
.ende { position: relative; z-index: 1; display: grid; justify-items: center; gap: 2rem; text-align: center; padding-block: clamp(1rem, 4vw, 3rem); }
.ende h2 { font-size: clamp(2.6rem, 7.4vw, 8rem); max-width: 14ch; text-shadow: 0 4px 40px oklch(0.1 0.06 262 / 0.7); }
.hold-link--big { position: relative; left: auto; top: auto; translate: none; width: min(80vw, 31rem); rotate: 6deg; --lx: -0.3; --ly: -0.4; }
.hold-link--big .hold-link__label { font-size: clamp(1.5rem, 3.6vw, 2.5rem); rotate: -6deg; max-width: 62%; }
@media (hover: hover) { .hold-link--big:hover { rotate: 2deg; scale: 1.05; } }
.sec--ende { padding-bottom: calc(var(--edge) + 2.5rem); }
.ende__hold { position: relative; display: grid; justify-items: center; }
.ende__tape { left: 50%; top: 9%; translate: -50% 0; z-index: 3; }

/* ---------- footer ---------- */
.site-footer { background: var(--mat-900); padding: 0 var(--gutter) 3rem; color: oklch(0.95 0.02 250 / 0.9); }
.site-footer__in { max-width: 84rem; margin-inline: auto; border-top: 1px solid oklch(1 0 0 / 0.18); padding-top: 2rem; display: grid; gap: 0.4rem; font-size: 1rem; }
.site-footer__name { font-weight: 900; font-size: 1.6rem; letter-spacing: -0.03em; }
.site-footer .ph + .ph { margin-left: 1rem; }
.site-footer__demo { font-size: 0.85rem; opacity: 0.75; margin-top: 0.6rem; }

/* ---------- mobile: designed, not squeezed ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .kurs, .neu, .besuch { grid-template-columns: 1fr; }
  .plate-fig { margin-top: 0; max-width: 34rem; }
  .plate { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .halle .areas { grid-template-columns: 1fr; grid-template-areas: "main" "kids" "cafe" "train"; }
  .contact > div, .facts > div { grid-template-columns: 6.5rem 1fr; }
}
@media (max-width: 720px) {
  .hold { left: calc(var(--mx, var(--x)) * 1%); top: calc(var(--my, var(--y)) * 1%); width: calc(var(--ms, var(--s)) * 1cqw); }
  .hold-link { left: calc(var(--mx, var(--x)) * 1%); top: calc(var(--my, var(--y)) * 1%); width: calc(var(--ms, var(--s)) * 1cqw); }
  .hold-link__label { font-size: calc(var(--ms, var(--s)) * 0.092cqw); width: 80%; }
  .tape { left: calc(var(--mx, var(--x)) * 1%); top: calc(var(--my, var(--y)) * 1%); }
  .d-only { display: none; }
  .hero { display: block; height: clamp(660px, 100svh - 4.5rem, 820px); }
  .hero__copy { width: 100%; height: 100%; padding: 2rem var(--gutter) 0; }
  h1 { font-size: clamp(2.7rem, 13.4vw, 4.2rem); }
  .hero__lede { margin-top: 1rem; font-size: 1.05rem; max-width: 20rem; }
  .hero .tags { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.4rem; margin: 0; gap: 0.4rem; }
  .hero .tags li { font-size: 0.8rem; }
  .hero__credit { display: none; }
  .wall__paint { background-size: 100% 100%, 100% 100%, cover, auto !important; }
  .form__note { font-size: 0.9rem; }
  .price { word-spacing: 0.08em; font-size: 30vw; }
  .halle h2 .big { font-size: 27vw; }
  .facts > div { grid-template-columns: 5.2rem 1fr; }
  .contact > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .wall--neu { aspect-ratio: 1 / 1; }
  .area--main { min-height: 17rem; }
}
@media (max-width: 720px) {
  .plate .hold.quiet { display: none; }
  .plate .hold.route { width: calc(var(--ms) * 0.7cqw); }
  .plate .tape--start { top: 86% !important; left: 14% !important; }
  .plate .tape--top { top: 14% !important; left: 86% !important; }
  .hero .tags li:nth-child(n+2) { display: inline-block; }
  .hold-link--big { left: auto; top: auto; width: min(78vw, 22rem); }
  .hold-link--big .hold-link__label { font-size: 1.45rem; }
}
.hero :focus-visible, .sec--neu :focus-visible, .sec--ende :focus-visible, .site-header :focus-visible { outline-color: var(--chalk); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall--hero .hold, .wall--hero .hold-link, .wall--hero .trail path, .neu .h-new .ring { animation: none !important; }
  .h-new, .h-old, .btn, .hold-link { transition: none; }
}

/* orange hold behind the price: the price is the hold you grab first */
.besuch__hold { position: absolute; left: -1%; top: -8%; width: 54%; aspect-ratio: 1; rotate: 14deg; z-index: 0; filter: drop-shadow(8px 14px 14px oklch(0.19 0.06 262 / 0.3)); }
@media (max-width: 720px) { .besuch__hold { left: -6%; top: -6%; width: 62%; } }

.nb { white-space: nowrap; }

@media (max-width: 420px) {
  .area { grid-template-columns: 4rem minmax(0, 1fr); column-gap: 1rem; }
  .area__ico { width: 4rem; height: 4rem; }
  .area h3 { font-size: 1.3rem; overflow-wrap: anywhere; }
  .area--main { grid-template-columns: none; }
}

/* chalk puff when the closing hold is touched */
.hold-link--big::after { content: ""; position: absolute; inset: -18%; z-index: 3; pointer-events: none; opacity: 0; scale: 0.5; border-radius: 50%; background: radial-gradient(circle, oklch(1 0 0 / 0.55), oklch(1 0 0 / 0.18) 45%, transparent 68%); filter: blur(6px); }
@media (hover: hover) { .hold-link--big:hover::after { animation: puff 900ms ease-out; } }
.hold-link--big:active::after { animation: puff 900ms ease-out; }
@keyframes puff { 0% { opacity: 0.9; scale: 0.6; } 100% { opacity: 0; scale: 1.5; } }
@media (prefers-reduced-motion: reduce) { .hold-link--big::after { animation: none !important; } }
