/* SCHOENFINANZ – Designsystem
   Ruhig und reduziert: weiße und hellgraue Flächen, Überschriften in Playfair Display,
   Themenbilder als getönter Hintergrund. Blau und Gelb stammen direkt aus dem Logo. Alle Schriften liegen lokal. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  --blue: #013F85;
  --blue-dark: #011B6A;
  --blue-mid: #0B5BC4;
  --yellow: #FCBE02;
  --yellow-light: #FFD44A;
  --yellow-ink: #7A5A00;
  --gold-deep: #B08500;   /* Ziffern und Plus-Zeichen auf hellem Grund */
  --ink: #1D1D1F;
  --text: #333338;
  --muted: #68686D;
  --line: #E0E0E5;
  --line-strong: #C7C7CC;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F7;
  --bg-tint: #EAF1FB;
  --cream: #FFF7DC;       /* warme Hinweisfläche (Neu, Achtung) */
  --night: #071433;
  --ok: #17794A;
  --err: #B42318;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --display-weight: 600;
  --display-track: -.012em;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-sm: 12px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 22px 48px -22px rgba(0, 0, 0, .22);
  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 64px;
  /* Bewegung: kräftige Kurven statt der schwachen Browser-Standards */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss03"; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-mid); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; }
h3 { font-size: 1.4rem; line-height: 1.25; letter-spacing: -.005em; hyphens: auto; overflow-wrap: break-word; }
h4 { font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow-light); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(800px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
.skip, .skip:hover { color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typografie-Bausteine ---------- */
.eyebrow { font-weight: 600; font-size: 1.02rem; letter-spacing: -.005em; color: var(--blue); margin: 0 0 12px; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); line-height: 1.45; letter-spacing: -.012em; color: var(--muted); margin-top: 18px; }
.fineprint { font-size: .86rem; color: var(--muted); margin-top: 24px; }
.accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform 160ms var(--ease-out); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .btn:hover .icon:last-child { transform: translateX(3px); } }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-mid); color: #fff; }
.btn-gold { background: var(--yellow); color: var(--blue-dark); font-weight: 600; }
.btn-gold:hover { background: var(--yellow-light); color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-light:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: .88rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.arrow-link, .btn-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; text-decoration: none; color: var(--blue); }
.arrow-link .icon, .btn-link .icon { width: 1em; height: 1em; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { a.arrow-link:hover .icon, a:hover > .arrow-link .icon, .btn-link:hover .icon { transform: translateX(4px); } }
.arrow-link:hover, .btn-link:hover { text-decoration: underline; }

/* ---------- Aktionsleiste & Kopfzeile ---------- */
.announce { background: var(--bg-soft); color: var(--ink); font-size: .88rem; }
.announce p { margin: 0; padding: 11px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; text-align: center; }
.announce p > .icon { color: var(--blue); }
.announce a { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.announce a:hover { text-decoration: underline; }
.announce a .icon { width: 1em; height: 1em; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-stuck, .site-header.is-open { border-bottom-color: var(--line); }
.site-header.is-open { background: #fff; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; text-decoration: none; flex: none; }
.logo img { height: 42px; width: auto; }
.wordmark { display: inline-flex; font-weight: 800; font-size: 1.1rem; line-height: 1; border: 2px solid var(--blue); }
.wm-a { background: var(--blue); color: var(--yellow); padding: 8px 5px 8px 9px; }
.wm-b { background: #fff; color: var(--blue); padding: 8px 9px 8px 5px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border: 0; background: none; border-radius: 999px; font-family: var(--sans); font-weight: 400; font-size: .88rem; letter-spacing: -.005em; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; opacity: .86; transition: opacity .2s, background .2s; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { opacity: 1; color: var(--ink); background: var(--bg-soft); }
.nav-link .icon { width: .95em; height: .95em; transition: transform .2s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: .88rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--blue); width: 1.1em; height: 1.1em; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .28); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-block: 36px 44px; }
.mega-head { display: block; text-decoration: none; color: var(--ink); margin-bottom: 14px; }
.mega-head .icon { display: none; }
.mega-head strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.mega-head small { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.mega-col li a { display: block; padding: 6px 0; font-size: .92rem; color: var(--text); text-decoration: none; }
.mega-col li a:hover, .mega-head:hover strong { color: var(--blue); }

.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding-block: 8px 28px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary small { font-family: var(--sans); font-weight: 400; font-size: .82rem; letter-spacing: 0; color: var(--muted); }
.mobile-nav summary .icon { margin-left: auto; align-self: center; transition: transform .2s; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav details ul { padding-bottom: 14px; }
.mobile-nav details li a, .mobile-links a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; }
.mobile-links { padding-block: 10px 18px; }
.mobile-links a { font-weight: 600; color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- Getönter Bildhintergrund ----------
   Das Foto liegt hinter dem Text, darüber eine blaue Tönung aus dem Logo-Blau.
   Fehlt das Foto, bleibt nur die Tönung – die Seite funktioniert trotzdem. */
.has-bg { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(1000px 520px at 88% 8%, #0B4FA8 0%, rgba(11, 79, 168, 0) 68%), linear-gradient(135deg, var(--night) 0%, var(--blue-dark) 100%); }
.has-bg > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.has-bg.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 20, 78, .93) 0%, rgba(1, 34, 96, .82) 42%, rgba(1, 63, 133, .5) 100%); }
.has-bg h1, .has-bg h2, .has-bg h3 { color: #fff; }
.has-bg .eyebrow, .has-bg .accent { color: var(--yellow); }
.has-bg .lead { color: rgba(255, 255, 255, .88); }
.has-bg .btn-link { color: #fff; }
.has-bg .trust, .has-bg .hero-facts { color: rgba(255, 255, 255, .78); }
.has-bg .trust .icon { color: var(--yellow); }
.has-bg .crumbs, .has-bg .crumbs a { color: rgba(255, 255, 255, .72); }
.has-bg .crumbs a:hover { color: #fff; }
.has-bg .crumbs li + li::before { color: rgba(255, 255, 255, .4); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero h1 span { display: block; }
.hero .lead { max-width: 34em; margin-top: 22px; }
.hero .btn-row { margin-top: 32px; }
.hero-facts { font-size: .9rem; margin-top: 26px; }

.quick { background: #fff; color: var(--ink); border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); padding: 12px; }
.quick-title { font-weight: 600; font-size: .92rem; color: var(--muted); padding: 16px 18px 8px; margin: 0; }
.quick a { position: relative; display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background-color .2s ease, transform 160ms var(--ease-out); }
.quick a:active { transform: scale(.98); }
.quick a + a::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: var(--line); }
.quick a:hover { background: var(--bg-soft); }
.quick a:hover::before, .quick a:hover + a::before { opacity: 0; }
.quick-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.quick-ico .icon { width: 23px; height: 23px; }
.quick a.is-hot .quick-ico { background: var(--yellow); color: var(--blue-dark); }
.quick strong { display: block; font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.quick small { display: block; font-size: .87rem; color: var(--muted); line-height: 1.4; }
.quick a > .icon { margin-left: auto; color: var(--line-strong); transition: transform .2s var(--ease-out), color .2s ease; }
.quick a:hover > .icon { color: var(--blue); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .quick a:hover > .icon { transform: translateX(3px); } }

/* Porträt oder beschrifteter Bildplatz */
.photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.slot { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; color: var(--muted); background: radial-gradient(120% 90% at 85% 0%, #DDE9FA 0%, rgba(221, 233, 250, 0) 60%), radial-gradient(90% 80% at 0% 100%, #FFF3CC 0%, rgba(255, 243, 204, 0) 62%), #fff; }
.slot .icon { width: 34px; height: 34px; color: var(--blue); opacity: .7; margin-bottom: 6px; }
.slot strong { font-weight: 600; color: var(--ink); font-size: 1rem; }
.slot span { font-size: .9rem; max-width: 30em; line-height: 1.45; }

/* Unterseiten-Hero */
.page-hero { padding-block: clamp(36px, 6vw, 88px) clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 17em; }
.page-hero .lead { max-width: 38em; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero.has-bg { padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--line-strong); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; font-size: .92rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--blue); }

/* ---------- Raster & Kacheln ---------- */
.grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.is-top { align-items: start; }
.split.is-photo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

.card { background: var(--bg-soft); border-radius: var(--radius); padding: clamp(24px, 2.8vw, 34px); }
.section-soft .card, .section-soft .strip { background: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; hyphens: auto; }
.card-link { display: block; text-decoration: none; color: inherit; transition: transform 200ms var(--ease-out), background-color .2s ease; }
.card-link:hover { color: inherit; }
.card-link:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .card-link:hover { transform: translateY(-3px); } .card-link:hover:active { transform: translateY(-3px) scale(.99); } }
.card-ico { flex: none; display: block; color: var(--blue); margin-bottom: 18px; }
.card-ico .icon { width: 32px; height: 32px; stroke-width: 1.5; }
.tag { display: inline-block; font-weight: 600; font-size: .78rem; color: var(--blue); background: var(--bg-tint); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.section-soft .tag { background: var(--bg-tint); }
.tag-gold { background: #FFF3CC; color: var(--yellow-ink); }

.service { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-media { display: flex; align-items: flex-end; gap: 14px; min-height: 168px; padding: 22px clamp(22px, 2.8vw, 34px); text-decoration: none; }
.service-media.has-bg::before, .service-media.has-photo::before { background: linear-gradient(180deg, rgba(1, 34, 96, .35) 0%, rgba(1, 20, 78, .88) 100%); }
.service-media .icon { width: 30px; height: 30px; color: var(--yellow); stroke-width: 1.5; margin-bottom: 4px; }
.service-media h3 { margin: 0; font-size: 1.7rem; }
.service-media small { display: block; color: rgba(255, 255, 255, .82); font-size: .9rem; }
.service-media:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 8px clamp(22px, 2.8vw, 34px) clamp(22px, 2.8vw, 30px); }
.service ul { margin-bottom: 22px; columns: 2; column-gap: 32px; }
.service li { break-inside: avoid; }
.service li a { hyphens: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .97rem; }
.service li a .icon { width: .95em; height: .95em; color: var(--line-strong); transition: transform .2s var(--ease-out), color .2s ease; }
.service li a:hover { color: var(--blue); }
.service li a:hover .icon { color: var(--blue); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .service li a:hover .icon { transform: translateX(3px); } }
.service .arrow-link { margin-top: auto; }

/* Aktionskachel – hell, damit sie unter dem getönten Hero nicht erdrückt */
.band { position: relative; isolation: isolate; overflow: hidden; color: rgba(255, 255, 255, .86); border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 64px); background: radial-gradient(900px 480px at 92% 0%, #0B4FA8 0%, rgba(11, 79, 168, 0) 70%), linear-gradient(135deg, var(--night) 0%, var(--blue-dark) 100%); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.band > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 20, 78, .95) 0%, rgba(1, 34, 96, .86) 55%, rgba(1, 63, 133, .62) 100%); }
.band h2, .band h3 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .86); }
.band .btn-row { margin-top: 28px; }
.band .btn-primary { background: var(--yellow); color: var(--blue-dark); font-weight: 600; }
.band .btn-primary:hover { background: var(--yellow-light); color: var(--blue-dark); }
.band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.band .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.band a:focus-visible { outline-color: var(--yellow); }
.band-list { display: grid; border-top: 1px solid rgba(255, 255, 255, .18); }
.band-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: .97rem; }
.band-list .icon { color: var(--yellow); margin-top: 3px; }
.band-list strong { display: block; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.band-list span { color: rgba(255, 255, 255, .72); font-size: .9rem; }

.strip { margin-top: clamp(14px, 1.8vw, 22px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: var(--bg-soft); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.strip-text { display: flex; gap: 18px; align-items: flex-start; max-width: 46em; }
.strip-text .card-ico { margin: 2px 0 0; }
.strip h3 { margin-bottom: 4px; }
.strip p { color: var(--muted); font-size: .98rem; margin: 0; }
.strip-new, .section-soft .strip-new { background: var(--cream); }
.strip-new .card-ico { color: var(--yellow-ink); }
.strip-new p { color: #5C4A12; }
.strip-new .btn-ghost { color: var(--blue-dark); border-color: var(--blue-dark); }
.strip-new .btn-ghost:hover { background: var(--blue-dark); color: #fff; }
.strip-quiet { background: #fff; border: 1px solid var(--line); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line-strong); }
.stat { padding: 0 clamp(16px, 2.4vw, 32px); }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line-strong); }
.stat strong { display: block; font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -.03em; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; color: var(--blue); margin-bottom: 10px; font-variant-numeric: lining-nums; }
.stat strong .plus { display: inline; font-size: inherit; line-height: inherit; color: var(--gold-deep); margin-left: .04em; }
.stat span { font-size: .93rem; color: var(--muted); line-height: 1.4; display: block; }

/* Schritte */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.steps li { counter-increment: step; padding-top: 26px; border-top: 2px solid var(--blue); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(3.2rem, 4.8vw, 4.4rem); line-height: 1; letter-spacing: -.03em; color: var(--gold-deep); margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .97rem; }

.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--blue); margin-top: 3px; flex: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .icon { color: var(--muted); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-body { padding: 0 44px 26px 0; color: var(--muted); }

/* Kontakt */
.contact-list { display: grid; gap: 24px; margin-top: 36px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .card-ico { margin: 2px 0 0; }
.contact-list .card-ico .icon { width: 26px; height: 26px; }
.contact-list small { display: block; font-size: .84rem; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list p { color: var(--ink); font-weight: 600; letter-spacing: -.01em; text-decoration: none; margin: 0; }
.contact-list a:hover { color: var(--blue); }
.contact-list .arrow-link { font-weight: 500; font-size: .95rem; color: var(--blue); }
.panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 3.4vw, 44px); }

/* ---------- Formulare ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 16px; }
.field { grid-column: span 6; min-width: 0; margin: 0; padding: 0; border: 0; }
.w-half { grid-column: span 3; }
.w-third { grid-column: span 2; }
.w-twothirds { grid-column: span 4; }
.field label, .field legend { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; padding: 0; }
.req { color: var(--err); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 15px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .9; }
.field input, .field textarea { caret-color: var(--blue); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E8E93; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 4px rgba(11, 91, 196, .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.hint, .counter { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.counter { text-align: right; }
.error { font-size: .86rem; color: var(--err); font-weight: 500; margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 17px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 400; font-size: .95rem; color: var(--text); background: #fff; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform 120ms var(--ease-out); }
.chip:active span { transform: scale(.97); }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .95rem !important; color: var(--text) !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.drop { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 156px; padding: 20px 14px; border: 1.5px dashed var(--line-strong); border-radius: 20px; background: var(--bg-soft); cursor: pointer; transition: border-color .15s, background .15s; margin: 0 !important; }
.drop:hover, .drop.is-over { border-color: var(--blue); background: var(--bg-tint); }
.drop .icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 6px; }
.drop strong { font-weight: 600; font-size: 1rem; color: var(--ink); }
.drop-hint, .drop-file { font-weight: 400; font-size: .85rem; color: var(--muted); word-break: break-word; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop.has-file { border-style: solid; border-color: var(--ok); background: #F0FAF4; }
.drop.has-file .icon { color: var(--ok); }
.drop.has-file .drop-file { color: var(--ink); font-weight: 600; }
.drop-remove { display: block; margin: 8px auto 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.group + .group, .group + details.group, details.group + .group { margin-top: 34px; }
.group-title { font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; color: var(--ink); padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
details.more { margin-top: 14px; border: 1.5px dashed var(--line-strong); border-radius: 16px; }
details.more summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 500; font-size: .95rem; color: var(--blue); cursor: pointer; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] { border-style: solid; }
details.more[open] summary .icon { transform: rotate(45deg); }
details.more .fields { padding: 4px 18px 20px; }
.step-title { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; outline: none; }
.step-intro { color: var(--muted); margin-bottom: 28px; }
.step-outro { font-size: .9rem; color: var(--muted); margin-top: 22px; }
.stepper { margin-bottom: 8px; }
.stepper ol { display: flex; justify-content: space-between; gap: 6px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; text-align: center; font-size: .8rem; font-weight: 500; color: var(--muted); }
.dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); font-size: .88rem; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
.stepper li.is-done .dot { background: var(--bg-tint); color: var(--blue); }
.stepper li.is-current .dot { background: var(--blue); color: #fff; }
.stepper li.is-current { color: var(--ink); }
.progress { height: 3px; background: var(--line); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--blue); border-radius: 3px; transform: scaleX(0); transform-origin: left center; transition: transform 300ms var(--ease-out); }
.step-count { font-weight: 500; font-size: .88rem; color: var(--muted); margin: 24px 0 6px; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; }
.form-actions .btn-primary { margin-left: auto; }
.form-required { font-size: .84rem; color: var(--muted); margin-top: 16px; }
.form-status { background: #FEF3F2; border: 1px solid #FDA29B; color: var(--err); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; font-size: .95rem; margin: 22px 0 0; }
.form-success { text-align: center; padding: clamp(20px, 4vw, 48px) 0; outline: none; }
.form-success > .icon { width: 60px; height: 60px; color: var(--ok); margin: 0 auto 20px; stroke-width: 1.4; }
.form-success h3, .form-success h1 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 34em; margin-inline: auto; }
.form-success .ref { font-weight: 600; color: var(--ink); background: var(--bg-soft); border-radius: 999px; display: inline-block; padding: 8px 18px; margin: 8px 0 22px; }
.form-success .btn { margin-top: 12px; }
.preview-note { background: #FFF8DC; color: #5C4400; border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; margin-bottom: 18px; }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.after-grid { margin-top: clamp(28px, 3.4vw, 44px); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--bg-soft); color: var(--muted); font-size: .82rem; line-height: 1.55; padding-top: clamp(40px, 6vw, 72px); }
.site-footer a { color: #424245; text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); padding-bottom: 36px; }
.footer-brand .logo img { height: 46px; }
.footer-brand p { margin: 18px 0; max-width: 32em; }
.footer-brand address { line-height: 1.9; }
.footer-col h2 { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: 0; margin-bottom: 10px; }
.footer-col h2 a { color: var(--ink); }
.footer-col li a { display: block; padding: 4px 0; }
.footer-service { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-block: 18px; border-top: 1px solid var(--line); }
.footer-service a { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.footer-service .icon { width: .95em; height: .95em; opacity: .6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-block: 18px 28px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ---------- Fehler- und Hinweisseiten ---------- */
.notfound { text-align: center; padding-block: clamp(72px, 12vw, 160px); }
.notfound .code { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; letter-spacing: -.05em; color: var(--bg-soft); margin-bottom: 8px; }
.notfound .eyebrow { margin-bottom: 14px; }
.notfound .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Sanftes Einblenden beim Scrollen (nur mit JavaScript, nie beim Drucken) ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1080px) {
  .nav, .header-btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .mega { display: none !important; }
  .grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1081px) { .mobile-nav { display: none !important; } }
@media (max-width: 860px) {
  .split, .split.is-photo, .band, .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .has-bg.has-photo::before { background: linear-gradient(180deg, rgba(1, 20, 78, .9) 0%, rgba(1, 34, 96, .84) 100%); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-body { padding-right: 0; }
  .split.is-photo .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  :root { --header-h: 58px; --radius-lg: 24px; --radius: 20px; }
  body { font-size: 1rem; }
  .logo img { height: 36px; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; background: var(--bg-soft); border-radius: 50%; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px; }
  .service ul { columns: 1; }
  .w-half, .w-third, .w-twothirds { grid-column: span 6; }
  .btn { white-space: normal; text-align: center; padding-block: 12px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; text-align: center; }
  .hero .btn-link { justify-content: center; }
  .btn-row .btn, .strip .btn, .form-actions [data-submit] { width: 100%; }
  .quick a { padding: 14px 12px; gap: 12px; }
  .service-media { min-height: 132px; }
  .stepper .dot-label { display: none; }
  .form-actions .btn { flex: 1; }
  .announce { font-size: .82rem; }
  .announce p > .icon { display: none; }
  .announce p { padding: 9px 0; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; }
  .footer-col ul { display: none; }
  .footer-col h2 { margin: 0; }
}
@media (min-width: 1081px) { .hero h1 span { white-space: nowrap; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-delay: 0s !important; }
  .mega, .mobile-nav, .step, .chooser-panel, dialog.hinweis, .btn, .chip span, .quick a, .card-link, .chooser-option, .progress span { transform: none !important; }
  .progress span { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .announce, .site-header, .site-footer, .form-actions, .stepper, .step-count, .drop-remove, .btn, .skip, .hp { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-hero { padding-block: 12pt; background: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .step[hidden] { display: block !important; }
  .step { break-inside: avoid-page; margin-bottom: 18pt; }
  details.more { border: 0; }
  details.more > .fields { display: grid !important; }
  .panel { box-shadow: none; padding: 0; }
  .chip span { min-height: 0; padding: 2pt 8pt; }
}

.grid-4 .card h3 { font-size: 1.18rem; }
@media (min-width: 861px) { .split.is-top > :first-child { position: sticky; top: calc(var(--header-h) + 40px); } }

/* ---------- Inhaltsseiten (templates/seite.html) ---------- */
.card-link { display: flex; flex-direction: column; }
.card-link .arrow-link { margin-top: auto; padding-top: 14px; }
.points { margin-top: 12px; display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
.points li { padding-left: 16px; position: relative; hyphens: auto; }
.points li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps-5 h3 { font-size: 1.2rem; }
.prose p { font-size: 1.08rem; }
.prose .checklist { margin-top: 24px; }
.stats-plain { margin-top: 0; }
.section:not(.section-soft) .note { background: var(--bg-soft); }
.strip-flat { margin-top: 0; }
.note { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); border: 1px solid #F3D77A; }
.note > .icon { flex: none; width: 26px; height: 26px; color: var(--blue); margin-top: 3px; }
.note h3 { font-size: 1.2rem; margin-bottom: 6px; }
.note p { color: var(--muted); font-size: .97rem; }
.panel-line { box-shadow: none; border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { font-weight: 600; color: var(--ink); background: var(--bg-tint); font-size: .88rem; letter-spacing: .01em; }
.table-wrap tbody th { font-weight: 600; color: var(--ink); }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 1080px) { .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .steps-3, .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps-3, .steps-5 { grid-template-columns: minmax(0, 1fr); } .note { flex-direction: column; gap: 10px; } }

/* ---------- Rechtsseiten ---------- */
.page-hero-small { padding-block: clamp(36px, 5vw, 64px) !important; }
.page-hero-small h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.legal h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; margin: 1.6em 0 .4em; }
.legal p, .legal li { font-size: 1rem; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 4px; }
.legal address { margin: 0 0 1em; }
.legal a { overflow-wrap: anywhere; }
.legal .box { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 1em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.todo { background: #FFF8DC; color: #5C4400; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; }
.stand { color: var(--muted); font-size: .9rem; margin-top: 2em; }
.strip-alert, .section-soft .strip-alert { background: var(--cream); }
.strip-alert .card-ico { color: var(--yellow-ink); }
.panel-gap { margin-top: clamp(14px, 1.8vw, 22px); }

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.calc .panel { background: #fff; }
.unit { position: relative; }
.unit input { padding-right: 76px; font-variant-numeric: tabular-nums; }
.unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .88rem; pointer-events: none; }
.calc-out { background: var(--blue-dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); }
.calc-out .eyebrow { color: var(--yellow); }
.calc-out ul { display: grid; gap: 0; margin-bottom: 22px; }
.calc-out li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: .97rem; }
.calc-out li span { color: rgba(255, 255, 255, .8); }
.calc-out li strong { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-out li.is-main { flex-direction: column; gap: 4px; padding-top: 0; }
.calc-out li.is-main strong { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.05; color: #fff; }
.calc-note { font-size: .84rem; color: rgba(255, 255, 255, .72); margin-bottom: 22px; }
.calc-out .btn-primary { background: var(--yellow); color: var(--ink); }
.calc-out .btn-primary:hover { background: var(--yellow-light); color: var(--ink); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media print { .calc-out { background: none; color: #000; border: 1px solid #999; } .calc-out li span, .calc-note { color: #333; } }
/* Lange zusammengesetzte Wörter in Überschriften auf schmalen Bildschirmen trennen */
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 620px) { h1, h2 { hyphens: auto; -webkit-hyphens: auto; } }

/* ---------- Seitenknopf (nur große Bildschirme) ---------- */
.side-tab { display: none; }
@media (min-width: 1320px) {
  .side-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: inline-flex; align-items: center; gap: 8px; writing-mode: vertical-rl; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: .86rem; letter-spacing: .01em; text-decoration: none; padding: 18px 13px 18px 9px; border-radius: 14px 0 0 14px; box-shadow: -4px 6px 18px -8px rgba(0, 0, 0, .35); transform: translateY(-50%) translateX(4px); transition: transform 200ms var(--ease-out), background-color .2s ease; }
  .side-tab:hover { background: var(--yellow-light); color: var(--ink); }
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .side-tab:hover { transform: translateY(-50%) translateX(0); } }
  .side-tab .icon { width: 16px; height: 16px; }
}
@media print { .side-tab { display: none !important; } }
.calc .field select { width: 100%; }
.calc-note:empty { display: none; }

/* ---------- Ergänzungen 5. Oktober, spät: fünf Menüpunkte, Kontaktseite ---------- */
@media (min-width: 1081px) and (max-width: 1239px) {
  .header-phone span { display: none; }
  .nav-link { padding-inline: 9px; font-size: .86rem; }
  .header-row { gap: 12px; }
}
.contact-list p.fineprint { font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 6px; }
.strip .btn-row { margin: 0; flex-wrap: wrap; }
.grid-4 .card h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Hinweis vor dem Online-Abschluss ---------- */
dialog.hinweis { border: 0; padding: 0; border-radius: var(--radius-lg); max-width: min(640px, calc(100vw - 32px)); width: 100%; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(1, 30, 70, .35); }
dialog.hinweis::backdrop { background: rgba(1, 25, 60, .55); }
.hinweis-box { position: relative; padding: clamp(24px, 4vw, 40px); }
.hinweis-box h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 6px 0 14px; }
.hinweis-box .points { margin: 14px 0 20px; }
.hinweis-box .points li { margin-bottom: 10px; }
.hinweis-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hinweis-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); font-weight: 500; cursor: pointer; }
.hinweis-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.hinweis-box .btn-row { margin-top: 20px; }
.btn.is-off { opacity: .45; cursor: not-allowed; }
dialog.hinweis { max-height: calc(100dvh - 32px); overflow: auto; }

/* Kfz-Angebot: Auswahl Bestandskunde / Neukunde */
.chooser { margin-bottom: clamp(18px, 2.4vw, 28px); }
.chooser-title { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 0 0 16px; text-align: center; }
.chooser-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.chooser-option { display: flex; gap: 14px; align-items: flex-start; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: border-color .2s ease, box-shadow .2s ease, transform 160ms var(--ease-out); }
.chooser-option:hover { border-color: var(--blue-mid, var(--blue)); }
.chooser-option:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .chooser-option:hover { transform: translateY(-2px); } .chooser-option:hover:active { transform: translateY(-2px) scale(.98); } }
.chooser-option:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chooser-option[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 63, 135, .12); }
.chooser-option .card-ico { flex: none; margin: 0; }
.chooser-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chooser-text strong { font-size: 1.05rem; }
.chooser-text span { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.chooser-panel + .chooser-panel { margin-top: clamp(18px, 2.4vw, 28px); }
.chooser-panel-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 4px 0 8px; }
.chooser-panel-lead { color: var(--muted); margin: 0 0 22px; max-width: 60ch; }
.js-chooser .chooser-panel[hidden] { display: none; }
@media (max-width: 640px) { .chooser-options { grid-template-columns: 1fr; } }

/* ---------- Auftritte (Emil Kowalski / Impeccable): kurz, aus dem Auslöser heraus, Schließen sofort ---------- */
.mega { transform-origin: top center; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
.mobile-nav { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.step, .chooser-panel { transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
dialog.hinweis[open] { transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
dialog.hinweis[open]::backdrop { transition: opacity 220ms ease; }
@starting-style {
  .mega { opacity: 0; transform: translateY(-6px); }
  .mobile-nav { opacity: 0; transform: translateY(-8px); }
  .step, .chooser-panel { opacity: 0; transform: translateY(8px); }
  dialog.hinweis[open] { opacity: 0; transform: scale(.96) translateY(8px); }
  dialog.hinweis[open]::backdrop { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  @starting-style {
    .mega, .mobile-nav, .step, .chooser-panel, dialog.hinweis[open] { transform: none; }
  }
}


/* ---------- Variante B (16.10.2026): Nachtblau-Anker, Finanzcheck und FAQ zweispaltig ---------- */
.section-night { background: linear-gradient(160deg, var(--night) 0%, var(--blue-dark) 100%); color: rgba(255, 255, 255, .86); }
.section-night h2, .section-night h3 { color: #fff; }
.section-night .lead { color: rgba(255, 255, 255, .9); }
.section-night a:focus-visible { outline-color: var(--yellow); }
.section-night .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.section-night .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.section-night .split.is-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.section-night .photo { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.section-night .stats { border-top-color: rgba(255, 255, 255, .2); }
.section-night .stat + .stat { border-left-color: rgba(255, 255, 255, .2); }
.section-night .stat strong { color: #fff; }
.section-night .stat span { color: rgba(255, 255, 255, .72); }
.section-night .stat strong .plus { color: var(--yellow); }
.signature { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.35rem; color: var(--yellow); margin: 28px 0 0; }
.duo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.duo > .section-head { margin-bottom: 0; }
.duo .btn-row { margin-top: 32px; }
.duo-sticky > .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.duo-faq { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.duo-faq h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.offer-list { border-top: 1px solid var(--line-strong); }
.offer-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.offer-list .card-ico { grid-row: span 2; margin: 2px 0 0; }
.offer-list h3 { margin-bottom: 4px; }
.offer-list p { color: var(--muted); margin: 0; }
@media (max-width: 1080px) {
  .stats { row-gap: 28px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .section-night .split.is-photo, .duo, .duo-faq { grid-template-columns: minmax(0, 1fr); }
  .duo-sticky > .section-head { position: static; }
}

/* ---------- „Kurz gesagt“: direkte Antwort unter dem Seitenkopf (für Leser und KI-Übersichten) ---------- */
.kurz-wrap { padding-top: clamp(32px, 4vw, 56px); }
.kurz { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 12px clamp(24px, 4vw, 56px); align-items: baseline; padding: clamp(24px, 3vw, 36px) 0; border-top: 2px solid var(--blue); border-bottom: 1px solid var(--line-strong); }
.kurz h2 { font-size: 1.4rem; line-height: 1.25; }
.kurz p { margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--ink); max-width: 62ch; }
@media (max-width: 860px) { .kurz { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Video: Vorstellung, Erklärvideos, Team, Gesellschaften (18.10.2026) ---------- */
.video-frame { margin: clamp(40px, 5vw, 72px) auto 0; max-width: 880px; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--night); }
.video-frame figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); text-align: center; }
.video-frame.is-dark video { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.section-night .video-frame figcaption { color: rgba(255, 255, 255, .78); }
.video-frame.is-slot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; }
.video-list { display: grid; gap: 8px; margin: 10px 0 8px; }
.video-list a { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.video-list .icon { width: 16px; height: 16px; flex: none; }
.video-list small { color: var(--muted); font-size: .86rem; }
.insurers { margin-top: clamp(32px, 4vw, 56px); }
.insurers h3 { margin-bottom: 6px; }
.insurer-list { columns: 3 14em; column-gap: 32px; margin: 10px 0 0; }
.insurer-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(32px, 4vw, 56px); }
.team-card img, .team-initial { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.team-initial { display: flex; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--blue); font-family: var(--display); font-weight: var(--display-weight); font-size: 3rem; }
.team-card h3 { margin: 14px 0 2px; font-size: 1.15rem; }
.team-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Ergänzungen v9 (19.10.2026): Zusammenarbeit, Beratungsgrundsätze, Finanzanalyse ---------- */

/* So arbeiten wir zusammen */
.together { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.together .lead { max-width: 34em; }
.together-badge { display: inline-flex; align-items: baseline; gap: 10px; margin: 6px 0 22px; padding: 10px 18px; border-radius: 999px; background: var(--cream); color: var(--yellow-ink); font-weight: 600; font-size: .95rem; }
.together-badge strong { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.35rem; color: var(--blue-dark); }
.together-head { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 16px; }
.together-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.together-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.together-list .card-ico { width: 40px; height: 40px; margin: 0; }
.together-list h3 { font-family: var(--sans); font-size: 1.04rem; font-weight: 600; letter-spacing: -.01em; margin: 2px 0 4px; }
.together-list p { color: var(--muted); font-size: .96rem; margin: 0; }
.together-extra { margin-top: 26px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: .95rem; color: var(--text); }
.section-soft .together-extra { background: #fff; }
.together-extra strong { color: var(--ink); }
@media (max-width: 860px) { .together { grid-template-columns: minmax(0, 1fr); } }

/* Finanzanalyse */
.fa { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.fa-dots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.fa-dots li { display: flex; align-items: center; gap: 10px; padding: 10px 0 0; border-top: 3px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--muted); transition: border-color .3s var(--ease-out), color .3s var(--ease-out); }
.fa-dots li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; flex: none; transition: background-color .3s var(--ease-out), color .3s var(--ease-out); }
.fa-dots li.is-on { border-color: var(--blue); color: var(--ink); }
.fa-dots li.is-on span { background: var(--blue); color: #fff; }
.fa-dots li.is-now span { background: var(--yellow); color: var(--blue-dark); }
@media (max-width: 620px) { .fa-dots li { font-size: 0; gap: 0; justify-content: center; } }
.fa-step-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 8px; outline: none; }
.fa-step-intro { color: var(--muted); max-width: 46em; margin-bottom: 26px; }
.fa-sub { grid-column: span 6; }
.fa-sub + .fa-sub { margin-top: 14px; }
.fa-sub .group-title { margin-top: 12px; }
.fa-privacy { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: .9rem; }
.fa-privacy .icon { width: 18px; height: 18px; color: var(--ok); flex: none; }
.fa-form .form-actions { margin-top: 30px; }
.fa-form .form-actions .btn-primary { margin-left: auto; }
@media (prefers-reduced-motion: no-preference) {
  .fa-step:not([hidden]), .fa-result:not([hidden]) { animation: fa-in .42s var(--ease-out); }
  @keyframes fa-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.fa-result { display: grid; gap: clamp(18px, 2.4vw, 28px); outline: none; }
.fa-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px clamp(24px, 4vw, 56px); }
.fa-summary > .eyebrow, .fa-summary > .fa-result-title, .fa-summary > .fa-counts, .fa-summary > .fa-actions { grid-column: 1 / -1; }
.fa-result-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.fa-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fa-counts li { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); border-top: 4px solid var(--line-strong); }
.fa-counts li strong { font-family: var(--display); font-weight: var(--display-weight); font-size: 2rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.fa-counts li span { font-size: .88rem; color: var(--muted); }
.fa-counts .is-ok { border-top-color: var(--ok); }
.fa-counts .is-teil { border-top-color: #C98A00; }
.fa-counts .is-offen { border-top-color: var(--err); }
@media (max-width: 620px) { .fa-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fa-summary { grid-template-columns: minmax(0, 1fr); } }
.fa-first h4, .fa-bilanz h4 { font-size: .95rem; margin-bottom: 10px; }
.fa-first ol { display: grid; gap: 8px; counter-reset: fa; }
.fa-first li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); counter-increment: fa; }
.fa-first li span:first-child::before { content: counter(fa) ". "; color: var(--muted); font-variant-numeric: tabular-nums; }
.fa-first p { color: var(--muted); font-size: .96rem; }
.fa-bilanz dl { display: grid; gap: 0; margin: 0; }
.fa-bilanz dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fa-bilanz dt { color: var(--muted); }
.fa-bilanz dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fa-actions { margin-top: 6px; }
.fa-actions .btn-link { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.fa-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.fa-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fa-pill.is-ok { background: #E7F5EC; color: var(--ok); }
.fa-pill.is-teil { background: #FFF3D6; color: #8A5A00; }
.fa-pill.is-offen { background: #FDECEA; color: var(--err); }
.fa-pill.is-unklar { background: var(--bg-soft); color: var(--muted); }
.fa-stufe { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); }
.fa-stufe header { margin-bottom: 18px; }
.fa-stufe header .tag { margin-bottom: 10px; }
.fa-stufe header h4 { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: var(--display-track); }
.fa-stufe header p { color: var(--muted); font-size: .96rem; margin-top: 4px; }
.fa-list { display: grid; }
.fa-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.fa-rang { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.fa-item.is-offen .fa-rang { background: #FDECEA; color: var(--err); }
.fa-item.is-teil .fa-rang { background: #FFF3D6; color: #8A5A00; }
.fa-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fa-row h5 { margin: 3px 0 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; hyphens: auto; }
.fa-werte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; margin: 8px 0 0; }
.fa-werte dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.fa-werte dd { margin: 0; font-size: .96rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.fa-hint { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 520px) { .fa-werte { grid-template-columns: minmax(0, 1fr); } }
.fa-disclaimer { max-width: 60em; }
@media print {
  html.fa-print main > *:not(.section:has(.fa)) { display: none !important; }
  html.fa-print .fa > .fa-dots, html.fa-print .fa-form, html.fa-print .section-head, html.fa-print .fa-actions { display: none !important; }
  html.fa-print .fa-result { display: grid !important; }
  .fa-stufe, .fa-summary { break-inside: avoid-page; border: 1px solid #bbb; box-shadow: none; }
  .fa-item { break-inside: avoid; }
}

/* ---------- Finanzanalyse v10: Kurzergebnis, gesperrte Vorschau, PDF-Anforderung ---------- */
.fa-more h4 { font-size: .95rem; margin-bottom: 12px; }
.fa-checks { gap: 10px; font-size: .96rem; }
.fa-locked { position: relative; max-height: 460px; overflow: hidden; border-radius: var(--radius-lg); user-select: none; pointer-events: none; }
.fa-locked > div { filter: blur(5px); opacity: .7; }
.fa-locked::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(245, 245, 247, 0) 0%, var(--bg-soft) 92%); }
.section:not(.section-soft) .fa-locked::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 92%); }
.fa-gate { position: relative; z-index: 1; margin-top: -300px; max-width: 760px; width: 100%; justify-self: center; border: 1px solid var(--line); }
.fa-gate-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; margin-bottom: 26px; }
.fa-gate-head .card-ico { margin: 0; }
.fa-gate-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.fa-gate-head p { color: var(--muted); margin: 0; }
@media (max-width: 620px) { .fa-gate { margin-top: -220px; } .fa-gate-head { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
