/* =========================================================
   Design System v3 – „seriös & editorial“
   Navy + Petrol (aus dem Logo) · Serifen-Überschriften · Papierweiß
   Genutzt von beamtenberatung-online.de und bvs-beratung.de
   ========================================================= */

/* ---------- Schriften (lokal, DSGVO-freundlich) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-ext-opsz-italic.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif"; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #0b1630;
  --navy-900: #0e1c3a;
  --navy-800: #16284e;
  --navy-700: #1f3566;
  --ink:      #14213d;
  --body:     #3d4859;
  --muted:    #626d7e;

  --accent-900: #173f49;
  --accent-800: #1f5360;
  --accent-700: #286878;  /* Buttons: Kontrast zu Weiß 6,3:1 */
  --accent-600: #347b8c;
  --accent-500: #4a8b9d;  /* Logo-Petrol */
  --accent-300: #9ccbd6;
  --accent-100: #d5e9ee;
  --accent-050: #edf5f7;
  --gold-500:   #c9971c;

  --paper:   #f7f5f0;     /* warmes Papierweiß */
  --paper-2: #efebe2;
  --white:   #ffffff;
  --line:    #e2ddd2;     /* Haarlinie auf Papier */
  --line-c:  #e4e8ee;     /* Haarlinie auf Weiß */

  --shadow-sm: 0 1px 2px rgba(20,33,61,.05);
  --shadow-md: 0 10px 30px -12px rgba(20,33,61,.18);
  --shadow-lg: 0 30px 60px -24px rgba(20,33,61,.30);
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --container: 1200px;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
}

/* ---------- Grundlagen ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { font-family: var(--sans); color: var(--body); background: var(--white); line-height: 1.68; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--navy-700); }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.15; overflow-wrap: break-word; hyphens: manual; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; font-optical-sizing: auto; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.serif { font-family: var(--serif); }
p { margin: 0 0 1rem; }
strong { color: var(--ink); font-weight: 650; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: .35rem 0; }
p, li, blockquote { overflow-wrap: break-word; }
a[href^="mailto:"] { word-break: break-all; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-100); color: var(--ink); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.img-missing { display: none !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 5vw + 32px, 112px) 0; }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--navy { background: var(--navy-900); color: #c9d3e6; }
.section--tight { padding-block: clamp(44px, 3vw + 20px, 72px); }
.narrow { max-width: 780px; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--accent-300); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 3vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: .9rem; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .section-head p { color: #b3c0d6; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--sans); font-weight: 650; font-size: .98rem; line-height: 1.2; padding: 14px 24px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--accent-700); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 18px -8px rgba(40,104,120,.55); }
.btn--primary:hover { background: var(--accent-800); color: #fff; transform: translateY(-1px); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: #c9c3b6; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.6); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-c); }
.btn--ghost:hover { border-color: var(--accent-500); color: var(--accent-800); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { color: var(--accent-800); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link-arrow, .more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--accent-700); max-width: 100%; }
.link-arrow svg, .more svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .18s; }
.link-arrow:hover svg, .more:hover svg, a:hover .more svg { transform: translateX(3px); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy-950); color: #aab5cc; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; max-width: 1320px; }
.topbar a { color: #dbe2f0; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; min-width: 0; }
.topbar__contact span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__left { display: inline-flex; align-items: center; gap: .5rem; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-c); }
.site-header .container { max-width: 1320px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; max-width: 250px; object-fit: contain; object-position: left center; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { margin: 0; }
.nav-menu a { position: relative; display: inline-block; padding: 10px 10px; font-weight: 550; color: var(--ink); font-size: .9rem; white-space: nowrap; }
.nav-menu a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--accent-500); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--accent-800); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-cta { display: none; list-style: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.only-xl, .nav-cta-secondary { display: none; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(74,139,157,.13), rgba(74,139,157,0)); pointer-events: none; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(52px, 6vw, 96px) 0; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 3.9rem); line-height: 1.06; letter-spacing: -.02em; }
.hero h1 em, .page-hero h1 em { font-style: italic; color: var(--accent-700); font-weight: 500; }
.hero .lead { color: var(--body); font-size: 1.15rem; margin-top: 1.4rem; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); list-style: none; padding-left: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.hero-trust svg { width: 17px; height: 17px; color: var(--accent-600); flex-shrink: 0; }

/* ---------- Formular-Karte ---------- */
.leadcard { position: relative; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.leadcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent-700), var(--accent-500)); }
.leadcard__head { padding: 28px 28px 0; }
.leadcard__head h2, .leadcard__head h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.leadcard__head p { margin: .45rem 0 0; color: var(--muted); font-size: .93rem; }
.leadcard__body { padding: 20px 28px 28px; }
.steps-dots { display: flex; gap: 6px; margin-bottom: 20px; }
.steps-dots span { height: 4px; flex: 1; background: var(--paper-2); border-radius: 4px; transition: background .25s; }
.steps-dots span.on { background: var(--accent-600); }
.step { display: none; }
.step.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform:none;} }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step > p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.step-count { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-700); margin-bottom: .35rem; }
.opt { display: flex; align-items: center; gap: .85rem; width: 100%; border: 1.5px solid var(--line-c); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); font-size: .97rem; text-align: left; font-family: inherit; transition: .15s; }
.opt:hover { border-color: var(--accent-500); background: var(--accent-050); }
.opt.sel { border-color: var(--accent-600); background: var(--accent-050); }
.opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9ced8; flex-shrink: 0; display: grid; place-items: center; }
.opt.sel .dot { border-color: var(--accent-600); }
.opt.sel .dot::after { content:""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-600); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-c); border-radius: 10px; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 4px rgba(74,139,157,.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b4452f; box-shadow: 0 0 0 4px rgba(180,69,47,.10); }
.field-error { display: block; color: #9a3a26; font-size: .82rem; font-weight: 600; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.check { display: flex; align-items: flex-start; gap: .65rem; font-size: .86rem; color: var(--muted); margin: 6px 0 16px; min-width: 0; overflow-wrap: break-word; }
.check input { margin-top: 3px; accent-color: var(--accent-700); flex-shrink: 0; width: 16px; height: 16px; }
.check.has-error { color: #9a3a26; }
.step-nav { display: flex; gap: 10px; margin-top: 6px; }
.leadcard__note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }
.trust-badge { height: 30px; width: auto; margin-bottom: 16px; }
.form-msg { display: none; border-radius: 10px; padding: 14px 16px; font-size: .93rem; margin-top: 12px; }
.form-msg.show { display: block; }
.form-msg--info { background: var(--accent-050); color: var(--accent-900); border: 1px solid var(--accent-100); }
.form-msg--error { background: #fbf1ec; color: #7a2f1f; border: 1px solid #efd3c7; }

/* ---------- Porträt-Block ---------- */
.portrait-block { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.portrait-frame { position: relative; max-width: 460px; margin: 0; }
.portrait-frame .frame { position: relative; }
.portrait-frame .frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--accent-500); border-radius: var(--r-lg); opacity: .55; }
.portrait-frame .pic { position: relative; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--paper-2), var(--accent-100)); aspect-ratio: 1/1; overflow: hidden; box-shadow: var(--shadow-md); }
.portrait-frame .pic img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame figcaption { position: relative; margin-top: 2.2rem; font-size: .9rem; color: var(--muted); }
.portrait-frame figcaption strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.45; color: var(--ink); border-left: 2px solid var(--accent-500); padding: .2rem 0 .2rem 1.4rem; margin: 1.8rem 0; }
.pull-quote p { margin: 0; }
.pull-quote cite { display: block; margin-top: .7rem; font-family: var(--sans); font-style: normal; font-size: .88rem; color: var(--muted); }
.contact-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Nummerierte Liste (statt Icon-Kacheln) ---------- */
.numlist { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numlist > li { counter-increment: n; border-top: 1px solid var(--line); padding: 1.7rem 0 2rem; margin: 0; min-width: 0; }
.numlist > li::before { content: counter(n, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--accent-600); margin-bottom: .7rem; font-weight: 600; }
.numlist h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.numlist p { font-size: .97rem; margin: 0; color: var(--body); }
.section--paper .numlist > li, .section--paper-2 .numlist > li { border-color: #d9d3c6; }

/* ---------- Themen mit Bild ---------- */
.topics { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.2rem, 2.2vw, 2rem); }
.topic { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: box-shadow .2s, border-color .2s, transform .2s; }
.topic:hover { box-shadow: var(--shadow-md); border-color: #d5dbe4; transform: translateY(-2px); color: inherit; }
.topic__img { background: linear-gradient(160deg, var(--paper-2), var(--accent-100)); min-height: 220px; }
.topic__img img { width: 100%; height: 100%; object-fit: cover; }
.topic__body { padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; min-width: 0; }
.topic__body h3 { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .5vw, 1.4rem); font-weight: 600; margin-bottom: .6rem; line-height: 1.22; }
.topic__body p { font-size: .95rem; flex: 1; margin-bottom: 1rem; }

/* ---------- Ablauf ---------- */
.process { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 3vw, 3rem); list-style: none; padding: 0; margin: 0; position: relative; counter-reset: p; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 60px; right: calc(-1 * clamp(1.5rem, 3vw, 3rem) + 12px); height: 1px; background: var(--line); }
.process li { position: relative; margin: 0; counter-increment: p; min-width: 0; }
.process li::before { content: counter(p); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent-500); color: var(--accent-700); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 1.2rem; position: relative; }
.section--paper .process li::before { background: var(--paper); }
.process h3 { margin-bottom: .45rem; }
.process p { font-size: .96rem; margin: 0; }

/* ---------- Kundenstimmen ---------- */
.testimonials { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.testi-stack { display: grid; gap: clamp(1.2rem, 2vw, 1.6rem); }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; margin: 0; }
.testi .stars { color: var(--gold-500); letter-spacing: 3px; font-size: .95rem; margin-bottom: .9rem; }
.testi blockquote { font-size: .97rem; color: var(--body); margin: 0 0 1.3rem; flex: 1; }
.testi--feature blockquote { font-family: var(--serif); font-size: clamp(1.12rem, 1rem + .45vw, 1.32rem); line-height: 1.55; color: var(--ink); }
.testi--feature { padding: clamp(28px, 3.4vw, 44px); }
.testi__who { display: flex; align-items: center; gap: .85rem; border-top: 1px solid var(--line-c); padding-top: 1rem; }
.testi__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.testi__who .n { font-weight: 700; color: var(--ink); font-size: .95rem; }
.testi__who .r { color: var(--muted); font-size: .86rem; }

/* ---------- Fakten / Transparenz ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; padding: 0; margin: 0; }
.facts li { padding: 1.6rem 1.6rem 1.6rem 0; margin: 0; border-right: 1px solid rgba(255,255,255,.1); min-width: 0; }
.facts li + li { padding-left: 1.6rem; }
.facts li:last-child { border-right: 0; }
.facts .k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-300); margin-bottom: .6rem; }
.facts .v { font-family: var(--serif); color: #fff; font-size: 1.12rem; line-height: 1.4; }
.facts a { color: #fff; text-decoration: underline; text-decoration-color: rgba(156,203,214,.5); text-underline-offset: 4px; }
.facts a:hover { text-decoration-color: #fff; }
.facts-foot { margin-top: 1.8rem; font-size: .9rem; color: #a9b5cc; }
.facts-foot a { color: #dfe6f2; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }

/* ---------- Grids & Karten (allgemein) ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid > * { min-width: 0; }
.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)); }
.card { display: block; background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); padding: clamp(22px, 2.2vw, 28px); color: inherit; transition: box-shadow .2s, border-color .2s, transform .2s; }
a.card:hover { box-shadow: var(--shadow-md); border-color: #d5dbe4; transform: translateY(-2px); color: inherit; }
.card h2, .card h3 { margin-bottom: .45rem; }
.card p { font-size: .96rem; margin: 0; }
.advisor-card { display: flex; align-items: center; gap: 1rem; }
.advisor-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--paper-2); }
.advisor-card .n { font-weight: 700; color: var(--ink); }
.advisor-card .r { color: var(--muted); font-size: .9rem; }
.benefits { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.4rem 0 0; list-style: none; padding: 0; }
.benefits li { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); margin: 0; font-weight: 550; font-size: .95rem; }
.benefits li svg { width: 19px; height: 19px; color: var(--accent-600); flex-shrink: 0; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(40px, 5vw, 80px) 0 clamp(44px, 5vw, 84px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -15%; top: -40%; width: 55%; height: 160%; background: radial-gradient(closest-side, rgba(74,139,157,.11), rgba(74,139,157,0)); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero__grid.single { grid-template-columns: minmax(0,1fr); max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.018em; }
.page-hero__grid > div > p { color: var(--body); margin-top: 1.1rem; font-size: 1.1rem; max-width: 60ch; }
.page-hero__media { position: relative; }
.page-hero__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--accent-500); border-radius: var(--r-lg); opacity: .45; }
.page-hero__media .pic { position: relative; border-radius: var(--r-lg); aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--shadow-md); background: linear-gradient(160deg, var(--paper-2), var(--accent-100)); }
.page-hero__media .pic img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "›"; color: #a39c8e; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-800); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Fließtext ---------- */
.prose { max-width: 760px; min-width: 0; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.05rem); margin: 3rem 0 1rem; }
.prose h3 { font-size: 1.18rem; margin: 2rem 0 .7rem; color: var(--ink); }
.prose p, .prose li { color: var(--body); }
.prose a { text-decoration: underline; text-decoration-color: var(--accent-300); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: var(--accent-700); }
.prose a.btn { text-decoration: none; }
.prose ul li::marker { color: var(--accent-500); }
.prose ol li::marker { color: var(--accent-700); font-weight: 700; }
.prose figure { margin: 2rem 0; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, var(--paper-2), var(--accent-100)); aspect-ratio: 16/9; }
.prose figure img { width: 100%; height: 100%; object-fit: cover; }
.prose .lead-p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.55; color: var(--ink); }
.callout, .prose blockquote.callout { background: var(--paper); border-left: 3px solid var(--accent-500); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; margin: 1.8rem 0; color: var(--ink); }
.callout > *:last-child { margin-bottom: 0; }
.callout.quote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; }
.callout .src { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.table-wrap { overflow-x: auto; margin: 1.8rem 0; border: 1px solid var(--line-c); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 480px; }
table.data th, table.data td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-c); vertical-align: top; }
table.data thead th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: .88rem; letter-spacing: .01em; }
table.data tbody th { color: var(--ink); font-weight: 650; }
table.data tbody tr:nth-child(even) { background: #fafaf7; }
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
.mini-feats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 1.8rem 0; }
.mini-feat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; overflow-wrap: break-word; }
.mini-feat .h { font-weight: 700; color: var(--ink); font-size: .97rem; margin-bottom: .3rem; }
.mini-feat .t { font-size: .9rem; color: var(--body); }

/* ---------- Artikel-Layout / Inhaltsverzeichnis ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 3rem; }
.article-layout > * { min-width: 0; }
@media (min-width: 1001px) { .article-layout.with-toc { grid-template-columns: 260px minmax(0,1fr); gap: clamp(3rem, 5vw, 5rem); } }
.toc-col { display: grid; gap: 1.4rem; align-content: start; position: sticky; top: 104px; align-self: start; }
.toc h2 { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .9rem; font-weight: 700; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-c); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.toc a:hover, .toc a.active { color: var(--accent-800); border-left-color: var(--accent-500); }
.contact-mini { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.contact-mini .advisor-card img { width: 52px; height: 52px; }
.contact-mini p { font-size: .9rem; margin: .9rem 0; color: var(--body); }
.contact-mini .btn { width: 100%; margin-top: .4rem; padding: 12px 16px; font-size: .92rem; }

/* FAQ */
.faq { margin: 1.4rem 0 0; border-top: 1px solid var(--line-c); }
.faq details { border-bottom: 1px solid var(--line-c); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0 !important; font-size: 1.06rem; color: var(--ink); font-weight: 650; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--accent-600); border-bottom: 2px solid var(--accent-600); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover h3 { color: var(--accent-800); }
.faq .faq__a { padding: 0 0 20px; }
.faq .faq__a > *:last-child { margin-bottom: 0; }

/* ---------- Ratgeber ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2.2rem; list-style: none; padding: 0; }
.chips li { margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: .4rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-c); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; }
.chips a:hover { border-color: var(--accent-500); color: var(--accent-800); }
.chips a.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chips .count { font-weight: 500; opacity: .65; font-size: .82rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d5dbe4; color: inherit; }
.post-card__img { aspect-ratio: 16/9; background: linear-gradient(160deg, var(--paper-2), var(--accent-100)); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-700); margin-bottom: .6rem; }
.post-card h2, .post-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.28; margin-bottom: .6rem; }
.post-card p { font-size: .93rem; color: var(--body); flex: 1; margin-bottom: 0; }
.post-card .more { margin-top: 1rem; }
.featured-post { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); overflow: hidden; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); color: inherit; transition: box-shadow .2s, border-color .2s; }
.featured-post:hover { box-shadow: var(--shadow-md); border-color: #d5dbe4; color: inherit; }
.featured-post .post-card__img { aspect-ratio: auto; min-height: 320px; }
.featured-post__body { padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.featured-post h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .9rem; }
.featured-post p { font-size: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem; margin-top: 1.4rem; color: var(--muted); font-size: .9rem; }
.article-meta .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--accent-800); font-weight: 650; font-size: .8rem; }
.article-meta .by { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 600; }
.article-meta .by img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.article-hero-img { margin: 0 0 2.4rem; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(160deg, var(--paper-2), var(--accent-100)); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.article-aside { position: sticky; top: 104px; display: grid; gap: 1.2rem; }
.aside-card { background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); padding: 22px; }
.aside-card h2 { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .8rem; font-weight: 700; }
.aside-card p { font-size: .92rem; }
.aside-card--accent { background: var(--navy-900); border: 0; color: #c9d3e6; }
.aside-card--accent h2 { color: var(--accent-300); }
.aside-card--accent .t { font-family: var(--serif); font-size: 1.3rem; color: #fff; line-height: 1.3; margin-bottom: .6rem; font-weight: 600; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { margin: 0; border-top: 1px solid var(--line-c); }
.aside-card li:first-child { border-top: 0; }
.aside-card li a { display: block; padding: 11px 0; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.38; }
.aside-card li a:hover { color: var(--accent-700); }
.author-box { display: flex; gap: 1.3rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-top: 3rem; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--paper-2); }
.author-box .n { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.author-box .r { font-size: .9rem; color: var(--muted); margin: .15rem 0 .6rem; }
.author-box .links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .92rem; font-weight: 650; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent-600); transform-origin: left; transform: scaleX(0); }

/* ---------- Abschluss-Band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #c9d3e6; border-radius: var(--r-lg); padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(156,203,214,.18); box-shadow: 0 0 0 40px rgba(156,203,214,.04), 0 0 0 80px rgba(156,203,214,.03); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; min-width: 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.cta-band p { color: #b9c5da; margin: .9rem 0 0; max-width: 54ch; }
.cta-band .cta-side { display: grid; gap: .8rem; }
.cta-band .cta-person { display: flex; align-items: center; gap: .8rem; color: #b9c5da; font-size: .9rem; margin-bottom: .4rem; }
.cta-band .cta-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); background: var(--navy-700); flex-shrink: 0; }
.cta-band .cta-person strong { color: #fff; display: block; font-weight: 650; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-c); min-width: 0; }
.ci-item > div { min-width: 0; }
.ci-item .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--accent-700); display: grid; place-items: center; flex-shrink: 0; }
.ci-item .ic svg { width: 19px; height: 19px; }
.ci-item .l { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.ci-item .v { font-weight: 650; color: var(--ink); font-size: 1.04rem; overflow-wrap: anywhere; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-md); min-width: 0; position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent-700), var(--accent-500)); }
.form-card h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); font-size: .94rem; margin-bottom: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9eabc4; padding: clamp(56px, 6vw, 84px) 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr); gap: clamp(1.5rem, 3vw, 3rem); padding-bottom: 48px; }
.footer-grid > * { min-width: 0; }
.site-footer h2, .site-footer h4 { font-family: var(--sans); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2rem; font-weight: 700; }
.site-footer a { color: #c6cfe0; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 40px; width: auto; max-width: min(250px, calc(100% - 28px)); object-fit: contain; margin-bottom: 1.2rem; background: #fff; padding: 10px 14px; border-radius: 10px; box-sizing: content-box; }
.footer-brand p { max-width: 36ch; color: #9eabc4; font-size: .92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .6rem 0; }
.fc { display: flex; gap: .65rem; align-items: flex-start; margin: .75rem 0; min-width: 0; }
.fc > * { min-width: 0; overflow-wrap: anywhere; }
.fc svg { width: 17px; height: 17px; color: var(--accent-300); flex-shrink: 0; margin-top: 4px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .82rem; color: #7f8ca8; line-height: 1.6; }
.footer-legal a { color: #a7b3ca; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #7f8ca8; }
.footer-bottom a { color: #a7b3ca; }
.footer-bottom .fb-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* ---------- Mobile Aktionsleiste ---------- */
.mobilebar { display: none; }

/* ---------- Scroll-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .post-card, .topic, .post-card__img img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-menu, .topbar__left, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line-c); padding: 10px 24px 24px; gap: 0; box-shadow: var(--shadow-md); max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav-menu.open li { border-bottom: 1px solid var(--line-c); }
  .nav-menu.open li.nav-cta { border-bottom: 0; }
  .nav-menu.open a { display: block; padding: 15px 2px; font-size: 1.02rem; white-space: normal; }
  .nav-menu.open a::after { display: none; }
  .nav-menu.open .nav-cta { display: block; margin-top: 16px; }
  .nav-menu.open .nav-cta a { color: #fff; padding: 15px 20px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(3) { padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 1080px) {
  .article-wrap { grid-template-columns: minmax(0,1fr); }
  .article-aside { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .topic { grid-template-columns: minmax(0,1fr); }
  .topic__img { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 1000px) {
  .hero-grid, .page-hero__grid, .portrait-block, .testimonials, .cta-band { grid-template-columns: minmax(0,1fr); }
  .hero .leadcard { max-width: 560px; }
  .page-hero__media { max-width: 520px; }
  .portrait-frame { max-width: 380px; }
  .contact-grid { grid-template-columns: minmax(0,1fr); }
  .toc-col { position: static; }
  .grid-3, .numlist { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .featured-post { grid-template-columns: minmax(0,1fr); }
  .featured-post .post-card__img { aspect-ratio: 16/9; min-height: 0; }
}
@media (max-width: 760px) {
  .grid-2, .topics { grid-template-columns: minmax(0,1fr); }
  .mini-feats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-row { grid-template-columns: minmax(0,1fr); }
  .article-aside { grid-template-columns: minmax(0,1fr); }
  .author-box { flex-direction: column; align-items: flex-start; }
  .process { grid-template-columns: minmax(0,1fr); gap: 1.6rem; }
  .process li:not(:last-child)::after { left: 24px; right: auto; top: 46px; bottom: calc(-1.6rem - 2px); width: 1px; height: auto; }
  .process li { padding-left: 68px; }
  .process li::before { position: absolute; left: 0; top: -4px; margin: 0; }
  body { padding-bottom: 76px; }
  .mobilebar { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line-c); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transition: transform .25s ease; box-shadow: 0 -10px 24px -18px rgba(20,33,61,.4); }
  .mobilebar .btn { padding: 13px 10px; font-size: .95rem; }
  .mobilebar.hide { transform: translateY(110%); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .grid-3, .grid-4, .mini-feats, .numlist { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .topbar__contact { gap: 1rem; font-size: .8rem; }
  .hide-sm { display: none; }
  .facts { grid-template-columns: minmax(0,1fr); }
  .facts li, .facts li + li { padding: 1.2rem 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .facts li:first-child { border-top: 0; }
  .page-hero__media { display: none; }
  .portrait-frame .frame::before { inset: 14px -14px -14px 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Abschluss-Band einspaltig (z. B. im Fließtext) */
.cta-band--stack { grid-template-columns: minmax(0,1fr); }

/* Feinschliff v3.1 */
.cta-band .eyebrow { color: var(--accent-300); }
.nowrap { white-space: nowrap; }
@media (max-width: 620px) { .topbar__contact .hide-sm { display: none; } }

/* Testimonials: Feature-Zitat bleibt beim Scrollen stehen, Zitatzeichen */
.testi--feature { position: relative; overflow: hidden; }
.testi--feature::before { content: "\201E"; position: absolute; right: clamp(18px, 2.4vw, 32px); top: -.35em; font-family: var(--serif); font-size: 9rem; line-height: 1; color: var(--accent-100); pointer-events: none; }
.testi--feature > * { position: relative; }
@media (min-width: 1001px) { .testimonials > .testi--feature { position: sticky; top: 110px; } }
.eyebrow { hyphens: none; -webkit-hyphens: none; }

/* Fallback, solange Fotos fehlen (vor bilder-holen.sh): Monogramm statt leerer Fläche */
.portrait-frame .pic:has(img.img-missing), .page-hero__media .pic:has(img.img-missing) { display: grid; place-items: center; }
.portrait-frame .pic:has(img.img-missing)::after, .page-hero__media--portrait .pic:has(img.img-missing)::after { content: "LM"; font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 9vw, 7rem); letter-spacing: .04em; color: var(--accent-500); opacity: .55; }

/* =====================================================================
   v4 – Kundenstimmen, Suche, Fachseiten (Bundesländer/Expertise)
   ===================================================================== */
/* Porträt im Hochformat (neues Foto) */
.portrait-frame .pic { aspect-ratio: 4/5; }
.portrait-frame .pic img { object-position: center 30%; }

/* Kundenstimmen: drei gleich hohe Karten, Name immer unten */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.1rem, 2vw, 1.6rem); align-items: stretch; }
.testimonials > .testi, .testimonials > .testi--feature { position: relative; top: auto; }
.testi { position: relative; height: 100%; padding: clamp(24px, 2.4vw, 32px); }
.testi::before { content: "\201E"; position: absolute; right: 22px; top: -.32em; font-family: var(--serif); font-size: 6.5rem; line-height: 1; color: var(--accent-100); pointer-events: none; }
.testi > * { position: relative; }
.testi .testi__h { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; line-height: 1.3; color: var(--ink); margin: 0 0 .9rem; max-width: 22ch; }
.testi blockquote { font-size: .95rem; line-height: 1.65; color: var(--body); margin: 0 0 1.4rem; flex: 1 1 auto; }
.testi__who { margin-top: auto; }
.testi__who img { width: 52px; height: 52px; }
.testi--feature::before { display: none; }
.testi-note { margin-top: 1.4rem; font-size: .86rem; color: var(--muted); }
@media (max-width: 1000px) {
  .testimonials { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 82%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .testimonials > .testi { scroll-snap-align: start; }
}
@media (max-width: 620px) { .testimonials { grid-auto-columns: 88%; } }

/* Suche */
.search-btn { display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 12px 0 12px; border: 1px solid var(--line-c); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 550; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.search-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.search-btn:hover { border-color: var(--accent-500); box-shadow: 0 0 0 3px var(--accent-050); }
.search-btn kbd { font: 600 .72rem/1 var(--sans); color: var(--muted); border: 1px solid var(--line-c); border-radius: 5px; padding: 3px 6px; background: var(--paper); }
.search-btn .lbl, .search-btn kbd { display: none; }
.search-btn { width: 42px; justify-content: center; padding: 0; }
@media (min-width: 1401px) { .search-btn--wide { width: auto; padding: 0 12px; } .search-btn--wide .lbl, .search-btn--wide kbd { display: inline-block; } }
@media (max-width: 1240px) {
  .nav-actions { display: flex; margin-left: auto; }
  .nav-actions > .btn { display: none; }
  .nav-toggle { order: 3; margin-left: 6px; }
}
.search-dlg { width: min(720px, calc(100vw - 32px)); max-height: min(78vh, 760px); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); margin: 9vh auto auto; overflow: hidden; color: var(--ink); background: #fff; }
.search-dlg[open] { display: flex; flex-direction: column; }
.search-dlg::backdrop { background: rgba(11,22,48,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.search-bar { display: flex; align-items: center; gap: .7rem; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line-c); }
.search-bar svg { width: 20px; height: 20px; color: var(--accent-700); flex-shrink: 0; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.08rem; padding: 8px 0; background: transparent; color: var(--ink); }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-close { border: 1px solid var(--line-c); background: var(--paper); border-radius: 6px; font: 600 .74rem/1 var(--sans); color: var(--muted); padding: 7px 9px; cursor: pointer; }
.search-body { overflow-y: auto; padding: 8px 8px 12px; }
.search-status { padding: 12px 14px 6px; font-size: .84rem; color: var(--muted); }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { margin: 0; }
.search-results a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--ink); }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--accent-050); }
.search-results .sr-s { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 3px; }
.search-results .sr-t { display: block; font-weight: 650; font-size: 1rem; line-height: 1.35; }
.search-results .sr-x { display: block; font-size: .88rem; color: var(--muted); margin-top: 3px; line-height: 1.5; overflow-wrap: anywhere; }
.search-results mark { background: #fff1b8; color: inherit; border-radius: 2px; padding: 0 1px; }
.search-suggest { display: flex; flex-wrap: wrap; gap: .5rem; padding: 4px 14px 10px; }
.search-suggest button { border: 1px solid var(--line-c); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .84rem; color: var(--ink); cursor: pointer; }
.search-suggest button:hover { border-color: var(--accent-500); }
.search-foot { border-top: 1px solid var(--line-c); padding: 10px 18px; font-size: .76rem; color: var(--muted); background: var(--paper); }
@media (max-width: 620px) { .search-dlg { margin-top: 12px; max-height: calc(100vh - 24px); } .search-foot { display: none; } }
.search-page .search-bar { border: 1px solid var(--line-c); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); max-width: 720px; }
.search-page .search-results { max-width: 820px; margin-top: 1.4rem; }
.search-page .search-results a { padding: 18px 16px; border-bottom: 1px solid var(--line-c); border-radius: 0; }

/* Fakten-Karte im Seitenkopf (Bundesländer/Expertise) */
.keyfacts { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; min-width: 0; }
.keyfacts__head { background: var(--navy-900); color: #fff; padding: 18px 22px; }
.keyfacts__head .eyebrow { color: var(--accent-300); margin-bottom: .35rem; }
.keyfacts__head h2 { color: #fff; font-size: 1.25rem; margin: 0; }
.keyfacts dl { margin: 0; padding: 6px 22px 10px; }
.keyfacts dl > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-c); }
.keyfacts dl > div:last-child { border-bottom: 0; }
.keyfacts dt { font-size: .9rem; color: var(--muted); min-width: 0; }
.keyfacts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; font-size: .95rem; }
.keyfacts dd .pos { color: var(--accent-700); }
.keyfacts__foot { font-size: .78rem; color: var(--muted); padding: 0 22px 16px; }

/* Bundesland-Navigation */
.land-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .7rem; }
.land-grid a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 14px 16px; background: #fff; border: 1px solid var(--line-c); border-radius: var(--r); color: var(--ink); font-weight: 600; font-size: .95rem; min-width: 0; transition: border-color .2s, box-shadow .2s, transform .2s; }
.land-grid a span { min-width: 0; overflow-wrap: anywhere; }
.land-grid a svg { width: 16px; height: 16px; color: var(--accent-500); flex-shrink: 0; }
.land-grid a:hover { border-color: var(--accent-500); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.land-grid a.hl { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.land-grid a.hl svg { color: var(--accent-300); }
.land-grid a[aria-current="page"] { border-color: var(--accent-700); box-shadow: inset 0 0 0 1px var(--accent-700); }
@media (max-width: 1000px) { .land-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px) { .land-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 380px) { .land-grid { grid-template-columns: minmax(0,1fr); } }
.land-highlight { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-bottom: 1.6rem; }
@media (max-width: 760px) { .land-highlight { grid-template-columns: minmax(0,1fr); } }
.land-card { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--navy-900); color: #c9d3e6; min-width: 0; }
.land-card .eyebrow { color: var(--accent-300); }
.land-card h3 { color: #fff; font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-bottom: .6rem; }
.land-card p { color: #b3c0d6; font-size: .97rem; }
.land-card ul { list-style: none; margin: .4rem 0 1.4rem; padding: 0; display: grid; gap: .45rem; font-size: .93rem; color: #e3e9f3; }
.land-card ul li { display: flex; gap: .55rem; align-items: flex-start; }
.land-card ul svg { width: 17px; height: 17px; color: var(--accent-300); flex-shrink: 0; margin-top: 3px; }
.land-card .more { color: var(--accent-300); margin-top: auto; }
.land-card:hover { color: #c9d3e6; }

/* Vergleichstabelle Bundesländer */
table.data.compare { min-width: 860px; font-size: .9rem; }
table.data.compare td, table.data.compare th { padding: 12px 14px; }
table.data.compare tbody th a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-300); text-underline-offset: 3px; }
.yes { color: var(--accent-700); font-weight: 650; }
.no { color: var(--muted); }

/* Biometrische Risiken (bvs) */
.risks { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.risk { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); padding: 22px 20px; min-width: 0; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
a.risk:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d5dbe4; color: inherit; }
.risk .no { font-family: var(--serif); font-size: .95rem; color: var(--accent-500); font-weight: 600; }
.risk h3 { font-family: var(--serif); font-size: 1.22rem; margin: .35rem 0 .55rem; }
.risk p { font-size: .9rem; color: var(--body); margin: 0 0 1rem; }
.risk .fact { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-c); font-size: .84rem; color: var(--ink); }
.risk .fact strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--accent-700); line-height: 1.15; margin-bottom: .2rem; }
@media (max-width: 1240px) { .risks { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px) { .risks { grid-template-columns: minmax(0,1fr); } }
.src-note { font-size: .8rem; color: var(--muted); margin-top: 1.2rem; }
.src-note a { color: var(--muted); text-decoration: underline; }

/* Quellen & Stand */
details.sources { margin-top: 3rem; border: 1px solid var(--line-c); border-radius: var(--r); background: var(--paper); }
details.sources summary { cursor: pointer; padding: 16px 20px; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.sources summary::-webkit-details-marker { display: none; }
details.sources summary::after { content: "+"; font-weight: 400; color: var(--accent-700); }
details.sources[open] summary::after { content: "–"; }
details.sources > div { padding: 0 20px 18px; font-size: .88rem; }
details.sources ol { margin: 0 0 .8rem; padding-left: 1.2rem; }
details.sources li { margin: .3rem 0; overflow-wrap: anywhere; }
.stand { font-size: .84rem; color: var(--muted); }

/* Hinweis-Box „Gut zu wissen“ */
.tip { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 14px; background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: var(--r); padding: 18px 20px; margin: 1.6rem 0; }
.tip svg { width: 22px; height: 22px; color: var(--accent-700); margin-top: 2px; }
.tip p { margin: 0; color: var(--ink); font-size: .96rem; }
.tip strong { color: var(--accent-900); }

/* Drei Bereiche (bvs) */
.areas.areas--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1080px) { .areas.areas--3 { grid-template-columns: minmax(0,1fr); } }

/* Online-Beratung Kacheln */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.channel { background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); padding: 24px; min-width: 0; }
.channel .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-050); color: var(--accent-700); margin-bottom: 1rem; }
.channel .ic svg { width: 22px; height: 22px; }
.channel h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.channel p { font-size: .94rem; margin: 0; }
@media (max-width: 1000px) { .channels { grid-template-columns: minmax(0,1fr); } }
.city-list { columns: 3; column-gap: 2rem; list-style: none; padding: 0; margin: 1rem 0 0; font-size: .95rem; }
.city-list li { break-inside: avoid; padding: 4px 0; }
@media (max-width: 760px) { .city-list { columns: 2; } }
.footer-laender { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 4px; font-size: .84rem; color: #9eabc4; line-height: 1.9; }
.footer-laender span { color: #c9d3e6; font-weight: 600; margin-right: .3rem; }
.footer-laender a { color: #9eabc4; white-space: nowrap; }
.footer-laender a:hover { color: #fff; }
@media (max-width: 620px) { .nav { gap: .6rem; } .brand img { max-width: min(190px, 52vw); } .search-btn { width: 40px; height: 40px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (min-width: 1241px) { .risks { grid-template-rows: auto; } .risk { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; } .risk .fact { margin-top: 0; align-self: start; } }
.prose ul.city-list { padding-left: 0; }
.prose ul.city-list li { margin: 0; padding: 4px 0; }
.prose ul.city-list li::marker { content: none; }
table.data.compact { min-width: 0; }
table.data.compact td:last-child { white-space: nowrap; font-weight: 650; color: var(--ink); text-align: right; }
table.data.compact thead th:last-child { text-align: right; }
@media (max-width: 620px) { table.data.compact th, table.data.compact td { padding: 12px 12px; } table.data.compact td:last-child { white-space: normal; min-width: 5.5em; } }

/* =====================================================================
   v5 – Bestandskunden: Kunden-App-Visualisierung & Service-Formular
   ===================================================================== */
.appshow { position: relative; width: 100%; max-width: 560px; height: 660px; margin: 0 auto; }
.appshow__glow { position: absolute; inset: 8% 4% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(74,139,157,.38), rgba(74,139,157,.10) 60%, transparent 75%); filter: blur(10px); pointer-events: none; }
.appshow__note { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font-size: .74rem; letter-spacing: .04em; color: var(--muted); }
.section--navy .appshow__note { color: #8193b3; }

.phone { position: absolute; width: 292px; height: 604px; padding: 11px; border-radius: 48px; background: linear-gradient(145deg, #1d2a45, #070d1a 60%); box-shadow: 0 0 0 1.5px #2b3a5c inset, 0 40px 80px -30px rgba(7,13,26,.65), 0 18px 36px -18px rgba(7,13,26,.45); }
.phone::after { content: ""; position: absolute; right: -2px; top: 150px; width: 3px; height: 64px; border-radius: 2px; background: #22304e; }
.phone--front { right: 2%; top: 4px; z-index: 2; }
.phone--back { left: 0; top: 64px; z-index: 1; transform: rotate(-7deg) scale(.9); transform-origin: 50% 60%; }
.phone--back .ph-screen { filter: saturate(.95); }
.appshow--single .phone--front { left: 50%; right: auto; transform: translateX(-50%); }

.ph-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #f6f4ef; color: #14213d; font-family: var(--sans); font-size: 12px; line-height: 1.35; display: flex; flex-direction: column; }
.ph-screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 92px; height: 27px; transform: translateX(-50%); border-radius: 20px; background: #05080f; z-index: 5; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 6px 30px; font-weight: 650; font-size: 12.5px; }
.ph-icons { display: flex; gap: 5px; align-items: center; }
.ph-icons i { display: block; background: #14213d; border-radius: 2px; }
.ph-icons .sig { width: 15px; height: 9px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ph-icons .wifi { width: 13px; height: 9px; border-radius: 9px 9px 2px 2px; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.ph-icons .bat { width: 22px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #14213d; background: linear-gradient(90deg, #14213d 72%, transparent 72%); background-clip: content-box; padding: 2px; }

.ph-head { display: flex; align-items: center; gap: 10px; padding: 10px 18px 12px; }
.ph-head img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 6px rgba(20,33,61,.15); background: #fff; }
.ph-head small { display: block; font-size: 10.5px; color: #6b7588; }
.ph-head b { font-size: 15px; font-family: var(--serif); font-weight: 600; }
.ph-bell { margin-left: auto; position: relative; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(20,33,61,.1); }
.ph-bell em { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; border-radius: 8px; background: #286878; color: #fff; font: 700 9.5px/16px var(--sans); text-align: center; font-style: normal; }

.ph-sum { margin: 2px 16px 12px; padding: 16px; border-radius: 18px; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
  background: radial-gradient(120% 120% at 100% 0%, #347b8c 0%, rgba(52,123,140,0) 55%), linear-gradient(135deg, #16284e, #0b1630); box-shadow: 0 12px 24px -14px rgba(11,22,48,.8); }
.ph-sum small { display: block; font-size: 10.5px; color: #a9bad6; }
.ph-sum b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.01em; margin: 3px 0 1px; }
.ph-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.ph-bars i { display: block; width: 9px; height: var(--h); border-radius: 4px 4px 2px 2px; background: #9ccbd6; }
.ph-bars i.t-b { background: #6fb3c4; } .ph-bars i.t-c { background: #e9c46a; } .ph-bars i.t-d { background: #c9d3e6; } .ph-bars i.t-e { background: #f4a68a; }

.ph-chips { display: flex; gap: 6px; padding: 0 16px 10px; }
.ph-chips span { padding: 5px 10px; border-radius: 999px; background: #fff; font-size: 10.5px; font-weight: 600; color: #4a556b; box-shadow: 0 0 0 1px #e6e2d8 inset; white-space: nowrap; }
.ph-chips span.on { background: #14213d; color: #fff; box-shadow: none; }

.ph-list { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 7px; flex: 1; overflow: hidden; }
.ph-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(20,33,61,.05), 0 0 0 1px #ece8de inset; }
.ph-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.t-a { background: #dcecef; color: #1f5360; } .t-b { background: #e3eef9; color: #234a7a; } .t-c { background: #fbf0d4; color: #7a5a12; } .t-d { background: #e9ecf3; color: #2b3a5c; } .t-e { background: #fde6dd; color: #8a3b1f; } .t-f { background: #e6f2e9; color: #2c6b3c; }
.ph-txt { min-width: 0; }
.ph-txt b { display: block; font-size: 11.8px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-txt small { display: block; font-size: 10px; color: #7a8395; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-amt { text-align: right; }
.ph-amt b { display: block; font-size: 11.8px; font-weight: 700; }
.ph-amt small { font-size: 9.5px; color: #7a8395; }
.ph-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 10px 18px; background: rgba(255,255,255,.92); border-top: 1px solid #ebe7dd; margin-top: 8px; }
.ph-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; color: #8a93a4; font-weight: 600; }
.ph-tabs span.on { color: #286878; }

.ph-dhead { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; padding: 10px 16px 6px; text-align: center; }
.ph-dhead b { font-size: 13px; }
.ph-back { font-size: 26px; line-height: 1; color: #286878; }
.ph-dcard { margin: 8px 16px 14px; padding: 18px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px #ece8de inset; text-align: left; }
.ph-dcard .ph-ico { margin-bottom: 12px; }
.ph-dcard small { display: block; color: #7a8395; font-size: 10.5px; }
.ph-dcard > b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 2px 0 10px; }
.ph-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ph-tags span { font-size: 9.8px; font-weight: 650; padding: 4px 8px; border-radius: 999px; background: #edf5f7; color: #1f5360; }
.ph-sec { padding: 4px 20px 6px; font-size: 9.8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7a8395; }
.ph-docs { list-style: none; margin: 0 16px 12px; padding: 4px 12px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px #ece8de inset; }
.ph-docs li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #f0ece3; color: #286878; }
.ph-docs li:last-child { border-bottom: 0; }
.ph-docs span { color: #14213d; font-size: 11.2px; font-weight: 600; }
.ph-docs small { display: block; font-size: 9.6px; color: #7a8395; font-weight: 500; }
.ph-adv { margin: 0 16px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #14213d; color: #fff; border-radius: 16px; }
.ph-adv img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ph-adv b { display: block; font-size: 11.5px; }
.ph-adv small { display: block; font-size: 9.6px; color: #a9bad6; }
.ph-adv em { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #286878; display: grid; place-items: center; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 12px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(11,22,48,.45), 0 0 0 1px rgba(20,33,61,.06); color: var(--ink); max-width: 230px; }
.float-card svg { flex-shrink: 0; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--accent-050); color: var(--accent-700); }
.float-card b { display: block; font-size: .84rem; line-height: 1.25; }
.float-card small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.fc-a { left: 0; top: 30px; }
.fc-b { right: 0; bottom: 120px; }
.fc-c { left: 4%; bottom: 40px; }
.appshow--single .fc-a { left: 0; top: 70px; }
.appshow--single .fc-b { right: 0; bottom: 140px; }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: floaty 6s ease-in-out infinite; }
  .fc-b { animation-delay: -2s; } .fc-c { animation-delay: -4s; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (max-width: 1240px) { .appshow { height: 640px; } }
@media (max-width: 620px) {
  .appshow { height: 560px; max-width: 360px; }
  .phone { width: 256px; height: 530px; border-radius: 42px; padding: 10px; }
  .ph-screen { border-radius: 33px; font-size: 11px; }
  .phone--back { display: none; }
  .phone--front { left: 50%; right: auto; transform: translateX(-50%); }
  .ph-row:nth-child(n+6) { display: none; }
  .fc-c { display: none; }
  .float-card { max-width: 190px; padding: 9px 11px 9px 9px; }
  .float-card svg { width: 30px; height: 30px; padding: 7px; }
  .fc-a { top: 40px; } .fc-b { bottom: 90px; }
}

/* Teaser (Startseiten) */
.appteaser { position: relative; overflow: hidden; }
.appteaser::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(74,139,157,.28), transparent 70%); pointer-events: none; }
.appteaser__grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.appteaser h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1.1; }
.appteaser__lead { color: #c3cee2; font-size: 1.1rem; margin: 1.2rem 0 1.4rem; max-width: 52ch; }
.appteaser__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.appteaser__list li { display: flex; gap: .7rem; align-items: flex-start; color: #e3e9f3; }
.appteaser__list svg { width: 20px; height: 20px; color: var(--accent-300); flex-shrink: 0; margin-top: 2px; }
.appteaser .appshow__glow { background: radial-gradient(closest-side, rgba(156,203,214,.30), rgba(74,139,157,.10) 60%, transparent 75%); }
@media (max-width: 1000px) { .appteaser__grid { grid-template-columns: minmax(0,1fr); } }

/* Kundenservice-Seite */
.ks-hero-visual { min-width: 0; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.feat { background: #fff; border: 1px solid var(--line-c); border-radius: var(--r-lg); padding: 26px 24px; min-width: 0; }
.feat__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-050); color: var(--accent-700); margin-bottom: 1rem; }
.feat h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feat p { font-size: .94rem; margin: 0; color: var(--body); }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .feats { grid-template-columns: minmax(0,1fr); } }
.ks-form-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ks-form-intro { position: sticky; top: 110px; }
@media (max-width: 1000px) { .ks-form-grid { grid-template-columns: minmax(0,1fr); } .ks-form-intro { position: static; } }
.svc-card { padding: clamp(22px, 3vw, 36px); }
.svc-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.svc-form legend, .svc-step h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; padding: 0; }
.svc-step { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line-c); }
.svc-step[hidden] { display: none; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
@media (max-width: 480px) { .choices { grid-template-columns: minmax(0,1fr); } }
.choice { position: relative; display: grid; grid-template-columns: 40px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line-c); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; min-width: 0; }
.choice:hover { border-color: var(--accent-500); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--paper); color: var(--accent-700); transition: background .2s, color .2s; }
.choice__t { font-weight: 650; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.choice__s { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.choice__ok { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-700); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .2s; }
.choice:has(input:checked) { border-color: var(--accent-700); background: var(--accent-050); box-shadow: inset 0 0 0 1px var(--accent-700); }
.choice:has(input:checked) .choice__ic { background: var(--accent-700); color: #fff; }
.choice:has(input:checked) .choice__ok { opacity: 1; transform: none; }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.svc-choices > .field-error { margin-top: .6rem; display: block; }
.svc-hint { display: flex; gap: .5rem; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: .2rem 0 0; }
.svc-hint svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-700); }
.form-row--plz { grid-template-columns: minmax(0,.35fr) minmax(0,.65fr); }
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .4rem 1rem; }
@media (max-width: 480px) { .checks-grid { grid-template-columns: minmax(0,1fr); } }
.check--inline { margin: 0; color: var(--ink); font-size: .92rem; }
.nav-menu li.nav-mobile { display: none; }
@media (max-width: 1240px) { .nav-menu.open li.nav-mobile { display: block; } }
.topbar__contact .tb-kunden a { font-weight: 600; }
.appshow--single .phone--front { left: 60%; }
.appshow--single .fc-a { left: 0; top: 150px; }
.appshow--single .fc-b { left: 4%; right: auto; bottom: 150px; }
@media (max-width: 620px) { .appshow--single .phone--front { left: 50%; } .appshow--single .fc-a { top: 60px; } .appshow--single .fc-b { left: auto; right: 0; bottom: 90px; } }
.svc-form label.choice { display: grid; grid-template-columns: 40px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center; margin: 0; font-weight: 400; }
.svc-form .choice__ic { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.svc-form .choice__t, .svc-form .choice__s { display: block; grid-column: 2; min-width: 0; padding-right: 18px; }
.svc-form .choice__t { grid-row: 1; align-self: end; }
.svc-form .choice__s { grid-row: 2; align-self: start; }
.ks-form-intro h2 { margin-bottom: 1rem; }
