@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --nacht: #1d2b53;
  --minze: #bfe5d0;
  --minze-hell: #f2faf5;
  --butter: #ffd95a;
  --rosa: #f9c9d4;
  --weiss: #ffffff;
  --alarm: #c81e2b;
  --display: "Fredoka", "Arial Rounded MT Bold", sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--minze-hell);
  color: var(--nacht);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.75rem, 5.6vw, 4.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.5rem; }

p { margin: 0; max-width: 34em; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--nacht); outline-offset: 3px; }

.innen { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.marke { font-family: var(--display); font-weight: 700; font-size: 1.75rem; text-decoration: none; }
.kopf nav { display: flex; align-items: center; gap: 1.5rem; }
.kopf nav a { text-decoration: none; font-weight: 600; }
.kopf nav a:hover { text-decoration: underline; }

.knopf {
  display: inline-block;
  background: var(--butter);
  color: var(--nacht);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--nacht);
  transition: transform 0.1s, box-shadow 0.1s;
}
.knopf:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--nacht); }
.knopf:active { transform: translateY(5px); box-shadow: 0 0 0 var(--nacht); }
.knopf.klein { font-size: 1rem; padding: 0.5rem 1.1rem; box-shadow: 0 3px 0 var(--nacht); }

/* Baender */
.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band.minze { background: var(--minze); }
.band.rosa { background: var(--rosa); }
.band.weiss { background: var(--weiss); }
.band > .innen > h2 { margin-bottom: 2.5rem; max-width: 16em; }

/* Buehne */
.buehne { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding-block: 2rem 5rem; }
.buehne p { font-size: 1.3rem; margin-block: 1.5rem 2rem; }
.buehne .wege { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.sonne { position: relative; aspect-ratio: 1; background: var(--butter); border-radius: 50%; }
.sonne img { position: absolute; inset: -6%; width: 112%; max-width: none; transform: rotate(-8deg); }
.uhr {
  position: absolute; left: 0; bottom: 8%;
  background: var(--nacht); color: var(--weiss);
  font-family: var(--display); font-weight: 500;
  padding: 0.6rem 1.2rem; border-radius: 999px;
}
.uhr b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--butter); }

/* Siegel */
.siegel { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.siegel li { font-size: 1rem; }
.siegel strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }

/* Schritte */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt);
  display: grid; place-items: center;
  width: 4rem; height: 4rem; margin-bottom: 1.25rem;
  background: var(--butter); border-radius: 50%;
  font-family: var(--display); font-weight: 700; font-size: 2rem;
}
.schritte h3 { margin-bottom: 0.5rem; }

/* Elternbild */
.ruhebild { position: relative; }
.ruhebild img { width: 100%; max-height: 80vh; object-fit: cover; }
.ruhebild figcaption {
  position: absolute; right: 5%; bottom: 8%;
  background: var(--weiss); padding: 1.25rem 1.5rem; border-radius: 1.75rem 1.75rem 0.25rem 1.75rem;
  font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 2.2vw, 1.6rem); max-width: 15em; line-height: 1.2;
}
figure { margin: 0; }

/* Funktionen */
.funktionen { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.funktionen img { border-radius: 2.5rem; position: sticky; top: 2rem; }
.funktionen dl { margin: 0; }
.funktionen dt { font-family: var(--display); font-weight: 600; font-size: 1.5rem; }
.funktionen dd { margin: 0.25rem 0 1.75rem; max-width: 30em; }

/* Vergleich */
.tabellenrahmen { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--weiss); border-radius: 1.5rem; overflow: hidden; }
th, td { text-align: left; padding: 1rem 1.25rem; vertical-align: top; }
thead th { font-family: var(--display); font-weight: 600; background: var(--nacht); color: var(--weiss); }
tbody th { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
tbody tr + tr { border-top: 2px solid var(--minze-hell); }
tr.wir { background: var(--butter); }
tr.wir td:last-child { color: var(--alarm); font-weight: 700; }

/* Stimmen */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.stimmen blockquote { margin: 0; padding: 1.75rem; background: var(--weiss); border-radius: 2rem 2rem 2rem 0.25rem; }
.stimmen blockquote:nth-child(2) { margin-top: 2.5rem; background: var(--butter); }
.stimmen blockquote:nth-child(3) { background: var(--minze); }
.stimmen p { font-family: var(--display); font-weight: 500; font-size: 1.35rem; line-height: 1.25; }
.stimmen footer { margin-top: 1rem; font-size: 0.95rem; }

/* Preis */
.preis { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.preis img { border-radius: 2.5rem; }
.preis .zahl { font-family: var(--display); font-weight: 700; font-size: 4.5rem; line-height: 1; margin-block: 1rem 0.5rem; }
.preis p + p { margin-top: 0.75rem; }
.preis .knopf { margin-top: 1.75rem; }

/* Fragen */
.fragen details { background: var(--weiss); border-radius: 1.25rem; padding: 1.1rem 1.5rem; max-width: 46rem; }
.fragen details + details { margin-top: 0.75rem; }
.fragen summary { font-family: var(--display); font-weight: 600; font-size: 1.3rem; cursor: pointer; }
.fragen details p { margin-top: 0.75rem; }

/* Fuss */
.fuss { background: var(--nacht); color: var(--weiss); padding-block: 2.5rem; font-size: 1rem; }
.fuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.fuss p { max-width: 40em; }

/* Aufloesung und Impressum */
.klartext { padding-block: clamp(3rem, 10vw, 7rem); }
.klartext h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 2rem; max-width: 12em; }
.klartext p { font-size: 1.25rem; max-width: 36em; }
.klartext p + p { margin-top: 1.25rem; }
.klartext h2 { font-size: 1.6rem; margin-block: 2.75rem 0.75rem; }
.klartext h2 + p { margin-top: 0; }
.klartext .hilfe { margin-block: 2.5rem; background: var(--butter); padding: 1.75rem 2rem; border-radius: 2rem; max-width: 46rem; }
.klartext .hilfe a { font-family: var(--display); font-weight: 700; font-size: 2rem; text-decoration: none; white-space: nowrap; }

@media (max-width: 820px) {
  .kopf nav a:not(.knopf) { display: none; }
  .buehne, .funktionen, .preis { grid-template-columns: 1fr; }
  .buehne { padding-bottom: 3rem; }
  .sonne { width: min(26rem, 88%); margin-inline: auto; }
  .siegel, .schritte, .stimmen { grid-template-columns: 1fr; }
  .stimmen blockquote:nth-child(2) { margin-top: 0; }
  .funktionen img { position: static; }
  .ruhebild figcaption { position: static; border-radius: 0; max-width: none; }
  th, td { padding: 0.7rem 0.6rem; font-size: 0.95rem; hyphens: auto; }
  tbody th { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf { transition: none; }
}
