/* ==========================================================================
   Unsichtbar gemeinsam – Stylesheet
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Kopf & Navigation
           6 Grundbausteine · 7 Startseite & Seitenbausteine · 8 Formular · 9 Fuß · 10 Druck
   ========================================================================== */

/* 1 Schriften – lokal gehostet (Poppins, SIL Open Font License 1.1) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-light.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-bold.woff") format("woff"); }

/* 2 Tokens */
:root {
  color-scheme: light dark;
  --bg: #F6F7F0; --surface: #FFFFFF; --surface-2: #EAF0E3; --border: #C6D3BF; --border-strong: #6E8276;
  --text: #1F2A24; --text-muted: #4B5A51; --heading: #0B4A2C;
  --link: #0B5C36; --link-hover: #0B4A2C;
  --brand: #0B4A2C; --on-brand: #F2F5EC; --leaf: #6FA94A; --leaf-strong: #3D7428;
  --sun: #F9C62B; --sun-soft: #FFF1C2; --on-sun: #10301F;
  --panel-sun-bg: #F9C62B; --panel-sun-text: #10301F; --panel-sun-line: rgba(16, 48, 31, .22);
  --ok: #2F6B1F; --ok-bg: #E4F1DA; --mixed: #7A5A00; --mixed-bg: #FFF1C2; --avoid: #9A3412; --avoid-bg: #FCE7DF;
  --focus: #0B4A2C; --focus-halo: #F9C62B;
  --logo-d: #0B4A2C; --logo-l: #6FA94A; --logo-y: #F9C62B; --logo-word-2: #4F8A33;
  --shadow: 0 1px 2px rgba(11, 74, 44, .06), 0 8px 24px -12px rgba(11, 74, 44, .18);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
  --step-0: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --step-1: clamp(1.1875rem, 1.12rem + .35vw, 1.375rem);
  --step-2: clamp(1.4rem, 1.25rem + .8vw, 1.875rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.625rem);
  --step-4: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-5: clamp(2.35rem, 1.6rem + 3.2vw, 4rem);
  --measure: 44rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space-section: clamp(3rem, 2rem + 5vw, 6rem);
  --r-panel: 26px; --r-card: 18px; --r-field: 12px;
  --header-h: 4.25rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1712; --surface: #15221A; --surface-2: #1C2D22; --border: #34493B; --border-strong: #7E9486;
    --text: #E6EDE3; --text-muted: #B4C3B8; --heading: #F2F5EC;
    --link: #A9DB88; --link-hover: #C9EDB0;
    --brand: #0A2418; --on-brand: #E6EDE3; --leaf: #8CC265; --leaf-strong: #A9DB88;
    --sun-soft: #3A3316;
    --panel-sun-bg: #2B2A12; --panel-sun-text: #F7EFC9; --panel-sun-line: rgba(249, 198, 43, .35);
    --ok: #9BD67A; --ok-bg: #1C3321; --mixed: #F2C94C; --mixed-bg: #342C10; --avoid: #F4A38A; --avoid-bg: #3A2018;
    --focus: #F9C62B; --focus-halo: #0E1712;
    --logo-d: #F2F5EC; --logo-l: #8CC265; --logo-word-2: #8CC265;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  --bg: #0E1712; --surface: #15221A; --surface-2: #1C2D22; --border: #34493B; --border-strong: #7E9486;
  --text: #E6EDE3; --text-muted: #B4C3B8; --heading: #F2F5EC;
  --link: #A9DB88; --link-hover: #C9EDB0;
  --brand: #0A2418; --on-brand: #E6EDE3; --leaf: #8CC265; --leaf-strong: #A9DB88;
  --sun-soft: #3A3316;
  --panel-sun-bg: #2B2A12; --panel-sun-text: #F7EFC9; --panel-sun-line: rgba(249, 198, 43, .35);
  --ok: #9BD67A; --ok-bg: #1C3321; --mixed: #F2C94C; --mixed-bg: #342C10; --avoid: #F4A38A; --avoid-bg: #3A2018;
  --focus: #F9C62B; --focus-halo: #0E1712;
  --logo-d: #F2F5EC; --logo-l: #8CC265; --logo-word-2: #8CC265;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
}

/* 3 Basis */
*, *::before, *::after { box-sizing: border-box; }
:root { box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--step-0); line-height: 1.7; font-weight: 400; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { color: var(--heading); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6em; hyphens: auto; overflow-wrap: break-word; text-wrap: balance; }
.grid > *, .resources > *, .entry-grid > *, .tips > *, .situation-grid > * { min-width: 0; }
.resource h3, .card h3, .entry h3, .sources h3 { overflow-wrap: anywhere; }
h1 { font-size: var(--step-4); letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
h4 { font-size: var(--step-0); }
p, ul, ol, dl, blockquote, figure { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
small { font-size: var(--step--1); }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-halo); border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); box-shadow: 0 0 0 6px var(--brand); }
abbr[title] { text-decoration: underline dotted; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.5em; height: 1.5em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon--sm { width: 1.1em; height: 1.1em; }
.ext-icon { width: .85em; height: .85em; margin-left: .2em; vertical-align: -.05em; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.on-dark :focus-visible, .independent :focus-visible, .next:focus-visible { outline-color: var(--sun); box-shadow: 0 0 0 6px var(--brand); }

/* Skip-Link */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--sun); color: var(--on-sun); padding: .75rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }

/* 4 Layout */
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
.page { width: 100%; max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(1.25rem, 4vw, 2.5rem) var(--gutter) 0; }
.page > .back-link:first-child + .page-head, .page-head:first-child { margin-top: 0; }
.page-head:first-child { padding-top: clamp(.75rem, 2vw, 1.5rem); }
.page-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.page-head h1 { margin-bottom: .45em; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--text-muted); margin: 0; }
.block { margin-top: clamp(2.75rem, 7vw, 4.5rem); }
.block > :last-child { margin-bottom: 0; }
.intro { color: var(--text-muted); }
.muted { color: var(--text-muted); }
.fineprint { font-size: var(--step--1); color: var(--text-muted); }

/* 5 Kopf & Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); padding-top: env(safe-area-inset-top, 0px); margin-top: calc(-1 * env(safe-area-inset-top, 0px)); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: saturate(1.2) blur(10px); } }
.site-header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--heading); margin-right: auto; padding-block: .35rem; }
.brand__signet { width: 2.9rem; height: auto; }
.brand__signet .logo-d { fill: var(--logo-d); } .brand__signet .logo-l { fill: var(--logo-l); } .brand__signet .logo-y { fill: var(--logo-y); }
.brand__name { display: flex; flex-direction: column; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.brand__name-1 { font-size: 1.15rem; color: var(--logo-d); }
.brand__name-2 { font-size: .98rem; color: var(--logo-word-2); font-weight: 500; margin-top: .12rem; }
.nav-toggle { display: none; align-items: center; gap: .45rem; font: inherit; font-weight: 500; font-size: var(--step--1); color: var(--heading); background: transparent; border: 1.5px solid var(--border-strong); border-radius: 999px; padding: .5rem 1rem; min-height: 44px; cursor: pointer; }
.nav-toggle:hover { background: var(--surface-2); }
.js .nav-toggle { display: inline-flex; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text); font-weight: 500; }
.site-nav a:hover { color: var(--heading); text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .3em; }
.site-nav a[aria-current="page"] { color: var(--heading); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: .22em; text-underline-offset: .35em; }
.site-nav { padding-bottom: 1rem; }
.site-nav ul { display: grid; border-top: 1px solid var(--border); }
.site-nav li { border-bottom: 1px solid var(--border); }
.site-nav a { padding-block: .6rem; font-size: var(--step-0); }
.js .site-nav:not(.is-open) { display: none; }
.site-header:has(.site-nav.is-open) { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.js .site-nav.is-open { background: var(--bg); max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 80em) {
  .js .nav-toggle { display: none; }
  .js .site-nav:not(.is-open), .site-nav { display: block; padding-bottom: 0; }
  .site-nav ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem .8rem; border-top: 0; padding-block: 0 .5rem; }
  .site-nav li { border-bottom: 0; }
  .site-nav a { font-size: .85rem; padding-block: 0; }
}

/* 6 Grundbausteine */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 700; font-size: var(--step-0); line-height: 1.25; text-align: center; text-decoration: none; border-radius: 999px; padding: .85rem 1.5rem; min-height: 48px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: color-mix(in srgb, var(--brand) 86%, #000); color: var(--on-brand); }
:root[data-theme="dark"] .btn--primary { background: var(--sun); color: var(--on-sun); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { background: var(--sun); color: var(--on-sun); } }
.btn--secondary { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn--secondary:hover { background: var(--surface-2); color: var(--heading); }
.btn--small { font-size: var(--step--1); padding: .5rem 1rem; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; min-height: 44px; }
.link-arrow .icon { width: 1.2em; height: 1.2em; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

.placeholder { background: var(--sun-soft); color: var(--text); border: 1.5px dashed var(--mixed); border-radius: 6px; padding: 0 .35em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Hinweis */
.callout { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; background: var(--surface-2); border-radius: var(--r-card); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.callout > .icon { color: var(--heading); margin-top: .1rem; width: 1.35em; height: 1.35em; }
.callout > div > :last-child { margin-bottom: 0; }
.callout__title { font-weight: 700; color: var(--heading); margin-bottom: .25rem; }
.callout--sun { background: var(--sun-soft); }
.callout--note { background: transparent; border: 1.5px solid var(--border); }

/* „Kurz gesagt“ */
.kurz { background: var(--surface); border-radius: var(--r-panel); padding: clamp(1.35rem, 4vw, 2rem); box-shadow: var(--shadow); }
.kurz__label { display: inline-block; font-size: var(--step--1); font-weight: 700; color: var(--on-sun); background: var(--sun); border-radius: 999px; padding: .15rem .8rem; margin: 0 0 1.1rem; }
.checks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.checks li, .crosses li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; margin: 0; align-items: start; }
.checks .icon, .crosses .icon { width: 1.5rem; height: 1.5rem; margin-top: .12em; }
.checks .icon { color: var(--ok); }
.crosses .icon { color: var(--avoid); }

/* Mehr erfahren (aufklappbar) */
.more { margin-top: 1.25rem; }
.more > summary { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--link); cursor: pointer; list-style: none; min-height: 44px; border-radius: 6px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid currentColor; font-weight: 700; line-height: 1; flex: none; }
.more[open] > summary::before { content: "–"; }
.more > summary:hover { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.more__body { border-left: 3px solid var(--sun); padding: .25rem 0 .25rem 1.15rem; margin: .5rem 0 0 .75rem; }
.more__body > :last-child { margin-bottom: 0; }

/* Akkordeon */
.accordion { border-top: 1px solid var(--border); }
.acc { border-bottom: 1px solid var(--border); }
.acc > summary { list-style: none; display: flex; align-items: center; gap: .85rem; padding: 1rem .15rem; cursor: pointer; font-weight: 700; color: var(--heading); line-height: 1.4; min-height: 48px; border-radius: 8px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; flex: none; margin-left: auto; width: .6rem; height: .6rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.acc[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.acc > summary:hover { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.acc > summary .icon { color: var(--leaf-strong); }
.acc__body { padding: 0 .15rem 1.35rem; }
.acc__body > :last-child { margin-bottom: 0; }
.acc-group + .acc-group { margin-top: 2.5rem; }
.acc-group > h2 { font-size: var(--step-1); margin-bottom: .75rem; }

/* Sprechblasen */
.bubbles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.bubbles li { margin: 0; background: var(--sun-soft); border-radius: 1.25rem 1.25rem 1.25rem .35rem; padding: .6rem 1.05rem; font-weight: 500; }

/* Schritte */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 2.1rem 1fr; gap: .9rem; margin: 0; }
.steps > li::before { content: counter(s); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--heading); color: var(--bg); font-weight: 700; font-size: var(--step--1); }
.steps strong { display: block; color: var(--heading); }
.steps p { margin: .15rem 0 0; }

/* Etiketten (Situationen, Lernmodul) */
.tag { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: var(--step--1); border-radius: 999px; padding: .15rem .75rem .15rem .5rem; margin: 0 0 .4rem; }
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--mixed { background: var(--mixed-bg); color: var(--mixed); }
.tag--avoid { background: var(--avoid-bg); color: var(--avoid); }
.sit { display: grid; gap: 1rem; }
.sit p { margin: 0; }

/* Lernmodul */
.quiz__lage { margin: 0 0 1rem; }
.quiz__frage { font-weight: 700; margin: 0 0 .65rem; }
.quiz__optionen { display: grid; gap: .6rem; }
.quiz__option { border: 1.5px solid var(--border-strong); border-radius: var(--r-card); background: var(--surface); }
.quiz__option > summary { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: center; padding: .75rem 1rem; cursor: pointer; border-radius: var(--r-card); min-height: 48px; }
.quiz__option > summary::-webkit-details-marker { display: none; }
.quiz__option > summary:hover { background: var(--surface-2); }
.quiz__buchstabe { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--heading); color: var(--heading); font-weight: 700; font-size: var(--step--1); }
.quiz__option[open] { border-color: var(--heading); }
.quiz__option[open] .quiz__buchstabe { background: var(--heading); color: var(--bg); }
.quiz__text { font-weight: 500; }
.quiz__erklaerung { padding: 0 1rem 1rem calc(2rem + 1.85rem); }
.quiz__erklaerung p:last-child { margin: 0; }
@media (max-width: 30em) { .quiz__erklaerung { padding-left: 1rem; } }

/* Weiter-Link am Seitenende */
.next { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 8vw, 5rem); padding: 1.2rem 1.4rem; border-radius: var(--r-card); background: var(--brand); color: var(--on-brand); text-decoration: none; }
.next:hover { color: var(--on-brand); background: color-mix(in srgb, var(--brand) 88%, #000); }
.next small { display: block; font-size: var(--step--1); font-weight: 500; }
.next strong { display: block; font-size: var(--step-1); line-height: 1.3; }
.next .icon { width: 1.6rem; height: 1.6rem; color: var(--sun); }

/* Teilen */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2.5rem; }
.share__title { font-weight: 700; color: var(--heading); margin: 0; }
.share__buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.share__status { font-size: var(--step--1); color: var(--ok); font-weight: 500; margin: 0; flex-basis: 100%; }
.share__status:empty { display: none; }
.share__fallback { flex-basis: 100%; margin: 0; }
.share__fallback input { width: 100%; }

/* 7 Startseite */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem); }
.hero__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 54em) { .hero__inner { grid-template-columns: 1.3fr .7fr; gap: 3.5rem; } }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: var(--step--1); color: var(--heading); margin: 0 0 1.1rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: .3rem; border-radius: 99px; background: var(--sun); }
.hero h1 { font-size: var(--step-5); margin-bottom: 1.25rem; }
.hero h1 span { display: block; }
.hero h1 .l1 { font-weight: 300; }
.hero .lead { max-width: 34rem; }
.hero__art { width: 100%; max-width: 25rem; justify-self: center; }
@media (max-width: 53.99em) { .hero__art { max-width: 13rem; justify-self: start; } }
.il-bg { fill: var(--surface-2); } .il-a { fill: var(--heading); } .il-b { fill: var(--leaf); } .il-sun { fill: var(--sun); }
.il-bubble { fill: var(--surface); stroke: var(--heading); stroke-width: 3; stroke-linejoin: round; }
.il-mark { fill: none; stroke: var(--heading); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.il-heart { fill: var(--sun); stroke: var(--heading); stroke-width: 3; stroke-linejoin: round; }

.home-block { margin-top: clamp(3rem, 8vw, 5.5rem); }
.home-block > h2 { margin-bottom: 1.25rem; }

.sun-panel { background: var(--panel-sun-bg); color: var(--panel-sun-text); border-radius: var(--r-panel); padding: clamp(1.75rem, 5vw, 3.25rem); }
.sun-panel h2 { color: var(--panel-sun-text); font-size: var(--step-3); margin-bottom: .5rem; }
.sun-panel__intro { max-width: 36rem; margin: 0; }
.sun-panel a { color: var(--panel-sun-text); }
.principles { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem 2rem; }
@media (min-width: 22em) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 35.99em) { .principles strong { font-size: var(--step-0); } .principles span { font-size: var(--step--1); } }
@media (min-width: 64em) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles li { margin: 0; }
.principles .icon { width: 1.9rem; height: 1.9rem; margin-bottom: .4rem; }
.principles strong { display: block; font-size: var(--step-1); line-height: 1.25; margin-bottom: .2rem; }
.principles span { display: block; }
.motto { font-size: clamp(2.2rem, 1.5rem + 4vw, 4.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 2.25rem 0 1.5rem; color: var(--panel-sun-text); }
.motto--plain { color: var(--heading); font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3rem); margin: 1.25rem 0 0; }
.motto--plain::after { content: ""; display: block; width: 3.5rem; height: .35rem; border-radius: 99px; background: var(--sun); margin-top: .9rem; }

.paths { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; align-items: start; }
@media (min-width: 44em) { .paths { grid-template-columns: repeat(2, 1fr); } }
.paths li { margin: 0; }
.path { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
.path > summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; cursor: pointer; border-radius: var(--r-card); min-height: 4.5rem; }
.path > summary::-webkit-details-marker { display: none; }
.path > summary::after { content: ""; width: .6rem; height: .6rem; margin-right: .2rem; border-right: 2.5px solid var(--heading); border-bottom: 2.5px solid var(--heading); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.path[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.path > summary:hover strong { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.path[open] { box-shadow: 0 0 0 2px var(--heading), var(--shadow); }
.path__body { padding: 0 1.25rem 1.35rem calc(1.25rem + 2.75rem + 1rem); }
.path__body > p { margin: 0 0 .75rem; }
.path__body .checks { gap: .5rem; margin-bottom: 1rem; }
.path__body .btn { margin-top: .25rem; }
@media (max-width: 30em) { .path__body { padding-left: 1.25rem; } }
.paths__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface-2); color: var(--heading); }
.paths__icon .icon { width: 1.4rem; height: 1.4rem; }
.paths strong { display: block; color: var(--heading); line-height: 1.3; }
.paths small { display: block; color: var(--text-muted); margin-top: .1rem; }

/* Sanftes Aufklappen (moderne Browser; sonst sofort) */
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .path::details-content, .acc::details-content, .more::details-content { height: 0; overflow: clip; transition: height .28s ease, content-visibility .28s allow-discrete; }
  .path[open]::details-content, .acc[open]::details-content, .more[open]::details-content { height: auto; }
}

/* Zurück zur Übersicht */
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: var(--step--1); min-height: 44px; margin: 0 0 .75rem; text-decoration: none; color: var(--link); }
.back-link:hover { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.back-link .icon { width: 1.2em; height: 1.2em; transition: transform .15s; }
.back-link:hover .icon { transform: translateX(-3px); }
.back-row { margin-top: 1rem; }
.back-row .back-link { font-size: var(--step-0); margin: 0; }

/* Hilfe */
.emergency { background: var(--surface); box-shadow: var(--shadow); border-left: 6px solid var(--avoid); border-radius: var(--r-card); padding: 1.1rem 1.3rem; margin-top: 1.75rem; }
.emergency > p { margin: 0 0 .35rem; font-weight: 700; color: var(--heading); }
.phones { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: var(--step-2); color: var(--heading); text-decoration: none; min-height: 44px; }
.phone .icon { width: 1.3rem; height: 1.3rem; }
.phone small { font-size: var(--step--1); font-weight: 500; color: var(--text-muted); }
.phone:hover { color: var(--heading); text-decoration: underline; text-decoration-thickness: .06em; }
.resources, .sources { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.resources > li, .sources > li { margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.resources h3, .sources h3 { font-size: var(--step-0); margin: 0 0 .2rem; overflow-wrap: anywhere; }
.resources p, .sources p { margin: 0 0 .3rem; }
.resources > li > :last-child, .sources > li > :last-child { margin-bottom: 0; }
.resources .phones { margin: .25rem 0; }
.resources .phone { font-size: var(--step-1); }
.src-org { font-size: var(--step--1); color: var(--text-muted); }
.src-link { font-size: var(--step--1); }

/* Unabhängig */
.independent { background: var(--brand); color: var(--on-brand); border-radius: var(--r-panel); padding: clamp(1.5rem, 4vw, 2.25rem); }
.independent h2 { color: var(--on-brand); font-size: var(--step-2); }
.independent a { color: var(--on-brand); }
.independent > :last-child { margin-bottom: 0; }
:root[data-theme="dark"] .independent, :root[data-theme="dark"] .next { border: 1px solid var(--border); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .independent, :root:not([data-theme="light"]) .next { border: 1px solid var(--border); } }

.simple-links { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .25rem; }
.simple-links li { margin: 0; }
.simple-links a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; min-height: 44px; }

/* Orte-Suche */
.page--wide { max-width: calc(62rem + 2 * var(--gutter)); }
.page--wide .page-head, .page--wide .more, .page--wide > .fineprint { max-width: var(--measure); }
.orte-form { background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--shadow); padding: clamp(1.1rem, 3vw, 1.75rem); display: grid; gap: 1rem; }
.orte-form__zeile { display: grid; gap: .9rem; align-items: end; }
@media (min-width: 40em) { .orte-form__zeile { grid-template-columns: 1fr 11rem auto; } }
.orte-form .field { gap: .35rem; }
.orte-standort { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--link); cursor: pointer; justify-self: start; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.orte-standort:hover { color: var(--link-hover); }
.orte-filter { border: 0; margin: 0; padding: 0; min-width: 0; }
.orte-filter legend { font-weight: 700; color: var(--heading); margin-bottom: .5rem; padding: 0; }
.chips-auswahl { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; border: 1.5px solid var(--border-strong); border-radius: 999px; font-weight: 500; font-size: var(--step--1); cursor: pointer; background: var(--bg); color: var(--text); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:hover { background: var(--surface-2); }
.chip:has(input:checked) { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus-halo); }
.chip__zahl { font-size: .8em; opacity: .85; }
.orte-status { font-weight: 500; color: var(--heading); margin: 1.5rem 0 1rem; min-height: 1.5em; }
.orte-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
@media (min-width: 48em) { .orte-liste { grid-template-columns: repeat(2, 1fr); } }
.orte-liste > li { margin: 0; }
.ort-karte article { height: 100%; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.1rem 1.25rem; display: grid; gap: .35rem; align-content: start; }
.ort-karte p { margin: 0; }
.ort-karte h3 { font-size: var(--step-1); margin: .15rem 0 0; }
.ort-karte h3 a { text-decoration: none; color: var(--heading); }
.ort-karte h3 a:hover { text-decoration: underline; }
.ort-karte__kopf { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.ort-karte__dist { font-weight: 700; font-size: var(--step--1); color: var(--heading); background: var(--surface-2); border-radius: 999px; padding: .1rem .65rem; }
.ort-karte__adr { color: var(--text-muted); font-size: var(--step--1); }
.ort-karte__zeit, .ort-karte__tel a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.ort-karte__zeit { font-size: var(--step--1); color: var(--heading); }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.ort-karte__tel a { min-height: 44px; }
.ort-karte__kurz { font-size: var(--step--1); }
.ort-kat { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: var(--step--1); color: var(--heading); margin: 0 0 .5rem; }
.ort-kat .icon { width: 1.15rem; height: 1.15rem; color: var(--leaf-strong); }
.badges { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: var(--step--1); border-radius: 999px; padding: .2rem .8rem; background: var(--ok-bg); color: var(--ok); justify-self: start; }
.badge--sun { background: var(--sun-soft); color: var(--heading); }
.ort-zeit p:last-child { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: var(--step-1); color: var(--heading); }
.ort-daten { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.ort-daten > div { display: grid; gap: .15rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 36em) { .ort-daten > div { grid-template-columns: 11rem 1fr; } }
.ort-daten dt { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--heading); }
.ort-daten dt .icon { width: 1.2rem; height: 1.2rem; color: var(--leaf-strong); }
.ort-daten dd { margin: 0; overflow-wrap: anywhere; }
.ort-hinweis { display: block; font-size: var(--step--1); color: var(--text-muted); margin-top: .25rem; }
.ort-route { margin: 1rem 0 0; font-size: var(--step--1); }
.orte-teaser { display: grid; gap: 1rem 2rem; align-items: center; background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.25rem); }
@media (min-width: 48em) { .orte-teaser { grid-template-columns: auto 1fr auto; } }
.orte-teaser h2 { margin: 0 0 .3rem; }
.orte-teaser p { margin: 0; color: var(--text-muted); }
.orte-teaser .paths__icon { width: 3.5rem; height: 3.5rem; background: var(--sun); color: var(--on-sun); }
.orte-teaser .paths__icon .icon { width: 1.8rem; height: 1.8rem; }

/* Formular „Ort eintragen“ */
.e-block { border: 0; margin: 0 0 .5rem; padding: 1.35rem 0 0; border-top: 1px solid var(--border); display: grid; gap: 1rem; min-width: 0; }
.e-block[hidden] { display: none; }
.e-block legend { float: left; width: 100%; font-weight: 700; color: var(--heading); font-size: var(--step-1); padding: 0; margin-bottom: .25rem; }
.e-block legend + * { clear: both; }
.e-frage { font-weight: 700; color: var(--heading); }
.v-raster { display: grid; gap: 1rem; }
@media (min-width: 40em) { .v-raster { grid-template-columns: 1fr 1fr; } }
.v-optionen { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.v-optionen label, .e-bestaetigung label { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; }
.v-optionen input, .e-bestaetigung input { width: 1.3rem; height: 1.3rem; flex: none; accent-color: var(--brand); }
.e-bestaetigung { display: grid; gap: .25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.e-bestaetigung label { align-items: flex-start; }
.e-bestaetigung label[hidden] { display: none; }
.e-bestaetigung input { margin-top: .2rem; }
.wahl-liste { display: grid; gap: .6rem; }
@media (min-width: 40em) { .wahl-liste { grid-template-columns: 1fr 1fr; } }
.wahl { position: relative; display: block; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl__text { display: grid; grid-template-columns: auto 1fr; gap: .1rem .75rem; align-items: center; height: 100%; padding: .9rem 1rem; border: 1.5px solid var(--border-strong); border-radius: var(--r-card); background: var(--surface); }
.wahl__text .icon { grid-row: span 2; width: 1.6rem; height: 1.6rem; color: var(--leaf-strong); }
.wahl__text strong { color: var(--heading); line-height: 1.3; }
.wahl__text small { color: var(--text-muted); font-size: var(--step--1); line-height: 1.4; }
.wahl:hover .wahl__text { background: var(--surface-2); }
.wahl input:checked + .wahl__text { border-color: var(--heading); box-shadow: 0 0 0 2px var(--heading); background: var(--surface-2); }
.wahl input:focus-visible + .wahl__text { outline: 3px solid var(--focus); outline-offset: 2px; }
.ort-daten--schlicht dt { font-weight: 700; }
.orte-mitmachen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding: 1.25rem 1.4rem; border-radius: var(--r-card); background: var(--sun-soft); }
.orte-mitmachen p { margin: 0; }

/* Startseite: Was bedeutet das Band? */
.erklaerung { display: grid; gap: 1.5rem 3rem; align-items: start; }
@media (min-width: 54em) { .erklaerung { grid-template-columns: 1.6fr 1fr; } }
.erklaerung__text > p { max-width: 40rem; }
.erklaerung__text .more { margin-top: .25rem; }
.erklaerung__links { margin: 1rem 0 0; }
.erklaerung__offiziell { margin: .25rem 0 0; font-size: var(--step--1); color: var(--text-muted); }
.erklaerung__zahl { background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2rem); }
.erklaerung__zahl p { margin: 0; }
.erklaerung__zahl .zahl { font-size: clamp(2.6rem, 2rem + 3vw, 3.75rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--heading); margin-bottom: .75rem; }
.erklaerung__zahl .zahl::after { content: ""; display: block; width: 3rem; height: .3rem; border-radius: 99px; background: var(--sun); margin-top: .7rem; }
.erklaerung__zahl .fineprint { margin-top: .75rem; }

/* 8 Formular */
.form { max-width: 40rem; display: grid; gap: 1.35rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 700; color: var(--heading); }
.field .hint { font-size: var(--step--1); color: var(--text-muted); margin: 0; }
.field .optional { font-weight: 400; color: var(--text-muted); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], input[type="date"], input[type="time"], select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 2px solid var(--border-strong); border-radius: var(--r-field); padding: .75rem .9rem; min-height: 48px; }
textarea { min-height: 11rem; resize: vertical; line-height: 1.6; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%; background-size: .38rem .38rem; background-repeat: no-repeat; padding-right: 2.75rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--focus); border-radius: var(--r-field); }
[aria-invalid="true"] { border-color: var(--avoid) !important; }
.field-error { display: flex; gap: .45rem; align-items: flex-start; color: var(--avoid); font-weight: 500; font-size: var(--step--1); margin: 0; }
.field-error[hidden] { display: none; }
.error-summary { border: 2px solid var(--avoid); background: var(--avoid-bg); border-radius: var(--r-card); padding: 1.1rem 1.25rem; }
.error-summary h2, .error-summary h3 { font-size: var(--step-1); color: var(--avoid); margin-bottom: .5rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--avoid); font-weight: 500; }
.counter { font-size: var(--step--1); color: var(--text-muted); margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 9 Fuß */
.site-footer { background: var(--brand); color: var(--on-brand); margin-top: clamp(4rem, 10vw, 7rem); padding-block: clamp(2.5rem, 5vw, 4rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
:root[data-theme="dark"] .site-footer { border-top: 1px solid var(--border); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { border-top: 1px solid var(--border); } }
.site-footer a { color: var(--on-brand); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 52em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-claim { font-size: var(--step-2); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 1rem; }
.footer-claim span { display: block; font-weight: 300; }
.site-footer h2 { font-size: var(--step-0); color: var(--on-brand); margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-note { font-size: var(--step--1); opacity: .92; max-width: 60ch; }
.footer-bottom { border-top: 1px solid rgba(242, 245, 236, .2); margin-top: 2.5rem; padding-top: 1.25rem; font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }

/* Designsystem-Seite */
.swatches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); list-style: none; padding: 0; }
.swatches li { margin: 0; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.swatch { height: 5rem; }
.swatches p { margin: 0; padding: .6rem .8rem; font-size: var(--step--1); }
.logo-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.logo-tile { border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.5rem; display: grid; gap: 1rem; }
.logo-tile img { height: 5rem; width: auto; }
.logo-tile p { margin: 0; font-size: var(--step--1); }
.logo-tile--dark { background: #0E1F16; color: #F2F5EC; }
.logo-tile--brand { background: #0B4A2C; color: #F2F5EC; }
.logo-tile--light { background: #F6F7F0; color: #1F2A24; }
.logo-tile--white { background: #FFFFFF; color: #1F2A24; }
.logo-tile a { color: inherit; }
.icon-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); list-style: none; padding: 0; }
.icon-grid li { margin: 0; display: grid; justify-items: center; gap: .4rem; padding: 1rem .5rem; border: 1px solid var(--border); border-radius: var(--r-field); background: var(--surface); font-size: .8rem; color: var(--text-muted); }
.icon-grid .icon { width: 2rem; height: 2rem; color: var(--heading); }
.demo-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1rem 0; }
.type-scale p { margin: .25rem 0; line-height: 1.2; color: var(--heading); font-weight: 700; }
.swatch--wald { background: #0B4A2C; } .swatch--blatt { background: #6FA94A; } .swatch--sonne { background: #F9C62B; } .swatch--papier { background: #F6F7F0; }
.swatch--anthrazit { background: #1F2A24; } .swatch--grau { background: #4B5A51; } .swatch--link { background: #0B5C36; } .swatch--nacht { background: #0E1712; }
.ts-4 { font-size: var(--step-4); } .ts-3 { font-size: var(--step-3); } .ts-2 { font-size: var(--step-2); } .ts-1 { font-size: var(--step-1); }
.type-scale .ts-0 { font-size: var(--step-0); font-weight: 400; line-height: 1.5; } .type-scale .ts-light { font-weight: 300; }

/* Hilfsklassen */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.no-print { }
[hidden] { display: none !important; }

/* 10 Druck (z. B. „5 Dinge“-Seite fürs Team) */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #fff; --text: #000; --heading: #0B4A2C; }
  body { font-size: 11pt; line-height: 1.5; }
  .site-header, .site-footer, .skip-link, .share, .no-print, .actions, .next, .nav-toggle { display: none !important; }
  .sun-panel, .independent, .kurz { background: #fff !important; color: #000 !important; border: 1.5pt solid #0B4A2C; box-shadow: none; }
  .sun-panel *, .independent * { color: #000 !important; }
  details:not([open]) > :not(summary) { display: block; }
  details > summary::after { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  h2, h3 { break-after: avoid; } li { break-inside: avoid; }
}
