/* onlinestern.de: Gestaltung "Leitstern".
   Hell, farbig, präzise. Eine Display-Schrift mit Charakter (Bricolage Grotesque),
   eine ruhige Leseschrift (Inter). Der vierzackige Stern ist das einzige Schmuckelement:
   Marke, Aufzähler, Fortschrittsmarke im Anfrage-Assistenten. Alles andere bleibt still. */

:root {
  --nacht: #0B1533;
  --tinte: #16213F;
  --text: #26324F;
  --mild: #5B6785;
  --linie: #DCE3F2;
  --linie-hell: #EAEFF8;
  --wolke: #F2F5FB;
  --papier: #FFFFFF;
  --stern: #FFC531;
  --stern-tief: #E0A800;
  --stern-hell: #FFF3CC;
  --himmel: #2F6BFF;
  --himmel-tief: #1E4FD1;
  --himmel-hell: #E8EFFF;
  --gruen: #1F8A5B;
  --gruen-hell: #E6F4EC;
  --rot: #C0392B;
  --g-handwerk: #E4572E;
  --g-betrieb: #0E9DB5;
  --g-beratung: #1F8A5B;
  --g-marketing: #7C3AED;
  --g-produkte: #D97706;
  --display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --radius-s: 10px;
  --schatten: 0 24px 48px -24px rgba(11, 21, 51, .30);
  --schatten-s: 0 6px 18px -8px rgba(11, 21, 51, .18);
  --breit: 1180px;
  --schmal: 780px;
  --kopf-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--himmel-tief); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--himmel); }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--tinte);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin: .25rem 0; }
strong { font-weight: 600; color: var(--tinte); }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--himmel);
  outline-offset: 2px;
  border-radius: 4px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.innen { max-width: var(--breit); margin: 0 auto; padding: 0 1.25rem; }
.innen--schmal { max-width: var(--schmal); }
.tab-num { font-variant-numeric: tabular-nums; }

/* ---------- Stern ---------- */
.stern { display: inline-block; width: .9em; height: .9em; vertical-align: -.1em; fill: var(--stern); }
.aug {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mild); margin: 0 0 .9rem;
}
.aug .stern { width: .8rem; height: .8rem; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--linie-hell);
}
.kopf__innen { display: flex; align-items: center; gap: 1.5rem; height: var(--kopf-h); }
.marke { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--nacht); font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.035em; }
.marke svg { width: 1.35rem; height: 1.35rem; fill: var(--stern); }
.marke:hover { color: var(--nacht); }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a { color: var(--tinte); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .5rem .8rem; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--wolke); color: var(--nacht); }
.nav .knopf { margin-left: .5rem; }
.nav-schalter { display: none; margin-left: auto; background: none; border: 1px solid var(--linie); border-radius: 999px; padding: .45rem .8rem; font: inherit; font-weight: 600; color: var(--tinte); cursor: pointer; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--stern); color: var(--nacht);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--body);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.knopf:hover { background: #FFD25C; color: var(--nacht); transform: translateY(-1px); box-shadow: var(--schatten-s); }
.knopf--dunkel { background: var(--nacht); color: #fff; }
.knopf--dunkel:hover { background: var(--tinte); color: #fff; }
.knopf--linie { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf--linie:hover { background: var(--wolke); color: var(--nacht); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf--gross { padding: 1rem 1.8rem; font-size: 1.06rem; }
.knopf--klein { padding: .5rem 1rem; font-size: .9rem; }
.knopf[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Bänder ---------- */
.band { padding: 4.5rem 0; }
.band--eng { padding: 3rem 0; }
.band--wolke { background: var(--wolke); }
.band--nacht { background: var(--nacht); color: #C9D2EA; }
.band--nacht h2, .band--nacht h3 { color: #fff; }
.band--nacht .aug { color: var(--stern); }
.band__kopf { max-width: 640px; margin-bottom: 2.2rem; }
.band__kopf p { color: var(--mild); font-size: 1.1rem; }
.band__kopf--mitte { margin-left: auto; margin-right: auto; text-align: center; }
.band__kopf--mitte .aug { justify-content: center; }

/* ---------- Held (Startseite) ---------- */
.held { position: relative; overflow: hidden; padding: 4rem 0 4.5rem; background: linear-gradient(180deg, #fff 0%, var(--wolke) 100%); }
.held__innen { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.held h1 { max-width: 13ch; }
.held__satz { font-size: 1.22rem; color: var(--mild); max-width: 34rem; }
.held__belege { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; padding: 0; list-style: none; color: var(--tinte); font-size: .95rem; }
.held__belege li { display: inline-flex; align-items: center; gap: .45rem; }
.held__belege .stern { width: .75rem; height: .75rem; }
.held__karte { position: relative; }
.glanz {
  position: absolute; inset: -18% -12% -18% -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 197, 49, .55), rgba(255, 197, 49, 0) 70%);
  filter: blur(6px);
}
.karte {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten); padding: 1.6rem;
}
.karte h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.karte__hinweis { color: var(--mild); font-size: .95rem; margin-bottom: 1rem; }
.suche { position: relative; }
.suche input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: .95rem 1.1rem; padding-right: 3.2rem;
  border: 1.5px solid var(--linie); border-radius: 12px; background: #fff; color: var(--tinte);
}
.suche input:focus { border-color: var(--himmel); outline: none; box-shadow: 0 0 0 4px var(--himmel-hell); }
.suche button {
  position: absolute; right: .45rem; top: .45rem; bottom: .45rem; width: 2.5rem;
  border: 0; border-radius: 9px; background: var(--nacht); color: #fff; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center;
}
.suche button:hover { background: var(--tinte); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--tinte);
  background: var(--wolke); border: 1px solid transparent; border-radius: 999px; padding: .4rem .85rem;
  text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--himmel); color: var(--himmel-tief); background: #fff; }
.chip .punkt { width: .5rem; height: .5rem; border-radius: 50%; background: var(--g, var(--himmel)); }
.karte__fuss { margin: 1.1rem 0 0; font-size: .85rem; color: var(--mild); }

/* ---------- Branchen-Raster ---------- */
.gruppen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.gruppe { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; --g: var(--himmel); }
.gruppe--handwerk { --g: var(--g-handwerk); }
.gruppe--betrieb { --g: var(--g-betrieb); }
.gruppe--beratung { --g: var(--g-beratung); }
.gruppe--marketing { --g: var(--g-marketing); }
.gruppe--produkte { --g: var(--g-produkte); }
.gruppe__titel { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--tinte); margin-bottom: .7rem; }
.gruppe__titel::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--g); flex: none; }
.gruppe ul { list-style: none; padding: 0; margin: 0; }
.gruppe li { margin: 0; }
.gruppe a { display: block; color: var(--text); text-decoration: none; padding: .35rem 0; border-top: 1px solid var(--linie-hell); font-size: .95rem; }
.gruppe li:first-child a { border-top: 0; }
.gruppe a:hover { color: var(--g); }
.gruppe a:hover::after { content: " →"; }

/* Branchenkacheln (Übersicht) */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.kacheln--4 { grid-template-columns: repeat(4, 1fr); }
.kacheln--2 { grid-template-columns: repeat(2, 1fr); }
.kachel {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kachel:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: transparent; color: var(--text); }
.kachel__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--wolke); }
.kachel__bild img { width: 100%; height: 100%; object-fit: cover; }
.kachel__text { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.kachel__text h3 { margin: 0; font-size: 1.15rem; }
.kachel__text p { margin: 0; color: var(--mild); font-size: .95rem; }
.kachel__meta { margin-top: auto; padding-top: .6rem; font-size: .82rem; color: var(--mild); display: flex; gap: .8rem; }
.rubrik {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--g, var(--himmel-tief));
}
.rubrik::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--g, var(--himmel)); }
.r-handwerk-bau { --g: var(--g-handwerk); }
.r-finanzen-steuern { --g: var(--g-beratung); }
.r-marketing-vertrieb { --g: var(--g-marketing); }
.r-digital-it { --g: var(--g-betrieb); }
.r-recht-pflichten { --g: var(--nacht); }
.r-ausstattung-produkte { --g: var(--g-produkte); }

/* ---------- Werkzeug-Karten ---------- */
.werkzeuge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.wz {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wz:hover { transform: translateY(-3px); box-shadow: var(--schatten); color: var(--text); }
.wz__zeichen { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--stern-hell); display: grid; place-items: center; color: var(--nacht); font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.wz h3 { margin: .3rem 0 0; }
.wz p { margin: 0; color: var(--mild); font-size: .95rem; }
.wz__cta { margin-top: auto; padding-top: .6rem; font-weight: 600; color: var(--himmel-tief); }

/* ---------- Schritte ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: schritt; }
.schritt { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--nacht); color: var(--stern); font-family: var(--display); font-weight: 800; margin-bottom: .8rem;
}
.schritt h3 { margin-bottom: .3rem; }
.schritt p { margin: 0; color: var(--mild); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2.4rem 1.05rem 0; font-weight: 600; color: var(--tinte); position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--wolke); display: grid; place-items: center; color: var(--nacht); font-weight: 600;
}
/* Minuszeichen U+2212, kein Gedankenstrich: das ist ein Rechenzeichen im Schalter. */
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--text); max-width: 70ch; }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: #B7C2E0; padding: 3.5rem 0 2rem; margin-top: 4rem; }
.fuss a { color: #E4EAF8; text-decoration: none; }
.fuss a:hover { color: var(--stern); }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.fuss .marke { color: #fff; margin-bottom: .6rem; }
.fuss h4 { color: #fff; font-size: .95rem; margin-bottom: .6rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin: .3rem 0; font-size: .95rem; }
.fuss__klein { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.fuss p { font-size: .92rem; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { padding: 2.6rem 0 2.2rem; border-bottom: 1px solid var(--linie-hell); background: linear-gradient(180deg, #fff, var(--wolke)); }
.seitenkopf--bild .seitenkopf__innen { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.seitenkopf__bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); aspect-ratio: 16 / 10; background: var(--wolke); }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf h1 { max-width: 18ch; }
.seitenkopf__satz { font-size: 1.15rem; color: var(--mild); max-width: 44rem; }
.seitenkopf__aktionen { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.krumen { font-size: .85rem; color: var(--mild); margin-bottom: 1rem; }
.krumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.krumen li + li::before { content: "›"; margin-right: .3rem; color: var(--linie); }
.krumen a { color: var(--mild); text-decoration: none; }
.krumen a:hover { color: var(--himmel-tief); }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--mild); font-size: .9rem; margin-top: .8rem; }

/* ---------- Prosa ---------- */
.prose { max-width: 70ch; }
.prose p, .prose li { font-size: 1.07rem; }
.prose h2 { margin-top: 2.4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose ul li::marker { color: var(--stern-tief); }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--tinte); }
.kurz {
  background: var(--stern-hell); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0 2rem;
}
.kurz h2 { font-size: 1.05rem; margin-bottom: .6rem; letter-spacing: .02em; }
.kurz ul { list-style: none; padding: 0; margin: 0; }
.kurz li { position: relative; padding-left: 1.4rem; margin: .4rem 0; }
.kurz li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem;
  background: var(--stern-tief);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.tabelle { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--linie); border-radius: var(--radius-s); }
.tabelle table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
.tabelle caption { text-align: left; padding: .8rem 1rem; font-weight: 600; color: var(--tinte); caption-side: top; background: var(--wolke); border-bottom: 1px solid var(--linie); }
.tabelle th, .tabelle td { padding: .7rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie-hell); }
.tabelle th { font-weight: 600; color: var(--tinte); background: #fff; }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabelle__quelle { font-size: .82rem; color: var(--mild); padding: .5rem 1rem .7rem; margin: 0; border-top: 1px solid var(--linie-hell); }
.quellen { font-size: .92rem; color: var(--mild); }
.quellen ol { padding-left: 1.2rem; }
.quellen a { word-break: break-word; }

/* Artikel-Layout mit Seitenleiste */
.artikel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; padding: 2.5rem 0 3rem; }
.seitenleiste { position: sticky; top: calc(var(--kopf-h) + 1rem); align-self: start; display: flex; flex-direction: column; gap: 1.2rem; }
.kasten { background: var(--wolke); border-radius: var(--radius); padding: 1.3rem; }
.kasten h3 { font-size: 1rem; margin-bottom: .6rem; }
.kasten ul { list-style: none; padding: 0; margin: 0; }
.kasten li { margin: .35rem 0; font-size: .95rem; }
.kasten--stern { background: var(--nacht); color: #C9D2EA; }
.kasten--stern h3 { color: #fff; }
.kasten--stern p { font-size: .95rem; }
.kasten--stern .knopf { width: 100%; margin-top: .5rem; }
.axaix-agentur { border-left: 3px solid var(--stern); background: var(--wolke); padding: 1rem 1.2rem; margin: 2.2rem 0; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .97rem; }
.axaix-agentur .kicker { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--mild); margin-bottom: .3rem; }
.axaix-agentur p { margin: 0; }

/* ---------- Worauf achten ---------- */
.punkte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.punkt-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.punkt-karte h3 { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .4rem; font-size: 1.08rem; }
.punkt-karte h3 .stern { flex: none; margin-top: .25em; }
.punkt-karte p { margin: 0; color: var(--text); font-size: .98rem; }

/* ---------- Checkliste (interaktiv) ---------- */
.checkliste { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem; }
.checkliste__stand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; font-weight: 600; color: var(--tinte); }
.balken { height: .55rem; background: var(--wolke); border-radius: 999px; overflow: hidden; flex: 1; }
.balken > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--stern), var(--stern-tief)); transition: width .3s ease; }
.checkliste ul { list-style: none; padding: 0; margin: 0; }
.checkliste li { margin: 0; border-top: 1px solid var(--linie-hell); }
.checkliste label { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem 0; cursor: pointer; }
.checkliste input { appearance: none; flex: none; width: 1.35rem; height: 1.35rem; margin-top: .15rem; border: 1.5px solid var(--linie); border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.checkliste input:checked { background: var(--nacht); border-color: var(--nacht); }
.checkliste input:checked::after { content: ""; width: .45rem; height: .75rem; border: solid var(--stern); border-width: 0 2px 2px 0; transform: translateY(-.1rem) rotate(45deg); }
.checkliste input:checked + span { color: var(--mild); text-decoration: line-through; text-decoration-color: var(--linie); }
.checkliste__fazit { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: var(--radius-s); background: var(--wolke); font-size: .95rem; }
.checkliste__fazit.fertig { background: var(--gruen-hell); color: var(--gruen); font-weight: 600; }

/* ---------- Tipps (Wendekarten) ---------- */
.tipps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tipp { perspective: 1200px; min-height: 190px; }
.tipp button {
  position: relative; width: 100%; height: 100%; min-height: 190px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; font: inherit; color: inherit;
  transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}
.tipp.gedreht button { transform: rotateY(180deg); }
.tipp__seite {
  position: absolute; inset: 0; border-radius: var(--radius); padding: 1.2rem; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; gap: .4rem;
}
.tipp__vorn { background: var(--nacht); color: #fff; }
.tipp__vorn .aug { color: var(--stern); margin-bottom: auto; }
.tipp__vorn h3 { color: #fff; margin: 0; font-size: 1.15rem; }
.tipp__vorn span { font-size: .82rem; color: #B7C2E0; }
.tipp__hinten { background: var(--stern-hell); color: var(--tinte); transform: rotateY(180deg); font-size: .95rem; line-height: 1.5; }
.tipp__hinten strong { display: block; margin-bottom: .3rem; }

/* ---------- Anfrage-Assistent ---------- */
.assistent { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; padding: 2.5rem 0 3rem; }
.schiene { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 2rem; padding: 0; list-style: none; }
.schiene::before { content: ""; position: absolute; left: 10%; right: 10%; top: .8rem; height: 2px; background: var(--linie); }
.schiene::after { content: ""; position: absolute; left: 10%; top: .8rem; height: 2px; width: var(--fortschritt, 0%); max-width: 80%; background: var(--stern-tief); transition: width .4s ease; }
.schiene li { position: relative; text-align: center; font-size: .8rem; color: var(--mild); padding-top: 2.1rem; }
.schiene li::before { content: ""; position: absolute; left: 50%; top: .35rem; width: .9rem; height: .9rem; transform: translateX(-50%); border-radius: 50%; background: #fff; border: 2px solid var(--linie); z-index: 1; }
.schiene li.erledigt::before { background: var(--stern-tief); border-color: var(--stern-tief); }
.schiene li.aktiv { color: var(--tinte); font-weight: 600; }
.schiene li.aktiv::before {
  border: 0; border-radius: 0; width: 1.5rem; height: 1.5rem; top: .05rem; background: var(--stern);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.schritt-box { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten-s); }
.schritt-box h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.schritt-box > p { color: var(--mild); margin-bottom: 1.2rem; }
.wahl { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.wahl--3 { grid-template-columns: repeat(3, 1fr); }
.wahl button, .wahl label {
  display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; font: inherit; font-size: .98rem; color: var(--tinte);
  background: #fff; border: 1.5px solid var(--linie); border-radius: 12px; padding: .8rem 1rem; cursor: pointer; transition: border-color .12s, background .12s;
}
.wahl button:hover, .wahl label:hover { border-color: var(--himmel); background: var(--himmel-hell); }
.wahl button[aria-pressed="true"], .wahl label.gewaehlt { border-color: var(--nacht); background: var(--stern-hell); font-weight: 600; }
.wahl .punkt { width: .55rem; height: .55rem; border-radius: 50%; background: var(--g, var(--himmel)); flex: none; }
.wahl input { accent-color: var(--nacht); width: 1.1rem; height: 1.1rem; }
.feld { display: block; margin-bottom: 1rem; }
.feld span { display: block; font-weight: 600; color: var(--tinte); font-size: .92rem; margin-bottom: .35rem; }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem .95rem; border: 1.5px solid var(--linie); border-radius: 12px; background: #fff; color: var(--tinte);
}
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--himmel); outline: none; box-shadow: 0 0 0 4px var(--himmel-hell); }
.feld small { display: block; color: var(--mild); margin-top: .3rem; font-size: .85rem; }
.feld--halb { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.schritt-box__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.zusammenfassung { position: sticky; top: calc(var(--kopf-h) + 1rem); }
.zusammenfassung h3 { font-size: 1rem; margin-bottom: .8rem; }
.zusammenfassung dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; font-size: .93rem; }
.zusammenfassung dt { color: var(--mild); }
.zusammenfassung dd { margin: 0; color: var(--tinte); font-weight: 500; }
.zusammenfassung .leer { color: var(--mild); font-style: italic; }
.suchliste { max-height: 380px; overflow: auto; border: 1px solid var(--linie); border-radius: 12px; margin-bottom: 1rem; }
.suchliste__gruppe { padding: .5rem .9rem .2rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mild); font-weight: 600; background: var(--wolke); position: sticky; top: 0; }
.suchliste button { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; font: inherit; background: none; border: 0; border-top: 1px solid var(--linie-hell); padding: .7rem .9rem; cursor: pointer; color: var(--tinte); }
.suchliste button:hover { background: var(--himmel-hell); }
.suchliste button[aria-pressed="true"] { background: var(--stern-hell); font-weight: 600; }
.hinweis { padding: .9rem 1rem; border-radius: var(--radius-s); background: var(--himmel-hell); color: var(--tinte); font-size: .95rem; margin: 0 0 1rem; }
.hinweis--ok { background: var(--gruen-hell); color: var(--gruen); }
.fertig-kasten { text-align: center; padding: 2rem 1rem; }
.fertig-kasten .stern { width: 3rem; height: 3rem; margin: 0 auto 1rem; }

/* ---------- Werkzeuge (Rechner) ---------- */
.werkzeug { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2.5rem; align-items: start; padding: 2.5rem 0 3rem; }
.werkzeug__form { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten-s); }
.ergebnis { background: var(--nacht); color: #C9D2EA; border-radius: var(--radius); padding: 1.6rem; position: sticky; top: calc(var(--kopf-h) + 1rem); }
.ergebnis h3 { color: var(--stern); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.ergebnis__zahl { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ergebnis__zahl small { font-size: 1rem; font-weight: 500; color: #B7C2E0; letter-spacing: 0; }
.ergebnis dl { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; font-size: .93rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: .9rem; }
.ergebnis dt { color: #B7C2E0; }
.ergebnis dd { margin: 0; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.ergebnis__tipp { margin: 1rem 0 0; padding: .9rem 1rem; background: rgba(255, 197, 49, .12); border-radius: var(--radius-s); font-size: .92rem; color: #fff; }
.ergebnis__tipp strong { color: var(--stern); }
.schieber { display: block; margin-bottom: 1.1rem; }
.schieber span { display: flex; justify-content: space-between; font-weight: 600; color: var(--tinte); font-size: .92rem; margin-bottom: .3rem; }
.schieber output { color: var(--himmel-tief); font-variant-numeric: tabular-nums; }
.schieber input[type="range"] { width: 100%; accent-color: var(--nacht); }
.quiz-frage { margin-bottom: 1.4rem; }
.quiz-frage h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.stufe { padding: 1rem 1.2rem; border-radius: var(--radius-s); background: var(--wolke); margin-top: 1rem; }
.stufe h3 { margin-bottom: .3rem; }
.verteilung { list-style: none; padding: 0; margin: 1rem 0 0; }
.verteilung li { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .5rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .93rem; }
.verteilung .balken { grid-column: 1 / -1; height: .4rem; background: rgba(255, 255, 255, .12); }
.verteilung .balken > span { background: var(--stern); }
/* Rechtsformen: eine Spalte, aufklappbar. Jede Form traegt rund 3.000 Zeichen, als
   Kachelraster waere das unlesbar. */
.formen { display: grid; grid-template-columns: 1fr; gap: .7rem; margin-top: 1.5rem; }
.form-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); }
.form-karte.top { border-color: var(--stern-tief); box-shadow: 0 0 0 3px var(--stern-hell); }
.form-karte > summary {
  cursor: pointer; list-style: none; padding: 1rem 2.6rem 1rem 1.2rem; position: relative;
  display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
}
.form-karte > summary::-webkit-details-marker { display: none; }
.form-karte > summary::after {
  content: "+"; position: absolute; right: .9rem; top: 50%; transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--wolke);
  display: grid; place-items: center; color: var(--nacht); font-weight: 600;
}
.form-karte[open] > summary::after { content: "\2212"; }
.form-karte__name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--tinte); }
.form-karte__punkte { font-size: .85rem; color: var(--mild); font-variant-numeric: tabular-nums; }
.form-karte.top .form-karte__punkte { color: var(--stern-tief); font-weight: 600; }
.form-karte dl { margin: 0; padding: 0 1.2rem 1.2rem; font-size: .93rem; display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem .9rem; }
.form-karte dt { color: var(--mild); font-weight: 600; }
.form-karte dd { margin: 0; }
@media (max-width: 560px) { .form-karte dl { grid-template-columns: 1fr; gap: .15rem; } .form-karte dt { margin-top: .6rem; } }

/* ---------- Anbieter-Band ---------- */
.anbieter { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.anbieter ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.anbieter li { position: relative; padding-left: 1.5rem; margin: .5rem 0; color: #E4EAF8; }
.anbieter li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .75rem; background: var(--stern); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.anbieter__bild { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.anbieter__bild img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sternenfeld (dezent, nur im Nacht-Band) ---------- */
.band--nacht { position: relative; overflow: hidden; }
.band--nacht::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 197, 49, .9) 50%, transparent 52%),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, .7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 46% 18%, rgba(255, 255, 255, .6) 50%, transparent 52%),
    radial-gradient(1px 1px at 63% 76%, rgba(255, 197, 49, .8) 50%, transparent 52%),
    radial-gradient(2px 2px at 78% 30%, rgba(255, 255, 255, .8) 50%, transparent 52%),
    radial-gradient(1px 1px at 90% 60%, rgba(255, 197, 49, .7) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 5% 85%, rgba(255, 255, 255, .5) 50%, transparent 52%);
}
.band--nacht > .innen { position: relative; }

/* ---------- Einblenden ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .tipp button { transition: none; }
  .knopf, .kachel, .wz { transition: none; }
}

/* ---------- 404 ---------- */
.leer-seite { text-align: center; padding: 5rem 0; }
.leer-seite .stern { width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .gruppen { grid-template-columns: repeat(3, 1fr); }
  .werkzeuge { grid-template-columns: repeat(2, 1fr); }
  .tipps { grid-template-columns: repeat(2, 1fr); }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .held__innen, .seitenkopf--bild .seitenkopf__innen, .anbieter { grid-template-columns: 1fr; }
  .artikel, .assistent, .werkzeug { grid-template-columns: 1fr; gap: 2rem; }
  .seitenleiste, .zusammenfassung, .ergebnis { position: static; }
  .kacheln, .kacheln--4 { grid-template-columns: repeat(2, 1fr); }
  .schritte { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--kopf-h); background: #fff; border-bottom: 1px solid var(--linie); padding: .8rem 1.25rem 1.2rem; flex-direction: column; align-items: stretch; gap: .2rem; box-shadow: var(--schatten); }
  .nav.offen { display: flex; }
  .nav .knopf { margin: .6rem 0 0; }
  .nav-schalter { display: inline-block; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .band { padding: 3rem 0; }
  .gruppen, .kacheln, .kacheln--2, .kacheln--4, .werkzeuge, .tipps, .punkte, .wahl, .wahl--3 { grid-template-columns: 1fr; }
  .fuss__raster { grid-template-columns: 1fr; }
  .schiene li { font-size: 0; }
  .schiene li.aktiv { font-size: .75rem; }
  .karte { padding: 1.2rem; }
  .feld--halb { grid-template-columns: 1fr; }
  .schritt-box { padding: 1.2rem; }
}
