/* ═══════════════════════════════════════════════════════════════════
   HE Service-Template CSS — Schema v1.4 §13 Design-System
   Zentrales Styling für alle Service-Seiten
   Liest CSS-Variablen aus handwerkeasy.css (--g, --gd, --gm, --gl, ...)
   ═══════════════════════════════════════════════════════════════════ */

/* Highlight-Grün (Hero auf dunklem BG) — lokal definiert */
:root {
  --gruen-soft: #56f08d;
  --container-wide: 1680px;
  --container-text: 1200px;
}

/* ═══════════ BASE / RESET ═══════════ */
.svc-page {
  font-family: var(--font-body, "Nunito", system-ui, -apple-system, sans-serif);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ═══════════ CONTAINER-SYSTEM (§13.3) ═══════════
   Stufe 1: Full-bleed (BG durchläuft 100%)
   Stufe 2: Inner 1680px — Hero, Rechner, Vertrauen, Header, Footer
   Stufe 3: Inner 1140-1200px — Leistungen, Bewertungen, Recht, FAQ, CTA-Final
   ═══════════════════════════════════════════════════ */

.svc-section {
  width: 100%;
  position: relative;
}

.svc-section-inner--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

.svc-section-inner--text {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ═══════════ SECTION-HEADER-PATTERN (§13.4) ═══════════
   Eyebrow + Headline + Intro — alles zentriert
   Pflicht für alle Pflicht-Sections außer Calc-Container, CTA-Final, Footer
   ═══════════════════════════════════════════════════════════ */

.svc-section-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.svc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 16px;
}

.svc-section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.svc-section-intro {
  font-size: 15px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ═══════════ HERO (§13.6 Pattern A) ═══════════ */

.svc-hero {
  background: var(--g);
  color: var(--white);
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.svc-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gruen-soft);
  margin-bottom: 24px;
  opacity: 0.95;
}

.svc-hero-title {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.svc-hero-title-line {
  display: block;
}

.svc-hero-title-line--highlight {
  color: var(--gruen-soft);
}

.svc-hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 400;
  color: var(--white);
  opacity: 0.88;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.svc-hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0 0 36px;
  padding: 0;
}

.svc-hero-trust li {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.svc-hero-trust-check {
  color: var(--gruen-soft);
  font-weight: 800;
}

.svc-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--g);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--rs, 8px);
  text-decoration: none;
  box-shadow: var(--shadow-lg, 0 20px 48px rgba(0,83,25,.14));
  transition: background 160ms ease, transform 160ms ease;
}

.svc-hero-cta:hover,
.svc-hero-cta:focus {
  background: var(--gl);
  transform: translateY(-1px);
}

.svc-hero-cta-arrow {
  font-size: 18px;
  transition: transform 200ms ease;
}

.svc-hero-cta:hover .svc-hero-cta-arrow {
  transform: translateY(2px);
}

/* ═══════════ RECHNER-SECTION (eigene starke Inszenierung) ═══════════ */

.svc-rechner {
  background: var(--gl);
  padding: clamp(56px, 8vw, 96px) 0;
  /* S23 Item 8: Sticky-Header-Offset beim Anchor-Scroll von Hero-CTA + CTA-Final.
     Desktop = ~138px Header. Mobile/Tablet = nur Stepper-Bar sichtbar (im Calc-Bereich). */
  scroll-margin-top: 150px;
}
@media (max-width: 1023px) {
  .svc-rechner {
    scroll-margin-top: 64px;
  }
}

.svc-rechner-container {
  /* Volle Section-Wide-Breite wie Vertrauen-Section (kein eigenes max-width).
     Outer .svc-section-inner--wide begrenzt schon auf 1680px + clamp-Padding. */
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0, 83, 25, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-md, 0 8px 28px rgba(0,83,25,.11));
  padding: clamp(24px, 3.5vw, 40px);
  box-sizing: border-box;
}

/* ═══════════ LEISTUNGEN ═══════════ */

.svc-leistungen {
  background: var(--white);
  padding: clamp(56px, 8vw, 96px) 0;
}

.svc-leistungen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 768px) {
  .svc-leistungen-grid { grid-template-columns: 1fr; }
}

.svc-leistungen-col {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 36px);
}

.svc-leistungen-col--optional {
  background: #fff7ed;
  border-color: #fed7aa;
}

.svc-leistungen-col-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--g);
  margin-bottom: 16px;
}

.svc-leistungen-col--optional .svc-leistungen-col-title {
  color: #c2410c;
}

.svc-leistungen-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-leistungen-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.svc-leistungen-icon {
  flex-shrink: 0;
  font-weight: 800;
  width: 18px;
}

.svc-leistungen-icon--ja { color: var(--gm); }
.svc-leistungen-icon--plus { color: #c2410c; }

.svc-leistungen-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
}

/* ═══════════ VERTRAUEN ═══════════ */

.svc-vertrauen {
  background: var(--gl);
  padding: clamp(64px, 9vw, 112px) 0;
}

.svc-vertrauen-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: stretch;
}

@media (max-width: 900px) {
  .svc-vertrauen-grid { grid-template-columns: 1fr; }
}

.svc-vertrauen-founder {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow);
}

.svc-vertrauen-founder-head {
  display: flex;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 20px;
}

.svc-vertrauen-header-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.svc-vertrauen-portrait {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  background: var(--gl);
  border: 2px solid var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--g);
  flex-shrink: 0;
  overflow: hidden;
}

.svc-vertrauen-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; } /* S23 Item 1: Kopf nicht mehr abschneiden */

.svc-vertrauen-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.svc-vertrauen-rolle {
  font-size: 13px;
  color: var(--gray);
}

.svc-vertrauen-claim {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.svc-vertrauen-claim-accent {
  color: var(--g);
}

.svc-vertrauen-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.svc-vertrauen-bullets li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
}

.svc-vertrauen-bullet-check {
  color: var(--gm);
  font-weight: 800;
}

.svc-vertrauen-cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.svc-vertrauen-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--white);
  color: var(--g);
  border: 1.5px solid var(--g);
  border-radius: var(--rs, 8px);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: all 160ms ease;
}

.svc-vertrauen-btn-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.svc-vertrauen-btn:hover {
  background: var(--g);
  color: var(--white);
}

.svc-vertrauen-btn--wa {
  background: var(--gm);
  color: var(--white);
  border-color: var(--gm);
}

.svc-vertrauen-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.svc-vertrauen-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.svc-vertrauen-card-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--gl);
  color: var(--g);
  border-radius: 10px;
  margin-bottom: 12px;
}

.svc-vertrauen-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.svc-vertrauen-card-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* ═══════════ BEWERTUNGEN ═══════════ */

.svc-bewertungen {
  background: var(--white);
  padding: clamp(56px, 8vw, 96px) 0;
}

.svc-bewertungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .svc-bewertungen-grid { grid-template-columns: 1fr; }
}

.svc-bewertung-card {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.svc-bewertung-stars {
  font-size: 18px;
  color: var(--gm);
  margin-bottom: 8px;
}

.svc-bewertung-quote {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}

.svc-bewertung-meta {
  font-size: 11px;
  color: var(--gray-mid);
  font-weight: 600;
}

/* ═══════════ RECHT ═══════════ */

.svc-recht {
  background: var(--bg);
  padding: clamp(56px, 8vw, 96px) 0;
}

.svc-recht-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) { .svc-recht-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .svc-recht-grid { grid-template-columns: 1fr; } }

.svc-recht-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.svc-recht-card-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.svc-recht-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--g);
  margin-bottom: 6px;
}

.svc-recht-card-text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.45;
}

.svc-recht-stub {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--gray-mid);
  font-style: italic;
}

/* ═══════════ SEASONAL NOTICE (Winterdienst Frühbucher-Banner) ═══════════ */

.svc-seasonal-notice {
  background: var(--gl);
  padding: clamp(28px, 4vw, 48px) 0;
}

.svc-seasonal-notice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--g);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 2px 14px rgba(0,83,25,0.06);
}

.svc-seasonal-notice-icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.svc-seasonal-notice-body {
  flex: 1;
  min-width: 0;
}

.svc-seasonal-notice-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--g);
  margin: 0 0 10px;
  line-height: 1.3;
}

.svc-seasonal-notice-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 6px;
}

.svc-seasonal-notice-text:last-child {
  margin-bottom: 0;
}

.svc-seasonal-notice-text strong {
  color: var(--g);
  font-weight: 800;
}

@media (max-width: 600px) {
  .svc-seasonal-notice-card {
    padding: 18px 18px;
    gap: 14px;
  }
  .svc-seasonal-notice-icon {
    font-size: 28px;
  }
  .svc-seasonal-notice-title {
    font-size: 16px;
  }
  .svc-seasonal-notice-text {
    font-size: 13px;
  }
}

/* ═══════════ FAQ ═══════════ */

.svc-faq {
  background: var(--white);
  padding: clamp(56px, 8vw, 96px) 0;
}

.svc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-faq-item {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 160ms ease;
}

.svc-faq-item[open] {
  border-color: var(--g);
  background: var(--white);
}

.svc-faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.svc-faq-summary::-webkit-details-marker { display: none; }

.svc-faq-icon {
  color: var(--g);
  font-size: 20px;
  font-weight: 400;
  transition: transform 200ms ease;
}

.svc-faq-item[open] .svc-faq-icon {
  transform: rotate(45deg);
}

.svc-faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ═══════════ REGIONEN ═══════════ */

.svc-regionen {
  background: var(--bg);
  padding: clamp(56px, 8vw, 96px) 0;
}

.svc-plz-check {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.svc-plz-check-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.svc-plz-check-input {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs, 8px);
  outline: none;
  transition: border-color 160ms ease;
}

.svc-plz-check-input:focus { border-color: var(--g); }

.svc-plz-check-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  background: var(--g);
  color: var(--white);
  border: none;
  border-radius: var(--rs, 8px);
  padding: 12px 18px;
  cursor: pointer;
  transition: background 160ms ease;
}

.svc-plz-check-btn:hover { background: var(--gd); }

.svc-plz-check-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--gray);
  text-align: center;
}

.svc-regionen-subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  margin: 24px 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.svc-regionen-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 900px) { .svc-regionen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .svc-regionen-grid { grid-template-columns: 1fr; } }

.svc-region-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.svc-region-zone {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--gm);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.svc-region-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.svc-region-orte {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 28px;
}

.svc-region-tage {
  font-size: 13px;
  font-weight: 800;
  color: var(--g);
}

/* ═══════════ CTA-FINAL ═══════════ */

.svc-cta-final {
  background: var(--g);
  color: var(--white);
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
}

.svc-cta-final-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}

.svc-cta-final-sub {
  font-size: 15px;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 8px;
}

.svc-cta-final-trust {
  font-size: 13px;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 28px;
}

.svc-cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--g);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--rs, 8px);
  text-decoration: none;
  box-shadow: var(--shadow-lg, 0 20px 48px rgba(0,83,25,.14));
  transition: background 160ms ease, transform 160ms ease;
}

.svc-cta-final-btn:hover { background: var(--gl); transform: translateY(-1px); }

/* ═══════════ MODULE (optional sections) ═══════════ */

.svc-module {
  padding: clamp(48px, 7vw, 80px) 0;
}

.svc-module--seasonalNotice {
  background: #fff7ed;
  border-top: 3px solid #f59e0b;
  border-bottom: 3px solid #f59e0b;
}

.svc-module--seasonalNotice .svc-section-title { color: #7c2d12; }

.svc-module--info {
  background: var(--gl);
}


/* ═══════════ HEADER + NAV ═══════════ */

.svc-page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.svc-page-header-inner {
  /* Voll-bleed: Logo bündig links, Actions bündig rechts.
     Atmendes X-Padding 12-32px je nach Viewport. */
  width: 100%;
  padding: 10px clamp(12px, 2vw, 32px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.svc-page-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--g);
  text-decoration: none;
  white-space: nowrap;
}

.svc-page-brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--g);
  color: var(--white);
  border-radius: 8px;
}

.svc-page-brand-accent { color: var(--gm); }

/* Desktop-Nav: Pills im Header-Inner zwischen Logo und Actions.
   Sichtbar ab 1222px, darunter zeigt sich .svc-page-pills-row als eigene Zeile. */
.svc-page-nav {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  justify-content: center;
}

.svc-page-nav::-webkit-scrollbar { display: none; }

/* Mobile/Tablet Pills-Row: eigene Zeile zwischen Header-Inner und PLZ-Bar.
   Hidden ab 1222px (dann zeigt .svc-page-nav im Header-Inner die Pills). */
.svc-page-pills-row {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
  padding: 8px clamp(12px, 2vw, 32px);
}

.svc-page-pills-scroll {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.svc-page-pills-scroll::-webkit-scrollbar { display: none; }

@media (min-width: 1222px) {
  .svc-page-pills-row { display: none; }
}

@media (max-width: 1221px) {
  .svc-page-nav { display: none; }
}

.svc-nav-pill {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: all 160ms ease;
  white-space: nowrap;
}

.svc-nav-pill:hover {
  border-color: var(--g);
  color: var(--g);
}

.svc-nav-pill--active {
  background: var(--gl);
  border-color: var(--g);
  color: var(--g);
}

.svc-page-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.svc-page-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 160ms ease;
}

.svc-page-action:hover { background: var(--gl); color: var(--g); }

.svc-page-action--login,
.svc-page-action--cart {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gl);
  color: var(--g);
  border-radius: 50%;
  position: relative;
  border: none;
  text-decoration: none;
  transition: background 160ms ease;
}

.svc-page-action--login svg,
.svc-page-action--cart svg {
  width: 20px;
  height: 20px;
}

.svc-page-action--login:hover,
.svc-page-action--cart:hover {
  background: var(--g);
  color: var(--white);
}

.svc-page-cart-badge {
  display: none;
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #f97316;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--white);
}

.svc-page-action--cart[data-count]:not([data-count="0"]) .svc-page-cart-badge {
  display: block;
}

/* Logo-Img als Brand */
.svc-page-brand-img {
  height: 55px;
  width: auto;
  display: block;
}

.svc-page-footer-brand-img {
  height: 55px;
  width: auto;
  display: block;
  /* S23 Item 2 (v2): Logo nutzt eigene viewBox-gecroppte Variante /assets/img/logo-neu-footer.svg → kein margin-Hack nötig */
  margin: 0 0 12px 0;
}

.svc-page-footer-brand-block {
  display: flex;
  flex-direction: column;
}

/* ═══════════ S23 Item 8 (v2): Smart-Header mit Sub-Element-Collapse (≤1023px) ═══════════
 * Stepper-Bar (#svc-calc-stepper) bleibt sichtbar.
 * Logo+Service-Pills (.svc-page-header-inner) und PLZ-Slot (.svc-plz-slot)
 * collapsen weg via max-height/opacity wenn body.is-header-hidden gesetzt ist.
 * In .svc-rechner-Section (body.is-in-calc-zone) IMMER hidden — egal welche Scroll-Richtung. */
@media (max-width: 1023px) {
  .svc-page-header-inner,
  .svc-plz-slot {
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.18s ease,
                margin 0.28s ease,
                padding 0.28s ease;
    max-height: 240px;
    opacity: 1;
  }
  /* S25.5 BUGFIX (Bug 3): .svc-page-pills-row (zweite Pills-Zeile auf 1024-1221px)
   * wurde im Audit hinzugefuegt — sonst blieb auf Tablet die Pills-"Geisterbar"
   * sichtbar waehrend Logo + PLZ schon collapsed waren. */
  body.is-header-hidden .svc-page-header-inner,
  body.is-header-hidden .svc-page-pills-row,
  body.is-header-hidden .svc-plz-slot {
    max-height: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    pointer-events: none;
    visibility: hidden;
  }
  /* Pills-Row braucht explizit den gleichen overflow:hidden + transition wie die anderen Header-Sub-Elemente */
  .svc-page-pills-row {
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.18s ease,
                margin 0.28s ease,
                padding 0.28s ease;
    max-height: 240px;
    opacity: 1;
  }
  /* PLZ-Bar-Row hat eigenes Padding (10px) + Gap (24px) — auch shrinken wenn header-hidden */
  .svc-page-plzbar,
  .svc-page-plzbar-row {
    transition: padding 0.28s ease, gap 0.28s ease, border-color 0.18s ease;
  }
  body.is-header-hidden .svc-page-plzbar {
    border-bottom-color: transparent !important;
  }
  body.is-header-hidden .svc-page-plzbar-row {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    gap: 0 !important;
  }
  /* Stepper bleibt — kein extra Styling nötig, ist als nicht-collapsed Default sichtbar */
}

/* ═══════════ PLZ-CHECK im Header (3 Zustände) ═══════════ */

.svc-page-plzbar {
  background: var(--gl);
  border-bottom: 1px solid rgba(0,83,25,0.08);
}

/* PLZ-Form: links im plzbar-row */
.svc-plz-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
}

.svc-plz-icon {
  width: 22px;
  height: 22px;
  color: var(--g);
  flex-shrink: 0;
}

.svc-plz-form-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--g);
  flex-shrink: 0;
}

.svc-plz-input {
  flex: 1;
  min-width: 220px;
  max-width: 380px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  background: var(--white);
  border: 1.2px solid var(--g);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.svc-plz-input::placeholder {
  color: var(--gray-mid);
  font-weight: 500;
}

.svc-plz-input:focus {
  border-color: var(--gd);
  box-shadow: 0 0 0 3px rgba(0,83,25,0.15);
}

.svc-plz-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  background: var(--g);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 160ms ease;
  flex-shrink: 0;
}

.svc-plz-btn:hover {
  background: var(--gd);
}

@media (max-width: 600px) {
  .svc-plz-form-label { display: none; }
  .svc-plz-input { min-width: 140px; }
  .svc-page-header-inner { padding: 8px 12px; }
  .svc-page-plzbar-row { padding: 8px 12px; gap: 10px; }
}

/* Wrapper-Row: PLZ-Form links + Stepper rechts (Schema v1.4 Userin-Layout) */
.svc-page-plzbar-row {
  /* Voll-bleed wie Header — selbe Edge-Alignment. */
  width: 100%;
  padding: 10px clamp(12px, 2vw, 32px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Calc-Stepper: rechts neben PLZ-Form */
.svc-calc-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.svc-calc-stepper-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--g);
  flex-shrink: 0;
  white-space: nowrap;
}

.svc-calc-stepper-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

.svc-calc-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--gray);
  border: 1.2px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 160ms ease;
}

.svc-calc-step:hover {
  border-color: var(--g);
  color: var(--g);
}

.svc-calc-step.is-active {
  background: var(--g);
  color: var(--white);
  border-color: var(--g);
  box-shadow: var(--shadow);
}

.svc-calc-step-num {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.06);
  color: inherit;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.svc-calc-step.is-active .svc-calc-step-num {
  background: rgba(255,255,255,0.22);
}

.svc-calc-step-name {
  white-space: nowrap;
}

/* Mobile: stacken statt nebeneinander */
@media (max-width: 1024px) {
  .svc-page-plzbar-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .svc-calc-stepper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .svc-calc-stepper::-webkit-scrollbar { display: none; }
}

@media (max-width: 600px) {
  .svc-calc-stepper-label { display: none; }
  .svc-calc-step { padding: 6px 10px; font-size: 11px; }
}

/* Result-Bar — nicht visible by default */
.svc-plz-result {
  border-top: 1.5px solid transparent;
  padding: 0;
  background: transparent;
  transition: all 160ms ease;
}

.svc-plz-result[hidden] { display: none !important; }

/* ✓ Verfügbar (grün) */
.svc-plz-result.is-available {
  background: #dcfce7;
  border-top-color: #22c55e;
  padding: 16px 0;
}

.svc-plz-result-row {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.svc-plz-result-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
}

.svc-plz-result.is-available .svc-plz-result-icon {
  background: #22c55e;
}

.svc-plz-result-text {
  flex: 1;
  min-width: 220px;
}

.svc-plz-result-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.svc-plz-result.is-available .svc-plz-result-title {
  color: #005319;
}

.svc-plz-result-sub {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.svc-plz-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--g);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 160ms ease;
  flex-shrink: 0;
}

.svc-plz-result-cta:hover { background: var(--gd); }

/* ⚠ Nicht verfügbar (orange) */
.svc-plz-result.is-unavailable {
  background: #fff7ed;
  border-top-color: #f59e0b;
  padding: 16px 0;
}

.svc-plz-result.is-unavailable .svc-plz-result-icon {
  background: #f59e0b;
}

.svc-plz-result.is-unavailable .svc-plz-result-title {
  color: #7c2d12;
}

/* Waitlist-Form (in Result-Bar bei nicht verfügbar) */
.svc-plz-waitlist {
  max-width: var(--container-wide);
  margin: 12px auto 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-plz-waitlist-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.svc-plz-waitlist-input {
  flex: 1;
  min-width: 200px;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 14px;
  background: var(--white);
  border: 1.5px solid #fed7aa;
  border-radius: 6px;
  outline: none;
  transition: border-color 160ms ease;
}

.svc-plz-waitlist-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.18);
}

.svc-plz-waitlist-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  background: #f59e0b;
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 160ms ease;
  flex-shrink: 0;
}

.svc-plz-waitlist-btn:hover { background: #c2410c; }

.svc-plz-waitlist-note {
  font-size: 11px;
  color: #7c2d12;
  font-style: italic;
  margin-top: 2px;
}

/* ✕ Fehler (gültige PLZ-Validierung fehlgeschlagen) */
.svc-plz-result.is-error {
  background: #fee2e2;
  border-top-color: #dc2626;
  padding: 14px 0;
}

.svc-plz-result.is-error .svc-plz-result-icon {
  background: #dc2626;
}

.svc-plz-result.is-error .svc-plz-result-title {
  color: #991b1b;
}

/* ✓-State nach Waitlist-Submit */
.svc-plz-waitlist-success {
  font-size: 14px;
  font-weight: 700;
  color: #005319;
  padding: 8px 12px;
  background: #dcfce7;
  border-radius: 6px;
  margin-top: 8px;
}

/* ═══════════ FOOTER ═══════════ */

.svc-page-footer {
  background: var(--gd);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) 0 24px;
  margin-top: 0;
}

.svc-page-footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

.svc-page-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .svc-page-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .svc-page-footer-grid { grid-template-columns: 1fr; }
}

.svc-page-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.svc-page-footer-brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

.svc-page-footer-brand-accent { color: var(--gm); }

.svc-page-footer-desc {
  font-size: 13px;
  color: var(--white);
  opacity: 0.7;
  line-height: 1.6;
  margin: 0;
}

.svc-page-footer-h {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gruen-soft);
  margin-bottom: 12px;
}

.svc-page-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-page-footer-list li {
  margin-bottom: 6px;
}

.svc-page-footer-list a {
  font-size: 13px;
  color: var(--white);
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.svc-page-footer-list a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.svc-page-footer-locations {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  margin-bottom: 20px;
}

.svc-page-footer-locations .svc-page-footer-h {
  margin-bottom: 12px;
}

.svc-page-footer-locations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-page-footer-locations-list li {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0.9;
}

.svc-page-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 12px;
  color: var(--white);
  opacity: 0.6;
  text-align: center;
}


/* ═══════════ PLZ-Slot (Form ↔ Statusbar Toggle) ═══════════
   Container der Form UND Statusbar gleichzeitig hosten kann.
   JS toggelt die `hidden`-Attribute. Höhe bleibt konstant durch min-height. */
.svc-plz-slot {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 36px;
}

.svc-plz-slot > .svc-plz-form,
.svc-plz-slot > .svc-plz-statusbar {
  width: 100%;
}

/* Statusbar — einzeilig, ersetzt Form nach Submit */
.svc-plz-statusbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  min-height: 36px;
  box-sizing: border-box;
  border: 1.5px solid transparent;
  background: var(--white);
  transition: background 180ms ease, border-color 180ms ease;
}

.svc-plz-statusbar[hidden] { display: none !important; }

.svc-plz-statusbar-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: var(--white);
}

.svc-plz-statusbar-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.svc-plz-statusbar-reset {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease;
}

.svc-plz-statusbar-reset:hover {
  background: rgba(0, 0, 0, 0.06);
}

.svc-plz-statusbar-reset svg {
  width: 14px;
  height: 14px;
}

.svc-plz-statusbar-waitlist {
  flex-shrink: 0;
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 80ms ease;
  white-space: nowrap;
}

.svc-plz-statusbar-waitlist:hover { background: #d97706; }
.svc-plz-statusbar-waitlist:active { transform: scale(0.97); }
.svc-plz-statusbar-waitlist[hidden] { display: none !important; }

/* States */
.svc-plz-statusbar.is-available {
  background: #dcfce7;
  border-color: #22c55e;
  color: #15803d;
}
.svc-plz-statusbar.is-available .svc-plz-statusbar-icon {
  background: #22c55e;
}

.svc-plz-statusbar.is-unavailable {
  background: #fff7ed;
  border-color: #f59e0b;
  color: #b45309;
}
.svc-plz-statusbar.is-unavailable .svc-plz-statusbar-icon {
  background: #f59e0b;
}

.svc-plz-statusbar.is-error {
  background: #fee2e2;
  border-color: #dc2626;
  color: #b91c1c;
}
.svc-plz-statusbar.is-error .svc-plz-statusbar-icon {
  background: #dc2626;
}

.svc-plz-statusbar.is-loading {
  background: var(--gl);
  border-color: rgba(0,83,25,0.2);
  color: var(--g);
}
.svc-plz-statusbar.is-loading .svc-plz-statusbar-icon {
  background: var(--g);
  animation: svc-plz-pulse 1s ease-in-out infinite;
}

@keyframes svc-plz-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Form ist ebenfalls hidden-toggelbar */
.svc-plz-form[hidden] { display: none !important; }

/* Mobile: Statusbar kompakter */
@media (max-width: 600px) {
  .svc-plz-statusbar {
    gap: 6px;
    padding: 4px 10px;
    font-size: 13px;
  }
  .svc-plz-statusbar-text { font-size: 12px; }
  .svc-plz-statusbar-waitlist {
    padding: 6px 10px;
    font-size: 12px;
  }
  .svc-plz-statusbar-icon {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
  .svc-plz-statusbar-reset {
    width: 24px;
    height: 24px;
  }
  .svc-plz-statusbar-reset svg {
    width: 12px;
    height: 12px;
  }
}

/* ═══════════ Sticky Calc-Progress-Bar ausblenden ═══════════
   Auf Service-Seiten haben wir einen eigenen Header-Stepper (.svc-calc-stepper)
   neben der PLZ-Form. calc-ui.js hängt zusätzlich eine sticky #he-nav-progress
   ans body — die ist hier doppelt. WICHTIG: Selector ist .he-nav-progress
   (NICHT .he-step-progress — das ist toter renderStepProgress-Code). */
body.svc-page #he-nav-progress,
body.svc-page .he-nav-progress {
  display: none !important;
}


/* ═══════════ Regionen-PLZ-Form (inline, in Regionen-Section) ═══════════ */
.svc-plz-check { /* schon definiert oben — diese ist jetzt auch ein <form> */ }

.svc-plz-result--inline {
  margin-top: 16px;
  border-radius: 12px;
  border-top-width: 0;
  border: 1.5px solid transparent;
  padding: 0;
}

.svc-plz-result--inline.is-available {
  border-color: #22c55e;
  background: #dcfce7;
  padding: 16px 20px;
}

.svc-plz-result--inline.is-unavailable {
  border-color: #f59e0b;
  background: #fff7ed;
  padding: 16px 20px;
}

.svc-plz-result--inline.is-error {
  border-color: #dc2626;
  background: #fee2e2;
  padding: 14px 20px;
}

/* Bei inline: Row nicht max-width zentrieren */
.svc-plz-result--inline .svc-plz-result-row {
  max-width: none;
}


/* ═══════════ MOBILE-ONLY: Calc-Tiles (S21-Refactor nach Userin-Skizze) ═══════════
   Nur Phones (≤599px). Tablet 600-767px behält den bestehenden Mobile-First-Layout
   aus calculator.css, große Tablets ≥768px nutzen weiterhin den Card-Layout.
   Layout: Bild 80×80 fix links, Text-Block (Label + Größe + Beispiele + Preis)
   rechts, Stepper als eigene Zeile darunter mit Buttons an den Rändern.

   WICHTIG: KEINE `grid-column: auto; grid-row: auto;` Lines nach `grid-area`,
   weil die das grid-area-Shorthand wieder zerstören → Element fließt ins
   normale Grid-Flow statt in seine benannte Area. */
@media (max-width: 599px) {
  /* Schmaler X-Padding für Rechner-Section auf Mobile (Tiles bekommen mehr Platz) */
  body.svc-page .svc-rechner .svc-section-inner--wide {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  body.svc-page .svc-rechner-container {
    padding: 16px 8px !important;
  }

  body.svc-page .he-sg-item {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    grid-template-areas:
      "icon  label"
      "icon  size"
      "icon  sub"
      "icon  price"
      "stepper stepper" !important;
    column-gap: 12px;
    row-gap: 2px;
    padding: 12px;
    align-items: start;
  }

  body.svc-page .he-sg-icon {
    grid-area: icon;
    width: 80px !important;
    height: 80px !important;
    align-self: center !important;
    background: #f1efe8;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: auto !important;
    max-width: none !important;
    margin-top: 0 !important;
  }

  body.svc-page .he-sg-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  body.svc-page .he-sg-label {
    grid-area: label;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    padding-top: 0;
    align-self: end;
    min-height: 0 !important;
  }

  body.svc-page .he-sg-size {
    grid-area: size;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 2px;
    align-self: start;
    min-height: 0 !important;
  }

  body.svc-page .he-sg-sub {
    grid-area: sub;
    font-size: 11px;
    line-height: 1.35;
    align-self: start;
    min-height: 0 !important;
    /* Max 2 Zeilen mit Ellipsis falls länger */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.svc-page .he-sg-price {
    grid-area: price;
    font-size: 12px;
    font-weight: 700;
    color: var(--g);
    margin-top: 4px;
    align-self: start;
  }

  body.svc-page .he-sg-stepper {
    grid-area: stepper;
    width: 100% !important;
    max-width: none !important;
    margin-top: 8px;
    display: flex !important;
    align-items: stretch;
    align-self: stretch;
  }

  body.svc-page .he-sg-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 56px !important;
    height: 44px !important;
    padding: 0 18px !important;
    font-size: 20px !important;
  }

  body.svc-page .he-sg-input {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    text-align: center;
    font-size: 16px;
  }

  /* Sub-Stepper (Sprossen-Block, "Welche Fenster lassen sich nicht öffnen", etc.):
     Stack-Layout — Label voll-breit oben, Stepper voll-breit unten.
     Verhindert dass Label in winzige Restspalte gequetscht wird. */
  body.svc-page .he-sg-substepper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 100% !important;
  }

  body.svc-page .he-sg-substepper-label {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    word-break: normal !important;
    white-space: normal !important;
    color: var(--text);
    padding: 0 !important;
  }

  /* Echte Sub-Stepper-Reihen in "Besondere Merkmale" (Sprossen, "lassen sich nicht öffnen").
     calc-ui.js renderMerkmalBlock baut .he-merkmal-row als flex-row mit Label links + Stepper rechts.
     Auf Mobile (Stepper ist voll-breit durch unseren .he-sg-stepper-Override) muss die Row
     zu flex-column werden, sonst kollabiert das Label auf 0px Restbreite und bricht Zeichen-für-Zeichen. */
  body.svc-page .he-merkmal-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  body.svc-page .he-merkmal-row-label {
    width: 100% !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  body.svc-page .he-merkmal-row-name {
    word-break: normal !important;
    white-space: normal !important;
  }

  /* === Gründerkarte mobil: kleineres Foto + Buttons stapeln === */
  body.svc-page .svc-vertrauen-portrait {
    width: 100px;
    height: 100px;
  }
  body.svc-page .svc-vertrauen-name {
    font-size: 17px;
  }
  body.svc-page .svc-vertrauen-claim {
    font-size: 13px;
  }
  body.svc-page .svc-vertrauen-cta-row {
    grid-template-columns: 1fr;
  }
}


/* ═══════════ EDIT-BANNER (S27 Bundle 2 — Pre-fill-Edit) ═══════════
   Variante C — Hero-Replacement: ersetzt das normale Hero im Edit-Mode.
   Trigger: body.is-editing (gesetzt von calc-loader.js bei Stash-Match)
   ════════════════════════════════════════════════════════════════════ */

body.is-editing .svc-hero {
  display: none;
}

.he-edit-banner {
  display: none;
  background: var(--g);
  color: var(--white);
  padding: clamp(48px, 8vw, 88px) 16px clamp(40px, 7vw, 72px);
  text-align: center;
  position: relative;
}

body.is-editing .he-edit-banner {
  display: block;
}

.he-edit-banner-inner {
  max-width: 720px;
  margin: 0 auto;
}

.he-edit-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gruen-soft);
  margin-bottom: 18px;
}

.he-edit-banner-title {
  font-size: clamp(28px, 4.6vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--white);
}

.he-edit-banner-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  margin: 0 auto 22px;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
}

.he-edit-banner-cancel {
  appearance: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.he-edit-banner-cancel:hover,
.he-edit-banner-cancel:focus-visible {
  background: rgba(255,255,255,0.22);
  outline: none;
}

@media (max-width: 600px) {
  .he-edit-banner {
    padding: 32px 16px 28px;
  }
  .he-edit-banner-title {
    font-size: 22px;
  }
  .he-edit-banner-sub {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .he-edit-banner-cancel {
    font-size: 13px;
    padding: 9px 14px;
  }
}
