/* Trackers Diary – Website
   Farben orientieren sich an der App.
   Dunkel ist Standard. Hell gilt, wenn das Gerät hell eingestellt ist
   oder der Schalter oben rechts es wählt (data-theme am <html>).
   Wo ein App-Farbton im hellen Modus als Schrift zu schwach ist,
   ist er hier etwas dunkler (Kommentar „abgedunkelt“).
   Symbole sind kleine Zeichnungen direkt in dieser Datei (unten, „Symbole“),
   es wird nichts von außen geladen. */

:root {
  color-scheme: dark;
  --grund: #000000;          /* AppColors.background */
  --karte: #121212;          /* AppColors.card */
  --karte-hoch: #1c1c1c;     /* AppColors.surfaceElevated */
  --rand: rgba(255, 255, 255, 0.10);
  --rand-stark: rgba(255, 255, 255, 0.18);
  --text: #ffffff;           /* AppColors.textPrimary */
  --text-2: #e0e0e0;         /* bodyLarge der App */
  --text-leise: #9e9e9e;     /* AppColors.textMuted */
  --gruen: #00ff66;          /* AppColors.primary */
  --auf-gruen: #000000;      /* AppColors.onAccent */
  --link: #00e5ff;           /* AppColors.secondary (Cyan) */
  --gold: #ffd700;           /* AppColors.gold */
  --gelb: #ffc400;           /* AppColors.signalYellow */
  --rot: #ff5252;            /* AppColors.signalRed */
  /* Bereichsfarben (gedämpft) */
  --ernaehrung: #7fd69a;
  --training: #5cc8d6;
  --koerper: #6fa8dc;
  --schlaf: #a594d8;
  --wasser: #5bb8e8;
  --supps: #d9b45a;
  --aktivitaet: #e0a060;
  --bereich: var(--gruen);
  /* Licht und Schatten */
  --schimmer: 16%;           /* Stärke des farbigen Schimmers oben auf der Seite */
  --toenung: 12%;            /* Stärke der Farbfläche hinter Symbolen */
  --schatten: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 32px -18px rgba(0, 0, 0, 0.9);
  --schatten-hoch: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 22px 44px -18px rgba(0, 0, 0, 0.95);
  --kopf-grund: rgba(18, 18, 18, 0.88);
  --schatten-rund: 0 14px 32px -12px rgba(0, 0, 0, 0.9);
  --radius: 12px;            /* AppRadii.card */
  --radius-gross: 18px;
  --radius-klein: 8px;       /* AppRadii.input */
  --breite: 62rem;           /* Inhaltsbreite */
  --breite-weit: 70rem;      /* Kopf, Fuß und Startseite */
  --weich: 0.2s ease;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --grund: #f2f3f5;
    --karte: #ffffff;
    --karte-hoch: #e9ebee;
    --rand: rgba(0, 0, 0, 0.14);
    --rand-stark: rgba(0, 0, 0, 0.22);
    --text: #111111;
    --text-2: #222222;
    --text-leise: #5c5c5c;   /* App #616161, minimal abgedunkelt */
    --gruen: #00782f;        /* App #00a843, abgedunkelt (Knopf mit weißer Schrift) */
    --auf-gruen: #ffffff;
    --link: #006a73;         /* App #00838f, abgedunkelt */
    --gold: #876200;         /* App #b8860b, abgedunkelt */
    --gelb: #8a6200;         /* App #b27f00, abgedunkelt */
    --rot: #c62828;
    --ernaehrung: #267449;   /* App #2e8b57, abgedunkelt */
    --training: #00737d;     /* App #00838f, abgedunkelt */
    --koerper: #2d6aa8;      /* App #2f6faf, abgedunkelt */
    --schlaf: #6a55b5;
    --wasser: #196da5;       /* App #1e7fc0, abgedunkelt */
    --supps: #846300;        /* App #a67c00, abgedunkelt */
    --aktivitaet: #9a5916;   /* App #b0661a, abgedunkelt */
    --schimmer: 20%;
    --toenung: 9%;
    --schatten: 0 1px 2px rgba(16, 24, 40, 0.06), 0 10px 26px -14px rgba(16, 24, 40, 0.22);
    --schatten-hoch: 0 2px 4px rgba(16, 24, 40, 0.06), 0 22px 44px -20px rgba(16, 24, 40, 0.35);
    --kopf-grund: rgba(255, 255, 255, 0.9);
    --schatten-rund: 0 14px 32px -12px rgba(0, 0, 0, 0.4);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --grund: #f2f3f5;
  --karte: #ffffff;
  --karte-hoch: #e9ebee;
  --rand: rgba(0, 0, 0, 0.14);
  --rand-stark: rgba(0, 0, 0, 0.22);
  --text: #111111;
  --text-2: #222222;
  --text-leise: #5c5c5c;
  --gruen: #00782f;
  --auf-gruen: #ffffff;
  --link: #006a73;
  --gold: #876200;
  --gelb: #8a6200;
  --rot: #c62828;
  --ernaehrung: #267449;   /* App #2e8b57, abgedunkelt */
  --training: #00737d;     /* App #00838f, abgedunkelt */
  --koerper: #2d6aa8;      /* App #2f6faf, abgedunkelt */
  --schlaf: #6a55b5;
  --wasser: #196da5;       /* App #1e7fc0, abgedunkelt */
  --supps: #846300;        /* App #a67c00, abgedunkelt */
  --aktivitaet: #9a5916;   /* App #b0661a, abgedunkelt */
  --schimmer: 20%;
  --toenung: 9%;
  --schatten: 0 1px 2px rgba(16, 24, 40, 0.06), 0 10px 26px -14px rgba(16, 24, 40, 0.22);
  --schatten-hoch: 0 2px 4px rgba(16, 24, 40, 0.06), 0 22px 44px -20px rgba(16, 24, 40, 0.35);
  --kopf-grund: rgba(255, 255, 255, 0.9);
  --schatten-rund: 0 14px 32px -12px rgba(0, 0, 0, 0.4);
}

/* ── Grundlagen ─────────────────────────────────────────────────────────── */

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

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

body {
  margin: 0;
  background-color: var(--grund);
  /* farbiger Schimmer oben, in der Farbe des Bereichs */
  background-image: radial-gradient(ellipse 70rem 26rem at 50% -6rem,
      color-mix(in srgb, var(--bereich) var(--schimmer), transparent), transparent 75%);
  background-repeat: no-repeat;
  color: var(--text-2);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
  font-weight: 900;
  text-wrap: balance;
  hyphens: auto;
}

h1 {
  font-size: 1.75rem;        /* AppTypography.screenHero: 28 */
  letter-spacing: 0.02em;
  margin: 0.5rem 0 1rem;
}

h2 {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  margin: 2.75rem 0 0.85rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 1.75rem 0 0.5rem;
}

[id] {
  scroll-margin-top: 5.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

strong {
  color: var(--text);
}

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

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--rand);
}

th {
  color: var(--text);
  background: var(--karte-hoch);
}

tr:last-child td {
  border-bottom: 0;
}

.tabelle {
  overflow-x: auto;
  margin: 0 0 1rem;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}

.leise {
  color: var(--text-leise);
}

.klein {
  font-size: 0.92rem;
}

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: var(--karte-hoch);
  border-radius: 4px;
  padding: 0.05em 0.3em;
  overflow-wrap: anywhere;
}

/* Wegbeschreibung in der App, z. B. „Zahnrad → Ziele“ */
.weg {
  display: inline;
  font-weight: 700;
  color: var(--text);
  background: var(--karte-hoch);
  box-shadow: inset 0 0 0 1px var(--rand);
  border-radius: 6px;
  padding: 0.08em 0.45em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── Sprunglink, Kopf, Menü ─────────────────────────────────────────────── */

.sprung {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 30;
  background: var(--gruen);
  color: var(--auf-gruen);
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-klein);
}

.sprung:focus {
  top: 0.5rem;
}

/* Kopf: Marke, Menü mit Klappmenüs, Hell/Dunkel und Play-Store-Knopf.
   Schmal: Marke + Menüknopf, das Menü öffnet als Vollbild. Breit: eine Zeile, bleibt oben. */
.kopf {
  --kopf-seite: max(1rem, calc((100% - var(--breite-weit)) / 2 + 1rem));
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 0.75rem;
  padding: 0.5rem var(--kopf-seite);
  background: var(--kopf-grund);
  border-bottom: 1px solid var(--rand);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.kopf-innen {
  display: contents;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.12em;    /* AppTypography.appBarTitle */
  min-height: 44px;          /* AppSizes.touchTarget */
}

.marke img {
  border-radius: 9px;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--gruen) 55%, transparent);
}

.marke:hover, .marke:focus-visible { color: var(--gruen); }

.menue-knopf {
  margin-left: auto;
  display: none;             /* nur mit JavaScript sichtbar */
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  background: var(--karte-hoch);
  color: var(--text);
  cursor: pointer;
}

.js .menue-knopf {
  display: inline-flex;
}

.balken {
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.thema-knopf {
  display: none;             /* nur mit JavaScript sichtbar */
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--rand);
  border-radius: 999px;
  background: var(--karte-hoch);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.thema-knopf:hover {
  border-color: var(--rand-stark);
}

.js .thema-knopf {
  display: inline-flex;
}

.thema-knopf svg {
  width: 1.1rem;
  height: 1.1rem;
}

.play-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.1rem;
  border-radius: var(--radius);
  background: var(--gruen);
  color: var(--auf-gruen);
  font-weight: 800;
  white-space: nowrap;
  cursor: default;
}

.play-knopf::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--sym-play) center / contain no-repeat;
  mask: var(--sym-play) center / contain no-repeat;
}

/* Menü, schmal: ohne JavaScript immer sichtbar, mit JavaScript als Vollbild hinter dem Menüknopf */
.menue {
  flex: 1 0 100%;
  margin-top: 0.4rem;
}

.js .menue {
  display: none;
}

.js .kopf.menue-offen .menue {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 100%);
  height: calc(100dvh - 100%);
  margin: 0;
  padding: 0.75rem var(--kopf-seite) 1.25rem;
  overflow-y: auto;
  background: var(--grund);
  border-bottom: 1px solid var(--rand);
}

.menue ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menue li + li {
  margin-top: 0;
}

.menue ul > li > a,
.gruppe-knopf {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.menue ul > li > a:hover,
.gruppe-knopf:hover {
  color: var(--text);
  background: var(--karte-hoch);
}

.menue [aria-current] {
  color: var(--gruen);
  font-weight: 900;
}

.gruppe-knopf {
  display: none;
}

.js .gruppe:not(.geteilt) .gruppe-link {
  display: none;
}

.js .gruppe-knopf {
  display: flex;
}

/* „Anleitung“: der Name ist ein Link, nur der kleine Pfeil daneben klappt das Menü auf */
.js .gruppe.geteilt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.js .gruppe.geteilt > .gruppe-link {
  flex: 1;
  width: auto;
}

.js .gruppe.geteilt > .gruppe-knopf {
  flex: none;
  justify-content: center;
  width: 48px;
  padding: 0;
}

.js .gruppe.geteilt > .gruppe-knopf::after {
  margin-left: 0;
}

.js .gruppe.geteilt > .klapp {
  flex-basis: 100%;
}

.gruppe-knopf::after {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.2rem 0 0 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.gruppe-knopf[aria-expanded="true"]::after {
  margin-top: 0.2rem;
  transform: rotate(-135deg);
}

.klapp {
  display: none;
}

.gruppe.offen > .klapp {
  display: block;
  padding: 0.25rem 0 0.75rem;
}

.klapp-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: 0.5rem;
}

.mk {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--karte-hoch);
  color: var(--text-2);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mk:hover {
  border-color: color-mix(in srgb, var(--bereich) 55%, var(--rand));
}

.mk .symbol {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 11px;
}

.mk strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.3;
}

.mk small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-leise);
  font-size: 0.81rem;
  line-height: 1.35;
}

.mk-themen a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text-2);
  font-size: 0.81rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.mk-text > a {
  text-decoration: none;
}

#klapp-anleitung .klapp-raster {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

#klapp-anleitung .mk {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  grid-template-rows: minmax(2.5rem, auto) 1fr;
  gap: 0.65rem 0.75rem;
  align-items: start;
  align-content: start;
}

#klapp-anleitung .mk > .symbol {
  grid-area: 1 / 1;
}

#klapp-anleitung .mk-text {
  display: contents;
}

#klapp-anleitung .mk-text > a {
  grid-area: 1 / 2;
  align-self: center;
}

#klapp-anleitung .mk-themen {
  grid-area: 2 / 1 / 3 / -1;
  border-top: 1px solid var(--rand);
  padding-top: 0.35rem;
}

#klapp-anleitung .mk-themen a {
  gap: 0.65rem;
  padding: 0.25rem 0.1rem;
}

#klapp-anleitung .mk-themen a::before,
.erklaerung-punkte a::before {
  content: "";
  flex: none;
  width: 0.3rem;
  height: 0.3rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.65;
}

.mk-themen a:hover,
.mk-themen a:focus-visible {
  color: var(--link);
  text-decoration: underline;
}

@media (min-width: 56.25rem) {
  #klapp-anleitung .klapp-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mk-themen a {
    min-height: 2rem;
  }
}

.erklaerung-punkte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.65rem;
  margin: 1rem 0 2rem;
}

.erklaerung-punkte a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rand);
  border-radius: var(--radius-klein);
  background: var(--karte-hoch);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.erklaerung-punkte a:hover,
.erklaerung-punkte a:focus-visible {
  border-color: var(--link);
  color: var(--link);
  text-decoration: underline;
}

[data-screen-erklaerung] > h3 {
  margin: 3.5rem 0 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rand-stark);
  font-size: 1.25rem;
  line-height: 1.35;
}

[data-screen-erklaerung] > .erklaerung-punkte + h3 {
  margin-top: 2rem;
  padding-top: 0;
  border-top: 0;
}

[data-screen-erklaerung] > h4 {
  margin: 2rem 0 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
}

.menue-ende {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.js .kopf.menue-offen .menue-ende {
  margin-top: auto;
  padding-top: 1rem;
}

.menue-ende .thema-knopf,
.menue-ende .play-knopf {
  width: 100%;
}

@media (max-width: 56.2475rem) {
  html.menue-offen {
    overflow: hidden;
  }
}

@media (min-width: 56.25rem) {
  .kopf {
    flex-wrap: nowrap;
    min-height: 72px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .js .menue-knopf {
    display: none;
  }

  .menue,
  .js .menue {
    display: flex;
    flex: 1;
    align-items: center;
    margin: 0;
  }

  .menue ul {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 0.15rem;
  }

  .menue ul > li > a,
  .gruppe-knopf {
    width: auto;
    min-height: 44px;
    padding: 0 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
  }

  .js .gruppe.geteilt {
    flex-wrap: nowrap;
  }

  .js .gruppe.geteilt > .gruppe-link {
    flex: none;
    padding-right: 0.35rem;
  }

  .js .gruppe.geteilt > .gruppe-knopf {
    width: 36px;
    padding: 0;
  }

  .menue-ende {
    flex-direction: row;
    align-items: center;
    margin: 0;
  }

  .menue-ende .thema-knopf,
  .menue-ende .play-knopf {
    width: auto;
  }

  .klapp {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    width: min(100% - 2rem, var(--breite-weit));
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid var(--rand-stark);
    border-radius: var(--radius);
    background: var(--karte);
    box-shadow: var(--schatten-hoch);
  }

  .gruppe.offen > .klapp {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .gruppe.geteilt.offen > .klapp {
    max-height: calc(100vh - 5.5rem);
    max-height: calc(100dvh - 5.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Brücke, damit die Maus beim Wechsel vom Punkt zum Menü nicht ins Leere fällt */
  .klapp::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 1rem;
  }

  .gruppe.eng {
    position: relative;
  }

  .gruppe.eng > .klapp {
    top: 100%;
    left: 0;
    right: auto;
    width: 20rem;
    margin: 0.875rem 0 0;
  }

  .gruppe.eng.offen > .klapp {
    display: block;
  }

  .klapp-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gruppe.eng .klapp-raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .mk {
    flex-direction: row;
    align-items: center;
    padding: 0.65rem;
  }

  .kopf.klapp-offen::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: -1;
    background: color-mix(in srgb, var(--grund) 70%, transparent);
  }
}

/* ── Fuß ────────────────────────────────────────────────────────────────── */

.fuss {
  background: var(--karte);
  border-top: 1px solid var(--rand);
  font-size: 0.92rem;
}

.fuss-innen {
  max-width: var(--breite-weit);
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.fuss ul {
  list-style: none;
  padding: 0;
  margin: 0 -0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
}

.fuss li + li {
  margin-top: 0;
}

.fuss a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  border-radius: var(--radius-klein);
  font-weight: 700;
  text-decoration: none;
}

.fuss a:hover {
  text-decoration: underline;
}

.fuss p {
  margin: 0;
  max-width: 34rem;
  color: var(--text-leise);
}

/* ── Bausteine ──────────────────────────────────────────────────────────── */

.karte {
  background-color: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius-gross);
  padding: 1.15rem 1.25rem;
  margin: 0 0 1rem;
  box-shadow: var(--schatten);
}

.karte > :last-child {
  margin-bottom: 0;
}

.karte h2,
.karte h3 {
  margin-top: 0;
}

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin: 0 0 1rem;
}

.raster .karte {
  margin: 0;
}

/* Karte mit Bereichsfarbe: sanfter Farbschein oben links */
.karte.bereich {
  background-image: radial-gradient(130% 75% at 0% 0%,
      color-mix(in srgb, var(--bereich) var(--toenung), transparent), transparent 65%);
}

.ernaehrung { --bereich: var(--ernaehrung); }
.training   { --bereich: var(--training); }
.koerper    { --bereich: var(--koerper); }
.schlaf     { --bereich: var(--schlaf); }
.wasser     { --bereich: var(--wasser); }
.supps      { --bereich: var(--supps); }
.aktivitaet { --bereich: var(--aktivitaet); }
.gold       { --bereich: var(--gold); }

/* Überschrift mit Symbol davor */
.mit-symbol {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Kachel-Link (Anleitungen): Symbol links, Pfeil rechts */
a.kachel {
  position: relative;
  display: block;
  min-height: 5.25rem;
  padding: 1.1rem 2.6rem 1.1rem 4.6rem;
  text-decoration: none;
  color: var(--text-2);
}

a.kachel .symbol {
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
}

a.kachel strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

a.kachel::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -0.575rem;
  background: var(--text-leise);
  -webkit-mask: var(--sym-pfeil) center / contain no-repeat;
  mask: var(--sym-pfeil) center / contain no-repeat;
}

a.kachel:hover {
  border-color: color-mix(in srgb, var(--bereich) 55%, var(--rand));
  box-shadow: var(--schatten-hoch);
}

a.kachel:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a.kachel:hover::after {
  background: var(--bereich);
}

/* Seitenkopf einer Anleitung: großes Symbol, darunter bzw. daneben der Titel */
.titelzeile {
  margin: 0.75rem 0 1.75rem;
}

.titelzeile .symbol {
  margin-bottom: 0.9rem;
}

.titelzeile h1 {
  margin: 0 0 0.4rem;
}

.titelzeile p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-leise);
}

.kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bereich);
  margin-bottom: 0.25rem;
}

/* Beispiel-Kasten */
.beispiel {
  background: var(--karte-hoch);
  border-radius: var(--radius);
  box-shadow: inset 4px 0 0 var(--bereich);
  padding: 0.9rem 1.1rem 0.9rem 1.35rem;
  margin: 0 0 1rem;
}

.beispiel::before {
  content: "Beispiel";
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bereich);
  margin-bottom: 0.3rem;
}

.beispiel > :last-child {
  margin-bottom: 0;
}

/* Hinweis-Kasten (gelb = Hinweis, wie in der App) */
.hinweis {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--gelb) 55%, transparent);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem 0.9rem 3.1rem;
  margin: 0 0 1rem;
  background: var(--karte);
  box-shadow: var(--schatten);
}

.hinweis::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.35rem;
  height: 1.35rem;
  background: var(--gelb);
  -webkit-mask: var(--sym-hinweis) center / contain no-repeat;
  mask: var(--sym-hinweis) center / contain no-repeat;
}

.hinweis > :last-child {
  margin-bottom: 0;
}

/* Schritte als nummerierte Liste mit Zahl im Kreis */
ol.schritte {
  list-style: none;
  counter-reset: schritt;
  padding-left: 0;
}

ol.schritte > li {
  counter-increment: schritt;
  position: relative;
  padding-left: 2.75rem;
  min-height: 1.95rem;
}

ol.schritte > li + li {
  margin-top: 0.75rem;
}

ol.schritte > li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.95rem;
  height: 1.95rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
  background: color-mix(in srgb, var(--bereich) var(--toenung), var(--karte));
  box-shadow: inset 0 0 0 2px var(--bereich);
}

/* Inhaltsverzeichnis einer Seite */
.inhalt {
  font-size: 0.97rem;
}

.inhalt ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2 13rem;
  column-gap: 1.5rem;
}

.inhalt li {
  break-inside: avoid;
  margin: 0;
}

.inhalt a {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0.45rem 0;
  line-height: 1.4;
  text-decoration: none;
}

.inhalt a::before {
  content: "";
  flex: none;
  margin-top: 0.5em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--bereich);
}

.inhalt a:hover {
  text-decoration: underline;
}

/* ── Symbole ────────────────────────────────────────────────────────────── */
/* Farbige Fläche mit Symbol. Das Symbol kommt über die Klasse sym-…,
   die Farbe über die Bereichsklasse (oder die der umgebenden Karte). */

.symbol {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 13px;
  color: var(--bereich);
  background: color-mix(in srgb, var(--bereich) var(--toenung), transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bereich) 40%, transparent);
}

.symbol::before {
  content: "";
  width: 56%;
  height: 56%;
  background: currentColor;
  -webkit-mask: var(--sym) center / contain no-repeat;
  mask: var(--sym) center / contain no-repeat;
}

.symbol.gross {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 17px;
}

:root {
  --sym-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --sym-hinweis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E");
  --sym-haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --sym-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.5 3.8c0-.8.9-1.3 1.6-.9l12 7.6c.6.4.6 1.3 0 1.7l-12 7.6c-.7.4-1.6-.1-1.6-.9z'/%3E%3C/svg%3E");
}

.sym-ernaehrung { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7.5C10.3 6 5.8 5.6 4.6 9.4 3.5 13 5.6 18 8 20c1.3 1 2.6 1 4 .3 1.4.7 2.7.7 4-.3 2.4-2 4.5-7 3.4-10.6C18.2 5.6 13.7 6 12 7.5zM12 7.5c0-2 .8-3.6 2.8-4.5'/%3E%3C/svg%3E"); }
.sym-training { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5v11M17.5 6.5v11M3 9.5v5M21 9.5v5M6.5 12h11'/%3E%3C/svg%3E"); }
.sym-statistik { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6.5 16v-3M11 16V9.5M15.5 16v-5M20 16V5'/%3E%3C/svg%3E"); }
.sym-koerper { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h12a2.5 2.5 0 0 1 2.5 2.5v12a2.5 2.5 0 0 1-2.5 2.5H6A2.5 2.5 0 0 1 3.5 18V6A2.5 2.5 0 0 1 6 3.5zM8 10.5a4 4 0 0 1 8 0M12 10.5l1.8-2'/%3E%3C/svg%3E"); }
.sym-coaching { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M7.5 12a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0M12 12h.01'/%3E%3C/svg%3E"); }
.sym-widget { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zM15 4h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zM5 14h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1zM17 14v6M14 17h6'/%3E%3C/svg%3E"); }
.sym-gesundheit { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 13.5c.7-1.1 1-2.3 1-3.6A5.2 5.2 0 0 0 12 6.1a5.2 5.2 0 0 0-8.5 3.8c0 1.3.3 2.5 1 3.6M5.6 15.5c2 2.4 4.7 4.2 6.4 5.2 1.7-1 4.4-2.8 6.4-5.2M2.5 13.5h4.5l1.8-3 3 6 2-3h7.7'/%3E%3C/svg%3E"); }
.sym-sicherung { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 19h9.8a4.2 4.2 0 0 0 .5-8.4A6.2 6.2 0 0 0 6 9.7 4.7 4.7 0 0 0 7.5 19zM12 16.5V11M9.5 13.5L12 11l2.5 2.5'/%3E%3C/svg%3E"); }
.sym-tipps { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4l1.6 4.4L16 10l-4.4 1.6L10 16l-1.6-4.4L4 10l4.4-1.6zM18 14v6M15 17h6M17.5 3v3M16 4.5h3'/%3E%3C/svg%3E"); }
.sym-datenschutz { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 2.8v5.7c0 4.6-3.1 7.9-7.5 9.5-4.4-1.6-7.5-4.9-7.5-9.5V5.8zM8.8 12l2.3 2.3 4.3-4.6'/%3E%3C/svg%3E"); }
.sym-start { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11L12 4l8.5 7M6 9v10a1 1 0 0 0 1 1h3.5v-5.5h3V20H17a1 1 0 0 0 1-1V9'/%3E%3C/svg%3E"); }
.sym-wasser { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5c3 3.6 6 7.2 6 10.6a6 6 0 0 1-12 0c0-3.4 3-7 6-10.6z'/%3E%3C/svg%3E"); }
.sym-schritte { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5c1.7 0 2.7 1.8 2.7 4.3S9.6 12 8 12 5.3 10.3 5.3 7.8 6.3 3.5 8 3.5zM6 15.5h4v2a2 2 0 0 1-4 0zM16 8c1.7 0 2.7 1.8 2.7 4.3S17.6 16.5 16 16.5s-2.7-1.7-2.7-4.2S14.3 8 16 8z'/%3E%3C/svg%3E"); }
.sym-buch { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.3 5 7.6 4.5 4 4.5v13c3.6 0 6.3.5 8 2 1.7-1.5 4.4-2 8-2v-13c-3.6 0-6.3.5-8 2zM12 6.5v13'/%3E%3C/svg%3E"); }
.sym-post { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zM3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.sym-info { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M12 11v5.5M12 7.5v.01'/%3E%3C/svg%3E"); }
.sym-rechner { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM8.5 7h7v3h-7zM8.5 14h.01M12 14h.01M15.5 14h.01M8.5 17.5h.01M12 17.5h.01M15.5 17.5h.01'/%3E%3C/svg%3E"); }

/* ── Startseite ─────────────────────────────────────────────────────────── */

.start main {
  max-width: var(--breite-weit);
}

/* Startseite: zwei weiche Lichtflecken hinter dem Handy, über die ganze Breite */
body.start {
  background-image:
    radial-gradient(circle 17rem at 55% 66rem, color-mix(in srgb, var(--gruen) calc(var(--schimmer) * 1.4), transparent), transparent),
    radial-gradient(circle 11rem at 15% 80rem, color-mix(in srgb, var(--link) var(--schimmer), transparent), transparent),
    radial-gradient(ellipse 70rem 26rem at 50% -6rem, color-mix(in srgb, var(--bereich) var(--schimmer), transparent), transparent 75%);
}

.held {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-areas: "text" "bild" "aktion";
  gap: 1.75rem;
  align-items: center;
  padding: 0.75rem 0 1.5rem;
}

.held-text {
  grid-area: text;
  min-width: 0;
}

.versionshinweis {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--rand));
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 8%, var(--karte));
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.versionshinweis:hover {
  text-decoration: underline;
}

.held h1 {
  font-size: clamp(2.3rem, 1.6rem + 3.4vw, 3.75rem);
  letter-spacing: 0.04em;
  line-height: 1.04;
  margin: 1.1rem 0 0.8rem;
}

.held h1 .akzent {
  color: var(--gruen);
}

.held .unterzeile {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 1.25rem;
  max-width: 32rem;
}

.merkmale {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.merkmale li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.merkmale li::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  background: var(--gruen);
  -webkit-mask: var(--sym-haken) center / contain no-repeat;
  mask: var(--sym-haken) center / contain no-repeat;
}

@media (max-width: 36rem) {
  .merkmale {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0.6rem;
}

.held .hinweis-klein {
  margin: 0;
  max-width: 34rem;
}

.held-aktion {
  grid-area: aktion;
}

.held-aktion .knopfreihe {
  margin-top: 0;
}

.held-aktion .knopf {
  flex: 1 1 14rem;
}

.held-aktion .knopf.webapp::before,
.held-aktion .knopf.webapp::after {
  content: none;
}

/* Handy mit Bild aus der App (erfundene Beispielwerte) */
.held-bild {
  grid-area: bild;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.held-ansichten {
  display: none;
}

.js .held-ansichten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 23rem);
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  background: var(--karte);
}

.held-ansichten button {
  min-width: 0;
  min-height: 44px;
  padding: 0.3rem 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-klein);
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}

.held-ansichten button[aria-pressed="true"] {
  background: var(--karte-hoch);
  border-color: var(--gruen);
  color: var(--gruen);
}

.held-ansichten button:hover {
  border-color: var(--rand-stark);
}

.held-anleitung {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

.held-anleitung:hover {
  text-decoration: underline;
}

.handy {
  position: relative;
  width: min(100%, 17.5rem);
  padding: 0.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(150deg, #3b3b3b, #0b0b0b 60%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 40px 70px -30px color-mix(in srgb, var(--gruen) 50%, transparent),
    0 30px 60px -28px rgba(0, 0, 0, 0.75);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  touch-action: pan-y pinch-zoom;
}

.handy::before {
  content: none;
}

.handy-bild {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: var(--grund);
}

.handy-bild[hidden] {
  display: none;
}

.held-bild figcaption {
  font-size: 0.85rem;
  color: var(--text-leise);
  text-align: center;
}

/* Unterer Teil der Startseite */
.abschnitt-kopf {
  margin: 3.5rem 0 1.25rem;
}

.abschnitt-kopf h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
}

.abschnitt-kopf p {
  margin: 0;
  color: var(--text-leise);
}

.raster.funktionen {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.funktionen .karte {
  display: flex;
  flex-direction: column;
}

.funktionen h3 {
  min-height: 3rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.funktionen ul {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.funktionen li + li {
  margin-top: 0.6rem;
}

.funktionen li::marker {
  color: var(--bereich);
}

.funktionen .karte > p:last-child {
  margin-top: auto;
  padding-top: 1rem;
}

.funktionen .karte > p:last-child a,
.held-anleitung {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: underline;
}

.raster-zwei {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.raster-zwei .karte {
  margin: 0;
}

.start .raster-zwei h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
}

.start .raster-zwei ul {
  padding-left: 1.15rem;
}

.start .raster-zwei li + li {
  margin-top: 0.6rem;
}

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

.knopf {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;          /* AppSizes.buttonHeight */
  padding: 0 1.35rem;
  border-radius: var(--radius);
  background: var(--gruen);
  color: var(--auf-gruen);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 0;
  font-size: 1rem;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--gruen) 80%, transparent);
}

.knopf:hover {
  filter: brightness(1.08);
}

.knopf.zweit {
  background: var(--karte);
  color: var(--text);
  border: 1px solid var(--rand-stark);
  box-shadow: var(--schatten);
}

.knopf.zweit::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--sym-pfeil) center / contain no-repeat;
  mask: var(--sym-pfeil) center / contain no-repeat;
}

.knopf[aria-disabled="true"] {
  background: var(--karte-hoch);
  color: var(--text);
  border: 1px dashed var(--text-leise);
  box-shadow: none;
  cursor: default;
  filter: none;
}

.knopf[aria-disabled="true"]::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--sym-play) center / contain no-repeat;
  mask: var(--sym-play) center / contain no-repeat;
}

/* ── Formulare (Kalorienrechner) ────────────────────────────────────────── */

fieldset {
  border: 1px solid var(--rand);
  border-radius: var(--radius-gross);
  padding: 0.9rem 1.15rem 1.15rem;
  margin: 0 0 1rem;
  background: var(--karte);
  box-shadow: var(--schatten);
  min-width: 0;
}

legend {
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--karte-hoch);
  border: 1px solid var(--rand);
}

.felder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: 0.85rem;
}

.feld label,
.feld .label {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.feld small {
  display: block;
  color: var(--text-leise);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

input[type="number"],
#rechner input[type="text"],
#verlaufsrechner input[type="text"],
select {
  width: 100%;
  min-height: 46px;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--text-leise);
  border-radius: var(--radius-klein);
  background: var(--karte-hoch);
  color: var(--text);
  font: inherit;
}

input[type="number"]:hover,
#rechner input[type="text"]:hover,
#verlaufsrechner input[type="text"]:hover,
select:hover {
  border-color: var(--text-2);
}

input[type="number"]:focus-visible,
#rechner input[type="text"]:focus-visible,
#verlaufsrechner input[type="text"]:focus-visible,
select:focus-visible {
  outline: 0;
  border-color: var(--gruen);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gruen) 35%, transparent);
}

.wahl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wahl label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--rand-stark);
  border-radius: 999px;
  background: var(--karte-hoch);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.wahl label:has(input:checked) {
  border-color: var(--gruen);
  background: color-mix(in srgb, var(--gruen) var(--toenung), var(--karte-hoch));
}

.wahl input,
.haken input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--gruen);
}

.haken {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.9rem;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.haken input {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.ergebnis {
  border: 1px solid var(--gruen);
  border-radius: var(--radius-gross);
  padding: 1.15rem 1.25rem;
  margin: 0 0 1.5rem;
  background-color: var(--karte);
  background-image: radial-gradient(120% 90% at 100% 0%,
      color-mix(in srgb, var(--gruen) var(--toenung), transparent), transparent 70%);
  box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--gruen) 70%, transparent);
}

.ergebnis h2,
.ergebnis h3 {
  margin-top: 0;
}

.ergebnis .gross {
  display: block;
  font-size: 2.25rem;        /* AppTypography.nutritionHeroSize, etwas größer */
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
}

.ergebnis dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  margin: 0.9rem 0 0;
}

.ergebnis dt,
.ergebnis dd {
  padding: 0.4rem 0;
  border-top: 1px solid var(--rand);
}

.ergebnis dt {
  color: var(--text-leise);
}

.ergebnis dd {
  margin: 0;
  padding-left: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.fehler {
  color: var(--rot);
  font-weight: 700;
}

.einleitung {
  margin-top: 1.25rem;
}

.abstand-oben {
  margin-top: 0.85rem;
}

/* ── Neuigkeiten (Zeitleiste) ───────────────────────────────────────────── */

.neu-titel h1 {
  letter-spacing: 0.04em;
}

.neu-titel .neu {
  color: var(--gruen);
}

.zeitleiste {
  --punkt-y: 0.8rem;         /* Höhe der Punktmitte unter dem Eintragsanfang */
  list-style: none;
  margin: 0;
  padding: 0;
}

.eintrag {
  position: relative;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  padding-bottom: 1.25rem;
}

/* Linie und Punkt; die Linie endet am ersten und letzten Punkt */
.eintrag::before {
  content: "";
  position: absolute;
  left: calc(0.5rem - 1px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--karte-hoch);
}

.eintrag:first-child::before {
  top: var(--punkt-y);
}

.eintrag:last-child::before {
  bottom: auto;
  height: var(--punkt-y);
}

.eintrag:only-child::before {
  display: none;
}

.eintrag::after {
  content: "";
  position: absolute;
  left: 1px;
  top: calc(var(--punkt-y) - 7px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--karte-hoch);
}

.eintrag.neueste::after {
  background: var(--gold);
}

.eintrag-kopf {
  grid-column: 2;
  padding-left: 0.9rem;
  margin-bottom: 0.5rem;
}

.eintrag-kopf strong {
  font-size: 1.25rem;
  line-height: 1.6rem;
  color: var(--text);
}

.eintrag-kopf time {
  margin-left: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-leise);
}

.eintrag-karte {
  grid-column: 2;
  margin-left: 0.9rem;
  padding: 1rem;
  background-color: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}

.eintrag-karte ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.kapsel {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--karte-hoch);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (min-width: 37.5rem) {
  .neu-titel h1 {
    font-size: 2.75rem;
    letter-spacing: 0.09em;
  }

  .zeitleiste {
    --punkt-y: 0.9rem;
  }

  .eintrag {
    grid-template-columns: 8.75rem 1.5rem minmax(0, 1fr);
  }

  .eintrag::before {
    left: calc(8.75rem + 0.75rem - 1px);
  }

  .eintrag::after {
    left: calc(8.75rem + 0.75rem - 7px);
  }

  .eintrag-kopf {
    grid-column: 1;
    grid-row: 1;
    padding: 0 0.5rem 0 0;
    margin: 0;
    text-align: right;
  }

  .eintrag-kopf strong,
  .eintrag-kopf time {
    display: block;
    margin: 0;
  }

  .eintrag-karte {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0.5rem;
    padding: 1.25rem 1.5rem;
  }
}

/* ── Kleine und größere Bildschirme ─────────────────────────────────────── */

/* Sehr schmale Handys: Schalter nur als Symbol (Name bleibt für Vorlesehilfen) */
@media (max-width: 25rem) {
  .marke {
    gap: 0.5rem;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 30rem) {
  .titelzeile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.1rem;
    align-items: start;
  }

  .titelzeile .symbol {
    grid-row: 1 / span 3;
    margin: 0.15rem 0 0;
  }

  .titelzeile > :not(.symbol) {
    grid-column: 2;
  }
}

@media (min-width: 40rem) {
  main {
    padding: 2.25rem 1.5rem 4.5rem;
  }

  h1 {
    font-size: 2.15rem;
  }
}

@media (min-width: 52rem) {
  .held {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    grid-template-areas: "text bild" "aktion bild";
    gap: 1.75rem 3rem;
    padding: 2.5rem 0 2rem;
  }

  .held-text {
    align-self: end;
  }

  .held-aktion {
    align-self: start;
  }

  body.start {
    background-image:
      radial-gradient(circle 26rem at calc(50% + 19rem) 24rem, color-mix(in srgb, var(--gruen) calc(var(--schimmer) * 1.4), transparent), transparent),
      radial-gradient(circle 15rem at calc(50% + 30rem) 36rem, color-mix(in srgb, var(--link) var(--schimmer), transparent), transparent),
      radial-gradient(ellipse 70rem 26rem at 50% -6rem, color-mix(in srgb, var(--bereich) var(--schimmer), transparent), transparent 75%);
  }

}

/* ── Bilder-Slider (Anleitungen) ────────────────────────────────────────── */

/* Ohne Skript: alle Bilder mit Text untereinander, kein Karussell */
.slider {
  margin: 0 0 1.5rem;
}

.slide {
  margin: 0 0 1.75rem;
}

.slide-bild {
  width: min(100%, 13rem);
  margin: 0 auto 1rem;
}

.slide-bild img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--rand);
  background: var(--grund);
}

.slide-text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.slider-kopf,
.slider-pfeil,
.slider-punkte,
.slider-karte {
  display: none;
}

/* Mit Skript (setzt die Klasse „aktiv“): Karussell */
.slider.aktiv {
  --b: 260px;
  /* Bildformat 824 × 1540, dazu 6px Abstand und 1px Rahmen je Seite. */
  --h: calc((var(--b) - 14px) * 1540 / 824 + 14px);
  --schritt: 196px;
  --tiefe: 200px;
  --sicht: 2;
  --pfeil: 48px;
}

.slider.aktiv .slider-kopf {
  display: block;
  margin: 0 0 1rem;
}

.slider-name {
  margin: 0 0 0.2rem;
  color: var(--gruen);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.slider[data-bereich="ernaehrung"] .slider-name { color: var(--ernaehrung); }
.slider[data-bereich="training"] .slider-name { color: var(--training); }
.slider[data-bereich="aktivitaet"] .slider-name { color: var(--aktivitaet); }

.slider.aktiv .slider-reihe {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider.aktiv .slider-pfeil {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--pfeil);
  height: var(--pfeil);
  padding: 0 0 0.15rem;
  border: 1px solid var(--rand-stark);
  border-radius: 50%;
  background: var(--karte-hoch);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.slider.aktiv .slider-pfeil:hover {
  border-color: var(--gruen);
}

.slider.aktiv .slider-fenster {
  flex: 1;
  min-width: 0;
  overflow-x: clip;
  padding: 1rem 0 2.5rem;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.slider.aktiv .slide-bild img {
  -webkit-user-drag: none;
}

/* Leicht räumlicher Drehkreis. Die ausgewählte Ansicht bleibt nahezu frontal;
   Nachbarbilder stehen weiter hinten und sind sanft zur Mitte gedreht. */
.slider.aktiv .slider-spur {
  position: relative;
  height: var(--h);
  perspective: 1400px;
}

.slider.aktiv .slide {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0 0 0 calc(var(--b) / -2);
  z-index: calc(10 - var(--a));
  opacity: clamp(0, calc(var(--sicht) + 1 - var(--a)), 1);
  transform: translateX(calc(var(--d) * var(--schritt))) translateZ(calc(var(--a) * var(--tiefe) * -1)) rotateY(calc(var(--d) * -10deg - 3deg)) rotateX(1deg);
}

.slider.aktiv .slide-bild {
  position: relative;
  box-sizing: border-box;
  width: var(--b);
  height: var(--h);
  margin: 0;
  padding: 6px;
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-gross);
  background: linear-gradient(145deg, color-mix(in srgb, var(--text) 45%, var(--grund)), color-mix(in srgb, var(--text) 10%, var(--grund)));
  box-shadow: 3px 4px 0 color-mix(in srgb, var(--text) 12%, var(--grund)), var(--schatten-hoch), 8px 22px 28px -10px color-mix(in srgb, var(--grund) 65%, transparent);
  overflow: visible;
  cursor: pointer;
  filter: brightness(calc(1 - var(--a) * 0.2));
}

/* Kein Glas- oder Schatteneffekt über dem App-Inhalt. */
.slider.aktiv .slide-bild::after {
  content: none;
}

.slider.aktiv .slide-bild img {
  height: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.slider.aktiv .slide.gewaehlt .slide-bild {
  cursor: default;
  filter: none;
}

.slider.aktiv .slider-punkte {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0;
}

.slider-punkte button {
  position: relative;
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rand-stark);
  cursor: pointer;
}

.slider-punkte button::after {
  content: "";
  position: absolute;
  inset: -1.1rem -0.3rem;
}

.slider-punkte button[aria-current="true"] {
  width: 1.8rem;
  background: var(--gruen);
}

.slider.aktiv .slider-karte {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  background: var(--karte);
}

.slider-karte .slide-text > :last-child {
  margin-bottom: 0;
}

@media (max-width: 36rem) {
  .slider.aktiv {
    --b: 200px;
    --schritt: 150px;
    --tiefe: 220px;
    --sicht: 1;
    --pfeil: 44px;
  }

  .slider.aktiv .slider-reihe {
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .slider.aktiv .slide {
    transition: transform 0.6s cubic-bezier(0.3, 0.1, 0.2, 1), opacity 0.6s ease;
  }

  .slider.aktiv .slide-bild {
    transition: filter 0.6s ease;
  }
}

/* ── Nach-oben-Knopf (Anleitungen) ──────────────────────────────────────── */

.nach-oben {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gruen);
  color: var(--auf-gruen);
  box-shadow: var(--schatten-rund);
  cursor: pointer;
}

.nach-oben[hidden] {
  display: none;
}

.nach-oben:hover {
  filter: brightness(1.1);
}

.nach-oben:active {
  filter: brightness(0.9);
}

.nach-oben:focus-visible {
  border-radius: 50%;
}

@media (min-width: 48rem) {
  .nach-oben {
    right: 2rem;
    bottom: 2rem;
  }
}


/* ── Bewegung (nur wenn das Gerät Bewegung nicht abgeschaltet hat) ────── */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  a,
  .knopf,
  .thema-knopf,
  .karte,
  .wahl label,
  input,
  select,
  a.kachel::after {
    transition: background-color var(--weich), color var(--weich), border-color var(--weich),
      box-shadow var(--weich), transform var(--weich), filter var(--weich);
  }

  a.kachel:hover,
  .knopf:not([aria-disabled="true"]):hover {
    transform: translateY(-2px);
  }

  a.kachel:hover::after {
    transform: translateX(3px);
  }

  .held-text,
  .held-bild {
    animation: auftauchen 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .held-bild {
    animation-delay: 0.15s;
  }

  .handy-bild {
    animation: vorschau-einblenden 0.25s ease;
  }
}

@keyframes vorschau-einblenden {
  from { opacity: 0.35; }
}

@keyframes auftauchen {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media print {
  .kopf,
  .fuss,
  .sprung,
  .held-bild {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  h1,
  h2,
  h3,
  h4,
  strong,
  legend,
  a {
    color: #000;
  }

  a {
    text-decoration: underline;
  }

  .menue,
  .nach-oben {
    display: none;
  }

  .karte,
  .hinweis,
  fieldset,
  .tabelle {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

/* Testpersonen: an die vorhandenen Karten und Formularfelder angelehnt. */
.tester-aufruf { padding: 1.1rem; margin-bottom: 1.25rem; border: 1px solid var(--rand); border-left: 4px solid var(--gruen); border-radius: 1rem; background: var(--karte); }
.tester-aufruf h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.tester-aufruf p { margin: 0 0 1rem; }
.tester-aufruf .knopf { width: 100%; }
.kontakt-formular { margin-bottom: 2rem; }
.kontakt-formular .feld { margin-bottom: 1rem; }
textarea { width: 100%; box-sizing: border-box; padding: .8rem; border: 1px solid var(--rand); border-radius: .6rem; color: var(--text); background: var(--karte-hoch); font: inherit; resize: vertical; }
textarea:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.formular-falle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.kontakt-formular input:not([type="hidden"]) { width: 100%; box-sizing: border-box; min-height: 44px; padding: .7rem; border: 1px solid var(--text-leise); border-radius: var(--radius-klein); background: var(--karte-hoch); color: var(--text); font: inherit; }
.kontakt-formular input:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.kontakt-formular button:disabled { opacity: .65; cursor: wait; }

.held-roadmap-link { display: inline-block; margin-top: .4rem; font-size: .95rem; font-weight: 700; }
.roadmap-intro { max-width: 48rem; margin: 1rem 0 3rem; }
.roadmap-kicker { color: var(--gruen); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.roadmap-intro h2 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.025em; margin: .7rem 0 1.3rem; }
.roadmap-intro h2 span { color: var(--gruen); }
.roadmap-intro > p:not(.roadmap-kicker):not(.klein) { max-width: 39rem; font-size: 1.15rem; }
.roadmap-abschnitt { margin-top: 3.5rem; }
.roadmap-abschnitt-kopf { border-top: 1px solid var(--rand); padding-top: 1.6rem; margin-bottom: 1.5rem; }
.roadmap-abschnitt-kopf h2 { margin: 0 0 .6rem; }
.roadmap-abschnitt-kopf p { margin: 0; color: var(--text-leise); }
.roadmap-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.roadmap-karte { padding: 1.5rem; }
.roadmap-karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.roadmap-karte-kopf .symbol { color: var(--bereich); }
.roadmap-status { color: var(--text-leise); background: var(--karte-hoch); border: 1px solid var(--rand); border-radius: 2rem; padding: .2rem .65rem; font-size: .75rem; font-weight: 700; }
.roadmap-karte h3 { margin: 0 0 .75rem; font-size: 1.2rem; }
.roadmap-karte p { margin: 0; }
.roadmap-karte .roadmap-erprobt { display: flex; align-items: baseline; gap: .45rem; margin: 0 0 .9rem; color: var(--gruen); font-size: .85rem; font-weight: 700; }
.roadmap-ki { border-top: 3px solid var(--gruen); margin-bottom: 1.25rem; }
.roadmap-ki-punkte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 1.5rem 0 0; gap: 1.4rem; }
.roadmap-ki-punkte li { border-top: 1px solid var(--rand); padding-top: 1rem; }
.roadmap-ki-punkte strong, .roadmap-ki-punkte span { display: block; }
.roadmap-ki-punkte strong { color: var(--text); margin-bottom: .4rem; font-size: .95rem; }
.roadmap-ki-punkte span { font-size: .95rem; }
.roadmap-mitmachen { margin-top: 3.5rem; display: flex; align-items: center; gap: 2rem; justify-content: space-between; }
.roadmap-mitmachen h2 { margin: 0 0 .65rem; }
.roadmap-mitmachen p { margin: 0; }
.roadmap-mitmachen .knopf { flex-shrink: 0; }
.neu-bereiche { display: flex; gap: .4rem; border-bottom: 1px solid var(--rand); margin: 1.5rem 0 2rem; }
.neu-bereiche a { display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 1.1rem; border-bottom: 3px solid transparent; color: var(--text-leise); font-weight: 750; text-decoration: none; }
.neu-bereiche a[aria-current="page"] { border-bottom-color: var(--gruen); color: var(--text); }
.neu-bereiche a:hover { background: var(--karte-hoch); color: var(--text); }

.meldungen { list-style: none; margin: 0; padding: 0; }
.meldung { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rand); }
.meldung-datum { display: flex; align-items: baseline; gap: 0.65rem; color: var(--text-leise); font-size: 1rem; font-weight: 700; white-space: nowrap; }
.meldung-datum span { color: var(--gold); font-size: 1.2rem; }
.meldung-inhalt h2 { margin: 0 0 0.5rem; font-size: 1.35rem; line-height: 1.3; }
.meldung-inhalt p { margin: 0; font-size: 1.05rem; line-height: 1.65; }
@media (max-width: 37.5rem) {
  .meldung { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; }
}
@media (max-width: 42rem) {
  .roadmap-raster, .roadmap-ki-punkte { grid-template-columns: 1fr; }
  .roadmap-karte { padding: 1.25rem; }
  .roadmap-mitmachen { align-items: stretch; flex-direction: column; gap: 1.25rem; }
}


/* Gemeinsame offene Gestaltung: ruhige Flächen und feine Trennlinien. */
.kopf {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.marke img { box-shadow: none; }
.menue-knopf, .thema-knopf { background: transparent; border-color: var(--rand); }
.menue ul > li > a:hover, .gruppe-knopf:hover { background: transparent; color: var(--gruen); }
.mk { background: transparent; border-radius: 0; border: 0; border-top: 1px solid var(--rand); }
.mk:hover { border-color: var(--bereich); }
.mk .symbol, .karte .symbol { background: transparent; border-color: transparent; box-shadow: none; }
.karte, .karte.bereich {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rand);
  border-radius: 0;
  box-shadow: none;
}
.karte { padding: 1.35rem 0; }
.raster { gap: 1.75rem 1.5rem; }
.roadmap-ki { border-top: 3px solid var(--gruen); }
.erklaerung-punkte a {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rand);
  border-radius: 0;
}
.erklaerung-punkte a:hover, .erklaerung-punkte a:focus-visible { border-color: var(--link); }
.fuss { background: transparent; }

/* Die bestätigte Gestaltung der Startseiten-Vorschau. */
body.start .versionshinweis {
  padding-inline: 0;
  border-color: transparent;
  border-radius: 0;
  background: none;
  font-size: 1.125rem;
}

body.start .merkmale li {
  border-color: transparent;
  border-radius: 0;
  background: none;
}

.js body.start .held-ansichten {
  border-color: transparent;
  border-bottom-color: var(--rand);
  border-radius: 0;
  background: none;
}

body.start .held-ansichten button {
  border-color: transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.start .held-ansichten button[aria-pressed="true"] {
  border-color: transparent;
  border-bottom-color: var(--gruen);
  background: none;
  color: var(--gruen);
}

body.start .held-ansichten button:not([aria-pressed="true"]):hover {
  border-color: transparent;
  border-bottom-color: var(--text-leise);
  color: var(--text);
}

body.start .handy {
  background: var(--karte);
  box-shadow: none;
  transform: none;
}

body.start .tester-aufruf {
  border-color: transparent;
  border-left-color: var(--gruen);
  border-radius: 0;
  background: none;
}

body.start .knopf,
body.start .play-knopf {
  box-shadow: none;
}

body.start .funktionen .karte,
body.start .raster-zwei .karte {
  border-color: transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.start .funktionen .symbol {
  border-color: transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* Mehr Raum für die Inhalte, ohne die offene Gestaltung zu verlieren. */
body.start .held .unterzeile {
  line-height: 1.55;
  max-width: 30rem;
}

body.start .tester-aufruf {
  padding: 0.4rem 0 0.4rem 1.15rem;
  border-left-width: 3px;
}

body.start .tester-aufruf h2 {
  font-size: 1.25rem;
  line-height: 1.35;
}

body.start .tester-aufruf p {
  max-width: 34rem;
  line-height: 1.65;
}

body.start .abschnitt-kopf {
  margin-bottom: 1.75rem;
}

body.start .funktionen {
  gap: 2rem 1.5rem;
}

body.start .funktionen .karte {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rand);
}

body.start .funktionen h3 {
  min-height: 0;
  font-size: 1.15rem;
}

body.start .funktionen li,
body.start .raster-zwei li,
body.start .raster-zwei p {
  line-height: 1.7;
}

body.start .funktionen li + li {
  margin-top: 0.7rem;
}

body.start .raster-zwei {
  gap: 2rem;
}

body.start .raster-zwei .karte {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rand);
}

@media (prefers-reduced-motion: no-preference) {
  body.start .held-ansichten button {
    transition: color 180ms ease, border-color 180ms ease;
  }

  body.start .funktionen .karte a:hover,
  body.start .held-anleitung:hover {
    transform: translateX(3px);
  }
}

/* Drei vollständige Beschriftungen auch auf sehr schmalen Handys. */
@media (max-width: 22rem) {
  body.start .held-ansichten button {
    padding-inline: 0.2rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}
