/* Design v3 – Vorbild FINN (reinweiss, schwarze Schrift, Produktkarten auf hellgrauen Kacheln, Suchleiste im Hero)
   und Dr. Klein (Beraterfinder nach PLZ, Beraterprofile). Zielgruppe 45+: Atkinson Hyperlegible als Lesetext,
   20px Basis, schwarze Schrift auf Weiss, 52px-Ziele, ein Akzentblau nur für Handlungen, Grün nur für «förderfähig». */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tile: #f4f4f4;
  --surface-2: #ececec;
  --fg: #111111;
  --fg-2: #555555;
  --line: #e2e2e2;
  --accent: #0a5bd7;
  --accent-ink: #0747a8;
  --accent-soft: #e8f0fd;
  --ok: #0e7a3e;
  --ok-soft: #e3f3ea;
  --warn: #b3261e;
  --warn-soft: #fbe9e7;
  --focus: #f5a524;
  --dark: #111111;
  --font-display: "Figtree", "Euclid Circular", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Euclid Circular", "Segoe UI", system-ui, sans-serif;
  --r-s: 6px; --r-m: 12px; --r-l: 20px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.08);
  --scale: 1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212; --surface: #1a1a1a; --tile: #202020; --surface-2: #2a2a2a; --fg: #f2f2f2; --fg-2: #b5b5b5; --line: #333333;
    --accent: #5b9cff; --accent-ink: #8fbaff; --accent-soft: #1a2a45; --ok: #5ec98c; --ok-soft: #173125; --warn: #ff8a80; --warn-soft: #3a1f1d; --dark: #000000;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121212; --surface: #1a1a1a; --tile: #202020; --surface-2: #2a2a2a; --fg: #f2f2f2; --fg-2: #b5b5b5; --line: #333333;
  --accent: #5b9cff; --accent-ink: #8fbaff; --accent-soft: #1a2a45; --ok: #5ec98c; --ok-soft: #173125; --warn: #ff8a80; --warn-soft: #3a1f1d; --dark: #000000;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.5);
  color-scheme: dark;
}
:root[data-size="large"] { --scale: 1.12; }
:root[data-size="xlarge"] { --scale: 1.25; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(19px * var(--scale)); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { max-width: 66ch; }
li { margin-bottom: .35em; }
a { color: var(--accent-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
li { overflow-wrap: anywhere; }
td, th { overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
td.num, th.num, td .num { white-space: nowrap; }
.table-wrap { -webkit-overflow-scrolling: touch; }
strong { font-weight: 700; }
img, svg { max-width: 100%; }
img { height: auto; }
body { overflow-wrap: break-word; } /* lange URLs/Wörter brechen statt die Seite zu verbreitern */
.grid > *, .why > * { min-width: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
section { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.band { background: var(--tile); }
.band-accent { background: var(--accent-soft); }
.eyebrow { font-size: .95rem; color: var(--fg-2); font-weight: 700; margin-bottom: .5rem; }
.lead { font-size: 1.18rem; color: var(--fg-2); line-height: 1.5; }
.muted { color: var(--fg-2); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Header – FINN: schlank, Logo links, Links, rechts Telefon + Button */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: .6rem; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--fg); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; margin-right: auto; white-space: nowrap; flex: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-size: 1rem; flex: none; }
.brand small { display: block; font-weight: 400; font-size: .72rem; color: var(--fg-2); font-family: var(--font-body); letter-spacing: 0; }
.nav { display: flex; gap: .1rem; align-items: center; }
.nav > a, .nav details > summary { display: inline-flex; align-items: center; min-height: 48px; padding: 0 .75rem; text-decoration: none; color: var(--fg); font-weight: 700; font-size: .98rem; border-radius: var(--r-s); cursor: pointer; list-style: none; white-space: nowrap; flex: none; }
.nav details > summary::-webkit-details-marker { display: none; }
.nav details > summary::after { content: "▾"; margin-left: .35rem; font-size: .8em; }
.nav > a:hover, .nav details > summary:hover { background: var(--tile); }
.nav > a[aria-current="page"], .nav summary[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--fg); }
.nav details { position: relative; }
.nav details .menu { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: .5rem; display: grid; z-index: 40; }
.nav details .menu a { display: block; padding: .6rem .8rem; text-decoration: none; color: var(--fg); border-radius: var(--r-s); min-height: 44px; font-weight: 700; }
.nav details .menu a:hover { background: var(--tile); }
.nav details .menu a span { display: block; font-size: .85rem; color: var(--fg-2); font-weight: 400; }
.size-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; flex: none; }
.size-toggle button { background: var(--surface); color: var(--fg); border: 0; min-width: 42px; min-height: 42px; font: inherit; font-family: var(--font-display); font-weight: 700; cursor: pointer; }
.size-toggle button + button { border-left: 1px solid var(--line); }
.size-toggle button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.phone { font-weight: 700; color: var(--fg); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; flex: none; }
.phone small { display: block; font-weight: 400; font-size: .72rem; color: var(--fg-2); }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); min-height: 46px; padding: 0 1rem; color: var(--fg); font: inherit; font-weight: 700; cursor: pointer; flex: none; }
@media (max-width: 1300px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem max(20px, env(safe-area-inset-left, 0px)) 1rem; max-height: calc(100vh - 80px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav details > summary { min-height: 52px; border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; }
  .nav details .menu { position: static; box-shadow: none; border: 0; padding-left: 1rem; }
  .nav .btn { margin: .8rem 0 0 !important; }
}
@media (max-width: 700px) { .header-phone { display: none; } .brand > span:not(.brand-mark) small { display: none; } }
@media (max-width: 480px) { .brand > span:not(.brand-mark) { display: none; } }
.breadcrumb { font-size: .92rem; color: var(--fg-2); padding-top: 1rem; }
.breadcrumb a { color: var(--fg-2); }
.breadcrumb span::before { content: " › "; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .7rem 1.4rem; border-radius: var(--r-s); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { opacity: .88; }
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--fg); }
.btn-secondary:hover { background: var(--tile); }
.btn-sm { min-height: 44px; padding: .4rem 1rem; font-size: .95rem; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Hero – FINN: vollflächig, dunkel, weisse Schrift, Suchleiste */
.hero-photo { position: relative; color: #fff; background: #1f2a2e url("img/hero.jpg") center / cover no-repeat; padding-block: clamp(3rem, 8vw, 7rem); overflow: hidden; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,16,.86) 0%, rgba(10,14,16,.72) 45%, rgba(10,14,16,.25) 100%); }
.hero-photo .wrap { position: relative; z-index: 1; }
.hero-photo .kicker { font-weight: 700; font-size: 1rem; opacity: .9; margin-bottom: .6rem; }
.hero-photo h1 { color: #fff; max-width: 14ch; font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: .8rem; }
.hero-photo .lead { color: #fff; opacity: .92; max-width: 48ch; font-size: 1.2rem; }
.hero-photo .rating { margin-top: 1.4rem; font-size: .95rem; opacity: .9; }
.finder { display: grid; grid-template-columns: 1.3fr .8fr auto; gap: .6rem; background: #fff; padding: .6rem; border-radius: var(--r-m); max-width: 760px; margin-top: 1.6rem; box-shadow: var(--shadow); }
.finder label { display: grid; gap: .1rem; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: var(--r-s); color: #111; background: #fff; }
.finder label span { font-size: .78rem; color: #555; }
.finder select, .finder input { border: 0; background: transparent; font: inherit; font-weight: 700; color: #111; padding: 0; min-height: 30px; width: 100%; }
.finder .btn { min-height: 100%; }
@media (max-width: 760px) { .finder { grid-template-columns: 1fr; } }
.hero-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.2rem; font-size: .98rem; }
.hero-meta span::before { content: "✓"; color: #7ddc9f; font-weight: 700; margin-right: .4rem; }

/* Produktkarten – FINN */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr; } }
.product { text-decoration: none; color: var(--fg); display: grid; gap: .25rem; min-width: 0; }
.product .pic { background: var(--tile); border-radius: var(--r-m); aspect-ratio: 4/3; overflow: hidden; margin-bottom: .6rem; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.product:hover .pic img { transform: scale(1.03); }
.product:hover .pic { background: var(--surface-2); }
.product .pic svg { width: 78%; height: auto; color: var(--fg); }
.product .tag { font-size: .82rem; color: var(--fg-2); font-weight: 700; }
.product .tag.ok { color: var(--ok); }
.product h3 { font-size: 1.15rem; margin: 0; }
.product .sub { font-size: .92rem; color: var(--fg-2); }
.product .price { font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; margin-top: .2rem; }
.product .price small { font-weight: 400; color: var(--fg-2); font-family: var(--font-body); font-size: .88rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 1.6rem; }
.chips a, .chips button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.chips a:hover, .chips button:hover { border-color: var(--fg); }
.chips [aria-pressed="true"], .chips .on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Warum – FINN: schwarze Icons, drei Spalten */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
.why .ico { width: 34px; height: 34px; margin-bottom: .6rem; color: var(--fg); }
.why h3 { font-size: 1.3rem; }
.why p { color: var(--fg-2); margin: 0; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; gap: 1.6rem; } }
.incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.incl div { background: var(--tile); border-radius: var(--r-m); padding: 1.1rem; text-align: left; }
.incl .ico { width: 30px; height: 30px; margin-bottom: .5rem; }
.incl b { display: block; font-family: var(--font-display); }
.incl span { font-size: .9rem; color: var(--fg-2); }

/* Dunkler Block – FINN */
.dark-block { background: var(--dark); color: #fff; border-radius: var(--r-l); display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.dark-block > div { padding: clamp(1.8rem, 4vw, 3.2rem); }
.dark-block h2, .dark-block p { color: #fff; }
.dark-block p { opacity: .9; }
.dark-block .btn-primary { background: #fff; color: #111; }
.dark-block .visual { background: linear-gradient(135deg, #2a3338, #11161a); display: grid; place-items: center; }
.dark-block .visual .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.03em; line-height: 1; text-align: center; }
.dark-block .visual .big small { display: block; font-size: 1rem; font-weight: 400; opacity: .8; margin-top: .6rem; letter-spacing: 0; }
@media (max-width: 820px) { .dark-block { grid-template-columns: 1fr; } }

/* Beraterfinder – Dr. Klein */
.finder-box { background: var(--tile); border-radius: var(--r-l); padding: clamp(1.4rem, 3vw, 2.2rem); }
.finder-form { display: grid; grid-template-columns: 220px 1fr auto; gap: 1rem; align-items: end; }
.finder-form .field label { font-weight: 700; }
.finder-form fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: .8rem; flex-wrap: wrap; }
.finder-form fieldset legend { font-weight: 700; margin-bottom: .4rem; }
.finder-form fieldset label { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.finder-form input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--accent); }
@media (max-width: 900px) { .finder-form { grid-template-columns: 1fr; } }
.advisor { display: grid; grid-template-columns: .9fr 1.4fr; gap: 1rem; margin-top: 1.4rem; }
.advisor .loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.2rem; }
.advisor .loc h3 { display: flex; align-items: center; gap: .5rem; }
.advisor .loc h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); flex: none; }
.advisor .loc p { margin: .3rem 0; color: var(--fg-2); }
.advisor .person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.2rem; display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; align-items: center; }
.advisor .avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--surface-2); overflow: hidden; }
.advisor .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.advisor .person h3 { margin: 0 0 .2rem; }
.advisor .stars { color: var(--fg-2); font-size: .92rem; }
.advisor .spec { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.advisor .spec span { font-size: .82rem; background: var(--tile); border-radius: 999px; padding: .25rem .7rem; }
.advisor .person .actions { margin: 0; display: grid; gap: .5rem; }
@media (max-width: 900px) { .advisor { grid-template-columns: 1fr; } .advisor .person { grid-template-columns: 72px 1fr; } .advisor .avatar { width: 72px; height: 72px; font-size: 1.2rem; } .advisor .person .actions { grid-column: 1 / -1; } }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.modes div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.1rem; }
.modes b { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .2rem; }
.modes span { color: var(--fg-2); font-size: .95rem; }
@media (max-width: 720px) { .modes { grid-template-columns: 1fr; } }

/* Grids, cards */
.grid { display: grid; gap: 1.3rem; }
.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)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.5rem; min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.card h3 { margin: 0; }
.card p { margin: 0; }
.card .rec { font-weight: 700; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { border-color: var(--fg); }
.card-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--tile); display: grid; place-items: center; font-size: 1.3rem; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.kpi { background: var(--tile); border-radius: var(--r-m); padding: 1.1rem 1.2rem; min-width: 0; }
.kpi .v { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -.02em; }
.kpi .l { font-size: .95rem; color: var(--fg-2); margin-top: .3rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1.2rem; }
.step { border-top: 3px solid var(--fg); padding-top: .9rem; min-width: 0; }
.step .sym { font-size: 1.5rem; font-family: var(--font-display); line-height: 1; }
.step h3 { font-size: 1.1rem; margin: .4rem 0 .3rem; }
.step p { font-size: .96rem; color: var(--fg-2); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.labels { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.4rem; }
.label { border-left: 3px solid var(--fg); padding-left: 1rem; min-width: 0; }
.label h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.label p { font-size: .96rem; color: var(--fg-2); margin: 0; }
@media (max-width: 960px) { .labels { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .labels { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-weight: 700; background: var(--tile); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
.src { font-size: .86rem; color: var(--fg-2); margin-top: .4rem; }

/* FAQ, article */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .6rem; color: var(--fg-2); }
.article { max-width: 780px; }
.article h2 { margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article blockquote { border-left: 3px solid var(--fg); margin: 1.2rem 0; padding: .4rem 1.2rem; color: var(--fg-2); }
.article .meta { color: var(--fg-2); font-size: .95rem; margin-bottom: 1.5rem; }
.toc { background: var(--tile); border-radius: var(--r-m); padding: 1.2rem 1.4rem; margin: 1.5rem 0 2rem; }
.toc h2, .toc strong { font-family: var(--font-display); font-size: 1rem; margin: 0 0 .5rem; display: block; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pros-cons .pro, .pros-cons .con { background: var(--tile); border-radius: var(--r-m); padding: 1.2rem; min-width: 0; }
.pros-cons .pro { border-top: 4px solid var(--ok); }
.pros-cons .con { border-top: 4px solid var(--warn); }
@media (max-width: 620px) { .pros-cons { grid-template-columns: 1fr; } }
.cta-box { background: var(--dark); color: #fff; border-radius: var(--r-l); padding: clamp(1.6rem, 4vw, 2.6rem); margin-top: 2rem; }
.cta-box h2, .cta-box p { color: #fff; }
.cta-box .btn-primary { background: #fff; color: #111; }
.cta-box .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li { padding-left: 2rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* Forms */
.form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.6rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field .field-label, .qgroup .q { font-weight: 700; font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--fg-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; min-height: 52px; padding: .6rem .9rem; border: 1.5px solid #8a8a8a; border-radius: var(--r-s); background: var(--surface); color: var(--fg); font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--fg); }
textarea { min-height: 120px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .row-2 { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choices label { border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; cursor: pointer; font-size: 1rem; background: var(--surface); min-height: 44px; display: inline-flex; align-items: center; }
.choices input { position: absolute; opacity: 0; width: 0; height: 0; }
.choices label:has(input:checked) { border-color: var(--fg); background: var(--fg); color: var(--bg); font-weight: 700; }
.choices label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.notice { border-left: 4px solid var(--fg); background: var(--tile); padding: 1rem 1.2rem; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 1rem; margin: 1rem 0; }
.notice.ok { border-color: var(--ok); background: var(--ok-soft); }
.notice.warn { border-color: var(--warn); background: var(--warn-soft); }
.success { display: none; }
.honeypot { position: absolute; left: -9999px; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 44px; }
.range-row { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.2rem; }
.range-row output { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }

/* Rechner */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.tabs button { font: inherit; font-family: var(--font-display); font-weight: 700; min-height: 48px; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem; align-items: start; }
@media (max-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .calc-form { padding: 1.1rem; } }
.calc-form { display: grid; gap: 1.3rem; background: var(--tile); border-radius: var(--r-m); padding: 1.6rem; }
.qgroup { display: grid; gap: .45rem; min-width: 0; }
.qgroup .q { font-family: var(--font-display); display: flex; gap: .5rem; align-items: baseline; }
.qgroup label.small { display: flex; align-items: center; gap: .5rem; min-height: 36px; }
.qgroup input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--accent); }
.result { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.6rem; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (max-width: 400px) { .result { padding: 1.1rem; } }
.result h3 { margin: 0; font-size: 1.3rem; }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.kpi-grid div { background: var(--tile); border-radius: var(--r-s); padding: .9rem; min-width: 0; }
.kpi-grid .l { font-size: .85rem; color: var(--fg-2); }
.kpi-grid .v { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi-grid .v.big { color: var(--accent-ink); }
@media (max-width: 460px) { .kpi-grid { grid-template-columns: 1fr; } }
.bars { display: grid; gap: .6rem; }
.bar { display: grid; grid-template-columns: 9rem 1fr 6.5rem; gap: .6rem; align-items: center; font-size: .95rem; }
.bar i { display: block; height: 16px; border-radius: 4px; background: var(--surface-2); position: relative; overflow: hidden; }
.bar i b { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 4px; }
.bar i b.grey { background: var(--fg-2); }
.bar .num { text-align: right; }
@media (max-width: 460px) { .bar { grid-template-columns: 6.5rem 1fr 5.5rem; } }
.assump summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); min-height: 44px; display: flex; align-items: center; }
.assump input { width: 8rem; }
.legal { font-size: .88rem; color: var(--fg-2); border-top: 1px solid var(--line); padding-top: .8rem; }
.calc-pane[hidden] { display: none; }

/* Leistungs-Detail, Team, Seitenkopf */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; border-top: 1px solid var(--line); padding-block: 2.2rem; }
.service ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.service .side { background: var(--tile); border-radius: var(--r-m); padding: 1.3rem; font-size: .96rem; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.2rem; }
.team .avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--fg-2); margin-bottom: .6rem; font-size: 1.2rem; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.page-hero { padding-block: clamp(2rem, 5vw, 3.6rem) 1.2rem; }
.page-hero .actions { margin-top: 1.2rem; }
.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.8rem; box-shadow: var(--shadow); }
.seal { display: none; }

/* Footer – FINN: dunkel, ruhig */
.site-footer { background: var(--dark); color: #cfcfcf; padding-block: 3rem 1.5rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4, .site-footer .footer-h { color: #fff; font-size: 1rem; margin: 0 0 .6rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .96rem; }
.site-footer ul a { text-decoration: none; color: #cfcfcf; display: inline-block; min-height: 32px; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-claim { font-family: var(--font-display); font-size: 1.25rem; color: #fff; font-weight: 700; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .88rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #333; }
.footer-credit { display: flex; flex-direction: column; align-items: center; gap: .65rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid #333; font-size: .85rem; opacity: .8; text-align: center; }
.footer-credit-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: #fff; }
.footer-credit-sep { opacity: .5; }
.swiss-cross { width: 14px; height: 14px; vertical-align: -2px; }
.sticky-cta { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: flex; gap: .5rem; }
.sticky-cta .btn { box-shadow: var(--shadow); }
.sticky-call { display: none; }
@media (max-width: 700px) {
  /* Telefonnummer im Header ist hier ausgeblendet – darum Anruf-Knopf unten */
  .sticky-cta { left: max(16px, env(safe-area-inset-left, 0px)); }
  .sticky-cta .btn { flex: 1; padding-inline: .8rem; }
  .sticky-call { display: inline-flex; flex: 0 0 auto !important; }
}
@media (max-width: 1300px) { .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 1301px) { .sticky-cta { display: none; } }
.marquee-toggle { display: block; margin: .25rem auto 0; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: .4rem 1rem; min-height: 40px; font: inherit; font-size: .9rem; color: var(--fg); cursor: pointer; }
.marquee-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Bilder */
.photo { border-radius: var(--r-l); overflow: hidden; background: var(--tile); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.6rem; } }
.page-hero.with-photo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding-bottom: clamp(2rem, 5vw, 3.6rem); }
.page-hero.with-photo .photo { aspect-ratio: 4/3; }
@media (max-width: 860px) { .page-hero.with-photo { grid-template-columns: 1fr; } }
.credit { font-size: .78rem; color: var(--fg-2); }
.team .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.team .avatar { overflow: hidden; }

/* Jimdo-UX: Hero geteilt mit Pill, Treppen-Headline, Check-Liste, schwebenden Karten; Pastell-Kacheln; Feature-Wechsel */
:root { --mint: #cdeedd; --lavender: #e4d4fb; --rose: #fbdde0; --sun: #fde9c4; }
:root[data-theme="dark"], :root:not([data-theme="light"]) { }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --mint: #1f3a2e; --lavender: #2d2440; --rose: #3d2528; --sun: #3b2f18; } }
:root[data-theme="dark"] { --mint: #1f3a2e; --lavender: #2d2440; --rose: #3d2528; --sun: #3b2f18; }
.pill { display: inline-block; background: var(--lavender); color: var(--fg); font-weight: 700; font-size: .8rem; letter-spacing: .02em; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.pill.mint { background: var(--mint); } .pill.rose { background: var(--rose); } .pill.sun { background: var(--sun); }
.hero-split { padding-block: clamp(2.5rem, 6vw, 5rem); background: var(--bg); }
.hero-split .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-split h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; margin-bottom: 1.2rem; }
.hero-split h1 .line { display: block; }
.hero-split h1 .line.u { font-style: italic; font-weight: 500; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--fg); }
.hero-split .lead { font-size: 1.12rem; }
.hero-split .checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .5rem; }
.hero-split .checks li { padding-left: 2rem; position: relative; }
.hero-split .checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ok); color: var(--ok); font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
.hero-visual { position: relative; }
.hero-visual .photo { aspect-ratio: 4/3; border-radius: var(--r-l); }
.float { position: absolute; background: var(--surface); border-radius: var(--r-m); box-shadow: var(--shadow); padding: .8rem 1rem; font-size: .9rem; min-width: 160px; border: 1px solid var(--line); }
.float b { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; }
.float.f1 { top: 8%; left: -8%; }
.float.f2 { bottom: 10%; left: -4%; background: var(--dark); color: #fff; border: 0; }
.float.f2 b { color: #fff; }
.float.f3 { top: 18%; right: -6%; }
.float .stars { color: #f5a524; letter-spacing: 1px; }
@media (max-width: 960px) { .hero-split .wrap { grid-template-columns: 1fr; } .float.f1 { left: 2%; } .float.f2 { left: 2%; } .float.f3 { right: 2%; } }
.hero-split .finder { margin-top: 1.4rem; border: 1px solid var(--line); box-shadow: none; }
.hero-split .finder label { border-color: var(--line); }
.stats-row { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.stats-row > div { flex: 0 0 240px; aspect-ratio: 3/4; border-radius: var(--r-l); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 1rem; scroll-snap-align: start; }
.stats-row .arch { border-radius: 120px 120px var(--r-l) var(--r-l); }
.stats-row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stats-row .ph { padding: 0; }
.stats-row b { display: block; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; }
.stats-row span { display: block; margin-top: .5rem; font-size: .95rem; }
.stats-row .mint { background: var(--mint); } .stats-row .lavender { background: var(--lavender); } .stats-row .rose { background: var(--rose); } .stats-row .sun { background: var(--sun); }
.center { text-align: center; }
.center h2, .center p { margin-left: auto; margin-right: auto; }
.arrow { display: block; width: 60px; margin: .4rem auto 1.6rem; color: var(--fg); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem); }
.feature.flip .photo { order: -1; }
.feature .photo { aspect-ratio: 4/3; position: relative; }
.feature ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .5rem; }
.feature ul li { padding-left: 2rem; position: relative; }
.feature ul li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ok); color: var(--ok); font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 1.5rem; } .feature.flip .photo { order: 0; } }
.quote { text-align: center; max-width: 820px; margin: 0 auto; }
.quote .avatar { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; background: var(--surface-2); }
.quote .avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote p.q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3; letter-spacing: -.01em; margin: 0 auto .8rem; max-width: 30ch; }
.quote .who { font-weight: 700; }
.quote .role { color: var(--fg-2); font-size: .95rem; }
.btn-outline { background: transparent; color: var(--accent-ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); }
.hero-split h1 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; font-size: clamp(2rem, 4vw, 3.3rem); }

/* Kennzahlen-Leiste: läuft langsam, stoppt bei Maus, Kachel wird grösser */
.stats-row { overflow: hidden; padding-block: 1rem; scroll-snap-type: none; }
.stats-row .track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.stats-row:hover .track, .stats-row:focus-within .track { animation-play-state: paused; }
.stats-row > .track > div { flex: 0 0 240px; aspect-ratio: 3/4; border-radius: var(--r-l); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 1rem; transition: transform .3s ease, box-shadow .3s ease; }
.stats-row > .track > div:hover { transform: scale(1.08); box-shadow: var(--shadow); z-index: 2; }
.stats-row > .track > .ph { padding: 0; }
.stats-row > .track > .arch { border-radius: 120px 120px var(--r-l) var(--r-l); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .stats-row { overflow-x: auto; } .stats-row .track { animation: none; } }
.stats-row > .track { flex: none; aspect-ratio: auto; border-radius: 0; overflow: visible; display: flex; padding: 0; place-items: unset; text-align: left; width: max-content; }
/* Leiste: Steuerung per JavaScript (Maus links/rechts bewegt, Mitte stoppt), grösserer Hover */
.stats-row .track { animation: none; will-change: transform; }
.stats-row > .track > div:hover { transform: scale(1.18); }
.stats-row { cursor: ew-resize; padding-block: 1.6rem; }

/* Runder Cursor über der Leiste: gross, halbtransparent; beide Pfeile in der Mitte, links/rechts je ein Dreieck */
.stats-row { cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='29' fill='rgba%2817,17,17,0.45%29' stroke='rgba%28255,255,255,0.85%29' stroke-width='2'/%3E%3Cpath d='M16 32 L27 23 L27 41 Z' fill='white'/%3E%3Cpath d='M48 32 L37 23 L37 41 Z' fill='white'/%3E%3C/svg%3E") 32 32, ew-resize; }
.stats-row.dir-left { cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='29' fill='rgba%2817,17,17,0.45%29' stroke='rgba%28255,255,255,0.85%29' stroke-width='2'/%3E%3Cpath d='M19 32 L34 20 L34 44 Z' fill='white'/%3E%3C/svg%3E") 32 32, ew-resize; }
.stats-row.dir-right { cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='29' fill='rgba%2817,17,17,0.45%29' stroke='rgba%28255,255,255,0.85%29' stroke-width='2'/%3E%3Cpath d='M45 32 L30 20 L30 44 Z' fill='white'/%3E%3C/svg%3E") 32 32, ew-resize; }

/* Farbwelt «Stripe»: Tinte Nachtblau, Akzent Indigo, helle Flächen blaugrau, Pastelle kühl, Verlauf im Hero */
:root {
  --fg: #0a2540; --fg-2: #425466; --line: #e6ebf1; --tile: #f6f9fc; --surface-2: #e3e8ee;
  --accent: #635bff; --accent-ink: #4f46e5; --accent-soft: #ecebff; --ok: #15803d; --ok-soft: #dcfce7;
  --warn: #cd3d64; --warn-soft: #fde4ec; --dark: #0a2540; --focus: #f5a524;
  --mint: #d9f7e8; --lavender: #e7e5ff; --rose: #ffe1ea; --sun: #ffe9d2;
  --shadow: 0 2px 5px rgba(10,37,64,.06), 0 15px 35px rgba(10,37,64,.08);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --fg: #f1f5f9; --fg-2: #adbdcc; --line: #243447; --tile: #111c2b; --surface: #0f1826; --bg: #0b1220; --surface-2: #1b2a3d; --accent: #8b85ff; --accent-ink: #b4b0ff; --accent-soft: #1e1b4b; --ok: #4ade80; --ok-soft: #14532d; --dark: #060b14; --mint: #12382a; --lavender: #262352; --rose: #3f1d2a; --sun: #3c2a16; } }
:root[data-theme="dark"] { --fg: #f1f5f9; --fg-2: #adbdcc; --line: #243447; --tile: #111c2b; --surface: #0f1826; --bg: #0b1220; --surface-2: #1b2a3d; --accent: #8b85ff; --accent-ink: #b4b0ff; --accent-soft: #1e1b4b; --ok: #4ade80; --ok-soft: #14532d; --dark: #060b14; --mint: #12382a; --lavender: #262352; --rose: #3f1d2a; --sun: #3c2a16; }
.btn-dark, .size-toggle button[aria-pressed="true"], .brand-mark, .tabs button[aria-selected="true"], .chips [aria-pressed="true"], .chips .on, .choices label:has(input:checked) { background: var(--fg); border-color: var(--fg); }
.btn-primary { background: var(--accent); box-shadow: 0 1px 2px rgba(10,37,64,.15); }
.btn-primary:hover { background: var(--accent-ink); }
.hero-split { position: relative; overflow: hidden; }
.hero-split::before { content: ""; position: absolute; inset: -40% -10% auto -10%; height: 85%; background: linear-gradient(100deg, #ffd8e8 0%, #e7e5ff 35%, #d6f1ff 70%, #ffffff 100%); transform: skewY(-6deg); opacity: .9; z-index: 0; }
.hero-split .wrap { position: relative; z-index: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-split::before { opacity: .18; } }
:root[data-theme="dark"] .hero-split::before { opacity: .18; }
.hero-split h1 .line.u { text-decoration-color: var(--accent); }
.pill { background: var(--lavender); color: var(--fg); }
.step { border-top-color: var(--accent); }
.label { border-left-color: var(--accent); }
.kpi { border-left: 0; }
.kpi .v, .product .price, .quote p.q { color: var(--fg); }
.product .tag.ok { color: var(--ok); }
.site-footer { background: var(--dark); }
.dark-block, .cta-box { background: var(--dark); }
.dark-block .visual { background: linear-gradient(135deg, #635bff 0%, #0a2540 70%); }
.cta-box .btn-primary, .dark-block .btn-primary { background: #fff; color: var(--dark); }
a { color: var(--accent-ink); }
.float.f2 { background: var(--accent); }
.hero-split .checks li::before, .feature ul li::before { border-color: var(--ok); color: var(--ok); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { border-color: #cbd5e1; }
.nav > a[aria-current="page"], .nav summary[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }

/* Grosses Intro wie bei Stripe: Verlauf über die ganze Einstiegsfläche, sanft bewegt, grosse Headline */
.hero-split { min-height: calc(100vh - 120px); display: grid; align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero-split::before { inset: -25% -20% -10% -20%; height: auto; transform: skewY(-8deg); opacity: 1;
  background: linear-gradient(100deg, #ffd3e6 0%, #e9d5ff 22%, #c7d2fe 44%, #a5f3fc 66%, #d9f7e8 84%, #ffffff 100%);
  background-size: 220% 220%; animation: gradientShift 18s ease-in-out infinite alternate; }
.hero-split::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--bg) 100%); pointer-events: none; z-index: 0; }
@keyframes gradientShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-split::before { animation: none; } }
.hero-split h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.hero-split .lead { font-size: 1.25rem; max-width: 46ch; }
.hero-split .pill { background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.hero-visual .photo { box-shadow: 0 30px 60px rgba(10,37,64,.18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-split::before { opacity: .22; } :root:not([data-theme="light"]) .hero-split .pill { background: rgba(10,37,64,.6); } }
:root[data-theme="dark"] .hero-split::before { opacity: .22; }
:root[data-theme="dark"] .hero-split .pill { background: rgba(10,37,64,.6); }
@media (max-width: 960px) { .hero-split { min-height: auto; } }
.hero-split h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); }

/* ---- Triloe-Hero (zentriert, Foto mit schwebenden Karten) ---- */
.hero-triloe { background: var(--bg); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); text-align: center; position: relative; }
.hero-triloe .over { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 .9rem; }
.hero-triloe h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -.025em; margin: 0 auto 1rem; max-width: 20ch; hyphens: manual; -webkit-hyphens: manual; }
.hero-triloe .lead { font-size: 1.15rem; color: var(--fg-2); max-width: 58ch; margin: 0 auto 2.2rem; }
.hero-triloe .stage { position: relative; max-width: 1000px; margin: 0 auto; }
.hero-triloe .stage > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 45%; border-radius: 28px; }
.hero-triloe .hcard { position: absolute; background: var(--surface); color: var(--fg); border-radius: 18px; padding: 1rem 1.15rem; text-align: left; width: 200px; box-shadow: 0 18px 40px rgba(10,37,64,.16); }
.hero-triloe .hcard b { display: block; font-family: var(--font-display); font-size: 1.7rem; white-space: nowrap; line-height: 1; letter-spacing: -.03em; margin-bottom: .4rem; }
.hero-triloe .hcard b i { font-style: normal; font-size: .55em; vertical-align: middle; color: var(--accent); }
.hero-triloe .hcard span { display: block; font-size: .85rem; line-height: 1.35; color: var(--fg-2); }
.hero-triloe .hcard.dark { background: var(--fg); color: #fff; }
.hero-triloe .hcard.dark span { color: rgba(255,255,255,.75); }
.hero-triloe .c1 { bottom: 10%; left: -3%; width: 230px; }
.hero-triloe .c2 { top: 8%; left: -5%; width: 170px; }
.hero-triloe .c3 { top: 8%; right: -4%; width: 170px; }
.hero-triloe .c4 { bottom: 8%; right: -3%; width: 300px; display: flex; flex-wrap: wrap; gap: .45rem; padding: .8rem; }
.hero-triloe .chips a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 .9rem; border-radius: 999px; background: var(--tile); color: var(--fg); font-weight: 700; font-size: .85rem; text-decoration: none; }
.hero-triloe .chips a:hover { background: var(--accent); color: #fff; }
.hero-triloe .actions { margin-top: 2.2rem; justify-content: center; }
.btn-pill { border-radius: 999px; padding-inline: 1.8rem; }
.btn-pill i { font-style: normal; }
@media (max-width: 900px) {
  .hero-triloe .stage > img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .hero-triloe .hcard { position: static; width: auto; }
  .hero-triloe .stage { display: grid; gap: .8rem; }
  .hero-triloe .stage > img { grid-column: 1 / -1; }
  .hero-triloe .hcards-wrap { display: contents; }
  .hero-triloe .c4 { width: auto; }
}
@media (min-width: 901px) and (max-width: 1140px) { .hero-triloe .c1, .hero-triloe .c2 { left: 2%; } .hero-triloe .c3, .hero-triloe .c4 { right: 2%; } }
.finder-band { padding-block: 0 2.5rem; }
.finder-band .finder { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(10,37,64,.08); }
/* Navigation wie Triloe: aktiver Punkt als blaue Pille, runder Kontakt-Knopf */
.nav > a, .nav details > summary { border-radius: 999px; min-height: 42px; font-size: .95rem; }
.nav > a[aria-current="page"], .nav summary[aria-current="page"] { box-shadow: none; background: var(--accent); color: #fff; }
.nav > a[aria-current="page"]:hover { background: var(--accent-ink); }
.nav > a[aria-current="page"]::after { content: " ●"; font-size: .5em; vertical-align: middle; }
.nav .btn { border-radius: 999px; }
@media (max-width: 1300px) { .nav > a, .nav details > summary { border-radius: 0; } .nav > a[aria-current="page"] { border-radius: 10px; } }

/* ---- Vorher/Nachher-Schieberegler ---- */
.compare { position: relative; overflow: hidden; border-radius: var(--r-l, 24px); aspect-ratio: 3 / 2; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: #ddd; }
.compare img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compare .after { position: absolute; inset: 0; }
.compare .before { position: absolute; inset: 0; width: var(--pos, 50%); overflow: hidden; }
.compare .before img { width: calc(100% / var(--w, .5)); max-width: none; }
.compare .tag { position: absolute; top: 14px; padding: .35rem .8rem; border-radius: 999px; font-weight: 800; font-size: .85rem; letter-spacing: .03em; background: rgba(10,37,64,.78); color: #fff; z-index: 2; pointer-events: none; }
.compare .tag-before { left: 14px; } .compare .tag-after { right: 14px; background: var(--accent); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); z-index: 3; pointer-events: none; }
.compare .handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--fg); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; line-height: 1; box-shadow: 0 8px 24px rgba(10,37,64,.3); border: 3px solid var(--accent); letter-spacing: -.05em; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; background: transparent; }
.compare input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.compare input[type="range"]::-moz-range-thumb { width: 60px; height: 100%; border: 0; background: transparent; }
.compare:focus-within .handle span { outline: 3px solid var(--fg); outline-offset: 2px; }
.compare .hint { white-space: nowrap; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.9); color: var(--fg); font-size: .85rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; z-index: 2; pointer-events: none; }

/* ---- Was im Festpreis steckt: Bildkacheln ---- */
.incl-photo { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.incl-photo > div { padding: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.incl-photo .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.incl-photo .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.incl-photo > div:hover .pic img { transform: scale(1.05); }
.incl-photo .txt { padding: .9rem 1rem 1.1rem; }
.incl-photo b { font-size: 1.05rem; margin-bottom: .25rem; }
@media (max-width: 1000px) { .incl-photo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .incl-photo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .incl-photo .pic img { transition: none; } .incl-photo > div:hover .pic img { transform: none; } }
.incl-photo .pic, .incl-photo .txt { background: transparent; border-radius: 0; padding: 0; }
.incl-photo .txt { padding: .9rem 1rem 1.1rem; flex: 1; }
.incl-photo > div { background: var(--surface); }

.incl-photo > div { background: var(--tile); border: 0; }
.incl-photo .pic { position: relative; overflow: visible; }
.incl-photo .pic img { border-radius: var(--r-m) var(--r-m) 0 0; }
.incl-photo .badge-ico { position: absolute; left: .9rem; bottom: -.9rem; width: 38px; height: 38px; border-radius: 10px; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(10,37,64,.2); z-index: 2; }
.incl-photo .badge-ico svg { width: 20px; height: 20px; }
.incl-photo .txt { padding-top: 1.5rem; }
/* Grosse Bildschirme: Darstellung wie bei 125 % Browser-Zoom */
@media (min-width: 1440px) { html { zoom: 1.25; } }
@media (min-width: 1900px) { html { zoom: 1.4; } }
/* Volle Breite bis an den Bildschirmrand */
.wrap { max-width: none; padding-left: clamp(20px, 3vw, 56px); padding-right: clamp(20px, 3vw, 56px); }
.wrap.narrow { max-width: 900px; }
.hero-triloe .stage { max-width: none; }
@media (min-width: 1100px) { .hero-triloe .stage > img { aspect-ratio: 21 / 9; } .hero-triloe .c1, .hero-triloe .c2 { left: 1.5%; } .hero-triloe .c3, .hero-triloe .c4 { right: 1.5%; } }
.finder-band .finder { max-width: none; }
.feature { gap: 4rem; }

/* ==== Bewegung & Feedback (Design-Engineering-Feinschliff) ==== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* Drück-Feedback: die Oberfläche "hört" den Klick */
.btn, .chips a, .chips button, .size-toggle button, .nav-toggle, .marquee-toggle, .choices label, .tabs button {
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease, transform 160ms var(--ease-out);
}
.btn:active, .chips a:active, .chips button:active, .size-toggle button:active, .nav-toggle:active, .marquee-toggle:active, .choices label:active, .tabs button:active { transform: scale(0.97); }
.product, .card-link { transition: border-color .15s ease, transform 160ms var(--ease-out); }
.product:active, .card-link:active { transform: scale(0.99); }

/* Hover-Effekte nur mit echter Maus – auf Touch bleiben sie sonst "kleben" */
.product .pic img, .incl-photo .pic img { transition: transform 300ms var(--ease-out); }
.product:hover .pic img, .incl-photo > div:hover .pic img { transform: none; }
.stats-row > .track > div { transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.stats-row > .track > div:hover { transform: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .product:hover .pic img { transform: scale(1.03); }
  .incl-photo > div:hover .pic img { transform: scale(1.04); }
  .stats-row > .track > div:hover { transform: scale(1.04); box-shadow: var(--shadow); }
}

/* Dropdown entsteht aus seinem Auslöser statt aus dem Nichts */
@media (min-width: 1301px) {
  .nav details .menu {
    transform-origin: top left;
    transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
  }
  @starting-style {
    .nav details[open] .menu { opacity: 0; transform: translateY(-4px) scale(0.97); }
  }
}

/* FAQ und Annahmen: Antwort blendet kurz ein */
.faq details[open] > :not(summary), .assump[open] > :not(summary) { animation: me-reveal 200ms var(--ease-out); }

/* Ergebnis der Berater-Suche */
#advisor-result > * { animation: me-rise 250ms var(--ease-out); }

/* Hinweis im Vorher/Nachher-Bild blendet aus statt zu verschwinden */
.compare .hint { transition: opacity 200ms var(--ease-out); }
.compare .hint.is-gone { opacity: 0; }

@keyframes me-reveal { from { opacity: 0; transform: translateY(-4px); } }
@keyframes me-rise { from { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  .btn:active, .chips a:active, .chips button:active, .size-toggle button:active, .nav-toggle:active, .marquee-toggle:active, .choices label:active, .tabs button:active, .product:active, .card-link:active { transform: none; }
}
