/* Seely – seelyapp.de
   Palette: Ziegel (Pantone 2350 U), Creme (P 24-9 U), Ocker (P 14-8 U), Waldgrün
   Schrift: Familjen Grotesk (SIL OFL), lokal eingebunden */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Schriftzug SEELY: PT Serif (SIL OFL), nur die Buchstaben des Logos */
@font-face {
  font-family: "PT Serif Wordmark";
  src: url("fonts/pt-serif-wordmark.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* metrisch angepasster Fallback, damit beim Laden nichts springt */
@font-face {
  font-family: "Familjen Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 93.2%;
  ascent-override: 110.5%;
  descent-override: 24.7%;
  line-gap-override: 0%;
}

:root {
  --brick: #954c45;
  --brick-deep: #843f39;
  --cream: #f0e1ca;
  --paper: #f6ecdd;
  --ochre: #e4a057;
  --apricot: #f1b169;
  --forest: #1f3b30;
  --forest-lift: #2b4b3e;
  --ink: var(--forest);
  --ink-soft: #495c4f;
  --cream-soft: #cdc5ae;

  --sans: "Familjen Grotesk", "Familjen Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;

  --t-small: 0.9375rem;
  --t-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --t-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
  --t-h3: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  --t-h2: clamp(2.375rem, 1.35rem + 3.6vw, 4.75rem);
  --t-display: clamp(3.3rem, 1.15rem + 8.2vw, 8rem);

  --focus: var(--forest);
  color-scheme: only light;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

p { margin: 0 0 1em; text-wrap: pretty; hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }

::selection { background: var(--ochre); color: var(--forest); }

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

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

.skip {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin-inline: auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font: 600 1.0625rem/1 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--cream { background: var(--cream); color: var(--forest); }
.btn--cream:hover { background: var(--forest); color: var(--cream); }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--brick); }
.btn[aria-busy="true"] { cursor: progress; opacity: .85; }

.textlink {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}
.textlink:hover { text-decoration-thickness: 3px; }

/* ---------- Hero (das Plakat) ---------- */

.hero {
  --focus: var(--cream);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter);
  background: var(--brick);
  color: var(--cream);
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 22px 0;
}

.wordmark {
  font-family: "PT Serif Wordmark", "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1;
  margin-right: -.07em;
  text-decoration: none;
  font-kerning: normal;
}

.nav__links { display: none; }
.nav__links a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  padding: 8px 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px;
  transition: background-size .2s ease;
}
.nav__links a:not(.btn):hover { background-size: 100% 1.5px; }

.nav .btn { min-height: 44px; padding: 0 20px; font-size: 1rem; }

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6vh 0 32px;
}

.hero h1 {
  font-size: var(--t-display);
  font-weight: 460;
  line-height: .9;
  letter-spacing: -0.042em;
  margin-bottom: .34em;
  max-width: 8em;
}
.hero h1 .l { display: inline; }

.hero__lead {
  max-width: 31em;
  font-size: var(--t-lead);
  line-height: 1.45;
  margin-bottom: 1.6em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.hero__note {
  margin: 20px 0 0;
  font-size: var(--t-small);
  max-width: 30em;
}

.hero__vertical {
  display: none;
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 9vh;
  margin: 0;
  writing-mode: vertical-rl;
  rotate: 180deg;
  font-size: .875rem;
  letter-spacing: .01em;
}

/* mobil: eigenes Band unter dem Text, Desktop: rechte Plakathälfte */
.hero__leaves {
  position: relative;
  z-index: 1;
  flex: none;
  height: clamp(250px, 70vw, 380px);
  margin: auto calc(-1 * var(--gutter)) 0;
  pointer-events: none;
}

.leaf {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: auto;
  color: var(--c);
  fill: currentColor;
  rotate: var(--r);
  animation: settle 1.7s cubic-bezier(.2, .75, .25, 1) var(--d, 0s) both;
}

@keyframes settle {
  0%   { opacity: 0; translate: -1.5vw -16vh; rotate: calc(var(--r) + 22deg); }
  30%  { opacity: 1; }
  62%  { translate: .6vw 1.4vh; rotate: calc(var(--r) - 5deg); }
  82%  { translate: 0 -.3vh; rotate: calc(var(--r) + 1.5deg); }
  100% { opacity: 1; translate: 0 0; rotate: var(--r); }
}

/* Blätter mobil (Prozent beziehen sich auf das Blatt-Band) */
.lf1 { --c: var(--cream);   --w: 30%; --x: 64%; --y: 2%;   --r: 22deg;  --d: .05s; }
.lf2 { --c: var(--ochre);   --w: 31%; --x: 3%;  --y: 6%;   --r: -30deg; --d: .18s; }
.lf3 { --c: var(--apricot); --w: 21%; --x: 41%; --y: 30%;  --r: 12deg;  --d: .3s; }
.lf4 { --c: var(--forest);  --w: 15%; --x: 33%; --y: -4%;  --r: -14deg; --d: .42s; }
.lf5 { --c: var(--cream);   --w: 28%; --x: 72%; --y: 58%;  --r: 150deg; --d: .52s; }
.lf6 { --c: var(--ochre);   --w: 26%; --x: 14%; --y: 60%;  --r: 28deg;  --d: .62s; }
.lf7 { display: none; }

@media (min-width: 640px) {
  .lf1 { --w: 22%; --x: 70%; --y: 0; }
  .lf2 { --w: 22%; --x: 6%; }
  .lf3 { --w: 15%; --x: 46%; }
  .lf4 { --w: 11%; --x: 32%; }
  .lf5 { --w: 21%; --x: 76%; --y: 50%; }
  .lf6 { --w: 19%; --x: 20%; --y: 54%; }
}

@media (min-width: 960px) {
  .nav { padding: 30px 0; }
  .nav .wordmark { font-size: 1.8125rem; }
  .nav__links { display: flex; align-items: center; gap: 34px; }
  .hero__body { padding: 7vh 0 10vh; margin-block: auto; }
  .hero h1 .l { display: block; }
  .hero__lead { max-width: 27em; }
  .hero__vertical { display: block; }
  .hero__leaves {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 41%;
    height: auto;
    margin: 0;
  }
  .lf1 { --w: 38%; --x: 50%; --y: 13%; --r: 22deg; }
  .lf2 { --w: 35%; --x: 8%;  --y: 21%; --r: -28deg; }
  .lf3 { --w: 27%; --x: 72%; --y: 45%; --r: 14deg; }
  .lf4 { --w: 21%; --x: 37%; --y: 50%; --r: -12deg; }
  .lf5 { --w: 36%; --x: 40%; --y: 73%; --r: 150deg; }
  .lf6 { --w: 30%; --x: 2%;  --y: 70%; --r: 30deg; }
  .lf7 { display: block; --c: var(--apricot); --w: 23%; --x: 84%; --y: 83%; --r: -36deg; --d: .72s; }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .hero__leaves { width: 36%; }
  .lf2 { --x: 14%; }
  .lf6 { --x: 8%; }
}

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

.section {
  position: relative;
  overflow-x: clip;
  padding: clamp(88px, 11vw, 168px) var(--gutter);
}

.section h2 {
  font-size: var(--t-h2);
  font-weight: 480;
  line-height: .98;
  letter-spacing: -0.035em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
}

/* ---------- Bao ---------- */

.bao { background: var(--cream); }

.bao__grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

.bao h2 { max-width: 11em; margin-bottom: .55em; }
.bao .lead { max-width: 33em; }

.facts {
  display: grid;
  gap: 28px 48px;
  margin: 48px 0 0;
  max-width: 40em;
}
.facts div { max-width: 22em; }
.facts dt {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.facts dd { margin: 0; color: var(--ink-soft); }

/* Telefon mit Beispiel-Chat */
.demo {
  position: relative;
  justify-self: center;
  width: min(100%, 352px);
}

.phone {
  position: relative;
  z-index: 1;
  padding: 11px;
  border-radius: 52px;
  background: var(--forest);
}

.phone__screen {
  display: flex;
  flex-direction: column;
  height: 660px;
  border-radius: 42px;
  overflow: hidden;
  background: #fbf6ee;
}

.phone__island {
  width: 92px;
  height: 26px;
  margin: 11px auto 0;
  border-radius: 20px;
  background: var(--forest);
  flex: none;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px;
  border-bottom: 1px solid rgba(31, 59, 48, .12);
  flex: none;
}
.chat__avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; }
.chat__avatar img, .chat__avatar svg { width: 100%; height: 100%; object-fit: cover; }
.chat__name { font-weight: 650; font-size: 1.0625rem; line-height: 1.1; }
.chat__status { font-size: .8125rem; color: var(--ink-soft); line-height: 1.2; }

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 14px 14px 12px;
  list-style: none;
  font-size: .96875rem;
  line-height: 1.38;
  overflow: hidden;
}
.chat__time {
  align-self: center;
  margin-bottom: 6px;
  font-size: .75rem;
  color: var(--ink-soft);
}
.msg {
  max-width: 84%;
  padding: 10px 14px 11px;
  border-radius: 20px;
}
.msg--bao {
  align-self: flex-start;
  background: var(--cream);
  border-bottom-left-radius: 6px;
}
.msg--me {
  align-self: flex-end;
  background: var(--forest);
  color: var(--cream);
  border-bottom-right-radius: 6px;
}
.msg + .msg--bao, .msg--me + .msg--me { margin-top: 2px; }
.msg--me + .msg--bao, .msg--bao + .msg--me { margin-top: 8px; }

.chat__input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 16px;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: .9375rem;
  flex: none;
}
.chat__input > span:first-child { flex: 1; }
.chat__mic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--forest);
}

.demo__caption {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-size: var(--t-small);
  color: var(--ink-soft);
  text-align: center;
}

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

@media (min-width: 1000px) {
  .bao__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; }
  .demo { justify-self: end; margin-right: 4%; }
}

/* ---------- So funktioniert's ---------- */

.steps { background: var(--paper); }
.steps h2 { max-width: 12em; }
.steps .lead { max-width: 30em; margin-top: 24px; color: var(--ink-soft); }

.steps__list {
  display: grid;
  gap: 56px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps__list li { counter-increment: step; max-width: 24em; }
.steps__list li::before {
  content: counter(step);
  display: block;
  margin-bottom: 22px;
  font-size: clamp(5rem, 3.5rem + 5vw, 8.5rem);
  font-weight: 430;
  line-height: .78;
  letter-spacing: -0.06em;
  color: var(--brick);
}
.steps__list h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.steps__list p { color: var(--ink-soft); margin: 0; }

@media (min-width: 900px) {
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
}

/* ---------- Was Seely ist und was nicht ---------- */

.safety {
  --focus: var(--cream);
  background: var(--forest);
  color: var(--cream);
  isolation: isolate;
}
.safety h2 { max-width: 11em; }

.safety__list {
  display: grid;
  gap: 40px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.safety__list h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.safety__list p { color: var(--cream-soft); margin: 0; max-width: 26em; }

.crisis {
  display: grid;
  gap: 18px 48px;
  margin-top: 72px;
  padding: 30px 28px;
  border-radius: 28px;
  background: var(--forest-lift);
}
.crisis h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.crisis p { margin: 0; color: var(--cream-soft); max-width: 30em; }
.crisis ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.crisis li { display: grid; gap: 2px; }
.crisis li span { font-size: var(--t-small); color: var(--cream-soft); }
.crisis a {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.crisis a:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .safety__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
  .crisis { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding: 44px 48px; align-items: start; }
  .crisis ul { grid-template-columns: 1fr 1fr; gap: 22px 32px; }
}

/* ---------- Fragen ---------- */

.faq { background: var(--cream); }

.faq__grid { display: grid; gap: 40px; }

.faq__list { border-bottom: 1.5px solid rgba(31, 59, 48, .2); }

.faq details { border-top: 1.5px solid rgba(31, 59, 48, .2); }

.faq summary {
  position: relative;
  display: block;
  padding: 24px 56px 24px 0;
  font-size: var(--t-h3);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: rotate .25s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--brick); }
.faq details p { margin: 0 0 26px; max-width: 36em; color: var(--ink-soft); }
.faq details p a { color: var(--ink); }

@media (min-width: 1000px) {
  .faq__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 72px; }
  .faq h2 { position: sticky; top: 48px; }
}

/* ---------- Abschluss ---------- */

.cta {
  --focus: var(--cream);
  background: var(--brick);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(104px, 13vw, 200px);
}
.cta__body { position: relative; z-index: 2; }
.cta h2 {
  font-size: clamp(3rem, 1.1rem + 6.6vw, 7.5rem);
  font-weight: 460;
  line-height: .92;
  letter-spacing: -0.042em;
  max-width: 7.5em;
  margin-bottom: .45em;
}
.cta p { max-width: 27em; font-size: var(--t-lead); line-height: 1.45; margin-bottom: 1.5em; }

.cta__leaves {
  position: relative;
  z-index: 1;
  height: clamp(190px, 52vw, 300px);
  margin: 48px calc(-1 * var(--gutter)) calc(-1 * clamp(104px, 13vw, 200px));
  pointer-events: none;
}
.cta__leaves .leaf { animation: none; }
.cl1 { --c: var(--ochre);   --w: 30%; --x: 56%; --y: 8%;  --r: -24deg; }
.cl2 { --c: var(--cream);   --w: 27%; --x: 14%; --y: 26%; --r: 36deg; }
.cl3 { --c: var(--forest);  --w: 17%; --x: 84%; --y: 34%; --r: 18deg; }

@media (min-width: 960px) {
  .cta__leaves {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -2%;
    width: 44%;
    height: auto;
    margin: 0;
  }
  .cl1 { --w: 40%; --x: 40%; --y: 10%; --r: -22deg; }
  .cl2 { --w: 33%; --x: 6%;  --y: 46%; --r: 36deg; }
  .cl3 { --w: 22%; --x: 74%; --y: 56%; --r: 162deg; }
}

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

.footer {
  --focus: var(--cream);
  background: var(--forest);
  color: var(--cream);
  padding: 72px var(--gutter) 36px;
  font-size: var(--t-small);
}
.footer__grid { display: grid; gap: 40px; }
.footer .wordmark { font-size: 2.125rem; display: inline-block; }
.footer__claim { margin: 14px 0 0; color: var(--cream-soft); max-width: 22em; }
.footer h2 { font-size: var(--t-small); font-weight: 600; margin: 0 0 12px; letter-spacing: 0; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__crisis { color: var(--cream-soft); margin: 0; max-width: 34em; }
.footer__crisis a { color: var(--cream); font-weight: 600; white-space: nowrap; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 225, 202, .18);
  color: var(--cream-soft);
}
.footer__base p { margin: 0; }

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 48px; }
}

/* ---------- schwebender Button (mobil) ---------- */

.float-cta {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  translate: -50% calc(100% + 40px);
  min-height: 52px;
  padding: 0 26px;
  box-shadow: 0 0 0 2px var(--cream);
  transition: translate .4s cubic-bezier(.2, .8, .2, 1), background-color .18s ease;
}
.float-cta.is-visible { translate: -50% 0; }

@media (min-width: 960px) {
  .float-cta { left: auto; right: 28px; bottom: 28px; translate: 0 calc(100% + 60px); }
  .float-cta.is-visible { translate: 0 0; }
}

/* ---------- Rechtliches ---------- */

.legal-head {
  --focus: var(--cream);
  position: relative;
  isolation: isolate;
  background: var(--brick);
  color: var(--cream);
  padding: 0 var(--gutter) clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.legal-head h1 {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 6vh auto 0;
  font-size: clamp(3rem, 1.4rem + 6vw, 7rem);
  font-weight: 460;
  line-height: .92;
  letter-spacing: -0.042em;
}
.legal-head .leaf { animation: none; }
.legal-head .lh1 { --c: var(--ochre); --w: 74px; --r: -24deg; left: auto; top: auto; right: 5%; bottom: -46px; }
.legal-head .lh2 { --c: var(--cream); --w: 0; --r: 30deg; left: auto; top: auto; right: 17%; bottom: -52%; display: none; }
@media (min-width: 700px) {
  .legal-head .lh1 { --w: clamp(120px, 14vw, 210px); right: 4%; bottom: -36%; }
  .legal-head .lh2 { display: block; --w: clamp(90px, 10vw, 150px); }
}

.legal {
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(88px, 10vw, 140px);
}
.legal__body { max-width: 44rem; margin: 0 auto 0 max(0px, calc((100% - var(--maxw)) / 2)); }
.legal h2 {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2.4em 0 .6em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.125rem; font-weight: 600; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal .meta { color: var(--ink-soft); font-size: var(--t-small); margin-top: 3em; }

mark.todo {
  background: var(--apricot);
  color: var(--forest);
  padding: 0 .25em;
  border-radius: 4px;
}

/* ---------- 404 ---------- */

.lost {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.lost .hero__body { padding: 10vh 0 32px; }
.lost h1 { max-width: 9em; }

@media (min-width: 960px) {
  .lost .hero__body { padding: 8vh 0 12vh; }
}

/* ---------- weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .leaf { animation: none; }
  .float-cta, .faq summary::after, .btn, .nav__links a { transition: none; }
}

