/* Base: Reset, Typografie, Hilfsklassen, Reveal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); line-height: 1.15; letter-spacing: -.025em; }
p { text-wrap: pretty; }

/* Zweifarbige Headlines wie im Logo: „küchen“ / „lohse“ */
.hl { color: var(--orange); }
.hl-block { display: block; color: var(--orange); }
/* Alle Seiten- und Section-Headlines komplett in Orange (auch auf dunklem Grund) */
h1, h2, .pledge__title, .price-head h3, .mag h3, .chef__title { color: var(--orange); }
/* Ausnahme Hero: erste Zeile weiß, zweite Zeile orange wie bisher */
.kl-hero__title, .shero__title { color: var(--white); }

::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; overflow-x: clip; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--anthra); color: var(--white); }

.head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.head--center { margin-inline: auto; text-align: center; }
.head p { margin-top: 22px; font-size: var(--fs-lg); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.head--center p { margin-inline: auto; }
.section--dark .head p { color: var(--muted-dark); }

/* Eyebrow: Winkel aus dem Logo-„L“ + ruhige Satzschreibung statt Punkt-Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.2;
}
.pill::before {
  content: "";
  flex: none;
  width: 12px;
  height: 14px;
  margin-top: -3px;
  border-left: 3.5px solid var(--orange);
  border-bottom: 3.5px solid var(--orange);
  border-bottom-left-radius: 3px;
  transform-origin: 0 100%;
  transition: scale .7s var(--ease-out) .25s;
}
.reveal.pill:not(.is-in)::before { scale: 0; }
.pill--dark { color: var(--white); }

/* Status-Badge (Hero): bleibt eine kleine Pill */
.pill.pill--status {
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 600;
}
.pill.pill--status::before { width: 7px; height: 7px; margin: 0; border: 0; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232, 93, 12, .18); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

/* Platzhalter-Markierung (nur im Entwurf) */
.ph { text-decoration: underline dashed rgba(232, 93, 12, .7); text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: help; }

/* Reveal */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity var(--reveal) var(--ease-out), translate var(--reveal) var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; translate: 0 0; }
.reveal--scale { translate: 0 0; scale: .96; transition-property: opacity, scale; }
.reveal--scale.is-in { scale: 1; }

/* padding-bottom muss die Unterlaengen (g, j, p, q, y) aufnehmen, sonst schneidet
   die Animationsmaske sie ab. .1em war zu wenig, gemessen fehlten bis zu 11px. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .34em; margin-bottom: -.34em; }
.split .w > span { display: inline-block; translate: 0 105%; transition: translate 900ms var(--ease-out); transition-delay: calc(min(var(--i) * 40ms, 480ms) + var(--d, 0s)); }
.split.is-in .w > span { translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal--scale { translate: none; scale: 1; transition: opacity 200ms linear; }
  .split .w > span { translate: none; transition: none; }
  .marquee__track { animation: none !important; }
}
