/* Uncle Bob – base.css
   Tokens + shared components. Values come from DESIGN.md. */

/* ---------- Fonts (self-hosted, latin subset, OFL) ---------- */
@font-face {
  font-family: "Fraunces UB";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces UB";
  src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist UB";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  /* Color – light */
  --paper: #F3E9D8;
  --paper-2: #EADCC4;
  --card: #FBF6EE;
  --ink: #221B15;
  --ink-2: #5C5046;
  --line: rgb(34 27 21 / .16);
  --line-strong: #8A7A66;
  --accent: #B3360F;
  --accent-hover: #942A0A;
  --on-accent: #FFF7EC;
  --error: #8E1F14;
  --success: #3B6435;
  --focus: var(--accent);
  --shadow-c: 34 27 21;
  --header-bg: rgb(243 233 216 / .92);

  /* Illustration only */
  --snap-night: #3A2E27;
  --snap-rust: #A4583A;
  --snap-sand: #CDA67F;
  --snap-cream: #EBD9BC;
  --snap-sage: #7F8A6C;
  --snap-dusk: #6E5A63;
  --snap-glow: #F2C98A;
  --print: #FBF6EE;
  --print-ink: #221B15;
  --print-ink-2: #5C5046;

  /* Type */
  --font-display: "Fraunces UB", "Iowan Old Style", Georgia, serif;
  --font-text: "Geist UB", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xl: clamp(2.875rem, 1.6rem + 5.6vw, 6.5rem);
  --fs-l: clamp(2.125rem, 1.5rem + 2.7vw, 3.75rem);
  --fs-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  --fs-quote: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --fs-lead: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-micro: .8125rem;
  --fs-price: clamp(2.75rem, 2.4rem + 1.2vw, 3.5rem);

  /* Space (4-pt) */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 10rem;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  --section-y: clamp(var(--s-8), 9vw, var(--s-10));
  --measure: 52ch; /* ≈ 70 Zeichen deutscher Fließtext in Geist (62ch ergab 85–90) */
  --header-h: 4.5rem;

  /* Elevation */
  --e-print: 0 1px 1px rgb(var(--shadow-c) / .08), 0 14px 28px -14px rgb(var(--shadow-c) / .45);
  --e-float: 0 2px 6px rgb(var(--shadow-c) / .10), 0 24px 48px -20px rgb(var(--shadow-c) / .40);

  /* Shape */
  --r-0: 0;
  --r-print: 3px;
  --r-2: 12px;
  --r-pill: 999px;
  --corner-w: 2px;
  --corner-len: 16px;

  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --t-ui: 180ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1A1613;
    --paper-2: #241E19;
    --card: #2B241E;
    --ink: #F1E8DA;
    --ink-2: #B5A897;
    --line: rgb(241 232 218 / .14);
    --line-strong: #8C7F70;
    --accent: #EE7046;
    --accent-hover: #F58A63;
    --on-accent: #1A1613;
    --error: #F29683;
    --success: #9FC48F;
    --shadow-c: 0 0 0;
    --header-bg: rgb(26 22 19 / .9);
    --print: #F4ECDF;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
}
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; font-weight: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:target { scroll-margin-top: calc(var(--header-h) + var(--s-4)); }

::selection { background: var(--accent); color: var(--on-accent); }

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

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

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-2);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-5);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-pill);
  font-weight: 560;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--sunk { background: var(--paper-2); }

/* ---------- Type ---------- */
.d-xl, .d-l, .h3, .quote {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}
.d-xl {
  font-size: var(--fs-xl);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.025em;
  font-variation-settings: "WONK" 1;
}
.d-l {
  font-size: var(--fs-l);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -.02em;
  font-variation-settings: "WONK" 1;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -.01em;
  font-variation-settings: "WONK" 0;
}
.quote {
  font-size: var(--fs-quote);
  font-style: italic;
  font-weight: 420;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 48ch;
}
.body { max-width: var(--measure); }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.micro { font-size: var(--fs-micro); line-height: 1.45; letter-spacing: .005em; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.nowrap { white-space: nowrap; }
/* problem headline: each sentence on its own line */
.ps { display: block; }
/* "14 WhatsApp-Gruppen." must fit one line on phones (≥ 320px) */
.problem__title, .bproblem h2 { font-size: min(var(--fs-l), 8vw); }

/* Credibility line in the hero (who built this) */
.byline {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--ink-2);
  max-width: 44ch;
}
.byline__mark {
  --vf-l: 6px; --vf-w: 1.5px; --vf-c: var(--ink-2);
  flex: none;
  width: 20px; height: 20px;
}
.byline--center { justify-content: center; margin: var(--s-6) auto 0; text-align: left; }

.tlink {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: currentColor;
  padding-block: 14px;
  transition: text-decoration-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out);
}
.tlink:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- Viewfinder corners (the brand shape) ---------- */
.vf { position: relative; }
.vf::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--vf-off, 0px));
  pointer-events: none;
  --c: var(--vf-c, var(--ink));
  --w: var(--vf-w, var(--corner-w));
  --l: var(--vf-l, var(--corner-len));
  background:
    linear-gradient(var(--c) 0 0) left top / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) left top / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) right top / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) right top / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) left bottom / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) left bottom / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) right bottom / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) right bottom / var(--w) var(--l);
  background-repeat: no-repeat;
}

/* ---------- Logo ---------- */
.logo { width: auto; height: 100%; fill: currentColor; }
.brand {
  display: inline-flex;
  align-items: center;
  height: 48px;
  min-width: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand .logo { height: 46px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: var(--btn-h);
  padding: 0 var(--s-5);
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--paper-2); }
.btn--sm { --btn-h: 44px; padding: 0 var(--s-4); font-size: var(--fs-small); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: progress; transform: none; }
.btn--lg { --btn-h: 56px; padding: 0 var(--s-6); font-size: 1.0625rem; }

.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
}
.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.site-header .brand { margin-right: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: var(--s-1); list-style: none; padding: 0; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-3);
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  transition: background-color var(--t-ui) var(--ease-out);
}
.nav a:hover { background: var(--paper-2); }
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--s-3);
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 560;
}
.menu-btn:hover { background: var(--paper-2); }
.menu-btn__icon { width: 18px; height: 12px; position: relative; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform var(--t-ui) var(--ease-out);
}
.menu-btn__icon::before { top: 1px; }
.menu-btn__icon::after { bottom: 1px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { transform: translateY(-4px) rotate(-45deg); }

.menu-panel {
  position: absolute;
  top: calc(var(--header-h) - 1px);
  left: var(--s-3);
  right: var(--s-3);
  padding: var(--s-3);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  box-shadow: var(--e-float);
  transform-origin: top right;
  animation: panel-in var(--t-ui) var(--ease-out);
}
.menu-panel ul { list-style: none; padding: 0; display: grid; }
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--s-4);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 520;
}
.menu-panel a:hover { background: var(--paper-2); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.header-cta .long { display: none; }
@media (min-width: 26rem) { .header-cta .long { display: inline; } }

@media (min-width: 64rem) {
  .nav { display: block; }
  .menu-btn, .menu-panel { display: none !important; }
  .site-header .wrap { gap: var(--s-5); }
}

/* ---------- Segmented control ---------- */
.seg {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  min-inline-size: 0;
  max-width: 100%;
}
.seg legend { padding: 0; }
@media (min-width: 26rem) { .seg__opt { padding: 0 var(--s-4); } }
.seg__opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s-3);
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 560;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out);
}
.seg__opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg__opt:hover { background: var(--paper-2); }
.seg__opt:has(input:checked) { background: var(--ink); color: var(--paper); }
.seg__opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Form ---------- */
.field { display: grid; gap: var(--s-2); }
.field__label { font-size: 1rem; font-weight: 560; line-height: 1.3; }
.field__opt { font-weight: 400; color: var(--ink-2); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s-4);
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-2);
  font-size: 1.0625rem;
  transition: border-color var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--ink-2); opacity: 1; }
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.input[type="month"] { display: flex; align-items: center; }
.input[type="month"]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
@media (prefers-color-scheme: dark) { .input[type="month"]::-webkit-calendar-picker-indicator { filter: invert(.9); } }
.input[aria-invalid="true"] { border-color: var(--error); }
.field__error, .check__error {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
  color: var(--error);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.4;
}
.field__error::before, .check__error::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.25' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.25' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.check {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 0;
  align-items: start;
}
.check__box {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-top: -10px;
  margin-left: -10px;
}
.check__box input {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.check__box span {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
  display: grid;
  place-items: center;
  transition: background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
  pointer-events: none;
}
.check__box span svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.check__box input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.check__box input:checked + span svg { opacity: 1; transform: none; }
.check__box input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.check__box input[aria-invalid="true"] + span { border-color: var(--error); }
.check__label { font-size: var(--fs-small); line-height: 1.5; padding-top: 1px; cursor: pointer; }
.check__error { grid-column: 2; margin-top: var(--s-2); }

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hp input { height: 44px; width: 200px; }

.form-status:empty { display: none; }
.form-status {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-4);
  border-radius: var(--r-2);
  border: 1.5px solid var(--error);
  color: var(--error);
  font-weight: 500;
}

.form-done {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
}
.form-done:focus { outline: none; }
.form-done__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: -.015em;
  font-variation-settings: "WONK" 1;
  max-width: 22ch;
}
.form-done__icon {
  width: 56px; height: 56px;
  color: var(--success);
}
.form-done__icon .vf-mini { stroke: currentColor; }

/* ---------- Waitlist form layout ---------- */
.wl-form { display: grid; gap: var(--s-5); }
.wl-form fieldset { border: 0; padding: 0; min-inline-size: 0; }
.wl-form .seg { width: 100%; }
.input--short { max-width: 14rem; }
.wl-form__submit { display: grid; gap: var(--s-3); justify-items: start; margin-top: var(--s-2); }
.notice {
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-2);
  background: var(--card);
  font-size: var(--fs-small);
  max-width: 44ch;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 56px;
  padding: var(--s-4) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  font-weight: 520;
  line-height: 1.3;
  letter-spacing: -.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq__icon {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
  transition: transform 200ms var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 1px;
  left: 50%; top: 50%;
}
.faq__icon::before { width: 16px; height: 2px; margin: -1px 0 0 -8px; }
.faq__icon::after { width: 2px; height: 16px; margin: -8px 0 0 -1px; }
.faq details[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 var(--s-5); max-width: var(--measure); color: var(--ink-2); }
.faq details[open] .faq__a { animation: faq-in 220ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Snapshots (guest prints, illustration) ---------- */
.snap {
  position: absolute;
  width: var(--w, 40%);
  /* padding relative to the print itself, not the container */
  padding: calc(var(--w, 40%) * .055) calc(var(--w, 40%) * .055) 0;
  background: var(--print);
  border-radius: var(--r-print);
  box-shadow: var(--e-print);
  transform: rotate(var(--r, 0deg));
  color: var(--print-ink);
}
.snap__img { aspect-ratio: 1; border-radius: 1px; }
.snap__cap {
  display: block;
  padding: .35em 0 .55em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 450;
  font-size: var(--cap, 14px);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--print-ink);
}

/* Abstract scenes – colour fields, no people */
.sc-bokeh {
  background:
    radial-gradient(circle at 24% 28%, var(--snap-glow) 0 7%, transparent 9.5%),
    radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--snap-glow) 55%, transparent) 0 11%, transparent 13.5%),
    radial-gradient(circle at 46% 60%, color-mix(in srgb, var(--snap-rust) 85%, transparent) 0 15%, transparent 17.5%),
    radial-gradient(circle at 84% 72%, color-mix(in srgb, var(--snap-glow) 75%, transparent) 0 6%, transparent 8.5%),
    radial-gradient(circle at 14% 82%, color-mix(in srgb, var(--snap-sand) 55%, transparent) 0 10%, transparent 12.5%),
    radial-gradient(circle at 60% 90%, color-mix(in srgb, var(--snap-dusk) 90%, transparent) 0 18%, transparent 20%),
    var(--snap-night);
}
.sc-lights {
  background:
    radial-gradient(circle at 6% 22%, var(--snap-glow) 0 3.2%, transparent 5%),
    radial-gradient(circle at 20% 33%, var(--snap-glow) 0 3.2%, transparent 5%),
    radial-gradient(circle at 35% 41%, var(--snap-glow) 0 3.2%, transparent 5%),
    radial-gradient(circle at 50% 44%, var(--snap-glow) 0 3.2%, transparent 5%),
    radial-gradient(circle at 65% 41%, var(--snap-glow) 0 3.2%, transparent 5%),
    radial-gradient(circle at 80% 33%, var(--snap-glow) 0 3.2%, transparent 5%),
    radial-gradient(circle at 94% 22%, var(--snap-glow) 0 3.2%, transparent 5%),
    linear-gradient(to bottom, transparent 70%, var(--snap-night) 70%),
    linear-gradient(to bottom, var(--snap-dusk), var(--snap-rust));
}
.sc-table {
  background:
    radial-gradient(circle at 34% 78%, color-mix(in srgb, var(--snap-glow) 85%, transparent) 0 4%, transparent 6%),
    radial-gradient(circle at 46% 80%, color-mix(in srgb, var(--snap-glow) 85%, transparent) 0 4%, transparent 6%),
    radial-gradient(circle at 50% 0, var(--snap-cream) 0 70%, transparent 70.5%) 0 0 / 25% 54% repeat-x,
    linear-gradient(var(--snap-cream) 0 0) 0 0 / 100% 40% no-repeat,
    var(--snap-night);
}
.sc-lens {
  background:
    radial-gradient(circle at 72% 78%, color-mix(in srgb, var(--snap-glow) 90%, transparent) 0 2.5%, transparent 3.5%),
    radial-gradient(circle at 78% 84%, var(--snap-night) 0 16%, var(--snap-dusk) 16.5% 19%, var(--snap-night) 19.5% 30%, var(--snap-dusk) 30.5% 32%, var(--snap-night) 32.5% 44%, transparent 44.5%),
    radial-gradient(circle at 26% 30%, color-mix(in srgb, var(--snap-glow) 70%, transparent) 0 8%, transparent 12%),
    radial-gradient(circle at 48% 18%, color-mix(in srgb, var(--snap-cream) 60%, transparent) 0 6%, transparent 9%),
    linear-gradient(160deg, var(--snap-sand), var(--snap-rust));
}
.sc-cake {
  background:
    radial-gradient(circle at 50% 23%, var(--snap-rust) 0 3%, transparent 3.5%),
    linear-gradient(var(--snap-cream) 0 0) 50% 34% / 28% 16% no-repeat,
    linear-gradient(var(--snap-cream) 0 0) 50% 56% / 42% 18% no-repeat,
    linear-gradient(var(--snap-cream) 0 0) 50% 82% / 58% 20% no-repeat,
    linear-gradient(to bottom, transparent 86%, color-mix(in srgb, var(--snap-night) 35%, transparent) 86%),
    var(--snap-sage);
}
.sc-sun {
  background:
    radial-gradient(circle at 50% 64%, var(--snap-glow) 0 13%, transparent 15%),
    linear-gradient(to bottom, transparent 66%, var(--snap-sage) 66%, var(--snap-night) 140%),
    linear-gradient(to bottom, var(--snap-dusk), var(--snap-rust) 55%, var(--snap-sand));
}

/* ---------- QR table card (illustration) ---------- */
.qrcard {
  position: absolute;
  width: var(--w, 46%);
  padding: calc(var(--w, 46%) * .09) calc(var(--w, 46%) * .09) calc(var(--w, 46%) * .08);
  background: var(--print);
  color: var(--print-ink);
  border-radius: var(--r-print);
  box-shadow: var(--e-print);
  transform: rotate(var(--r, 0deg));
  display: grid;
  gap: .6em;
  font-size: var(--qr-fs, 13px);
}
.qrcard__logo { width: 46%; height: auto; fill: var(--print-ink); }
.qrcard__qr { width: 100%; height: auto; aspect-ratio: 1; fill: var(--print-ink); }
.qrcard__txt {
  font-family: var(--font-display);
  font-size: 1.15em;
  font-weight: 520;
  line-height: 1.2;
  font-variation-settings: "WONK" 0;
}
.qrcard__sub { font-size: 1em; line-height: 1.3; color: var(--print-ink-2); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--s-8) var(--s-7);
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: grid;
  gap: var(--s-5);
  justify-items: start;
}
.site-footer .brand { height: 56px; }
.site-footer .brand .logo { height: 54px; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: var(--s-2); list-style: none; padding: 0; margin-left: calc(-1 * var(--s-3)); }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-3);
  font-size: var(--fs-small);
  text-underline-offset: .2em;
}
.footer-links a:hover { color: var(--accent); }
@media (min-width: 48rem) {
  .site-footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); }
}

/* ---------- Simple pages (danke, abgemeldet, ungültig, legal) ---------- */
.page-simple {
  min-height: calc(100vh - var(--header-h) - 12rem);
  padding-block: var(--s-9) var(--s-10);
}
.page-simple__inner { max-width: 40rem; display: grid; gap: var(--s-5); justify-items: start; }
.page-simple__mark {
  width: 72px; height: 72px;
  --vf-l: 14px; --vf-w: 2px; --vf-c: var(--accent);
  display: grid; place-items: center;
  margin-bottom: var(--s-2);
}
.page-simple__mark svg { width: 34px; height: 34px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

.legal { padding-block: var(--s-8) var(--s-10); }
.legal__inner { max-width: 44rem; }
.legal h1 { margin-bottom: var(--s-6); }
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  font-weight: 540;
  line-height: 1.2;
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
}
.legal h3 { font-size: 1.0625rem; font-weight: 600; margin-top: var(--s-5); margin-bottom: var(--s-2); }
.legal p, .legal li { max-width: var(--measure); }
.legal li::marker { color: var(--ink-2); }
.legal p + p { margin-top: var(--s-3); }
.legal ul { padding-left: 1.2em; margin-top: var(--s-3); }
.legal ul + p, .legal p + ul { margin-top: var(--s-3); }
.legal a { text-underline-offset: .2em; padding-block: 11px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--accent); }
.legal li + li { margin-top: var(--s-1); }
.legal .placeholder {
  padding: var(--s-3) var(--s-4);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-2);
  color: var(--ink-2);
  font-size: var(--fs-small);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
}
.share-title { margin-top: var(--s-5); }
