/*
 * Die Website der Wichtelwerft — Farben, Schrift und Ton aus docs/marke.md.
 * Hell, kühl, neutral; Werftblau als einziger Akzent, Laternengelb für
 * „wartet". Keine Fremd-Anfragen: Schrift liegt hier, Skripte gibt es nicht.
 */

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(schrift/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(schrift/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --tinte: #121c2b;
  --text2: #3b4656;
  --neben: #687384;
  --grund: #f7f8fa;
  --karte: #ffffff;
  --linie: #e4e7ec;
  --akzent: #2e63e6;
  --akzent-zart: #eaf0fd;
  --gelb: #f2b84b;
  --gruen: #3fa374;
  --schatten: 0 1px 2px rgb(18 28 43 / 0.04), 0 8px 24px -12px rgb(18 28 43 / 0.12);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tinte: #f3f5f8;
    --text2: #c3cad5;
    --neben: #8d97a6;
    --grund: #0f1319;
    --karte: #171c24;
    --linie: #262d38;
    --akzent: #6a97f7;
    --akzent-zart: #1a2640;
    --schatten: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -12px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.huelle {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Kopf ───────────────────────────────────────────── */

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--grund) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}

.kopf .huelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.marke svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.marke b {
  color: var(--akzent);
  font-weight: 700;
}

.kopf nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.kopf nav a {
  text-decoration: none;
  color: var(--text2);
}

.kopf nav a:hover {
  color: var(--tinte);
}

.nur-breit {
  display: none;
}

@media (min-width: 760px) {
  .nur-breit {
    display: inline;
  }
}

/* ── Knöpfe ─────────────────────────────────────────── */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.knopf:active {
  transform: translateY(1px);
}

.knopf.voll {
  background: var(--tinte);
  color: var(--grund);
}

.knopf.voll:hover {
  background: color-mix(in srgb, var(--tinte) 88%, var(--akzent));
}

.knopf.leise {
  border-color: var(--linie);
  background: var(--karte);
  color: var(--tinte);
}

.knopf.leise:hover {
  border-color: color-mix(in srgb, var(--linie) 50%, var(--neben));
}

.kopf .knopf {
  min-height: 38px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--grund);
}

/* ── Bühne ──────────────────────────────────────────── */

.buehne {
  padding: 56px 0 72px;
}

.buehne .huelle {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .buehne {
    padding: 88px 0 104px;
  }
  .buehne .huelle {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }
}

.vorzeile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--akzent);
  background: var(--akzent-zart);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.buehne h1 {
  font-size: clamp(40px, 7vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.buehne h1 em {
  font-style: normal;
  color: var(--akzent);
}

.buehne .lead {
  margin-top: 20px;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--text2);
  max-width: 34em;
}

.handgriffe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.kleingedruckt {
  margin-top: 14px;
  font-size: 14px;
  color: var(--neben);
}

/* Das Bild rechts: eine Karte wie in „Heute". */

.vorschau {
  position: relative;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 20px;
  box-shadow: var(--schatten);
  padding: 22px;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}

.vorschau .gruss {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.vorschau .unter {
  color: var(--neben);
  font-size: 15px;
  margin-top: 2px;
}

.vorschau ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vorschau li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--linie);
  border-radius: 14px;
  font-size: 15px;
}

.vorschau li img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.vorschau li small {
  display: block;
  color: var(--neben);
  font-size: 13px;
}

.zustand {
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.zustand.fertig {
  color: var(--gruen);
  background: color-mix(in srgb, var(--gruen) 14%, transparent);
}

.zustand.wartet {
  color: color-mix(in srgb, var(--gelb) 60%, var(--tinte));
  background: color-mix(in srgb, var(--gelb) 22%, transparent);
}

.vorschau .fuss {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.vorschau .fuss span {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--linie);
}

.vorschau .fuss span:first-child {
  background: var(--tinte);
  color: var(--grund);
  border-color: var(--tinte);
}

/* ── Abschnitte ─────────────────────────────────────── */

.abschnitt {
  padding: 72px 0;
  border-top: 1px solid var(--linie);
}

.abschnitt > .huelle > header {
  max-width: 40em;
  margin-bottom: 40px;
}

.abschnitt h2 {
  font-size: clamp(30px, 4.5vw, 44px);
}

.abschnitt header p {
  margin-top: 14px;
  color: var(--text2);
  font-size: 19px;
}

.raster {
  display: grid;
  gap: 16px;
}

@media (min-width: 680px) {
  .raster.zwei {
    grid-template-columns: repeat(2, 1fr);
  }
  .raster.drei {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .raster.drei {
    grid-template-columns: repeat(3, 1fr);
  }
}

.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--schatten);
}

.karte h3 {
  font-size: 21px;
}

.karte p {
  color: var(--text2);
  margin-top: 8px;
  font-size: 16px;
}

/* Apps */

.app {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.app img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.app ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text2);
  font-size: 15px;
}

.app li + li {
  margin-top: 2px;
}

/* Grundsätze */

.zahl {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--akzent-zart);
  color: var(--akzent);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

/* Stufen */

.stufen {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .stufen {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .stufen {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stufe {
  display: flex;
  flex-direction: column;
}

.stufe.betont {
  border-color: var(--akzent);
  box-shadow: 0 0 0 1px var(--akzent), var(--schatten);
}

.stufe .preis {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stufe .preis small {
  font-size: 15px;
  font-weight: 500;
  color: var(--neben);
  letter-spacing: 0;
}

.stufe ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--text2);
}

.stufe li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}

.stufe li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--akzent-zart);
  box-shadow: inset 0 0 0 4px var(--akzent-zart), inset 0 0 0 7px var(--akzent);
}

.individuell {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.individuell p {
  margin-top: 4px;
}

/* Fragen */

.fragen {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.fragen details {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 0 20px;
}

.fragen summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.fragen summary::-webkit-details-marker {
  display: none;
}

.fragen summary::after {
  content: "+";
  color: var(--neben);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}

.fragen details[open] summary::after {
  content: "–";
}

.fragen details p {
  color: var(--text2);
  padding-bottom: 18px;
}

/* Schluss */

.schluss {
  text-align: center;
  padding: 88px 0;
  border-top: 1px solid var(--linie);
}

.schluss h2 {
  font-size: clamp(30px, 4.5vw, 44px);
}

.schluss p {
  color: var(--text2);
  margin: 14px auto 0;
  max-width: 32em;
  font-size: 19px;
}

.schluss .handgriffe {
  justify-content: center;
}

/* Fuß */

.fuss-seite {
  border-top: 1px solid var(--linie);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--neben);
}

.fuss-seite .huelle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.fuss-seite nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fuss-seite a {
  text-decoration: none;
}

.fuss-seite a:hover {
  color: var(--tinte);
}

/* Rechtstexte */

.recht {
  padding: 56px 0 80px;
}

.recht .huelle {
  max-width: 760px;
}

.recht h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 28px;
}

.recht h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}

.recht p,
.recht li {
  color: var(--text2);
}

.recht p + p {
  margin-top: 12px;
}

.recht ul {
  padding-left: 20px;
}

.recht address {
  font-style: normal;
  color: var(--text2);
}

/* Rasterfelder dürfen schmaler werden als ihr Inhalt — sonst schiebt eine
   lange Zeile am Telefon die Seite zur Seite. */
.buehne .huelle > *,
.app > div,
.vorschau li > span {
  min-width: 0;
}
