/* Verkaufsbausteine der Startseite (tools/gen-lp-v2.py, läuft über gen-sections.py). Tokens aus styles.css, Bausteine aus lp.css. */
.w2-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--lav-pale); color: var(--sky-dark); }
.w2-ic svg { width: 24px; height: 24px; }
.w2-nein { flex: none; width: 24px; height: 24px; margin-top: 1px; }

/* Siegel-Leiste unter dem Hero: Logo-Band, läuft endlos (zweite Liste ist die Kopie für die Schleife) */
.w2-siegel { padding: 32px 0 36px; background: #fff; border-bottom: 1px solid var(--line); }
.w2-band { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.w2-lauf { display: flex; width: max-content; animation: w2-lauf 45s linear infinite; }
.w2-band:hover .w2-lauf, .w2-band:focus-within .w2-lauf { animation-play-state: paused; }
@keyframes w2-lauf { to { transform: translateX(-50%); } }
.w2-siegel-liste { display: flex; align-items: center; justify-content: space-around; gap: 104px; min-width: 100vw; margin: 0; padding: 0 52px; list-style: none; } /* mind. Fensterbreite: sonst klafft bei 6 Siegeln ab ~1700 px eine Lücke im Lauf */
.w2-marke { display: flex; align-items: center; flex: none; height: 84px; }
.w2-marke img { width: auto; height: 84px; }
.w2-marke img[src*="ekomi"] { height: 64px; }
.w2-google a > span { display: grid; gap: 2px; font-size: 14px; line-height: 1.35; color: var(--body-ink); }
.w2-google a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; }
.w2-google a:focus-visible { outline: 3px solid var(--focus-ring, var(--sky-ink)); outline-offset: 3px; }
.w2-g { flex: none; width: 36px; height: 36px; }
.w2-wert { display: flex; align-items: center; gap: 8px; }
.w2-wert b { font-size: 22px; color: var(--navy); }
.w2-sterne { color: #fbbc05; font-size: 18px; letter-spacing: 1px; }
.w2-ts .w2-sterne { position: relative; color: #d8dde3; }
.w2-ts .w2-sterne > span { position: absolute; inset: 0 auto 0 0; width: var(--anteil); overflow: hidden; color: #ffb400; }
@media (prefers-reduced-motion: reduce) {
  .w2-band { -webkit-mask-image: none; mask-image: none; }
  .w2-lauf { width: auto; animation: none; }
  .w2-lauf > [aria-hidden="true"] { display: none; }
  .w2-siegel-liste { flex-wrap: wrap; justify-content: center; gap: 28px 72px; min-width: 0; }
}

/* Einstiegspreis in der freien Fläche links der dunklen Leiste (Spalte wie .k1-band ul padding-left) */
.w2-band-preis {
  position: absolute; top: 0; bottom: 0; left: calc((100% - var(--w)) / 2); z-index: 1;
  display: flex; align-items: center; gap: calc(var(--u) * 28); width: calc(var(--w) - var(--u) * 856);
  color: #fff; text-decoration: none; font-size: calc(var(--u) * 21); line-height: 1.2; font-weight: 300;
}
.w2-band-preis > span:first-child { display: grid; gap: calc(var(--u) * 2); }
.w2-band-preis b { font-size: calc(var(--u) * 26); font-weight: 700; color: var(--sky); }
.w2-band-preis small { font-size: max(10px, calc(var(--u) * 11.5)); opacity: 0.6; }
.w2-band-los { display: inline-flex; align-items: center; gap: calc(var(--u) * 8); padding: calc(var(--u) * 10) calc(var(--u) * 18); border: 1px solid rgb(255 255 255 / 0.35); border-radius: 999px; font-size: calc(var(--u) * 17); font-weight: 600; white-space: nowrap; transition: background 0.2s var(--ease-out); }
.w2-band-los svg { width: calc(var(--u) * 18); height: calc(var(--u) * 18); }
.w2-band-preis:hover .w2-band-los { background: rgb(255 255 255 / 0.12); }
.w2-band-preis:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }

/* Tarifknöpfe im Kostenbeispiel */
.w2-tarifwahl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.w2-tarifwahl button {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 58px; padding: 10px 4px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.w2-tarifwahl button:hover { border-color: var(--sky); }
.w2-tarifwahl button[aria-pressed="true"] { border-color: var(--sky); background: var(--lav-pale); box-shadow: inset 0 0 0 1px var(--sky); }
.w2-tarifwahl button:focus-visible { outline: 3px solid var(--focus-ring, var(--sky-ink)); outline-offset: 2px; }
.w2-tarifwahl small { font-size: 12px; font-weight: 500; color: var(--hint); }
.w2-tarifwahl b { font-size: 17px; line-height: 1.15; }
.w2-tarifwahl .v-tag { position: absolute; top: -9px; right: -6px; margin: 0; padding: 2px 7px; font-size: 10px; box-shadow: 0 4px 10px rgb(var(--navy-rgb) / 0.15); }
.w2-tarifwahl { padding-top: 6px; }
.w2-cta-zeile { display: grid; justify-items: start; gap: 12px; }
.w2-ab { display: grid; gap: 2px; margin: 0; font-size: 15px; color: var(--body-ink); }
.w2-ab b { font-size: 20px; color: var(--sky-dark); }
.w2-ab small { font-size: 10.5px; color: var(--hint); }

/* Problem, Lücke, Brücke */
.w2-problem { padding: 88px 0; background: var(--lav-soft); }
.w2-problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: center; margin-top: 44px; }
.w2-schmerz { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.w2-schmerz li { display: flex; gap: 12px; font-size: 17px; line-height: 1.55; color: var(--navy); }
.w2-schmerz a { color: var(--sky-dark); font-weight: 600; }
.w2-vergleich { display: grid; gap: 18px; justify-items: start; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px rgb(var(--navy-rgb) / 0.1); }
.w2-vergleich-titel { margin: 0; font-weight: 600; font-size: 18px; color: var(--navy); }
.w2-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.w2-ohne, .w2-mit { display: grid; gap: 10px; padding: 18px; border-radius: 16px; }
.w2-ohne { background: #fff4f2; }
.w2-mit { background: var(--lav-pale); box-shadow: inset 0 0 0 2px var(--sky); }
.w2-label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hint); }
.w2-zeile, .w2-summe { display: grid; gap: 2px; margin: 0; font-size: 14px; color: var(--body-ink); }
.w2-zeile b, .w2-summe b { white-space: nowrap; color: var(--navy); font-size: 17px; }
.w2-summe { padding-top: 10px; border-top: 1px solid rgb(var(--navy-rgb) / 0.1); color: var(--navy); }
.w2-summe b { font-size: 26px; letter-spacing: -0.01em; }
.w2-ohne .w2-summe b { color: #c0392b; }
.w2-mit .w2-summe b { color: var(--sky-dark); }
.w2-fuss { margin: 0; font-size: 13px; line-height: 1.5; color: var(--hint); }

/* Mikro-Frage als CTA */
.w2-wichtig { padding: 24px 0 64px; }
.w2-wichtig-box { display: grid; gap: 18px; padding: 30px 32px; border-radius: 22px; background: var(--navy); color: #fff; }
.w2-wichtig h2 { margin: 0; font-size: 24px; line-height: 1.3; text-align: center; color: #fff; }
.w2-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w2-wahl a {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px;
  border-radius: 16px; background: #fff; color: var(--navy); text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.w2-wahl a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgb(0 0 0 / 0.2); }
.w2-wahl a:focus-visible { outline: 3px solid var(--focus-ring, var(--sky-ink)); outline-offset: 3px; }
.w2-wahl a > span:nth-child(2) { display: grid; gap: 2px; flex: 1; font-size: 14px; color: var(--body-ink); }
.w2-wahl b { font-size: 18px; color: var(--navy); }
.w2-wahl a > svg { flex: none; width: 22px; height: 22px; color: var(--sky-dark); }

/* Serviceleistungen */
.w2-service { padding: 88px 0; background: #fff; }
.w2-service-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.w2-service-liste li { display: grid; align-content: start; gap: 8px; padding: 24px; }
.w2-service-liste li .w2-ic { margin-bottom: 6px; }
.w2-service-liste b { font-size: 17px; color: var(--navy); }
.w2-service-liste li > span:last-child { font-size: 15px; line-height: 1.5; color: var(--body-ink); }

/* De-Marketing */
.w2-filter { padding: 88px 0; }
.w2-filter-box { display: grid; gap: 20px; justify-items: start; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.w2-filter h2 { margin: 0; font-size: 30px; line-height: 1.25; text-align: left; }
.w2-ehrlich { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--lav-pale); font-size: 15px; line-height: 1.55; color: var(--navy); }

@media (max-width: 980px) {
  .w2-band-preis { position: static; display: flex; justify-content: space-between; width: auto; padding: 20px 16px 0; font-size: 15px; gap: 12px; }
  .w2-band-preis > span:first-child { gap: 2px; }
  .w2-band-preis b { font-size: 18px; }
  .w2-band-preis small { font-size: 10px; }
  .w2-band-los { gap: 6px; padding: 8px 14px; font-size: 14px; }
  .w2-band-los svg { width: 16px; height: 16px; }
  .w2-problem, .w2-service { padding: 56px 0; }
  .w2-problem-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
  .w2-service-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .w2-siegel-liste { gap: 64px; padding: 0 32px; }
  .w2-marke, .w2-marke img { height: 64px; }
  .w2-marke img[src*="ekomi"] { height: 50px; }
  .w2-tarifwahl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w2-ic { width: 38px; height: 38px; }
  .w2-schmerz li { font-size: 16px; }
  .w2-vergleich { padding: 20px 16px; }
  .w2-spalten, .w2-wahl, .w2-service-liste { grid-template-columns: minmax(0, 1fr); }
  .w2-vergleich .btn { width: 100%; }
  .w2-wichtig { padding: 8px 0 48px; }
  .w2-wichtig-box { padding: 22px 16px; }
  .w2-wichtig h2 { font-size: 20px; }
  .w2-filter { padding: 56px 0; }
  .w2-filter-box { padding: 24px 18px; }
  .w2-filter h2 { font-size: 24px; }
}

/* Ohne Eyebrows steht der Titel oben: kein Abstand mehr nach der Pill */
main h2:first-child, .k1 h1:first-child { margin-top: 0; }
.v-hk-kopf .v-ic-box + h3 { margin-top: 16px; }
.v-team-karten + .v-gesichter { margin-top: 56px; }

/* Header kleiner, vor allem die Schrift (überschreibt styles.css nur auf der Startseite) */
.site-header .main-nav a { font-size: calc(var(--u) * 22); white-space: nowrap; }
.site-header .phone-num, .site-header .header-phone { font-size: calc(var(--u) * 24); }
.site-header .header-phone svg { width: calc(var(--u) * 26); height: calc(var(--u) * 26); }
.site-header .header-cta { width: auto; height: calc(var(--u) * 60); padding: 0 calc(var(--u) * 28); font-size: calc(var(--u) * 22); }


/* Stockfotos in den Abschnitten (Problem, Service, Abschluss) */
.w2-foto { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 50px rgb(var(--navy-rgb) / 0.12); }
.w2-problem-links { display: grid; gap: 28px; }
.w2-problem-links .w2-foto { aspect-ratio: 16 / 10; }
.w2-service-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: center; margin-top: 40px; }
.w2-service-grid .w2-foto { height: 100%; min-height: 360px; }
.w2-service-grid .w2-service-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.w2-final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; text-align: left; }
.w2-final-grid .w2-foto { aspect-ratio: 4 / 3; }
.w2-final-text .v-final-knoepfe { justify-content: flex-start; }
.w2-final-text h2 { text-align: left; }
@media (max-width: 980px) {
  .w2-service-grid, .w2-final-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .w2-service-grid .w2-foto { min-height: 0; aspect-ratio: 16 / 9; }
  .w2-final-grid { text-align: center; }
  .w2-final-text .v-final-knoepfe { justify-content: center; }
  .w2-final-text h2 { text-align: center; }
}
@media (max-width: 520px) {
  .w2-foto { border-radius: 16px; }
  .w2-service-grid .w2-service-liste { grid-template-columns: minmax(0, 1fr); }
}

/* Erster Blick: Header + Hero + Leiste + Siegel-Band = 100dvh (Header-Höhe wie lp.css: 108 * --u des Headers) */
.w2-erstblick { display: flex; flex-direction: column; min-height: calc(100vh - min(100vw, 1800px) * 108 * 0.72 / 1920); min-height: calc(100dvh - min(100vw, 1800px) * 108 * 0.72 / 1920); }
.w2-erstblick .k1 { flex: 1; display: flex; flex-direction: column; }
.w2-erstblick .k1-grid { flex: 1; height: auto; min-height: calc(var(--u) * 560); align-items: center; }
.w2-erstblick .k1-copy { padding: calc(var(--u) * 24) 0; }
.w2-erstblick .k1-media { margin: 0; }

/* WhatsApp: Berater, Frage-Box, schwebender Knopf rechts unter dem GHL-Chat */
.w2-wa-knopf { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; margin: 10px auto 0 !important; padding: 7px 14px; border-radius: 999px; background: #25d366; color: #fff !important; font-size: 13.5px; }
.w2-wa-knopf svg, .w2-wa-btn svg { width: 18px; height: 18px; flex: none; }
/* GHL-Chat über den WhatsApp-Knopf heben: transform macht den Host zum Bezugsrahmen seiner fixed-Kinder.
   Offen (Klasse setzt das Skript unter dem Loader) sitzt er wieder unten, GHL rechnet die Fensterhöhe ab Viewport-Unterkante. */
chat-widget { position: fixed; left: 0; right: 0; bottom: 68px; height: 0; transform: translateZ(0); z-index: 40; }
.chat-offen chat-widget { bottom: 0; }
.w2-wa-knopf:hover, .w2-wa-btn:hover { background: #1ebe5a; }
.v-fragen-box .w2-wa-reihe { color: rgb(255 255 255 / 0.8); }
.w2-wa-reihe { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin: 18px 0 0; font-size: 15px; color: var(--body-ink); }
.w2-wa-btn { gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: #25d366; color: #fff; font-size: 15px; }
.w2-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgb(0 0 0 / 0.22); transition: transform 0.2s var(--ease-out); }
.w2-wa-float svg { width: 30px; height: 30px; }
.w2-wa-float:hover { transform: scale(1.06); }
.w2-wa-float:focus-visible { outline: 3px solid var(--focus-ring, var(--sky-ink)); outline-offset: 3px; }

/* Zusätzliche CTAs */
.w2-cta-mitte { display: flex; justify-content: center; margin: 36px 0 0; }

/* Tarife: Tarifwahl oben, darunter ein Tarif als Merkmalliste (Vorbild Barmenia-Partnerseite) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.w3-tarifwahl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 880px; margin: 44px auto 22px; padding-top: 8px; }
.w3-tarifwahl button {
  position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 6px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--navy);
  font: inherit; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.w3-tarifwahl button:hover { border-color: var(--sky); }
.w3-tarifwahl button[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.w3-tarifwahl button:focus-visible { outline: 3px solid var(--focus-ring, var(--sky-ink)); outline-offset: 2px; }
.w3-tarifwahl b { font-size: 16px; line-height: 1.2; }
.w3-tarifwahl small { font-size: 13px; font-weight: 500; opacity: 0.75; }
.w3-tarifwahl .v-tag { position: absolute; top: -10px; right: -6px; margin: 0; padding: 2px 7px; font-size: 10px; box-shadow: 0 4px 10px rgb(var(--navy-rgb) / 0.15); }
.w3-tarif { max-width: 880px; margin: 0 auto; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgb(var(--navy-rgb) / 0.12); }
.w3-kopf { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; min-height: 200px; padding: 26px 30px; color: #fff; background: var(--navy); }
.w3-kopf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w3-kopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--navy-rgb) / 0.05) 15%, rgb(var(--navy-rgb) / 0.88)); }
.w3-kopf > div, .w3-preis { position: relative; z-index: 1; }
.w3-kopf h3 { margin: 0; font-size: 28px; line-height: 1.15; text-shadow: 0 1px 10px rgb(0 0 0 / 0.3); }
.w3-kopf h3 .v-tag { vertical-align: 5px; }
.w3-kopf div p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: rgb(255 255 255 / 0.88); }
.w3-preis { display: grid; justify-items: end; margin: 0; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--navy); }
.w3-preis span { font-size: 12px; color: var(--hint); }
.w3-preis b { color: var(--navy); font-size: 24px; line-height: 1.1; }
.w3-balken { margin: 0; padding: 18px 30px; background: var(--navy); color: #fff; font-size: 20px; font-weight: 700; border-top: 1px solid rgb(255 255 255 / 0.12); }
.w3-merkmale { margin: 0; padding: 0; list-style: none; }
.w3-merkmale li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 30px; }
.w3-merkmale li:nth-child(even) { background: rgb(var(--sky-rgb) / 0.1); }
.w3-merkmale li > span { display: grid; gap: 2px; min-width: 0; }
.w3-merkmale li > span b { font-size: 18px; line-height: 1.25; color: var(--navy); }
.w3-merkmale li > span small { font-size: 14.5px; line-height: 1.4; color: var(--navy-80); }
.w3-merkmale li > b { flex: none; font-size: 22px; color: var(--navy); }
.w3-haken { flex: none; width: 32px; height: 32px; }
.w3-haken circle { fill: var(--sky); }
.w3-haken path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.w3-nein { flex: none; font-size: 14px; color: var(--hint); }
.w3-staffel { margin: 0; padding: 18px 30px 0; font-size: 13.5px; line-height: 1.5; color: var(--hint); }
.w3-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin: 0; padding: 22px 30px 30px; }
.w3-cta .v-pk-btn { width: auto; height: 58px; padding: 0 44px; border-radius: 14px; font-size: 18px; }
.w3-avb { font-size: 14px; font-weight: 500; color: var(--sky-ink); }

/* Desktop: kleiner Abschluss-Knopf unten mittig, erscheint nach dem Hero (Mobil hat die Leiste aus styles.css) */
@media (min-width: 981px) {
  .sticky-cta { display: inline-flex; position: fixed; z-index: 25; left: 50%; bottom: 20px; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 16px; translate: -50% 0; box-shadow: 0 12px 30px rgb(var(--navy-rgb) / 0.25); }
  @supports (animation-timeline: scroll()) {
    .sticky-cta { animation: cta-in linear both; animation-timeline: scroll(root); animation-range: 520px 620px; }
  }
}

@media (max-width: 980px) {
  .w2-erstblick { min-height: calc(100dvh - 64px); }
  .w2-erstblick .k1-grid { min-height: 0; }
  .w2-erstblick .k1-copy { padding: 20px 0 0; }
  /* WhatsApp in derselben Spalte und Größe wie die GHL-Blase (GHL-Einstellung: rechts 20 px, 58 px) */
  .w2-wa-float { right: 20px; bottom: 80px; width: 58px; height: 58px; }
  chat-widget { bottom: 130px; }
  /* Offen legt GHL das Fenster mobil fest an den Bildschirm. Mit transform am Host landete es unter dem unteren Rand ("verschwindet") */
  .chat-offen chat-widget { transform: none; }
  /* Sonst schaut die Leiste "Beitrag berechnen" unter dem offenen Chatfenster hervor */
  .chat-offen .sticky-cta { visibility: hidden; }
}

/* Warentest-Siegel im Hero: kleiner, ragt unten links über den Bildrahmen (wie die Google-Karte oben rechts) */
.k1-siegel { left: calc(var(--u) * -36); top: auto; bottom: calc(var(--u) * -32); width: calc(var(--u) * 184); }
@media (max-width: 980px) {
  .k1-siegel { left: -10px; bottom: -14px; width: 96px; padding: 3px; }
}

/* Tarife mobil (nach den Basisregeln, sonst überschrieben) */
@media (max-width: 520px) {
  .w3-tarifwahl { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 32px 0 18px; }
  .w3-tarifwahl button { grid-column: span 2; padding: 12px 4px; }
  .w3-tarifwahl button:nth-child(n+4) { grid-column: span 3; }
  .w3-tarifwahl b { font-size: 14.5px; }
  .w3-tarifwahl small { font-size: 12px; }
  .w3-tarif { border-radius: 18px; }
  .w3-kopf { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 120px 18px 18px; }
  .w3-kopf h3 { font-size: 22px; }
  .w3-preis { justify-self: start; justify-items: start; padding: 8px 14px; }
  .w3-preis b { font-size: 20px; }
  .w3-balken { padding: 14px 18px; font-size: 17px; }
  .w3-merkmale li { padding: 14px 18px; }
  .w3-merkmale li > span b { font-size: 16px; }
  .w3-merkmale li > span small { font-size: 13.5px; }
  .w3-merkmale li > b { font-size: 18px; }
  .w3-haken { width: 28px; height: 28px; }
  .w3-staffel { padding: 14px 18px 0; }
  .w3-cta { padding: 18px 18px 22px; }
  .w3-cta .v-pk-btn { width: 100%; }
}

/* Niedrige Displays (Handy quer, kleine Laptops): Chat ganz unten, WhatsApp links daneben, sonst ragt die Chat-Blase oben raus */
@media (max-height: 560px) {
  chat-widget { bottom: 0; }
  .w2-wa-float { right: 90px; bottom: 20px; width: 58px; height: 58px; } /* auf Höhe der GHL-Blase */
}
@media (max-height: 560px) and (max-width: 860px) {
  .sticky-cta { right: 164px; } /* Handy quer: Leiste endet vor WhatsApp und Chat statt darunter */
}

/* Mobil-Feinschliff (19.10.2026): Tippziele ab 44 px, Schrift ab 12 px, kein Querscrollen ab 320 px Breite */
.btn { text-align: center; } /* zweizeilige Knöpfe sonst linksbündig */
@media (max-width: 980px) {
  /* Kopf mobil in den Maßen der PKV-Seite (23.11.2026), gleiche Werte in kopf.css */
  .site-header .header-phone svg { width: 20px; height: 20px; } /* Z. 155 rechnet in --u und schrumpft das Symbol auf 4 px */
  /* styles.css schaltet erst ab 860 px auf den Mobilkopf; von 861 bis 980 px stand sonst das Menü in 8 px Schrift über der Bereichsleiste */
  .site-header { height: 64px; }
  .site-header .main-nav, .site-header .header-cta, .site-header .phone-num { display: none; }
  .site-header .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--lav-pale); }
  .site-header .logo { width: auto; min-height: 44px; gap: 8px; font-size: 17px; }
  .site-header .logo .x { margin: 0 3px; height: 26px; }
  .site-header .zt-logo { height: clamp(20px, 6.2vw, 26px); }
  .site-header .barmenia-logo { height: clamp(16px, 5vw, 22px); }
  .site-header .header-phone { margin-left: auto; } /* das Menü mit margin-left: auto ist mobil ausgeblendet */
  .v-frage-form textarea { font-size: 16px; } /* unter 16 px zoomt iOS beim Tippen in die Seite */
  /* kleine Textlinks: Tippfläche wächst, Zeilenhöhe bleibt */
  .v-mehr, .v-quelle a, .w3-avb, .v-fusszeile a, .v-tabelle td a { display: inline-block; padding-block: 13px; margin-block: -13px; }
  .v-vergleich .compare summary { padding-block: 12px; margin-block: -12px; }
  .w2-band-preis small { font-size: 12px; }
  .v-tabelle thead th { font-size: 11.5px; }
  .w2-tarifwahl .v-tag, .w3-tarifwahl .v-tag { font-size: 11.5px; }
  .v-tag { font-size: 12px; }
  .v-kacheln small { font-size: 12.5px; }
  .v-stats > div { font-size: 12px; }
}
/* Grafik (470 px breit) passt sonst unter 400 px nicht mehr in die Spalte */
@media (max-width: 380px) { .v-visual { zoom: 0.68; } }
@media (max-width: 340px) { .v-visual { zoom: 0.6; } }
@media (max-width: 374px) {
  .w2-band-preis { flex-wrap: wrap; row-gap: 10px; }
}
/* "Zahnzusatzversicherung" ist in H1/H2 breiter als ein 320- bis 380-px-Display: Größe an die Breite koppeln
   (Wort ≈ 12,4 × Schriftgröße), statt mitten im Wort zu trennen. break-word nur als letzte Sicherung. */
@media (max-width: 400px) {
  h1, h2, h3 { overflow-wrap: break-word; }
  .k1 h1 { font-size: min(34px, calc((100vw - 34px) / 12.6)); }
  .v-kopf h2, .v-erstattung .v-kopf h2, .v-faq .v-kopf h2 { font-size: min(28px, calc((100vw - 34px) / 12.6)); }
  .v-hk-kopf h3 { font-size: min(22px, calc((100vw - 74px) / 12.6)); }
  .v-fragen-box h2 { font-size: min(24px, calc((100vw - 68px) / 13.2)); }
  .v-tabelle { overflow-x: auto; } /* Preistabelle wird sonst rechts abgeschnitten */
}
@media (max-width: 400px) {
  .v-tabelle th, .v-tabelle td { padding: 10px 5px; }
  .v-tabelle th:first-child, .v-tabelle td:first-child { padding-left: 10px; }
}
@media (max-width: 374px) {
  .v-tabelle th, .v-tabelle td { font-size: 12.5px; }
  .v-tabelle td a { white-space: normal; }
  /* Siegel ohne Laufband (reduzierte Bewegung): Karten umbrechen statt rechts abgeschnitten */
  .w2-siegel-liste { min-width: 0; padding: 0 12px; }
  .w2-google a > span { white-space: normal; }
  .w2-siegel-liste > li { flex: 0 1 auto; min-width: 0; }
  .w2-siegel-liste > .w2-google { height: auto; }
  .v-tabelle thead th { font-size: 11px; letter-spacing: 0; }
  .v-tabelle th, .v-tabelle td { padding-inline: 4px; }
  /* Kopf: Logo-Paar schmaler, damit der Telefonknopf seine 44 px behält */
  .site-header .header-phone { flex: none; }
  .zt-logo { height: 23px; }
  .barmenia-logo { height: 20px; }
  /* Ablauf-Symbole: drei Spalten teilen sich die Breite, "Zahnarztbesuch" darf trennen */
  .v-ablauf-reihe { gap: 4px; }
  .v-ablauf-reihe > i { flex: none; width: 10px; }
  .v-schritt { flex: 1 1 0; width: auto; min-width: 0; -webkit-hyphens: auto; hyphens: auto; }
  .v-stats > div { -webkit-hyphens: auto; hyphens: auto; }
  .v-rang .v-tag { white-space: normal; }
}
