/* RECHTSSEITEN DER VERKAUFSSEITE — impressum.html, datenschutz.html, agb.html (26.09.2026)

   Die drei Seiten tragen das Kleid der Startseite (webseite/index.html): dieselbe Schrift, dieselben Farben, dieselbe
   Kopfleiste, derselbe Rahmen (weisser Rand, Grund #F5F6F4, Radius 64) mit der dunklen Fusszeile als Sockel. Vorher
   standen sie mit den Farben vom 20.09. da (grünlicher Grund #F3F8F5, Dragonfruit #AD1458) und einer eigenen, schmaleren
   Kopf- und Fusszeile — dreimal dieselbe Stilkopie inline, jede Seite mit dem Hinweis, sie sei aus der anderen kopiert.

   ⚠ DIE QUELLE DER WERTE IST index.html, NICHT DIESE DATEI. Tokens, Kopfleiste, Knöpfe und Fusszeile sind von dort
     abgeschrieben (Stand 26.09.2026) — ändert sich dort etwas Sichtbares, wird es hier nachgezogen. index.html bindet
     diese Datei NICHT ein: Die Startseite bleibt eine Datei für sich.

   ⚠ KEIN SKRIPT. Die Startseite schaltet die schwebende Kopfleiste per Skript (`nav-schwebt` ab scrollY > 8). Hier
     macht das eine Scroll-Zeitleiste (`animation-timeline: scroll()`); ein Browser ohne sie zeigt die Leiste von Anfang
     an schwebend — nie flach über dem Text, der darunter durchläuft.

   ⚠ KEIN SEITENLICHT hinter dem Text. Die Startseite legt zwei weiche Lichtfelder (Dragonfruit, Smaragd) über den
     Grund; Dragonfruit hält auf dem Grund nur 4,6 : 1, auf der leisesten Tönung schon nicht mehr 4,5. Eine Seite, die
     fast nur aus Fliesstext mit Verweisen in Dragonfruit besteht, bleibt deshalb beim reinen Grund.

   Die Auslieferung (skripte/onepager-preise-einbetten.mjs) kopiert diese Datei nach public/home/. */

/* Schrift wie auf der Startseite: DM Sans, variabel (wght 100–1000, opsz 9–40), selbst gehostet, kein Google-CDN.
   Relativ zu DIESER Datei — unter /home/rechtliches.css zeigt der Pfad auf /home/fonts/. */
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans-latin-opsz-normal.woff2) format("woff2-variations"), url(fonts/dm-sans-latin-opsz-normal.woff2) format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Farbwelt der Startseite (index.html, :root) */
  --grund: #F5F6F4; --blatt: #FFFFFF; --feld: #ECEEEB; --fuge: #DDE1DD; --graphit: #0B1F19; --smaragdnacht: #0F3D30;
  --tinte: #0E1F19; --leise: #3D534A; --dragonfruit: #D6186E; --df-text: #D6186E; --df-tief: #D6186E; --df-hell: #D6186E;
  --marke-azav: #00A36C; --marke-traeger: #0B271F; --rosa: #FFE3EE;
  --aus: cubic-bezier(.16, 1, .3, 1); --weich: cubic-bezier(.4, 0, .2, 1);
  --kopf: 72px; --rand: 24px; --rund: 64px;
  --schrift: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --karte-schatten-leicht: 0 1px 2px rgba(14,31,25,.05), 0 18px 44px -26px rgba(11,31,25,.26);
  --fokus: 3px solid rgba(214,24,110,.45);
  /* Die Kopfleiste flach (oben) und schwebend (gescrollt) — wie `.kopf-c-innen` / `.nav-schwebt` auf der Startseite */
  --kopf-pad-flach: 0 calc(var(--rand) + 24px); --kopf-pad-schwebt: 0 9px 0 22px;
  /* Die Lesespalte: 60–75 Zeichen je Zeile bei 17 px DM Sans (gemessen, siehe Kommentar an .text) */
  --spalte: 37em;
}
@media (max-width: 809.98px) { :root { --rand: 12px; --rund: 30px; } }
@media (max-width: 559.98px) { :root { --kopf-pad-flach: 0 18px; --kopf-pad-schwebt: 0 8px 0 14px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--blatt); color: var(--tinte); font-family: var(--schrift); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
p, h1, h2, h3, ul, ol, address { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--rosa); color: var(--tinte); }
a:focus-visible, summary:focus-visible { outline: var(--fokus); outline-offset: 3px; border-radius: 6px; }

/* ── Wortmarke ─────────────────────────────────────────────────────────────────────────────────────────────────── */
/* min-height 44 px: Die Kachel ist 30 px hoch, getippt wird aber die ganze Marke — sie ist auf dem Telefon der Weg zurück */
.wortmarke { display: flex; align-items: center; gap: 11px; min-height: 44px; }
.wortmarke .kachelbild { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.wortmarke-text { font-size: 19px; font-weight: 600; letter-spacing: -.024em; line-height: 1; color: var(--tinte); white-space: nowrap; }
.wortmarke-text .azav { color: var(--marke-azav); } .wortmarke-text .leise { font-weight: 400; color: var(--marke-traeger); } .wortmarke-text .os { color: var(--df-text); }

/* ── Knöpfe (index.html „Knöpfe und Kopfleiste") ───────────────────────────────────────────────────────────────── */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 20px; cursor: pointer; white-space: nowrap;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1; transition: background-color .25s var(--weich), transform .25s var(--weich); }
.knopf:active { transform: scale(.97); }
.knopf:focus-visible { outline: var(--fokus); outline-offset: 3px; }
.knopf.dunkel { background: var(--graphit); color: #fff; } .knopf.dunkel:hover { background: var(--smaragdnacht); }
.knopf.rahmen { border-color: var(--tinte); color: var(--tinte); background: transparent; } .knopf.rahmen:hover { background: var(--feld); }
.knopf.klein { height: 44px; padding: 0 16px; border-radius: 16px; font-size: 14px; }
.knopf-kurz { display: none; }
@media (max-width: 419.98px) { .knopf-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .knopf-kurz { display: inline; } }

/* ── Kopfleiste ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.kopf-c { position: fixed; z-index: 30; left: 0; right: 0; top: 0; pointer-events: none; }
/* Ohne Scroll-Zeitleiste: von Anfang an schwebend (die Werte von `.nav-schwebt .kopf-c-innen`) */
.kopf-c-innen { pointer-events: auto; display: flex; align-items: center; gap: 30px;
  margin: 10px var(--rand) 0; height: 62px; padding: var(--kopf-pad-schwebt); border-radius: 25px; background: rgba(255,255,255,.97);
  box-shadow: 0 4px 5px rgba(79,103,94,.04), 0 6px 10px rgba(79,103,94,.05), 0 0 0 1px rgba(14,31,25,.05); }
@supports (animation-timeline: scroll()) {
  /* Oben flach auf dem weissen Rand, nach den ersten Pixeln die schwebende Kapsel — wie `nav-schwebt` ab scrollY > 8.
     Die Strecke (0–40 px) ersetzt die Übergangszeit der Startseite (.55 s). */
  .kopf-c-innen { animation: kopf-schwebt linear both; animation-timeline: scroll(root block); animation-range: 0 40px; }
  @keyframes kopf-schwebt {
    0%, 20% { margin: 0; height: var(--kopf); padding: var(--kopf-pad-flach); border-radius: 0; background-color: rgba(255,255,255,0); box-shadow: 0 0 0 1px rgba(14,31,25,0); }
    100% { margin: 10px var(--rand) 0; height: 62px; padding: var(--kopf-pad-schwebt); border-radius: 25px; background-color: rgba(255,255,255,.97);
      box-shadow: 0 4px 5px rgba(79,103,94,.04), 0 6px 10px rgba(79,103,94,.05), 0 0 0 1px rgba(14,31,25,.05); }
  }
}
.kopf-links { display: flex; align-items: center; gap: 4px; }
/* 44 px hoch statt der 37 der Startseite: Ab 980 px Breite stehen die Verweise auch auf dem Tablet im Querformat */
.kopf-links a { display: inline-flex; align-items: center; min-height: 37px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 500; letter-spacing: -.006em; color: var(--tinte); white-space: nowrap; transition: background-color .2s var(--weich); }
.kopf-links a:hover { background: var(--feld); }
/* Mit dem Finger (Tablet im Querformat zeigt die Verweise ab 980 px) 44 px hoch, mit der Maus wie auf der Startseite */
@media (pointer: coarse) { .kopf-links a { min-height: 44px; } }
.kopf-links a:focus-visible, .wortmarke:focus-visible { outline: var(--fokus); outline-offset: 2px; }
.kopf-knoepfe { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (max-width: 979.98px) { .kopf-links { display: none; } }
@media (max-width: 559.98px) { .kopf-knoepfe .rahmen { display: none; } .kopf-c-innen { gap: 12px; } }

/* ── Der Rahmen: <main> auf dem weissen Rand, die Fusszeile als dunkler Sockel ──────────────────────────────────── */
main { position: relative; margin: var(--kopf) var(--rand) 0; border-radius: var(--rund) var(--rund) 0 0; background: var(--grund); }
.rechtliches { padding: 104px 64px 132px; }
@media (max-width: 979.98px) { .rechtliches { padding: 88px 32px 104px; } }
@media (max-width: 599.98px) { .rechtliches { padding: 52px 18px 72px; } }

/* Mit Inhaltsverzeichnis (Datenschutz, AGB): Verzeichnis links, klebend; der Text rechts in Lesebreite.
   Ohne (Impressum): nur die Lesespalte, mittig. */
.raster { display: grid; grid-template-columns: minmax(0, var(--spalte)); justify-content: center; }
@media (min-width: 1000px) {
  .raster.mit-inhalt { grid-template-columns: minmax(180px, 236px) minmax(0, var(--spalte)); column-gap: clamp(40px, 5vw, 80px); }
  .raster.mit-inhalt .text { grid-column: 2; grid-row: 1; }
  .raster.mit-inhalt .inhalt-leiste { grid-column: 1; grid-row: 1; }
}

/* Die Lesespalte. 37 em bei 17 px ≈ 630 px: gemessen 66–70 Zeichen je Zeile im Mittel (vorher 720 px, bis 89). */
.text { min-width: 0; font-size: 17px; line-height: 1.6; letter-spacing: -.008em; color: var(--leise); text-wrap: pretty; }

/* Schriftrollen der Startseite: Augenbraue (17/700, Dragonfruit), Überschrift wie .h2 (52/700, −0,024 em) */
.text .marke { margin-top: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--df-text); }
.text h1 { margin-top: 14px; font-size: 52px; font-weight: 700; letter-spacing: -.024em; line-height: 1.08; color: var(--tinte); text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
.text .stand { margin-top: 18px; font-size: 15px; line-height: 1.45; color: var(--leise); }
/* Auf dem Telefon 34 px wie die Überschriften der Startseite — nur so klein, dass „Datenschutzerklärung" (ein Wort,
   gemessen bei 28–34 px 10,2 × Schriftgrösse breit — opsz zeichnet kleine Grade breiter) ungetrennt in die Spalte passt (100vw − 60 px). Keine automatische Trennung:
   Chrome trennte sonst „Allgemeine Ge-schäftsbedingungen" statt am weichen Trennstrich hinter „Geschäfts". */
@media (max-width: 809.98px) { .text h1 { font-size: min(34px, calc((100vw - 60px) / 10.4)); letter-spacing: -.022em; } .text .stand { font-size: 16px; } }

.text h2 { margin-top: 64px; font-size: 24px; font-weight: 700; letter-spacing: -.018em; line-height: 1.25; color: var(--tinte); text-wrap: balance; scroll-margin-top: calc(var(--kopf) + 28px); }
.text h3 { margin-top: 32px; font-size: 18px; font-weight: 700; letter-spacing: -.012em; line-height: 1.3; color: var(--tinte); }
.text p, .text ul:not(.inhalt-liste), .text address { margin-top: 14px; }
.text h2 + p, .text h2 + address, .text h3 + p { margin-top: 12px; }
.text strong { color: var(--tinte); font-weight: 600; }
.text address { font-style: normal; color: var(--tinte); }
.text a { color: var(--df-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.text a:hover { text-decoration-thickness: 2px; }
/* Eine E-Mail-Adresse bricht nicht am Bindestrich („hello@azav-" / „traegeros.de") — sie passt auch auf 360 px in eine Zeile */
.text a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 809.98px) { .text h2 { margin-top: 52px; font-size: 22px; } }

/* Listen wie in den Antworten der Fragen auf der Startseite: runde Punkte in Dragonfruit */
.text ul:not(.inhalt-liste) { list-style: none; padding: 0; display: grid; gap: 8px; }
.text ul:not(.inhalt-liste) > li { position: relative; padding-left: 26px; }
.text ul:not(.inhalt-liste) > li::before { content: ""; position: absolute; left: 5px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--df-tief); }

/* „Das Wichtigste in Kürze": eine weisse Karte wie die Karten der Startseite (Radius 28, leichter Schatten) */
.kurz { margin-top: 44px; padding: 30px 32px 32px; border-radius: 28px; background: var(--blatt); box-shadow: 0 0 0 1px rgba(14,31,25,.05), var(--karte-schatten-leicht); }
.text .kurz h2 { margin: 0 0 14px; font-size: 19px; letter-spacing: -.014em; }
.text .kurz ul { margin-top: 0; gap: 10px; }
/* Auf dem Telefon bleibt die Karte schmal gerahmt, damit die Zeilen darin nicht nach drei Wörtern umbrechen */
@media (max-width: 599.98px) {
  .kurz { margin-top: 36px; padding: 22px 18px 22px; border-radius: 24px; }
  .text .kurz ul > li { padding-left: 20px; } .text .kurz ul > li::before { left: 2px; }
}

/* Offene Stellen: gelb, damit sie niemand übersieht (skripte/onepager-preise-einbetten.mjs zählt sie) */
/* Der Rand kommt als Schatten, nicht als Innenabstand: Am Zeilenende ragte der Abstand sonst 6 px über die Spalte */
.offen { border-radius: 4px; background: #FFF1B8; box-shadow: 0 0 0 3px #FFF1B8; color: #5C4300; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ── Inhaltsverzeichnis ─────────────────────────────────────────────────────────────────────────────────────────── */
/* Zwei Formen desselben Verzeichnisses: ab 1000 px eine klebende Leiste links vom Text, darunter eine aufklappbare Zeile
   unter „Das Wichtigste in Kürze" — zu, damit der Text auf dem Telefon gleich beginnt. Immer nur eine ist sichtbar. */
.inhalt-titel { font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; color: var(--leise); }
.inhalt-liste { list-style: none; margin: 0; padding: 0; }
.inhalt-liste a { display: flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.008em; color: var(--tinte); transition: background-color .2s var(--weich); }
.inhalt-liste a:hover { background: var(--feld); }
/* Die Regel für Verweise im Text (Dragonfruit, unterstrichen) gilt im Verzeichnis nicht */
.text .inhalt-liste a { color: var(--tinte); text-decoration: none; overflow-wrap: normal; }
/* Mit dem Finger jede Zeile 44 px — auf dem Telefon immer, am Tablet auch in der Leiste */
@media (max-width: 999.98px), (pointer: coarse) { .inhalt-liste a { min-height: 44px; padding: 8px 12px; } }
.inhalt-leiste { display: none; }
@media (min-width: 1000px) {
  .inhalt-leiste { display: block; position: sticky; top: calc(var(--kopf) + 24px); align-self: start; max-height: calc(100vh - var(--kopf) - 48px); overflow-y: auto; margin-top: 4px; }
  .inhalt-leiste .inhalt-titel { padding: 0 12px 8px; }
  .inhalt-leiste .inhalt-liste a { margin-left: -2px; }
  .inhalt-kompakt { display: none; }
}
.inhalt-kompakt { margin-top: 20px; border-radius: 20px; background: var(--blatt); box-shadow: 0 0 0 1px rgba(14,31,25,.07); }
.inhalt-kompakt summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 16px 0 20px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; letter-spacing: -.012em; color: var(--tinte); border-radius: 20px; }
.inhalt-kompakt summary::-webkit-details-marker { display: none; }
/* Das Zeichen der Fragen auf der Startseite: Plus, das beim Öffnen zum Minus wird */
.inhalt-zeichen { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--grund); box-shadow: 0 0 0 1px rgba(14,31,25,.08); transition: background-color .3s var(--weich); }
.inhalt-zeichen::before, .inhalt-zeichen::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--tinte); transition: transform .45s var(--aus), background-color .3s var(--weich); }
.inhalt-zeichen::after { transform: rotate(90deg); }
.inhalt-kompakt[open] .inhalt-zeichen { background: var(--df-tief); box-shadow: none; }
.inhalt-kompakt[open] .inhalt-zeichen::before, .inhalt-kompakt[open] .inhalt-zeichen::after { background: #fff; }
.inhalt-kompakt[open] .inhalt-zeichen::after { transform: rotate(0deg); }
.inhalt-kompakt .inhalt-liste { padding: 0 8px 10px; }
.inhalt-kompakt .inhalt-liste a { font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .inhalt-zeichen, .inhalt-zeichen::before, .inhalt-zeichen::after { transition: none; } }

/* ── Fusszeile (index.html „7 · FUSSZEILE", ohne die Verweilzeit — die gehört der Startseite) ───────────────────── */
.fuss { position: relative; margin: 0 var(--rand) var(--rand); padding: 32px 64px 44px; border-radius: 0 0 var(--rund) var(--rund); background: var(--graphit); color: #fff; overflow: clip; }
.fuss-inhalt { display: flex; flex-direction: column; gap: 16px; max-width: 1200px; margin: 0 auto; }
.fuss-oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.fuss .wortmarke-text .azav { color: #3CC48F; } .fuss .wortmarke-text .leise { color: #FDFDFC; } .fuss .wortmarke-text .os { color: var(--df-hell); }
.fuss-zeile { font-size: 14px; color: rgba(255,255,255,.72); }
.fuss-linie { height: 1px; background: rgba(255,255,255,.12); }
.fuss-impressum { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.fuss-impressum p { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.74); }
.fuss-impressum .fuss-titel { margin-bottom: 4px; font-weight: 600; color: #fff; }
.fuss-impressum a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; padding-block: 4px; }
.fuss-impressum a[aria-current="page"] { text-decoration-thickness: 2px; }
.fuss a:focus-visible { outline-color: rgba(255,255,255,.7); }
@media (max-width: 809.98px) {
  .fuss { padding: 40px 24px 40px; }
  .fuss-impressum { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* Auf dem Telefon: Schrift 15 px statt 13,5, und jeder Verweis ist eine Tippfläche von 44 px */
  .fuss-impressum p { font-size: 15px; }
}
/* Jeder Verweis im Fuss ist mit dem Finger eine Tippfläche von 44 × 44 px (auch „AGB") */
@media (max-width: 809.98px), (pointer: coarse) {
  .fuss-impressum a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
}

/* ── Druck: nur der Text, schwarz auf weiss ─────────────────────────────────────────────────────────────────────── */
@media print {
  @page { margin: 18mm 16mm 20mm; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #000; }
  .kopf-c, .inhalt-leiste, .inhalt-kompakt, .fuss-oben, .fuss-linie { display: none !important; }
  main { margin: 0; border-radius: 0; background: none; }
  .rechtliches { padding: 0; }
  .raster, .raster.mit-inhalt { display: block; }
  .text { max-width: none; font-size: 11pt; line-height: 1.5; color: #000; }
  .text h1 { font-size: 24pt; color: #000; }
  .text h2 { margin-top: 18pt; font-size: 14pt; color: #000; break-after: avoid; page-break-after: avoid; }
  .text h3 { break-after: avoid; }
  .text p, .text li { orphans: 3; widows: 3; }
  .text .marke, .text a, .text strong, .text address, .text .stand { color: #000; }
  .text ul:not(.inhalt-liste) > li::before { background: #000; }
  .kurz { box-shadow: none; border: 1pt solid #999; border-radius: 8pt; break-inside: avoid; }
  .offen { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fuss { margin: 24pt 0 0; padding: 12pt 0 0; border-top: 1pt solid #999; border-radius: 0; background: none; color: #000; }
  .fuss-impressum { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12pt; }
  .fuss-impressum p, .fuss-impressum .fuss-titel, .fuss-impressum a { font-size: 9pt; color: #000; }
}
