/* FischFit NRW — Startseite im App-Design
   Gleiche Bausteine wie die App: helle Fläche, weiße Karten, App-Blau, Plus Jakarta Sans */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --blue: #1D68D9;
  --blue-press: #1558B0;
  --blue-soft: #E8F0FC;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --text: #111827;
  --text-2: #6B7280;
  --text-3: #9CA3AF;
  --line: #ECEEF2;
  --line-2: #E2E5EA;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 4px 16px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 2px 4px rgba(17, 24, 39, 0.04), 0 24px 48px -16px rgba(17, 24, 39, 0.14);
  --r: 22px;
  --r-lg: 28px;
  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

.wm { font-weight: 400; letter-spacing: -0.01em; }
.wm b { font-weight: 800; }

/* Tones (Icon-Kacheln wie in der App) */
.tone-blue { background: #E8F0FC; color: #1D68D9; }
.tone-teal { background: #E3F5F8; color: #0E9BB5; }
.tone-purple { background: #F1EAFE; color: #7C3AED; }
.tone-orange { background: #FDF1E2; color: #EA8A0C; }
.tone-indigo { background: #ECEBFD; color: #4F46E5; }
.tone-green { background: #E5F6EC; color: #16A34A; }
.tone-red { background: #FDECEC; color: #DC2626; }
.tone-yellow { background: #FEF6DD; color: #B7791F; }
.tone-discord { background: #ECEEFE; color: #5865F2; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.2s, border-color 0.2s;
}

.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover:not(:disabled) { background: var(--blue-press); }
.btn--ghost { background: var(--card); border-color: var(--line-2); color: var(--blue); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--discord { background: #5865F2; color: #fff; align-self: flex-start; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }

.round {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--card);
  color: var(--blue);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.round:hover { border-color: var(--blue); }
.round--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.round--solid:hover { background: var(--blue-press); }
.round--sm { width: 36px; height: 36px; color: var(--text-2); cursor: default; }
.round--sm svg { width: 18px; height: 18px; }

/* Basics */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.badge--warn { background: #FDF1E2; color: #D97706; }
.badge--ok { background: #E5F6EC; color: #15803D; }
.badge--red { background: #FDECEC; color: #DC2626; }

.bar {
  position: relative;
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: #EEF0F3;
  overflow: hidden;
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--c, var(--blue));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease) 0.25s;
}

.is-in .bar::after, .is-in.bar::after { transform: scaleX(var(--p, 0.5)); }
.bar--thick { height: 8px; }

.progress {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #EEF0F3;
  overflow: hidden;
}

.progress i { display: block; height: 100%; width: 33%; border-radius: 4px; background: var(--blue); transition: width 0.5s var(--ease); }

.ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.ic svg { width: 20px; height: 20px; }
.ic--lg { width: 56px; height: 56px; }
.ic--lg svg { width: 26px; height: 26px; }

/* Listenzeilen der App */
.list { display: grid; gap: 12px; }

.row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 20px;
}

.row--card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, opacity 0.7s var(--ease);
}

.row--card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.row__main { flex: 1; min-width: 0; }
.row__main b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.row__main small { display: block; margin-top: 2px; font-size: 14px; color: var(--text-2); }
.chev { width: 18px; height: 18px; color: var(--text-3); }

/* Typo */
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.06; }

.kicker { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--blue); }
.lead { max-width: 520px; margin: 20px 0 0; font-size: 18px; color: var(--text-2); }
.ui-title { margin: 0 0 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.top.is-scrolled { border-bottom-color: var(--line); }
.top__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }

.top__links {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.top__links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s;
}

.top__links a:hover { color: var(--text); }
.top__links a.is-active { background: var(--blue-soft); color: var(--blue); }

/* Store-Badges & Handy-Rahmen */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: block; transition: transform 0.2s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store img { height: 52px; width: auto; }

.phone {
  aspect-ratio: 828 / 1800;
  padding: 10px;
  border-radius: 54px;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 44px;
}

/* Hero: steht beim Scrollen, Handy schaltet durch die App */
.hero { position: relative; height: 330vh; }

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 3;
  padding-top: clamp(28px, 5vh, 56px);
  text-align: center;
  will-change: transform, opacity;
}

.greet {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.greet .date { font-size: 15px; font-weight: 500; color: var(--text-2); }

.hero h1 { font-size: clamp(40px, 5.4vw, 76px); }
.hero h1 .blue { color: var(--blue); }
.hero__sub { max-width: 560px; margin: 18px auto 26px; font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); }
.hero .stores { justify-content: center; }

.stage {
  --ph: min(600px, 66vh);
  --pw: calc(var(--ph) * 0.46);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  z-index: 2;
  transform-origin: 50% 0;
  will-change: transform;
}

.stage__phone {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--pw);
  transform: translate(-50%, -50%);
  animation: phoneUp 1.2s var(--ease) 0.25s both;
}

@keyframes phoneUp { from { opacity: 0; translate: 0 120px; } to { opacity: 1; translate: 0 0; } }

.phone--hero { position: relative; padding: 9px; border-radius: 50px; box-shadow: 0 2px 6px rgba(17, 24, 39, 0.05), 0 40px 80px -24px rgba(17, 24, 39, 0.28); }
.phone__screens { position: relative; width: 100%; height: 100%; border-radius: 41px; overflow: hidden; background: #F7F8FA; }
.phone__screens img {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.phone__screens img.is-active { opacity: 1; transform: none; }

.stage__tabs {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  display: flex;
  gap: 2px;
  padding: 6px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stage__tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; font-size: 11px; font-weight: 600; color: var(--text-3); transition: color 0.3s; }
.stage__tabs i { display: grid; place-items: center; width: 44px; height: 26px; border-radius: 999px; transition: background 0.3s; }
.stage__tabs svg { width: 18px; height: 18px; }
.stage__tabs span.is-active { color: var(--blue); }
.stage__tabs span.is-active i { background: var(--blue-soft); }

/* Fliegende App-Karten */
.fly { position: absolute; top: 0; z-index: 1; will-change: transform; }
.fly > * { animation: flyOut 1.1s var(--ease) both; animation-delay: calc(0.75s + var(--d, 0) * 0.12s); box-shadow: var(--shadow-lg); }

@keyframes flyOut {
  from { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(0.5); }
  to { opacity: 1; transform: none; }
}

.fly--a, .fly--b, .fly--c { right: calc(50% + var(--pw) / 2 + 36px); }
.fly--d, .fly--e, .fly--f { left: calc(50% + var(--pw) / 2 + 36px); }
.fly--a { margin-top: calc(var(--ph) * -0.36); }
.fly--b { margin-top: calc(var(--ph) * -0.06); right: calc(50% + var(--pw) / 2 + 70px); }
.fly--c { margin-top: calc(var(--ph) * 0.2); }
.fly--d { margin-top: calc(var(--ph) * -0.4); }
.fly--e { margin-top: calc(var(--ph) * -0.05); left: calc(50% + var(--pw) / 2 + 76px); }
.fly--f { margin-top: calc(var(--ph) * 0.18); }

.mini-term {
  position: relative;
  width: 230px;
  padding: 18px 20px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.mini-term img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mini-term::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17, 24, 39, 0.5); }
.mini-term small { display: block; font-size: 12px; opacity: 0.9; }
.mini-term b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }

.row--mini { width: 330px; padding: 14px 16px; gap: 12px; }
.row--mini .ic { width: 40px; height: 40px; }
.row--mini .row__main b { font-size: 15px; }
.row--mini .row__main small { font-size: 12px; }
.row--mini .badge { font-size: 11px; padding: 4px 9px; }
.row--mini:hover { transform: none; }

.mini-streak { width: 250px; padding: 14px 16px; }
.mini-streak p { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font-size: 14px; }
.mini-streak p span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #B7791F; }
.mini-streak p svg { width: 15px; height: 15px; fill: #F6C445; stroke: #D69E2E; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.days i { display: grid; place-items: center; height: 30px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 10px; font-style: normal; font-weight: 600; color: var(--text-2); }
.days i.on { border-color: #F3D48A; background: #FEF6DD; color: #B7791F; }

.mini-flash { width: 230px; overflow: hidden; }
.mini-flash__img { padding: 16px 14px; background: #EDEEF2; }
.mini-flash .flash__bar { padding: 10px 14px; font-size: 13px; }
.mini-flash .flash__bar svg { width: 16px; height: 16px; }

.mini-opt { width: 250px; box-shadow: var(--shadow-lg); }
.mini-opt__ok { margin-left: auto; font-size: 13px; font-weight: 700; color: #15803D; }

.mini-status { width: 200px; padding: 16px 18px; }
.mini-status__big { margin: 2px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.mini-status .bar { margin-top: 10px; }

.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transform: translateX(-50%);
  animation: hintIn 0.8s var(--ease) 1.6s both;
  transition: opacity 0.4s;
}

@keyframes hintIn { from { opacity: 0; translate: 0 10px; } }

.hero-in {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.8s var(--ease), translate 0.9s var(--ease);
  transition-delay: calc(0.05s + var(--d, 0) * 0.08s);
}
.is-ready .hero-in { opacity: 1; translate: 0 0; }

.term-sec .term { margin-top: 0; }

@media (max-width: 1100px) {
  .fly--b, .fly--e { display: none; }
}

@media (max-width: 760px) {
  .hero { height: 280vh; }
  .stage { --ph: min(500px, 58vh); }
  .fly > * { scale: 0.68; }
  .fly--c, .fly--d { display: none; }
  .fly--a { right: calc(50% - 6px); margin-top: calc(var(--ph) * -0.44); }
  .fly--f { left: calc(50% + 10px); margin-top: calc(var(--ph) * 0.3); }
  .greet { font-size: 16px; margin-bottom: 12px; }
  .stage__tabs span { min-width: 46px; font-size: 10px; }
  .stage__tabs i { width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__sticky { position: relative; height: auto; padding-bottom: 120px; }
  .stage { position: relative; top: auto; height: calc(min(600px, 66vh) + 140px); margin-top: 40px; }
  .stage__phone { top: calc(min(600px, 66vh) / 2); }
  .fly { top: calc(min(600px, 66vh) / 2); }
  .hero-in { opacity: 1; translate: none; }
  .hero__hint { display: none; }
}

/* Prüfungstermin-Karte */
.term {
  position: relative;
  margin-top: 56px;
  min-height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.term__photo {
  position: absolute;
  top: -12%;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: translate3d(0, var(--py, 0px), 0);
}

.term__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.72) 0%, rgba(17, 24, 39, 0.45) 55%, rgba(17, 24, 39, 0.15) 100%);
}

.term__body { padding: clamp(28px, 4vw, 48px); }
.term__label { margin: 0; font-size: 17px; font-weight: 500; opacity: 0.9; }
.term__big { margin: 4px 0; font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.term__date { margin: 0; font-size: 18px; opacity: 0.85; }
.term__plan { margin: 18px 0 24px; max-width: 420px; font-size: 16px; font-weight: 600; }

.term__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s;
}

.term__btn:active { transform: scale(0.98); }
.term__btn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.term__btn input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: 40px 0 0; }
.section--white { background: var(--card); border-block: 1px solid var(--line); }
.section--white .row--card,
.section--white .card { background: var(--bg); box-shadow: none; }
.section--last { padding-bottom: clamp(90px, 10vw, 140px); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.tile {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.tile__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 30px; border-radius: 50%; }
.tile__icon svg { width: 20px; height: 20px; }
.tile b { font-size: clamp(36px, 3.6vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile > span:last-child { margin-top: 6px; font-size: 15px; color: var(--text-2); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.split__text { position: sticky; top: 120px; }
.split--rev .split__text { order: 2; }
.split--rev .split__ui { order: 1; }

.row--error { margin-top: 32px; max-width: 460px; }

.checks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; }
.checks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); stroke-width: 2.6; }

.hint { margin: 26px 0 0; font-size: 14px; font-weight: 600; color: var(--text-3); }

/* Lernkarten */
.cardstack {
  max-width: 440px;
  margin-inline: auto;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.cardstack__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.pill-count {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.flash { display: none; perspective: 1400px; }
.flash.is-active { display: block; animation: cardIn 0.5s var(--ease); }

@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.flash__inner {
  position: relative;
  height: 500px;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
}

.flash.is-flipped .flash__inner { transform: rotateY(180deg); }

.flash__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flash__img { flex: 1; display: grid; place-items: center; padding: 20px; }
.flash__img img { width: 100%; height: auto; }

.flash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.flash__bar span { display: inline-flex; align-items: center; gap: 8px; }
.flash__bar span:last-child { font-weight: 500; }
.flash__bar svg { width: 20px; height: 20px; }

.flash__back { padding: 24px 22px; transform: rotateY(180deg); overflow-y: auto; }
.flash__back h3 { font-size: 30px; font-weight: 800; }
.latin { margin: 2px 0 16px; font-style: italic; color: var(--text-2); }

.tip { padding: 14px 16px; border-radius: 16px; background: #F0F5FD; }
.tip__label { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--blue); }
.tip__head { margin: 0; font-size: 15px; font-weight: 700; }
.tip ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--text-2); }
.tip li { margin: 2px 0; }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 18px 0 0; font-size: 15px; }
.facts dt { color: var(--text-2); }
.facts dd { margin: 0; font-weight: 600; }

.controls { display: flex; align-items: center; gap: 10px; margin-top: 14px; }

/* Segment-Umschalter */
.center-head { max-width: 720px; margin: 0 auto; text-align: center; }
.center-head .lead { margin-inline: auto; }

.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(420px, 100%);
  margin: 44px auto 36px;
  padding: 5px;
  border-radius: 999px;
  background: #ECEEF2;
}

.seg__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.25s;
}

.seg__btn svg { width: 18px; height: 18px; }
.seg__btn.is-active { color: var(--blue); }

.seg__thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.1);
  transition: transform 0.45s var(--ease);
}

.seg.is-right .seg__thumb { transform: translateX(100%); }

.panel { animation: cardIn 0.5s var(--ease); }

.panel__ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.task { padding: clamp(24px, 3vw, 34px); }
.task__meta { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--blue); }
.task__meta--grey { margin: 4px 0 0; color: var(--text-2); font-weight: 500; }
.task h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; }
.task .ic { margin-bottom: 18px; }
.task .bar { margin: 16px 0 6px; }
.task__label { margin: 22px 0 4px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.task__text { margin: 14px 0 0; font-size: 18px; font-weight: 600; line-height: 1.45; }
.task__label + .task__text { margin-top: 0; }
.task__fish { margin: 0; font-size: 16px; color: var(--text-2); }

.step-dots { display: flex; gap: 6px; margin: 26px 0 0; }
.step-dots i { flex: 1; height: 4px; border-radius: 4px; background: #EEF0F3; }
.step-dots i.on { background: var(--blue); }

.pick { display: flex; flex-direction: column; overflow: hidden; }
.pick__img { position: relative; flex: 1; display: grid; place-items: center; min-height: 260px; background: #D8D9DE; }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.tag--r { left: auto; right: 14px; }

.pick__sel { display: flex; align-items: center; gap: 12px; padding: 16px; text-align: center; background: var(--card); }
.pick__sel > span:nth-child(2) { flex: 1; }
.pick__sel b { display: block; font-size: 17px; }
.pick__sel small { display: block; font-size: 14px; color: var(--text-2); }

.phone--sm { width: min(300px, 100%); justify-self: center; }

.facts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.facts-row li { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.facts-row b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.facts-row span { display: block; margin-top: 2px; font-size: 15px; color: var(--text-2); }

/* Prüfung */
.status { position: relative; margin-top: 32px; max-width: 420px; padding: 24px; }
.status__label { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-2); }
.status__big { margin: 6px 0 0; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.status__big span { margin-left: 4px; font-size: 22px; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.status__sub { margin: 4px 0 0; color: var(--text-2); }
.status .bar { margin-top: 18px; }
.status .badge { position: absolute; top: 22px; right: 22px; }

.mode-hero { padding: 22px; }
.mode-hero__top { display: flex; align-items: center; gap: 14px; }
.mode-hero__top b { font-size: 19px; font-weight: 700; }
.mode-hero p { margin: 14px 0 18px; font-size: 16px; color: var(--text-2); }

/* Quiz */
.quiz { max-width: 520px; padding: 22px; }
.quiz__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.quiz__head b { display: block; font-size: 17px; }
.quiz__head small { display: block; font-size: 13px; color: var(--text-2); }
.quiz__q { display: none; }
.quiz__q.is-active { display: block; animation: cardIn 0.45s var(--ease); }
.quiz__q h3 { margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.quiz__img { margin-bottom: 16px; padding: 12px; border-radius: 18px; }

.opts { display: grid; gap: 10px; }

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--card);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.opt:hover:not(:disabled) { border-color: var(--blue); }
.opt:disabled { cursor: default; }
.opt__k { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #F1F3F6; font-size: 13px; font-weight: 700; color: var(--text-2); }
.opt.is-right { border-color: #16A34A; background: #EFFAF3; }
.opt.is-right .opt__k { background: #16A34A; color: #fff; }
.opt.is-wrong { border-color: #DC2626; background: #FEF2F2; }
.opt.is-wrong .opt__k { background: #DC2626; color: #fff; }

.explain { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #F0F5FD; font-size: 15px; animation: cardIn 0.4s var(--ease); }
.explain p { margin: 0; color: var(--text-2); }
.explain b { color: var(--text); }
.explain .explain__t { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--blue); }

[data-quiz-next] { margin-top: 18px; }
.quiz__result { display: grid; gap: 10px; animation: cardIn 0.45s var(--ease); }
.quiz__title { margin: 6px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.quiz__text { margin: 0 0 10px; color: var(--text-2); }

/* Duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 36px); }
.duo__card h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; }
.duo__card > p { margin: 0; color: var(--text-2); }
a.duo__card .btn { margin-top: auto; }

.ff-delete-form { display: grid; gap: 14px; margin-top: 6px; }
.ff-delete-form__field { display: grid; gap: 6px; }
.ff-delete-form__field label { font-size: 14px; font-weight: 700; }
.ff-delete-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ff-delete-form input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 104, 217, 0.15); }
.ff-delete-form input.is-invalid { border-color: #DC2626; }
.ff-delete-form__check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--text-2); cursor: pointer; }
.ff-delete-form__check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.ff-delete-form__check a, .ff-optin__fine a { color: var(--blue); font-weight: 600; }
.ff-delete-form__submit { justify-self: start; }
.ff-delete-form__hint { margin: 0; font-size: 14px; color: var(--text-2); }
.ff-delete-form__hint.is-error { color: #B91C1C; }
.ff-delete-form__hint.is-ok { color: #047857; }
.ff-optin__fine { margin: 0; font-size: 13px; color: var(--text-3); }

/* FAQ */
.faq-wrap .center-head { margin-bottom: 40px; }
.faq { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.faq__item summary { position: relative; padding: 22px 64px 22px 24px; font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s var(--ease);
}

.faq__item.is-open summary::after { transform: rotate(90deg); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__body-inner { overflow: hidden; }
.faq__body p { margin: 0; padding: 0 24px 22px; color: var(--text-2); }

/* CTA */
.term--cta { margin-top: 0; min-height: 0; text-align: center; }
.term--cta .term__shade { background: linear-gradient(180deg, rgba(17, 24, 39, 0.5), rgba(17, 24, 39, 0.7)); }
.term--cta .term__body { display: flex; flex-direction: column; align-items: center; padding: clamp(56px, 8vw, 100px) 24px; }
.term--cta .stores { justify-content: center; margin-top: 30px; }
.cta__icon { width: 72px; height: 72px; margin-bottom: 22px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }

/* Footer */
.foot { padding: 56px 0 120px; border-top: 1px solid var(--line); background: var(--card); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot__brand p { max-width: 260px; margin: 14px 0 0; font-size: 14px; color: var(--text-2); }
.foot__col { display: grid; align-content: start; gap: 9px; font-size: 14px; }
.foot__col a { color: var(--text-2); }
.foot__col a:hover { color: var(--blue); }
.foot__label { margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--text); }
.foot__bar { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.foot__bar p { margin: 0; }

/* Tab-Leiste wie in der App */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 45;
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 10px 30px -10px rgba(17, 24, 39, 0.25);
  transform: translate(-50%, 140%);
  transition: transform 0.5s var(--ease);
}

.tabbar.is-on { transform: translate(-50%, 0); }

.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 68px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.tabbar a span { display: grid; place-items: center; width: 52px; height: 32px; border-radius: 999px; transition: background 0.25s; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.is-active { color: var(--blue); }
.tabbar a.is-active span { background: var(--blue-soft); }

/* Cookie-Banner (von fischfit.js) */
.ff-cookie {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 1000;
  max-width: 440px;
  margin-inline: auto;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14), 0 2px 8px rgba(17, 24, 39, 0.04);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.ff-cookie.is-open { opacity: 1; transform: none; pointer-events: auto; }
.ff-cookie__brand { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--blue); }
.ff-cookie__brand img { width: 22px; height: 22px; border-radius: 6px; }
.ff-cookie h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.ff-cookie__text { margin: 0 0 16px; font-size: 14px; color: var(--text-2); }
.ff-cookie__text a { color: var(--blue); text-decoration: underline; }
.ff-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-cookie .pill { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.ff-cookie .pill--accent { background: var(--blue); color: #fff; }
.ff-cookie .pill--ghost { background: var(--bg); border-color: var(--line-2); }
.ff-cookie .pill--link { padding: 12px 14px; background: none; color: var(--text-2); font-weight: 600; }
.ff-cookie__panel[hidden] { display: none; }
.ff-cookie__cats { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
.ff-cookie__cat { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.ff-cookie__cat strong { font-size: 14px; }
.ff-cookie__cat span { grid-column: 1; font-size: 12px; color: var(--text-2); }
.ff-cookie__toggle { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; width: 44px; height: 26px; border: 0; border-radius: 999px; background: #D1D5DB; cursor: pointer; transition: background 0.2s; }
.ff-cookie__toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(17, 24, 39, 0.2); transition: transform 0.2s; }
.ff-cookie__toggle[aria-checked="true"] { background: var(--blue); }
.ff-cookie__toggle[aria-checked="true"]::after { transform: translateX(18px); }
.ff-cookie__toggle[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
@media (min-width: 640px) { .ff-cookie { inset: auto 24px 24px auto; margin-inline: 0; } }

/* Scroll-Reveal */
[data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.7s var(--ease), translate 0.8s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s;
  transition-delay: var(--rd, 0s), var(--rd, 0s), 0s, 0s;
}

[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Responsive */
@media (max-width: 1000px) {
  .top__links { display: none; }
  .top__inner { justify-content: space-between; }
  .hero__grid, .split, .panel__ui, .duo { grid-template-columns: 1fr; }
  .hero__phone { width: min(300px, 76vw); }
  .split__text { position: static; }
  .split--rev .split__text { order: 0; }
  .split--rev .split__ui { order: 1; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .facts-row { grid-template-columns: 1fr; gap: 10px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .top__inner { height: 64px; }
  .hero { padding-top: 24px; }
  .hero__sub { font-size: 17px; }
  .store img { height: 46px; }
  .term { margin-top: 40px; min-height: 0; }
  .term__shade { background: linear-gradient(180deg, rgba(17, 24, 39, 0.35), rgba(17, 24, 39, 0.75)); }
  .term__body { padding: 26px 22px 24px; }
  .lead { font-size: 17px; }
  .tile { padding: 18px; }
  .tile__icon { margin-bottom: 20px; }
  .row { gap: 12px; padding: 14px 14px 14px 16px; }
  .ic { width: 40px; height: 40px; }
  .row__main b { font-size: 16px; }
  .row .badge { display: none; }
  .flash__inner { height: 480px; }
  .facts { font-size: 14px; }
  .pick__img { min-height: 200px; }
  .tabbar { left: 0; right: 0; bottom: 0; justify-content: space-around; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; border-bottom: 0; transform: translateY(110%); }
  .tabbar.is-on { transform: none; }
  .tabbar a { flex: 1; min-width: 0; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot__bar { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; translate: none; }
}
.term--cta .term__date { margin-top: 14px; }

/* ───────── Rechtliche Seiten ───────── */
.legal-page { background: var(--bg); }
.legal-hero { padding: 40px 0 28px; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
}

.legal-back svg { width: 18px; height: 18px; }
.legal-back:hover { color: var(--blue); border-color: var(--blue); }

.legal-hero__row { display: flex; align-items: center; gap: 20px; }
.legal-hero__icon { display: grid; place-items: center; flex: none; width: 68px; height: 68px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.legal-hero__icon svg { width: 30px; height: 30px; }
.legal-hero .kicker { margin-bottom: 4px; }
.legal-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }

.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.legal-chip { padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 700; }
.legal-chip--soft { background: var(--card); border: 1px solid var(--line-2); color: var(--text-2); font-weight: 600; }

.legal-tabs {
  display: flex;
  gap: 6px;
  margin-top: 28px;
  padding: 5px;
  overflow-x: auto;
  border-radius: 999px;
  background: #ECEEF2;
  scrollbar-width: none;
  width: max-content;
  max-width: 100%;
}

.legal-tabs::-webkit-scrollbar { display: none; }
.legal-tabs a { flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text-2); white-space: nowrap; transition: color 0.2s, background 0.2s; }
.legal-tabs a:hover { color: var(--text); }
.legal-tabs a[aria-current="page"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(17, 24, 39, 0.1); }

.legal-body { padding: 0 0 clamp(72px, 9vw, 120px); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 820px); }
.legal-grid--toc { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }

.legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.legal-toc__title { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.legal-toc nav { display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.legal-toc a:hover { color: var(--text); background: var(--bg); }
.legal-toc a.is-active { background: var(--blue-soft); color: var(--blue); }

.legal-card {
  min-width: 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  overflow-wrap: anywhere;
}

.legal-card > :first-child { margin-top: 0; }
.legal-card h2 { margin: 40px 0 12px; scroll-margin-top: 96px; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h2 + * { margin-top: 0; }
.legal-card h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.legal-card p { margin: 0 0 14px; }
.legal-card ul, .legal-card ol { margin: 0 0 16px; padding-left: 22px; }
.legal-card li { margin: 4px 0; }
.legal-card li::marker { color: var(--blue); }
.legal-card a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(29, 104, 217, 0.3); text-underline-offset: 3px; }
.legal-card a:hover { text-decoration-color: var(--blue); }
.legal-card strong { color: var(--text); }
.legal-card address { font-style: normal; }
.legal-card table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 15px; }
.legal-card th, .legal-card td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.legal-card .ff-legal__steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 10px; }
.legal-card .ff-legal__steps li { position: relative; counter-increment: step; margin: 0; padding: 14px 16px 14px 60px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.legal-card .ff-legal__steps li::before { content: counter(step); position: absolute; left: 16px; top: 50%; margin-top: -15px; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }

.legal-card .ff-delete-form { margin: 20px 0 28px; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.legal-card .ff-delete-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  resize: vertical;
}
.legal-card .ff-delete-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 104, 217, 0.15); }
.legal-card .ff-delete-form a { text-decoration: none; }
.legal-card .ff-delete-form__optional { font-weight: 500; color: var(--text-3); }
.legal-card .ff-delete-form__alt { margin: 0; font-size: 14px; color: var(--text-2); }
.legal-card .ff-delete-form__check { font-size: 14px; }

.legal-page .foot { padding-bottom: 56px; }

@media (max-width: 1000px) {
  .legal-grid--toc { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; max-height: none; }
  .legal-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .legal-hero { padding-top: 24px; }
  .legal-hero__icon { width: 52px; height: 52px; }
  .legal-hero__icon svg { width: 24px; height: 24px; }
  .legal-hero__row { gap: 14px; }
  .legal-toc { display: none; }
  .legal-card { padding: 22px 18px; border-radius: 22px; font-size: 15px; }
  .legal-card h2 { font-size: 19px; margin-top: 32px; }
}
.legal-hero__row > div { min-width: 0; }
.legal-hero h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 640px) { .legal-hero h1 { font-size: 30px; } }
