/* Kanzleiportal, Produktseite. Hell, Petrol. Keine fremden Server; Systemschrift, dazu Inter selbst gehostet. */
@font-face {
  font-family: "Inter";
  src: url("/bundles/feuerpfeilkanzleiportalcore/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Switzer (ITF Free Font License, selbst gehostet) für Überschriften und Kennzahlen */
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --petrol: #005356;
  --petrol-hell: #8e9499;
  --petrol-dunkel: #00393b;
  --petrol-zart: #ededef;
  --flaeche: #f5f5f6;
  --text: #1b1f22;
  --tinte: #14171a;
  --text-leise: #50565b;
  --linie: #dcdde0;
  --weiss: #fff;
  --signal: #8b225a;
  --marke-pink: #a3195b;
  --signal-dunkel: #6e1a47;
  --auf-dunkel: #d5d8db;
  --radius: 12px;
  --schatten: 0 10px 30px rgba(20, 24, 28, .12), 0 2px 6px rgba(20, 24, 28, .08);
  --kopfhoehe: 64px;
  --schrift: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-titel: "Switzer", var(--schrift);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--weiss); overflow-wrap: break-word; font-feature-settings: "kern", "liga"; }
@media (min-width: 700px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; }
a { color: var(--petrol); text-underline-offset: .15em; }
a:hover { color: var(--petrol-dunkel); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible, .fuss :focus-visible { outline-color: #fff; }
h1, h2, h3, summary { line-height: 1.18; color: var(--tinte); font-weight: 750; letter-spacing: -.018em; text-wrap: balance; }
h1, h2, h3 { margin: 0 0 .55em; }
h1 { font-size: clamp(1.8rem, 5.4vw, 2.9rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 3.8vw, 2.05rem); margin-top: 1.5em; }
h2:first-child, .rahmen > h2:first-child { margin-top: 0; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.zahl, output, .rechenkasten strong, .aufschluesselung strong, .zahl-gross { font-variant-numeric: tabular-nums; }
.klein { font-size: .9rem; color: var(--text-leise); }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: .6rem 1rem; z-index: 100; }
.sprung:focus { left: 8px; top: 8px; }

.rahmen { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .rahmen { padding: 0 24px; } }
.text { max-width: 720px; }
.rahmen.text { max-width: 1200px; }
.rahmen.text > * { max-width: 720px; }
.rahmen.text > .testformular { max-width: 560px; }
.rahmen.text > .ablauf, .rahmen.text > .karten { max-width: none; }
.druckkopf { display: none; }
main { flex: 1 0 auto; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s ease-out; }
.kopf.kopf-scroll { border-bottom-color: #e8e8ea; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--kopfhoehe); flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; }
.logo .signet { width: auto; height: 1.29em; aspect-ratio: 27.456 / 29.104; flex: none; color: var(--signal); }
.fuss .logo .signet { color: #fff; }
.logo { font-size: 1.55rem; }
.wortmarke { display: inline-flex; flex-direction: column; gap: .23em; line-height: 1; min-width: 0; }
.wm-name { font-family: "Inter", var(--schrift); font-size: 1em; font-weight: 200; letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: #0f1d1e; }
.wm-name span { font-weight: 800; margin-left: .08em; }
.wm-name .wm-zusatz { font-weight: 200; margin-left: .2em; color: #005356; }
.wm-drei { font-family: "Inter", var(--schrift); font-size: .387em; font-weight: 500; letter-spacing: .2em; line-height: 1; white-space: nowrap; color: #5d6468; }
.wm-drei b { font-weight: 800; color: var(--marke-pink); }
.fuss .wm-name { color: #fff; }
.fuss .wm-name .wm-zusatz { color: #9fe0dc; }
.fuss .wm-drei { color: #d5d8db; }
.fuss .wm-drei b { color: #ff9ccb; }
.fuss .logo-by { margin: -4px 0 28px; font-size: .8rem; line-height: 1.3; color: var(--auf-dunkel); }
.fuss .logo-by a { color: var(--auf-dunkel); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.fuss .logo-by a:hover { color: #f3b6d1; }
/* Fußzeile (22.11.2026): Wortmarke wie auf den Login-Seiten der Kanzleien, „kanzleiportal“ kleiner, „steuer“ größer,
   Dreiklang in einer Zeile dahinter, „feuerpfeil.“ ohne Fett und ohne Rosa. */
.fuss .wortmarke { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .15em .75em; }
.fuss .logo .signet { height: 1.1em; }
.fuss .wm-name { font-size: .8em; }
.fuss .wm-name .wm-zusatz { font-size: 1.25em; font-weight: 300; margin-left: .22em; }
.fuss .wm-drei { padding-left: 0; font-size: .62em; font-weight: 400; letter-spacing: .02em; color: var(--auf-dunkel); }
.fuss .wm-drei b { font-weight: inherit; color: inherit; }
.menueknopf { display: none; width: 44px; height: 44px; margin-right: -11px; padding: 0; background: none; border: 0; border-radius: 10px; color: var(--tinte); cursor: pointer; align-items: center; justify-content: center; }
.menueknopf:hover { background: none; color: var(--petrol); }
.menue-linien { position: relative; display: block; width: 22px; height: 10px; }
.menue-linien i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.menue-linien i:nth-child(1) { top: 0; } .menue-linien i:nth-child(2) { top: 8px; }
.menueknopf[aria-expanded="true"] .menue-linien i:nth-child(1) { top: 4px; transform: rotate(45deg); }
.menueknopf[aria-expanded="true"] .menue-linien i:nth-child(2) { top: 4px; transform: rotate(-45deg); }
.hauptmenue { width: 100%; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; }
.hauptmenue > ul { display: flex; flex-direction: column; gap: 2px; padding: 6px 0 12px; }
.hauptmenue a { display: block; padding: .6rem .2rem; text-decoration: none; color: var(--text); font-weight: 600; font-size: 1rem; }
.hauptmenue a:not(.knopf):hover, .hauptmenue a[aria-current="page"] { color: var(--signal); }
.hauptmenue .unter { padding-left: 1rem; }
.hauptmenue .unter a { font-weight: 500; }
.hauptmenue .knopf { display: inline-block; color: #fff; margin-top: 6px; }
.js .menueknopf { display: inline-flex; }
.js .hauptmenue { display: none; }
.js .hauptmenue.offen { display: block; }

/* Handymenü (< 900 px): eine ruhige Liste als Ebene unter dem Kopf, eigenes Scrollen, Seite dahinter gesperrt.
   Ohne JavaScript (.js fehlt) bleibt .hauptmenue als einfache Liste, .hm ist dann aus. */
.hm { display: none; }
html.menue-offen { scrollbar-gutter: stable; }
@media (max-width: 899px) {
  html.menue-offen { overflow: hidden; }
  .js .hauptmenue { display: none; }
  .js .hm { --hm-oben: calc(var(--kopfhoehe) + 1px); position: fixed; left: 0; right: 0; top: var(--hm-oben); bottom: 0; z-index: 49; display: flex; flex-direction: column; background: #fff; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .24s ease-out, visibility 0s linear .24s; }
  .js .hm.offen { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .24s ease-out; }
  .menue-offen .handyleiste, .menue-offen .chatknopf, .menue-offen .chathinweis { visibility: hidden; }
  .hm-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 20px 20px; max-width: 640px; width: 100%; margin: 0 auto; }
  .hm p, .hm ul { margin: 0; padding: 0; list-style: none; }
  .hm a { text-decoration: none; }
  .hm a:focus-visible, .hm button:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; border-radius: 8px; }
  .hm-liste > li { border-bottom: 1px solid var(--linie); }
  .hm-zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: .5rem .1rem; background: none; border: 0; font: inherit; font-size: 1.4rem; font-weight: 660; letter-spacing: -.015em; line-height: 1.2; text-align: left; color: var(--tinte); cursor: pointer; }
  .hm-wort { display: flex; flex-direction: column; gap: 3px; }
  .hm-wort small { font-size: .82rem; font-weight: 450; letter-spacing: 0; color: var(--text-leise); }
  .hm-pfeil { flex: none; width: 10px; height: 10px; margin-right: 4px; border-top: 2px solid var(--petrol-hell); border-right: 2px solid var(--petrol-hell); transform: rotate(45deg); transition: transform .15s ease-out, border-color .15s ease-out; }
  a.hm-zeile:hover .hm-pfeil, a.hm-zeile[aria-current="page"] .hm-pfeil { border-color: var(--signal); transform: translateX(3px) rotate(45deg); }
  .hm-zeile[aria-current="page"] { color: var(--signal); }
  .hm-plus { position: relative; flex: none; width: 18px; height: 18px; margin-right: 2px; color: var(--petrol); }
  .hm-plus::before, .hm-plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease; }
  .hm-plus::after { transform: rotate(90deg); }
  .hm-faltbar.offen .hm-plus::after { transform: rotate(0); }
  .hm-faltbar.offen > .hm-zeile { color: var(--petrol); }
  .hm-klein .hm-zeile { min-height: 56px; font-size: 1.05rem; font-weight: 550; letter-spacing: 0; color: var(--text-leise); }
  .hm-klein.offen > .hm-zeile { color: var(--tinte); }
  /* Aufklappen: weiche Höhe über grid-template-rows */
  .hm-falt { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s ease, visibility 0s linear .32s; }
  .hm-faltbar.offen > .hm-falt { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .32s ease; }
  .hm-falt-innen { min-height: 0; overflow: hidden; }
  .hm-unter { padding: 0 0 12px .1rem !important; }
  .hm-unter a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 .4rem; font-size: 1.08rem; font-weight: 550; color: var(--tinte); border-radius: 10px; }
  .hm-unter a svg { flex: none; color: var(--petrol); }
  .hm-unter a:active { background: var(--petrol-zart); }
  .hm-unter a[aria-current="page"], .hm-unter a[aria-current="page"] svg { color: var(--signal); font-weight: 650; }
  .hm-unter .hm-alle a { padding-left: calc(.4rem + 34px); font-size: .98rem; font-weight: 650; color: var(--petrol); }
  .hm-gruppe { padding: 8px .5rem 0 !important; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol-hell); }
  .hm-extern a { min-height: 46px; padding-left: .5rem; font-size: 1rem; font-weight: 450; color: var(--petrol); }
  .hm-fuss { flex: none; padding: 12px 20px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -10px 24px rgba(20, 24, 28, .07); }
  .hm-fuss > .knopf { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 600px; margin: 0 auto; padding: .85rem 1rem; font-size: 1rem; }
  .hm-fuss-zeile { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px auto 0 !important; color: var(--petrol-hell); }
  .hm-fuss-zeile a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 600; color: var(--petrol); }
  .hm-tel { font-weight: 500 !important; color: var(--text-leise) !important; }
  .hm-anmelden { margin-top: 0 !important; color: var(--text-leise); font-size: .95rem; }
  .hm-anmelden a { min-height: 40px; gap: .3em; }
  /* Einblenden: Zeilen gleiten gestaffelt herein (40 ms Versatz) */
  .js .hm.offen .hm-liste > li { animation: hm-rein .38s ease-out both; }
  .js .hm.offen .hm-liste > :nth-child(2) { animation-delay: 40ms; }
  .js .hm.offen .hm-liste > :nth-child(3) { animation-delay: 80ms; }
  .js .hm.offen .hm-liste > :nth-child(4) { animation-delay: 120ms; }
  .js .hm.offen .hm-liste > :nth-child(5) { animation-delay: 160ms; }
  .js .hm.offen .hm-liste > :nth-child(6) { animation-delay: 200ms; }
  .js .hm.offen .hm-liste > :nth-child(7) { animation-delay: 240ms; }
  .js .hm.offen .hm-fuss { animation: hm-rein .38s ease-out 280ms both; }
}
@keyframes hm-rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .hm, .js .hm.offen, .hm-falt, .hm-faltbar.offen > .hm-falt { transition: none; }
  .js .hm.offen .hm-liste > li, .js .hm.offen .hm-fuss { animation: none; }
  .hm-plus::before, .hm-plus::after, .hm-pfeil { transition: none; }
}

@media (min-width: 900px) {
  .menueknopf, .js .menueknopf { display: none; }
  .hauptmenue, .js .hauptmenue { display: block; width: auto; }
  .hauptmenue > ul { flex-direction: row; align-items: center; gap: 24px; padding: 0; }
  .hauptmenue a { padding: .5rem 0; }
  .hauptmenue .knopf { margin-top: 0; padding: .5rem 1.05rem; }
  .hauptmenue .menue-anmelden a { font-weight: 500; color: var(--text-leise); }
  .hauptmenue .menue-anmelden + .menue-knopf { margin-left: -8px; }
  .unter-knopf::after { content: "\25BE"; margin-left: .3em; font-size: .8em; }
  .hat-unter { position: static; }
  .hauptmenue .mega { position: absolute; top: 100%; left: 50%; z-index: 3; width: min(860px, calc(100vw - 40px)); margin-top: 8px; padding: 14px 14px 10px; background: #fff; border: 1px solid var(--linie); border-radius: 14px; box-shadow: 0 24px 60px rgba(20, 24, 28, .18), 0 4px 12px rgba(20, 24, 28, .08); visibility: hidden; opacity: 0; transform: translate(-50%, -6px); pointer-events: none; transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s linear .22s; }
  .hauptmenue .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
  .hat-unter:not(.zu):hover .mega, .hat-unter:not(.zu):focus-within .mega, .hat-unter.offen .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); pointer-events: auto; transition: opacity .18s ease-out, transform .18s ease-out; }
}

/* Knöpfe */
.knopf { display: inline-block; font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; text-align: center; border-radius: 999px; padding: .72rem 1.4rem; border: 2px solid transparent; cursor: pointer; line-height: 1.2; transition: background-color .15s, transform .15s; }
.knopf-haupt { background: var(--signal); color: #fff; }
.knopf-haupt:hover { background: var(--signal-dunkel); color: #fff; }
.band .knopf-haupt, .fuss .knopf-haupt { background: #c2256e; }
.band .knopf-haupt:hover, .fuss .knopf-haupt:hover { background: var(--signal); }
.knopf-hell { background: #fff; color: var(--petrol); border-color: var(--petrol); }
.knopf-hell:hover { background: var(--flaeche); color: var(--petrol-dunkel); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 700; }
.textlink-hell { color: #fff; }

/* Abschnitte: gleichmäßige Abstände */
.abschnitt { padding: 64px 0; scroll-margin-top: calc(var(--kopfhoehe) + 56px); }
.abschnitt-flaeche { background: var(--flaeche); }
.abschnitt .rahmen + .rahmen { margin-top: 44px; }
.seitenkopf { padding: 44px 0 32px; background: linear-gradient(#fff, var(--flaeche)); }
.einleitung { font-size: 1.15rem; color: var(--text-leise); max-width: 720px; }
/* Rechtstexte (Impressum, Datenschutz, AGB): ruhige Textspalte, kleinere Zwischenüberschriften */
.rechtstext h2 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); margin-top: 1.9em; }
.rechtstext h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.rechtstext p { hyphens: manual; }
@media (max-width: 699px) { .rechtstext p { hyphens: auto; } }
@media print { .rechtstext h2, .rechtstext h3 { break-after: avoid; } .rechtstext p { orphans: 3; widows: 3; } }
.ueberzeile { font-weight: 700; color: var(--petrol); margin-bottom: .7rem; font-size: .98rem; letter-spacing: .01em; }
.ueberzeile-hell { color: var(--auf-dunkel); }
.held { padding: 36px 0 48px; background: linear-gradient(#fff, var(--flaeche)); }
.held-innen { display: grid; gap: 32px; }
.held-bild { position: relative; }
.fakten { background: #fff; border-bottom: 1px solid var(--linie); }
.fakten ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0 auto; padding: 16px; font-weight: 600; color: var(--tinte); font-size: .95rem; }
.fakten li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; margin-right: 8px; }
.zwei { display: grid; gap: 32px; align-items: center; }
.zwei--oben { align-items: start; }
.liste { padding-left: 1.2rem; margin: 0 0 1em; }
.liste li { margin-bottom: .55em; }
.liste li::marker { color: var(--petrol-hell); font-weight: 700; }
.themen { columns: 1; }
.arten-zeile { font-weight: 600; color: var(--tinte); }
.hinweis { background: var(--petrol-zart); border-radius: var(--radius); padding: 12px 16px; font-size: .97rem; }
.kundenlogo img { display: block; max-width: 240px; height: auto; }
.abstand-oben { margin-top: 44px; }

@media (min-width: 900px) {
  .held-innen { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
  .zwei { grid-template-columns: 1fr 1fr; gap: 64px; }
  .zwei.umgekehrt > :first-child { order: 2; }
  .abschnitt { padding: 104px 0; }
  .fakten ul { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
  .themen { columns: 1; }
}

/* Rechenkasten */
.rechenkasten { list-style: none; margin: 0 0 1em; padding: 0; background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--petrol-hell); border-radius: 0 var(--radius) var(--radius) 0; }
.rechenkasten li { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--linie); }
.rechenkasten li:last-child { border-bottom: 0; }
.rechenkasten strong { color: var(--tinte); white-space: nowrap; font-size: 1.1rem; }
.rechenkasten .ergebnis-zeile { background: var(--petrol-zart); font-weight: 600; color: var(--petrol-dunkel); border-radius: 0 0 var(--radius) 0; }
.rechnung { background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--petrol-hell); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Rechtsmarken */
.marke { display: inline-block; vertical-align: baseline; font-size: .72rem; font-weight: 700; line-height: 1; letter-spacing: .01em; color: var(--petrol); border: 1.5px solid var(--petrol); border-radius: 999px; padding: .2em .65em; margin: 0 .15em; text-decoration: none; white-space: nowrap; cursor: help; background: #fff; }
.marke:hover, .marke:focus-visible { background: var(--petrol); color: #fff; }

/* Statusmarken wie im Portal (portal.css, kp-pill) */
.pille { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; background: #f2f4f7; color: #344054; line-height: 1.5; }
.pille--abgesendet, .pille--hochgeladen, .pille--in_pruefung { background: color-mix(in srgb, var(--petrol) 14%, #fff); color: var(--petrol); }
.pille--vollstaendig, .pille--abgeschlossen, .pille--erledigt { background: #ecfdf3; color: #067647; }
.pille--in_arbeit, .pille--begonnen { background: #fffaeb; color: #b54708; }
.pille--ueberfaellig, .pille--unvollstaendig { background: #fef3f2; color: #b42318; }

/* Karten: gleiche Höhe in einer Reihe */
.karten { display: grid; gap: 16px; margin: 20px 0; }
@media (min-width: 900px) { .karten { grid-template-columns: repeat(3, 1fr); } }
.karten > * { min-width: 0; }
.kachel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 8px rgba(20,24,28,.04); }
.kachel h3 { margin-bottom: .4em; }
.kachel p { font-size: 1rem; }
.kachel .status { margin: auto 0 0; padding-top: .6em; }
.kachel .zahl-gross { font-size: 2rem; color: var(--tinte); margin-bottom: .1em; }
.drei { list-style: none; display: grid; gap: 16px; padding: 0; margin: 20px 0; }
@media (min-width: 700px) { .drei { grid-template-columns: repeat(3, 1fr); } }
.drei li { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; }
.drei p { font-size: 1rem; margin: 0; }
.drei h3 { margin-top: .7rem; }
.nr { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .4rem; border-radius: 999px; background: var(--petrol); color: #fff; font-weight: 700; font-size: .9rem; flex: none; line-height: 1; }

/* Aufnahmen auf der Bühne */
.aufnahme { margin: 0 0 1rem; }
.buehne-rahmen { background: linear-gradient(135deg, #e4e5e8, #f5f5f6); padding: 14px; border-radius: var(--radius); border: 1px solid var(--linie); box-shadow: var(--schatten); }
.fensterleiste { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--linie); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 7px 10px; }
.fensterleiste i { width: 9px; height: 9px; border-radius: 50%; background: #d7d8db; display: block; flex: none; }
.fensterleiste span { margin-left: 8px; flex: 1; min-width: 0; font-size: .72rem; color: var(--text-leise); background: var(--flaeche); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aufnahme img, .platzhalter { display: block; width: 100%; height: auto; border: 1px solid var(--linie); background: #fff; }
.aufnahme--fenster img, .aufnahme--pdf img, .aufnahme--mail img, .aufnahme--fenster .platzhalter, .aufnahme--pdf .platzhalter, .aufnahme--mail .platzhalter { border-radius: 0 0 8px 8px; }
.aufnahme--handy img, .aufnahme--handy .platzhalter { border-radius: 22px; border: 6px solid #1b1f22; }
.platzhalter { background: linear-gradient(135deg, #e9e9ec, #f2f2f4); }
.aufnahme figcaption { font-size: .8rem; color: var(--text-leise); padding-top: 8px; }
.aufnahme figcaption:empty { display: none; }
.handybild .aufnahme { max-width: 340px; margin-left: auto; margin-right: auto; }
.handybild .buehne-rahmen { padding: 18px; }
.gross-link { display: block; cursor: zoom-in; }
.gross-link:focus-visible { outline-offset: -3px; }

/* Feste Ausschnitte hoher Aufnahmen, von oben, mit weichem Verlauf nach Weiß */
.ausschnitt { position: relative; }
.ausschnitt.beschnitten { overflow: hidden; border-radius: 0 0 8px 8px; }
.aufnahme--handy .ausschnitt.beschnitten { border-radius: 0; }
.rahmen-kopf { aspect-ratio: 4 / 3; }
.rahmen-abschnitt { aspect-ratio: 16 / 10; }
.rahmen-papier { aspect-ratio: 4 / 5; }
.ausschnitt.beschnitten .gross-link { height: 100%; }
.ausschnitt.beschnitten img { height: 100%; object-fit: cover; object-position: top; border-radius: 0; border-bottom: 0; }
.ausschnitt.beschnitten::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: 0; height: 24%; background: linear-gradient(rgba(255,255,255,0), #fff 92%); pointer-events: none; }
.bild-mitte { max-width: 760px; margin: 36px auto 0; }

/* Posteingang der Kanzlei (nachgebaut, nur Illustration) */
.posteingang { display: none; }
@media (min-width: 600px) {
  .problem { align-items: center; }
  .posteingang { display: block; justify-self: center; width: 100%; max-width: 440px; background: #f1f1f3; border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px 18px 10px; transform: rotate(-1.6deg); color: #5a5f64; box-shadow: 0 8px 22px rgba(20, 24, 28, .08); }
  .posteingang-kopf { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: .95rem; color: #3d4247; }
  .posteingang-kopf span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
  .posteingang ul { list-style: none; margin: 0; padding: 0; }
  .posteingang li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid #dcdde0; }
  .posteingang li:nth-child(2) { transform: translateX(8px) rotate(.8deg); }
  .posteingang li:nth-child(4) { transform: translateX(-6px) rotate(-.6deg); }
  .pe-symbol { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #e2e3e6; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; color: #6a6f75; }
  .pe-ton { gap: 2px; }
  .pe-ton i { display: block; width: 3px; border-radius: 2px; background: #8d9298; }
  .pe-ton i:nth-child(1) { height: 8px; } .pe-ton i:nth-child(2) { height: 14px; } .pe-ton i:nth-child(3) { height: 10px; } .pe-ton i:nth-child(4) { height: 16px; } .pe-ton i:nth-child(5) { height: 7px; }
  .pe-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
  .pe-text strong { font-size: .95rem; color: #3d4247; font-weight: 650; }
  .pe-text small { font-size: .78rem; color: #7c8187; }
}

/* Karte „Heute zu tun“ im Kopf */
.heute { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 14px 16px; margin-top: 14px; font-size: .88rem; }
.heute-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 8px; color: var(--tinte); font-size: .95rem; }
.heute-kopf span { font-size: .72rem; color: var(--text-leise); }
.heute ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.heute li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding-top: 8px; border-top: 1px solid var(--linie); }
.heute li span { color: var(--text-leise); }
.heute li .pille { color: inherit; }
.heute li .pille--abgesendet { color: var(--petrol); } .heute li .pille--vollstaendig { color: #067647; } .heute li .pille--ueberfaellig { color: #b42318; }
@media (min-width: 900px) {
  .heute { position: absolute; right: -16px; bottom: -22px; width: 290px; margin: 0; z-index: 2; padding: 10px 14px 12px; font-size: .8rem; }
  .heute-kopf { margin-bottom: 4px; font-size: .88rem; }
  .heute li { padding-top: 6px; gap: 0 8px; }
  .heute ul { gap: 6px; }
  .held-bild figcaption { max-width: 52%; }
}

/* Umschalter */
.umschalter { display: inline-flex; border: 2px solid var(--petrol); border-radius: 10px; overflow: hidden; margin: 8px 0 20px; }
.umschalter button { font: inherit; font-size: .95rem; font-weight: 600; border: 0; background: #fff; color: var(--petrol); padding: .5rem 1rem; cursor: pointer; }
.umschalter button[aria-pressed="true"] { background: var(--petrol); color: #fff; }
.js [data-sichten] .sicht { display: none; }
.js [data-sichten] .sicht.aktiv { display: block; }
html:not(.js) .umschalter { display: none; }
html:not(.js) [data-sichten] .sicht { margin-bottom: 32px; }

/* Band (dunkel, nur Sicherheit und Fuß) */
.band { background: var(--petrol-dunkel); color: #fff; padding: 56px 0; }
.band h1, .band h2, .band h3 { color: #fff; }
.band a { color: #fff; }
.band .einleitung { color: var(--auf-dunkel); }
.liste-hell li::marker { color: var(--auf-dunkel); }
.band-kopf { padding: 52px 0; }

/* Sicherheitsseite */
.belege { margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: b; }
.belege li { counter-increment: b; position: relative; padding: 1.1rem 0 1.1rem 3rem; border-top: 1px solid var(--linie); }
.belege li:first-child { border-top: 0; }
@media (min-width: 900px) { .belege.zwei-spalten li:nth-child(2) { border-top: 0; } }
.belege li::before { content: counter(b); position: absolute; left: 0; top: 1.15rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--petrol-zart); color: var(--petrol); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.belege strong { color: var(--tinte); }

/* FAQ, Genauer */
.faq, .genauer { border-bottom: 1px solid var(--linie); padding: 4px 0; }
.faq summary, .genauer summary { cursor: pointer; font-weight: 700; padding: .75rem 0 .75rem 1.6rem; position: relative; list-style: none; color: var(--tinte); letter-spacing: 0; }
.faq summary::-webkit-details-marker, .genauer summary::-webkit-details-marker { display: none; }
.faq summary::before, .genauer summary::before { content: "\25B6"; position: absolute; left: 0; top: .95rem; font-size: .7em; line-height: 1.7; transition: transform .15s; }
.faq[open] > summary::before, .genauer[open] > summary::before { transform: rotate(90deg); }
.faq p, .genauer p { padding-bottom: .6rem; }
.genauer { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); padding: 2px 16px; margin-top: 1.4rem; }
.genauer[open] { background: #fff; }

/* Sprungmarken */
.sprungleiste { position: sticky; top: var(--kopfhoehe); z-index: 40; background: #fff; border-bottom: 1px solid var(--linie); }
.sprung-innen { display: flex; align-items: center; gap: 16px; }
.sprung-titel { flex: none; font-size: .78rem; font-weight: 700; color: var(--text-leise); text-transform: uppercase; letter-spacing: .06em; display: none; }
.sprungleiste ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.sprungleiste ul::-webkit-scrollbar { display: none; }
.sprungleiste a { display: block; white-space: nowrap; padding: .7rem .75rem; font-size: .92rem; font-weight: 600; color: var(--text-leise); text-decoration: none; border-bottom: 3px solid transparent; }
.sprungleiste a:hover { color: var(--signal); }
.sprungleiste a.aktiv { color: var(--signal); border-bottom-color: var(--signal); }
@media (min-width: 900px) { .sprung-titel { display: block; } .abschnitt { scroll-margin-top: 130px; } }

/* Rechner */
.rechner { display: grid; gap: 24px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; box-shadow: var(--schatten); }
@media (min-width: 800px) { .rechner { grid-template-columns: 1.2fr 1fr; padding: 32px; gap: 48px; } }
.rechner label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-top: 14px; }
.rechner label:first-child { margin-top: 0; }
.rechner output { color: var(--tinte); font-weight: 800; }
.rechner + .klein { margin-top: 14px; }
.rechner input[type=range] { width: 100%; accent-color: var(--petrol); height: 40px; margin: 4px 0 0; }
html:not(.js) .rechner-regler { display: none; }
.betrag { font-size: 1.1rem; margin: 0 0 .4rem; }
.betrag strong { font-size: 2.8rem; color: var(--tinte); display: block; line-height: 1.1; letter-spacing: -.02em; }
.jahr { font-size: .95rem; color: var(--text-leise); }
.aufschluesselung { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.aufschluesselung li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--linie); font-size: .97rem; }
.aufschluesselung strong { color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .aufschluesselung li.neu { animation: zeile .35s ease-out both; } }
@keyframes zeile { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Formular */
.testformular { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 8px rgba(20,24,28,.04); max-width: 560px; margin-top: 1.2rem; }
.testformular-hinweis { margin-top: 14px; }
.testformular label { display: block; font-weight: 600; margin-bottom: 14px; font-size: .95rem; }
.testformular input:not([type=checkbox]):not([type=hidden]) { display: block; width: 100%; font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #8e9499; border-radius: 8px; margin-top: 4px; background: #fff; color: var(--text); }
.testformular input[aria-invalid="true"] { border-color: #a12020; border-width: 2px; }
.feld-paar { display: grid; gap: 0 12px; }
@media (min-width: 500px) { .feld-paar { grid-template-columns: 1fr 1fr; } }
.frei { font-weight: 400; color: var(--text-leise); }
.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.haken { display: flex !important; gap: 10px; font-weight: 400 !important; align-items: flex-start; }
.haken input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--petrol); }
.ergebnis p { padding: 12px 14px; border-radius: 8px; margin: 0 0 14px; }
.ergebnis .ok { background: #e4f4ef; color: #0b3d33; }
.ergebnis .fehler { background: #fbe9e7; color: #7a1c14; }
.fehlerliste { color: #7a1c14; padding-left: 1.1rem; font-size: .92rem; }

/* Ansprechpartner */
.personen { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 14px; }
.person { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; }
.person h3 { margin: 0 0 .1em; font-size: 1.08rem; }
.person p { margin: 0 0 .6rem; color: var(--text-leise); font-size: .95rem; }
.person .knopf { padding: .5rem 1rem; font-size: .95rem; }
.portraet, .avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; }
.portraet { object-fit: cover; filter: grayscale(1); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--petrol); }
.avatar { background: linear-gradient(135deg, #dfe0e3, #eeeef0); color: var(--petrol); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.6rem; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--petrol); }
@media (min-width: 700px) { .portraet, .avatar { width: 96px; height: 96px; } }

/* Fuß */
.fuss { background: var(--petrol-dunkel); color: #e2e3e6; padding: 44px 0; font-size: .95rem; }
.fuss a { color: #fff; text-decoration-thickness: 1px; transition: color .15s ease-out; }
.fuss a:hover { color: #f3b6d1; }
.fuss-recht { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; }
.fuss-recht a { color: var(--auf-dunkel); }
.fuss-recht a:hover { color: #f3b6d1; }
.fuss .logo { color: #fff; margin-bottom: 12px; }
.fuss p { margin-bottom: .5em; }
.fuss-mandant { font-size: .85rem; color: var(--auf-dunkel); margin-top: 1rem; }
.anmelde-hinweis { max-width: 560px; margin-top: 1rem; }
.fuss-innen { display: grid; gap: 28px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 700px) { .fuss-innen { grid-template-columns: 1.5fr 1fr; } .fuss ul { grid-template-columns: repeat(2, max-content); gap: 8px 32px; } }

/* Feste Leiste auf dem Handy */
.handyleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--linie); }
.handyleiste .knopf { padding: .7rem 1rem; }
.handyleiste .knopf:only-child { grid-column: 1 / -1; }
@media (max-width: 899px) { .fuss { padding-bottom: calc(44px + 4.75rem + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .handyleiste { display: none; } }

/* Ablauf als Bild */
.ablauf { margin-top: 24px; }
.ablauf-kopf { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.ablauf-hinweis { font-size: .85rem; color: var(--text-leise); margin: 0; }
.spurkopf { display: none; }
.ablauf-liste, .wege { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ablauf-liste { position: relative; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 2px 8px rgba(20,24,28,.05); }
.karte h3 { font-size: 1.05rem; margin-bottom: .3em; }
.karte p { margin-bottom: .5em; font-size: .97rem; }
.karte-kopf { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.etikett { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; letter-spacing: .02em; }
.etikett-kanzlei { background: #e6e7ea; color: #00393b; }
.etikett-mandant { background: #e6ebf8; color: #1f3a6b; }
.etikett-mail { background: #fdeed9; color: #693700; }
.etikett-portal, .etikett-randnotiz { background: #ededee; color: #333; }
.etikett-entscheidung { background: #efe6f7; color: #4b2670; }
.etikett-neben { background: #fff; color: var(--text-leise); border: 1px solid var(--linie); }
.karte-mail { border-color: #ecd3a9; background: #fffaf0; background-image: linear-gradient(#fffaf0, #fff6e4); }
.karte-randnotiz, .karte-portal { background: #f6f6f7; border-style: dashed; }
.raute { display: inline-flex; width: 2.1rem; height: 2.1rem; align-items: center; justify-content: center; background: #4b2670; color: #fff; transform: rotate(45deg); border-radius: 4px; margin: .2rem .3rem; }
.raute span { transform: rotate(-45deg); font-size: .8rem; font-weight: 700; }
.karte-entscheidung { border: 2px solid #4b2670; background: #fbf8fe; }
.karte-entscheidung h3 { margin: 0; }
.karte-ende { border-left: 4px solid #b42318; }
.karte-text h3 { margin-top: 0; }
.karte-text p:last-child { margin-bottom: 0; }
.ablauf-bilder .aufnahme { margin: 10px 0 0; max-width: 340px; }
.ablauf-bilder .aufnahme--mail, .ablauf-bilder .aufnahme--pdf { max-width: 300px; }
.rahmen-ablaufpapier { aspect-ratio: 4 / 3; }
.karte-koerper--mehrere .ablauf-bilder { display: flex; gap: 10px; flex-wrap: wrap; }
.karte-koerper--mehrere .ablauf-bilder .aufnahme { flex: 1 1 150px; min-width: 0; }
.ablauf-bilder .aufnahme figcaption { display: none; }
.ablauf-bilder .buehne-rahmen { padding: 6px; box-shadow: none; }
.ablauf-bilder .fensterleiste { padding: 4px 8px; }
.ablauf-bilder .fensterleiste span { font-size: .65rem; }
.ablauf-bilder .platzhalter { border-radius: 0 0 6px 6px; }
.ablauf-bilder .aufnahme--handy { max-width: 150px; margin: 10px 0 0; }
.karte-koerper--mehrere .ablauf-bilder .aufnahme--handy { flex: 0 0 150px; }
.ablauf-bilder .aufnahme--handy .buehne-rahmen { padding: 6px; }
.ablauf.kurz .ablauf-bilder { display: none; }

@media (min-width: 900px) {
  .spurkopf { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 4px; font-weight: 800; color: var(--tinte); text-align: center; letter-spacing: .02em; }
  .spurkopf span { padding: .4rem; border-bottom: 3px solid #b9bcc0; margin: 0 6px; }
  .ablauf-liste { gap: 18px; padding-top: 14px; }
  .ablauf-liste::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: #b9bcc0; border-radius: 3px; }
  .schritt { position: relative; width: calc(50% - 32px); }
  .schritt-kanzlei { align-self: flex-start; }
  .schritt-mandant { align-self: flex-end; }
  .schritt-mail, .schritt-portal, .schritt-randnotiz { align-self: center; width: min(70%, 520px); z-index: 1; }
  /* Nummern in Kreisen auf der Mittellinie */
  .schritt > .karte > .karte-kopf .nr { position: absolute; top: 12px; width: 2.2rem; height: 2.2rem; box-shadow: 0 0 0 5px var(--flaeche); }
  .schritt-kanzlei > .karte > .karte-kopf .nr { right: -48px; }
  .schritt-mandant > .karte > .karte-kopf .nr { left: -48px; }
  .schritt-mail > .karte > .karte-kopf .nr, .schritt-portal > .karte > .karte-kopf .nr, .schritt-randnotiz > .karte > .karte-kopf .nr { left: 50%; top: -18px; transform: translateX(-50%); }
  .schritt-mail > .karte { padding-top: 24px; }
  .schritt-portal > .karte, .schritt-randnotiz > .karte { padding-top: 24px; }
}
/* Text links, Bild rechts, wenn die Karte breit genug ist */
@media (min-width: 1100px) {
  .karte-koerper.hat-bild:not(.karte-koerper--mehrere) { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-items: start; }
  .karte-koerper.hat-bild:not(.karte-koerper--mehrere) .ablauf-bilder .aufnahme { margin-top: 0; }
}
html:not(.js) .ablauf .umschalter { display: none; }

/* Dialoge */
.bilddialog { border: 0; padding: 12px; border-radius: var(--radius); width: min(1240px, 96vw); max-width: 96vw; max-height: 94vh; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.4); overflow: hidden; }
.bilddialog[open] { display: flex; flex-direction: column; }
.bilddialog::backdrop { background: rgba(20, 24, 28, .72); }
.bilddialog-bild { overflow: auto; max-height: calc(94vh - 110px); border: 1px solid var(--linie); border-radius: 8px; -webkit-overflow-scrolling: touch; }
.bilddialog img { display: block; width: 100%; height: auto; }
.bilddialog form { text-align: right; margin-bottom: 8px; }
.bilddialog-zu { font: inherit; font-weight: 700; background: var(--petrol); color: #fff; border: 0; border-radius: 8px; padding: .5rem 1rem; cursor: pointer; }
.bilddialog-text { margin: 8px 0 0; font-size: .85rem; color: var(--text-leise); }
.kalenderdialog { width: min(720px, 96vw); }
.kalenderdialog iframe { width: 100%; height: 680px; border: 0; }

/* Chat: Knopf unten rechts, Fenster daneben; am Handy über der Handyleiste und als ganzes Fenster */
.chatknopf { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: .98rem; color: #fff; background: var(--petrol); border: 0; border-radius: 999px; padding: .75rem 1.15rem; box-shadow: var(--schatten); cursor: pointer; }
.chatknopf:hover { background: var(--petrol-dunkel); }
.chatknopf-punkt { width: 9px; height: 9px; border-radius: 50%; background: #5fd3a6; box-shadow: 0 0 0 3px rgba(95, 211, 166, .25); }
.chat-offen .chatknopf { display: none; }
.chatdialog { position: fixed; inset: auto 20px 20px auto; margin: 0; z-index: 70; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 100px)); padding: 0; border: 1px solid var(--linie); border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 20px 60px rgba(20, 24, 28, .28); overflow: hidden; }
.chatdialog[open] { display: flex; flex-direction: column; }
.chatdialog::backdrop { background: rgba(20, 24, 28, .5); }
.chat-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--petrol); color: #fff; }
.chat-kopf p { margin: 0; line-height: 1.3; }
.chat-kopf strong { display: block; font-size: 1.02rem; }
.chat-kopf span { font-size: .8rem; opacity: .85; }
.chat-zu { font: inherit; font-size: 1.5rem; line-height: 1; color: #fff; background: transparent; border: 0; padding: 0 4px; cursor: pointer; }
.chat-verlauf { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--flaeche); }
.chat-nachricht { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.chat-hilfe { align-self: flex-start; background: #fff; border: 1px solid var(--linie); border-bottom-left-radius: 4px; }
.chat-nutzer { align-self: flex-end; background: var(--petrol); color: #fff; border-bottom-right-radius: 4px; }
.chat-fehler { border-color: var(--signal); }
.chat-warte { color: var(--text-leise); font-style: italic; }
.chat-vorschlaege { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-vorschlaege button { font: inherit; font-size: .85rem; color: var(--petrol); background: #fff; border: 1px solid var(--petrol); border-radius: 999px; padding: .35rem .75rem; cursor: pointer; text-align: left; }
.chat-vorschlaege button:hover { background: var(--petrol-zart); }
.chat-eingabe { display: flex; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid var(--linie); background: #fff; }
.chat-eingabe textarea { flex: 1; font: inherit; font-size: 1rem; resize: none; border: 1px solid var(--linie); border-radius: 10px; padding: .55rem .7rem; min-height: 2.6rem; max-height: 7rem; }
.chat-eingabe textarea:focus { outline: 2px solid var(--petrol); outline-offset: 1px; }
.chat-eingabe .knopf { padding: .55rem .9rem; align-self: flex-end; }
.chat-eingabe .knopf:disabled { opacity: .55; cursor: wait; }
.chat-weiter { display: flex; gap: 8px; padding: 4px 12px 8px; background: #fff; }
.chat-weiter .knopf { flex: 1; padding: .45rem .6rem; font-size: .88rem; border-width: 1px; }
.chat-hinweis { margin: 0; padding: 0 14px 12px; font-size: .74rem; line-height: 1.4; color: var(--text-leise); background: #fff; }
@media (max-width: 899px) { .chatknopf { bottom: calc(76px + env(safe-area-inset-bottom)); right: 16px; padding: .6rem 1rem; font-size: .92rem; } }
@media (max-width: 699px) {
  .chatdialog { inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .chat-weiter { padding-bottom: 6px; }
  .chat-hinweis { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* Bewegung: Karten blenden einmal ein, nur mit JavaScript und ohne reduzierte Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .ein .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .ein .einblenden.da { opacity: 1; transform: none; }
}

/* Druckansicht (vor allem /sicherheit): Schwarz auf Weiß, Logo, Datum, Adresse, ohne Kopfzeile und Knöpfe */
@media print {
  @page { margin: 18mm; }
  .kopf, .handyleiste, .menueknopf, .knopf, .bilddialog, .sprungleiste, .skip, .sprung, .chatknopf, .chatdialog { display: none !important; }
  body { padding: 0; color: #000; font-size: 11pt; background: #fff; }
  .druckkopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid #000; padding-bottom: 8px; margin-bottom: 12px; color: #000; font-size: 9pt; }
  .druckkopf p { margin: 0; text-align: right; }
  .druckkopf { font-size: 1.3rem; }
  .druckkopf .signet { width: auto; height: 1.29em; color: #000; margin-right: 8px; }
  .druckkopf .wortmarke { display: inline-flex; }
  .druckkopf .wm-name, .druckkopf .wm-name .wm-zusatz, .druckkopf .wm-drei, .druckkopf .wm-drei b { color: #000; }
  .druckkopf p { font-size: 9pt; }
  .band, .fuss, .seitenkopf, .held, .abschnitt-flaeche { background: #fff !important; color: #000 !important; }
  .band h1, .band h2, .band .einleitung, .fuss a, .fuss .logo, .band a, .ueberzeile-hell { color: #000 !important; }
  h1, h2, h3 { color: #000; }
  .abschnitt, .band { padding: 10px 0; }
  .belege li { break-inside: avoid; }
  .einblenden { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: none; }
  .fuss { border-top: 1px solid #000; }
}

.ueberzeile + h1, .ueberzeile + h2 { margin-top: 0; }

/* Sicherheitsband: Punkte als Raster statt langer Liste */
.rahmen.text.band-innen { max-width: 1200px; }
.band-innen > * { max-width: none; }
.band-raster { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: 0 48px; }
.band-raster li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); }
@media (min-width: 800px) { .band-raster { grid-template-columns: 1fr 1fr; } }
.handybild .aufnahme { max-width: 300px; }

ol.liste { padding-left: 2.4rem; }

.zwei h1 { font-size: clamp(1.8rem, 3.7vw, 2.6rem); }

@media (max-width: 700px) { .bilddialog-bild { touch-action: pan-x pan-y pinch-zoom; } .bilddialog-bild img { width: 900px; max-width: none; } }


/* ===== Vierter Durchgang ===== */
/* Faktenleiste: gleichmäßig verteilt, auf dem Handy 2 x 2 */
.fakten ul { padding: 14px 16px; }
.fakten li { display: flex; align-items: center; justify-content: flex-start; line-height: 1.3; }
@media (min-width: 900px) { .fakten li { justify-content: center; text-align: center; } }

/* Kopf: Bühne ab 1100 px über den Rahmen nach rechts ziehen */
@media (min-width: 1100px) {
  .held-innen { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .held-bild { margin-right: calc(-24px - max(0px, (100vw - 1200px) / 2 - 40px)); }
}

/* In drei Schritten: Linie hinter den Nummern, Pfeile zwischen den Karten */
.drei-ablauf li { position: relative; }
@media (min-width: 900px) {
  .drei-ablauf { gap: 44px; }
  .drei-ablauf li:not(:last-child)::after { content: "\2192"; position: absolute; right: -36px; top: 22px; width: 28px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--petrol); font-weight: 700; font-size: 1.2rem; }
  .drei-ablauf li:not(:last-child)::before { content: ""; position: absolute; right: -44px; top: 38px; width: 44px; height: 2px; background: #c4c7cb; z-index: 0; }
  .drei-ablauf li:not(:last-child)::after { background: var(--flaeche); z-index: 1; }
}

/* Sicherheitsband: Raster über die volle Breite */
.band-raster { gap: 28px 40px; margin-bottom: 1.8em; }
.band-raster li { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid rgba(255,255,255,.22); padding: 18px 0 0; }
.band-symbol { flex: none; width: 24px; height: 24px; margin-top: 3px; fill: none; stroke: var(--auf-dunkel); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 600px) { .band-raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .band-raster { grid-template-columns: repeat(3, 1fr); } }
.knopf-umriss { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.knopf-umriss:hover { background: rgba(255,255,255,.12); color: #fff; }
.band a.knopf-umriss { color: #fff; }

/* Vergleich mit der Kanzleisoftware */
.vergleich-rahmen { --vergleich-erste: 150px; --vergleich-kp: 92px; --vergleich-andere: 96px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); margin: 1.5em 0 1em; }
.vergleich-wischen { margin: 1.2em 0 -.8em; }
.vergleich { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: calc(var(--vergleich-erste) + var(--vergleich-kp) + 6 * var(--vergleich-andere)); font-size: .95rem; }
.vergleich thead th { hyphens: manual; overflow-wrap: normal; word-break: normal; }
.vergleich th, .vergleich td { padding: 10px 8px; border-bottom: 1px solid var(--linie); vertical-align: middle; line-height: 1.3; background: #fff; }
.vergleich thead th { font-weight: 700; text-align: center; min-width: 84px; background: var(--flaeche); }
.vergleich td { text-align: center; min-width: 84px; font-size: 1.05rem; }
.vergleich small { display: block; margin-top: 2px; font-size: .75rem; line-height: 1.25; color: var(--text-leise); }
.vergleich tbody th[scope="row"] { text-align: left; font-weight: 400; font-size: .92rem; }
.vergleich tr:last-child > * { border-bottom: 0; }
.vergleich tbody:last-of-type tr:last-child > * { border-bottom: 0; }
.vergleich td { position: relative; }
.vergleich tbody th[scope="row"] { hyphens: auto; }
.vergleich .vergleich-gruppe th { text-align: left; font-weight: 700; font-size: .95rem; background: var(--flaeche); position: static; white-space: nowrap; }
.vergleich .vergleich-gruppe th span { display: inline-block; position: sticky; left: 8px; }
.vergleich tbody tr:last-child > * { border-bottom: 1px solid var(--linie); }
.vergleich tbody:last-of-type tr:last-child > * { border-bottom: 0; }
.vergleich th:first-child { position: sticky; left: 0; z-index: 2; width: var(--vergleich-erste); min-width: var(--vergleich-erste); max-width: var(--vergleich-erste); text-align: left; }
.vergleich thead th:first-child { background: var(--flaeche); z-index: 3; }
.vergleich .vergleich-gruppe th:first-child { position: static; width: auto; min-width: 0; max-width: none; }
.vergleich th:nth-child(2), .vergleich td:nth-child(2) { position: sticky; left: var(--vergleich-erste); z-index: 1; width: var(--vergleich-kp); min-width: var(--vergleich-kp); max-width: var(--vergleich-kp); background: var(--petrol-zart); border-left: 1px solid var(--linie); border-right: 1px solid var(--linie); }
.vergleich thead th:nth-child(2) { background: var(--petrol); color: #fff; z-index: 3; border-color: var(--petrol); }
.vergleich thead th:first-child { border-right: 0; }
.vergleich .ja { color: #067647; font-weight: 800; }
.vergleich .teil { color: #8a5a00; font-weight: 800; }
.vergleich .nein { color: #6b7075; font-weight: 800; }
.vergleich .leer { background-image: none; color: #a9aeb3; font-weight: 600; cursor: help; }
.vergleich small { font-weight: 400; }
.vergleich-fuss { max-width: 900px; }
.vergleich-preis { margin-top: 1em; font-size: 1.05rem; }
.vergleich-preis .textlink { margin-left: .4em; white-space: nowrap; }
@media (max-width: 899px) {
  .vergleich-rahmen { background: linear-gradient(to right, #fff, #fff) local, linear-gradient(to left, rgba(20,24,28,.16), rgba(20,24,28,0)) right center / 14px 100% no-repeat scroll; background-color: #fff; }
}
@media (min-width: 700px) { .vergleich-rahmen { --vergleich-erste: 260px; --vergleich-kp: 96px; } }
@media (min-width: 900px) {
  .vergleich-rahmen { --vergleich-erste: 300px; --vergleich-kp: 130px; }
  .vergleich { width: 100%; }
  .vergleich-wischen { display: none; }
  .vergleich th, .vergleich td { padding: 11px 10px; }
}

/* Im Einsatz: Karte über die Breite */
.einsatz { display: grid; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 8px rgba(20,24,28,.05); }
.einsatz-text h2 { margin-top: 0; }
.einsatz .kundenlogo { margin: 0 0 1.2rem; }
.einsatz .kundenlogo img { max-width: min(300px, 100%); }
.einsatz-bild .aufnahme { margin: 0; }
@media (min-width: 900px) { .einsatz { grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 36px 40px; } }

/* Häufige Fragen: Überschrift links, Fragen rechts */
.faq-raster h2 { margin-top: 0; }
@media (min-width: 900px) { .faq-raster { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; } .faq-raster h2 { position: sticky; top: 100px; } }

/* Zentrierte Textspalte und Textpaare */
.rahmen.zentriert { max-width: 768px; margin-left: auto; margin-right: auto; }
.rahmen.zentriert > * { max-width: none; }
.paar { display: grid; gap: 32px; }
.paar h2 { margin-top: 0; }
@media (min-width: 900px) { .paar { grid-template-columns: 1fr 1fr; gap: 64px; } }
.zwei-spalten { display: grid; gap: 0 56px; }
@media (min-width: 900px) { .zwei-spalten { grid-template-columns: 1fr 1fr; } }

/* Logo am Handy: Abstand zum Menüknopf */
.kopf-innen { gap: 16px; }
.logo { min-width: 0; }
.menueknopf { flex: none; margin-left: auto; }
.rahmen.text.band-innen > * { max-width: none; }
.rahmen.text.band-innen > h2 { max-width: 720px; }


/* ===== Fünfter Durchgang: Entscheidung in der Spur des Entscheidenden, Hauptschritt ===== */
.etikett-haupt { background: var(--petrol); color: #fff; }
.etikett-ja { background: #fff; color: var(--petrol); border: 1px solid var(--petrol); }
.etikett-nein { background: #fff; color: #7a1c14; border: 1px solid #c9a19c; }

/* Entscheidung: einspaltig in der Reihenfolge Frage, Ja, Nein, Folge */
.schritt-entscheidung { display: flex; flex-direction: column; gap: 12px; }
.entsch-nein { margin-left: 18px; }
.entsch-nein .karte { padding: 10px 14px; font-size: .94rem; border-left: 4px solid #b42318; box-shadow: none; background: #fcfcfc; }
.entsch-nein .karte h3 { font-size: .98rem; }
.entsch-nein .karte p { font-size: .9rem; }
.entsch-nein .ablauf-bilder .aufnahme { max-width: 200px; }
.entsch-folge .karte { padding: 10px 14px; }
.entsch-folge .karte h3 { font-size: .98rem; }
.entsch-folge .karte p { font-size: .9rem; }
.verbinder { display: none; }
.karte .ende { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; color: #7a1c14; margin: .6em 0 0; }
.schluss { display: inline-block; width: 10px; height: 10px; background: #b42318; border-radius: 2px; flex: none; }

/* Hauptschritt */
.karte-haupt { border: 2px solid var(--petrol); box-shadow: 0 6px 20px rgba(20,24,28,.1); padding: 18px 20px; }
.karte-haupt h3 { font-size: 1.35rem; }
.haupt-punkte { margin: .6em 0 .9em; padding-left: 1.15rem; font-size: .97rem; }
.haupt-punkte li { margin-bottom: .3em; }
.haupt-punkte li::marker { color: var(--petrol); }
.fortschritt { display: flex; align-items: center; gap: 12px; margin-top: .4em; }
.fortschritt-text { font-size: .85rem; font-weight: 700; color: var(--tinte); white-space: nowrap; font-variant-numeric: tabular-nums; }
.segmente { display: flex; gap: 3px; flex: 1; max-width: 260px; }
.segmente i { flex: 1; height: 8px; border-radius: 3px; background: #dcdde0; }
.segmente i.voll { background: var(--petrol); }
.karte-haupt .ablauf-bilder { display: flex; gap: 12px; flex-wrap: wrap; }
.karte-haupt .ablauf-bilder .aufnahme { flex: 1 1 220px; max-width: 360px; margin-top: 12px; }
.karte-haupt .karte-koerper--handy .ablauf-bilder .aufnahme { flex: 0 0 150px; max-width: 190px; }
.karte-haupt .ablauf-bilder figcaption { display: none; }
.schritt-neben { }

@media (min-width: 900px) {
  /* Entscheidung als Raster: links Folge der Kanzlei, Mitte Linie, rechts Entscheidung, Ja, Nein */
  .schritt-entscheidung { align-self: stretch; width: 100%; display: grid; grid-template-columns: calc(50% - 32px) 64px calc(50% - 32px); gap: 14px 0; z-index: 1; }
  .schritt-entscheidung > .karte-entscheidung { grid-column: 3; grid-row: 1; position: relative; }
  .entsch-ja { grid-column: 3; grid-row: 2; position: relative; }
  .entsch-nein { grid-column: 3; grid-row: 3; margin-left: 28px; position: relative; }
  .entsch-folge { grid-column: 1; grid-row: 3; align-self: start; }
  .verbinder { display: block; grid-column: 2; grid-row: 3; align-self: start; margin-top: 26px; height: 0; border-top: 2px dashed #9da1a6; width: calc(100% + 28px); position: relative; z-index: 2; }
  .entsch-nein::before { content: ""; position: absolute; left: -60px; top: 25px; width: 60px; height: 2px; background: #b9bcc0; }
  .hat-folge .entsch-nein::before { display: none; }
  .karte-entscheidung .raute { position: absolute; left: -49px; top: 8px; margin: 0; box-shadow: 0 0 0 5px var(--flaeche); z-index: 2; }
  .karte-entscheidung .karte-kopf { padding-left: 0; }
  .entsch-ja > .karte > .karte-kopf .nr { position: absolute; top: 12px; left: -48px; width: 2.2rem; height: 2.2rem; box-shadow: 0 0 0 5px var(--flaeche); }
  .entsch-ja, .entsch-nein, .entsch-folge { min-width: 0; }
  .entsch-nein .karte-kopf .nr, .entsch-folge .karte-kopf .nr { min-width: 1.6rem; height: 1.6rem; font-size: .75rem; }
  .entsch-ja > .karte, .entsch-nein > .karte, .entsch-folge > .karte { margin: 0; }
  .karte-weg-ja { padding-top: 14px; }

  /* Hauptschritt: etwa 70 % der Gesamtbreite, rechtsbündig in der rechten Spur */
  .schritt-haupt { width: 70%; align-self: flex-end; z-index: 2; }
  .schritt-haupt > .karte > .karte-kopf .nr { left: 28.571%; right: auto; top: -18px; transform: translateX(-50%); }
  .schritt-haupt + .schritt-neben { margin-top: -6px; }
}
@media (min-width: 1100px) {
  .entsch-nein .karte-koerper.hat-bild:not(.karte-koerper--mehrere) { display: block; }
  .karte-haupt .karte-koerper--handy.hat-bild { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
  .karte-haupt .karte-koerper--handy .ablauf-bilder { flex-wrap: nowrap; }
}

/* Grafik „Unterschreiben und zurückschicken“ (nachgebaut) */
.ablauf-grafik { margin-top: 10px; }
.blaetter { position: relative; width: 100%; max-width: 250px; height: 150px; }
.blatt-kopf { overflow-wrap: anywhere; }
.blatt { position: absolute; top: 0; width: 55%; height: 138px; background: #fff; border: 1px solid #cfd2d6; border-radius: 4px; box-shadow: 0 3px 8px rgba(20,24,28,.12); overflow: hidden; }
.blatt-links { left: 0; transform: rotate(-3deg); top: 8px; }
.blatt-rechts { right: 0; transform: rotate(2.5deg); top: 0; }
.blatt-kopf { background: var(--petrol); color: #fff; font-size: .62rem; font-weight: 700; line-height: 1.2; padding: 5px 7px; }
.blatt-zeilen { padding: 7px 7px 0; display: grid; gap: 5px; }
.blatt-zeilen i { display: block; height: 3px; border-radius: 2px; background: #dcdde0; }
.blatt-zeilen i:nth-child(2) { width: 80%; }
.blatt-zeilen i:nth-child(3) { width: 60%; }
.blatt-ordner { position: absolute; left: 7px; bottom: 6px; display: flex; align-items: center; gap: 4px; font-size: .62rem; color: var(--text-leise); }
.blatt-ordner svg { fill: none; stroke: var(--petrol); stroke-width: 1.6; stroke-linejoin: round; }
.unterschrift { position: absolute; left: 8px; bottom: 22px; fill: none; stroke: var(--petrol-dunkel); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.blatt-linie { position: absolute; left: 8px; right: 8px; bottom: 20px; height: 0; border-top: 1px solid #8e9499; }
.zurueck { position: absolute; left: 8px; bottom: 4px; fill: none; stroke: var(--petrol); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ablauf.kurz .ablauf-grafik { display: none; }
@media (min-width: 1100px) { .karte-koerper.hat-bild:not(.karte-koerper--mehrere) .ablauf-grafik { margin-top: 0; } .karte-koerper.hat-bild:has(.ablauf-grafik) { grid-template-columns: minmax(0, 1fr) 235px; } }

/* Zwei Exemplare: beide von der Kanzlei unterschrieben, das Kanzlei-Exemplar zusätzlich vom Mandanten */
.blatt-felder { position: absolute; left: 7px; right: 7px; bottom: 7px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.blatt-felder .feld { display: flex; flex-direction: column; justify-content: flex-end; height: 30px; border-bottom: 1px solid #8e9499; position: relative; padding-bottom: 1px; }
.blatt-felder .feld svg { fill: none; stroke: var(--petrol-dunkel); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.blatt-felder .feld em { position: absolute; left: 0; bottom: -12px; font-style: normal; font-size: .5rem; color: var(--text-leise); }
.blatt-felder { bottom: 18px; }
.blaetter-notiz { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; font-size: .68rem; color: var(--text-leise); }
.blaetter-notiz span { display: inline-flex; align-items: center; gap: 4px; justify-content: center; }
.blaetter-notiz svg { fill: none; stroke: var(--petrol); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Einführungspreis der Einrichtung */
.angebot-marke { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--signal); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.angebot-hinweis { border-left: 3px solid var(--signal); padding-left: 12px; }
.angebot-zeile { margin-top: 18px; font-weight: 500; }
.angebot-zeile .angebot-marke { margin: 0 6px 0 0; }


/* ===== Drei weitere Bereichsseiten ===== */
.zurueck-hinweis { display: flex; align-items: center; gap: 6px; margin: .6em 0 0 !important; font-size: .85rem; font-weight: 700; color: var(--petrol); }
.zurueck-hinweis svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.karte-haupt .ablauf-bilder .aufnahme--handy { flex: 0 0 170px; max-width: 190px; }
/* Verlinkte Kacheln (Bereiche, Ratgeber): Überschrift in dunklem Pink, Akzentlinie oben, Pfeil wandert beim Zeigen */
.kachel-link { position: relative; overflow: hidden; text-decoration: none; color: inherit; padding: 26px 24px 22px; border-radius: 14px; background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%); box-shadow: 0 1px 2px rgba(20,24,28,.04), 0 4px 14px rgba(20,24,28,.04); transition: border-color .2s, box-shadow .2s, transform .2s; }
.kachel-link::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--signal-dunkel), var(--signal)); transform: scaleX(.16); transform-origin: left; transition: transform .35s ease; }
.kachel-link:hover, .kachel-link:focus-visible { border-color: rgba(134,19,73,.28); box-shadow: 0 2px 4px rgba(20,24,28,.05), 0 14px 32px rgba(20,24,28,.10); transform: translateY(-3px); color: inherit; }
.kachel-link:hover::before, .kachel-link:focus-visible::before { transform: scaleX(1); }
.kachel-link h3 { color: var(--signal-dunkel); font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .45em; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.karten-vier .kachel-link { padding: 24px 20px 20px; }
.karten-vier .kachel-link h3 { font-size: 1.05rem; }
.kachel-link p { color: var(--text-leise); }
.kachel-link .textlink { margin-top: auto; padding-top: .9em; color: var(--petrol); }
.kachel-link .pfeil { display: inline-block; margin-left: .15em; transition: transform .2s; }
.kachel-link:hover .pfeil, .kachel-link:focus-visible .pfeil { transform: translateX(5px); }
.kachel-thema { margin: 0 0 .6em; font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol) !important; }
.kachel-fuss { margin-top: auto; padding-top: 1em; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4em 1em; }
.kachel-fuss .textlink { padding-top: 0; }
.kachel-fuss .klein { margin: 0; font-size: .85rem; }
.kachel-link p.kachel-text { margin-bottom: 1em; }
.kachel-mehr { margin: .5em 0 0; font-size: .95rem; }
.karten-vier { margin-bottom: 1em; }
@media (min-width: 700px) { .karten-vier { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .karten-vier { grid-template-columns: repeat(4, 1fr); } }
.bereiche-links { font-weight: 600; margin-bottom: 0; }
.abschnitt-linie { border-top: 1px solid var(--linie); }

/* Entscheidung in der Spur der Kanzlei (Spiegelbild): links Entscheidung, Ja, Nein; rechts die Folge */
@media (min-width: 900px) {
  .lane-kanzlei > .karte-entscheidung, .lane-kanzlei .entsch-ja { grid-column: 1; }
  .lane-kanzlei .entsch-nein { grid-column: 1; margin-left: 0; margin-right: 28px; }
  .lane-kanzlei .entsch-folge { grid-column: 3; }
  .lane-kanzlei .verbinder { margin-left: -28px; }
  .lane-kanzlei .entsch-nein::before { left: auto; right: -60px; }
  .lane-kanzlei .karte-entscheidung .raute { left: auto; right: -49px; }
  .lane-kanzlei .entsch-ja > .karte > .karte-kopf .nr { left: auto; right: -48px; }
}
.kachel-link .textlink { color: var(--petrol); }

.kachel-bild { margin: -6px -6px 14px; }
.kachel-bild .aufnahme { margin: 0; }
.kachel-bild .buehne-rahmen { padding: 6px; box-shadow: none; }
.kachel-bild .fensterleiste { padding: 4px 8px; }
.kachel-bild .fensterleiste span { font-size: .65rem; }
.kachel-bild .aufnahme--handy { max-width: 150px; margin: 0 auto; }
.karte-haupt .ablauf-bilder:has(.aufnahme--handy) .aufnahme:not(.aufnahme--handy) { max-width: 540px; flex: 1 1 320px; }

/* Produktfilme (eigener Server, natives video-Element): Rahmen, Schatten und Rundung wie die Aufnahmen, feste Fläche 16:9 */
.film { margin: 0 0 36px; max-width: 960px; }
.drei + .film { margin: 40px auto 28px; }
.film-kopf { margin-bottom: 14px; }
.film-kopf .ueberzeile { margin-bottom: .25rem; font-size: 1.05rem; }
.film-text { margin: 0; color: var(--text-leise); }
.film-rahmen { padding: 8px; }
.film-buehne { position: relative; }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--petrol-dunkel); border: 1px solid var(--linie); border-radius: 8px; object-fit: contain; }
.film-ersatz { padding: 1rem; color: #fff; }
.film-ersatz a { color: #fff; }
.film-hinweis { font-size: .8rem; color: var(--text-leise); padding-top: 8px; }
/* Abspielknopf über dem Startbild (nur mit JavaScript, siehe web.js): Signalfarbe mit weißem Ring auf dem dunklen Petrol */
.film-start { position: absolute; left: 72%; top: 56%; width: 12%; min-width: 64px; max-width: 104px; aspect-ratio: 1; margin: 0; padding: 0; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; border: 4px solid #fff; border-radius: 50%; background: #c2256e; color: #fff; cursor: pointer; box-shadow: 0 8px 28px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3); transition: background-color .15s, transform .15s; }
.film-start[hidden] { display: none; }
.film-start svg { width: 42%; height: 42%; fill: currentColor; }
.film-start:hover { background: var(--signal); transform: translate(-50%, -50%) scale(1.06); }
.film-start:focus-visible { outline: 4px solid #fff; outline-offset: 4px; }
.film:has(.film-start:not([hidden])) .film-video { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .film-start { transition: none; } .film-start:hover { transform: translate(-50%, -50%); } }
@media (min-width: 700px) { .film-rahmen { padding: 14px; } }
@media print { .film { display: none; } }

/* ===== Mobil-Durchgang 13.11. ===== */
/* Einstieg: zweiter Knopf im Kopf wird auf dem Handy ein ruhiger Textlink */
@media (max-width: 699px) { .knoepfe-kopf { flex-direction: column; align-items: stretch; gap: 14px; } .knoepfe-kopf .knopf-haupt { width: 100%; } .knoepfe-kopf .knopf-hell { border: 0; background: none; padding: 0; text-align: left; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; align-self: flex-start; } .knoepfe-kopf .knopf-hell::after { content: " \2192"; } }
/* Handyleiste: erscheint erst, wenn der Kopf aus dem Bild ist */
.handyleiste { transition: transform .25s ease-out, visibility .25s; }
.handyleiste.weg { transform: translateY(110%); visibility: hidden; }
/* Gesprächsdialog */
.kalender-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 4px 4px 0; margin-bottom: 10px; }
.kalender-kopf h2 { font-size: 1.2rem; margin: 0; }
.kalenderdialog form { margin: 0; }
.kalenderdialog .bilddialog-zu { background: #fff; color: var(--petrol); border: 1px solid var(--petrol); padding: .35rem .8rem; font-size: .9rem; }
.kalender-rollen { overflow: auto; -webkit-overflow-scrolling: touch; }
.kalender-intro { padding: 4px 4px 12px; font-size: .95rem; }
.kalender-person { display: flex; gap: 12px; align-items: center; background: var(--flaeche); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.kalender-person[hidden] { display: none; }
.kalender-person p { margin: 0; }
.kalender-person .portraet, .kalender-person .avatar { width: 56px; height: 56px; font-size: 1.2rem; }
.kalender-gruppe { display: flex; flex: none; }
.kalender-gruppe > * + * { margin-left: -14px; }
.kalender-schritte { margin: 0; padding-left: 1.3rem; color: var(--text-leise); font-size: .9rem; }
/* Preisbeispiele: Einheit */
.zahl-gross .einheit { font-size: .95rem; font-weight: 400; color: var(--text-leise); letter-spacing: 0; white-space: nowrap; }
/* Faktenleiste: auf dem Handy eine Spalte, 700 bis 899 px 2 x 2 */
@media (max-width: 699px) { .fakten ul { grid-template-columns: 1fr; gap: 0; } .fakten li { padding: 10px 0; } .fakten li + li { border-top: 1px solid var(--linie); } }
@media (min-width: 700px) and (max-width: 899px) { .fakten ul { grid-template-columns: 1fr 1fr; } }

/* ===== Motiv mit Menschen (14.11.) ===== */
/* Ein Bild zwischen Problem und Lösung: Foto in voller Breite, Aussage unten links auf dunklem Verlauf */
.motiv { padding: 0 0 48px; }
.motiv-bild { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); background: var(--petrol-dunkel); }
.motiv-bild img { display: block; width: 100%; height: auto; }
.motiv-bild figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 24px 18px; color: #fff; background: linear-gradient(rgba(0, 57, 59, 0), rgba(0, 57, 59, .88) 62%); display: grid; gap: 2px; }
.motiv-bild figcaption strong { font-size: 1.25rem; line-height: 1.25; }
.motiv-bild figcaption span { font-size: 1rem; color: var(--auf-dunkel); }
.motiv-bild figcaption small { position: absolute; right: 14px; bottom: 10px; font-size: .7rem; color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) { .motiv { padding-bottom: 72px; } .motiv-bild figcaption { padding: 96px 40px 30px; } .motiv-bild figcaption strong { font-size: 1.75rem; } .motiv-bild figcaption span { font-size: 1.125rem; } }
@media (max-width: 599px) { .motiv-bild img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% center; } .motiv-bild figcaption { padding: 48px 16px 28px; } .motiv-bild figcaption strong { font-size: 1.1rem; } .motiv-bild figcaption span { font-size: .95rem; } }

/* Kanzlei-KI: Chatfenster als vereinfachte Darstellung, Preisblock, Hinweis auf Start- und Preisseite */
.ki-preiszeile { color: var(--auf-dunkel); }
.ki-preiszeile strong { color: #fff; font-size: 1.35rem; }
.ki-fenster { background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.28); overflow: hidden; font-size: .92rem; line-height: 1.5; }
.ki-kopf { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--linie); background: var(--flaeche); }
.ki-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--petrol); flex: none; }
.ki-modell { font-weight: 700; color: var(--tinte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ki-kanzlei { margin-left: auto; color: var(--text-leise); font-size: .8rem; white-space: nowrap; }
.ki-verlauf { padding: 16px; display: grid; gap: 12px; }
.ki-verlauf p, .ki-verlauf ul { margin: 0; }
.ki-frage { justify-self: end; max-width: 88%; background: var(--petrol-zart); border-radius: 14px 14px 4px 14px; padding: 10px 14px; }
.ki-antwort { max-width: 96%; display: grid; gap: 6px; padding-left: 12px; border-left: 3px solid var(--petrol); }
.ki-antwort ul { padding-left: 1.1rem; }
.ki-eingabe { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--linie); border-radius: 999px; padding: 8px 14px; color: var(--text-leise); font-size: .85rem; }
.ki-symbole { white-space: nowrap; }
.ki-unterschrift { margin: 0; padding: 8px 14px; border-top: 1px solid var(--linie); font-size: .78rem; color: var(--text-leise); }
@media (max-width: 499px) { .ki-symbole { display: none; } .ki-kanzlei { display: none; } }
.ki-ehrlich { color: var(--auf-dunkel); }
.ki-vergleich li span { color: var(--text); }
.ki-preis { display: grid; gap: 24px; margin: 8px 0 24px; }
.ki-preis-haupt, .ki-preis-einrichtung { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; }
.ki-preis-haupt { border-top: 4px solid var(--petrol); }
.ki-preis-haupt .zahl-gross { font-size: 2.4rem; font-weight: 750; color: var(--tinte); line-height: 1.1; margin-bottom: .5em; }
.ki-preis-einrichtung h3 { font-size: 1rem; }
.ki-preis-einrichtung .rechenkasten + h3 { margin-top: 1.2em; }
@media (min-width: 900px) { .ki-preis { grid-template-columns: 1fr 1fr; } }
.ki-zusatz { display: grid; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--petrol); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px; }
.ki-zusatz h2 { margin-top: 0; }
.ki-zusatz-preis { margin: 0; }
.ki-zusatz-preis .zahl-gross { display: block; font-size: 2rem; font-weight: 750; color: var(--tinte); line-height: 1.1; }
@media (min-width: 900px) { .ki-zusatz { grid-template-columns: 1.6fr 1fr; padding: 32px; gap: 48px; } }
.abschnitt-oben-null { padding-top: 0 !important; }

/* Über uns: Beitrag im Stil eines Blogartikels */
.artikel-kopf { padding-bottom: 36px; }
.artikel-kopf + .abschnitt { padding-top: 40px; }
.artikel-zeile { display: flex; align-items: center; gap: 12px; margin: 1.4rem 0 0; font-size: .92rem; color: var(--text-leise); line-height: 1.45; }
.artikel-zeile strong { color: var(--tinte); }
.artikel-autor { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); flex: none; }
.familienbild { margin: 0; }
.familienbild img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--schatten); }
.familienbild figcaption { max-width: 720px; margin-top: 12px; font-size: .9rem; color: var(--text-leise); }
.artikel .rahmen.text > p { max-width: 680px; }
.artikel h3.team-titel { margin-top: 2em; }
.zeitleiste { list-style: none; margin: 2rem 0 0; padding: 0; border-left: 2px solid var(--linie); }
.zeitleiste li { position: relative; display: grid; grid-template-columns: 4.2rem 1fr; gap: 12px; padding: 0 0 18px 22px; line-height: 1.45; }
.zeitleiste li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--petrol); }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste-jahr { font-weight: 750; color: var(--petrol); }
.zeitleiste-heute::before { background: var(--signal) !important; box-shadow: none !important; }
.zeitleiste-heute .zeitleiste-jahr { color: var(--signal); }
.zitat { margin: 2rem 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--signal); }
.zitat p { font-size: clamp(1.15rem, 2.6vw, 1.4rem); line-height: 1.4; font-weight: 650; color: var(--tinte); letter-spacing: -.01em; margin-bottom: .5em; }
.zitat footer { font-size: .92rem; color: var(--text-leise); }
.eckdaten { list-style: none; margin: 32px auto 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eckdaten li { background: var(--flaeche); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; align-content: start; line-height: 1.35; font-size: .95rem; }
.eckdaten-zahl { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 750; color: var(--petrol); letter-spacing: -.02em; line-height: 1.1; }
@media (min-width: 900px) { .eckdaten { grid-template-columns: repeat(4, 1fr); gap: 16px; } .eckdaten li { padding: 22px; } }
.team-liste .team-portal { border-top-color: var(--petrol); }
.team-liste { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 0 32px; }
.team-liste li { padding: 10px 0; border-top: 1px solid var(--linie); line-height: 1.4; font-size: .97rem; color: var(--text-leise); }
.team-liste strong { display: block; color: var(--tinte); }
@media (min-width: 700px) { .team-liste { grid-template-columns: 1fr 1fr; } }
.werbebanner { display: grid; gap: 16px 32px; align-items: center; background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--signal); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px; box-shadow: 0 2px 8px rgba(20,24,28,.05); }
.werbebanner p { margin: 0; }
.werbebanner .klein { margin-top: .6em; }
.werbebanner-marke { display: inline-block; margin-bottom: 8px !important; padding: 3px 10px; border-radius: 999px; background: var(--signal); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.werbebanner-text { font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 750; line-height: 1.3; color: var(--tinte); letter-spacing: -.01em; }
@media (min-width: 900px) { .werbebanner { grid-template-columns: 1fr auto; padding: 28px 32px; } }

.gruender { display: grid; gap: 28px; align-items: center; }
.gruender-bild { margin: 0; max-width: 360px; }
.gruender-bild img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--schatten); }
@media (min-width: 900px) { .gruender { grid-template-columns: 360px 1fr; gap: 56px; } }
.teamraster { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
@media (min-width: 700px) { .teamraster { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .teamraster { grid-template-columns: repeat(4, 1fr); gap: 28px 24px; } }
.teamkarte img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); background: var(--flaeche); }
.teamkarte h3 { margin: 10px 0 .2em; font-size: 1.02rem; }
.teamkarte p { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--text-leise); }
.teamkarte-marke { display: inline-block; margin-top: 10px; padding: 2px 8px; border-radius: 999px; background: var(--petrol-zart); color: var(--petrol); font-size: .72rem; font-weight: 700; letter-spacing: .01em; }
.teamkarte-marke + h3 { margin-top: 6px; }
.vertrag-hinweis { margin-top: 2rem; }
.entstehung { display: grid; gap: 28px; align-items: start; }
.entstehung .familienbild { margin-top: 4px; }
@media (min-width: 900px) { .entstehung { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } .entstehung .familienbild { margin-top: 2.6rem; } }
/* Logo: auf schmalen Handys kleiner, unter 360 px ohne Dreiklang */
@media (max-width: 479px) { .kopf .logo { font-size: 1.3rem; gap: 8px; } }
@media (max-width: 359px) { .kopf .logo { font-size: 1.15rem; } .kopf .wm-drei { display: none; } }
/* Mega-Menü Produkte: zwei Karten (hell Kanzleiportal, dunkel Kanzlei-KI) */
.hauptmenue .mega-karten { display: grid; grid-template-columns: 1fr; gap: 10px; }
.hauptmenue .mega-karte { display: flex; flex-direction: column; padding: 18px 18px 16px; border-radius: 12px; }
.hauptmenue .mega-hell { background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); }
.hauptmenue .mega-dunkel { background: linear-gradient(180deg, #00393b, #002c2e); color: #dbe4e4; }
.hauptmenue .mega-karte p { margin: 0; }
.hauptmenue .mega-ueber { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.hauptmenue .mega-dunkel .mega-ueber { color: #9fd3d4; }
.hauptmenue .mega-name { margin-top: .35rem !important; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--tinte); }
.hauptmenue .mega-dunkel .mega-name { color: #fff; }
.hauptmenue .mega-text { margin-top: .5rem !important; font-size: .94rem; font-weight: 400; line-height: 1.5; }
.hauptmenue .mega-liste { margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hauptmenue .mega-karte a { display: inline-block; padding: .2rem 0; font-size: .94rem; font-weight: 600; text-decoration: none; }
.hauptmenue .mega-hell .mega-liste a { color: var(--petrol); }
.hauptmenue .mega-hell .mega-liste a:hover, .hauptmenue .mega-hell .mega-liste a[aria-current="page"] { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.hauptmenue .mega-karte a.mega-mehr { margin-top: auto; padding-top: .9rem; font-weight: 700; color: var(--signal); }
.hauptmenue .mega-dunkel a.mega-mehr { margin-top: auto; color: #fff; }
.hauptmenue .mega-karte a.mega-mehr:hover { text-decoration: underline; text-underline-offset: 3px; }
.hauptmenue .mega-fuss { margin: 10px 0 0; text-align: center; }
.hauptmenue .mega-fuss a { display: inline-block; padding: .3rem .5rem; font-size: .92rem; font-weight: 600; color: var(--text-leise); }
.hauptmenue .mega-fuss a:hover { color: var(--signal); }
.hauptmenue .mega a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.hauptmenue .mega-dunkel a:focus-visible { outline-color: #fff; }
@media (min-width: 900px) {
  .hauptmenue .mega-karten { grid-template-columns: 1fr 1fr; gap: 12px; }
}
/* Mega-Menü: Band „Mehr von Feuerpfeil“ */
.hauptmenue .mega-band { margin-top: 12px; padding: 12px 6px 0; border-top: 1px solid var(--linie); }
.hauptmenue .mega-band p { margin: 0; }
.hauptmenue .mega-band-ueber { font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--text-leise); }
.hauptmenue .mega-band-satz { margin-top: .25rem !important; font-size: .85rem; line-height: 1.45; color: var(--text-leise); }
.hauptmenue .mega-band-spalten { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-top: .6rem; }
.hauptmenue .mega-band-titel { font-size: .85rem; font-weight: 700; color: var(--tinte); }
.hauptmenue .mega-band ul { margin: .2rem 0 0; padding: 0; list-style: none; }
.hauptmenue .mega-band li a { display: inline-block; padding: .15rem 0; font-size: .85rem; font-weight: 500; line-height: 1.35; color: var(--petrol); text-decoration: none; }
.hauptmenue .mega-band li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hauptmenue .mega-band li a span { font-size: .8em; }
.hauptmenue .mega-band-alle { margin-top: .5rem !important; }
.hauptmenue .mega-band-alle a { display: inline-block; padding: .2rem 0; font-size: .85rem; font-weight: 700; color: var(--signal); text-decoration: none; }
.hauptmenue .mega-band-alle a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .hauptmenue .mega-band-spalten { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hauptmenue .mega-band-alle { text-align: right; margin-top: .2rem !important; }
  .hauptmenue .mega-fuss { margin-top: 2px; }
}
@media (min-width: 900px) and (max-width: 1099px) { .hauptmenue > ul { gap: 14px; } .kopf .logo { font-size: 1.2rem; } .hauptmenue a { font-size: .95rem; } .hauptmenue .knopf { padding: .5rem .9rem; } }

.bild-unter { margin-top: 32px; }
@media (min-width: 800px) { .karten-ratgeber { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.karten-ratgeber .kachel-link h3 { font-size: 1.3rem; }

/* ===== Neue Startseite (20.11.2026) ===== */
/* Kräftigere Überschriften; die Titelschrift lässt sich über --schrift-titel getrennt einstellen */
h1, h2, h3 { font-family: var(--schrift-titel); }
h1, h2 { font-weight: 800; }
h1 { letter-spacing: -.03em; }
h2 { letter-spacing: -.022em; }
/* Farbige Wortteile: Petrol, Signal, Verlauf Petrol nach Signal (mit Fallback ohne background-clip) */
.hv { color: var(--petrol); }
.hs { color: var(--signal); }
.hg { color: var(--petrol); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hg { background: linear-gradient(90deg, #005356, #a3195b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.hs-hell { color: #f2a7c9; }
/* Überzeilen als kleine gesperrte Versalien */
.ueberzeile { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); margin-bottom: .9rem; }
.ueberzeile-hell { color: var(--auf-dunkel); }
@media (min-width: 700px) { .ueberzeile { font-size: .78rem; } }
/* Überzeile innerhalb einer Überschrift (Startseite): gleiches Bild wie die eigenständige Überzeile */
h1 .ueberzeile { display: block; font-family: var(--schrift); line-height: 1.6; text-wrap: pretty; }

/* Kopf: Häkchenliste, Filmlink */
.haken-liste { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .65rem; max-width: 560px; }
.haken-liste li { position: relative; padding-left: 2rem; line-height: 1.45; color: var(--text); }
.haken-liste li::before { content: ""; position: absolute; left: 0; top: .12em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat; }
.held-links { margin: 1rem 0 0; font-weight: 700; }
.film-link { color: var(--petrol); text-decoration: none; font-weight: 700; }
.film-link:hover { text-decoration: underline; }
.film-link span { display: inline-block; font-size: .8em; margin-right: .2em; }
.held-text .klein { margin-top: .9rem; }

/* Zahlenleiste: drei Spalten, große Zahl in Petrol, linke Signal-Linie */
.zahlenleiste { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.zahlenleiste ul { list-style: none; margin: 0 auto; padding: 22px 16px; display: grid; gap: 20px 32px; }
.zahlenleiste li { display: grid; gap: 3px; align-content: start; border-left: 1px solid #c9ccd0; padding-left: 16px; line-height: 1.4; }
.zahlenleiste strong { font-size: clamp(1.5rem, 3.6vw, 1.95rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.1; color: var(--petrol); }
.zahlenleiste span { font-weight: 500; font-size: .98rem; color: var(--tinte); }
.zahlenleiste small { font-size: .82rem; color: var(--text-leise); }
@media (min-width: 800px) { .zahlenleiste ul { grid-template-columns: repeat(3, 1fr); padding: 34px 24px; } }

/* Kanzleialltag: zwei Spalten, links feststehend, rechts die Liste mit Hervorhebung beim Scrollen */
.alltag-raster { display: flex; flex-direction: column; gap: 8px; }
.alltag-links, .alltag-rechts { display: contents; }
.alltag-kopf { order: 1; }
.alltag-fortschritt { display: none; }
.alltag-rechts .alltag-liste { order: 2; }
.alltag-schluss { order: 3; }
.alltag-feld { order: 4; display: none; }
.alltag-liste { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.alltag-eintrag { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 12px; padding: 24px 0; border-bottom: 1px solid var(--linie); }
.alltag-nr { font-size: 1.6rem; font-weight: 400; line-height: 1.1; color: #d5dbdc; font-variant-numeric: tabular-nums; transition: color .35s; }
.alltag-inhalt { min-width: 0; display: flex; flex-direction: column; gap: 6px; transition: opacity .35s; }
.alltag-etikett { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); }
.alltag-inhalt strong { font-size: 1.25rem; line-height: 1.3; font-weight: 750; color: var(--tinte); }
.alltag-inhalt p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text-leise); }
.alltag-schluss { margin: 28px 0 0; font-size: 1.1rem; line-height: 1.5; color: var(--tinte); }
@media (min-width: 600px) {
  .alltag-feld { display: block; margin-top: 28px; }
  .alltag-feld .posteingang { display: block; transform: none; max-width: 440px; margin: 0; }
  .alltag-feld .posteingang li:nth-child(2) { transform: none; }
}
@media (min-width: 900px) {
  .alltag-raster { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 55fr); column-gap: 5%; align-items: start; }
  .alltag-links { display: block; position: sticky; top: calc(var(--kopfhoehe) + 40px); }
  .alltag-rechts { display: block; }
  .alltag-liste { margin-top: 0; }
  .alltag-eintrag { grid-template-columns: 3.4rem 1fr; padding: 28px 0; }
  .alltag--fokus .alltag-fortschritt { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 0; }
  .alltag-zaehler { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--petrol); font-variant-numeric: tabular-nums; }
  .alltag-von { font-size: .8rem; color: var(--text-leise); }
  .alltag-balken { align-self: center; position: relative; display: block; width: 150px; height: 2px; margin-left: 6px; background: var(--linie); overflow: hidden; }
  .alltag-fuellung { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--petrol); transition: width .5s ease; }
  .alltag-feld { margin-top: 32px; }
  .alltag-feld .posteingang { max-width: 380px; padding: 12px 14px 4px; }
  .alltag-feld .posteingang li { padding: 8px 0; }
  .alltag-schluss { margin-top: 36px; }
  .alltag--fokus .alltag-eintrag:not(.ist-aktiv) .alltag-inhalt { opacity: .38; }
  .alltag--fokus .alltag-eintrag.ist-aktiv .alltag-nr { color: var(--petrol); }
}
@media (prefers-reduced-motion: reduce) { .alltag-fortschritt { display: none; } }

/* Lösung: fünf Bereichskarten, vier Merkmale */

/* Zwei Produkte: Schaubild mit zwei Karten und Orbit der Kanzleisoftware (Linien zeichnet web.js) */
.produkte { position: relative; display: grid; gap: 0; margin: 32px 0 14px; align-items: stretch; }
.produkte-linien { display: none; }
.produkt { position: relative; z-index: 1; display: flex; flex-direction: column; border-radius: 16px; padding: 26px 24px 24px; border: 1px solid var(--linie); min-width: 0; }
.produkt h3 { font-size: 1.6rem; line-height: 1.18; font-weight: 800; margin: 0 0 1.1rem; }
.produkt .ueberzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-bottom: .9rem; }
.ueberzeile-zusatz { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--linie); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; color: var(--text-leise); }
.produkt dl { margin: 0 0 1.4rem; }
.produkt dl > div { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--linie); }
.produkt dt { font-weight: 700; color: var(--petrol); hyphens: manual; font-size: .94rem; line-height: 1.35; }
.produkt dd { margin: 0; font-size: .97rem; line-height: 1.5; }
.produkt-fuss { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--linie); }
.produkt-fuss p { margin: 0; }
.produkt-fuss .klein { margin-bottom: 12px; }
.produkt-zahl { font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--petrol); }
.produkt-hell { background: #fff; box-shadow: 0 10px 30px rgba(20, 24, 28, .08), 0 2px 6px rgba(20, 24, 28, .05); }
.produkt-dunkel { background: linear-gradient(160deg, #00393b, #002a2c); color: #e8ecec; border-color: #00393b; box-shadow: 0 18px 40px rgba(0, 42, 44, .28); }
.produkt-dunkel h3, .produkt-dunkel .produkt-zahl { color: #fff; }
.produkt-dunkel .ueberzeile, .produkt-dunkel dt { color: #9fd3d4; }
.produkt-dunkel .ueberzeile-zusatz { border-left-color: rgba(255, 255, 255, .25); color: var(--auf-dunkel); }
.produkt-dunkel dd, .produkt-dunkel .klein { color: var(--auf-dunkel); }
.produkt-dunkel dl > div, .produkt-dunkel .produkt-fuss { border-top-color: rgba(255, 255, 255, .16); }
.produkt-dunkel a { color: #fff; }

/* Mini-Oberfläche links: Eingang heute */
.eingang { margin: auto 0 1.4rem; padding: 14px 14px 12px; border: 1px solid var(--linie); border-radius: 14px; background: #fff; }
.eingang-kopf { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--text-leise); }
.eingang ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eingang-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; }
.eingang-zeile strong { display: block; font-size: .9rem; line-height: 1.3; color: var(--tinte); }
.eingang-zeile small { display: block; font-size: .78rem; line-height: 1.35; color: var(--text-leise); }
.eingang-haken { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--petrol); display: inline-flex; align-items: center; justify-content: center; }
.eingang ~ .produkt-fuss, .chatfenster ~ .produkt-fuss { margin-top: 0; }

/* Mini-Oberfläche rechts: Chatfenster */
.chatfenster { margin: auto 0 1.4rem; padding: 12px 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.fensterpunkte { display: flex; gap: 6px; margin: 0 0 12px; }
.fensterpunkte i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.blase { margin: 0; padding: 10px 13px; font-size: .86rem; line-height: 1.5; border-radius: 14px; width: 88%; }
.blase-frage { margin-left: auto; width: 88%; background: #e8f2f2; color: var(--tinte); border-bottom-right-radius: 4px; }
.blase-antwort { margin-top: 10px; background: rgba(159, 211, 212, .2); color: #eef6f6; border-bottom-left-radius: 4px; }
.cursor { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: #9fd3d4; animation: blinken 1.1s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }

/* Mitte: Orbit */
.orbit-spalte { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0; }
.produkt-verbinder { position: relative; display: block; width: 0; height: 40px; border-left: 2px dashed #b7cfd0; }
.produkt-verbinder::after { content: ""; position: absolute; left: -5px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--petrol); opacity: 0; animation: verbinder-fluss 2.8s ease-in-out infinite; }
.produkt-verbinder-unten::after { background: var(--signal); animation-delay: 1.4s; }
@keyframes verbinder-fluss { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
.orbit { position: relative; flex: none; width: 300px; height: 300px; }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.orbit-ring-innen { width: 200px; height: 200px; margin: -100px 0 0 -100px; border: 1px dashed #c9d6d6; }
.orbit-ring-aussen { width: 280px; height: 280px; margin: -140px 0 0 -140px; border: 1px solid #c9d6d6; }
.orbit-dreher { position: absolute; inset: 0; animation: orbit-drehen 90s linear infinite; }
.orbit-pos { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--w)) translateX(140px) rotate(calc(-1 * var(--w))); }
.orbit-gegen { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: orbit-drehen 90s linear infinite reverse; }
.orbit-pille { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); padding: 5px 12px; background: #fff; border: 1px solid var(--linie); border-radius: 999px; box-shadow: 0 2px 6px rgba(20, 24, 28, .08); font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--tinte); white-space: nowrap; }
@keyframes orbit-drehen { to { transform: rotate(360deg); } }
.orbit-kern { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 14px; text-align: center; color: #fff; background: radial-gradient(circle at 35% 30%, #0a6b6e, #00393b 75%); box-shadow: 0 18px 40px rgba(0, 57, 59, .35); animation: orbit-atmen 6s ease-in-out infinite; }
.orbit-kern strong { font-size: .92rem; line-height: 1.2; font-weight: 800; hyphens: manual; }
.orbit-kern small { margin-top: 4px; font-size: .68rem; line-height: 1.25; color: #cfe6e6; }
@keyframes orbit-atmen { 50% { transform: scale(1.03); } }
.orbit-text { max-width: 300px; margin: 22px 0 0; font-size: .85rem; line-height: 1.5; }
.produkte-fuss { margin-top: 6px; }

/* Handy und Tablet: Orbit kleiner, Verbinder statt Linien */
@media (max-width: 1099px) {
  .orbit { transform: scale(.867); margin: -20px 0; }
  .orbit-text { margin-top: 28px; }
}
@media (max-width: 599px) {
  .produkt { padding: 22px 18px 20px; }
  .produkt h3 { font-size: 1.4rem; }
  .produkt dl > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (min-width: 1100px) {
  .produkte { grid-template-columns: 1fr 300px 1fr; column-gap: 44px; }
  .orbit-spalte { align-self: center; justify-content: center; }
  .produkt-verbinder { display: none; }
  .produkte-linien { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
  .linie-grund { fill: none; stroke: #b7cfd0; stroke-width: 1.5; }
  .linie-fluss { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 16 100; animation: linie-fluss 3.6s ease-in-out infinite; }
  .linie-fluss-links { stroke: var(--petrol); }
  .linie-fluss-rechts { stroke: var(--signal); }
}
@keyframes linie-fluss { 0% { stroke-dashoffset: 16; } 100% { stroke-dashoffset: -100; } }

/* Eingänge der Mini-Oberflächen: nur mit JavaScript und ohne reduzierte Bewegung, sonst ist alles sofort da */
@media (prefers-reduced-motion: no-preference) {
  .js-schaubild .eingang-zeile { opacity: 0; transform: translateY(10px); transition: opacity .5s ease-out, transform .5s ease-out; }
  .js-schaubild.sichtbar .eingang-zeile { opacity: 1; transform: none; transition-delay: calc(var(--i) * .4s); }
}
@media (prefers-reduced-motion: reduce) { .linie-fluss, .produkt-verbinder::after, .cursor { display: none; } }

/* So läuft es: drei Schritte mit oberer Petrol-Linie */
.schritte { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 22px; }
.schritte li { border-top: 3px solid var(--petrol); padding-top: 16px; }
.schritte .nr { margin-bottom: 4px; }
.schritte h3 { margin: .4rem 0 .35em; }
.schritte p { margin: 0; font-size: 1rem; }
@media (min-width: 800px) { .schritte { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.film-gross .film { max-width: none; margin: 8px 0 24px; }

/* Vergleich: ab 700 px zunächst fünf Zeilen (Klasse setzt web.js) */
.vergleich-mehr { display: none; margin-top: 14px; }
@media (min-width: 700px) {
  .vergleich-mehr { display: inline-block; }
  .vergleich--kurz .vz-weg { display: none; }
  .vergleich--kurz tbody:last-of-type tr:last-child > *, .vergleich--kurz .vergleich tr:last-child > * { border-bottom: 0; }
}

/* Sicherheit: Punkte als Kacheln auf Dunkel */
.band-kacheln .band-raster { gap: 16px; }
.band-kacheln .band-raster li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px 20px; }

/* Im Einsatz: Zitatkarten */
.zitate { display: grid; gap: 20px; margin: 28px 0; }
@media (min-width: 800px) { .zitate { grid-template-columns: 1fr 1fr; gap: 28px; } }
.zitat-karte { position: relative; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px 26px 24px; box-shadow: 0 2px 8px rgba(20,24,28,.05); }
.zitat-zeichen { display: block; font-size: 4.5rem; font-weight: 800; line-height: .8; height: 2.2rem; margin-bottom: .3rem; color: var(--signal); }
.zitat-karte blockquote { margin: 0 0 1.2rem; }
.zitat-karte blockquote p { font-size: 1.15rem; line-height: 1.5; color: var(--tinte); margin: 0; }
.zitat-karte figcaption { margin-top: auto; display: grid; gap: 1px; }
.zitat-karte figcaption strong { color: var(--tinte); }
.zitat-karte figcaption span { font-size: .9rem; color: var(--text-leise); }
.zitat-entwurf { border: 2px dashed var(--signal); }
.zitat-marke { position: absolute; top: -12px; right: 18px; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--signal); color: #fff; font-size: .75rem; font-weight: 700; }
.einsatz-zeile { display: grid; gap: 18px; align-items: center; }
.einsatz-zeile .kundenlogo { margin: 0; }
.einsatz-zeile .einsatz-text p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .einsatz-zeile { grid-template-columns: 300px 1fr; gap: 40px; } .einsatz-zeile .einsatz-text { max-width: 760px; } }

/* Chat-Hinweiskarte über dem Chatknopf */
.chathinweis { position: fixed; right: 20px; bottom: 76px; z-index: 56; width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--linie); border-radius: 16px; box-shadow: 0 14px 40px rgba(20,24,28,.22); padding: 16px 18px 12px; }
.chathinweis[hidden] { display: none; }
.chat-offen .chathinweis { display: none; }
.chathinweis-zu { position: absolute; top: 4px; right: 6px; font: inherit; font-size: 1.4rem; line-height: 1; color: var(--text-leise); background: none; border: 0; padding: 4px 8px; cursor: pointer; }
.chathinweis-kopf { display: flex; gap: 12px; align-items: center; padding-right: 20px; }
.chathinweis-kopf p { margin: 0; display: grid; gap: 2px; line-height: 1.3; }
.chathinweis-kopf small { color: var(--text-leise); font-size: .8rem; }
.chathinweis-kopf strong { color: var(--tinte); font-size: .98rem; }
.chathinweis .portraet.chathinweis-bild { width: 44px; height: 44px; flex: none; filter: none; }
.chathinweis svg.chathinweis-bild { width: 44px; height: 44px; flex: none; padding: 9px; border-radius: 50%; background: var(--flaeche); color: var(--signal); }
.chathinweis-knoepfe { display: flex; gap: 18px; margin: 10px 0 0; font-size: .95rem; }
.chathinweis-knoepfe .textlink { font: inherit; font-weight: 700; color: var(--petrol); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 899px) { .chathinweis { bottom: calc(76px + 56px + env(safe-area-inset-bottom)); right: 16px; } }
@media (max-width: 359px) { .chathinweis { display: none !important; } }
@media (prefers-reduced-motion: no-preference) { .chathinweis:not([hidden]) { animation: hinweis .4s ease-out both; } }
@keyframes hinweis { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media print { .chathinweis { display: none !important; } }

.kundenlogos { display: grid; gap: 14px; width: 100%; max-width: 360px; }
.kundenlogos .kundenlogo { margin: 0; display: flex; align-items: center; justify-content: center; height: 112px; padding: 20px 18px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(20,24,28,.05); }
.kundenlogos .kundenlogo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 46px; }
.kundenlogos img[src*="hanke-logo"] { max-width: 84%; }
@media (min-width: 560px) and (max-width: 899px) { .kundenlogos { grid-template-columns: 1fr 1fr; max-width: none; } }

/* Lösung: dunkler Vorher-Nachher-Abschnitt */
.hv-hell { color: #7fd0d2; background: linear-gradient(90deg, #7fd0d2, #f2a7c9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.loesung { background: radial-gradient(ellipse 60% 40% at 50% 55%, rgba(255,255,255,.04), transparent 70%), linear-gradient(180deg, #00393b, #002c2e); color: #dbe4e4; padding: 64px 0; }
.loesung .ueberzeile-hell { color: #9fd3d4; }
.loesung-kopf { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.loesung h2 { color: #fff; }
.loesung-text { color: #c9d6d6; margin: 1em auto 0; }
.vorher-nachher { list-style: none; margin: 0 auto; padding: 0; max-width: 940px; }
.vn-koepfe { display: none; }
.vn-zeile { display: grid; gap: 14px; padding: 24px 12px; border-top: 1px solid rgba(255,255,255,.12); border-radius: 10px; transition: background-color .2s; }
.vn-zeile:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.vn-zeile:hover, .vn-zeile:focus-within { background: rgba(255,255,255,.03); }
.vn-vorher { display: flex; gap: 14px; align-items: baseline; min-width: 0; }
.vn-nr { color: #7fd0d2; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.vn-vorher p { margin: 0; color: #b9c7c8; font-size: 1rem; font-weight: 400; }
.vn-etikett { display: inline-block; margin-right: .4em; color: #8fa5a6; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vn-pfeil { display: block; position: relative; color: #7fd0d2; width: 12px; height: 48px; margin: 0 0 0 14px; }
.vn-pfeil svg { max-width: none; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -14px; transform: rotate(90deg); transition: transform .25s ease; }
.vn-nachher { min-width: 0; }
.vn-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0 0 .4em; }
.vn-marke { color: #7fd0d2; font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vn-strich { width: 1px; height: 12px; background: rgba(255,255,255,.3); }
.vn-kopf h3 { margin: 0; min-width: 0; overflow-wrap: anywhere; hyphens: auto; color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.vn-text { margin: 0; color: #dbe4e4; font-size: .97rem; line-height: 1.5; }
.vn-mehr { margin-left: .3em; color: #fff; font-size: .85rem; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.vn-mehr:hover { color: #9fd3d4; }
.loesung a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }
@media (min-width: 800px) {
  .vn-koepfe { display: grid; grid-template-columns: 1fr 70px 1.25fr; max-width: 940px; margin: 0 auto; padding: 0 12px 14px; font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fa5a6; }
  .vn-koepfe span:last-child { color: #9fd3d4; }
  .vn-zeile { grid-template-columns: 1fr 70px 1.25fr; gap: 0; align-items: center; }
  .vn-etikett { display: none; }
  .vn-pfeil { width: 28px; height: 12px; margin: 0 auto; }
  .vn-pfeil svg { max-width: none; position: static; margin: 0; transform: none; }
  @media (prefers-reduced-motion: no-preference) { .vn-zeile:hover .vn-pfeil svg, .vn-zeile:focus-within .vn-pfeil svg { transform: translateX(6px); } }
}
.loesung-merkmale { list-style: none; margin: 56px auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; }
.loesung-merkmale li { display: grid; justify-items: center; gap: 4px; padding: 0 8px; }
.loesung-merkmale svg { margin-bottom: 8px; }
.loesung-merkmale strong { color: #fff; font-size: .98rem; }
.loesung-merkmale span { color: #b9c7c8; font-size: .85rem; line-height: 1.4; }
@media (min-width: 900px) {
  .loesung-merkmale { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .loesung-merkmale li + li { border-left: 1px solid rgba(255,255,255,.14); }
}

/* Chatknopf mit Paulas Bild, grüner Punkt als Zeichen „antwortet sofort“ */
.chatknopf-bild { position: relative; display: block; width: 30px; height: 30px; margin: -.3rem 0 -.3rem -.55rem; flex: none; }
.chatknopf-bild img { display: block; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.85); }
.chatknopf-bild .chatknopf-punkt { position: absolute; right: -2px; bottom: -1px; width: 9px; height: 9px; border: 2px solid var(--petrol); box-shadow: none; }

/* Startseite: Film als eigener Abschnitt, mittig */
.film-abschnitt .film-gross .film { max-width: 1000px; margin: 0 auto; }
.film-abschnitt .film-kopf { text-align: center; margin-bottom: 22px; }
/* Motivbild als Auftakt des dunklen Lösungsabschnitts: unten weich in Petrol auslaufend */
.loesung-motiv { position: relative; margin: -8px auto 8px; max-width: 1040px; }
.loesung-motiv img { display: block; width: 100%; height: auto; border-radius: 18px 18px 0 0; -webkit-mask-image: linear-gradient(#000 45%, transparent 100%); mask-image: linear-gradient(#000 45%, transparent 100%); opacity: .92; }
.loesung-motiv figcaption { position: relative; margin-top: -84px; text-align: center; display: grid; gap: 4px; justify-items: center; padding: 0 16px; }
.loesung-motiv figcaption strong { color: #fff; font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.25; letter-spacing: -.015em; }
.loesung-motiv figcaption span { color: #c9d6d6; }
.loesung-motiv figcaption small { color: rgba(255,255,255,.5); font-size: .7rem; margin-top: 6px; }
.loesung-motiv + .loesung-kopf { margin-top: 72px; }
@media (max-width: 599px) { .loesung-motiv img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% center; } .loesung-motiv figcaption { margin-top: -56px; } .loesung-motiv + .loesung-kopf { margin-top: 48px; } }
@media (min-width: 900px) { .loesung { padding: 104px 0 !important; } }
/* Häkchen-Liste auf dunklem Grund */
.band .haken-liste li, .loesung .haken-liste li { color: var(--auf-dunkel); }
/* Druck: farbige Wortteile schwarz */
@media print { .hv, .hs, .hg, .hv-hell, .hs-hell { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; } }

/* Neue Beschäftigte: zwei Wege zum Fragebogen */
.wege { display: grid; gap: 20px; margin: 28px 0 8px; }
.weg { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: 26px 24px 18px; box-shadow: 0 2px 8px rgba(20,24,28,.05); }
.weg h3 { font-size: 1.3rem; margin-bottom: .8em; }
.weg-nr { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); margin: 0 0 .4rem; }
.weg .haken-liste { margin-bottom: 1rem; }
.wege-danach { margin: 48px 0 18px; font-size: 1.2rem; }
@media (min-width: 900px) { .wege { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ===== Akademie (21.11.2026): Klassen mit Präfix akad- ===== */
.akad-kopf { padding: 44px 0 52px; }
.akad-kopf-text { max-width: 820px; }
.akad-kopf .einleitung { margin-bottom: 1.4rem; }
.akad-pillen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.akad-pille { display: inline-block; padding: .55rem 1.15rem; border: 1.5px solid var(--petrol); border-radius: 999px; background: #fff; color: var(--petrol); font-weight: 700; text-decoration: none; line-height: 1.2; transition: background .15s, color .15s; }
.akad-pille:hover, .akad-pille:focus-visible { background: var(--petrol); color: #fff; }
.akad-abschnittskopf { max-width: 760px; margin-bottom: 28px; }
.akad-abschnittskopf .einleitung { margin: 0; }

/* Updates: Datum links, Titel fett mit einer Zeile Text, Pfeil rechts */
.akad-updates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.akad-update { border-bottom: 1px solid var(--linie); scroll-margin-top: calc(var(--kopfhoehe) + 56px); }
.akad-update:target { background: color-mix(in srgb, var(--petrol) 6%, #fff); }
.akad-zeile { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 8px; color: inherit; text-decoration: none; align-items: baseline; }
.akad-datum { grid-column: 1 / -1; font-variant-numeric: tabular-nums; font-size: .85rem; font-weight: 700; color: var(--petrol); }
.akad-update-text { display: grid; gap: 3px; }
.akad-update-text strong { color: var(--tinte); font-size: 1.05rem; line-height: 1.3; }
.akad-update-text span { color: var(--text-leise); line-height: 1.45; }
.akad-pfeil { color: var(--petrol); font-weight: 700; transition: transform .2s; }
.akad-zeile--link:hover { background: var(--flaeche); color: inherit; }
.akad-zeile--link:hover .akad-pfeil, .akad-zeile--link:focus-visible .akad-pfeil { transform: translateX(5px); }
.akad-zeile--link:hover strong { color: var(--petrol); }
.akad-mehr > summary { display: inline-block; margin-top: 18px; padding: .6rem 1.2rem; border: 1.5px solid var(--petrol); border-radius: 999px; font-weight: 700; color: var(--petrol); cursor: pointer; list-style: none; }
.akad-mehr > summary::-webkit-details-marker { display: none; }
.akad-mehr > summary:hover { background: var(--flaeche); }
.akad-mehr[open] > summary { margin-bottom: 18px; }
.akad-mehr[open] > summary .akad-mehr-zu, .akad-mehr:not([open]) > summary .akad-mehr-auf { display: none; }
@media (min-width: 760px) {
  .akad-zeile { grid-template-columns: 110px 1fr 24px; gap: 16px; }
  .akad-datum { grid-column: auto; padding-top: .2em; }
}

/* Lernvideos: Filterpillen, ein Raster */
.akad-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.akad-filter[hidden] { display: none; }
button.akad-pille { font: inherit; font-weight: 700; cursor: pointer; }
.akad-pille[aria-pressed="true"] { background: var(--petrol); color: #fff; }
.akad-filme { display: grid; gap: 26px 22px; grid-template-columns: 1fr; }
.akad-film { margin: 0; max-width: none; }
.akad-film[hidden] { display: none; }
.akad-film .film-rahmen { padding: 6px; }
.akad-film-unter { display: grid; gap: 3px; padding-top: 10px; }
.akad-film-etikett { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); }
.akad-film-unter strong { color: var(--tinte); line-height: 1.3; }
.akad-film-dauer { font-size: .88rem; color: var(--text-leise); font-variant-numeric: tabular-nums; }
.akad-film-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .92rem; margin-top: 2px; }
.akad-film-hinweis { margin-top: 28px; }
@media (min-width: 600px) { .akad-filme { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .akad-filme { grid-template-columns: repeat(3, 1fr); } }

/* Schulungen: drei Karten, zwei Merkmale, ein Knopf */
.akad-karten { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0 0 28px; }
.akad-karte { padding: 26px 24px; border-radius: 14px; }
.akad-karte h3 { font-size: 1.2rem; margin: .7rem 0 .5rem; }
.akad-karte p { color: var(--text-leise); margin: 0; }
.akad-etikett { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--petrol) 12%, #fff); color: var(--petrol); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.akad-merkmale { list-style: none; margin: 0 0 28px; padding: 18px 0 0; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; gap: 14px 36px; }
.akad-merkmale li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--tinte); }
.akad-merkmale svg { flex: none; fill: none; stroke: var(--petrol); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .akad-karten { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media print { .akad-pillen, .akad-mehr > summary { display: none; } }
.film-alle { text-align: center; margin: 0; }

/* Beispiel-Ablauf (Startseite): Schrittleiste, scroll-gesteuert ab 900 px */
.bsp-leiste { display: none; }
.bsp-liste { list-style: none; margin: 1.6rem 0 1.4rem; padding: 0; display: grid; gap: 14px; }
.bsp-karte { background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 20px 22px; transition: border-color .3s, box-shadow .3s; }
.bsp-zeile { display: block; font-size: .8rem; color: var(--text-leise); margin-bottom: .3rem; }
.bsp-karte h3 { color: var(--petrol); font-weight: 750; margin: 0 0 .4rem; }
.bsp-karte p { margin: 0; transition: opacity .3s; }
.bsp-link { margin: 0; }
@media (min-width: 900px) {
  .bsp-hoehe, .bsp-innen { text-align: center; }
  .bsp-liste { grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; margin-top: 0; }
  .bsp-leiste { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; margin: 2rem 0 1.4rem; justify-items: center; }
  .bsp-linie { position: absolute; top: 50%; left: 16.667%; right: 16.667%; height: 2px; margin-top: -1px; background: var(--linie); }
  .bsp-fuell { display: block; height: 100%; width: 100%; background: var(--petrol); transition: width .5s ease; }
  .bsp-kreis { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; line-height: 1; background: var(--petrol); color: #fff; border: 2px solid var(--petrol); transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
  .bsp-an .bsp-hoehe { height: 130vh; }
  .bsp-an .bsp-innen { position: sticky; top: calc(var(--kopfhoehe) + 24px); }
  .bsp-an[data-schritt="1"] .bsp-fuell { width: 0; }
  .bsp-an[data-schritt="2"] .bsp-fuell { width: 50%; }
  .bsp-an[data-schritt="1"] .bsp-kreis:nth-child(3), .bsp-an[data-schritt="1"] .bsp-kreis:nth-child(4), .bsp-an[data-schritt="2"] .bsp-kreis:nth-child(4) { background: #fff; color: var(--text-leise); border-color: var(--linie); }
  .bsp-an[data-schritt="1"] .bsp-kreis:nth-child(2), .bsp-an[data-schritt="2"] .bsp-kreis:nth-child(3), .bsp-an[data-schritt="3"] .bsp-kreis:nth-child(4) { box-shadow: 0 0 0 6px rgba(0,83,86,.12); }
  .bsp-an[data-schritt="1"] .bsp-karte:nth-child(1), .bsp-an[data-schritt="2"] .bsp-karte:nth-child(2), .bsp-an[data-schritt="3"] .bsp-karte:nth-child(3) { box-shadow: 0 0 0 1.5px var(--petrol); }
  .bsp-an[data-schritt="1"] .bsp-karte:nth-child(n+2) p, .bsp-an[data-schritt="2"] .bsp-karte:nth-child(3) p { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) { .bsp-fuell, .bsp-kreis, .bsp-karte, .bsp-karte p { transition: none; } }

/* Mega-Menü: Kanzleiportal 2/3, Kanzlei-KI 1/3; „Wie beide zusammenarbeiten“ als Trenner; Feuerpfeil-Band leiser (21.11.2026) */
.hauptmenue .mega-fuss { display: flex; align-items: center; gap: 14px; margin: 12px 4px 0; }
.hauptmenue .mega-fuss::before, .hauptmenue .mega-fuss::after { content: ""; flex: 1; height: 1px; background: var(--linie); }
.hauptmenue .mega-fuss a { padding: .3rem .2rem; font-size: .92rem; font-weight: 700; color: var(--petrol); text-decoration: none; white-space: nowrap; }
.hauptmenue .mega-fuss a:hover { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.hauptmenue .mega-band { margin-top: 6px; border-top: 0; padding-top: 6px; }
.hauptmenue .mega-band-ueber { color: var(--petrol-hell); }
.hauptmenue .mega-band-titel { font-weight: 600; color: var(--text-leise); }
.hauptmenue .mega-band li a { color: var(--text-leise); font-weight: 400; }
.hauptmenue .mega-band li a:hover { color: var(--petrol); }
.hauptmenue .mega-band-alle a { font-weight: 600; color: var(--petrol); }
@media (min-width: 900px) {
  .hauptmenue .mega-karten { grid-template-columns: 2fr 1fr; }
  .hauptmenue .mega-hell .mega-name { font-size: 1.45rem; }
  .hauptmenue .mega-hell .mega-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
}
/* Beispiel-Ablauf: aktiver Schritt in Brombeer, damit der Wechsel beim Scrollen sichtbar ist (21.11.2026) */
@media (min-width: 900px) {
  .bsp-an[data-schritt="1"] .bsp-kreis:nth-child(2), .bsp-an[data-schritt="2"] .bsp-kreis:nth-child(3), .bsp-an[data-schritt="3"] .bsp-kreis:nth-child(4) { background: var(--signal); border-color: var(--signal); color: #fff; box-shadow: 0 0 0 6px rgba(139, 34, 90, .14); }
}

/* Über Feuerpfeil: gestapeltes Feuerpfeil-Logo rechts im Seitenkopf, dunkelgrau (21.11.2026) */
.fp-kopf { display: grid; gap: 28px; }
.fp-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; justify-self: start; color: #2b2f33; text-decoration: none; }
.fp-logo:hover { color: #14171a; }
.fp-logo-svg { width: 170px; height: auto; display: block; }
.fp-logo-zeile { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #5d6468; white-space: nowrap; }
@media (min-width: 900px) {
  .fp-kopf { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 48px; }
  .fp-logo { justify-self: center; }
  .fp-logo-svg { width: 240px; }
  .fp-logo-zeile { font-size: .8rem; }
}
@media print { .fp-logo { color: #000; } }

/* Hauptknöpfe mit Verlauf Petrol → Brombeer wie in den Überschriften (21.11.2026) */
.knopf-haupt { background: linear-gradient(90deg, #005356, #8b225a); border-color: transparent; transition: filter .15s ease-out, box-shadow .15s ease-out; }
.knopf-haupt:hover { background: linear-gradient(90deg, #005356, #8b225a); filter: brightness(.88); color: #fff; }
.band .knopf-haupt, .fuss .knopf-haupt { background: linear-gradient(90deg, #2f8f8a, #b0306f); }
.band .knopf-haupt:hover, .fuss .knopf-haupt:hover { background: linear-gradient(90deg, #2f8f8a, #b0306f); filter: brightness(.9); }
@media print { .knopf-haupt { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; filter: none !important; } }

/* Knopfverlauf ohne dunkle Kante: Verlauf auch unter dem transparenten Rand (21.11.2026) */
.knopf-haupt { background-origin: border-box; }
/* Logo im Kopf: Feder und „feuerpfeil.“ im Verlauf Petrol → Brombeer (21.11.2026) */
.signet-verlauf { display: none; }
.kopf .logo .signet { display: none; }
.kopf .logo .signet-verlauf { display: block; flex: none; height: 1.29em; aspect-ratio: 27.456 / 29.104; background: linear-gradient(45deg, #005356 10%, #8b225a 90%); -webkit-mask: url("../img/feder-maske.svg") center / contain no-repeat; mask: url("../img/feder-maske.svg") center / contain no-repeat; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .kopf .wm-drei b { background: linear-gradient(90deg, #005356, #8b225a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
/* Logoverlauf gewichtet: Feder überwiegend Brombeer, kurzer Übergang; „feuerpfeil.“ Feuer in Brombeer, Pfeil in Petrol, Übergang bei „pf“ (21.11.2026) */
.kopf .logo .signet-verlauf { background: linear-gradient(45deg, #005356 0%, #005356 8%, #8b225a 78%, #8b225a 100%); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .kopf .wm-drei b { background: linear-gradient(90deg, #8b225a 0%, #8b225a 18%, #005356 82%, #005356 100%); -webkit-background-clip: text; background-clip: text; }
}
/* Logo im Kopf wieder einfarbig (Alex, 21.11.2026): Feder und „feuerpfeil.“ in dunklem Brombeer */
:root { --logo-brombeer: #7a1e50; }
.kopf .logo .signet-verlauf { background: var(--logo-brombeer); }
.kopf .wm-drei b { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: var(--logo-brombeer); color: var(--logo-brombeer); }
/* Dreiklang optisch bündig unter „kanzlei“ (Vorbreite des k ausgleichen) */
.wm-drei { padding-left: .1em; }
/* Kopfknopf ruhig (weiß mit Petrol-Rand), solange der Hauptknopf im Seitenkopf zu sehen ist */
.kopf-knopf-ruhig .hauptmenue .menue-knopf .knopf-haupt { background: #fff; color: var(--petrol); border-color: var(--petrol); filter: none; }
.kopf-knopf-ruhig .hauptmenue .menue-knopf .knopf-haupt:hover { background: var(--petrol-zart); color: var(--petrol); }
.hauptmenue .menue-knopf .knopf-haupt { transition: background-color .25s ease-out, color .25s ease-out, border-color .25s ease-out, filter .15s ease-out; }
/* Lesefortschritt oben */
.lesefortschritt { position: fixed; top: 0; left: 0; z-index: 60; width: 0; height: 3px; background: linear-gradient(90deg, #005356, #8b225a) 0 0 / 100vw 100% no-repeat; pointer-events: none; }
@media print { .lesefortschritt { display: none; } }
/* Konturknöpfe feiner (1,5 px statt 2 px), passend zu den dünnen Kastenlinien (21.11.2026) */
.knopf { border-width: 1.5px; }
/* Beispiel-Ablauf: weniger Leerlauf nach Schritt 3, nächster Abschnitt kommt früher */
@media (min-width: 900px) { .bsp.bsp-an { padding-bottom: 24px; } }
/* Zwei Produkte: Einrichtungshinweis als Fußzeile im dunklen Kanzlei-KI-Kasten */
.produkt-notiz { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; line-height: 1.45; color: #b9c7c8; }

/* ===== Typografie Switzer (21.11.2026) =====
   Leichter und größer gesetzt, Wirkung über Größe und Weißraum. Überschriften und Kennzahlen in Switzer,
   Fließtext, Menü, Knöpfe und Etiketten in Inter. Druck bleibt unverändert. */
h1 { font-weight: 500; letter-spacing: -.012em; }
h2 { font-weight: 400; letter-spacing: 0; line-height: 1.15; }
h3 { font-weight: 500; letter-spacing: 0; }
summary, .faq summary, .genauer summary { font-family: var(--schrift-titel); font-weight: 500; }
.akad-mehr > summary { font-family: var(--schrift); font-weight: 600; }
.produkt h3, .bsp-karte h3, .vn-kopf h3 { font-weight: 500; }
.alltag-inhalt strong, .orbit-kern strong { font-family: var(--schrift-titel); font-weight: 500; }
/* Überzeile in der H1 bleibt Inter, klein, Versalien, gesperrt */
h1 .ueberzeile { font-family: var(--schrift); font-weight: 600; letter-spacing: .12em; }
.ueberzeile, .mega-ueber, .hauptmenue .mega-ueber, .alltag-etikett, .weg-nr, .hm-gruppe, .akad-film-etikett, .akad-etikett,
.vn-etikett, .vn-marke, .vn-koepfe, .kachel-thema, .eingang-kopf, .sprung-titel, .mega-band-ueber, .hauptmenue .mega-band-ueber { font-weight: 600; }
/* Kennzahlen */
.zahlenleiste strong, .produkt-zahl, .zahl-gross, .ki-preis-haupt .zahl-gross, .ki-zusatz-preis .zahl-gross, .eckdaten-zahl,
.alltag-zaehler, .zeitleiste-jahr, .fortschritt-text { font-family: var(--schrift-titel); font-weight: 400; }
.fortschritt-text { font-variant-numeric: tabular-nums; }
/* Menü */
.hauptmenue a { font-weight: 500; }
.hauptmenue .mega-karte a { font-weight: 500; }
.hauptmenue .mega-name { font-family: var(--schrift-titel); font-weight: 500; }
.hauptmenue .mega-karte a.mega-mehr, .hauptmenue .mega-fuss a, .hauptmenue .mega-band-alle a { font-weight: 600; }
.hauptmenue .mega-band-titel { font-weight: 500; }
.hm-zeile { font-family: var(--schrift-titel); font-weight: 500; }
.hm-klein .hm-zeile { font-family: var(--schrift); font-weight: 500; }
.hm-unter a, .hm-unter a[aria-current="page"], .hm-unter .hm-alle a, .hm-fuss-zeile a { font-weight: 500; }
/* Knöpfe, Hervorhebungen, Links */
.akad-pille, button.akad-pille, .chatknopf, .bilddialog-zu { font-weight: 600; }
.knopf { font-weight: 500; }
strong, b { font-weight: 600; }
.textlink, .held-links, .film-link, .zurueck-hinweis, .chathinweis-knoepfe .textlink { font-weight: 500; }
.zitat p, .werbebanner-text { font-weight: 500; }
.ki-modell, .liste li::marker, .fakten ul, .rechner output, .pe-text strong { font-weight: 600; }

/* Akzente (21.11.2026): Leitsätze großer Abschnitte wieder kräftig, Bildzeile leicht – Kontrast statt Einheitsgewicht */
.loesung h2, #produkte h2 { font-family: var(--schrift-titel); font-weight: 650; letter-spacing: 0; }
.loesung-motiv figcaption strong { font-family: var(--schrift-titel); font-weight: 400; letter-spacing: 0; }
/* Leitsatz Sicherheit auf dunklem Grund kräftig; kein reines Rosa mehr, sondern Verlauf wie „eigenen Bereich“ */
.band-kacheln h2 { font-family: var(--schrift-titel); font-weight: 650; letter-spacing: 0; }
.hs-hell { color: #7fd0d2; background: linear-gradient(90deg, #7fd0d2, #f2a7c9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Laufweite wie elevenlabs.io: Überschriften und Kennzahlen fast neutral, nicht eng (21.11.2026) */
.held h1, .seitenkopf h1 { letter-spacing: -.012em; }
.zahlenleiste strong, .produkt-zahl, .zahl-gross, .eckdaten-zahl, .alltag-zaehler { letter-spacing: 0; }

/* ===== Bausteine (21.11.2026), Vorbild elevenlabs.io: Hinweisleiste, zweispaltige Abschnittsköpfe, Kacheln ohne Rahmen ===== */
/* Hinweisleiste über dem Kopf: scrollt mit weg, der Kopf bleibt sticky */
.hinweisleiste { position: relative; display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 44px; background: #eef5f5; color: var(--tinte); font-size: .85rem; line-height: 1.3; }
.hinweisleiste[hidden] { display: none; }
.hinweisleiste p { margin: 0; text-align: center; }
.hinweisleiste a { color: inherit; font-weight: 400; text-decoration: none; }
.hinweisleiste a:hover { color: var(--petrol-dunkel); text-decoration: underline; text-underline-offset: .18em; }
.hinweisleiste-neu { font-weight: 500; color: var(--petrol); }
.hinweisleiste-zu { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-leise); font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.hinweisleiste-zu:hover { background: rgba(0, 83, 86, .09); color: var(--tinte); }
html:not(.js) .hinweisleiste-zu { display: none; }
@media print { .hinweisleiste { display: none; } }

/* Abschnittskopf zweispaltig (ab 1000 px): links Überzeile + H2, rechts die Einleitung, oben bündig an der H2. Darunter untereinander. */
.kopf-zwei { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "u" "h" "t"; margin-bottom: 8px; }
.kopf-zwei > .ueberzeile { grid-area: u; }
.kopf-zwei > h2 { grid-area: h; margin: 0 0 .55em; }
.kopf-zwei > p:not(.ueberzeile) { grid-area: t; max-width: none; margin: 0 0 1em; font-size: 1.1rem; line-height: 1.55; color: var(--text-leise); }
.kopf-zwei > p.einleitung { font-size: 1.1rem; }
@media (min-width: 1000px) {
  .kopf-zwei { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); grid-template-areas: "u ." "h t"; column-gap: 72px; align-items: start; margin-bottom: 16px; }
  .kopf-zwei > h2 { margin-bottom: 0; }
  .kopf-zwei > p:not(.ueberzeile), .kopf-zwei > p.einleitung { margin: .45rem 0 0; max-width: 34em; }
}
.kopf-zwei.akad-abschnittskopf { max-width: none; margin-bottom: 28px; }

/* Kacheln ohne Rahmen auf hellem Grund: hellgraue Fläche, Radius 16 px, kein Rand, kein Schatten. Dunkle Karten bleiben. */
/* Flächenwechsel bleibt: graue Abschnitte behalten ihre Fläche, Kacheln darauf werden weiß */
.kachel, .drei li, .person, .bsp-karte, .ki-preis-haupt, .ki-preis-einrichtung, .akad-karte, .kachel-link, .produkt-hell, .genauer, .genauer[open] {
  background: #f3f3f2; border: 0; border-radius: 16px; box-shadow: none;
}
.kachel-link, .person, .bsp-karte { transition: background-color .2s ease-out, box-shadow .3s; }
.kachel-link::before { display: none; }
.kachel-link:hover, .kachel-link:focus-visible { background: #ecece9; box-shadow: none; transform: none; }
.produkt-hell { border: 0; }
.akad-film { background: #f3f3f2; border-radius: 16px; padding: 8px 8px 14px; transition: background-color .2s ease-out; }
.akad-film:hover { background: #ecece9; }
.akad-film .buehne-rahmen { background: none; border: 0; box-shadow: none; padding: 0; }
.akad-film .film-video { border: 0; border-radius: 10px; }
.akad-film-unter { padding: 12px 8px 0; }
.abschnitt-flaeche :is(.kachel, .drei li, .person, .bsp-karte, .ki-preis-haupt, .ki-preis-einrichtung, .akad-karte, .kachel-link, .produkt-hell, .genauer, .akad-film) { background: #fff; }
.abschnitt-flaeche .kachel-link:hover, .abschnitt-flaeche .akad-film:hover { background: #fbfbfa; }
/* Hinweisleiste am Handy einzeilig */
@media (max-width: 599px) { .hinweisleiste { font-size: .78rem; padding: 6px 38px; } .hinweisleiste p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } }

/* Login-Pille im Kopf (21.11.2026): ruhig, dünner Rand, kleiner als der Testknopf */
.knopf-login { display: inline-flex; align-items: center; gap: .4em; font: inherit; font-size: .88rem; font-weight: 500; line-height: 1.2; color: var(--text-leise); border: 1px solid var(--linie); border-radius: 999px; padding: .4rem .85rem; text-decoration: none; background: transparent; transition: color .2s ease-out, border-color .2s ease-out; }
.knopf-login .login-symbol { flex: none; }
.hauptmenue a.knopf-login, .hauptmenue .menue-anmelden a.knopf-login { font-weight: 500; font-size: .88rem; padding: .4rem .85rem; color: var(--text-leise); }
.hauptmenue a.knopf-login:hover, .hauptmenue a.knopf-login[aria-current="page"], .knopf-login:hover { color: var(--petrol); border-color: var(--petrol); }
@media (max-width: 899px) { .hm-anmelden a.knopf-login { min-height: 40px; padding: .35rem .95rem; font-size: .95rem; } }
/* Seite /login: Hilfebereich */
.login-hilfe { display: grid; gap: 16px; margin: 1.2rem 0 1.4rem; }
.login-hilfe .kachel { background: #f3f3f2; border: 0; border-radius: 16px; box-shadow: none; padding: 24px; }
.login-hilfe .kachel p:last-child { margin: auto 0 0; padding-top: 1rem; }
@media (min-width: 800px) { .login-hilfe { grid-template-columns: 1fr 1fr; } }
@media (max-width: 389px) { .kopf .logo { font-size: 1.2rem; } }
@media (max-width: 359px) { .kopf .logo { font-size: 1.05rem; } }

/* Akademie-Klappe im Hauptmenü (22.11.2026): Unterpunkte als Anker auf der Akademie-Seite; JS wie beim Mega-Menü (.hat-unter) */
@media (min-width: 900px) {
  .hat-unter.hat-klein { position: relative; }
  .hauptmenue .klappe { position: absolute; top: 100%; left: 50%; z-index: 3; width: 300px; margin-top: 8px; padding: 8px; background: #fff; border: 1px solid var(--linie); border-radius: 14px; box-shadow: 0 24px 60px rgba(20, 24, 28, .18), 0 4px 12px rgba(20, 24, 28, .08); visibility: hidden; opacity: 0; transform: translate(-50%, -6px); pointer-events: none; transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s linear .22s; }
  .hauptmenue .klappe::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
  .hat-unter:not(.zu):hover .klappe, .hat-unter:not(.zu):focus-within .klappe, .hat-unter.offen .klappe { visibility: visible; opacity: 1; transform: translate(-50%, 0); pointer-events: auto; transition: opacity .18s ease-out, transform .18s ease-out; }
  .hauptmenue .klappe ul a { padding: .6rem .75rem; border-radius: 10px; }
  .hauptmenue .klappe ul a:hover, .hauptmenue .klappe ul a:focus-visible { background: var(--flaeche); }
  .hauptmenue .klappe ul strong { display: block; font-size: .95rem; font-weight: 600; color: var(--tinte); }
  .hauptmenue .klappe ul a:hover strong { color: var(--signal); }
  .hauptmenue .klappe ul span { display: block; margin-top: 2px; font-size: .85rem; font-weight: 400; line-height: 1.35; color: var(--text-leise); }
  .hauptmenue .klappe .klappe-alle { margin: 4px 0 0; padding: .6rem .75rem .4rem; border-top: 1px solid var(--linie); font-size: .9rem; font-weight: 700; color: var(--signal); }
}
.hauptmenue .unter-knopf[aria-current="true"] { color: var(--signal); }
