/* Inselkontor – Website. Farbwelt „Lava & Basalt“, Schriften Archivo + Inter */
:root {
  --lava: #F05A24;
  --knopf: #C93F0C;
  --tief: #A33309;
  --hell: #FDE9E0;
  --basalt: #1E2229;
  --basalt-2: #2B3039;
  --sonne: #FFB020;
  --grund: #F3F3F0;
  --weiss: #FFFFFF;
  --text: #1E2229;
  --leise: #575D67;
  --linie: #DEDED7;
  --gruen: #1E7A46;
  --gruen-hell: #DFF3E6;
  --rund: 14px;
  --schatten: 0 1px 2px rgba(30,34,41,.06), 0 12px 32px -12px rgba(30,34,41,.22);
  --breite: 1160px;
  --rand: clamp(16px, 4vw, 32px);
  --kopf: "Archivo", "Arial Narrow", Arial, sans-serif;
  --fliess: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font-family: var(--fliess); font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--knopf); text-underline-offset: 3px; }
a:hover { color: var(--tief); }
:focus-visible { outline: 3px solid var(--sonne); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, .kopfschrift {
  font-family: var(--kopf); font-stretch: 112%; font-weight: 800;
  line-height: 1.08; letter-spacing: -0.01em; margin: 0;
  overflow-wrap: break-word; hyphens: manual;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.15; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--basalt); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(243,243,240,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.kopf.unten { border-bottom-color: var(--linie); }
.kopf .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: block; flex: 0 0 auto; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--knopf); }
.kopf-rechts { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.sprache { display: flex; border: 1px solid var(--linie); border-radius: 999px; padding: 2px; background: var(--weiss); }
.sprache a { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--leise); padding: 4px 9px; border-radius: 999px; line-height: 1.3; }
.sprache a[aria-current="page"] { background: var(--basalt); color: #fff; }
.sprache a:hover:not([aria-current]) { color: var(--knopf); }
.anmelden { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text); white-space: nowrap; }
.anmelden:hover { color: var(--knopf); }
@media (max-width: 900px) { .nav { display: none; } .kopf-rechts { margin-left: auto; } }
@media (max-width: 430px) {
  .kopf .wrap { gap: 10px; min-height: 60px; }
  .logo img { height: 22px; }
  .kopf-rechts { gap: 10px; }
  .sprache a { padding: 4px 7px; font-size: 12px; }
  .anmelden { font-size: 14px; }
}

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 10px;
  font-family: var(--fliess); font-weight: 700; font-size: 16.5px; text-decoration: none; line-height: 1.2;
  background: var(--knopf); color: #fff; border: 2px solid var(--knopf);
  transition: background .15s, border-color .15s, transform .15s;
}
.knopf:hover { background: var(--tief); border-color: var(--tief); color: #fff; }
.knopf:active { transform: translateY(1px); }
.knopf.zwei { background: transparent; color: var(--text); border-color: var(--basalt); }
.knopf.zwei:hover { background: var(--basalt); color: #fff; }
.dunkel .knopf.zwei { color: #fff; border-color: rgba(255,255,255,.7); }
.dunkel .knopf.zwei:hover { background: #fff; color: var(--basalt); border-color: #fff; }
.knopf .pfeil { width: 18px; height: 18px; }
@media (max-width: 520px) { .knoepfe .knopf { flex: 1 1 100%; } }

/* ---------- Bereiche ---------- */
.bereich { padding: clamp(64px, 9vw, 112px) 0; }
.dachzeile { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tief); margin: 0 0 14px; }
.dunkel .dachzeile, .dunkel .einleitung p.dachzeile { color: var(--sonne); }
.einleitung p.dachzeile { color: var(--tief); font-size: 13px; margin-top: 0; }
.einleitung { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.einleitung p { color: var(--leise); font-size: 18px; margin-top: 16px; }
.dunkel { background: var(--basalt); color: #E9EAEC; }
.dunkel h2, .dunkel h3 { color: #fff; }
.dunkel .einleitung p, .dunkel p { color: #C5C9D0; }
.dunkel a:not(.knopf) { color: #FFC659; }
.weiss { background: var(--weiss); }

/* ---------- Kopfbereich (Hero) ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero h1 .akzent { color: var(--knopf); }
.hero .lead { font-size: clamp(17px, 1.6vw, 19.5px); color: #3A3F48; max-width: 34em; margin-bottom: 28px; }
.hero .hinweis { margin: 16px 0 0; font-size: 14.5px; color: var(--leise); }
.hero .hinweis b { color: var(--text); font-weight: 600; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

.gewerke { font-size: 15px; color: var(--leise); margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--linie); max-width: 36em; }
.gewerke b { color: var(--text); font-weight: 600; }

/* Zollstock als Trenner */
.zollstock {
  height: 16px;
  background:
    repeating-linear-gradient(90deg, transparent 0 198px, rgba(30,34,41,.35) 198px 200px),
    repeating-linear-gradient(90deg, var(--basalt) 0 1.5px, transparent 1.5px 50px) top left / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--basalt) 0 1px, transparent 1px 10px) top left / 100% 5px no-repeat,
    var(--sonne);
}

/* ---------- Tool-Vorschauen (allgemein) ---------- */
.mock { font-family: var(--fliess); color: #1E2229; font-size: 14px; line-height: 1.45; min-width: 0; }
.blatt { background: var(--weiss); border-radius: var(--rund); box-shadow: var(--schatten); border: 1px solid rgba(30,34,41,.06); padding: clamp(16px, 2.4vw, 26px); min-width: 0; }
.zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.zeile > :first-child { min-width: 0; }
.zeile > :last-child { white-space: nowrap; }
.klein { font-size: 12.5px; color: #636973; }
.marke { display: flex; align-items: center; gap: 10px; }
.firmenlogo { width: 36px; height: 36px; border-radius: 8px; background: var(--basalt); color: #fff; display: grid; place-items: center; font-family: var(--kopf); font-stretch: 112%; font-weight: 800; font-size: 14px; flex: 0 0 auto; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; line-height: 1.4; }
.chip.ok { background: var(--gruen-hell); color: var(--gruen); }
.chip.lava { background: var(--hell); color: var(--tief); }
.chip.grau { background: #ECECE7; color: #4A4F57; }
.chip.sonne { background: #FFF1D2; color: #7A4B00; }
.chip.basalt { background: var(--basalt); color: #fff; }
.mknopf { display: inline-flex; align-items: center; gap: 6px; background: var(--knopf); color: #fff; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 8px 12px; white-space: nowrap; }
.mknopf.hell { background: var(--hell); color: var(--tief); }
.mknopf.rand { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px #C9CAC3; }

/* Angebot im Kopfbereich */
.buehne { position: relative; padding-bottom: 40px; }
.angebot .kopfzeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 3px solid var(--basalt); margin-bottom: 14px; }
.angebot .titel { font-family: var(--kopf); font-stretch: 112%; font-weight: 800; font-size: 19px; margin: 2px 0 4px; }
.angebot .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.pos { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid #ECECE7; font-variant-numeric: tabular-nums; }
.pos .nr { color: #8A8F97; font-size: 13px; }
.pos .betrag { font-weight: 600; white-space: nowrap; }
.pos .klein { grid-column: 2 / 3; }
.summen { margin: 12px 0 0 auto; max-width: 280px; display: grid; gap: 4px; }
.summen .gesamt { font-weight: 800; font-size: 16px; border-top: 2px solid var(--basalt); padding-top: 6px; margin-top: 2px; }
.unterschrift { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px dashed #D3D3CC; }
.unterschrift svg { width: 130px; height: 44px; display: block; }

/* Handy */
.handy { width: 248px; max-width: 100%; background: var(--basalt); border-radius: 34px; padding: 9px; box-shadow: 0 24px 48px -20px rgba(30,34,41,.55); }
.handy .schirm { background: #EFE7DE; border-radius: 26px; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.handy .wa-kopf { background: #075E54; color: #fff; padding: 22px 14px 10px; display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.handy .wa-kopf .rund { width: 28px; height: 28px; border-radius: 50%; background: #B9D7D2; color: #075E54; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.handy .wa-kopf small { display: block; font-weight: 400; opacity: .8; font-size: 11px; }
.handy .chat { padding: 12px 10px 14px; display: grid; gap: 8px; align-content: start; flex: 1; }
.blase { background: #fff; border-radius: 10px; padding: 7px 9px 5px; font-size: 12.5px; line-height: 1.4; max-width: 92%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.blase.ich { background: #D9FDD3; justify-self: end; }
.blase .zeit { display: block; text-align: right; font-size: 10px; color: #667781; margin-top: 2px; }
.vorschau { background: rgba(0,0,0,.05); border-radius: 7px; padding: 7px 8px; margin-bottom: 5px; border-left: 3px solid var(--lava); }
.vorschau b { display: block; font-size: 12px; }
.vorschau span { font-size: 11px; color: #4E5660; }
.buehne { max-width: 560px; }
.buehne .angebot { padding-bottom: 76px; }
.meldung { position: absolute; left: 32px; right: -24px; bottom: 0; display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.97); border: 1px solid rgba(30,34,41,.08); border-radius: 18px; padding: 12px 14px; box-shadow: 0 18px 40px -16px rgba(30,34,41,.45); font-size: 13.5px; line-height: 1.4; }
.meldung .app { width: 36px; height: 36px; border-radius: 9px; background: #25D366; display: grid; place-items: center; flex: 0 0 auto; }
.meldung .app svg { width: 20px; height: 20px; }
.meldung .klein { display: flex; justify-content: space-between; gap: 8px; }
.meldung b { font-weight: 700; }
@media (max-width: 640px) { .meldung { left: 12px; right: 12px; } }

/* ---------- So läuft's ---------- */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.schritt { position: relative; padding-top: 22px; border-top: 4px solid var(--basalt); }
.schritt::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-family: var(--kopf); font-stretch: 112%; font-weight: 900; font-size: 40px; line-height: 1; color: var(--lava); margin-bottom: 14px; }
.schritt h3 { font-size: 20px; margin-bottom: 10px; }
.schritt p { font-size: 15.5px; color: var(--leise); margin-bottom: 14px; }
.schritt .chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 1020px) { .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; } }
@media (max-width: 600px) {
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .schritt { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; border-top: 0; border-left: 4px solid var(--basalt); padding: 0 0 28px 16px; }
  .schritt:last-child { padding-bottom: 0; }
  .schritt::before { grid-row: 1 / 4; font-size: 32px; margin: 0; }
}

/* Statusleiste */
.statusleiste { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: clamp(36px, 5vw, 52px); padding: 16px 18px; background: var(--weiss); border-radius: var(--rund); border: 1px solid var(--linie); }
.statusleiste .klein { margin-right: 6px; font-weight: 600; color: var(--text); font-size: 13.5px; }
.statusleiste .pfeilchen { color: #A2A69E; font-size: 13px; }

/* ---------- Funktionen ---------- */
.funktion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--linie); }
.funktion:first-of-type { border-top: 0; padding-top: 0; }
.funktion.gedreht .text { order: 2; }
.funktion h3 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); margin-bottom: 16px; }
.funktion .text p { color: #434852; }
.liste { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.liste li { position: relative; padding-left: 28px; font-size: 16px; }
.liste li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 8px; border-left: 3px solid var(--lava); border-bottom: 3px solid var(--lava); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .funktion { grid-template-columns: minmax(0, 1fr); }
  .funktion.gedreht .text { order: 0; }
}

/* Editor-Vorschau */
.editor .leiste { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sprachwahl { display: inline-flex; background: #ECECE7; border-radius: 8px; padding: 3px; gap: 2px; }
.sprachwahl span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; color: #575D67; }
.sprachwahl .an { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.titelzeile { background: #F6F6F3; border-radius: 8px; padding: 8px 10px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; margin: 6px 0; font-variant-numeric: tabular-nums; }
.textzeile { color: #575D67; font-style: italic; font-size: 13px; padding: 4px 10px 8px; }
.feld { border: 1.5px solid #D9D9D2; border-radius: 8px; padding: 9px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.feld.aktiv { border-color: var(--knopf); box-shadow: 0 0 0 3px var(--hell); }
.aufmass { margin-top: 10px; background: var(--basalt); color: #fff; border-radius: 10px; padding: 12px 14px; font-variant-numeric: tabular-nums; }
.aufmass .klein { color: #B8BDC5; }
.aufmass .rechnung { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 4px; font-size: 15px; }
.aufmass .rechnung span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 3px 8px; }
.aufmass .rechnung .erg { background: var(--sonne); color: var(--basalt); font-weight: 800; }

/* zwei Handys nebeneinander */
.handys { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-start; }
.handys .handy { width: 224px; }
.handys .handy:nth-child(2) { margin-top: 36px; }
.handy .schirm.kundenseite { background: #fff; flex: 1; display: flex; flex-direction: column; }
.kundenseite .oben { padding: 22px 14px 12px; border-bottom: 1px solid #EEE; display: flex; gap: 8px; align-items: center; font-size: 12px; }
.kundenseite .oben .firmenlogo { width: 28px; height: 28px; font-size: 11px; border-radius: 6px; }
.kundenseite .inhalt { padding: 12px 14px; display: grid; gap: 6px; font-size: 12.5px; }
.kundenseite .summe { font-weight: 800; font-size: 15px; border-top: 2px solid var(--basalt); padding-top: 6px; margin-top: 4px; }
.signierfeld { margin-top: 6px; border: 1.5px dashed #C9CAC3; border-radius: 8px; height: 64px; position: relative; display: grid; place-items: center; }
.signierfeld svg { width: 140px; height: 48px; }
.signierfeld small { position: absolute; left: 8px; top: 3px; font-size: 10px; color: #8A8F97; }
.kundenseite .mknopf { justify-content: center; margin-top: 6px; }
@media (max-width: 420px) { .handys .handy:nth-child(2) { margin-top: 0; } }

/* Rechnung */
.rechnung-mock .kopfzeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pruefkette { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; background: #F6F6F3; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; }
.pruefkette code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; color: #3A3F48; overflow-wrap: anywhere; }
.kette { display: flex; gap: 6px; align-items: center; grid-row: 1 / 3; }
.kette i { width: 18px; height: 12px; border: 2.5px solid var(--basalt); border-radius: 7px; display: block; }
.kette i + i { margin-left: -12px; border-color: var(--lava); }
.mock .aktionen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* Projektliste */
.projekte .liste-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; flex-wrap: wrap; }
.projekt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 11px 0; border-top: 1px solid #ECECE7; }
.projekt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.projekt .klein { grid-column: 1 / 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.projekt .chip { grid-row: 1 / 3; grid-column: 2; }
.aufgabe { margin-top: 12px; display: flex; gap: 10px; align-items: center; background: #FFF6E2; border: 1px solid #F5DDA6; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.aufgabe .haken { width: 18px; height: 18px; border: 2px solid #B98200; border-radius: 5px; flex: 0 0 auto; }

/* Stoppuhr */
.uhr .laeuft { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #575D67; }
.uhr .punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--lava); box-shadow: 0 0 0 4px var(--hell); animation: puls 1.6s infinite; }
@keyframes puls { 50% { box-shadow: 0 0 0 7px rgba(253,233,224,.4); } }
@media (prefers-reduced-motion: reduce) { .uhr .punkt { animation: none; } }
.uhr .ziffern { font-family: var(--kopf); font-stretch: 112%; font-weight: 800; font-size: clamp(44px, 7vw, 64px); line-height: 1; letter-spacing: .01em; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.uhr .wofuer { font-weight: 600; margin-bottom: 14px; }
.uhr .eintraege { margin-top: 16px; border-top: 1px solid #ECECE7; }
.uhr .eintraege .zeile { padding: 8px 0; border-bottom: 1px solid #ECECE7; font-size: 13.5px; }
.uhr .abrechnen { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* Kachel-Raster */
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.kachel { background: var(--weiss); border-radius: var(--rund); padding: 24px; border: 1px solid var(--linie); }
.kachel svg { width: 32px; height: 32px; color: var(--knopf); margin-bottom: 14px; display: block; }
.kachel h3 { font-size: 19px; margin-bottom: 8px; }
.kachel p { font-size: 15.5px; color: var(--leise); margin: 0; }
@media (max-width: 900px) { .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dreisprachig ---------- */
.sprachen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.sprachen h2 { margin-bottom: 18px; }
@media (max-width: 900px) { .sprachen { grid-template-columns: minmax(0, 1fr); } }
.drei { display: grid; gap: 12px; }
.drei .blatt { padding: 16px 18px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; color: var(--text); }
.drei .lang { font-family: var(--kopf); font-stretch: 112%; font-weight: 900; font-size: 15px; background: var(--hell); color: var(--tief); border-radius: 8px; height: 36px; display: grid; place-items: center; grid-row: 1 / 3; }
.drei .blatt .klein { grid-column: 2 / 4; }
.drei b { font-weight: 600; }
.drei .preis { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

/* ---------- Preis ---------- */
.preise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: stretch; }
.tarif { background: var(--weiss); border-radius: var(--rund); border: 1px solid var(--linie); padding: 28px; position: relative; display: flex; flex-direction: column; }
.tarif.stark { border: 2px solid var(--basalt); }
.tarif .band { position: absolute; top: -13px; left: 24px; background: var(--sonne); color: var(--basalt); font-weight: 800; font-size: 12.5px; letter-spacing: .03em; padding: 4px 10px; border-radius: 6px; }
.tarif .name { font-weight: 700; font-size: 15px; color: var(--leise); text-transform: uppercase; letter-spacing: .1em; }
.tarif .betrag { font-family: var(--kopf); font-stretch: 112%; font-weight: 900; font-size: 56px; line-height: 1; margin: 14px 0 4px; }
.tarif .betrag small { font-family: var(--fliess); font-size: 17px; font-weight: 600; color: var(--leise); letter-spacing: 0; margin-left: 4px; }
.tarif .netto { font-size: 14.5px; color: var(--leise); margin: 0 0 18px; }
.tarif .knopf { margin-top: auto; }
.tarif ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; font-size: 15px; color: #3A3F48; }
.tarif li { padding-left: 16px; position: relative; }
.tarif li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 2px; background: var(--lava); }
.drin { background: var(--basalt); color: #E9EAEC; border-radius: var(--rund); padding: 28px; }
.drin h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.drin .liste li { font-size: 15.5px; }
.drin .liste li::before { border-color: var(--sonne); }
.preis-hinweis { margin-top: 22px; font-size: 15px; color: var(--leise); max-width: 760px; }
@media (max-width: 980px) { .preise { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .drin { grid-column: 1 / -1; } }
@media (max-width: 600px) { .preise { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- Fragen ---------- */
.fragen { max-width: 860px; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--kopf); font-stretch: 108%; font-weight: 700; font-size: 18.5px; line-height: 1.3; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--knopf); border-bottom: 3px solid var(--knopf); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.fragen details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.fragen summary:hover { color: var(--knopf); }
.fragen .antwort { padding: 0 0 22px; color: #434852; max-width: 46em; }
.fragen .antwort p:last-child { margin-bottom: 0; }

/* ---------- Abschluss ---------- */
.schluss { text-align: left; }
.schluss .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: end; }
.schluss h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 16px; max-width: 14em; }
.schluss p { font-size: 18px; max-width: 34em; margin: 0; }
@media (max-width: 900px) { .schluss .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Fußzeile ---------- */
.fuss { background: #16191E; color: #B9BEC6; padding: 56px 0 28px; font-size: 15px; }
.fuss a { color: #E9EAEC; text-decoration: none; }
.fuss a:hover { color: var(--sonne); text-decoration: underline; }
.fuss .spalten { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.fuss .logo img { height: 30px; margin-bottom: 14px; }
.fuss h2 { font-family: var(--fliess); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8C929B; margin: 0 0 12px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fuss .unterste { margin-top: 44px; padding-top: 20px; border-top: 1px solid #2D323A; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #8C929B; }
@media (max-width: 900px) { .fuss .spalten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fuss .spalten > :first-child { grid-column: 1 / -1; } }

/* ---------- Rechtstexte ---------- */
.recht { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.recht .wrap { max-width: 860px; }
.recht h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; }
.recht .stand { color: var(--leise); font-size: 15px; margin-bottom: 36px; }
.recht h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 40px 0 12px; }
.recht h3 { font-size: 1.08rem; margin: 24px 0 8px; font-stretch: 106%; }
.recht p, .recht li { color: #33373F; }
.recht ul, .recht ol { padding-left: 1.25em; margin: 0 0 1em; }
.recht li { margin-bottom: 6px; }
.recht .kasten { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); padding: 20px 22px; margin: 0 0 24px; }
.recht .kasten p:last-child { margin-bottom: 0; }
.recht .andere { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; margin-bottom: 18px; }
.recht table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1.2em; }
.recht th, .recht td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linie); }
.recht th { font-weight: 700; }
@media (max-width: 640px) {
  .recht table, .recht thead, .recht tbody, .recht tr, .recht th, .recht td { display: block; }
  .recht thead { display: none; }
  .recht tr { border-bottom: 1px solid var(--linie); padding: 10px 0; }
  .recht td { border: 0; padding: 2px 0; }
  .recht td:first-child { font-weight: 700; }
}

/* 404 */
.fehlt { min-height: 60vh; display: grid; align-items: center; padding: 64px 0; }
.fehlt h1 { margin-bottom: 18px; }
.fehlt p { color: var(--leise); font-size: 18px; max-width: 34em; }

/* Dachzeilen behalten ihre Farbe auch in Bereichen mit eigener Absatzfarbe */
.logo + .kopf-rechts { margin-left: auto; }
p.dachzeile, .funktion .text p.dachzeile { color: var(--tief); font-size: 13px; margin-top: 0; }
.dunkel p.dachzeile { color: var(--sonne); }
