/* Kampagnenseiten (Landingpages für Meta-Anzeigen) – ergänzt styles.css
   hoergeraet-mit-service.html · hoergeraete-spitzenmodelle.html · ahv-iv-zuschuss.html
   Aufbau: Kopf ohne Menü (Logo, Telefon, Termin) · Hero · Band „Immer inklusive“ · ein Kampagnenblock · Termin mit Rückruf-Formular.
   Die Seiten tragen <body data-kampagne="…">: dist_bauen.py lässt sie auch live auf noindex und ausserhalb der Sitemap. */

/* ds-allow-hardcode:start – wie styles.css und kosten.css: Farben über die Variablen aus styles.css, Masse als feste Werte */

/* ---------- Kopf: Logo, Telefon, Termin ---------- */
.kopf--lp .kopf-tel { display: flex; }   /* ohne Menü ist auch unter 1360 px Platz für die Nummer */
.kopf-anruf { display: none; }

/* ---------- Kontrast (WCAG AA 4.5:1): weisse 17-px-Schrift auf --gruen-ui hat nur 3.46:1 – hier das dunklere Grün ---------- */
.btn { --bg: var(--gruen-ui-dunkel); --bd: var(--gruen-ui-dunkel); }   /* 4.61:1 */
.btn:hover { --bg: var(--gruen-text); --bd: var(--gruen-text); }      /* 5.24:1 */
.btn--linie { --bg: transparent; --bd: var(--gruen-ui); }
.btn--linie:hover { --bg: var(--gruen-hauch); --fg: var(--gruen-text); --bd: var(--gruen-text); }   /* 4.74:1 statt 4.17:1 */
.weg__art { background: var(--gruen-ui-dunkel); }
.weg__ideal a:hover { color: var(--tinte); }   /* auf Papier hätte --gruen-ui-dunkel nur 4.22:1 */

/* ---------- Hero: Text links, Bild oder Preis rechts auf versetzter Fläche ---------- */
.lp-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 112px); overflow-x: clip; }
.lp-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(36px, 4.2vw, 60px); font-weight: 300; line-height: 1.04;
  letter-spacing: .03em; text-transform: uppercase; text-wrap: balance;
}
.lp-hero h1 b { display: block; font-weight: 700; color: var(--gruen-ui); }
.lp-hero .haken { margin-top: 22px; }
.lp-hero .klein { margin: 18px 0 0; }
.lp-hero .buehne img { object-position: 70% 40%; }

/* Logos der sechs Hersteller statt Foto (Spitzenmodelle) */
.logowand { padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 44px) 104px; border-radius: var(--r-l); background: #fff; box-shadow: var(--schatten-1); }
.logowand ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; margin: 0; padding: 0; list-style: none; }
.logowand li { display: grid; place-items: center; min-height: 64px; }
.logowand img { width: auto; aspect-ratio: auto; object-fit: contain; box-shadow: none; }   /* nicht die Foto-Regel .buehne img */
.logowand + .zusage strong { font-size: clamp(24px, 2.4vw, 30px); }

/* ---------- Band „Immer inklusive“ – das Versprechen aller Kampagnen ---------- */
.inklusiv { padding: clamp(44px, 5vw, 64px) 0; background: var(--gruen-ui-dunkel); color: #fff; }
.inklusiv .wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: 28px clamp(32px, 4vw, 64px); align-items: center; }
.inklusiv__titel { margin: 0; color: #fff; font-size: clamp(30px, 3.2vw, 44px); font-weight: 300; line-height: 1.08; letter-spacing: .045em; text-transform: uppercase; }
.inklusiv__titel b { display: block; font-weight: 700; }
.inklusiv__haupt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; margin: 0; padding: 0; list-style: none; }
.inklusiv__haupt li { display: flex; align-items: flex-start; gap: 18px; }
.inklusiv__ico { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--gruen-ui-dunkel); }
.inklusiv__ico svg { width: 30px; height: 30px; }
.inklusiv__haupt strong { display: block; font-family: var(--font-display); font-size: clamp(23px, 2.1vw, 28px); font-weight: 700; line-height: 1.2; }
.inklusiv__haupt p { margin: 4px 0 0; font-size: 17px; line-height: 1.5; }
.inklusiv__dazu { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .35); list-style: none; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.inklusiv__dazu li { display: flex; align-items: center; gap: 10px; }
.inklusiv__dazu svg { width: 20px; height: 20px; flex: none; }

/* ---------- Spitzenmodelle: Premium-Stufe je Marke ---------- */
.spitze { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.spitze > li { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 26px 22px; border: 1px solid var(--linie); border-radius: var(--r-l); background: #fff; box-shadow: var(--schatten-1); }
.spitze__logo { display: flex; align-items: center; height: 62px; margin-bottom: 12px; }
.spitze h3 { font-size: 25px; font-weight: 700; letter-spacing: .02em; color: var(--tinte); }
.spitze__stufe { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gruen-text); }
.spitze__stufe .stufe { margin: 0; }
.spitze__preis { margin: 0; padding-top: 16px; font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 34px); font-weight: 700; line-height: 1.1; color: var(--tinte); font-variant-numeric: tabular-nums; white-space: nowrap; }
.spitze__auch { margin: 6px 0 0; font-size: 16px; color: var(--tinte-2); }
.spitze-fuss { margin: 14px 0 0; font-size: 15px; color: var(--tinte-2); }
/* Sechs Marken-Anzeigen der Broschüre als Bildleiste im Katalog-Kasten – ihre ab-Preise sind Einstiegspreise, am Handy wischbar */
.katstreifen--leiste { flex-wrap: wrap; }
.anzeigen { flex: 1 1 100%; min-width: 0; padding-top: 18px; border-top: 1px solid var(--linie); }
.anzeigen__titel { margin: 0 0 12px; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gruen-text); }
.anzeigen__leiste { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.anzeigen__leiste ul { display: flex; gap: 12px; margin: 0; padding: 0 0 8px; list-style: none; }
.anzeigen__leiste li { flex: none; scroll-snap-align: start; }
.anzeigen__leiste img { width: auto; height: 132px; border: 1px solid var(--linie); border-radius: var(--r-s); }   /* sechs nebeneinander ab ca. 1280 px */
.anzeigen__titel span { margin-left: 8px; font-family: var(--font-text); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--tinte-2); }
.anzeigen__gross { position: relative; display: block; padding: 0; border: 0; border-radius: var(--r-s); background: none; cursor: zoom-in; }   /* relative: der unsichtbare Vorlese-Text bleibt in der Leiste, sonst wird die Seite am Handy breiter */

/* Grossansicht der Anzeigen (natives <dialog>, Script kampagne.js) */
.bildansicht { width: min(1000px, 92vw); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: var(--r-l); background: #fff; box-shadow: var(--schatten-2); }
.bildansicht::backdrop { background: rgba(20, 22, 18, .8); }
.bildansicht img { display: block; width: 100%; height: auto; max-height: calc(94vh - 76px); object-fit: contain; }
.bildansicht form { margin: 0; }
.bildansicht__steuerung button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1.5px solid var(--rahmen); border-radius: 50%; background: #fff; color: var(--tinte); cursor: pointer;
}
.bildansicht .bildansicht__zu { display: inline-flex; gap: 8px; width: auto; padding: 0 18px; border-radius: 999px; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.bildansicht svg { width: 22px; height: 22px; }
.bildansicht__steuerung { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.bildansicht__blaettern { display: flex; align-items: center; gap: 12px; }
.bildansicht__steuerung [data-schritt="-1"] svg { transform: rotate(180deg); }
.bildansicht__zaehler { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--tinte-2); }
/* Katalog-Kasten als eigener, schmaler Abschnitt (Service-Seite) */
.lp-katalog { padding: clamp(40px, 5vw, 64px) 0 clamp(88px, 9vw, 112px); }   /* unten + 48 px: der grüne Titel „Termin vereinbaren“ ragt nach oben */
.lp-katalog .katstreifen { margin-top: 0; }
.katstreifen__text h3 { margin-bottom: 2px; font-size: 24px; font-weight: 600; color: var(--tinte); }

/* ---------- AHV/IV: Rechner aus kosten.css, hier mit Kopfzeile und Aktionen darunter ---------- */
.lp-rechner { max-width: 1040px; margin: 0 auto; }
.lp-rechner .rechner { margin-top: 0; }
.lp-rechner__preise { margin: 18px 0 0; font-size: 17px; color: var(--tinte-2); }
.lp-rechner__preise strong { color: var(--tinte); }
.lp-rechner .hinweisbox { max-width: none; }
.lp-rechner .aktionen { justify-content: center; }
.lp-rechner + .wrap > .katstreifen { margin-top: 48px; }   /* Katalog-Kasten unter dem Rechner in voller Breite */

/* ---------- Erklärender Abschluss unter den drei Wegen (Service-Seite): Schritt 1 ist immer das Telefongespräch ---------- */
.wege-abschluss { display: flex; align-items: center; gap: 18px 28px; margin: 32px 0 0; padding: 24px 28px; border-radius: var(--r-l); background: var(--gruen-hauch); }
.wege-abschluss .ico { width: 44px; height: 44px; }
.wege-abschluss p { flex: 1; margin: 0; font-size: 19px; line-height: 1.5; color: var(--tinte); }
.wege-abschluss .btn { flex: none; }

/* ---------- Ablauf in zwei Schritten (Spitzenmodelle, AHV): erst das Telefongespräch, dann die Betreuung gemeinsam wählen ---------- */
.lp-ablauf { padding: clamp(48px, 6vw, 80px) 0 clamp(96px, 10vw, 128px); }   /* unten + 48 px für den überstehenden Termin-Titel */
.ablauf2 { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; max-width: 1040px; margin: 0 auto; padding: 0; list-style: none; }
.ablauf2__schritt { display: flex; align-items: flex-start; gap: 18px; padding: 26px 28px; border-radius: var(--r-l); background: #fff; box-shadow: var(--schatten-1); }
.ablauf2 h3 { margin: 6px 0; font-size: 24px; font-weight: 700; color: var(--tinte); }
.ablauf2 p { margin: 0; color: var(--tinte-2); }
.ablauf2 .aktionen { margin-top: 18px; }
.ablauf2__wege { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.ablauf2__wege li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; color: var(--tinte-2); }
.ablauf2__wege .ico { width: 28px; height: 28px; margin-top: 1px; }
.ablauf2__wege strong { color: var(--tinte); }

/* ---------- Termin: Rückruf-Formular im Anfrage-Bereich (Aufbau wie „Sie haben Fragen?“ der Startseite, ohne Foto:
   der Abschnitt ist zu niedrig, das Gesicht läge hinter dem Text) ---------- */
.termin { scroll-margin-top: calc(var(--kopf-h) + 60px); }   /* grüner Titel ragt 48 px über den Abschnitt – unter dem festen Kopf sichtbar lassen */
.termin .anfrage__grid { grid-template-columns: 1fr 1fr; }
.termin .anfrage__grid > div:first-child { justify-content: center; }   /* Startseite hält den Text wegen des Fotos unten – hier ohne Foto */
.termin .formular h3 { margin: 0 0 2px; font-size: 26px; font-weight: 600; letter-spacing: .01em; color: var(--tinte); }
.termin .formular > p:not(.rueckruf__fuss) { margin: 0 0 20px; color: var(--tinte-2); }
.termin .rueckruf__form { grid-template-columns: 1fr 1fr; gap: 16px; }
.termin .rueckruf__form fieldset, .termin .rueckruf__form .btn { grid-column: 1 / -1; }
.termin .rueckruf__form .btn { margin-top: 4px; }
.termin__schritte { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.termin__schritte li { display: flex; align-items: flex-start; gap: 16px; color: #fff; }
.termin__schritte strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.3; }
.termin .ziffer { background: #fff; color: var(--gruen-ui-dunkel); }
.termin__tel { margin: 28px 0 0; font-size: 18px; color: #fff; }
.termin__tel a { color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700; white-space: nowrap; }
.termin__tel span { display: block; font-size: 16px; }

/* ---------- Fuss: nur Firma, Kontakt und Rechtliches ---------- */
.fuss--lp .fuss__lp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 36px 0 28px; }
.fuss--lp .fuss__lp p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--tinte-2); }
.fuss--lp .fuss__lp a { color: var(--tinte); font-weight: 600; }

/* ---------- Umbrüche ---------- */
@media (max-width: 960px) {
  /* Text zuerst: Überschrift und Termin-Knopf ohne Scrollen, das Bild folgt */
  .lp-hero .split .buehne { order: 0; }
  .lp-hero .split { row-gap: 72px; }
  .inklusiv .wrap { grid-template-columns: 1fr; }
  .spitze { grid-template-columns: repeat(2, 1fr); }
  .termin .anfrage__grid { grid-template-columns: 1fr; }
  .termin .formular { order: -1; }   /* Formular vor den Schritten */
  .ablauf2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .kopf--lp .kopf-tel { display: none; }
  .kopf--lp .kopf-anruf { display: inline-flex; width: 50px; padding: 0; }
  .kopf--lp .kopf-cta .btn--kopf { display: inline-flex; padding: 0 16px; }
  .kopf--lp .logo img { width: 150px; }
  .nur-breit { display: none; }
  .wege-abschluss { flex-wrap: wrap; padding: 20px; }
  .wege-abschluss p { flex-basis: calc(100% - 72px); }   /* 44 px Symbol + 28 px Abstand */
  .wege-abschluss .btn { flex: 1 1 100%; }
  .ablauf2__schritt { padding: 20px; gap: 14px; }
  .anzeigen__leiste img { height: 150px; }
  .lp-hero .buehne img { aspect-ratio: 16 / 10; }
  .inklusiv__haupt { grid-template-columns: 1fr; }
  .logowand ul { gap: 20px 14px; }
  .logowand li { min-height: 52px; }
  .logowand .marke__logo { max-width: 100%; height: auto; max-height: 40px; }
}
@media (max-width: 560px) {
  /* Modelle als Zeilen: Logo oben, Modell links, Preis rechts */
  .spitze { grid-template-columns: 1fr; gap: 12px; }
  .spitze > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 16px 18px; }
  .spitze__logo { grid-column: 1 / -1; height: 48px; margin-bottom: 6px; }
  .spitze h3 { grid-column: 1; font-size: 21px; }
  .spitze__stufe { grid-column: 1; }
  .spitze__preis { grid-column: 2; grid-row: 2 / span 2; margin: 0; padding: 0; font-size: 24px; text-align: right; }
  .spitze__auch { grid-column: 1 / -1; }
  .termin .rueckruf__form { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .lp-hero h1 { font-size: 31px; }   /* „Spitzenmodelle.“ passt sonst nicht in die Zeile */
  .termin .formular { padding: 22px 18px; }
  .termin .wahl { grid-template-columns: 1fr; }   /* „Nachmittags“ passt nicht in die halbe Kartenbreite */
}
@media (max-width: 359px) {
  .kopf--lp .kopf-cta .btn--kopf { display: none; }   /* sehr schmale Handys: Logo und Anrufen genügen */
}
/* ds-allow-hardcode:end */
