/* ==========================================================================
   Garten & Wege — Kundenportal
   Design-Tokens orientiert am Anzeigen-Branding:
   Creme-Hintergrund, tiefes Waldgrün, Salbei-Akzente, Serif-Display.
   ========================================================================== */

:root {
  /* Marke */
  --gruen-900: #1b3024;
  --gruen-800: #233b2c;
  --gruen-700: #2f4a36;
  --gruen-600: #3d5b44;
  --gruen-500: #4f6f55;
  --salbei:    #8aa98c;
  --salbei-hell: #c3d5c1;

  --creme-100: #fcfbf6;
  --creme-200: #f7f4ea;
  --creme-300: #f2eee1;
  --creme-400: #e8e2d1;

  --tinte:     #1c1c18;
  --tinte-60:  #5c5c52;
  --tinte-40:  #8b8b7f;

  --bernstein: #b5822e;
  --bernstein-bg: #fbf1dd;
  --rost:      #a8503a;

  /* Typo */
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Form */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --schatten-s: 0 1px 2px rgba(27, 48, 36, .05), 0 1px 3px rgba(27, 48, 36, .04);
  --schatten-m: 0 2px 4px rgba(27, 48, 36, .04), 0 8px 24px rgba(27, 48, 36, .07);
  --schatten-l: 0 4px 8px rgba(27, 48, 36, .05), 0 24px 56px rgba(27, 48, 36, .12);
  --rand: 1px solid rgba(47, 74, 54, .13);

  --breite: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 148px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--creme-200);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gruen-700); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.14; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 48px, var(--breite)); margin-inline: auto; }

/* ---------- Kleinteile ---------------------------------------------------- */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gruen-500);
  margin: 0 0 14px;
}

.kursiv { font-family: var(--serif); font-style: italic; color: var(--gruen-600); }

.lead { font-size: 1.06rem; color: var(--tinte-60); max-width: 58ch; }

.hr { height: 1px; background: rgba(47, 74, 54, .13); border: 0; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 550; font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primaer { background: var(--gruen-800); color: var(--creme-200); box-shadow: var(--schatten-s); }
.btn--primaer:hover { background: var(--gruen-900); box-shadow: var(--schatten-m); }
.btn--sekundaer { background: transparent; color: var(--gruen-800); border-color: rgba(47, 74, 54, .28); }
.btn--sekundaer:hover { background: rgba(47, 74, 54, .06); border-color: rgba(47, 74, 54, .45); }
.btn--geist { background: transparent; color: var(--tinte-60); padding: 9px 14px; }
.btn--geist:hover { background: rgba(47, 74, 54, .07); color: var(--gruen-800); }
.btn--klein { padding: 8px 16px; font-size: 13px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge--offen      { background: var(--bernstein-bg); color: #8a6220; }
.badge--beantwortet{ background: rgba(138, 169, 140, .22); color: var(--gruen-700); }
.badge--freigabe   { background: rgba(47, 74, 54, .1); color: var(--gruen-700); }
.badge--pflicht    { background: rgba(168, 80, 58, .1); color: var(--rost); }
.badge--neutral    { background: rgba(28, 28, 24, .06); color: var(--tinte-60); }

.pflicht-stern { color: var(--rost); font-weight: 700; }

/* Karten */
.karte {
  background: var(--creme-100);
  border: var(--rand);
  border-radius: var(--r-m);
  box-shadow: var(--schatten-s);
}

/* ---------- Kopfzeile ----------------------------------------------------- */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 234, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: var(--rand);
}
.kopf__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--gruen-900); }
.logo__mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gruen-800);
  display: grid; place-items: center; flex: none;
}
.logo__mark svg { width: 19px; height: 19px; color: var(--salbei-hell); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--serif); font-size: 17px; letter-spacing: .01em; }
.logo__sub { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gruen-500); font-weight: 600; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--tinte-60);
  text-decoration: none; padding: 8px 14px; border-radius: 999px;
  transition: background .16s, color .16s;
}
.nav a:hover { background: rgba(47, 74, 54, .07); color: var(--gruen-800); }
.nav a[aria-current="page"] { background: var(--gruen-800); color: var(--creme-200); }

.nutzer { display: flex; align-items: center; gap: 10px; padding-left: 22px; border-left: var(--rand); }
.nutzer__name { font-size: 13px; font-weight: 550; line-height: 1.2; }
.nutzer__rolle { font-size: 11px; color: var(--tinte-40); }

.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  font-size: 12px; font-weight: 650; letter-spacing: .02em;
}
.avatar--kunde { background: var(--creme-400); color: var(--gruen-800); }
.avatar--inhaberin { background: var(--gruen-800); color: var(--creme-200); }
.avatar--gross { width: 44px; height: 44px; font-size: 14px; }

/* ---------- Fortschritts-Stepper ------------------------------------------ */

.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 22px 20px 20px; border-right: var(--rand); }
.step:last-child { border-right: 0; }
.step__nr {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 650;
  background: rgba(47, 74, 54, .09); color: var(--tinte-40);
  margin-bottom: 12px;
}
.step__titel { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.step__text { font-size: 12.5px; color: var(--tinte-40); line-height: 1.45; }
.step--fertig .step__nr { background: var(--gruen-800); color: var(--creme-200); }
.step--aktiv { background: rgba(138, 169, 140, .11); }
.step--aktiv .step__nr { background: var(--bernstein); color: #fff; }
.step--aktiv .step__titel { color: var(--gruen-800); }

/* ---------- Start / Übersicht --------------------------------------------- */

.hero { padding: 66px 0 44px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero__aktionen { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__bild {
  border-radius: var(--r-l); overflow: hidden;
  box-shadow: var(--schatten-l);
  aspect-ratio: 4 / 3.3;
}
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }

.abschnitt { padding: 40px 0; }
.abschnitt__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }

.projektkarte { display: grid; grid-template-columns: 260px 1fr; overflow: hidden; }
.projektkarte__bild { position: relative; }
.projektkarte__bild img { width: 100%; height: 100%; object-fit: cover; }
.projektkarte__body { padding: 28px 30px; display: flex; flex-direction: column; gap: 16px; }
.projektkarte__zeile { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.daten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; }
.daten dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-40); font-weight: 600; margin-bottom: 3px; }
.daten dd { margin: 0; font-size: 14.5px; font-weight: 500; }

.balken { height: 7px; border-radius: 999px; background: rgba(47, 74, 54, .12); overflow: hidden; }
.balken__fuell { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gruen-600), var(--salbei)); transition: width .5s cubic-bezier(.4,0,.2,1); }

.aufgaben { display: grid; gap: 10px; }
.aufgabe {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; text-decoration: none; color: inherit;
  background: var(--creme-100); border: var(--rand); border-radius: var(--r-m);
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.aufgabe:hover { border-color: rgba(47, 74, 54, .3); box-shadow: var(--schatten-m); transform: translateY(-1px); }
.aufgabe__text { flex: 1; min-width: 0; }
.aufgabe__frage { font-size: 14.5px; font-weight: 550; margin-bottom: 2px; }
.aufgabe__ort { font-size: 12.5px; color: var(--tinte-40); }
.aufgabe__pfeil { color: var(--tinte-40); flex: none; }

/* ---------- Fragebogen ----------------------------------------------------- */

.bogen { padding: 40px 0 90px; }
.bogen__grid { display: grid; grid-template-columns: 232px 1fr; gap: 48px; align-items: start; }

.schiene { position: sticky; top: 96px; display: grid; gap: 2px; }
.schiene__eintrag {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 12px; border-radius: var(--r-s);
  font-size: 13.5px; color: var(--tinte-40); background: none; border: 0;
  font-family: inherit; text-align: left; cursor: pointer; width: 100%;
  transition: background .16s, color .16s;
}
.schiene__eintrag:hover { background: rgba(47, 74, 54, .06); }
.schiene__punkt {
  width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 650;
  border: 1.5px solid rgba(47, 74, 54, .2); color: var(--tinte-40); background: var(--creme-100);
}
.schiene__eintrag[aria-current="step"] { color: var(--gruen-900); font-weight: 600; background: rgba(138, 169, 140, .16); }
.schiene__eintrag[aria-current="step"] .schiene__punkt { background: var(--gruen-800); border-color: var(--gruen-800); color: var(--creme-200); }
.schiene__eintrag[data-fertig="ja"] .schiene__punkt { background: var(--salbei); border-color: var(--salbei); color: #fff; }

.panel { display: none; animation: rein .32s ease; }
.panel[data-aktiv] { display: block; }
@keyframes rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel__kopf { margin-bottom: 30px; }
.panel__kopf h2 { margin-bottom: 8px; }

.feldgruppe { margin-bottom: 30px; }
.feldgruppe > legend, .feld__label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; color: var(--gruen-900);
}
.feldgruppe { border: 0; padding: 0; margin-inline: 0; }
.feld__hinweis { font-size: 12.5px; color: var(--tinte-40); margin: -4px 0 10px; }

.eingabe, .auswahl, .textbereich {
  width: 100%; font: inherit; font-size: 14.5px; color: var(--tinte);
  padding: 12px 14px; border-radius: var(--r-s);
  border: 1px solid rgba(47, 74, 54, .2); background: var(--creme-100);
  transition: border-color .16s, box-shadow .16s;
}
.eingabe:focus, .auswahl:focus, .textbereich:focus, .schreibfeld:focus-within {
  outline: 0; border-color: var(--gruen-600); box-shadow: 0 0 0 3px rgba(138, 169, 140, .28);
}
.textbereich { resize: vertical; min-height: 96px; line-height: 1.55; }
.raster-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Auswahl-Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.kachel { position: relative; cursor: pointer; }
.kachel input { position: absolute; opacity: 0; pointer-events: none; }
.kachel__body {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 15px; border-radius: var(--r-m);
  border: 1px solid rgba(47, 74, 54, .16); background: var(--creme-100);
  font-size: 14px; font-weight: 500;
  transition: border-color .16s, background .16s, box-shadow .16s;
}
.kachel__body svg { width: 19px; height: 19px; color: var(--gruen-600); flex: none; }
.kachel:hover .kachel__body { border-color: rgba(47, 74, 54, .36); }
.kachel input:checked + .kachel__body {
  border-color: var(--gruen-700); background: rgba(138, 169, 140, .16);
  box-shadow: inset 0 0 0 1px var(--gruen-700);
}
.kachel__haken {
  margin-left: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(47, 74, 54, .22); display: grid; place-items: center; flex: none;
}
.kachel input:checked + .kachel__body .kachel__haken { background: var(--gruen-800); border-color: var(--gruen-800); }
.kachel__haken svg { width: 11px; height: 11px; color: var(--creme-200); opacity: 0; }
.kachel input:checked + .kachel__body .kachel__haken svg { opacity: 1; }

/* Stil-Karten mit Bild */
.stilkarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.stilkarte { cursor: pointer; position: relative; }
.stilkarte input { position: absolute; opacity: 0; pointer-events: none; }
/* Die Wrapper sind <span>-Elemente im <label> — deshalb display explizit setzen. */
.stilkarte__body {
  display: block;
  border: 1px solid rgba(47, 74, 54, .16); border-radius: var(--r-m); overflow: hidden;
  background: var(--creme-100); transition: border-color .16s, box-shadow .16s, transform .16s;
}
.stilkarte__bild { display: block; aspect-ratio: 4 / 3; background: var(--creme-300); overflow: hidden; }
.stilkarte__bild img { width: 100%; height: 100%; object-fit: cover; }
.stilkarte__text { display: block; padding: 12px 14px; }
.stilkarte__titel { display: block; font-size: 14px; font-weight: 600; }
.stilkarte__sub { display: block; font-size: 12px; color: var(--tinte-40); }
.stilkarte:hover .stilkarte__body { transform: translateY(-2px); box-shadow: var(--schatten-m); }
.stilkarte input:checked + .stilkarte__body { border-color: var(--gruen-700); box-shadow: 0 0 0 2px var(--gruen-700); }

/* Schieberegler */
.regler { width: 100%; accent-color: var(--gruen-700); }
.regler__skala { display: flex; justify-content: space-between; font-size: 12px; color: var(--tinte-40); margin-top: 6px; }

/* Upload-Zonen */
.zone {
  border: 1.5px dashed rgba(47, 74, 54, .28);
  border-radius: var(--r-m);
  background: rgba(252, 251, 246, .7);
  padding: 30px 24px; text-align: center;
  transition: border-color .16s, background .16s;
  cursor: pointer;
}
.zone:hover, .zone.ueber { border-color: var(--gruen-600); background: rgba(138, 169, 140, .14); }
.zone__icon { display: block; width: 38px; height: 38px; margin: 0 auto 12px; color: var(--gruen-600); }
.zone__icon svg { display: block; width: 100%; height: 100%; }
.zone__titel { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.zone__text { font-size: 12.5px; color: var(--tinte-40); }
.zone input[type="file"] { display: none; }

.uploadblock { margin-bottom: 26px; }
.uploadblock__kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.uploadblock__kopf h3 { font-size: 1.05rem; }

.dateien { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.datei { position: relative; border-radius: var(--r-s); overflow: hidden; border: var(--rand); background: var(--creme-100); }
.datei__bild { aspect-ratio: 1; background: var(--creme-300); }
.datei__bild img { width: 100%; height: 100%; object-fit: cover; }
.datei__pdf { aspect-ratio: 1; display: grid; place-items: center; background: var(--creme-300); color: var(--gruen-600); }
.datei__pdf svg { width: 30px; height: 30px; }
.datei__name { font-size: 11px; padding: 7px 8px; color: var(--tinte-60); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.datei__weg {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(27, 48, 36, .72); color: #fff;
  display: grid; place-items: center; opacity: 0; transition: opacity .16s;
}
.datei:hover .datei__weg { opacity: 1; }
.datei__weg svg { width: 11px; height: 11px; }

.zaehler { font-size: 12px; font-weight: 600; }
.zaehler[data-ok="ja"] { color: var(--gruen-600); }
.zaehler[data-ok="nein"] { color: var(--bernstein); }

/* Navigation Fragebogen */
.bogen__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 36px; padding-top: 24px; border-top: var(--rand);
}
.bogen__nav-info { font-size: 12.5px; color: var(--tinte-40); }

/* Zusammenfassung */
.zusammenfassung { display: grid; gap: 2px; }
.zf-zeile { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 13px 0; border-bottom: var(--rand); align-items: start; }
.zf-zeile:last-child { border-bottom: 0; }
.zf-zeile dt { font-size: 13px; color: var(--tinte-40); font-weight: 500; }
.zf-zeile dd { margin: 0; font-size: 14px; }

.erfolg { text-align: center; padding: 60px 20px; }
.erfolg__kreis {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--gruen-800); color: var(--salbei-hell);
  display: grid; place-items: center;
}
.erfolg__kreis svg { width: 32px; height: 32px; }

/* ---------- Projektseite --------------------------------------------------- */

.projektkopf { background: var(--creme-300); border-bottom: var(--rand); padding: 30px 0 0; }
.projektkopf__oben { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.projektkopf__titel h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.projektkopf__meta { display: flex; gap: 16px; font-size: 13px; color: var(--tinte-60); flex-wrap: wrap; align-items: center; }
.projektkopf__meta span { display: inline-flex; align-items: center; gap: 6px; }

.status-kachel {
  display: flex; align-items: center; gap: 16px;
  background: var(--creme-100); border: var(--rand); border-radius: var(--r-m);
  padding: 16px 22px; box-shadow: var(--schatten-s);
}
.status-kachel__zahl { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gruen-800); }
.status-kachel__text { font-size: 12.5px; color: var(--tinte-60); max-width: 15ch; line-height: 1.35; }

.reiter { display: flex; gap: 4px; margin-top: 26px; }
.reiter button {
  font: inherit; font-size: 13.5px; font-weight: 550; color: var(--tinte-60);
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 11px 16px; cursor: pointer; transition: color .16s, border-color .16s;
}
.reiter button:hover { color: var(--gruen-800); }
.reiter button[aria-selected="true"] { color: var(--gruen-900); border-bottom-color: var(--gruen-800); }
.reiter .anzahl {
  display: inline-block; margin-left: 7px; font-size: 11px; font-weight: 650;
  padding: 1px 7px; border-radius: 999px; background: rgba(47, 74, 54, .1);
}

.projekt { padding: 34px 0 90px; }
.projekt__grid { display: grid; grid-template-columns: 244px 1fr; gap: 44px; align-items: start; }

.punktnav { position: sticky; top: 96px; }
.punktnav__titel { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tinte-40); font-weight: 650; margin-bottom: 12px; padding-left: 12px; }
.punktnav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-s);
  font-size: 13.5px; color: var(--tinte-60); text-decoration: none;
  transition: background .16s, color .16s;
}
.punktnav a:hover { background: rgba(47, 74, 54, .06); color: var(--gruen-900); }
.punktnav a.ist-aktiv { background: var(--creme-100); color: var(--gruen-900); font-weight: 600; box-shadow: var(--schatten-s); }
.punktnav .ampel { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ampel--offen { background: var(--bernstein); }
.ampel--beantwortet { background: var(--salbei); }
.ampel--freigabe { background: rgba(47, 74, 54, .25); }
.punktnav__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.punkte { display: grid; gap: 20px; }

.punkt {
  background: var(--creme-100); border: var(--rand); border-radius: var(--r-m);
  overflow: hidden; box-shadow: var(--schatten-s);
  scroll-margin-top: 150px;
}
.punkt[data-status="offen"] { border-color: rgba(181, 130, 46, .42); box-shadow: 0 0 0 1px rgba(181, 130, 46, .13), var(--schatten-s); }

.punkt__kopf { display: flex; align-items: flex-start; gap: 16px; padding: 22px 26px 18px; }
.punkt__nr {
  font-family: var(--serif); font-size: 15px; color: var(--salbei);
  border: 1px solid rgba(138, 169, 140, .5); border-radius: 50%;
  width: 34px; height: 34px; display: grid; place-items: center; flex: none;
}
.punkt__titelbereich { flex: 1; min-width: 0; }
.punkt__kopf h3 { margin-bottom: 3px; }
.punkt__meta { font-size: 12.5px; color: var(--tinte-40); }

.punkt__inhalt { padding: 0 26px 22px; }
.antwortblock {
  background: var(--creme-200); border-radius: var(--r-m); padding: 18px 20px;
  border: 1px solid rgba(47, 74, 54, .09);
}
.antwortblock__label { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--tinte-40); font-weight: 650; margin-bottom: 10px; }
.antwortblock .daten { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 13px; padding: 6px 13px; border-radius: 999px;
  background: var(--creme-100); border: 1px solid rgba(47, 74, 54, .16);
}
.chip--stark { background: var(--gruen-800); color: var(--creme-200); border-color: var(--gruen-800); }

.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 9px; }
.galerie figure { margin: 0; border-radius: var(--r-s); overflow: hidden; border: var(--rand); background: var(--creme-300); position: relative; }
.galerie img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .35s ease; }
.galerie figure:hover img { transform: scale(1.05); }
.galerie figcaption {
  position: absolute; inset: auto 0 0 0; padding: 14px 9px 7px;
  background: linear-gradient(transparent, rgba(27, 48, 36, .8));
  color: #fff; font-size: 11px;
}
.galerie--plan { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.galerie--plan img { aspect-ratio: 4 / 3; object-fit: cover; }

.dateizeile {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--r-s);
  background: var(--creme-100); border: var(--rand);
}
.dateizeile svg { width: 20px; height: 20px; color: var(--gruen-600); flex: none; }
.dateizeile__name { font-size: 13.5px; font-weight: 550; }
.dateizeile__meta { font-size: 12px; color: var(--tinte-40); }

/* Thread */
.thread { border-top: var(--rand); background: rgba(242, 238, 225, .5); padding: 20px 26px 22px; }
.thread__kopf {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--tinte-40); font-weight: 650; margin-bottom: 16px;
}
.thread__kopf svg { width: 14px; height: 14px; }

.nachrichten { display: grid; gap: 14px; margin-bottom: 18px; }
.nachricht { display: flex; gap: 12px; align-items: flex-start; }
.nachricht--eigen { flex-direction: row-reverse; }
.nachricht__blase {
  max-width: 76%; padding: 13px 17px; border-radius: 16px;
  font-size: 14px; line-height: 1.55;
  box-shadow: var(--schatten-s);
}
.nachricht--fremd .nachricht__blase { background: var(--creme-100); border: var(--rand); border-top-left-radius: 5px; }
.nachricht--eigen .nachricht__blase { background: var(--gruen-800); color: var(--creme-200); border-top-right-radius: 5px; }
.nachricht--eigen .nachricht__blase a { color: var(--salbei-hell); }
.nachricht__zeile { display: flex; align-items: baseline; gap: 9px; margin-bottom: 5px; }
.nachricht__autor { font-size: 12.5px; font-weight: 650; }
.nachricht__zeit { font-size: 11px; opacity: .6; }
.nachricht--eigen .nachricht__zeile { justify-content: flex-end; }
.nachricht__blase p { margin-bottom: .6em; }
.nachricht__anhang {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 9px;
  padding: 7px 12px; border-radius: 999px; font-size: 12.5px;
  background: rgba(47, 74, 54, .08); color: var(--gruen-800);
}
.nachricht__anhang svg { width: 13px; height: 13px; }

.frage-hinweis {
  display: flex; align-items: center; gap: 10px;
  background: var(--bernstein-bg); border: 1px solid rgba(181, 130, 46, .3);
  border-radius: var(--r-s); padding: 10px 14px; margin-bottom: 16px;
  font-size: 13px; color: #7d5717; font-weight: 550;
}
.frage-hinweis svg { width: 16px; height: 16px; flex: none; }

/* Antwortfeld */
.schreibfeld {
  background: var(--creme-100); border: 1px solid rgba(47, 74, 54, .2);
  border-radius: var(--r-m); padding: 12px 14px;
  transition: border-color .16s, box-shadow .16s;
}
.schreibfeld textarea {
  width: 100%; border: 0; background: none; resize: none; font: inherit; font-size: 14px;
  line-height: 1.55; min-height: 46px; color: var(--tinte);
}
.schreibfeld textarea:focus { outline: 0; }
.schreibfeld textarea::placeholder { color: var(--tinte-40); }
.schreibfeld__leiste { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.schreibfeld__leiste .btn { margin-left: auto; }
.klammer {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 12.5px; color: var(--tinte-60); padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(47, 74, 54, .18); background: none;
  font-family: inherit; transition: background .16s, border-color .16s;
}
.klammer:hover { background: rgba(47, 74, 54, .06); border-color: rgba(47, 74, 54, .34); }
.klammer svg { width: 14px; height: 14px; }
.klammer input { display: none; }

.erledigt-hinweis {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--gruen-600); font-weight: 550;
}
.erledigt-hinweis svg { width: 15px; height: 15px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 120%);
  background: var(--gruen-900); color: var(--creme-200);
  padding: 13px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 550;
  box-shadow: var(--schatten-l); z-index: 90;
  transition: transform .38s cubic-bezier(.2,.8,.3,1);
  display: flex; align-items: center; gap: 10px;
}
.toast.zeigen { transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--salbei-hell); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(27, 48, 36, .9);
  display: none; place-items: center; padding: 40px;
}
.lightbox[data-offen] { display: grid; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: var(--r-m); box-shadow: var(--schatten-l); }
.lightbox__zu {
  position: absolute; top: 24px; right: 28px; width: 40px; height: 40px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(252, 251, 246, .16); color: #fff; display: grid; place-items: center;
}
.lightbox__zu svg { width: 18px; height: 18px; }

/* ---------- Fuß ------------------------------------------------------------ */

.fuss { border-top: var(--rand); background: var(--gruen-900); color: rgba(244, 241, 232, .72); padding: 44px 0 38px; margin-top: auto; }
.fuss__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.fuss .logo { color: var(--creme-200); }
.fuss .logo__mark { background: rgba(244, 241, 232, .13); }
.fuss .logo__sub { color: var(--salbei); }
.fuss__text { font-size: 12.5px; max-width: 34ch; line-height: 1.6; margin-top: 14px; }
.fuss__links { display: grid; gap: 8px; font-size: 13px; }
.fuss__links a { color: rgba(244, 241, 232, .72); text-decoration: none; }
.fuss__links a:hover { color: var(--creme-200); }
.fuss__mockup { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 241, 232, .4); }

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* ---------- Responsiv ------------------------------------------------------ */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .bogen__grid, .projekt__grid { grid-template-columns: 1fr; gap: 24px; }
  /* Grid-Kinder dürfen nicht mit ihrem Inhalt wachsen — sonst schiebt die
     waagerechte Punktnavigation die ganze Seite auseinander. */
  .bogen__grid > *, .projekt__grid > * { min-width: 0; }
  .schiene, .punktnav {
    position: static; display: flex; overflow-x: auto;
    gap: 6px; padding-bottom: 6px; max-width: 100%;
    scrollbar-width: thin;
  }
  .punktnav__titel { display: none; }
  .punktnav .hr { display: none; }
  .schiene__eintrag, .punktnav a { white-space: nowrap; width: auto; flex: none; }
  .punktnav__label { overflow: visible; }
  .projektkarte { grid-template-columns: 1fr; }
  .projektkarte__bild { height: 180px; }
  .stepper { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: var(--rand); }
  .nav { display: none; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .raster-2, .raster-3, .daten { grid-template-columns: 1fr; }
  .nutzer__text { display: none; }
  .punkt__kopf, .punkt__inhalt, .thread { padding-inline: 18px; }
  .nachricht__blase { max-width: 88%; }
  .zf-zeile { grid-template-columns: 1fr; gap: 4px; }
  .stepper { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: var(--rand); }
}
