/* MED Steuerberater – Design-System
   Petrol (Vertrauen, Medizin) + warmes Papier + Terrakotta als sparsamer Akzent.
   Keine Inline-Styles, keine externen Ressourcen (CSP: style-src 'self'). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --surface: #ffffff;
  --tint: #edf4f2;
  --tint-2: #e2eeeb;
  --ink: #12262e;
  --ink-2: #33474f;
  --muted: #56686f;
  --line: #dde4e2;
  --line-2: #c9d5d2;
  --petrol: #0e5a66;
  --petrol-600: #0b4a54;
  --petrol-800: #08363e;
  --petrol-900: #062a31;
  --mint: #cfe9e3;
  --accent: #d9774b;
  --accent-ink: #9a4520;
  --accent-soft: #f7e5da;
  --ok: #1f7a55;
  --radius: 20px;
  --radius-s: 12px;
  --shadow-s: 0 1px 2px rgba(18, 38, 46, .06);
  --shadow: 0 1px 2px rgba(18, 38, 46, .05), 0 10px 30px rgba(18, 38, 46, .07);
  --shadow-l: 0 2px 6px rgba(18, 38, 46, .06), 0 24px 60px rgba(18, 38, 46, .12);
  --wrap: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--petrol-600); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .3em 0; }
strong { font-weight: 600; color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--petrol); color: #fff; box-shadow: 0 6px 18px rgba(14, 90, 102, .25); }
.btn-primary:hover { background: var(--petrol-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--petrol); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol-600); background: var(--surface); }
.btn-light { background: #fff; color: var(--petrol-800); }
.btn-light:hover { background: var(--mint); color: var(--petrol-900); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Kopfzeile ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 241, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(18, 38, 46, .05); }
.nav-bar { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand svg { width: 38px; height: 38px; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t .bn { font-weight: 700; font-size: 1.32rem; letter-spacing: .02em; }
.brand-t small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links > li { position: relative; margin: 0; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  color: var(--ink-2); font: 500 .97rem/1.2 var(--font); text-decoration: none; cursor: pointer;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a[aria-current="page"] { color: var(--ink); background: rgba(14, 90, 102, .07); }
.nav-links button svg { width: 15px; height: 15px; transition: transform .2s; }
.nav-links button[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd {
  position: absolute; left: -12px; top: calc(100% + 8px); min-width: 330px; padding: 10px; display: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-l);
}
.dd.dd-2 { display: none; grid-template-columns: 1fr 1fr; min-width: 560px; }
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.open > .dd { display: block; }
.has-dd:hover > .dd.dd-2, .has-dd:focus-within > .dd.dd-2, .has-dd.open > .dd.dd-2 { display: grid; }
.js .has-dd:hover:not(.open) > .dd { display: none; }
.js .has-dd.hover-ok:hover > .dd { display: block; }
.js .has-dd.hover-ok:hover > .dd.dd-2 { display: grid; }
.dd a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd a:hover { background: var(--tint); color: var(--ink); }
.dd-t { display: block; font-weight: 600; font-size: .96rem; }
.dd a span + span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.dd .dd-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--petrol); }
.nav-tel { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.nav-tel svg { width: 17px; height: 17px; color: var(--petrol); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.m-only { display: none !important; }

@media (max-width: 1100px) {
  .nav-tel span { display: none; }
}
@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .nav-tel, .nav-cta { display: none; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 72px; bottom: 0; margin: 0; padding: 12px 20px 40px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.08rem; border-radius: 0; }
  .dd, .dd.dd-2 { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; grid-template-columns: 1fr; }
  .has-dd:hover > .dd, .has-dd:focus-within > .dd { display: none; }
  .has-dd.open > .dd, .has-dd.open > .dd.dd-2 { display: block; }
  .m-only { display: block !important; }
  .m-only a { color: var(--petrol) !important; font-weight: 600 !important; }
}

/* ── Abschnitte ────────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec-tight { padding: 64px 0; }
.sec-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--petrol-900); color: #d7e6e3; }
.sec-dark h2, .sec-dark h3, .sec-dark strong { color: #fff; }
.sec-dark a:not(.btn) { color: #9fe0d3; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--ink-2); font-size: 1.1rem; }
.sec-dark .sec-head p { color: #c4d8d4; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); margin-bottom: 14px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.sec-dark .kicker { color: #9fe0d3; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 64ch; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(207, 233, 227, .9), rgba(207, 233, 227, 0)); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--petrol); }
.hero .lead { margin-bottom: 1.6em; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.trust svg { width: 20px; height: 20px; color: var(--ok); }

/* Cockpit-Illustration */
.cockpit { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-l); padding: 22px 22px 56px; position: relative; }
.cockpit-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.cockpit-h b { font-size: 1rem; }
.cockpit-h span { font-size: .78rem; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--petrol-600); white-space: nowrap; }
.tag-accent { background: var(--accent-soft); color: var(--accent-ink); }
.cockpit-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.cockpit-row:last-of-type { border-bottom: 0; }
.cockpit-row .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--tint); color: var(--petrol); display: grid; place-items: center; flex: none; }
.cockpit-row .dot svg { width: 17px; height: 17px; }
.cockpit-row .t { flex: 1; min-width: 0; }
.cockpit-row .t small { display: block; color: var(--muted); font-size: .78rem; }
.cockpit-row .v { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cockpit-bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; margin: 14px 0 6px; padding: 0 2px; }
.cockpit-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--mint); }
.cockpit-bars i.on { background: var(--petrol); }
.b40 { height: 40%; } .b48 { height: 48%; } .b55 { height: 55%; } .b62 { height: 62%; } .b70 { height: 70%; } .b78 { height: 78%; } .b86 { height: 86%; } .b94 { height: 94%; }
.cockpit-foot { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.cockpit-note { font-size: .74rem; color: var(--muted); text-align: right; margin: 10px 2px 0; }
.float-card { position: absolute; left: -26px; bottom: -22px; background: var(--petrol-800); color: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-l); font-size: .86rem; display: flex; gap: 10px; align-items: center; }
.float-card svg { width: 22px; height: 22px; color: #9fe0d3; }
.float-card b { display: block; color: #fff; }

/* Unterseiten-Hero */
.page-hero { padding: 26px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -180px; top: -260px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(207, 233, 227, .85), rgba(207, 233, 227, 0)); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; margin-top: 26px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 500; color: var(--ink-2); }
.checks svg { width: 21px; height: 21px; color: var(--ok); flex: none; margin-top: 2px; }
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.glance h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.glance dl { margin: 0; }
.glance div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.glance div:last-child { border-bottom: 0; padding-bottom: 2px; }
.glance dt { font-size: .82rem; color: var(--muted); font-weight: 500; }
.glance dd { margin: 2px 0 0; font-weight: 600; font-size: .98rem; line-height: 1.4; }

/* Brotkrümel */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--petrol); text-decoration: underline; }

/* ── Karten ────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-s); position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); margin-bottom: 0; font-size: 1rem; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card-link:hover { border-color: var(--petrol); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; text-decoration: none; }
.card-link .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--petrol); font-size: .95rem; }
.card-link .more svg { width: 17px; height: 17px; transition: transform .15s; }
.card-link:hover .more svg { transform: translateX(3px); }
.card-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--petrol); display: grid; place-items: center; margin-bottom: 18px; }
.card-ico svg { width: 26px; height: 26px; }
.card-num { font-size: .8rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .08em; margin-bottom: 10px; display: block; }
.sec-dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.sec-dark .card p { color: #c4d8d4; }

/* Zielgruppen-Kacheln */
.zg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.zg a { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.zg a:hover { border-color: var(--petrol); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.zg .card-ico { margin-bottom: 4px; }
.zg b { font-size: 1.08rem; letter-spacing: -.01em; }
.zg span { font-size: .92rem; color: var(--muted); line-height: 1.45; }

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; grid-template-columns: repeat(var(--n, 4), 1fr); }
.steps li { margin: 0; counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--petrol); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 1.08rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.n3 { --n: 3; } .n4 { --n: 4; } .n5 { --n: 5; }

/* Lebensphasen */
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; position: relative; }
.phases::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--mint), var(--petrol)); }
.phases li { margin: 0; padding: 0 14px 0 0; position: relative; }
.phases .pin { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--petrol); display: grid; place-items: center; color: var(--petrol); position: relative; margin-bottom: 16px; }
.phases .pin svg { width: 22px; height: 22px; }
.phases h3 { font-size: 1.04rem; margin-bottom: .35em; }
.phases p { font-size: .94rem; color: var(--ink-2); margin-bottom: .5em; }
.phases a { font-size: .92rem; font-weight: 600; }

/* ── Fließtext ─────────────────────────────────────────── */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.content-grid.no-aside { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul li::marker { color: var(--petrol); }
.prose ol li::marker { color: var(--petrol); font-weight: 600; }
.block { padding: 56px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 8px; }
.block > .intro { font-size: 1.1rem; color: var(--ink-2); }
.note { background: var(--tint); border-left: 4px solid var(--petrol); border-radius: 4px 14px 14px 4px; padding: 16px 20px; margin: 1.4em 0; color: var(--ink); }
.note p:last-child { margin: 0; }
.note strong { color: var(--petrol-800); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 8px; box-shadow: var(--shadow-s); }
.summary h2 { font-size: 1rem; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.summary h2 svg { width: 20px; height: 20px; color: var(--accent); }
.summary ul { margin: 0; }
.summary li { color: var(--ink-2); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin: 1.2em 0; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
.tbl caption { text-align: left; padding: 14px 18px 0; font-size: .86rem; color: var(--muted); caption-side: bottom; padding-bottom: 14px; }
.tbl th, .tbl td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--tint); font-weight: 600; color: var(--ink); font-size: .9rem; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; color: var(--ink); }
.cards-in { margin-top: 26px; }
.cards-in .card { padding: 22px; }
.cards-in .card h3 { font-size: 1.06rem; }
.cards-in .card p { font-size: .97rem; }
.steps-in { margin-top: 24px; }

/* Seitenleiste */
.aside { align-self: stretch; }
.aside-in { position: sticky; top: 92px; display: grid; gap: 14px; }
.aside .price-box p { margin: 8px 0 12px; font-size: .88rem; }
.aside .toc a { padding: 5px 10px; font-size: .9rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 12px; }
.toc b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .92rem; color: var(--ink-2); text-decoration: none; line-height: 1.35; border-left: 2px solid transparent; }
.toc a:hover, .toc a.on { color: var(--petrol); background: var(--tint); }
.price-box { background: var(--petrol-900); color: #d7e6e3; border-radius: 18px; padding: 22px; }
.price-box .lbl { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9fe0d3; font-weight: 600; }
.price-box .amt { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 2px; color: #fff; }
.price-box .amt span { font-size: .95rem; color: #c4d8d4; }
.price-box .amt b { font-size: 2.3rem; letter-spacing: -.03em; }
.price-box .unit { font-size: .85rem; color: #c4d8d4; }
.price-box p { font-size: .92rem; color: #c4d8d4; margin: 12px 0 16px; }
.price-box .btn { width: 100%; }
.price-box .btn + .btn { margin-top: 8px; }
.contact-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-size: .94rem; }
.contact-mini b { display: block; margin-bottom: 6px; }
.contact-mini a { display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; margin-top: 6px; }
.contact-mini svg { width: 18px; height: 18px; }

/* Artikel-Meta */
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); margin-top: 6px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 16px; height: 16px; }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative; font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 18px; color: var(--ink-2); }
.faq .a p:last-child { margin: 0; }
.faq h3 { font: inherit; margin: 0; display: inline; letter-spacing: 0; }

/* ── Preise ────────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; position: relative; }
.price.feat { background: var(--petrol-900); border-color: var(--petrol-900); color: #d7e6e3; box-shadow: var(--shadow-l); }
.price.feat h3, .price.feat .amt b { color: #fff; }
.price .badge { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 1.15rem; margin-bottom: .3em; }
.price .for { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.price.feat .for { color: #b5ccc8; }
.price .amt { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.price .amt span { color: var(--muted); font-size: .98rem; }
.price.feat .amt span { color: #b5ccc8; }
.price .amt b { font-size: 2.6rem; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.price .unit { font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.price.feat .unit { color: #b5ccc8; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.price li { display: flex; gap: 10px; margin: 0; font-size: .96rem; color: var(--ink-2); line-height: 1.45; }
.price.feat li { color: #d7e6e3; }
.price li svg { width: 19px; height: 19px; flex: none; color: var(--ok); margin-top: 1px; }
.price.feat li svg { color: #7fd6c3; }
.price .btn { margin-top: auto; }
.prices.p2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.price-note { font-size: .9rem; color: var(--muted); margin-top: 24px; max-width: 80ch; }
.vat { background: var(--accent-soft); border-radius: 14px; padding: 14px 18px; font-size: .94rem; color: var(--ink); margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; }
.vat svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: 2px; }

/* Vergleichstabelle Heilberufe */
.yes { color: var(--ok); font-weight: 600; }

/* ── CTA-Band ──────────────────────────────────────────── */
.cta { background: var(--petrol-900); border-radius: 28px; padding: 56px; color: #d7e6e3; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(127, 214, 195, .22), rgba(127, 214, 195, 0)); }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { color: #c4d8d4; margin: 0; font-size: 1.08rem; }
.cta .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding: 0; list-style: none; font-size: .92rem; }
.cta-facts li { margin: 0; display: flex; gap: 8px; align-items: center; color: #d7e6e3; }
.cta-facts svg { width: 18px; height: 18px; color: #7fd6c3; }

/* ── Kontakt ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; margin: 0; align-items: flex-start; }
.contact-list .card-ico { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.contact-list .card-ico svg { width: 21px; height: 21px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a, .contact-list b { font-weight: 600; text-decoration: none; color: var(--ink); }
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.field label span { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); background: #fff; box-shadow: 0 0 0 4px rgba(14, 90, 102, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--petrol); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; border-radius: 12px; padding: 14px 16px; font-weight: 500; display: none; }
.form-msg.ok { display: block; background: #e3f3ec; color: #145a3e; }
.form-msg.err { display: block; background: #fbe9e2; color: #8a3414; }
.form-small { font-size: .85rem; color: var(--muted); grid-column: 1 / -1; margin: 0; }

/* ── Fußbereich ────────────────────────────────────────── */
.foot { background: var(--petrol-900); color: #b9cdc9; padding: 72px 0 28px; margin-top: 88px; font-size: .95rem; }
.foot a { color: #d7e6e3; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot .brand-t small { color: #9fb8b3; }
.foot h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #9fe0d3; margin-bottom: 14px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot li { margin: 0; }
.foot address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .86rem; color: #9fb8b3; }
.foot-note p { margin: 0; max-width: 80ch; }
.foot-note nav { display: flex; gap: 18px; flex-wrap: wrap; }
.sister { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: .9rem; }

/* Verwandte Seiten */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.related a { display: block; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.related a:hover { border-color: var(--petrol); transform: translateY(-2px); color: var(--ink); }
.related small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin-bottom: 6px; }
.related b { display: block; font-size: 1.02rem; margin-bottom: 6px; line-height: 1.3; }
.related span { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; }

/* Ratgeber-Übersicht */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.post:hover { border-color: var(--petrol); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.post-art { height: 128px; background: var(--petrol-800); position: relative; overflow: hidden; }
.post-art svg { width: 100%; height: 100%; }
.post-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-b small { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.post-b b { font-size: 1.1rem; line-height: 1.3; margin: 8px 0; letter-spacing: -.01em; }
.post-b span { font-size: .93rem; color: var(--muted); line-height: 1.5; }
.post-b em { margin-top: auto; padding-top: 14px; font-style: normal; font-size: .85rem; color: var(--muted); }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink-2); }

/* Hilfsklassen */
.center-link { text-align: center; margin: 34px 0 0; }
.center-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.center-link a:hover { text-decoration: underline; }
.center-link svg { width: 18px; height: 18px; }
.more-links { margin: 26px 0 0; color: var(--muted); font-size: .96rem; }
.narrow { max-width: 860px; }
.narrow-l { max-width: 1000px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.m0 { margin: 0; }
.h3 { font-size: 1.2rem; letter-spacing: -.012em; }
.foot h2.mt { margin-top: 28px; }
.summary h2.nobar { margin-bottom: 8px; }
.steps.steps-in { grid-template-columns: repeat(2, 1fr); }
.art-hero { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.contact-card h3 { margin-top: 26px; }
.contact-card .checks { margin-bottom: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ── Responsiv ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .zg { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: 1fr; gap: 22px; }
  .phases::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--mint), var(--petrol)); }
  .phases li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0; }
  .phases .pin { grid-row: 1 / span 3; margin: 0; }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-in { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .aside .toc { display: none; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .page-hero-grid, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .cockpit { margin: 0 6px 18px; }
  .float-card { left: 10px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 26px; }
  .cta .btn-row { justify-content: flex-start; }
  .sec { padding: 64px 0; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .zg, .g2, .g3, .g4, .steps, .steps.steps-in, .posts, .prices, .prices.p2, .form, .foot-grid { grid-template-columns: 1fr; }
  .lead { font-size: 1.08rem; }
  .sec-head { margin-bottom: 30px; }
  .block { padding: 44px 0; }
  .card { padding: 22px; }
  .float-card { position: static; margin-top: 12px; }
  .cockpit { padding-bottom: 22px; }
  .btn-row .btn { flex: 1 1 auto; }
  .tbl table { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .nav, .foot, .cta, .aside, .burger { display: none !important; }
  body { background: #fff; }
}
