/* kv-staedte.css — gemeinsames CSS der 14 Städteseiten (staedte/klimaanlage-*.html).
   Stand 25.8.2026: 1:1 aus den Seiten ausgelagert (dort waren alle 14 Fassungen
   byteidentisch). Reihenfolge = Reihenfolge der früheren <style>-Blöcke; die Datei
   wird an der Stelle des ersten Blocks geladen (nach kv.css), die Kaskade ist
   damit unverändert. Städtebezogenes CSS gehört NUR hierher, nicht in kv.css. */
/* ========================================================================
   DESIGN SYSTEM — Klimavergleich.at v7 (aus index.html übernommen)
   ======================================================================== */

:root{
  /* SPACING — 8pt grid */
  --s-1: 4px;
  --section-px: var(--s-10);
  --section-py: var(--s-24);}

@media (min-width: 1024px) { :root { --section-py: var(--s-32); } }
@media (max-width: 640px) {
  :root {
    --section-py: var(--s-16);
    --section-px: var(--s-5);
  }
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";

}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text; -moz-user-select: text;
  -ms-user-select: text; user-select: text;
}
img, svg { display: block; max-width: 100%; }
button, a, input, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

.skip-link {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  z-index: 999;
  padding: var(--s-3) var(--s-5);
  background: var(--ink);
  color: var(--white);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  border-radius: var(--r-2);
  transform: translateY(-150%);
  transition: transform var(--dur-base) var(--ease-smooth);
}
.skip-link:focus { transform: translateY(0); }

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#ambient {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background: radial-gradient(
    circle 600px at var(--mx, 50%) var(--my, 50%),
    rgba(61,139,122,0.08), transparent 55%);
}
@media (hover: none), (prefers-reduced-motion: reduce) { #ambient { display: none; } }

/* ─── TYPOGRAPHY ─── */
.h-display {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: var(--fw-medium);
  line-height: 1.05;
  letter-spacing: var(--tr-tight);
  color: var(--ink);
  font-variation-settings: "opsz" 40;
}
.h-display > span { display: block; }
.h-display .it { color: inherit; font-style: normal; font-weight: inherit; }
.h-display-sub {
  font-size: 0.48em;
  font-weight: var(--fw-regular);
  color: var(--body);
  letter-spacing: var(--tr-tight);
  line-height: 1.2;
  margin-top: var(--s-4);
}
.h-display-sub em {
  font-style: italic; color: var(--teal);
  font-weight: var(--fw-medium);
}

.h-section {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-snug);
  color: var(--ink);
  font-variation-settings: "opsz" 40;
}
.h-section .it { color: inherit; font-style: normal; font-weight: inherit; }

.lead {
  font-size: var(--fs-xl);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: var(--fw-regular);
  max-width: 56ch;
}
.lead strong { color: var(--ink); font-weight: var(--fw-semibold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}
/* Bindestrich-Präfix via ::before. */
.eyebrow::before {
  content: "— ";
  color: var(--teal);
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,.22);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,.22); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--section-py) var(--section-px);
  position: relative;
  overflow: hidden;
  background: transparent;
  z-index: 2;
}
.section-in { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.section-hdr { max-width: 62ch; margin-bottom: var(--s-12); }
.section-hdr > .eyebrow { margin-bottom: var(--s-5); }
.section-hdr > .h-section { margin-bottom: var(--s-4); }

.section.flat::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(28,43,58,.14), transparent);
  pointer-events: none;
}

.section.highlight {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-5);
  margin: var(--s-6) var(--s-5);
  box-shadow: 0 22px 44px -18px rgba(28,43,58,.12);
}
/* Reviews-Box kompakter: weniger padding, kleinerer Shadow, engere section-hdr */
.section.highlight {
  padding: var(--s-8) var(--s-8);
  box-shadow: 0 8px 28px -12px rgba(28,43,58,.10);
}
.section.highlight .section-hdr {
  margin-bottom: var(--s-6);
  padding-left: 0 !important;
}
.section.highlight .rv-big {
  padding: var(--s-6);
}
.section.highlight .rv-sm {
  padding: var(--s-4) var(--s-5);
}
.section.highlight .reviews {
  gap: var(--s-4);
}
@media (max-width: 640px) {
  .section.highlight {
    padding: var(--s-6) var(--s-5);
    margin: var(--s-4) var(--s-3);
  }
}

.section--dark {
  background: var(--ink);
  color: var(--white);
  margin: 0 var(--s-5);
  border-radius: var(--r-5);
  box-shadow: var(--sh-5);
  position: relative;
  overflow: hidden;
}
.section--dark .eyebrow { color: #71C3AA; }
.section--dark .eyebrow::before { color: #71C3AA; }
.section--dark .eyebrow-dot {
  background: var(--ink);
  box-shadow: 0 0 0 3px rgba(28,43,58,.2);
  animation: pulse-dark 2s ease-in-out infinite;
}
@keyframes pulse-dark {
  0%, 100% { box-shadow: 0 0 0 3px rgba(28,43,58,.2); }
  50% { box-shadow: 0 0 0 6px rgba(28,43,58,0); }
}
.section--dark .h-display, .section--dark .h-section { color: var(--white); }
.section--dark .h-display .it, .section--dark .h-section .it {
  color: #71C3AA; font-style: italic;
}
.section--dark .lead { color: rgba(255,255,255,.62); }
.section--dark .lead strong { color: var(--white); }
.section--dark::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(61,139,122,.10), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 100%, rgba(46,64,87,.3), transparent 70%);
  pointer-events: none; z-index: 0;
  animation: darkGlowShift 40s ease-in-out infinite alternate;
}
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(113,195,170,.06), transparent 65%),
    radial-gradient(ellipse 35% 25% at 15% 70%, rgba(61,139,122,.08), transparent 65%);
  pointer-events: none; z-index: 0;
  opacity: 0.6;
  animation: darkGlowShiftB 55s ease-in-out infinite alternate;
}
@keyframes darkGlowShift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -2%) scale(1.08); }
  100% { transform: translate(-2%, 3%) scale(0.96); }
}
@keyframes darkGlowShiftB {
  0%   { transform: translate(0, 0) scale(1); opacity: .6; }
  50%  { transform: translate(-4%, 2%) scale(1.1); opacity: .8; }
  100% { transform: translate(3%, -3%) scale(0.94); opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .section--dark::after, .section--dark::before { animation: none; }
}
.section--dark .section-in, .section--dark > * { position: relative; z-index: 1; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 1; transform: none;
  transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
}
.js .reveal { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }
.js .reveal.vis { opacity: 1; transform: translateY(0); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-normal);
  transition: all var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
}
.btn svg { transition: transform var(--dur-base) var(--ease-smooth); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--sh-3); }
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: var(--sh-teal); }
.btn-secondary { background: var(--white); color: var(--ink); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost { color: var(--teal); padding: var(--s-2) 0; font-weight: var(--fw-semibold); }
.btn-ghost:hover { gap: var(--s-3); }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,.08); }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--s-16)) var(--section-px) var(--s-16);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(245,245,243,1) 0%, rgba(245,245,243,0) 120px),
    radial-gradient(ellipse 55% 45% at 15% 10%, rgba(61,139,122,.07), transparent 60%),
    radial-gradient(ellipse 40% 35% at 88% 85%, rgba(61,139,122,.04), transparent 65%);
}
.hero::after { display: none; }

.hero-in {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  column-gap: var(--s-12);
  row-gap: var(--s-10);
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-intro > .eyebrow { margin-bottom: var(--s-8); animation: slideUp var(--dur-entrance) 0.05s var(--ease-out) backwards; }
.hero-intro > .h-display { margin-bottom: var(--s-8); animation: slideUp var(--dur-entrance) 0.15s var(--ease-out) backwards; }
.hero-intro > .lead { max-width: 46ch; margin-bottom: var(--s-8); animation: slideUp var(--dur-entrance) 0.25s var(--ease-out) backwards; }
.hero-intro > .hero-cta-row { animation: slideUp var(--dur-entrance) 0.35s var(--ease-out) backwards; }
.hero-intro > .hero-trust { animation: slideUp var(--dur-entrance) 0.45s var(--ease-out) backwards; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta-row {
  display: flex; flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  margin-bottom: var(--s-8);
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-7);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-base);
  transition: all var(--dur-base) var(--ease-smooth);
  box-shadow: 0 10px 24px -8px rgba(28,43,58,.28);
}
.hero-cta-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(61,139,122,.4);
}
.hero-cta-primary svg { transition: transform var(--dur-base); }
.hero-cta-primary:hover svg { transform: translateX(3px); }

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  color: var(--muted);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  transition: color var(--dur-fast);
}
.hero-cta-secondary:hover { color: var(--ink); }
.hero-cta-secondary svg { transition: transform var(--dur-base); }
.hero-cta-secondary:hover svg { transform: translateX(2px); }

.hero-trust {
  display: flex; flex-wrap: wrap;
  gap: var(--s-5);
  align-items: center;
  padding-top: var(--s-5);
  border-top: 1px dashed rgba(28,43,58,.12);
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: var(--fw-medium);
}
.hero-trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ─── CITY-CARD (Hero-Accent) ─── */
.hero-accent { animation: slideUp var(--dur-entrance) 0.35s var(--ease-out) backwards; }

.city-card {
  position: relative;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-4);
  box-shadow:
    0 1px 2px rgba(28,43,58,.04),
    0 18px 48px -16px rgba(28,43,58,.18),
    0 4px 12px -4px rgba(28,43,58,.08);
  overflow: hidden;
}

/* ECHTES FOTO HIER EINSETZEN:
   .city-card-photo bekommt später ein <picture>-Element oder
   background-image mit url('/staedte/bilder/<stadt>.jpg').
   Empfohlene Dimensionen: 1600×960, .webp mit .jpg Fallback.
   Tonales Overlay + Grain-Layer unten bleiben als CSS drüber. */
.city-card-photo {
  position: relative;
  height: 200px;
  background:
    linear-gradient(180deg, rgba(28,43,58,.42) 0%, rgba(28,43,58,.06) 60%, rgba(61,139,122,.14) 100%),
    linear-gradient(135deg, #3d5468 0%, #5a7689 50%, #8aa3b4 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.city-card-photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}
.city-silhouette {
  position: relative;
  width: 100%;
  z-index: 1;
  opacity: 0.72;
}
.city-stamp {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
}
.city-stamp svg { color: var(--teal); }

.city-card-footer {
  padding: var(--s-4) var(--s-6);
  background: #FAFAF8;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.city-card-footer strong { color: var(--ink); font-weight: var(--fw-semibold); }
.city-card-footer-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: var(--fw-medium);
  color: var(--teal-d);
}
.city-card-footer-meta svg { color: var(--teal); flex-shrink: 0; }

/* ─── HEAT CHART (originale Orange-Palette, Akzente nur IN der Box) ─── */
.heat-box {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-4);
  padding: var(--s-8);
  box-shadow:
    0 1px 2px rgba(28,43,58,.04),
    0 20px 50px -18px rgba(232,89,60,.12),
    0 6px 18px -6px rgba(28,43,58,.06);
  position: relative;
  overflow: hidden;
}
.heat-box::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 160px; height: 160px;
  background: radial-gradient(circle at top right, rgba(232,89,60,.08), transparent 70%);
  pointer-events: none;
}
.heat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border-2);
  position: relative; z-index: 1;
}
.heat-header-label {
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: #C44D1A;
  margin-bottom: var(--s-1);
}
.heat-header-sub { font-size: var(--fs-sm); color: var(--muted); }
.heat-record {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: var(--fw-semibold);
  color: #C44D1A;
  letter-spacing: var(--tr-tight);
  line-height: 1;
  font-variation-settings: "opsz" 40;
}
.heat-record-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--muted);
  letter-spacing: var(--tr-wide);
  margin-top: var(--s-1);
}
.heat-canvas-wrap { position: relative; height: 240px; z-index: 1; }
@media (max-width: 640px) { .heat-canvas-wrap { height: 200px; } }
.heat-source {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-2);
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
  position: relative; z-index: 1;
}

/* ─── INFO-GRID ─── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}

/* ─── EDITORIAL-LIST (Lokale Expertise — redaktioneller Stil) ─── */
.editorial-list {
  max-width: 960px;
  margin: 0 auto;
}
.editorial-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-10);
  padding: var(--s-12) 0;
  border-top: 1px solid var(--border-2);
  align-items: baseline;
}
.editorial-item:first-child { border-top: 0; padding-top: var(--s-5); }
.editorial-item:last-child { padding-bottom: var(--s-5); }
@media (max-width: 720px) {
  .editorial-item { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-8) 0; }
}
.editorial-num {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: var(--fw-light);
  color: var(--teal);
  letter-spacing: var(--tr-tight);
  line-height: 0.9;
  font-variation-settings: "opsz" 40;
  font-feature-settings: "tnum" 1;
}
.editorial-num::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--teal);
  margin-top: var(--s-4);
  opacity: .5;
}
.editorial-content h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: var(--fw-medium);
  color: var(--ink);
  letter-spacing: var(--tr-snug);
  line-height: 1.2;
  margin-bottom: var(--s-4);
  font-variation-settings: "opsz" 36;
}
.editorial-content h3 .it { color: var(--teal); font-style: italic; }
.editorial-content p {
  font-size: var(--fs-lg);
  color: var(--body);
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: var(--s-4);
}
.editorial-tags {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-1) var(--s-3);
  background: var(--teal-lt);
  color: var(--teal-d);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wide);
}
.editorial-tag svg { color: var(--teal); }

/* ─── FLOW-STEPS (Horizontaler Prozess mit Choreografie) ─── */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 16.66%; right: 16.66%;
  height: 1px;
  background: linear-gradient(to right,
    var(--border-2) 0%,
    var(--teal-lt2) 20%,
    var(--teal-lt2) 80%,
    var(--border-2) 100%);
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1800ms var(--ease-out) 100ms;
}
.flow-steps.vis::before { transform: scaleX(1); }
@media (max-width: 820px) {
  .flow-steps { grid-template-columns: 1fr; gap: var(--s-8); }
  .flow-steps::before { display: none; }
}
.flow-step {
  text-align: center;
  padding: 0 var(--s-5);
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) { .flow-step { text-align: left; padding: 0; } }

/* Jeder flow-step startet "wartend" — opacity-reduziert und leicht klein */
.js .flow-step {
  opacity: 0.35;
  transition: opacity 400ms var(--ease-smooth);
}
/* Wenn der parent .flow-steps sichtbar ist, fadet alles etwas rein */
.js .flow-steps.vis .flow-step { opacity: 1; }

/* Nummern-Kreise: starten klein, rasten mit Verzögerung ein (synchron zur wachsenden Linie) */
.flow-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-6);
  box-shadow: 0 4px 18px -6px rgba(28,43,58,.12);
  transform: scale(0.7);
  transition: transform 600ms var(--ease-out-back),
              box-shadow 600ms var(--ease-out),
              border-color 600ms var(--ease-out);
}
.flow-num-inner {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 24;
  transition: background 600ms var(--ease-out), color 600ms var(--ease-out);
}
/* Einrasten-Zeitpunkte synchron zum Connector-Progress (1800ms total) */
.js .flow-steps.vis .flow-step:nth-child(1) .flow-num {
  transform: scale(1);
  border-color: var(--teal-lt2);
  box-shadow: 0 4px 18px -6px rgba(61,139,122,.22), 0 0 0 0 rgba(61,139,122,0);
  transition-delay: 200ms;
}
.js .flow-steps.vis .flow-step:nth-child(1) .flow-num-inner {
  background: var(--ink);
  color: var(--white);
  transition-delay: 200ms;
}
.js .flow-steps.vis .flow-step:nth-child(2) .flow-num {
  transform: scale(1);
  border-color: var(--teal-lt2);
  box-shadow: 0 4px 18px -6px rgba(61,139,122,.22);
  transition-delay: 900ms;
}
.js .flow-steps.vis .flow-step:nth-child(2) .flow-num-inner {
  background: var(--ink);
  color: var(--white);
  transition-delay: 900ms;
}
.js .flow-steps.vis .flow-step:nth-child(3) .flow-num {
  transform: scale(1);
  border-color: var(--teal);
  box-shadow: 0 4px 18px -6px rgba(61,139,122,.32);
  transition-delay: 1600ms;
  animation: flowPulse 800ms var(--ease-out) 1700ms 1;
}
.js .flow-steps.vis .flow-step:nth-child(3) .flow-num-inner {
  background: var(--teal);
  color: var(--white);
  transition-delay: 1600ms;
}
@keyframes flowPulse {
  0% { box-shadow: 0 4px 18px -6px rgba(61,139,122,.32), 0 0 0 0 rgba(61,139,122,.42); }
  70% { box-shadow: 0 4px 18px -6px rgba(61,139,122,.32), 0 0 0 16px rgba(61,139,122,0); }
  100% { box-shadow: 0 4px 18px -6px rgba(61,139,122,.32), 0 0 0 0 rgba(61,139,122,0); }
}
.flow-step:hover .flow-num {
  border-color: var(--teal) !important;
  transform: scale(1.06) !important;
}
.flow-step:hover .flow-num-inner { background: var(--teal) !important; }

.flow-time {
  display: inline-block;
  padding: 3px var(--s-3);
  background: var(--teal-lt);
  color: var(--teal-d);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wide);
  margin-bottom: var(--s-4);
}
.flow-step h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: var(--tr-snug);
  line-height: 1.3;
  margin-bottom: var(--s-3);
}
.flow-step p {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.6;
  max-width: 32ch;
  margin: 0 auto;
}
@media (max-width: 820px) { .flow-step p { margin: 0; } }

/* ─── City-Card (ohne Tilt) ─── */
.city-card {
  transition: transform 420ms var(--ease-smooth);
}

/* ─── SECTION DIVIDER (Hairline wächst center-out beim Scroll-In) ─── */
.section--div {
  position: relative;
}
.section--div::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(28,43,58,.18), transparent);
  transform: translateX(-50%);
  transition: width 1200ms var(--ease-out) 200ms;
  pointer-events: none;
}
.section--div.vis::after { width: min(580px, 62%); }
/* Noch engeres padding — für FAQ direkt nach dark gen-cta-box */
.section--tight {
  padding-top: var(--s-8);
  padding-bottom: var(--s-12);
}
@media (min-width: 1024px) {
  .section--tight {
    padding-top: var(--s-10);
    padding-bottom: var(--s-16);
  }
}

/* Reduziertes padding für Sections die direkt an weisse/strukturierte
   Elemente angrenzen — verhindert zu grosse Abstände zwischen Abschnitten */
.section--compact {
  padding-top: var(--s-12);
  padding-bottom: var(--s-12);
}
@media (min-width: 1024px) {
  .section--compact {
    padding-top: var(--s-16);
    padding-bottom: var(--s-16);
  }
}

/* ─── CARD SCALE-IN REVEAL ─── */
.js .reveal-scale {
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}
.js .reveal-scale.vis { opacity: 1; transform: translateY(0) scale(1); }

/* ─── REVEAL VARIANTEN — unterschiedliche Gesten pro Element ─── */

/* reveal-left: slide von links, mit subtile horizontal transition */
.js .reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 720ms var(--ease-out), transform 820ms var(--ease-out);
}
.js .reveal-left.vis { opacity: 1; transform: translateX(0); }

/* reveal-blur: startet blurred und unsichtbar, wird scharf */
.js .reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(14px);
  transition: opacity 780ms var(--ease-out),
              filter 780ms var(--ease-out),
              transform 780ms var(--ease-out);
}
.js .reveal-blur.vis {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* reveal-wipe: Mask-Reveal links→rechts (Content wird schrittweise freigegeben) */
.js .reveal-wipe {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transition: clip-path 1100ms var(--ease-out);
}
.js .reveal-wipe.vis { clip-path: inset(0 0 0 0); }

/* reveal-right: slide von rechts — Gegenstück zu reveal-left */
.js .reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 720ms var(--ease-out), transform 820ms var(--ease-out);
}
.js .reveal-right.vis { opacity: 1; transform: translateX(0); }

/* reveal-unfold: skaliert von oben auf, wie ein aufklappendes Blatt */
.js .reveal-unfold {
  opacity: 0;
  transform: scaleY(0.82) translateY(-4px);
  transform-origin: top center;
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out-back);
}
.js .reveal-unfold.vis {
  opacity: 1;
  transform: scaleY(1) translateY(0);
}

/* ─── HEADING SPLIT REVEAL ─── */
.js .h-section.split, .js .h-display.split {
  overflow: hidden;
  padding-bottom: 0.14em; /* Platz für Deszender (g, j, p, q, y) damit nichts abgeschnitten wird */
}
.js .h-section.split > span, .js .h-display.split > span,
.js .h-section.split .it {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
}
.js .h-section.split.vis > span, .js .h-display.split.vis > span,
.js .h-section.split.vis .it {
  opacity: 1;
  transform: translateY(0);
}
.js .h-section.split.vis > span:nth-child(2),
.js .h-section.split.vis .it {
  transition-delay: 100ms;
}
.js .h-display.split.vis > span:nth-child(2) { transition-delay: 100ms; }
.js .h-display.split.vis > span:nth-child(3) { transition-delay: 200ms; }

/* ─── KOSTENRECHNER-WIDGET ─── */

.calc-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--s-16);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.calc-teaser-text > .eyebrow { margin-bottom: var(--s-5); }
.calc-teaser-text > .h-section { margin-bottom: var(--s-4); }
.calc-teaser-text > .lead { margin-bottom: var(--s-7); max-width: 44ch; }

.calc-teaser-cta {margin-top:var(--s-8);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  background: var(--teal);
  color: var(--white);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  letter-spacing: var(--tr-base);
  transition: all var(--dur-base) var(--ease-smooth);
  box-shadow: 0 8px 22px -8px rgba(61,139,122,.4);
}
.calc-teaser-cta:hover {
  background: var(--teal-d, #2D6B5C);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(61,139,122,.5);
}
.calc-teaser-cta svg { transition: transform var(--dur-base); }
.calc-teaser-cta:hover svg { transform: translateX(3px); }

.calc-teaser-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
}
.calc-teaser-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--body);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-base);
}
.calc-teaser-tag svg {
  color: var(--teal);
  flex-shrink: 0;
  background: var(--teal-lt);
  padding: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  box-sizing: content-box;
}

/* Kostenrechner Mobile — auf schmalen Viewports 1-spaltig stacken. */
@media (max-width: 900px) {
  .calc-teaser { grid-template-columns: 1fr; gap: var(--s-10); max-width: 640px; }
  .calc-teaser-cta { width: 100%; justify-content: center; }
  .calc-teaser-tags { gap: var(--s-2) var(--s-4); }
}
@media (max-width: 380px) {
  .calc-teaser-cta { padding: var(--s-3) var(--s-5); font-size: var(--fs-md); }
  .calc-teaser .h-section { font-size: clamp(26px, 6.5vw, 36px) !important; }
}

.kr-widget {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-4);
  padding: var(--s-8);
  box-shadow: var(--sh-3);
  max-width: 640px;
  margin: 0 auto;
  /* Flex-Center: Der Header sitzt in der vertikalen Mitte des Widgets.
     min-height 320px im closed state macht das Widget so groß dass der
     Header optisch mittig zum Text-Block links ausgerichtet ist.
     Beim Öffnen: min-height 0 → Widget wächst durch Content aus seiner
     Mitte heraus (flex center hält Content während Wachstum zentriert). */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
}
@media (max-width: 640px) {
  .kr-widget { padding: var(--s-6); }
}
.kr-eyebrow {
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-2);
}
.kr-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: var(--tr-snug);
  margin-bottom: var(--s-2);
}
.kr-sub {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--s-7);
}
.kr-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
@media (max-width: 640px) { .kr-fields { grid-template-columns: 1fr; } }
.kr-field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-2);
}
.kr-field select {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  color: var(--ink);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: border-color var(--dur-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C2B3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  padding-right: var(--s-10);
}
.kr-field select:hover { border-color: var(--ink); }
.kr-field select:focus { outline: none; border-color: var(--ink); }
.kr-field select:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }

.kr-result-box {
  background: var(--teal-lt);
  border: 1px solid var(--teal-lt2);
  border-radius: var(--r-3);
  padding: var(--s-8) var(--s-10);
  margin-bottom: var(--s-5);
}
.kr-result-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--teal-d);
  margin-bottom: var(--s-4);
}
.kr-result-price {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: var(--tr-tight);
  line-height: 1;
  font-variation-settings: "opsz" 40;
  margin-bottom: var(--s-4);
}
.kr-result-sub {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.kr-result-range {
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--body);
  font-weight: var(--fw-medium);
}

.kr-betrieb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
@media (max-width: 640px) { .kr-betrieb-row { grid-template-columns: 1fr; } }
.kr-betrieb-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--r-2);
  padding: var(--s-6) var(--s-10);
}
.kr-betrieb-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-2);
}
.kr-betrieb-icon svg { color: var(--teal); }
.kr-betrieb-val {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  margin-bottom: 2px;
}
.kr-betrieb-sub { font-size: var(--fs-xs); color: var(--muted); }

.kr-gen-hint {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-6) var(--s-10);
  background: rgba(201, 132, 31, .08);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-2);
  margin-bottom: var(--s-5);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--body);
}
.kr-gen-hint svg { color: var(--amber); flex-shrink: 0; margin-top: 3px; }

.kr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
.kr-btn-prim {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  transition: all var(--dur-base) var(--ease-smooth);
  box-shadow: var(--sh-2);
}
.kr-btn-prim:hover { background: var(--teal); transform: translateY(-1px); box-shadow: var(--sh-teal); }
.kr-btn-prim svg { transition: transform var(--dur-base); }
.kr-btn-prim:hover svg { transform: translateX(3px); }

.kr-btn-sec {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  color: var(--teal);
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  transition: all var(--dur-base) var(--ease-smooth);
}
.kr-btn-sec:hover { border-color: var(--teal); background: var(--teal-lt); }

.kr-hint {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: var(--fw-medium);
}

.kr-tip {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-6) var(--s-10);
  background: var(--bg);
  border-radius: var(--r-2);
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--body);
}
.kr-tip svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* Mobile: etwas engeres Padding damit Content auf schmalen Viewports
   nicht zu schmal wird. Konsistent mit .gen-row und Rest der Seite. */
@media (max-width: 640px) {
  .kr-result-box,
  .kr-gen-hint,
  .kr-tip,
  .kr-betrieb-card { padding: var(--s-5); }
}

/* ─── KR PROGRESSIVE ─── 
   Initial-State + State-Transitions werden vollständig via JS inline-styles gesetzt.
   Siehe scroll-linked IIFE in den Scripts. Kein CSS hier nötig. */

/* Die Title-Hint Zeile über den Dropdowns deutet an dass mehr kommt */
.kr-hint-line {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  padding-top: var(--s-2);
}
.kr-hint-line-text {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-base);
}
.kr-hint-line-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.kr-hint-line-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.35;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out-back);
}
/* Dots zeigen Progress des Reveal-Flows — werden beim Fortschritt "aktiv".
   Stages 1–2 = fields + hint-line erscheinen, Dots bleiben idle.
   Stages 3–7 = Ergebnisphasen (result, betrieb, gen, actions, tip). */
/* "Box öffnet sich"-Indikator */
.kr-widget.is-open .kr-hint-line-dot {
  opacity: 1;
  transform: scale(1.25);
  background: var(--teal-d);
}

/* Im geöffneten State die Transitions verlangsamen. */
.kr-widget.is-open .kr-progressive {
  transition: max-height 1800ms cubic-bezier(0.22,1,0.36,1) !important,
              opacity 1500ms cubic-bezier(0.22,1,0.36,1) !important,
              transform 1800ms cubic-bezier(0.22,1,0.36,1) !important,
              margin 1800ms cubic-bezier(0.22,1,0.36,1) !important,
              padding 1800ms cubic-bezier(0.22,1,0.36,1) !important;
}
.kr-widget[data-stage="6"] .kr-hint-line-dot:nth-child(-n/**/+4) { opacity: 1; transform: scale(1.25); }
.kr-widget[data-stage="7"] .kr-hint-line-dot { opacity: 1; transform: scale(1.25); background: var(--teal-d); }

/* ─── STEPS-GRID (So funktioniert's) ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-8);
  box-shadow: var(--sh-2);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) var(--ease-smooth);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-4); }

.step-num {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--s-4);
  position: relative; z-index: 1;
}

.step h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: var(--tr-snug);
  line-height: 1.3;
  margin-bottom: var(--s-3);
  position: relative; z-index: 1;
}
.step p {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.6;
  position: relative; z-index: 1;
}

/* ─── REVIEWS CAROUSEL ─── */
/* ── REVIEWS GRID (ersetzt rev-carousel) ────────────────────────────────── */
.reviews {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}
.rv-big {
  grid-column: span 6;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  position: relative;
  overflow: hidden;
}
.rv-big::before {
  content: "\"";
  position: absolute;
  top: -40px; right: 20px;
  font-size: 200px;
  line-height: 1;
  color: var(--teal);
  opacity: 0.12;
  font-family: Georgia, serif;
  font-weight: 700;
  pointer-events: none;
}
.rv-stars { font-size: var(--fs-md); color: #D97706; letter-spacing: -1.5px; }
.rv-big-t {
  font-size: var(--fs-xl);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  flex: 1;
  font-variation-settings: "opsz" 20;
}
.rv-author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}
.rv-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.rv-name { font-size: var(--fs-md); font-weight: var(--fw-semibold); color: var(--ink); margin-bottom: 2px; }
.rv-meta { font-size: var(--fs-sm); color: var(--muted); }
.rv-sm {
  grid-column: span 3;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.rv-sm-t { font-size: var(--fs-md); line-height: var(--lh-relaxed); color: var(--body); }
.rv-sm-author {
  display: flex; align-items: center; gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.rv-sm-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.rv-sm-n { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink); }
.rv-sm-m { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 1100px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .rv-big { grid-column: span 2; }
}
@media (max-width: 640px) {
  .reviews { grid-template-columns: 1fr; gap: var(--s-3); }
  .rv-big { grid-column: span 1; padding: var(--s-5); }
  .rv-big-t { font-size: var(--fs-md); }
  .rv-av { width: 32px; height: 32px; font-size: var(--fs-sm); }
  .rv-big::before { font-size: 120px; top: -20px; }
  .rv-sm { padding: var(--s-5); }
}
.rev-stars-w { display: flex; gap: 2px; }
.rev-text-w {
  font-size: var(--fs-md);
  color: var(--body);
  line-height: 1.6;
  flex: 1;
}
.rev-author-w {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border-2);
}
.rev-av-w {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-lt);
  color: var(--teal-d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}
.rev-name-w {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink);
}
.rev-meta-w {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 1px;
}

/* ─── GEN-GRID (Genehmigung) ─── */
.gen-grid {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-4);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.gen-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-7);
  border-bottom: 1px solid var(--border-2);
  align-items: center;
}
.gen-row:last-child { border-bottom: none; }
@media (max-width: 640px) {
  .gen-row { grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-5); }
}
.gen-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: var(--tr-base);
}
.gen-val {
  font-size: var(--fs-md);
  color: var(--body);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.gen-pill {
  display: inline-flex;
  padding: 3px var(--s-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wide);
  white-space: nowrap;
  flex-shrink: 0;
}
.gen-pill.warn { background: rgba(201, 132, 31, .12); color: var(--amber); }
.gen-pill.ok { background: var(--teal-lt); color: var(--teal-d); }

.gen-cta-box {
  margin-top: var(--s-6);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-4);
  padding: var(--s-7);
  display: flex;
  gap: var(--s-6);
  align-items: center;
  flex-wrap: wrap;
}
.gen-cta-text {
  flex: 1;
  min-width: 280px;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}
.gen-cta-text strong { color: var(--white); font-weight: var(--fw-semibold); }
.gen-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  background: var(--teal);
  color: var(--white);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  transition: all var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
}
.gen-cta-btn:hover { background: var(--teal-d); transform: translateY(-1px); }

/* ─── FAQ Bento (aus index.html) ─── */
.faq-in { max-width: 820px; margin: 0 auto; }
.bento {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
#faq .section-hdr {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#faq .section-hdr .lead {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}
.bento-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0;
  transition: background 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  display: block;
}
.bento-card:hover { background: rgba(61, 139, 122, 0.025); }
.bento-card summary {
  cursor: pointer;
  padding: var(--s-5) var(--s-3);
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: var(--s-4);
  align-items: center;
  list-style: none;
  user-select: none;
}
.bento-card summary::-webkit-details-marker { display: none; }
.bento-card summary::marker { content: ""; }
.bento-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0;
}
.bento-q {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-tight);
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}
.bento-chev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}
.bento-card[open] .bento-chev {
  transform: rotate(180deg);
  color: var(--teal);
}
.bento-a {
  padding: 0 var(--s-3) var(--s-5) calc(130px + var(--s-4) + var(--s-3));
  max-width: 70ch;
  color: var(--body);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-base);
  margin: 0;
}
.bento-a em {
  font-style: normal;
  font-weight: var(--fw-semibold);
  color: var(--ink);
  background: linear-gradient(to bottom, transparent 60%, var(--teal-lt2) 60%);
  padding: 0 2px;
}
.bento-dsgvo {
  margin-top: var(--s-8);
  padding: var(--s-2) var(--s-6);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--r-3);
  color: rgba(255,255,255,.72);
}
.bento-dsgvo:hover { background: var(--ink); }
.bento-dsgvo summary {
  padding: var(--s-4) 0;
  grid-template-columns: 130px 1fr auto;
}
.bento-dsgvo .bento-tag { color: #71C3AA; }
.bento-dsgvo .bento-q { color: var(--white); }
.bento-dsgvo .bento-chev { color: rgba(255,255,255,0.5); }
.bento-dsgvo[open] .bento-chev { color: #71C3AA; }
.bento-dsgvo .bento-a {
  color: rgba(255,255,255,.72);
  padding: 0 0 var(--s-4) calc(130px + var(--s-4));
}
.bento-dsgvo .bento-a em {
  color: var(--white);
  background: linear-gradient(to bottom, transparent 60%, rgba(113,195,170,.25) 60%);
}
.bento-foot {
  margin-top: var(--s-10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  font-size: var(--fs-md);
  color: var(--muted);
}
.bento-foot-link {
  color: var(--teal);
  font-weight: var(--fw-semibold);
  transition: color var(--dur-fast);
}
.bento-foot-link:hover { color: var(--teal-d); }
@media (max-width: 720px) {
  .bento-card summary {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-4) var(--s-2);
    grid-template-columns: unset;
  }
  .bento-tag {
    font-size: 10px;
    flex-shrink: 0;
    max-width: 28%;
  }
  .bento-q { flex: 1; font-size: var(--fs-md); line-height: 1.3; }
  .bento-a { padding: 0 var(--s-2) var(--s-4) var(--s-2); font-size: var(--fs-sm); }
  .bento-dsgvo summary { padding: var(--s-3) 0; grid-template-columns: unset; }
  .bento-dsgvo .bento-a { padding: 0 0 var(--s-3); }
  .bento-card:hover { background: transparent; }
}

/* ─── RATGEBER (Editorial Blog-Teaser) ─── */
.ratg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
}
.ratg-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--sh-2);
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) var(--ease-smooth);
}
.ratg-card:hover { transform: translateY(-3px); box-shadow: var(--sh-4); }
.ratg-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.ratg-card-body { padding: var(--s-5); }
.ratg-tag {
  display: inline-block;
  padding: 2px var(--s-3);
  background: var(--teal-lt);
  color: var(--teal-d);
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.ratg-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: var(--tr-base);
  margin-bottom: var(--s-3);
}
.ratg-excerpt {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: var(--tr-base);
}

/* ─── FINAL CTA ─── */
.final { padding: var(--section-py) var(--section-px); text-align: center; }
.final-in { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.final-in > .eyebrow { margin-bottom: var(--s-6); }
.final-in > .h-display { margin-bottom: var(--s-6); }
.final-nowrap { white-space: nowrap; }
.final-sub {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,.72);
  margin-bottom: var(--s-8);
  line-height: 1.5;
}
.final-sub strong { color: var(--white); }
.final-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-5) var(--s-10);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-3);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  transition: all var(--dur-base) var(--ease-smooth);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
}
.final-cta:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.final-cta svg { transition: transform var(--dur-base); }
.final-cta:hover svg { transform: translateX(3px); }
.final-hint {
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
}
.final-hint strong { color: rgba(255,255,255,.8); font-weight: var(--fw-semibold); }

/* ─── FOOTER ─── */

/* ─── BEZIRKE-BLOCK ─── */
.bz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-8);
}
@media (min-width: 768px) {
  .bz-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}
.bz-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: border-color var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) var(--ease-smooth), transform var(--dur-base) var(--ease-smooth);
}
.bz-card:hover {
  border-color: var(--teal);
  box-shadow: var(--sh-3);
  transform: translateY(-2px);
}
.bz-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
}
.bz-num {
  font-family: "Fraunces", serif;
  font-size: var(--fs-3xl);
  font-weight: var(--fw-light);
  font-style: italic;
  color: var(--ink);
  letter-spacing: var(--tr-tight);
  line-height: 1;
}
.bz-pill {
  font-size: 10px;
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  padding: 3px 8px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.bz-pill--strict { background: rgba(185,28,28,0.08); color: var(--red); }
.bz-pill--mid { background: rgba(201,132,31,0.10); color: var(--amber); }
.bz-pill--ok { background: rgba(26,107,69,0.10); color: var(--green); }
.bz-name {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: var(--tr-base);
}
.bz-note {
  font-size: var(--fs-sm);
  color: var(--body);
  line-height: var(--lh-relaxed);
}
.bz-foot {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: var(--teal-lt);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-2);
  font-size: var(--fs-md);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.bz-foot a {
  color: var(--teal-d);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Inline-Links innerhalb Editorial-Items und Genehmigung */
.editorial-content p a, .gen-val a, .bento-a a:not([class]) {
  color: var(--teal-d);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid rgba(61,139,122,0.3);
  transition: border-color var(--dur-fast) var(--ease-smooth);
}
.editorial-content p a:hover, .gen-val a:hover, .bento-a a:not([class]):hover {
  border-bottom-color: var(--teal-d);
}

/* ─── RATGEBER-KATEGORIEN ─── */
.ratg-cat {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin: var(--s-10) 0 var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.ratg-cat:first-of-type { margin-top: 0; }
.ratg-cat-num {
  font-family: "Fraunces", serif;
  font-size: var(--fs-lg);
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--teal);
  letter-spacing: var(--tr-tight);
}
.ratg-cat-name {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: var(--ink);
}
.ratg-cat-count {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-left: auto;
  letter-spacing: var(--tr-base);
}

/* ════════════════════════════════════════════════════════════════════════
   MOBILE & TABLET REFINEMENTS
   ────────────────────────────────────────────────────────────────────────
   Konsolidierte responsive Anpassungen. Schließt die Tablet-Lücke (641-960px)
   wo Multi-Column-Layouts vorher zu eng wurden, und verfeinert das Mobile-
   Verhalten von Hero, City-Card, KR-Widget und Editorial-Items.
   ════════════════════════════════════════════════════════════════════════ */

/* ─── TABLET (≤ 960px): Layouts früher stacken ─── */
@media (max-width: 960px) {
  /* Hero: schon ab Tablet 1-spaltig (war 900px) */
  .hero {
    padding-top: calc(var(--nav-h) + var(--s-10));
    padding-bottom: var(--s-12);
  }
  .hero-in { grid-template-columns: 1fr; column-gap: 0; row-gap: var(--s-10); }
  .hero-intro > .lead { max-width: 56ch; }

  /* Kostenrechner-Teaser: Text + Widget stacken */
  .calc-teaser {
    grid-template-columns: 1fr;
    gap: var(--s-10);
    max-width: 640px;
  }
  .calc-teaser-cta { width: 100%; justify-content: center; }
  .calc-teaser-tags { gap: var(--s-2) var(--s-4); }

  /* So funktioniert's: 3 Steps stacken auf Tablet */
  .steps-grid { grid-template-columns: 1fr; gap: var(--s-5); max-width: 640px; margin: 0 auto; }

  /* Flow-Steps: Process-Linie nicht mehr horizontal, Steps stacken */
  .flow-steps { grid-template-columns: 1fr; gap: var(--s-8); max-width: 480px; margin: 0 auto; }
  .flow-steps::before { display: none; }
  .flow-step { text-align: left; padding: 0; }
  .flow-step p { margin: 0; max-width: none; }

  /* Gen-CTA-Box: Text + Button stacken */
  .gen-cta-box {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-5);
    padding: var(--s-6);
  }
  .gen-cta-text { min-width: 0; }
  .gen-cta-btn { width: 100%; justify-content: center; }
}

/* ─── REVIEWS TABLET (641-1100px): kleine Reviews nebeneinander ───
       Original-CSS macht rv-big full-width auf <1100, vergisst aber rv-sm
       von span 3 auf span 1 zu setzen — Resultat: die zwei kleinen Reviews
       stapeln vertikal statt nebeneinander zu sitzen. Hier korrigiert. */
@media (max-width: 1100px) and (min-width: 641px) {
  .rv-sm { grid-column: span 1; }
}

/* ─── MOBILE (≤ 640px): Standard-Mobile-Tunings ─── */
@media (max-width: 640px) {
  /* Hero: weniger Top-Padding, kompaktere Typografie */
  .hero {
    padding-top: calc(var(--nav-h) + var(--s-8));
    padding-bottom: var(--s-10);
  }
  .hero-in { row-gap: var(--s-8); }
  .hero-intro > .eyebrow { margin-bottom: var(--s-5); }
  .hero-intro > .h-display { margin-bottom: var(--s-6); }
  .hero-intro > .lead { margin-bottom: var(--s-6); }
  .h-display { font-size: clamp(30px, 8.5vw, 42px); }
  .h-display-sub { font-size: 0.52em; }
  .h-section { font-size: clamp(26px, 6.8vw, 36px); }

  /* Hero CTAs: stacked, full-width primary */
  .hero-cta-row {
    gap: var(--s-3);
    margin-bottom: var(--s-6);
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-primary {
    justify-content: center;
    padding: var(--s-4) var(--s-5);
    font-size: var(--fs-md);
  }
  .hero-cta-secondary {
    justify-content: center;
    padding: var(--s-3);
  }

  /* Hero-Trust: enger gepackt */
  .hero-trust { gap: var(--s-3) var(--s-4); padding-top: var(--s-4); }
  .hero-trust-item { font-size: var(--fs-xs); }

  /* City-Card: kleineres Foto, kompaktere Facts */
  .city-card-photo { height: 168px; }
  .city-stamp { top: var(--s-3); left: var(--s-3); padding: var(--s-1) var(--s-3); }

  .city-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-2);
    padding: var(--s-4) var(--s-5);
  }

  /* Heat-Box: kompakter padding, kleineres Record — Layout bleibt nebeneinander */
  .heat-box { padding: var(--s-5); }
  .heat-box::after { width: 100px; height: 100px; }
  .heat-header {
    gap: var(--s-3);
    padding-bottom: var(--s-4);
    margin-bottom: var(--s-5);
  }
  .heat-record { font-size: clamp(28px, 7.5vw, 36px); }
  .heat-record-label { font-size: 10px; }
  .heat-header-label { font-size: 10px; }
  .heat-header-sub { font-size: var(--fs-xs); }

  /* Section-Headers: tighter spacing */
  .section-hdr { margin-bottom: var(--s-8); }
  .section-hdr > .eyebrow { margin-bottom: var(--s-3); }
  .section-hdr > .h-section { margin-bottom: var(--s-3); }

  /* Editorial-List: kleinere Nummern, weniger Padding */
  .editorial-item { padding: var(--s-8) 0; gap: var(--s-3); }
  .editorial-num { font-size: 38px; line-height: 1; }
  .editorial-num::after { width: 24px; margin-top: var(--s-3); }
  .editorial-content h3 { font-size: 22px; margin-bottom: var(--s-3); }
  .editorial-content p { font-size: var(--fs-md); margin-bottom: var(--s-3); }

  /* Info-Grid: 1-spaltig, kompakter */
  .info-grid { grid-template-columns: 1fr; gap: var(--s-4); }

  /* KR-Widget: Buttons full-width, Hint auf eigene Zeile */
  .kr-widget { padding: var(--s-5); }
  .kr-result-box { padding: var(--s-5) var(--s-6); }
  .kr-result-price { font-size: clamp(26px, 8vw, 34px); }
  .kr-actions { gap: var(--s-3); }
  .kr-btn-prim, .kr-btn-sec {
    width: 100%;
    justify-content: center;
    padding: var(--s-4) var(--s-5);
  }
  .kr-hint {
    width: 100%;
    margin-left: 0;
    text-align: center;
    margin-top: var(--s-1);
  }

  /* Gen-Grid: tighter padding und Label-Style angepasst */
  .gen-row { padding: var(--s-4) var(--s-5); }
  .gen-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: var(--tr-wider);
    color: var(--muted);
    font-weight: var(--fw-bold);
  }
  .gen-val { font-size: var(--fs-md); }

  /* Reviews-Highlight: enger gepackt */
  .section.highlight { margin: var(--s-3); padding: var(--s-5) !important; }

  /* Ratgeber-Cards: 1-spaltig auf Mobile */
  .ratg-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .ratg-card img { height: 140px; }

  /* Final CTA: kompakter Button */
  .section--dark { margin: 0 var(--s-3); }
  .final { padding: var(--s-12) var(--s-5); }
  .final-cta {
    padding: var(--s-4) var(--s-6);
    font-size: var(--fs-md);
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
  .final-sub { font-size: var(--fs-md); margin-bottom: var(--s-6); }
  .final-in > .h-display { margin-bottom: var(--s-5); }

  /* Bento-FAQ: tighter spacing */
  .bento-card summary { padding: var(--s-4) var(--s-1); }
}

/* ─── BEZIRKE-GRID: 1-spaltig auf engen Phones (≤ 480px)
       Begründung: bz-card mit bz-num + bz-pill nebeneinander braucht ~180px
       Innenbreite, was 2 Spalten erst ab Viewport ~480px erlauben. iPhone 12+
       (390-430px) hat vorher Overflow gehabt. ─── */
@media (max-width: 480px) {
  .bz-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .bz-card { padding: var(--s-4) var(--s-5); }
}

/* ─── SMALL MOBILE (≤ 380px): minimale Adjustments ─── */
@media (max-width: 380px) {
  /* City-Facts: 1-spaltig auf sehr kleinen Screens */

  /* Hero-Trust: noch enger */
  .hero-trust { gap: var(--s-2) var(--s-3); }

  /* Editorial-Num: leicht kleiner */
  .editorial-num { font-size: 32px; }
}

/* ══ Seitenfamilie: Mini-Einstieg, Sticky-CTA (ehemals <style id="kv-seite">) ══ */
/* ── MINI-EINSTIEG (Landingpage-Formular) ── */
.mw{background:#fff;border-bottom:1px solid var(--border);padding:18px 20px 20px;position:relative}
.mw::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--teal),rgba(61,139,122,.25))}
.mw-h{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:700;color:var(--ink);margin:0 0 3px}
.mw-h::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 4px rgba(61,139,122,.16)}
.mw-s{font-size:12.5px;color:var(--muted);margin:0 0 13px}
.mw-pick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.mw-btn{appearance:none;font-family:inherit;cursor:pointer;display:flex;align-items:center;gap:10px;padding:13px 14px;border:1.5px solid var(--border);border-radius:12px;background:#fff;color:var(--ink);text-align:left;transition:border-color .18s,box-shadow .18s,transform .18s}
.mw-btn svg{color:var(--teal);flex:none}
.mw-btn b{display:block;font-size:14.5px;font-weight:600;line-height:1.2}
.mw-btn span{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.mw-btn:hover{border-color:var(--teal);transform:translateY(-1px);box-shadow:0 8px 18px -8px rgba(61,139,122,.4)}
.mw-btn.is-on{border-color:var(--teal);background:rgba(61,139,122,.07);box-shadow:0 0 0 3px rgba(61,139,122,.13)}
.mw-row{display:flex;gap:10px;align-items:stretch}
.mw-plz{flex:0 0 128px;display:flex;align-items:center;gap:8px;border:1.5px solid var(--border);border-radius:12px;padding:0 12px;background:#fff;transition:border-color .18s}
.mw-plz:focus-within{border-color:var(--teal)}
.mw-plz input{width:100%;border:0;outline:0;background:none;font-family:inherit;font-size:15px;color:var(--ink);padding:13px 0}
.mw-plz input::-webkit-outer-spin-button,.mw-plz input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.mw-go{flex:1;appearance:none;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:var(--ink);color:#fff;font-size:15px;font-weight:600;padding:13px 18px;transition:background .18s,transform .18s,box-shadow .18s}
.mw-go:hover{background:var(--teal);transform:translateY(-1px);box-shadow:0 10px 22px -8px rgba(61,139,122,.5)}
.mw-note{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin:11px 0 0}
.mw-note svg{color:var(--teal);flex:none}
@media(max-width:560px){.mw{padding:16px}.mw-row{flex-wrap:wrap}.mw-plz{flex:1 1 118px}.mw-go{flex:1 1 100%}}
/* ── KOMPAKTE FAKTENZEILE ── */
.city-strip{display:flex;align-items:stretch;gap:14px;padding:14px 20px;
  background:linear-gradient(180deg,#fff 0%,#FBFBF9 100%);border-top:0.5px solid var(--border)}
.cs-item{display:flex;align-items:center;gap:10px;flex:1 1 0;min-width:0}
.cs-ic{flex:none;width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  background:rgba(61,139,122,.1);color:var(--teal)}
.cs-tx{display:flex;flex-direction:column;min-width:0}
.cs-l{font-size:9.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);
  line-height:1.3;opacity:.85}
.cs-v{font-size:13.5px;font-weight:600;color:var(--ink);line-height:1.35;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.city-strip-sep{width:1px;flex:none;margin:2px 0;background:linear-gradient(180deg,transparent,var(--border) 25%,var(--border) 75%,transparent)}
@media(max-width:560px){.city-strip{padding:13px 16px;gap:12px}.cs-ic{width:28px;height:28px}}
/* ── STICKY MOBILE CTA ── */
.smc{display:none}
@media(max-width:820px){
  .smc{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:120;align-items:center;gap:12px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.93);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);
    box-shadow:0 -8px 24px -14px rgba(28,43,58,.4);transform:translateY(110%);transition:transform .3s cubic-bezier(.25,.6,.3,1)}
  .smc.on{transform:none}
  .smc-t{flex:1;min-width:0;font-size:12.5px;color:var(--muted);line-height:1.35}
  .smc-t b{display:block;font-size:14px;color:var(--ink);font-weight:600}
  .smc-b{flex:none;display:inline-flex;align-items:center;gap:7px;background:var(--ink);color:#fff;
    text-decoration:none;font-size:14px;font-weight:600;padding:11px 16px;border-radius:11px}
  body{padding-bottom:64px}
}

/* ══ Reveal-Kompatibilität (ehemals <style id="kv-world-switch">) ══ */
/* ── Reparatur 23.8.2026: Reveal-Umstellung ──────────────────────────────
   Diese Seiten warten auf die Klasse .vis, die der alte Observer setzte.
   Der ist entfernt, kv-reveal.js setzt stattdessen rv-in — dadurch blieben
   Abschnitte dauerhaft auf opacity:0 stehen (leere Blöcke am Handy).
   Beide Klassen machen jetzt sichtbar. Das Sicherheitsnetz kv-sichtbar
   greift, falls gar nichts ausgelöst wird. */
.reveal.rv-in,.reveal-left.rv-in,.reveal-right.rv-in,.reveal-blur.rv-in,
.reveal.kv-sichtbar,.reveal-left.kv-sichtbar,
.reveal-right.kv-sichtbar,.reveal-blur.kv-sichtbar{
  opacity:1!important;transform:none!important;filter:none!important}
