/* Sinneswert — Unterseiten
   =======================
   stil/verkaufsseite.css ist die Vorlage von Lukas, unveraendert. Hier steht
   nur, was es dort nicht gibt: Bausteine, die ausschliesslich auf den
   Unterseiten vorkommen (Haken-Listen, Rechtstexte, Ratgeber, heller und
   dunkler Abschnitt, Fussbereich mit Verweisen).

   Regel fuer alle Ergaenzungen: keine neuen Farben, keine neuen Abstaende
   erfinden. Es werden dieselben Werte benutzt wie in der Vorlage —
   --ink --sub --blue --line --ice --soft, Radien 14/17/22/28, Kanten
   1px var(--line), Schriftgroessen 11/12/13/14/15/16, Umbruchpunkte
   1000 px und 700 px.
*/

/* ---------- Baender ---------- */

/* .wrap zentriert nur; die Seitenraender kommen von .container. */
.wrap{margin-inline:auto}
.schmal{max-width:760px}
.mitte{text-align:center}
.mitte .actions{justify-content:center}

/* Kopf einer Unterseite: dieselbe Eiskarte wie auf der Startseite, aber
   unten geschlossen, weil darunter kein Beispiel mehr steht. */
.hero.wrap{padding-bottom:46px}
.hero.schmal{max-width:none}
/* Auf dem Handy darf kein Menuepunkt umbrechen. */
nav a{white-space:nowrap}
.hero.schmal :is(h1,.lead,.eyebrow){max-width:760px;margin-inline:auto}
/* Lange Ueberschriften (Ratgeber) duerfen kleiner sein als der Startseiten-Kopf. */
.hero.schmal h1{font-size:clamp(38px,4.4vw,60px)}
.hero h2{font-size:clamp(35px,4vw,57px)}

/* Heller und dunkler Abschnitt. Werte aus .stepssection der Vorlage. */
.section--flaeche{background:var(--soft);border:1px solid #e4eaf0;border-radius:22px;padding:52px 45px;margin-block:42px}
.section--dunkel{background:var(--ink);color:#fff;border-radius:22px;padding:52px 45px;margin-block:42px}
.section--dunkel :is(p,.lead,li,small){color:#c3d1de}
.section--dunkel .eyebrow{color:#93aac0}
.section--dunkel .button{background:#fff;color:var(--ink);border-color:#fff}
.section--dunkel .button:hover{background:#dfe8f0}
.section--dunkel .secondary{background:transparent;color:#fff;border-color:#5a7590}
.section--dunkel .secondary:hover{background:#24435f}
.section--dunkel a{color:inherit}

/* ---------- Fliesstext ---------- */

.wrap>h2,.wrap>h3{margin-top:0}
.wrap h2+p,.wrap h3+p,.wrap p+p,.wrap p+ul,.wrap p+ol{margin-top:14px}
.wrap>.tablewrap,.wrap>.actions,.wrap>.steps,.wrap>details{margin-top:22px}
caption{text-align:left;font-size:12px;color:var(--sub);padding-bottom:14px}
.wrap h2{margin-top:38px}
.wrap h3{font-size:22px;margin-top:30px}
/* In einer schmalen Spalte ist die grosse Ueberschrift der Vorlage zu laut. */
.wrap.schmal h2{font-size:clamp(28px,3vw,34px);margin-top:34px}
.wrap.schmal h3{font-size:20px}
.wrap :first-child{margin-top:0}
.wrap p{font-size:16px;line-height:1.65;color:var(--sub);max-width:68ch}
.wrap strong{color:var(--ink)}
.wrap :is(ul,ol){font-size:16px;color:var(--sub);max-width:68ch;padding-left:22px;margin:14px 0}
.wrap li{margin-bottom:8px}
.wrap code{font-size:14px;background:var(--ice);border-radius:5px;padding:2px 6px}
.wrap a{text-decoration:underline;text-underline-offset:3px}
.wrap .button,.wrap .haken,.wrap .kreuze{text-decoration:none}

.raster{display:grid;grid-template-columns:1fr 1fr;gap:38px;margin-top:30px}
.raster>div>:first-child{margin-top:0}

/* Kleine Bausteine aus der Vorlage, hier auch ausserhalb einer Preis-Reihe. */
.cost{font-size:36px;line-height:1.15;letter-spacing:-.05em;font-weight:500}
.duration{font-size:12px;color:var(--sub);margin-top:5px}
.delivery{font-size:12px;line-height:1.65;color:var(--sub);margin-top:14px}
.tag{font-size:10px;font-weight:600;letter-spacing:.03em;color:var(--sub)}

/* ---------- Listen mit Haken und Kreuzen ---------- */

.haken,.kreuze,.wrap :is(.haken,.kreuze){list-style:none;padding:0;margin:15px 0 0;font-size:14px;color:var(--sub);max-width:none}
.haken li,.kreuze li{position:relative;padding-left:26px;padding-block:5px;margin:0}
.haken li:before{content:'✓';color:#45688b;position:absolute;left:0}
.kreuze li:before{content:'—';color:#8ea3b6;position:absolute;left:0}
.haken--zwei{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}

/* Ja/Nein in der Vergleichstabelle */
td.ja{color:var(--blue);font-weight:600}

/* Merkkasten: dieselbe Eisfläche wie die empfohlene Preisreihe. */
.hinweis{background:var(--ice);border:1px solid #c6d8e7;border-radius:14px;padding:22px 25px;margin-top:25px;font-size:14px;color:var(--sub)}
.hinweis strong{color:var(--ink)}

hr.zier{border:0;border-top:1px solid var(--line);margin:38px 0}

/* ---------- Rechtstexte ---------- */

.rechtstext h2{font-size:28px;margin-top:42px}
.rechtstext h3{font-size:19px;margin-top:28px}
.rechtstext :is(p,li){font-size:15px}

/* ---------- Ratgeber ---------- */

.beitraege{margin-top:10px}
.beitrag{border-top:1px solid var(--line);padding:24px 0}
.beitrag:last-child{border-bottom:1px solid var(--line)}
.beitrag h2{font-size:25px;margin:0 0 8px}
.beitrag h2 a{text-decoration:none}
.beitrag p{font-size:15px;color:var(--sub);max-width:70ch;margin:0}
.beitrag-datum{font-size:12px;color:#5d7892;margin-bottom:12px!important;text-transform:uppercase;letter-spacing:.09em}

/* ---------- Fussbereich ---------- */

.footerlinks{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:38px;border-top:1px solid var(--line);margin-top:60px;padding-top:38px;font-size:13px;color:var(--sub)}
.footerlinks .eyebrow{display:block;margin-bottom:16px;color:var(--ink)}
.footerlinks p{font-size:13px;margin-bottom:12px;max-width:34ch}
.footerlinks>div>a{display:block;min-height:30px;line-height:1.6}
.footerlinks a:hover{text-decoration:underline}
footer{border-top:1px solid var(--line);margin-top:30px}

/* ---------- Nur fuer Vorlesegeraete ---------- */

.nur-vorlesen{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---------- Schmale Bildschirme ---------- */

@media(max-width:1000px){
  .raster{gap:28px}
  .footerlinks{gap:28px}
}

@media(max-width:700px){
  .hero.wrap{padding-bottom:30px}
  .section--flaeche,.section--dunkel{padding:34px 22px;border-radius:17px;margin-block:26px}
  .raster{grid-template-columns:1fr;gap:24px}
  .haken--zwei{grid-template-columns:1fr}
  .wrap p,.wrap :is(ul,ol){font-size:15px}
  .wrap h2{margin-top:30px}
  .cost{font-size:34px}
  .beitrag h2{font-size:22px}
  .footerlinks{grid-template-columns:1fr;gap:26px;margin-top:40px;padding-top:28px}
  .hinweis{padding:18px 20px}
}

/* ---------- Papier ---------- */

@media print{
  .nav,.footerlinks,.actions,.skip{display:none}
  body{color:#000;font-size:11pt}
  .container{max-width:none;padding:0}
  .hero,.section--flaeche,.section--dunkel,.stepssection,.contact{background:none;color:#000;border:0;padding:0;margin:0}
  .section{padding-block:14pt}
  a[href^="http"]:after{content:" (" attr(href) ")";font-size:9pt;color:#444}
  details{display:block}
  details>*{display:block}
}
