/* Bundmann - ruhiges, einladendes Design. Neutrale Basis, Gold als Akzent,
   Rot ausschliesslich als Signal. Kein Framework, kein externes Asset.
   CSP-konform (keine Inline-Styles).

   EIN Erscheinungsbild, hell. Kein Dunkelmodus, kein Umschalter: bei einem
   geldnahen Angebot muss jeder Nutzer dasselbe sehen wie der Nachbar, dem er
   davon erzaehlt - zwei Ansichten sind eine Frage mehr, die niemand stellen
   wollte. `color-scheme: light` sagt dem Browser dasselbe, sonst faerbt er im
   OS-Dunkelmodus Formularfelder und Rollbalken eigenmaechtig um. */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f2f1;
  --sand: #f7f7f6;
  --ink: #1f1e1c;
  --ink-2: #33322f;
  --muted: #6d6c69;
  --line: #e7e7e5;
  --gold: #d99a26;
  --gold-ink: #8f6a00;
  --gold-soft: #fdf1d0;
  --red: #c8241b;         /* Signalfarbe: nur Live/Warnung/Fehler */
  --red-soft: #f7e2e0;
  --good: #3a7d52;
  --bad: #c2542f;
  --ring: #1f1e1c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -20px rgba(0, 0, 0, .18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Rueckwaerts-kompatibel: einige Alt-Templates referenzieren --accent. */
  --accent: #1f1e1c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: 68rem; margin-inline: auto; padding-inline: 1.25rem; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }

/* -- Icons: gezeichnete Flat-Line-Icons + sanfter Skizzen-Filter + Draw-in --- */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  display: inline-block; vertical-align: middle; width: 1.25em; height: 1.25em; fill: none;
  stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.sketch { filter: url(#rough); }
.uic { width: 20px; height: 20px; }
.draw > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.in .draw > * { animation: draw .85s cubic-bezier(.6, 0, .35, 1) forwards; }
.reveal.in .draw > *:nth-child(2) { animation-delay: .16s; }
.reveal.in .draw > *:nth-child(3) { animation-delay: .3s; }
.reveal.in .draw > *:nth-child(4) { animation-delay: .44s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Schwarz-Rot-Gold als durchgehende Trennlinie (links -> rechts) zwischen Bereichen. */
.srg-divider {
  height: 3px; border: 0; margin: 0; width: 100%;
  background: linear-gradient(90deg, #1a1a1a 0 33.333%, #d51e26 33.333% 66.666%, #f2c21a 66.666% 100%);
}

/* -- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: 12px; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 800; padding: .8rem 1.35rem;
  transition: transform .12s ease, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; border-radius: 14px; }

/* Info-/Erklaer-Button (oeffnet ein Popover mit Ablauf + Datennutzung) */
.info-btn {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer;
  flex: 0 0 28px; aspect-ratio: 1; padding: 0; transition: border-color .15s, background .15s, color .15s;
}
.info-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.info-btn .ico { width: 15px; height: 15px; }
.info-content { display: none; }
.form-info {
  flex-basis: 100%; display: flex; align-items: center; gap: .5rem; margin: 0 0 .1rem;
  font-size: .82rem; color: var(--muted);
}
.modal .info-body { text-align: left; }
.modal .info-body p { margin: 0 0 .7rem; color: var(--muted); }
.modal .info-body ul { margin: .3rem 0 .7rem; padding-left: 1.15rem; }
.modal .info-body li { margin: .35rem 0; color: var(--muted); }
.modal .info-body strong { color: var(--ink); }
.modal .info-close { width: 100%; margin-top: .9rem; }
/* Icons in reinen Icon-Buttons sauber zentrieren (kein Baseline-Versatz). */
.info-btn, .mic, .modal-x { line-height: 0; }
.info-btn .ico, .mic .ico, .modal-x .ico, #toTop .arrow { display: block; }

/* -- Obere Navigationsleiste + Scroll-Fortschritt --------------------------- */
html { scroll-behavior: smooth; }
#scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: var(--gold); }
header.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 86%, transparent); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 1.4rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.28rem;
  letter-spacing: -.02em; text-decoration: none; color: inherit; }
.brand .mark { width: 32px; height: 32px; flex: 0 0 auto; }
.navlinks { margin-left: auto; display: flex; gap: 1.4rem; align-items: center; }
.navlinks a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.navlinks a:not(.btn):hover { color: var(--ink); }
.navlinks .btn { padding: .55rem 1.1rem; }
#bedarfe, #how, #warum, #anbieter { scroll-margin-top: 80px; }
@media (max-width: 780px) { .navlinks a:not(.btn) { display: none; } }

/* -- Kopf / Hero (zweispaltig: Copy links, Aktueller Bedarf rechts) --------- */
.wall-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-grid .demand-card { order: -1; }
}
.kicker {
  margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .1em;
  font-size: .76rem; font-weight: 800; color: var(--muted);
}
.wall-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }

/* Aktueller-Bedarf-Karte (Spotlight im Hero) */
.demand-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--shadow);
  max-width: 27rem; width: 100%; margin-inline: auto;
}
.demand-card .d-status {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
}
.demand-card h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: .6rem 0 .1rem; }
.demand-card .d-big {
  font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; margin: .5rem 0 .1rem;
}
.demand-card .d-sub { color: var(--muted); font-size: .95rem; margin: 0 0 1.1rem; }
.demand-card .meter { height: .7rem; }
.demand-card .d-meta {
  display: flex; justify-content: space-between; gap: .5rem; margin-top: .7rem;
  color: var(--muted); font-size: .85rem; font-weight: 600;
}
.demand-card .d-meta strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.demand-card .d-cta { width: 100%; margin-top: 1.2rem; }
.demand-card .info-btn { position: absolute; top: 1rem; right: 1rem; }
.wall-head h1 .hl { position: relative; white-space: nowrap; }
/* Nur die INLINE-Variante liegt absolut - sie braucht .hl als Anker. Ohne diese
   Einschraenkung erwischt die Regel auch die freistehende Variante
   (.hl-underline--h1, direktes Kind von h1). Die haette dann keinen positionierten
   Vorfahren, wuerde aus dem Kopfbereich herausfallen und sich mit width:100% quer
   ueber die Seite ziehen. */
.wall-head h1 .hl .hl-underline { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .26em; overflow: visible; }
.intro { margin: 1rem 0 0; color: var(--muted); max-width: 42rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.head-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.chip {
  display: inline-flex; gap: .5rem; align-items: center; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font-weight: 700; font-size: .9rem;
}
.chip .ico { width: 18px; height: 18px; color: var(--ink); }

/* -- Marketing-Sektionen (So geht's / Warum / Anbieter) --------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--alt { background: var(--sand); border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 40ch; margin: 0 auto clamp(2.4rem, 5vw, 3.4rem); }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sec-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin: .5rem 0; }
.sec-head .lede { color: var(--muted); margin-inline: auto; max-width: 46ch; }

.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), border-color .2s;
}
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.card .ic {
  width: 56px; height: 56px; border-radius: 16px; background: var(--surface-2); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 1.1rem; border: 1px solid var(--line);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .ic { transform: scale(1.06); }
.card .ic .ico { width: 30px; height: 30px; }
.card h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.band {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow);
  display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.band h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: .35rem; }
.band .lede { color: var(--muted); margin: 0; max-width: 42ch; }

/* Phasen-Ablauf (nummerierter Prozess: melden -> sammeln -> zusagen -> liefern) */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.phase {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s cubic-bezier(.2, .8, .2, 1), border-color .2s;
}
.phase:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.phase.is-now { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow); }
.phase__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); font-weight: 800; font-size: 1.15rem;
  color: var(--ink); margin-bottom: 1rem;
}
.phase.is-now .phase__num { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.phase__tag {
  display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--gold-ink); background: var(--gold-soft); padding: .18rem .55rem; border-radius: 999px; margin-bottom: .5rem;
}
.phase h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.phase p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; } }

/* Lieferanten-Selbstregistrierung */
.supplier-form {
  max-width: 52rem; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.sf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.supplier-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .82rem; font-weight: 700; color: var(--muted); }
.supplier-form input, .supplier-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem;
}
.supplier-form input:focus, .supplier-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--ink) 45%, transparent); outline-offset: 1px; border-color: var(--ink);
}
.supplier-form textarea { resize: vertical; }
.sf-full { grid-column: 1 / -1; }
.sf-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 1.4rem; flex-wrap: wrap; }
.sf-foot .fineprint { margin: 0; font-size: .8rem; color: var(--muted); max-width: 34rem; }
.supplier-form.is-ok { text-align: center; }
@media (max-width: 640px) { .sf-grid { grid-template-columns: 1fr; } .sf-foot .btn { width: 100%; } }

/* Inline-Rueckmeldung (Daumen hoch/runter je Abschnitt) */
.helpful {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-top: 1.8rem; color: var(--muted); font-size: .9rem;
}
.helpful button {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 10px; padding: 8px 14px; cursor: pointer;
  color: var(--ink); font: inherit; font-weight: 700; transition: border-color .15s, background .15s;
}
.helpful button:hover { border-color: var(--ink); background: var(--surface-2); }
.helpful button .ico { width: 17px; height: 17px; }
.helpful button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.helpful button:disabled { cursor: default; }
.helpful.is-answered button:not(.is-active) { opacity: .45; }

/* -- Grid der Bedarfe ------------------------------------------------------- */
.grid {
  display: grid; gap: 1.4rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.grid-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: clamp(2rem, 4vw, 3rem); }
.grid-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.grid-head .eyebrow { display: block; margin-bottom: .3rem; }
.empty { color: var(--muted); padding: 2rem 0 0; }

/* -- Kachel ----------------------------------------------------------------- */
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 2.15rem;
  box-shadow: var(--shadow);
}

/* Verspielte Fluessigkeits-Saeule (Signatur): waechst von unten, Wellen-Oberflaeche
   und aufsteigende Blaeschen. Fuellhoehe per JS (data-pct). Jetzt in Gold. */
.gauge {
  position: absolute; left: 0; top: 0; bottom: 0; width: .95rem;
  background: var(--gold-soft); overflow: hidden;
}
.gauge__fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 78%, #ffd98a), var(--gold));
  transition: height 1.5s cubic-bezier(.2, .75, .25, 1);
}
.gauge__fill::before {
  content: ''; position: absolute; left: -35%; right: -35%; top: -5px; height: 11px;
  background: color-mix(in srgb, var(--gold) 78%, #ffd98a); border-radius: 45%;
  animation: gauge-wave 3.6s ease-in-out infinite;
}
.bubble {
  position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .6); animation: gauge-bubble 2.8s ease-in infinite;
}
.bubble:nth-child(1) { left: 22%; }
.bubble:nth-child(2) { left: 54%; width: 4px; height: 4px; animation-delay: 1s; }
.bubble:nth-child(3) { left: 36%; width: 3px; height: 3px; animation-delay: 1.9s; }
@keyframes gauge-wave {
  0%, 100% { transform: translateX(-16%) rotate(0deg); }
  50% { transform: translateX(6%) rotate(6deg); }
}
@keyframes gauge-bubble {
  0% { transform: translateY(0) scale(.7); opacity: 0; }
  18% { opacity: .65; }
  100% { transform: translateY(-160px) scale(1); opacity: 0; }
}
.tile--completed .gauge__fill { transition-delay: .1s; }

.tile__status {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; color: var(--muted);
}
/* Live-Punkt = Signal -> Rot (nur hier). "soon"=Gold, "done"=neutral. */
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 20%, transparent); animation: pulse 2s infinite; }
.dot--soon { background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); animation: none; }
.dot--done { background: var(--muted); box-shadow: none; animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 45%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.tile__title { margin: 0; font-size: 1.2rem; letter-spacing: -.01em; }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a:hover { text-decoration: underline; }
.tile__lead { margin: 0; color: var(--muted); font-size: .95rem; }
.tile__figures { margin: 0; font-size: .95rem; color: var(--ink); }
.tile__figures strong { font-variant-numeric: tabular-nums; }
.tile__countdown { margin: 0; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Fortschritt */
.meter { height: .55rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.meter--soft { opacity: .9; }
.meter__fill {
  height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 70%, #ffd98a));
  transition: width .6s ease;
}

/* CTA + Formular */
.tile__cta {
  margin-top: auto; align-self: flex-start; text-decoration: none;
  padding: .6rem 1.1rem; border-radius: .7rem; font-weight: 700; font-size: .92rem;
  background: var(--ink); color: var(--paper);
}
.tile__cta--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.tile__cta:hover { transform: translateY(-1px); }

.tile__form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.tile__form input[type=email], .tile__form input[type=text], .tile__form input[type=number], .tile__form textarea {
  flex: 1 1 12rem; min-width: 0; padding: .65rem .75rem; font: inherit;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: .6rem;
}
.tile__form input:focus, .tile__form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--ink) 45%, transparent); outline-offset: 1px; border-color: var(--ink);
}
.tile__form textarea { flex-basis: 100%; resize: vertical; }
.tile__form button[type="submit"] {
  padding: .65rem 1.1rem; border: 0; border-radius: .6rem; font: inherit; font-weight: 800;
  background: var(--ink); color: var(--paper); cursor: pointer;
}
.tile__form button[type="submit"]:hover { background: var(--ink-2); }
.tile__form.is-ok { opacity: .75; }
.form-note { flex-basis: 100%; margin: 0; font-size: .85rem; color: var(--good); }

.suggest-opts { border: 0; margin: 0; padding: 0; display: grid; gap: .35rem; flex-basis: 100%; }
.suggest-opts label { display: flex; align-items: center; gap: .5rem; font-size: .92rem; }
.tile--suggest { background: var(--sand); }
.tile--suggest .tile__cta { margin-top: auto; align-self: flex-start; }

/* -- Vorschlags-Block ueber dem Footer (auf jeder Seite) --------------------
   Gold-Rahmen statt Gold-Flaeche: dominant, aber nicht schreiend - und in
   beiden Themes lesbar, weil Text auf --surface bleibt. */
.suggest-band {
  background: var(--sand); border-top: 3px solid var(--gold);
  padding: clamp(2.6rem, 6vw, 4.5rem) 0; scroll-margin-top: 5rem;
}
.suggest-band__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: start; }
.suggest-band__copy h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin: .45rem 0 .6rem; }
.suggest-band__lead { color: var(--ink-2); font-size: clamp(1.02rem, 2vw, 1.18rem); line-height: 1.55; margin: 0; max-width: 34ch; }
.suggest-band__facts { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .55rem; }
.suggest-band__facts li { display: flex; align-items: flex-start; gap: .55rem; color: var(--muted); font-size: .93rem; }
.suggest-band__facts .ico { width: 17px; height: 17px; color: var(--good); flex: 0 0 auto; margin-top: .12rem; }

/* Kurzzeitige Hervorhebung, wenn man ueber den fixen Button hierher springt. */
.suggest-band.is-called .suggest-form { animation: suggestPulse 1.5s cubic-bezier(.2, .8, .2, 1); }
@keyframes suggestPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 70%, transparent), var(--shadow); }
  70% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--gold) 0%, transparent), var(--shadow); }
  100% { box-shadow: var(--shadow); }
}

.suggest-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); display: grid; gap: .7rem;
}
.suggest-form__label { font-weight: 800; font-size: .95rem; }
/* Zeigt die Bandbreite: nicht nur Rohstoffe, auch IT und Bueroausstattung.
   Bewusst sichtbarer Text statt Platzhalter - der verschwindet beim Tippen,
   genau dann, wenn jemand noch ueberlegt, ob sein Anliegen hierher passt. */
.suggest-form__hint { margin: -.35rem 0 0; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.suggest-form__hint strong { color: var(--ink-2); font-weight: 700; }
.suggest-form textarea, .suggest-form input[type=text], .suggest-form input[type=email] {
  width: 100%; padding: .7rem .8rem; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: .6rem;
}
.suggest-form textarea { resize: vertical; min-height: 5.2rem; }
.suggest-form textarea:focus, .suggest-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--ink) 45%, transparent); outline-offset: 1px; border-color: var(--ink);
}
.suggest-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .7rem; }
.suggest-form__field { display: grid; gap: .3rem; }
.suggest-form__field label { font-size: .85rem; font-weight: 700; }
.suggest-form__field .opt { font-weight: 400; color: var(--muted); }
.suggest-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: .3rem; }
.suggest-form__foot .btn { flex: 0 0 auto; }
.suggest-form__note { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .84rem; }
.suggest-form.is-ok { opacity: .8; }
@media (max-width: 860px) { .suggest-band__inner { grid-template-columns: 1fr; } }


/* -- Footer ----------------------------------------------------------------- */
/* padding-bottom haelt Platz frei fuer die zwei fixen Buttons (Vorschlag, Uhr). */
.wall-foot { border-top: 1px solid var(--line); padding: clamp(4.5rem, 8vw, 7rem) 0 7.5rem;
  position: relative; background: var(--surface-2); }
.wall-foot::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1a1a1a 0 33.333%, #d51e26 33.333% 66.666%, #f2c21a 66.666% 100%);
}
.wall-foot .brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; }
.wall-foot .brand .mark { width: 32px; height: 32px; }
.wall-foot a { color: var(--ink-2); text-decoration: none; }
.wall-foot a:hover { color: var(--ink); }
.wall-foot .foot-note { color: var(--muted); font-size: .82rem; margin-top: 1.2rem; max-width: 60ch; }

/* State-of-the-art-Footer: Markenblock + Link-Spalten + eigene Bottom-Bar */
.foot-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(2.5rem, 6vw, 5rem); }
.foot-mission { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 1rem 0 1.2rem; max-width: 42ch; }
.foot-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.foot-badges li {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .75rem;
}
.foot-badges .ico { width: 15px; height: 15px; color: var(--good); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2.5rem;
  padding-top: .75rem; }
.foot-h { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 1.15rem; }
.foot-col a { display: flex; align-items: center; gap: .5rem; padding: .42rem 0; font-size: .93rem; }
.foot-col .ico { width: 17px; height: 17px; color: var(--muted); flex: 0 0 auto; }
.foot-nap { font-style: normal; color: var(--muted); font-size: .8rem; line-height: 1.65; margin-top: .9rem; }
.foot-regions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
  margin-top: 3.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.foot-regions .foot-h { margin: 0; }
.foot-regions a { color: var(--muted); font-size: .85rem; }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.foot-copy { color: var(--muted); font-size: .82rem; margin: 0; max-width: 74ch; line-height: 1.55; }
.foot-totop {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 700; font-size: .85rem;
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; white-space: nowrap;
}
.foot-totop:hover { border-color: var(--ink); background: var(--surface); }
.foot-totop .ico { width: 16px; height: 16px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; align-items: flex-start; } }
.wall-foot p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 44rem; }


/* =========================================================================
   Globale UX-Chrome (auf jeder Seite): Vorschlags-Button, Back-to-Top-Uhr,
   Modal, Toast.

   Am unteren Rand schweben bewusst nur zwei Dinge - der Aufruf und der Weg
   nach oben:
     Desktop  unten mittig: #suggestFab · unten rechts: #toTop
     <=720px  #suggestFab ueber die volle Breite, #toTop eine Zeile darueber.
   Kontaktleiste und Rueckmeldung-Knopf sind entfallen: Telefon, E-Mail und
   Anschrift stehen vollstaendig im Footer, und vier schwebende Elemente
   verdecken mehr Inhalt als sie erschliessen.
   ========================================================================= */
/* Der Vorschlags-Button ist der dominante Dauer-CTA: Gold, mittig, immer da. */
.fab-suggest {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 58;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold); color: #23200f; border: 1px solid color-mix(in srgb, var(--gold) 70%, #000);
  border-radius: 999px; padding: 13px 22px; text-decoration: none;
  font: inherit; font-weight: 800; white-space: nowrap;
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--gold) 65%, transparent), var(--shadow);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s, opacity .25s;
}
.fab-suggest:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--gold) 75%, transparent), var(--shadow); }
.fab-suggest:active { transform: translateX(-50%) translateY(0); }
.fab-suggest .ico { width: 19px; height: 19px; }
.fab-suggest .label--short { display: none; }
/* Ausgeblendet, sobald der Vorschlags-Block selbst im Blick ist (wall.js). */
.fab-suggest.is-off { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(12px); }

#toTop {
  position: fixed; right: 20px; bottom: 22px; z-index: 56; width: 54px; height: 54px; border-radius: 14px;
  border: 0; cursor: pointer; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(12px) scale(.9); transition: .35s cubic-bezier(.2, .8, .2, 1);
}
#toTop.on { opacity: 1; pointer-events: auto; transform: none; }
#toTop .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
#toTop .track { fill: none; stroke: var(--line); stroke-width: 3; }
#toTop .prog { fill: none; stroke: var(--ring); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
#toTop .arrow { position: relative; color: var(--ink); width: 20px; height: 20px; }

/* Schmale Viewports: Vorschlags-Button ueber die volle Zeile ganz unten, die
   Uhr eine Zeile darueber - nebeneinander bliebe fuer die Beschriftung kein
   Platz. Steht bewusst NACH den Grundregeln (gleiche Spezifitaet). */
@media (max-width: 720px) {
  .fab-suggest { left: 12px; right: 12px; transform: none; bottom: 14px; padding: 13px 18px; }
  .fab-suggest:hover, .fab-suggest:active { transform: none; }
  .fab-suggest.is-off { transform: translateY(12px); }
  .fab-suggest .label--long { display: none; }
  .fab-suggest .label--short { display: inline; }
  #toTop { bottom: 76px; }
}

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 70;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .35s cubic-bezier(.2, .8, .2, 1);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(10, 10, 10, .5); backdrop-filter: blur(4px);
  display: flex; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .28s;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.overlay.on { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; margin: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  max-width: 430px; width: 100%; padding: 38px 32px 30px; text-align: center; box-shadow: var(--shadow);
  transform: translateY(16px) scale(.97); transition: transform .3s cubic-bezier(.2, .9, .2, 1);
}
.overlay.on .modal { transform: none; }
.modal--wide { max-width: 620px; text-align: left; }
.modal--wide .supplier-form { border: 0; box-shadow: none; padding: 0; margin-top: 1rem; }
.modal-lede { color: var(--muted); margin: .2rem 0 0; }
.modal-x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background .15s, color .15s, border-color .15s;
}
.modal-x:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.modal-x .ico { width: 18px; height: 18px; }
.modal .face { color: var(--ink); display: inline-block; animation: pop .55s cubic-bezier(.2, 1.4, .4, 1); }
.modal .face .ico { width: 58px; height: 58px; stroke-width: 1.7; }
@keyframes pop { 0% { transform: scale(.5) rotate(-8deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.modal h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.modal p { color: var(--muted); margin: 0 0 18px; }
.modal .actions { display: grid; gap: 10px; }
.modal .actions .btn { width: 100%; }
.modal .mini { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.modal .fb-row { display: flex; gap: 10px; align-items: flex-start; margin-top: .3rem; }
.modal .fb-send { width: 100%; margin-top: 1rem; }
.modal textarea {
  flex: 1; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 11px; padding: 12px 14px; width: 100%; resize: vertical;
}
.modal textarea:focus { outline: 2px solid color-mix(in srgb, var(--ink) 45%, transparent); outline-offset: 1px; border-color: var(--ink); }
.mic { border: 1px solid var(--line); background: var(--surface); border-radius: 11px; width: 46px; height: 46px; cursor: pointer; color: var(--muted); display: grid; place-items: center; flex: 0 0 auto; }
.mic .ico { width: 22px; height: 22px; }
.mic.rec { color: var(--bad); border-color: var(--bad); animation: pulse 1.4s infinite; }
@media (max-width: 480px) {
  .overlay { padding: 10px; }
  .modal { padding: 30px 20px 22px; border-radius: 16px; }
  .modal--wide { max-width: none; }
}

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* -- Utility-Klassen (Alt-Templates: commit/manage/legal/offline) ----------- */
.wrap--narrow { max-width: 44rem; padding-block: 2rem 3rem; }
.wrap--card { max-width: 34rem; padding-top: 4rem; text-align: center; }
.wrap--form { max-width: 24rem; padding-top: 4rem; }
.linkplain { color: inherit; text-decoration: none; }
.tile__status--start { justify-content: flex-start; }
.tile__figures--lg { font-size: 1.15rem; }
.tile--gap { gap: 1rem; }
.tile--center { align-items: center; }
.form--stack { flex-direction: column; align-items: stretch; }
.err { color: var(--red); }
.offline-body { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.offline-box { max-width: 28rem; text-align: center; }
.offline-box h1 { font-size: 1.6rem; margin: .2rem 0; }
.btn-accent {
  margin-top: 1.2rem; padding: .7rem 1.4rem; border: 0; border-radius: .6rem;
  background: var(--ink); color: var(--paper); font-size: 1rem; cursor: pointer;
}

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .wall-foot .foot-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .gauge__fill { transition: none; }
  .meter__fill { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .draw > * { stroke-dashoffset: 0 !important; }
  #toTop, .toast, .overlay, .modal { transition: opacity .2s; }
}

/* SEO-Inhalte: Brotkrumen, Fliesstext, Definitionen, FAQ. Textspalten ~46rem. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200; font-weight: 700;
  background: var(--ink); color: var(--paper); padding: .7rem 1.1rem; border-radius: 0 0 .6rem 0;
}
.skip-link:focus { left: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover, .crumbs [aria-current="page"] { color: var(--ink); }
.hl-underline--h1 { display: block; width: min(18rem, 60%); height: .55rem; margin-top: .2rem; }
.prose, .faq { display: grid; gap: 1.8rem; max-width: 46rem; margin-inline: auto; }
.faq { gap: .8rem; }
.prose__block h3, .area h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.prose__block p, .faq__item p { color: var(--ink-2); line-height: 1.7; margin: 0; }
.deflist__item, .faq__item, .area {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow);
}
.area { max-width: 46rem; margin: 2.4rem auto 0; }
.area .lede { color: var(--muted); margin: 0 0 .9rem; }
.area__list { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.area__list li {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem .8rem; font-size: .9rem; color: var(--ink-2);
}
.deflist { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin: 0; }
.deflist__item dt { font-weight: 800; font-size: 1.05rem; margin-bottom: .35rem; }
.deflist__item dd, .city-meta, .fact-list li { margin: 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }
/* <details>: ohne JS aufklappbar, im Quelltext vollstaendig fuer Crawler. */
.faq__item summary {
  cursor: pointer; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; color: var(--muted); }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p { margin-top: .8rem; }
.city-cards .card h3 a { color: var(--ink); text-decoration: none; }
.city-cards .card h3 a:hover { text-decoration: underline; }
.city-meta { margin: .4rem 0 .9rem; font-size: .85rem; }
.d-claim { font-size: 1.25rem; font-weight: 800; line-height: 1.35; margin: .3rem 0 .5rem; }
.fact-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .55rem; }
.fact-list li { color: var(--ink-2); }
.band--plain { margin-top: 1.6rem; display: block; }
.band--plain .fineprint { margin: 0; }
.foot-eyebrow2 { margin-top: 1.2rem; }
@media (max-width: 820px) { .deflist { grid-template-columns: 1fr; } }

/* Widerruf: bewusst als eigener, abgesetzter Block. Ein gesetzliches Recht darf
   nicht zwischen "Menge speichern" und "Daten exportieren" untergehen. */
.widerruf { margin: 1.6rem 0 0; padding: 1rem 1.1rem; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface-2); }
.widerruf h2 { margin: 0 0 .5rem; font-size: 1.05rem; }
.widerruf p { margin: 0 0 .8rem; font-size: .92rem; line-height: 1.55; }
.widerruf .form-note { color: var(--muted); }
.btn-widerruf { border-color: var(--ink-2); font-weight: 700; }

/* Widerruf-Knopf im Footer. Eigener Block ueber der Bottom-Bar, damit das Recht
   nicht als kleiner Textlink zwischen Impressum und AGB untergeht. */
.foot-widerruf { margin-top: 3.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
.btn-widerruf-foot {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper); color: var(--ink) !important; font-size: 1.02rem; font-weight: 800;
  text-decoration: none; line-height: 1.2;
}
.btn-widerruf-foot:hover { background: var(--ink); color: var(--paper) !important; }
.btn-widerruf-foot .ico { width: 20px; height: 20px; }
.foot-widerruf__note { margin: 0; color: var(--muted); font-size: .87rem; max-width: 46ch; }
