/* ============================================================
   EDEL ENTRÜMPELUNG — startseite.css
   ------------------------------------------------------------
   Gilt für index.html und – als gemeinsame Bausteine – für
   ueber-uns.html (dort ergänzt durch ueber-uns.css). Wird nach
   index.css geladen. Alle Klassen tragen das Präfix "nd-" bzw. "hp-",
   damit es keine Überschneidung mit den Klassen gibt, die
   index.css für die übrigen 20 Seiten liefert. index.css wurde
   nicht verändert.

   Aufbau (von oben nach unten):
   1 Hero (dunkles Foto)   2 Kennzahlen-Leiste   3 Leistungskarten
   4 Geschichte (Bild | dunkle Tafel)   5 Ablauf   6 Vorher/Nachher
   7 Kundenstimmen   8 Häufige Fragen   9 Termin-Band
   10 Einzugsgebiete   11 Fussbereich

   Farben wie bisher: Papier, Weiss, Sand, Anthrazit, Orange.
   ============================================================ */

.hp {
  --hp-paper:      #faf7f1;
  --hp-white:      #ffffff;
  --hp-sand:       #f2ede4;

  --hp-ink:        #26241f;
  --hp-ink-2:      #55504a;
  --hp-ink-3:      #6d675e;

  --hp-rule:       #e4ddd1;
  --hp-rule-2:     #d3c9b8;

  --hp-night:      #1c1a17;   /* Hero, Fussbereich (= Grundton der Herobilder) */
  --hp-dark:       #24221e;   /* Leiste, Tafeln */
  --hp-dark-rule:  rgba(250,247,241,0.14);
  --hp-dark-text:  #faf7f1;
  --hp-dark-text2: rgba(250,247,241,0.80);
  --hp-dark-text3: rgba(250,247,241,0.66);

  --hp-accent:     #ff6a00;
  --hp-accent-ink: #a94a06;   /* Orange als Schrift auf hellem Grund */

  --nd-r:          8px;
  --nd-r-sm:       6px;
  --nd-shadow:     0 1px 2px rgba(38,36,31,0.05), 0 10px 28px -12px rgba(38,36,31,0.16);
  --nd-ueberlapp:  clamp(2.5rem, 4vw, 3.75rem);   /* Kennzahlen-Karte ragt in den Hero */
}

/* ---------- Grundlagen ---------- */
.hp { background: var(--hp-paper); color: var(--hp-ink); overflow-x: hidden; }

/* index.css setzt h2/h3 per Elementselektor auf Weiss und
   zentriert h2 mobil. Hier gilt die jeweilige Abschnittsfarbe. */
.hp h1, .hp h2, .hp h3, .hp h4 { color: inherit; }

.nd-wrap { width: min(1280px, 92%); margin-inline: auto; }

.nd-abschnitt { padding: clamp(3.2rem, 6.5vw, 5.5rem) 0; }
.nd-hell  { background: var(--hp-paper); color: var(--hp-ink); }
.nd-weiss { background: var(--hp-white); color: var(--hp-ink); }

.nd .nd-titel {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.14; letter-spacing: -0.022em; font-weight: 700;
  margin: 0; text-wrap: balance; text-align: inherit;
}
.nd .nd-titel--hell { color: var(--hp-dark-text); }

.nd-eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--hp-accent);
}

/* Kopfzeile mit Titel in der Mitte und Link rechts (wie Vorlage) */
.nd-kopfzeile {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  gap: 1rem; margin-bottom: clamp(1.8rem, 3.4vw, 2.6rem);
  text-align: center;
}
.nd-kopfzeile .nd-titel { grid-column: 2; }
.nd-kopfzeile .nd-titel::after,
.nd-kopf-mittig .nd-titel::after {
  content: ""; display: block; width: 44px; height: 3px;
  margin: 0.85rem auto 0; border-radius: 2px; background: var(--hp-accent);
}
.nd-alle {
  grid-column: 3; justify-self: end; margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  color: var(--hp-accent-ink); white-space: nowrap;
}
.nd-alle i { font-size: 0.8em; transition: transform 0.18s ease; }
.nd-alle:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.nd-alle:hover i { transform: translateX(3px); }

.nd-kopf-mittig {
  max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center;
}
.nd-kopf-mittig p {
  margin: 1rem 0 0; font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.6; color: var(--hp-ink-2);
}

.nd-sterne { color: var(--hp-accent-ink); letter-spacing: 0.1em; }

/* ============================================================
   SCHALTFLÄCHEN
   Bewusst ausserhalb der Abschnittsbloecke, damit sie beim
   Ueberarbeiten einzelner Bereiche nicht verloren gehen.
   ============================================================ */
.nd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  border: 2px solid transparent; border-radius: var(--nd-r-sm);
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.nd-btn--voll { background: var(--hp-accent); color: #1f1206; }
.nd-btn--voll:hover { background: #ff8127; transform: translateY(-1px); }
.nd-btn--rand { border-color: rgba(250,247,241,0.7); color: var(--hp-dark-text); background: transparent; }
.nd-btn--rand:hover { background: var(--hp-dark-text); border-color: var(--hp-dark-text); color: var(--hp-ink); }
.nd-btn:focus-visible,
.nd-alle:focus-visible,
.nd-karte:focus-visible,
.nd-stimmen-mehr:focus-visible,
.nd-faq summary:focus-visible,
.nd-fuss a:focus-visible,
.nd-termin-tel:focus-visible {
  outline: 3px solid var(--hp-accent); outline-offset: 3px;
}

/* ============================================================
   1 · HERO
   Das Foto ist in die Bilddatei eingerechnet (rechts, nach
   links in den dunklen Grundton auslaufend). Kein CSS-Verlauf.
   ============================================================ */
.nd-hero {
  position: relative;
  display: flex; align-items: center;
  min-height: clamp(580px, 84svh, 860px);
  padding: calc(90px + clamp(2.5rem, 6vh, 4.5rem)) 0 calc(clamp(3.5rem, 8vh, 5.5rem) + var(--nd-ueberlapp));
  color: var(--hp-dark-text);
  background-color: var(--hp-night);
  background-image: url("assets/opt/hero-dunkel-2000.jpg");
  background-image: image-set(url("assets/opt/hero-dunkel-2000.webp") type("image/webp"), url("assets/opt/hero-dunkel-2000.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
@media (min-width: 1700px) {
  .nd-hero {
    background-image: url("assets/opt/hero-dunkel-2800.jpg");
    background-image: image-set(url("assets/opt/hero-dunkel-2800.webp") type("image/webp"), url("assets/opt/hero-dunkel-2800.jpg") type("image/jpeg"));
  }
}
.nd-hero-text { max-width: 38rem; }

.nd-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 800;
  color: #ffffff; text-wrap: balance;
}
.nd-hero-claim {
  margin: clamp(0.9rem, 1.8vw, 1.25rem) 0 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3;
  font-weight: 600; color: var(--hp-accent);
}
.nd-hero-sub {
  margin: clamp(1rem, 2vw, 1.4rem) 0 0; max-width: 34rem;
  font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.65;
  color: var(--hp-dark-text2);
}
.nd-hero-aktionen {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  margin-top: clamp(1.7rem, 3vw, 2.3rem);
}

/* ============================================================
   2 · KENNZAHLEN-LEISTE
   ============================================================ */
/* Weisse Karte ragt um --nd-ueberlapp in das Hero-Foto hinein;
   der Hero bekommt dafuer unten denselben Betrag zusaetzlich. */
.nd-vertrauen { position: relative; z-index: 2; }
.nd-vertrauen-karte {
  margin-top: calc(-1 * var(--nd-ueberlapp));
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  background: var(--hp-white);
  /* Orangener Balken durchgehend ueber Kennzahlen und Partnerfeld */
  border-top: 3px solid var(--hp-accent);
  border-radius: var(--nd-r);
  box-shadow: 0 2px 4px rgba(28,26,23,0.06), 0 26px 50px -22px rgba(28,26,23,0.38);
  overflow: hidden;
}
.nd-vertrauen-werte {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Subgrid: Werte und Saetze stehen in allen drei Spalten auf
   einer Linie, auch wenn ein Wert zweizeilig wird. */
.nd-vertrauen-werte { grid-template-rows: auto auto; }
.nd-vertrauen-werte li {
  display: grid; grid-row: span 2; grid-template-rows: subgrid;
  align-content: start;
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.2rem, 2.4vw, 2.2rem);
  border-left: 1px solid var(--hp-rule);
}
.nd-vertrauen-werte li:first-child { border-left: 0; }
.nd-v-wert {
  margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.6rem;
  font-size: clamp(1.55rem, 2.3vw, 2rem); font-weight: 800;
  line-height: 2.4rem; letter-spacing: -0.02em; color: var(--hp-ink);
}
.nd-v-wert--wort { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.nd-v-sterne { font-size: 0.95rem; letter-spacing: 0.06em; color: var(--hp-accent-ink); }
.nd-v-text { margin: 0.35rem 0 0; font-size: 0.9rem; line-height: 1.45; color: var(--hp-ink-2); }

.nd-vertrauen-partner {
  display: flex; flex-direction: column; justify-content: center; gap: 0.85rem;
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.6rem, 3vw, 2.8rem);
  /* VON-POLL-Blau aus dem Originallogo (assets/von-poll-immobilien.jpg) */
  background: #022b4b; color: #ffffff;
}
.nd-v-label {
  margin: 0; font-size: 0.72rem; font-weight: 700; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72);
}
.hp-partner-logo {
  display: block; width: auto; max-width: 100%;
  height: clamp(2.4rem, 3.2vw, 2.9rem);
}

/* ============================================================
   3 · LEISTUNGEN ALS KARTEN
   ============================================================ */
.nd-karten {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.nd-karte {
  display: flex; flex-direction: column;
  background: var(--hp-white); color: var(--hp-ink); text-decoration: none;
  border: 1px solid var(--hp-rule); border-radius: var(--nd-r);
  overflow: hidden; box-shadow: var(--nd-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nd-karte:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(38,36,31,0.06), 0 18px 36px -14px rgba(38,36,31,0.26); }
.nd-karte picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hp-sand); }
.nd-karte img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.nd-karte:hover img { transform: scale(1.03); }
.nd-karte-text {
  position: relative; flex: 1;
  display: flex; flex-direction: column;
  padding: 1.15rem 1.2rem 1.2rem;
}
.nd-karte h3 { margin: 0; font-size: 1.1rem; line-height: 1.25; font-weight: 700; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.nd-karte-text p { margin: 0.4rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--hp-ink-2); }
.nd-karte .nd-karte-preis {
  margin-top: auto; padding-top: 0.95rem; padding-right: 2.8rem;
  font-size: 1.05rem; font-weight: 800; color: var(--hp-ink); letter-spacing: -0.01em;
}
.nd-karte-preis span {
  display: block; margin-bottom: 0.1rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--hp-ink-3);
}
.nd-karte-pfeil {
  position: absolute; right: 1.1rem; bottom: 1.15rem;
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--hp-rule-2); border-radius: 50%;
  color: var(--hp-accent-ink); font-size: 0.85rem;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nd-karte:hover .nd-karte-pfeil { background: var(--hp-accent); border-color: var(--hp-accent); color: #1f1206; }
/* Platz fuer den Pfeil unten rechts */
.nd-karte-text { padding-bottom: 4rem; }

/* Fuenf Karten in einer Reihe erst ab 1440 px: dann passt auch
   "Dachbodenentrümpelung" ohne Silbentrennung in die Karte */
@media (min-width: 1440px) {
  .nd-karte h3 { font-size: 0.95rem; }
  .nd-karte-text { padding-left: 0.9rem; padding-right: 0.9rem; }
}
/* Dazwischen: oben drei, unten zwei Karten, beide Reihen buendig */
@media (min-width: 1200px) and (max-width: 1439px) {
  .nd-karten { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .nd-karte { grid-column: span 2; }
  .nd-karte:nth-child(n+4) { grid-column: span 3; }
  .nd-karte:nth-child(n+4) picture { aspect-ratio: 16 / 9; }
}

.nd-fussnote {
  max-width: 52rem; margin: clamp(1.4rem, 2.6vw, 2rem) auto 0;
  text-align: center; font-size: 0.86rem; line-height: 1.55; color: var(--hp-ink-3);
}
.nd-fussnote a { color: var(--hp-accent-ink); font-weight: 600; }

/* ============================================================
   4 · GESCHICHTE — Bild links, dunkle Tafel rechts
   ============================================================ */
.nd-band-box { padding: 0 0 clamp(3.2rem, 6.5vw, 5.5rem); }
.nd-band-box--ende { padding-top: clamp(3.2rem, 6.5vw, 5.5rem); }

.nd-geschichte {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  border-radius: var(--nd-r); overflow: hidden;
  background: var(--hp-dark); color: var(--hp-dark-text);
  box-shadow: var(--nd-shadow);
}
.nd-geschichte-bild { position: relative; margin: 0; min-height: 320px; }
.nd-geschichte-bild picture,
.nd-geschichte-bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.nd-geschichte-bild img { object-fit: cover; object-position: 50% 55%; }

.nd-geschichte-tafel {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.8rem); align-items: center;
  padding: clamp(2rem, 4vw, 3.4rem);
}
.nd-geschichte-text > p:not(.nd-eyebrow) {
  margin: 1rem 0 0; font-size: 1rem; line-height: 1.65; color: var(--hp-dark-text2);
}
.nd-signatur {
  display: flex; align-items: center; gap: 0.9rem;
  margin: 1.4rem 0 1.6rem; padding: 0.95rem 0 0;
  border-top: 1px solid var(--hp-dark-rule);
}
.nd-signatur img {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%;
  background: var(--hp-sand); border: 2px solid rgba(255,106,0,0.8);
}
.nd-signatur p { margin: 0; font-size: 0.95rem; line-height: 1.5; font-style: italic; color: var(--hp-dark-text); }
.nd-signatur footer { margin-top: 0.3rem; font-size: 0.8rem; font-weight: 700; color: var(--hp-dark-text3); }

.nd-haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
.nd-haken li {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.97rem; font-weight: 600; line-height: 1.35; color: var(--hp-dark-text);
}
.nd-haken i {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,106,0,0.55); color: var(--hp-accent); font-size: 0.95rem;
}

/* ============================================================
   5 · ABLAUF — runde Symbole, gepunktete Verbindung
   ============================================================ */
.nd-schritte {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nd-schritte li {
  position: relative; text-align: center;
  padding: 0 clamp(0.6rem, 1.6vw, 1.4rem);
}
.nd-schritte li:not(:last-child)::after {
  content: ""; position: absolute; top: 39px; height: 0;
  left: calc(50% + 52px); right: calc(-50% + 52px);
  border-top: 2px dotted var(--hp-rule-2);
}
.nd-kreis {
  display: grid; place-items: center; margin: 0 auto 1.3rem;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--hp-dark); color: var(--hp-accent); font-size: 1.5rem;
  box-shadow: 0 0 0 6px var(--hp-white), 0 0 0 7px var(--hp-rule);
}
.nd-schritte h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; font-weight: 700; }
.nd-schritte h3 span { color: var(--hp-accent-ink); margin-right: 0.15rem; }
.nd-schritte p { margin: 0.55rem auto 0; max-width: 30ch; font-size: 0.93rem; line-height: 1.6; color: var(--hp-ink-2); }

.nd-mittig-link { margin: clamp(2rem, 4vw, 2.8rem) 0 0; text-align: center; }
.nd-mittig-link a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--hp-accent-ink); text-decoration: none;
}
.nd-mittig-link a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ============================================================
   6 · VORHER / NACHHER
   ============================================================ */
.nd-dunkel { background: var(--hp-night); color: var(--hp-dark-text); }
.nd-dunkel .nd-kopf-mittig p { color: var(--hp-dark-text2); }
.nd-dunkel .nd-kopf-mittig .nd-titel::after { background: var(--hp-accent); }

.nd-ba {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.8rem);
}
.nd-ba-karte {
  background: var(--hp-dark); border: 1px solid var(--hp-dark-rule);
  border-radius: var(--nd-r); overflow: hidden;
}
.nd-ba-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.nd-ba-paar figure { position: relative; margin: 0; }
.nd-ba-paar picture { display: block; aspect-ratio: 4 / 3; }
.nd-ba-paar img { width: 100%; height: 100%; object-fit: cover; }
.nd-ba-paar figcaption {
  position: absolute; left: 0.7rem; bottom: 0.7rem;
  padding: 0.25rem 0.7rem; border-radius: 3px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(28,26,23,0.82); color: var(--hp-dark-text);
}
.nd-ba-paar figure:last-child figcaption { background: var(--hp-accent); color: #1f1206; }
.nd-ba-karte h3 {
  margin: 0; padding: 1rem 1.2rem 1.15rem;
  font-size: 1.1rem; font-weight: 700; color: var(--hp-dark-text);
}
.nd-ba-note {
  margin: clamp(1.4rem, 2.6vw, 2rem) 0 0; text-align: center;
  font-size: 0.86rem; color: var(--hp-dark-text3);
}
.nd-ba-note a { color: var(--hp-accent); font-weight: 600; text-decoration: none; }
.nd-ba-note a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ============================================================
   FOTO-BAUSTEIN
   Eingefasstes Bild mit optionaler Beschriftung. Liegt hier,
   weil startseite.css von allen Seiten geladen wird.
   ============================================================ */
.nd-foto {
  position: relative; margin: 0 0 clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--hp-rule); border-radius: var(--nd-r);
  overflow: hidden; background: var(--hp-sand); box-shadow: var(--nd-shadow);
}
.nd-foto picture { display: block; aspect-ratio: 4 / 3; }
.nd-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nd-foto figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--hp-dark); color: var(--hp-dark-text);
  border-top-right-radius: var(--nd-r);
}
.nd-foto--nachher figcaption { background: var(--hp-accent); color: #1f1206; }

/* ============================================================
   7 · KUNDENSTIMMEN — Raster, weitere Karten zum Aufklappen
   ============================================================ */
/* Zugeklappt endet die Huelle mitten in der dritten Reihe; ein Verlauf
   blendet die angeschnittenen Karten zum Seitenhintergrund aus. */
.nd-stimmen-huelle { position: relative; transition: max-height 0.35s ease; }
.nd-stimmen-huelle--zu { overflow: hidden; }
.nd-stimmen-huelle--zu::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(96px, 13vw, 150px); pointer-events: none;
  background: linear-gradient(to bottom, rgba(250,247,241,0) 0%, var(--hp-paper) 82%);
}
@media (prefers-reduced-motion: reduce) {
  .nd-stimmen-huelle { transition: none; }
}

.nd-stimmen {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem); align-items: stretch;
}
.nd-stimmen > li { display: flex; }
/* display auf Karte und Knopf wuerde hidden aushebeln – hier ausdruecklich */
.nd-stimmen > li[hidden] { display: none; }
.nd-stimme {
  position: relative; flex: 1;
  display: flex; flex-direction: column; margin: 0;
  padding: 1.6rem 1.6rem 1.5rem;
  background: var(--hp-white); border: 1px solid var(--hp-rule);
  border-radius: var(--nd-r); box-shadow: var(--nd-shadow);
}
.nd-stimme-zeichen { position: absolute; top: 1.45rem; right: 1.5rem; font-size: 1.6rem; color: var(--hp-rule-2); }
.nd-stimme .nd-sterne { font-size: 1rem; }
.nd-stimme p { margin: 0.8rem 0 0; font-size: 0.96rem; line-height: 1.65; color: var(--hp-ink-2); }
.nd-stimme footer {
  margin-top: auto; padding-top: 1.1rem;
  font-size: 0.92rem; font-weight: 700; color: var(--hp-ink);
}

.nd-stimmen-aktion { margin: clamp(1.4rem, 2.6vw, 2rem) 0 0; text-align: center; }
.nd-stimmen-mehr { border-color: var(--hp-rule-2); color: var(--hp-ink); background: var(--hp-white); }
.nd-btn[hidden] { display: none; }
.nd-stimmen-mehr:hover { background: var(--hp-ink); border-color: var(--hp-ink); color: var(--hp-paper); }
.nd-stimmen-mehr i { font-size: 0.8em; }

/* ============================================================
   7 · HÄUFIGE FRAGEN
   ============================================================ */
.nd-faq {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem clamp(1rem, 2vw, 1.5rem); align-items: start;
}
.nd-faq details {
  background: var(--hp-paper); border: 1px solid var(--hp-rule);
  border-radius: var(--nd-r-sm);
}
.nd-faq details[open] { background: var(--hp-white); box-shadow: var(--nd-shadow); }
.nd-faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.05rem 3.2rem 1.05rem 1.2rem; min-height: 56px;
  font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--hp-ink);
}
.nd-faq summary::-webkit-details-marker { display: none; }
.nd-faq summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--hp-rule-2); color: var(--hp-accent-ink);
  font-size: 1.1rem; font-weight: 500; line-height: 1;
}
.nd-faq details[open] summary::after { content: "\2212"; }
.nd-faq details p {
  margin: 0; padding: 0 1.2rem 1.15rem;
  font-size: 0.95rem; line-height: 1.65; color: var(--hp-ink-2);
}
.nd-faq details a { color: var(--hp-accent-ink); font-weight: 600; }

/* ============================================================
   8 · TERMIN-BAND
   ============================================================ */
.nd-termin {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) auto;
  align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem);
  border-radius: var(--nd-r); overflow: hidden;
  background: var(--hp-dark); color: var(--hp-dark-text);
  box-shadow: var(--nd-shadow);
}
.nd-termin-bild { position: relative; align-self: stretch; margin: 0; min-height: 220px; }
.nd-termin-bild picture,
.nd-termin-bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.nd-termin-bild img { object-fit: cover; }
/* Logo statt Foto: Das Band bleibt so flach wie zuvor, der Kasten
   leitet seine Breite aus der Bandhoehe ab und bleibt quadratisch. */
.nd-termin--logo { grid-template-columns: auto minmax(0, 1.25fr) auto; }
.nd-termin-bild--logo {
  align-self: stretch; min-height: 220px; aspect-ratio: 1 / 1;
  background: var(--hp-night);   /* Logo hat weisse Schrift, braucht dunklen Grund */
}
.nd-termin-bild--logo img {
  box-sizing: border-box; padding: clamp(1rem, 2.2vw, 1.8rem);
  object-fit: contain;
}
.nd-termin-text { display: flex; align-items: center; gap: 1.3rem; padding-block: 2rem; }
.nd-termin-icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,106,0,0.12); border: 1px solid rgba(255,106,0,0.5);
  color: var(--hp-accent); font-size: 1.6rem;
}
.nd .nd-termin .nd-titel { font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.nd-termin-text p { margin: 0.5rem 0 0; font-size: 0.98rem; line-height: 1.55; color: var(--hp-dark-text2); }
.nd-termin-aktion {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  padding: 2rem clamp(1.5rem, 3vw, 2.6rem) 2rem 0;
}
.nd-termin-tel {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.95rem; font-weight: 600; color: var(--hp-dark-text); text-decoration: none;
}
.nd-termin-tel i { color: var(--hp-accent); font-size: 0.85em; }
.nd-termin-tel:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ============================================================
   10 · EINZUGSGEBIETE
   ============================================================ */
/* Drei gleich breite Spalten: zwei Kachelspalten und die Kontaktkarte.
   align-items: stretch haelt alle drei oben und unten buendig. */
.nd-gebiete {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem); align-items: stretch;
}
.nd-gebiet-liste { grid-column: span 2; }
.nd-gebiet-liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.2rem, 2.4vw, 2rem); row-gap: 0.8rem;
}
.nd-gebiet-liste a,
.nd-gebiet-ohne {
  display: flex; align-items: center; gap: 0.7rem; min-height: 56px;
  padding: 0.8rem 1rem; border: 1px solid var(--hp-rule); border-radius: var(--nd-r-sm);
  background: var(--hp-paper); color: var(--hp-ink); text-decoration: none;
  font-size: 0.97rem; font-weight: 600; line-height: 1.3;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.nd-gebiet-liste a > i:first-child,
.nd-gebiet-ohne > i:first-child { flex: 0 0 auto; color: var(--hp-accent-ink); font-size: 0.95rem; }
.nd-gebiet-liste a > span,
.nd-gebiet-ohne > span { flex: 1; }
/* Orte ohne eigene Unterseite: gleiche Kachel, nur ohne Verweis */
.nd-gebiet-ohne { cursor: default; }
.nd-gebiet-pfeil { flex: 0 0 auto; font-size: 0.8rem; color: var(--hp-ink-3); transition: transform 0.18s ease, color 0.18s ease; }
.nd-gebiet-liste a:hover { border-color: var(--hp-accent); background: var(--hp-white); transform: translateY(-2px); }
.nd-gebiet-liste a:hover .nd-gebiet-pfeil { transform: translateX(3px); color: var(--hp-accent-ink); }
.nd-gebiet-liste a:focus-visible { outline: 3px solid var(--hp-accent); outline-offset: 3px; }
/* Achtes Feld: Anfrage fuer Orte ausserhalb der Liste */
.nd-gebiet-liste .nd-gebiet-frage {
  background: var(--hp-accent); border-color: var(--hp-accent); color: #1f1206; font-weight: 700;
}
.nd-gebiet-liste .nd-gebiet-frage > i:first-child,
.nd-gebiet-liste .nd-gebiet-frage .nd-gebiet-pfeil { color: #1f1206; }
.nd-gebiet-liste .nd-gebiet-frage:hover { background: #ff8127; border-color: #ff8127; }



.nd-gebiet-info {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--hp-dark); color: var(--hp-dark-text);
  border-radius: var(--nd-r); box-shadow: var(--nd-shadow);
}
.nd-gebiet-info h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.nd-gebiet-info address {
  margin: 0.6rem 0 1rem; font-style: normal;
  font-size: 0.95rem; line-height: 1.6; color: var(--hp-dark-text2);
}
.nd-gebiet-info ul { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 0.6rem; }
/* Nur die Kontaktlinks einfärben – der Button behält seine eigene Schriftfarbe */
.nd-gebiet-info ul a { color: var(--hp-dark-text); text-decoration: none; font-size: 0.93rem; overflow-wrap: anywhere; }
.nd-gebiet-info ul i { width: 1.1rem; margin-right: 0.4rem; color: var(--hp-accent); font-size: 0.85em; }
.nd-gebiet-info ul a:hover { color: var(--hp-accent); }
.nd-gebiet-info .nd-btn { width: 100%; }

/* ============================================================
   11 · FUSSBEREICH
   Markenspalte mit Logo, drei Linkspalten, Schlusszeile.
   ============================================================ */
.nd-fuss {
  background: var(--hp-night); color: var(--hp-dark-text2);
  border-top: 3px solid var(--hp-accent);
}
.nd-fuss-oben {
  display: grid;   /* Vier gleich breite Spalten */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.2vw, 2.2rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.4rem, 4vw, 3.2rem);
}

/* ---- Markenspalte: grosses Logo, darunter Kontakt, vertikal mittig ---- */
.nd-fuss-marke {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.nd-fuss-logo { display: inline-block; }
.nd-fuss-logo img { display: block; width: 260px; max-width: 100%; height: auto; }
.nd-fuss-draht {
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  display: grid; justify-items: center; gap: 1rem;
}
.nd-fuss-draht a {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.95rem; font-weight: 600; color: var(--hp-dark-text);
  text-decoration: none; overflow-wrap: anywhere;
}
.nd-fuss-draht i {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--hp-dark-rule); color: var(--hp-accent); font-size: 0.8rem;
}
.nd-fuss-draht a:hover { color: var(--hp-accent); }
/* E-Mail-Adresse bleibt immer in einer Zeile */
.nd-fuss-mail { white-space: nowrap; }
@media (max-width: 379px) {
  .nd-fuss .nd-fuss-draht a:not(.nd-btn) { font-size: 0.85rem; gap: 0.55rem; }
}
.nd-fuss-draht a:hover i { border-color: var(--hp-accent); }

.nd-sozial { display: flex; justify-content: center; gap: 0.7rem; margin: 1.6rem 0 0; }
.nd-sozial a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hp-dark-rule); font-size: 1.05rem; color: var(--hp-dark-text);
  text-decoration: none; transition: border-color 0.18s ease, color 0.18s ease;
}
.nd-sozial a:hover { border-color: var(--hp-accent); color: var(--hp-accent); }
/* Social-Symbole als SVG: die Brands-Schrift (ca. 100 KB) wird nicht mehr geladen */
.nd-sozial-icon { width: 1.05rem; height: 1.05rem; fill: currentColor; }

@media (min-width: 1440px) {
  /* Trennlinie mittig in der Spaltenluecke, damit die Markenspalte nicht schmaler wird */
  .nd-fuss-marke { position: relative; }
  .nd-fuss-marke::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 1px;
    right: calc(clamp(1.5rem, 2.2vw, 2.2rem) / -2); background: var(--hp-dark-rule);
  }
  /* Kontaktzeilen kompakter, damit die E-Mail-Adresse einzeilig in die Spalte passt */
  .nd-fuss .nd-fuss-draht a:not(.nd-btn) { font-size: 0.76rem; gap: 0.5rem; }
  .nd-fuss-draht i { width: 28px; height: 28px; font-size: 0.72rem; }
  .nd-fuss .nd-fuss-spalte li > a { font-size: 0.87rem; }   /* passt auch "Entrümpelung Rothenburg ob der Tauber" in eine Zeile */
}
/* Unter 1440 px: Markenblock zentriert ueber den drei Linkspalten */
@media (max-width: 1439px) {
  .nd-fuss-oben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nd-fuss-marke { grid-column: 1 / -1; padding-bottom: 2.2rem; border-bottom: 1px solid var(--hp-dark-rule); }
}
@media (max-width: 759px) {
}

/* ---- Linkspalten ---- */
.nd .nd-fuss h2 {
  margin: 0 0 1.2rem; padding-bottom: 0.7rem;
  font-size: 0.78rem; line-height: 1.3;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  text-align: center; color: #ffffff;
  border-bottom: 1px solid var(--hp-dark-rule);
}
/* Jede Linkspalte fuer sich zentriert */
.nd-fuss-spalte { text-align: center; }
.nd-fuss-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; justify-items: center; gap: 0.55rem; }
/* Schaltflaechen behalten ihre eigene Schriftfarbe */
.nd-fuss a:not(.nd-btn) {
  color: var(--hp-dark-text2); text-decoration: none;
  font-size: 0.93rem; line-height: 1.45;
}
.nd-fuss-spalte li > a { display: inline-block; transition: color 0.16s ease; }
.nd-fuss-spalte li > a:hover { color: var(--hp-accent); }
/* Social-Buttons: eigene Regel, damit die Textlink-Regeln der Spalte
   die Kreis-Zentrierung nicht ueberschreiben */
.nd-fuss .nd-sozial a {
  display: grid; place-items: center; width: 42px; height: 42px;
  font-size: 1.05rem; line-height: 1; color: var(--hp-dark-text);
}
.nd-fuss .nd-sozial a:hover { color: var(--hp-accent); }
.nd-fuss-hinweis {
  margin-top: 0.4rem; font-size: 0.85rem; line-height: 1.5; color: var(--hp-dark-text3);
  text-wrap: balance;
}

/* ---- Schlusszeile ---- */
.nd-fuss-unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.6rem 1.5rem; padding: 1.3rem 0 1.6rem;
  border-top: 1px solid var(--hp-dark-rule);
}
.nd-fuss-unten p { margin: 0; font-size: 0.85rem; color: var(--hp-dark-text3); }
.nd-fuss-recht { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; }
.nd-fuss-recht a { font-size: 0.85rem; color: var(--hp-dark-text2); }
.nd-fuss-recht a:hover { color: var(--hp-accent); }
.nd-fuss-hoch { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.nd-fuss-hoch i { font-size: 0.75em; }
.nd-fuss a:focus-visible { outline: 3px solid var(--hp-accent); outline-offset: 3px; }

/* ============================================================
   SPRUNGLINK
   ============================================================ */
.hp-skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  z-index: 2000; background: var(--hp-accent); color: #241205;
  padding: 0.7rem 1.2rem; border-radius: 0 0 6px 6px;
  font-weight: 700; text-decoration: none; transition: transform 0.16s ease;
}
.hp-skip:focus { transform: translate(-50%, 0); }

/* ============================================================
   EINBLENDUNG — Ruhezustand ist sichtbar
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hp-fade { animation: hp-fade-in 0.45s ease-out both; }
  .hp-fade--2 { animation-delay: 0.07s; }
  .hp-fade--3 { animation-delay: 0.14s; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-karte, .nd-karte img, .nd-btn { transition: none; }
}
@keyframes hp-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   BIS 1199 px
   ============================================================ */
@media (max-width: 1199px) {
  .nd-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Die fuenfte Karte hat jetzt ein Foto und sieht aus wie die anderen */
  .nd-vertrauen-karte { grid-template-columns: 1fr; }
  .nd-vertrauen-partner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
  .hp-partner-logo { height: 2.2rem; }
  .nd-geschichte { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .nd-geschichte-tafel { grid-template-columns: 1fr; }
  .nd-haken { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 1.4rem; border-top: 1px solid var(--hp-dark-rule); }
  .nd-stimmen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-termin { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
  .nd-termin--logo { grid-template-columns: auto minmax(0, 1fr); }
  .nd-termin-bild { grid-row: span 2; }
  .nd-termin-bild--logo { grid-row: span 2; align-self: center; }
  .nd-termin-aktion { grid-column: 2; align-items: flex-start; padding: 0 2rem 2rem 0; margin-top: -1rem; }
  .nd-fuss-oben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   BIS 999 px — Hero mit Hochformatbild, Text darunter
   ============================================================ */
@media (max-width: 999px) {
  .nd-hero {
    display: block; min-height: 0;
    /* Bild 900 x 1300: Text beginnt bei ~40 % der Bildhöhe,
       dort ist das Foto bereits weitgehend in den Grundton übergegangen. */
    padding: 58vw 0 calc(clamp(2.6rem, 7vw, 3.5rem) + var(--nd-ueberlapp));
    background-image: url("assets/opt/hero-dunkel-hoch.jpg");
    background-image: image-set(url("assets/opt/hero-dunkel-hoch.webp") type("image/webp"), url("assets/opt/hero-dunkel-hoch.jpg") type("image/jpeg"));
    background-size: 100% auto;
    background-position: center top;
  }
  .nd-hero-text { max-width: 40rem; }
  .nd-ba { grid-template-columns: 1fr; }
  .nd-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.6rem; }
  .nd-schritte li:nth-child(2)::after { display: none; }
  .nd-geschichte { grid-template-columns: 1fr; }
  .nd-geschichte-bild { min-height: 0; aspect-ratio: 16 / 10; }
  .nd-geschichte-bild img { object-position: 50% 62%; }
  .nd-faq { grid-template-columns: 1fr; }
  .nd-ba-karte h3 { padding: 0.9rem 1rem 1rem; }
  .nd-gebiete { grid-template-columns: 1fr; }
  .nd-gebiet-liste { grid-column: auto; }
  .nd-gebiet-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   BIS 759 px
   ============================================================ */
@media (max-width: 759px) {
  .nd-kopfzeile { grid-template-columns: 1fr; gap: 0.9rem; }
  .nd-kopfzeile .nd-titel { grid-column: 1; }
  .nd-alle { grid-column: 1; justify-self: center; margin: 0; }
  .nd-stimmen { grid-template-columns: 1fr; }
  .nd-termin, .nd-termin--logo { grid-template-columns: 1fr; gap: 0; }
  .nd-termin-bild { grid-row: auto; min-height: 0; aspect-ratio: 16 / 8; }
  .nd-termin-bild--logo { aspect-ratio: 16 / 9; }
  .nd-termin-text { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.7rem 1.4rem 0; }
  .nd-termin-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .nd-termin-aktion { grid-column: 1; margin: 0; padding: 1.4rem; align-items: stretch; }
  .nd-termin-aktion .nd-btn { width: 100%; }
  .nd-termin-tel { justify-content: center; }
  .nd-haken { grid-template-columns: 1fr; }
}

/* ============================================================
   BIS 639 px — Telefon
   ============================================================ */
@media (max-width: 639px) {
  .nd-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .nd-hero-aktionen { flex-direction: column; }
  .nd-hero-aktionen .nd-btn { width: 100%; }

  /* Kennzahlen 2 + 1, Partnerfeld als Zeile darunter */
  .nd-vertrauen-werte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-vertrauen-werte li { padding: 1.15rem 1.1rem 1.2rem; }
  .nd-vertrauen-werte li:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hp-rule); }
  .nd-v-wert { font-size: 1.5rem; line-height: 2rem; }
  .nd-v-wert--wort { font-size: 1.3rem; }
  .nd-v-sterne { font-size: 0.8rem; }
  .nd-v-text { font-size: 0.84rem; }
  .nd-vertrauen-partner { padding: 0.95rem 1.1rem; }
  .nd-v-label { font-size: 0.66rem; letter-spacing: 0.1em; }
  .hp-partner-logo { height: 1.85rem; }

  /* Karten als Querformat-Zeilen, damit die Seite nicht zu lang wird */
  .nd-karten { grid-template-columns: 1fr; gap: 0.85rem; }
  .nd-karte { flex-direction: row; }
  .nd-karte picture { flex: 0 0 32%; aspect-ratio: auto; }
  .nd-karte-text { min-width: 0; padding: 0.95rem 1rem; }
  .nd-karte-text { padding-bottom: 3.2rem; }
  .nd-karte h3 { font-size: 0.98rem; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .nd-karte-text p { font-size: 0.85rem; }
  .nd-karte .nd-karte-preis { padding-top: 0.6rem; font-size: 0.98rem; }
  .nd-karte-pfeil { width: 32px; height: 32px; right: 0.85rem; bottom: 0.9rem; }

  .nd-geschichte-tafel { padding: 1.7rem 1.35rem 1.9rem; }
  .nd-geschichte-text .nd-btn { width: 100%; }

  .nd-schritte { grid-template-columns: 1fr; row-gap: 0; }
  .nd-schritte li {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 1.1rem;
    text-align: left; padding: 0 0 1.8rem;
  }
  .nd-schritte li:last-child { padding-bottom: 0; }
  .nd-schritte li:not(:last-child)::after {
    display: block; top: 72px; bottom: 6px; left: 31px; right: auto;
    height: auto; border-top: 0; border-left: 2px dotted var(--hp-rule-2);
  }
  .nd-kreis { grid-row: span 2; width: 64px; height: 64px; margin: 0; font-size: 1.2rem; box-shadow: none; }
  .nd-schritte h3 { align-self: end; padding-top: 0.4rem; }
  .nd-schritte p { margin: 0.35rem 0 0; max-width: none; }

  .nd-stimme { padding: 1.35rem 1.25rem 1.25rem; }
  .nd-faq summary { font-size: 0.96rem; padding-left: 1rem; }
  .nd-faq details p { padding-inline: 1rem; }

  .nd-gebiet-liste { grid-template-columns: 1fr; gap: 0.55rem; }
  .nd-gebiet-liste a, .nd-gebiet-ohne { min-height: 50px; padding: 0.7rem 0.9rem; }

  .nd-fuss-oben { grid-template-columns: 1fr; gap: 2rem; }
  .nd-fuss-logo img { width: 230px; }
  /* Schlusszeile am Handy ebenfalls mittig, passend zu den Spalten */
  .nd-fuss-unten { flex-direction: column; align-items: center; text-align: center; }
  .nd-fuss-recht { justify-content: center; }
}
