/* cloud-traum · Seitenbausteine (Startseite, Kacheln, Werkzeug-Vorlage) */
.ic--xs { width: 14px; height: 14px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 5vw, 64px) 36px;
  background: radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--c-brand) 16%, transparent), transparent 70%),
              radial-gradient(700px 360px at 0% 100%, color-mix(in srgb, var(--c-sky) 10%, transparent), transparent 70%); }
.clouds { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; aspect-ratio: 1200 / 300; pointer-events: none; }
.cloud { fill: none; stroke: var(--c-cloud-line); stroke-width: 2; }
.cloud--s { opacity: .7; }
@media (max-width: 720px) { .cloud--hide-sm { display: none; } }
.hero__in { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero__in { grid-template-columns: 1.35fr 1fr; gap: 40px; } }
.hero__txt { display: flex; flex-direction: column; gap: 16px; }
.hero h1 em { font-style: normal; color: var(--c-brand); }
/* „eigentlich“: klein, schief und handschriftlich über einem Einfügezeichen nachgetragen (wie eine Korrektur) */
.eig { position: relative; display: inline-block; width: .36em; height: .3em; margin-left: .02em; }
.eig::before { content: ''; position: absolute; left: 50%; bottom: -.04em; width: .2em; height: .2em; border-left: .07em solid var(--c-amber); border-top: .07em solid var(--c-amber);
  transform: translateX(-50%) rotate(45deg); border-radius: 2px 0 0 0; }
.eig__w { position: absolute; left: -.15em; bottom: .76em; transform: rotate(-8deg); transform-origin: 0 100%; white-space: nowrap;
  font-family: 'Bradley Hand', 'Segoe Print', 'Chalkboard SE', 'Comic Sans MS', cursive; font-weight: 700; font-size: max(.36em, 15px); line-height: 1; letter-spacing: .01em;
  color: var(--c-amber); animation: eigWackel 6s ease-in-out infinite; }
@keyframes eigWackel { 0%, 84%, 100% { transform: rotate(-8deg); } 88% { transform: translateY(-.15em) rotate(-2deg); } 92% { transform: rotate(-12deg); } }
@media (prefers-reduced-motion: reduce) { .eig__w { animation: none; } }
@media (max-width: 600px) { .eig__w { bottom: 1.04em; left: -.7em; } }
.hnote { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: var(--r-m); background: color-mix(in srgb, var(--c-surface) 75%, transparent);
  border: 1px solid var(--c-line); color: var(--c-soft); font-size: 15px; line-height: 1.5; max-width: 62ch; }
.hnote__ic { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--c-local); }
.hnote .tag { vertical-align: 1px; }
.search { position: relative; max-width: 620px; margin-top: 6px; }
.search__ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.search__in { width: 100%; min-height: 60px; padding: 0 18px 0 54px; font: inherit; font-size: 18px; color: var(--c-text);
  background: var(--c-surface); border: 2px solid var(--c-line); border-radius: 16px; box-shadow: var(--shadow); }
.search__in:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-brand) 20%, transparent); }
.search__in::placeholder { color: var(--c-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { font: inherit; font-size: 14px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-soft); cursor: pointer; }
.chip:hover { border-color: var(--c-brand); color: var(--c-brand); }
.hpills { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hpill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--c-local); border: 1px solid color-mix(in srgb, var(--c-local) 45%, transparent); background: color-mix(in srgb, var(--c-local) 8%, transparent); }
.hero__art { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero__stage { position: relative; width: min(100%, 380px); aspect-ratio: 420 / 400; }
.hero__cloud { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; overflow: visible; }
.hero__cloud path { fill: var(--c-cloud); stroke: var(--c-cloud-line); stroke-width: 3; filter: drop-shadow(0 12px 18px rgba(80, 60, 160, .15)); }
.hero__schaubi { position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%); height: 88%; width: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }
@media (max-width: 959px) { .hero__stage { width: min(70%, 280px); } .hero__art { order: 2; } }
@media (max-width: 520px) { .hero__art .bubble { display: none; } }
.stats { list-style: none; margin: 32px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--c-line); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { display: flex; align-items: baseline; gap: 10px; }
.stats b { font-family: var(--f-head); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--c-brand); line-height: 1; }
.stats span { color: var(--c-muted); font-size: 15px; }

/* ── Sprechblasen, Kopf mit Schaubi ──────────────────────────── */
.bubble { position: relative; margin-top: 4px; padding: 12px 16px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-soft); max-width: 60ch; font-style: italic; }
.bubble--tail { max-width: 300px; text-align: center; box-shadow: var(--shadow); }
.bubble--tail::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; background: var(--c-surface); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); transform: translateX(-50%) rotate(45deg); }
.guide-head { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 28px; }
.guide-head .section-head { margin-bottom: 0; }
.guide-head__img { width: auto; height: 170px; flex-shrink: 0; }
@media (max-width: 600px) { .guide-head__img { height: 120px; } }

/* ── Filter & Legende ────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fpill { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 600; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-soft); cursor: pointer; }
.fpill:hover { border-color: var(--c-brand); }
.fpill[aria-pressed='true'] { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.legend-badges { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legend-badges li { display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) { .legend-badges li { align-items: flex-start; } .legend-badges .tag { flex-shrink: 0; } }

.tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-pixel); font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; line-height: 1;
  padding: 5px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.tag--lokal { color: var(--c-local); border-color: color-mix(in srgb, var(--c-local) 50%, transparent); background: color-mix(in srgb, var(--c-local) 9%, transparent); }
.tag--geparkt { color: var(--c-brand); border-color: color-mix(in srgb, var(--c-brand) 50%, transparent); background: color-mix(in srgb, var(--c-brand) 9%, transparent); }
.tag--schauben { color: var(--c-schauben); border-color: color-mix(in srgb, var(--c-schauben) 50%, transparent); background: color-mix(in srgb, var(--c-schauben) 9%, transparent); }
.tag--familie { color: var(--c-sky); border-color: color-mix(in srgb, var(--c-sky) 50%, transparent); background: color-mix(in srgb, var(--c-sky) 9%, transparent); }
.tag--soon { color: var(--c-muted); border-color: var(--c-line); border-style: dashed; }
.tag--new { color: var(--c-on-brand); background: var(--c-amber); border-color: var(--c-amber); }

/* ── Kacheln ──────────────────────────────────────────────────── */
.tgrp { grid-column: 1 / -1; margin: 22px 0 -2px; }
.tgrp:first-child, .tgrp[hidden] + .tgrp { margin-top: 0; }
.tgrp[hidden] { display: none; }
.tgrp__h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.2rem; color: var(--c-soft); padding-bottom: 6px; border-bottom: 1px dashed var(--c-line); }
.tgrp__h .ic { color: var(--c-amber); fill: currentColor; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tile { position: relative; --art: var(--c-brand); }
.tile--lokal { --art: var(--c-local); } .tile--geparkt { --art: var(--c-brand); } .tile--familie { --art: var(--c-sky); } .tile--schauben { --art: var(--c-schauben); }
.tile[hidden] { display: none; }
.tile__link { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; text-decoration: none; color: var(--c-text);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-m); box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease; border-top: 4px solid var(--art); }
a.tile__link:hover { transform: translateY(-3px); border-color: var(--art); color: var(--c-text); }
.tile__ic { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--art); background: color-mix(in srgb, var(--art) 12%, transparent); }
.tile__ic .ic { width: 26px; height: 26px; }
.tile__name { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; padding-right: 36px; }
.tile__txt { color: var(--c-muted); font-size: 15px; line-height: 1.45; flex: 1; }
.tile__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.is-soon .tile__link { box-shadow: none; border-style: dashed; border-top-style: solid; background: color-mix(in srgb, var(--c-surface) 60%, transparent); }
.is-soon .tile__ic { filter: grayscale(.5); opacity: .75; }
.is-soon .tile__name { color: var(--c-soft); }
.tile__fav { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  color: var(--c-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tile__fav:hover { border-color: var(--c-line); color: var(--c-amber); }
.tile__fav[aria-pressed='true'] { color: var(--c-amber); }
.tile__fav[aria-pressed='true'] .ic { fill: currentColor; }
@media (max-width: 599px) {
  .tile__link { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; padding: 14px 14px 14px; border-top-width: 1px; border-left: 4px solid var(--art); }
  .is-soon .tile__link { border-left-style: solid; }
  .tile__ic { grid-row: span 3; width: 44px; height: 44px; border-radius: 12px; }
  .tile__ic .ic { width: 24px; height: 24px; }
  .tile__name { font-size: 1.05rem; }
  .tile__txt { font-size: 14.5px; }
  .tile__meta { margin-top: 2px; }
  .tile__fav { top: 6px; right: 6px; }
}
.tiles--mini { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.count { margin: 0 0 12px; }
.recent { margin-bottom: 22px; }
.recent__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.recent__list a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); text-decoration: none; font-weight: 600; font-size: 15px; }
.recent__list a:hover { border-color: var(--c-brand); }
.nohits { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px dashed var(--c-line); border-radius: var(--r-m); margin-top: 8px; }
.nohits img { width: auto; height: 120px; }
.nohits[hidden] { display: none; }
.grows { margin-top: 20px; }

/* ── So geht's ───────────────────────────────────────────────── */
.fig { margin: 0 0 28px; padding: clamp(12px, 3vw, 28px); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-l); }
.diagram { width: 100%; height: auto; }
.diagram text { font-family: var(--f-body); fill: var(--c-soft); }
.d-title { font-family: var(--f-head) !important; font-weight: 700; font-size: 20px; fill: var(--c-text) !important; }
.d-brand { fill: var(--c-brand) !important; }
.d-label { font-size: 15px; font-weight: 600; }
.d-small { font-size: 13px; fill: var(--c-muted) !important; }
.d-warn { fill: var(--c-coral) !important; } .d-ok { fill: var(--c-local) !important; }
.d-dev, .d-browser, .d-server { fill: var(--c-bg-2); stroke: var(--c-line); stroke-width: 2; }
.d-browser { stroke: var(--c-brand); }
.d-server--off { opacity: .55; }
.d-screen { fill: var(--c-surface); stroke: var(--c-line); }
.d-photo { fill: color-mix(in srgb, var(--c-sky) 25%, var(--c-surface)); stroke: var(--c-sky); stroke-width: 1.5; }
.d-photo--far { opacity: .8; }
.d-mount { fill: var(--c-local); opacity: .7; }
.d-line, .d-sep { stroke: var(--c-line); stroke-width: 2; fill: none; }
.d-sep { stroke-dasharray: 6 6; }
.d-up { fill: none; stroke: var(--c-coral); stroke-width: 2.5; stroke-dasharray: 7 5; }
.d-loop { fill: none; stroke: var(--c-local); stroke-width: 2.5; }
.d-arrow { fill: var(--c-muted); }
.d-dot { fill: var(--c-line); }
.d-cross { stroke: var(--c-coral); stroke-width: 3; stroke-linecap: round; }
.d-eye path, .d-eye circle { fill: none; stroke: var(--c-coral); stroke-width: 2; }
/* Vergleich übliche Tools ↔ cloud-traum (build/start-grafik.js) */
.d-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vgl { display: grid; gap: 16px; margin-bottom: 28px; }
@media (min-width: 860px) { .vgl { grid-template-columns: 1fr 1fr; } }
.vgl .fig { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vgl__col--bad { border-top: 4px solid var(--c-coral); }
.vgl__col--good { border-top: 4px solid var(--c-local); box-shadow: var(--shadow); }
.vgl__h { font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--c-text); text-align: center; }
.vgl__h--brand { color: var(--c-brand); }
.vgl__list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--c-line); display: grid; gap: 6px; font-size: 15px; color: var(--c-soft); }
.vgl__i { display: flex; gap: 8px; } .vgl__i span { font-weight: 700; flex-shrink: 0; width: 1em; }
.vgl__i--no span { color: var(--c-coral); } .vgl__i--ok span { color: var(--c-local); }
.d-in { font-size: 12px !important; font-weight: 600; }
.d-strong { font-weight: 700; fill: var(--c-soft) !important; }
.d-brand2 { fill: var(--c-brand) !important; font-weight: 700; }
.d-server--ok { stroke: var(--c-local); }
.d-led { fill: var(--c-local); } .d-led--2 { fill: var(--c-amber); }
.d-sun { fill: var(--c-amber); opacity: .85; }
.d-gear__z { fill: none; stroke-width: 6; stroke-dasharray: 3.5 3.41; }
.d-gear__n { stroke: none; } .d-gear__l { fill: var(--c-bg-2); stroke: none; }
.d-gear--warn .d-gear__z { stroke: var(--c-coral); } .d-gear--warn .d-gear__n { fill: var(--c-coral); }
.d-gear--ok .d-gear__z { stroke: var(--c-local); } .d-gear--ok .d-gear__n { fill: var(--c-local); }
.d-gear--ok .d-gear__l { fill: var(--c-surface); }
.d-gear--klein .d-gear__z { animation-direction: reverse; }
@media (prefers-reduced-motion: no-preference) { .d-gear__z { animation: dZahn 2.4s linear infinite; } }
@keyframes dZahn { to { stroke-dashoffset: -13.82; } }
.d-ic path, .d-ic circle, .d-ic rect { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-ic--warn * { stroke: var(--c-coral); } .d-ic--ok * { stroke: var(--c-local); } .d-ic--brand * { stroke: var(--c-brand); }
.d-ic--brand rect { fill: var(--c-surface); }
.d-doc { fill: var(--c-surface); stroke: var(--c-local); stroke-width: 2; stroke-linejoin: round; }
.d-code { font-family: ui-monospace, monospace !important; font-size: 13px; font-weight: 700; fill: var(--c-local) !important; }
.d-down, .d-loadline { fill: none; stroke: var(--c-muted); stroke-width: 2.5; stroke-dasharray: 7 5; }
.d-loadline { stroke-dasharray: none; }
.d-park { fill: none; stroke: var(--c-brand); stroke-width: 2.5; stroke-dasharray: 3 5; stroke-linecap: round; }
.d-save { fill: none; stroke: var(--c-local); stroke-width: 2.5; }
.d-arrow--warn { fill: var(--c-coral); } .d-arrow--ok { fill: var(--c-local); } .d-arrow--brand { fill: var(--c-brand); }
.d-browser { fill: var(--c-surface); stroke-width: 2.5; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how__step { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.how__step p { color: var(--c-soft); font-size: 15.5px; }
.how__n { font-family: var(--f-head); font-weight: 700; font-size: 2rem; color: var(--c-brand); line-height: 1; }

/* ── Kann / kann nicht ───────────────────────────────────────── */
.caphead { font-size: 1.25rem; margin: 8px 0 14px; display: flex; gap: 10px; align-items: center; }
.caphead span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; }
.caphead--yes span { background: var(--c-local); } .caphead--no span { background: var(--c-coral); }
.caphead--no { margin-top: 36px; }
.capgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .capgrid { grid-template-columns: repeat(2, 1fr); } }
.cap { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 2px; padding: 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-m); border-left-width: 4px; }
.cap--yes { border-left-color: var(--c-local); } .cap--no { border-left-color: var(--c-coral); }
.cap__ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.cap--yes .cap__ic { color: var(--c-local); background: color-mix(in srgb, var(--c-local) 12%, transparent); }
.cap--no .cap__ic { color: var(--c-coral); background: color-mix(in srgb, var(--c-coral) 12%, transparent); }
.cap__ic .ic { width: 28px; height: 28px; }
.cap strong { font-family: var(--f-head); font-size: 1.1rem; }
.cap > span:last-child { color: var(--c-soft); font-size: 15px; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 2fr; } .faq-img { display: block !important; } }
.faq-img { width: 110px; height: auto; display: none; margin-top: 12px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-surface); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; min-height: 48px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--c-brand); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 18px 16px; color: var(--c-soft); }

/* ── Familie & Unterstützen ──────────────────────────────────── */
.family { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.fam { height: 100%; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; padding: 18px; text-decoration: none; color: var(--c-text); transition: border-color .15s, transform .15s; }
.fam:hover { border-color: var(--c-sky); transform: translateY(-2px); color: var(--c-text); }
.fam .ic { grid-row: span 2; color: var(--c-sky); width: 28px; height: 28px; margin-top: 2px; }
.fam b { font-family: var(--f-head); font-size: 1.1rem; }
.fam span { color: var(--c-muted); font-size: 15px; }
.support { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 860px) { .support { flex-direction: row; justify-content: space-between; align-items: center; } }
.btn--big { min-height: 56px; padding: 0 28px; font-size: 18px; }

.toast { width: max-content; text-align: center; position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; background: var(--c-text); color: var(--c-bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.25); max-width: calc(100vw - 32px); }

/* ── Werkzeug-Vorlage ─────────────────────────────────────────── */
.crumbs { padding-top: 18px; font-size: 14px; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); }
.thero { padding-block: 18px 28px; }
.thero__in { display: flex; gap: 20px; align-items: flex-start; }
.thero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.thero .lead { margin-top: 8px; }
.thero__ic { --art: var(--c-brand); width: 72px; height: 72px; border-radius: 20px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--art); background: color-mix(in srgb, var(--art) 13%, transparent); }
.thero__ic.tile--lokal { --art: var(--c-local); }
.thero__ic .ic { width: 38px; height: 38px; }
.thero__tags { display: flex; gap: 6px; margin-top: 12px; }
@media (max-width: 600px) { .thero__ic { width: 52px; height: 52px; border-radius: 14px; } .thero__ic .ic { width: 28px; height: 28px; } }
.toolarea { padding-bottom: 56px; }
.databox { display: flex; gap: 20px; align-items: center; padding: 22px; }
.databox img { width: auto; height: 130px; flex-shrink: 0; }
.databox p { color: var(--c-soft); margin-top: 8px; }
@media (max-width: 600px) { .databox { flex-direction: column; align-items: flex-start; } .databox img { height: 100px; } }

/* 404 */
.nf { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nf > div { display: flex; flex-direction: column; gap: 14px; }
.nf img { height: 220px; width: auto; }

/* ── Formulare (für alle Werkzeuge) ──────────────────────────── */
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-soft); min-width: 0; }
.fld input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), .fld select, .fld textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--c-text); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 10px;
  min-height: 46px; padding: 10px 12px; width: 100%; }
.fld textarea { resize: vertical; min-height: 90px; line-height: 1.45; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 20%, transparent); }
.fld input[type=range] { accent-color: var(--c-brand); min-height: 32px; }
.fld input[type=color] { width: 100%; height: 46px; padding: 4px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-bg); cursor: pointer; }
.fld select:disabled { opacity: .6; }
.fld output { font-weight: 400; color: var(--c-muted); }
.fld2 { display: grid; gap: 12px; }
@media (min-width: 520px) { .fld2 { grid-template-columns: 1fr 1fr; align-items: end; } }
.fld--inline { flex-direction: row; align-items: center; gap: 10px; }
.fld--inline select { width: auto !important; min-height: 40px !important; padding: 6px 10px !important; }
.chk { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; font-size: 15px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--c-brand); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--c-soft); max-width: 70ch; }

/* ── Gemeinsame Werkzeug-Bausteine: Reiter, Beschreibung, Umschalter, Stärke-Balken ── */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--c-bg-2); border: 1px solid var(--c-line); margin-bottom: 18px; }
.tab { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--c-soft); cursor: pointer; }
.tab[aria-selected='true'] { background: var(--c-surface); color: var(--c-brand); box-shadow: var(--shadow); }
@media (max-width: 480px) { .tab { padding: 0 11px; } .tab .ic { display: none; } }
.about { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5;
  background: var(--c-brand-soft); color: var(--c-soft); border: 1px solid color-mix(in srgb, var(--c-brand) 25%, transparent); }
.about .ic { color: var(--c-brand); margin-top: 1px; width: 20px; height: 20px; }
.about b { color: var(--c-text); }
.fldw { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld__help { margin: 0; font-size: 13px; line-height: 1.45; color: var(--c-muted); }
.seg { border: 0; margin: 0; padding: 0; }
.seg legend { margin-bottom: 10px; }
.seg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opts label { position: relative; flex: 1 1 0; min-width: 90px; }
.seg__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg__opts span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-bg); font-weight: 600; font-size: 15px; text-align: center; }
.seg__opts input:checked + span { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.seg__opts input:focus-visible + span { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.meter { height: 10px; border-radius: 999px; background: var(--c-bg-2); overflow: hidden; border: 1px solid var(--c-line); }
.meter__bar { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--c-muted); transition: width .25s ease, background-color .25s ease; }
.meter[data-score='0'] .meter__bar { background: var(--c-coral); }
.meter[data-score='1'] .meter__bar { background: color-mix(in srgb, var(--c-coral) 55%, var(--c-amber)); }
.meter[data-score='2'] .meter__bar { background: var(--c-amber); }
.meter[data-score='3'] .meter__bar { background: color-mix(in srgb, var(--c-local) 70%, var(--c-amber)); }
.meter[data-score='4'] .meter__bar { background: var(--c-local); }

/* „Zurück zu …“-Pille (alle Seiten) */
.ct-pille__w { position: fixed; z-index: 60; top: 80px; right: 16px; display: flex; align-items: center; border-radius: 999px; background: var(--c-brand); color: var(--c-on-brand); border: 2px solid var(--c-text); box-shadow: 3px 3px 0 var(--c-text); max-width: calc(100vw - 32px); }
.ct-pille { color: inherit; text-decoration: none; font-weight: 700; padding: 10px 6px 10px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-pille:hover { text-decoration: underline; }
.ct-pille__x { border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; min-width: 40px; min-height: 40px; cursor: pointer; border-radius: 999px; }
.ct-pille:focus-visible, .ct-pille__x:focus-visible { outline: 3px solid var(--c-text); outline-offset: 2px; border-radius: 999px; }
@media (max-width: 640px) { .ct-pille__w { top: auto; bottom: 16px; left: 50%; right: auto; transform: translateX(-50%); } }
@media print { .ct-pille__w { display: none; } }
