/* =============================================
   SEITENNETZ: Orts-, Stadt- und Leistungsseiten,
   Orte-Abschnitt Startseite, neuer Funnel, Handy-Leiste.
   Baut auf main.css auf (Tokens, Buttons, FAQ, Footer).
   ============================================= */

/* ── Navigation: Leistungen-Menü ─────────────── */
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 250px;
  background: var(--white); border-radius: var(--r4); box-shadow: var(--shadow-md);
  padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s;
}
.nav-links .nav-dd-menu a {
  display: block; padding: 9px 12px; border-radius: var(--r2);
  color: var(--ink2) !important; font-size: 14px;
}
.nav-links .nav-dd-menu a::after { display: none; }
.nav-links .nav-dd-menu a:hover { background: var(--surface); color: var(--ink) !important; }
.nav-mobile .nav-mobile-sub { font-family: var(--font-b); font-size: 18px; padding: 8px 0 8px 18px; }

/* ── Footer: fünf Spalten, Orte als Links ────── */
.footer-top.footer-top-5 { grid-template-columns: 1.4fr .9fr 1fr .8fr 1.3fr; gap: 36px; }
.footer-orte-links a { display: inline; font-size: 13px; margin: 0; color: rgba(255,255,255,.62); }
.footer-orte-links a:hover { color: #fff; }
#footer .footer-orte-more { color: #EE5B4A; }
@media (max-width: 1100px) { .footer-top.footer-top-5 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 767px)  { .footer-top.footer-top-5 { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-top.footer-top-5 > div:first-child { grid-column: 1 / -1; } }

/* ── Orts-Hero ───────────────────────────────── */
.ort-hero { background: var(--ink); color: #fff; padding: 140px 0 72px; position: relative; overflow: hidden; }
.ort-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ort-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 18px; }
.ort-hero-lead { color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; max-width: 560px; margin-bottom: 28px; }
.ort-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 28px; border-radius: 50px;
  background: #075E54; color: #fff; font-size: 15px; font-weight: 600; transition: background .3s, transform .2s;
}
.btn-wa:hover { background: #064d45; transform: translateY(-2px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li, .chips a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9);
}
.chips li { padding: 8px 14px; border-radius: 50px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.chips svg { color: #EE5B4A; }
.chips a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.chip-stars { color: #F5B400; letter-spacing: 1px; font-size: 13px; }
.ort-hero-img { margin: 0; border-radius: var(--r8); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ort-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ort-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.ort-hero .breadcrumb a:hover { color: #fff; }
.ort-hero .breadcrumb span:last-child { color: #fff; }
.ort-hero .breadcrumb span[aria-hidden] { color: #EE5B4A; }
@media (max-width: 900px) {
  .ort-hero { padding: 112px 0 48px; }
  .ort-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ort-hero-img { order: -1; aspect-ratio: 16 / 10; }
  .ort-hero-lead { font-size: 16px; }
}

/* ── Kurze Antwort ───────────────────────────── */
.answer-section { padding: 72px 0; }
.answer-card {
  max-width: 880px; margin: 0 auto; background: var(--white);
  border-radius: var(--r8); box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--red); padding: 44px 48px;
}
.answer-card h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 16px; }
.answer-card > p { font-size: 17px; line-height: 1.75; font-weight: 400; margin-bottom: 22px; }
.answer-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.answer-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--ink); }
.answer-checks svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 767px) { .answer-card { padding: 30px 22px; } .answer-checks { grid-template-columns: 1fr; } }

/* ── Ihr Haus + Gut zu wissen ────────────────── */
.haus-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.haus-text h2 { margin-bottom: 20px; }
.haus-text p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.gut-box { background: var(--white); border-radius: var(--r8); padding: 32px; box-shadow: var(--shadow-sm); }
.gut-box h3 { font-size: 22px; margin-bottom: 18px; }
.gut-box dl > div { padding: 14px 0; border-top: 1px solid var(--border); }
.gut-box dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.gut-box dd { font-size: 15px; color: var(--ink); line-height: 1.6; }
@media (max-width: 900px) { .haus-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ── Unsere Arbeit (dunkel, verlinkte Karten) ── */
.work-section h2 { color: #fff; }
.work-section .section-header p { color: rgba(255,255,255,.72); }
.work-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.work-card {
  display: flex; flex-direction: column; height: 100%; padding: 26px 22px;
  border-radius: var(--r4); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .25s, border-color .25s, transform .25s;
}
.work-card:hover { background: rgba(255,255,255,.09); border-color: rgba(238,91,74,.6); transform: translateY(-3px); }
.work-step { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #EE5B4A; margin-bottom: 12px; }
.work-card h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.work-card p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.65; flex: 1; }
.work-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #fff; }
.work-card:hover .work-more svg { transform: translateX(3px); }
.work-more svg { transition: transform .2s; }
@media (max-width: 1100px) { .work-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .work-cards { grid-template-columns: 1fr; } }

/* ── Warum es sich lohnt ─────────────────────── */
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: var(--white); border-radius: var(--r8); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.why-num {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--red-alpha); color: var(--red);
  font-family: var(--font-d); font-size: 17px; margin-bottom: 18px;
}
.why-card h3 { margin-bottom: 10px; }
.why-card p { font-size: 15px; line-height: 1.75; }
@media (max-width: 900px) { .why-cards { grid-template-columns: 1fr; } }

/* ── Typische Projekte ───────────────────────── */
.proj-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { background: var(--white); border-radius: var(--r8); overflow: hidden; box-shadow: var(--shadow-sm); }
.proj-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proj-body { padding: 24px 26px 28px; }
.proj-body h3 { margin-bottom: 8px; }
.proj-body p { font-size: 15px; line-height: 1.7; }
@media (max-width: 900px) { .proj-cards { grid-template-columns: 1fr; } .proj-card img { aspect-ratio: 16 / 10; } }

/* ── Ablauf-Leiste ───────────────────────────── */
.ablauf-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.ablauf-link {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px 22px;
  border-radius: var(--r4); background: var(--white); border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
a.ablauf-link:hover { border-color: var(--red); transform: translateY(-2px); }
.ablauf-n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 15px;
}
.ablauf-item.is-current .ablauf-link { border: 2px solid var(--red); }
.ablauf-item.is-current .ablauf-n { background: var(--red); }
.ablauf-t { font-family: var(--font-d); font-size: 20px; letter-spacing: .03em; color: var(--ink); }
.ablauf-s { font-size: 14px; line-height: 1.65; color: var(--ink2); font-weight: 300; }
@media (max-width: 900px) { .ablauf-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ablauf-row { grid-template-columns: 1fr; } }

/* ── Pills (Orte) ────────────────────────────── */
.ort-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ort-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 50px;
  background: var(--white); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}
.ort-pill svg { color: var(--red); flex-shrink: 0; }
a.ort-pill:hover { border-color: var(--red); color: var(--red); }
.ort-pill-off { color: var(--ink2); background: transparent; }
.ort-pill-off svg { color: var(--muted); }
.near-section { padding: 72px 0; text-align: center; }
.near-title { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 26px; }
.near-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 600; color: var(--red); }
.orte-group { font-family: var(--font-b); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 8px 0 16px; }
.orte-group + .ort-pills { margin-bottom: 36px; }
.orte-note { text-align: center; margin-top: 8px; font-size: 16px; }
.orte-note a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.anchor-alias { position: relative; top: -100px; display: block; height: 0; }

/* ── Funnel ──────────────────────────────────── */
.fx {
  max-width: 760px; margin: 0 auto; background: var(--white); border-radius: var(--r8);
  box-shadow: var(--shadow-md); padding: 36px 40px 40px; scroll-margin-top: 100px;
}
.fx-progress { height: 6px; background: var(--surface); border-radius: 6px; overflow: hidden; }
.fx-progress-fill { height: 100%; background: var(--red); border-radius: 6px; transition: width .35s ease-out; }
.fx-count { font-size: 13px; color: var(--muted); margin: 10px 0 26px; display: flex; justify-content: space-between; }
.fx-count strong { color: var(--ink); }
.fx-pct { font-weight: 600; color: var(--red); }
.fx-q { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; outline: none; }
.fx-sub { font-size: 15px; margin-bottom: 22px; }
.fx-q + .fx-tiles { margin-top: 22px; }
.fx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fx-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.fx-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 132px; padding: 18px 12px; border-radius: var(--r4);
  background: var(--page); border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-b); font-size: 15px; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.35;
  transition: border-color .15s, background .15s, transform .15s;
}
.fx-tile:hover { border-color: rgba(204,31,31,.45); background: #fff; }
.fx-tile:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.fx-tile.is-selected { border-color: var(--red); background: var(--red-alpha); }
.fx-tile-icon { color: var(--red); display: flex; }
.fx-tile-photo { padding: 0 0 14px; overflow: hidden; justify-content: flex-start; }
.fx-tile-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fx-tile-unknown { width: 100%; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 44px; color: var(--muted); background: var(--surface); }
.fx-tiles-photo { grid-template-columns: repeat(4, 1fr); }
.fx-exact { margin-top: 22px; }
.fx-exact label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.fx-exact-row { display: flex; gap: 10px; }
.fx-exact-row input { flex: 1; max-width: 220px; }
.fx-opt { font-weight: 400; color: var(--muted); }
.fx input[type="text"], .fx input[type="tel"], .fx input[type="email"], .fx input[type="number"], .fx textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--r2); border: 1.5px solid rgba(20,18,14,.18);
  background: #fff; font-family: var(--font-b); font-size: 16px; color: var(--ink);
}
.fx input:focus, .fx textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,93,173,.18); }
.fx .is-invalid { border-color: var(--red) !important; }
.fx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fx-field { margin-bottom: 14px; }
.fx-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.fx-field label span[aria-hidden] { color: var(--red); }
.fx-trust { display: flex; align-items: center; gap: 14px; margin: 6px 0 22px; padding: 14px 16px; background: var(--page); border-radius: var(--r4); }
.fx-trust img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fx-trust p { font-size: 14px; margin: 0; }
.fx-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 8px; }
.fx-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.fx-consent label { font-size: 13px; color: var(--ink2); line-height: 1.55; }
.fx-consent a { color: var(--red); text-decoration: underline; }
.fx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fx-error { min-height: 1.4em; color: var(--red); font-size: 14px; font-weight: 600; margin: 6px 0; }
.fx-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.fx-back { background: none; border: none; cursor: pointer; font-family: var(--font-b); font-size: 14px; font-weight: 600; color: var(--muted); padding: 10px 4px; }
.fx-back:hover { color: var(--ink); }
.fx-next, .fx-submit {
  padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer;
  background: var(--red); color: #fff; font-family: var(--font-b); font-size: 15px; font-weight: 700;
  transition: background .2s, transform .2s;
}
.fx-next:hover, .fx-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.fx-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.fx-thanks { text-align: center; padding: 20px 0; }
.fx-thanks-check { width: 60px; height: 60px; border-radius: 50%; background: #2E7D32; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.fx-thanks h3 { font-size: 28px; margin-bottom: 10px; outline: none; }
.fx-thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.fx-alt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 24px; font-size: 15px; color: var(--ink2); }
.fx-alt a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.fx-alt-wa { color: #075E54; }
.fx-alt-tel { color: var(--red); }
@media (max-width: 767px) {
  .fx { padding: 26px 18px 30px; }
  .fx-tiles, .fx-tiles-3, .fx-tiles-photo { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fx-tile { min-height: 112px; font-size: 14px; }
  .fx-row { grid-template-columns: 1fr; gap: 0; }
  .fx-exact-row input { max-width: none; }
}

/* ── Feste Leiste unten (Handy) ──────────────── */
.action-bar { display: none; }
@media (max-width: 767px) {
  .has-actionbar .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9100;
    background: var(--white); box-shadow: 0 -4px 24px rgba(20,18,14,.12);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .ab-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; border-radius: var(--r4); font-size: 12px; font-weight: 700; color: var(--ink);
    background: var(--page);
  }
  .ab-wa { color: #075E54; }
  .ab-cta { background: var(--red); color: #fff; }
  .has-actionbar { padding-bottom: 76px; }
  .has-actionbar .call-float, .has-actionbar .wa-float { display: none !important; }
}

/* Label auf dunklem Grund: aufgehelltes Rot wegen Kontrast (wie Footer) */
.work-section .section-label, .ort-hero .section-label { color: #EE5B4A; }

/* ── Leistungsseite ──────────────────────────── */
.teil-cards { list-style: none; }
.teil-n {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; font-family: var(--font-d); font-size: 14px; margin-bottom: 12px;
}
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.fit-col { border-radius: var(--r8); padding: 30px 32px; background: var(--white); box-shadow: var(--shadow-sm); border-top: 4px solid; }
.fit-yes { border-color: #2E7D32; }
.fit-no { border-color: var(--red); }
.fit-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fit-yes h3 svg { color: #2E7D32; }
.fit-no h3 span { color: var(--red); font-family: var(--font-b); font-weight: 700; }
.fit-col li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.6; color: var(--ink2); }
.fit-col li strong { color: var(--ink); }
@media (max-width: 767px) { .fit-grid { grid-template-columns: 1fr; } }
.work-cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .work-cards-3 { grid-template-columns: 1fr; } }
.not-section { padding: 56px 0; }
.not-box { max-width: 880px; margin: 0 auto; padding: 32px 36px; border-radius: var(--r8); background: var(--surface); border-left: 5px solid var(--ink); }
.not-box h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 12px; }
.not-box p { font-size: 16px; line-height: 1.75; }
.not-box a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.more-cards { list-style: none; }
.more-card { display: flex; flex-direction: column; height: 100%; transition: transform .2s, box-shadow .2s; }
.more-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.more-card .work-step { color: var(--red); }
.more-card p { flex: 1; }
.more-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--red); }
.ort-hero .btn-ghost svg { width: 16px; height: 16px; }

/* Fixes nach erstem Screenshot */
.ablauf-row, .teil-cards, .work-cards, .why-cards, .ort-pills { list-style: none; padding: 0; }
.proj-card img, .fx-tile-photo img { height: auto; }
.footer-top-5 .footer-hours-list b { display: inline-block; min-width: 72px; }
/* Kontrast Fließtext im roten CTA-Band (vorher weiß 80 % auf Rot) */
.cta-banner p { color: #fff; }

/* ── Nacharbeit design-critic 24.09.2026 ─────── */
/* 4 · Handy: erst H1 und Knopf, dann das Bild */
@media (max-width: 900px) {
  .ort-hero-img { order: 2; aspect-ratio: 16 / 9; }
}
/* 5 · Funnel: keine einzelne Kachel allein, 5 Optionen in einer Reihe, ruhige Höhe */
.fx-tiles-5 { grid-template-columns: repeat(5, 1fr); }
.fx-tiles-5 .fx-tile { min-height: 124px; font-size: 14px; }
.fx-step { min-height: 380px; }
@media (max-width: 767px) {
  .fx-tiles-5 { grid-template-columns: 1fr 1fr; }
  .fx-tiles .fx-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fx-step { min-height: 0; }
}
/* 6 · Orte ohne eigene Seite: reiner Text, sieht nicht klickbar aus */
.ort-pill-off { border-color: transparent; background: none; padding: 6px 10px; color: var(--ink2); font-weight: 400; }
.ort-pill-off svg { display: none; }
/* 7 · Städte einklappbar (mobil zu, Desktop offen) */
.orte-more summary { cursor: pointer; list-style: none; }
.orte-more summary::-webkit-details-marker { display: none; }
.orte-more summary::after { content: ' +'; color: var(--red); font-weight: 700; }
.orte-more[open] summary::after { content: ' −'; }
.orte-count { color: var(--muted); font-weight: 400; letter-spacing: .04em; text-transform: none; }
/* 12 · keine tote Fläche: "Was nicht dazugehört" sitzt jetzt in der Ablauf-Section */
.ablauf-section .not-box { margin-top: 48px; }
/* 13 · Platz für die Handy-Leiste im dunklen Footer statt heller Streifen */
@media (max-width: 767px) {
  .has-actionbar { padding-bottom: 0; }
  .has-actionbar #footer { padding-bottom: 104px; }
}
/* 14 · Footer-Rhythmus */
.footer-orte-links li { font-size: 14px; line-height: 2.1; }
.footer-orte-links a { font-size: 14px; }
.footer-legal .footer-consent-btn { font-size: 12px; }
@media (max-width: 767px) { .footer-top.footer-top-5 > div:last-child { grid-column: 1 / -1; } }
/* 24 · Footer-Überschriften lesbar (DM Sans statt Anton in 11 px) */
.footer-col h3 { font-family: var(--font-b); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
/* 16 + 21 · Leistungskarten: gleiche Linkzeile, 5 Karten ohne schiefen Rest */
.work-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.work-cards > li { flex: 1 1 190px; max-width: calc((100% - 64px) / 5); }
@media (max-width: 1100px) { .work-cards > li { max-width: calc((100% - 32px) / 3); } }
@media (max-width: 767px)  { .work-cards > li { max-width: 100%; flex-basis: 100%; } }
.work-cards.work-cards-3 > li { max-width: calc((100% - 32px) / 3); }
@media (max-width: 900px) { .work-cards.work-cards-3 > li { max-width: 100%; flex-basis: 100%; } }
/* 17 · Chips kompakter */
.chips li { padding: 7px 12px; font-size: 13px; }
/* 18 · Gut-zu-wissen-Box läuft mit */
@media (min-width: 901px) { .gut-box { position: sticky; top: 100px; } }
/* Kundenweg (Orts- und Stadtseiten) */
.weg-section { padding: 88px 0; }
.weg-title { text-align: center; margin-bottom: 40px; }
.weg-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; padding: 0; position: relative; }
.weg-row::before { content: ''; position: absolute; top: 19px; left: 10%; right: 10%; height: 2px; background: var(--border); }
.weg-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; gap: 8px; }
.weg-n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 16px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--page); }
.weg-item:first-child .weg-n { background: var(--red); }
.weg-t { font-weight: 700; font-size: 16px; color: var(--ink); margin-top: 6px; }
.weg-s { font-size: 14px; line-height: 1.6; color: var(--ink2); font-weight: 300; }
@media (max-width: 767px) {
  .weg-row { grid-template-columns: 1fr; gap: 22px; }
  .weg-row::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .weg-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; text-align: left; align-items: start; padding: 0; gap: 2px 16px; }
  .weg-n { grid-row: span 2; }
  .weg-t { margin-top: 8px; }
}
/* Bewertungen auf Ortsseiten: 4 feste Karten statt Band */
.rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.rev-grid .rev-card { width: auto; max-width: none; height: 100%; }
@media (max-width: 1100px) { .rev-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .rev-grid { grid-template-columns: 1fr; } }
/* Anfrage-Band: Alternativen unter dem Knopf */
.cta-banner .cta-alt { margin: 22px 0 0; font-size: 15px; }
.cta-banner .cta-alt a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Sprungziel des zentralen Funnels nicht unter der festen Navigation */
#analyse { scroll-margin-top: 96px; }

/* ── Vollbild-Hero (User-Vorgabe 24.09.2026: Hero immer Vollbild) ── */
.ort-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 64px; background: var(--ink); }
.ort-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ort-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,18,14,.86) 0%, rgba(20,18,14,.62) 55%, rgba(20,18,14,.25) 100%); }
.ort-hero-inner { position: relative; z-index: 2; width: 100%; }
.ort-hero-text { max-width: 680px; }
.ort-hero h1 { text-shadow: 0 2px 20px rgba(0,0,0,.25); }
@media (max-width: 900px) {
  .ort-hero { padding: 104px 0 40px; align-items: flex-end; }
  .ort-hero::after { background: linear-gradient(180deg, rgba(20,18,14,.55) 0%, rgba(20,18,14,.88) 60%); }
}
@media (max-width: 767px) { .has-actionbar .ort-hero { min-height: calc(100svh - 72px); } }

/* ── "Ihr Haus": Kurzpunkte statt Absätze ── */
.haus-punkte { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 8px; }
.haus-punkte li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.haus-punkte li > svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red-alpha); color: var(--red); margin-top: 2px; }
.haus-punkte strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.haus-punkte span { font-size: 15px; line-height: 1.65; color: var(--ink2); font-weight: 300; }
.haus-quelle { margin-top: 22px; font-size: 12px; color: var(--ink2); }
.gut-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.teil-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.teil-pills li { font-size: 13px; padding: 5px 11px; border-radius: 50px; background: var(--page); color: var(--ink); }
.teil-pills .teil-more { background: none; color: var(--muted); padding-left: 2px; }
.gut-list { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.gut-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.gut-list svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* ── zusätzliche CTAs ── */
.answer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.answer-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.answer-tel svg { color: var(--red); }
.cta-leiste { background: var(--ink); padding: 34px 0; }
.cta-leiste-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.cta-leiste p { color: #fff; font-size: 18px; font-weight: 500; margin: 0; max-width: 620px; }
.cta-leiste-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.weg-cta { text-align: center; margin-top: 40px; }
.lsv-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.teil-weiter { text-align: center; margin-top: 32px; font-size: 16px; }
.teil-weiter a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
#ablauf-heading { scroll-margin-top: 110px; }

/* ── Kostenseite ── */
.treiber-cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .treiber-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .treiber-cards { grid-template-columns: 1fr; } }
.vergleich { max-width: 880px; margin: 0 auto; background: var(--white); border-radius: var(--r8); box-shadow: var(--shadow-sm); overflow: hidden; }
.vergleich-tab { width: 100%; border-collapse: collapse; font-size: 15px; }
.vergleich-tab th, .vergleich-tab td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.vergleich-tab thead th { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vergleich-tab tbody th { font-weight: 700; color: var(--ink); width: 22%; }
.vergleich-tab td { color: var(--ink2); }
.vergleich-tab .v-neu { background: var(--red-alpha); color: var(--ink); font-weight: 600; }
.vergleich-tab tr:last-child th, .vergleich-tab tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .vergleich-tab th, .vergleich-tab td { padding: 12px 10px; font-size: 14px; } }
.fit-no h3 svg { color: var(--ink); }

/* ── Ratgeber-Artikel (_gen/templates/ratgeber.mjs) ─────────── */
.bc-plain { color: rgba(255,255,255,.75) !important; }
.rg-intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.rg-stand { margin-top: 18px; font-size: 13px; color: var(--muted); }
.rg-toc { position: sticky; top: 100px; padding: 26px 26px 22px; border-radius: var(--r8); background: var(--white); box-shadow: var(--shadow-sm); }
.rg-toc h2 { font-size: 20px; margin-bottom: 12px; }
.rg-toc ol { list-style: none; counter-reset: toc; }
.rg-toc li { counter-increment: toc; border-top: 1px solid var(--border); }
.rg-toc a { display: flex; gap: 10px; padding: 10px 0; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.rg-toc a::before { content: counter(toc); font-weight: 700; color: var(--red); min-width: 1.1em; }
.rg-toc a:hover { color: var(--red); }
.rg-kriterien { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rg-kriterien li { padding: 22px 22px 24px; border-radius: var(--r8); background: var(--white); box-shadow: var(--shadow-sm); border-top: 4px solid var(--red); }
.rg-kriterien strong { display: block; font-family: var(--font-d); font-weight: 400; font-size: 22px; letter-spacing: .01em; margin-bottom: 6px; color: var(--ink); }
.rg-kriterien span { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.rg-wege { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rg-weg { padding: 28px 30px; border-radius: var(--r8); background: var(--white); box-shadow: var(--shadow-sm); border: 2px solid transparent; }
.rg-weg.is-ms { border-color: var(--red); }
.rg-weg-kopf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rg-weg-kopf h3 { font-size: 22px; flex: 1 1 auto; }
.rg-weg-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.rg-weg.is-ms .rg-weg-n { background: var(--red); }
.rg-weg-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); background: var(--red-alpha); padding: 5px 10px; border-radius: 999px; }
.rg-weg-hoehe { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.rg-weg-hoehe span { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.rg-weg > p { font-size: 15.5px; line-height: 1.7; color: var(--ink2); }
.rg-weg dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.6; }
.rg-weg dt { font-weight: 700; color: var(--ink); }
.rg-weg dd { color: var(--ink2); }
.rg-quelle { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.rg-quelle a, .rg-foerder-hinweis a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rg-foerder { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.rg-foerder-karte { padding: 28px 30px; border-radius: var(--r8); background: var(--white); box-shadow: var(--shadow-sm); }
.rg-foerder-karte h3 { margin-bottom: 10px; }
.rg-foerder-karte p { font-size: 15.5px; line-height: 1.7; color: var(--ink2); }
.rg-foerder-hinweis { max-width: 980px; margin: 18px auto 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.rg-ms p + p { margin-top: 10px; }
.rg-ms-links { font-size: 15px; }
@media (max-width: 1000px) { .rg-intro { grid-template-columns: 1fr; } .rg-toc { position: static; } .rg-kriterien { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .rg-wege, .rg-foerder { grid-template-columns: 1fr; } .rg-weg, .rg-foerder-karte { padding: 24px 22px; } }
@media (max-width: 480px) { .rg-kriterien { grid-template-columns: 1fr; } }

/* ── Partnerbereich sichtbar (Nav, Band, Leistungsseiten) ─────── */
.nav-li-partner { padding-left: 22px; margin-left: -12px; border-left: 1px solid rgba(255,255,255,.22); }
.nav-links .nav-li-partner a { font-size: 13px; color: rgba(255,255,255,.62); }
#mainNav.scrolled .nav-li-partner { border-left-color: var(--border); }
#mainNav.scrolled .nav-links .nav-li-partner a { color: var(--muted); }
#mainNav.scrolled .nav-links .nav-li-partner a:hover, #mainNav.scrolled .nav-links .nav-li-partner a.active { color: var(--ink); }
@media (max-width: 1099px) { .nav-li-partner { display: none; } }
.nav-mobile .nav-mobile-partner { font-family: var(--font-b); font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.partner-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.partner-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.partner-band-inner > div { max-width: 700px; }
.partner-band-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.partner-band h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.partner-band p:not(.partner-band-label) { font-size: 16px; line-height: 1.65; color: var(--ink2); }
.partner-band-btn { flex: none; }
.not-partner { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 15px !important; }

/* Ratgeber: freie Textabschnitte + Übersicht */
.rg-prose { max-width: 820px; }
.rg-prose h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.rg-prose > p { font-size: 17px; line-height: 1.8; color: var(--ink2); margin-bottom: 14px; }
.rg-prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rg-punkte { margin: 10px 0 6px; display: grid; gap: 10px; }
.rg-punkte li { padding: 14px 18px; border-radius: var(--r4); background: var(--white); box-shadow: var(--shadow-sm); font-size: 16px; line-height: 1.65; color: var(--ink2); }
.section-alt .rg-punkte li { background: var(--white); }
.rg-punkte strong { color: var(--ink); }
.rg-quelle-links { text-align: left; }
