/* =================================================================
   Kanzlei Prof. Dr. Frank Martin – Design-System
   Stil: modern-reduziert (Anthrazit / Weiss, viel Weissraum)
   GDPR-sicher: keine externen Fonts, keine Tracker
   ================================================================= */

:root {
  /* Farben */
  --ink:        #16181c;   /* Anthrazit – Text & Flaechen */
  --ink-soft:   #2b2f36;
  --ink-70:     #4a4f57;
  --ink-50:     #6b7079;
  --line:       #e4e6ea;   /* feine Trennlinien */
  --line-soft:  #eef0f2;
  --bg:         #ffffff;
  --bg-alt:     #eef0f2;   /* leicht abgesetzte Sektionen (kühl, für weiche Tiefe) */
  --bg-dark:    #16181c;
  --accent:     #006db0;   /* Markenblau (Logo Kanzlei Martin) */
  --accent-ink: #005a91;
  --white:      #ffffff;

  /* Typografie */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Raster / Rhythmus */
  --wrap: 1160px;
  --wrap-narrow: 820px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(22,24,28,.04), 0 8px 30px rgba(22,24,28,.06);
  --shadow-soft: 0 1px 2px rgba(22,24,28,.05);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.015em; font-weight: 650; margin: 0 0 .5em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }
ul, ol { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.lead { font-size: 1.18rem; color: var(--ink-70); line-height: 1.6; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #d7dade; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #aeb3ba; }

.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Sektion "Zwei Wege": Kopf ueber die volle Breite – Ueberschrift links, Einleitung rechts */
#bereiche .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
#bereiche .section-head .eyebrow { grid-column: 1; grid-row: 1; }
#bereiche .section-head h2      { grid-column: 1; grid-row: 2; margin-bottom: 0; }
#bereiche .section-head .lead   { grid-column: 2; grid-row: 2; margin: 0; }
@media (max-width: 760px) {
  #bereiche .section-head { display: block; }
  #bereiche .section-head h2 { margin-bottom: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: inherit; font-size: .98rem; font-weight: 600;
  padding: .85em 1.6em; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .18s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
/* Haupt-Button: Premium-Dunkel (Tiefe + weicher Schatten) */
.btn-primary {
  background: #191d23;
  background-image: linear-gradient(180deg, #252a32 0%, #141519 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(18,22,28,.26), inset 0 1px 0 rgba(255,255,255,.10);
}
.btn-primary:hover {
  color: #fff;
  background-image: linear-gradient(180deg, #2b313a 0%, #17191e 100%);
  box-shadow: 0 12px 28px rgba(18,22,28,.34), inset 0 1px 0 rgba(255,255,255,.12);
}
/* Header-CTA und "Termin vereinbaren" bewusst in Markenblau statt Premium-Dunkel */
.nav-cta .btn-primary,
.btn-primary[href$="termin-buchen.html"] {
  background: #006db0;
  background-image: linear-gradient(180deg, #1f8fd4 0%, #006db0 100%);
  box-shadow: 0 8px 20px rgba(0,109,176,.30), inset 0 1px 0 rgba(255,255,255,.20);
}
.nav-cta .btn-primary:hover,
.btn-primary[href$="termin-buchen.html"]:hover {
  color: #fff;
  background-image: linear-gradient(180deg, #2896d8 0%, #0a72b3 100%);
  box-shadow: 0 12px 28px rgba(0,109,176,.40), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(0,109,176,.28), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-accent:hover { background: var(--accent-ink); color: #fff; box-shadow: 0 12px 24px rgba(0,109,176,.36), inset 0 1px 0 rgba(255,255,255,.22); }
/* Zweit-Button: weich erhaben (Soft-Edel) */
.btn-ghost { background: #eef1f4; color: var(--ink); border-color: transparent; box-shadow: 4px 4px 10px rgba(191,197,205,.55), -4px -4px 10px rgba(255,255,255,.9); }
.btn-ghost:hover { border-color: transparent; color: var(--accent-ink); box-shadow: 6px 6px 13px rgba(191,197,205,.65), -6px -6px 13px #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f1f2; }
/* Bitcoin-Zahlbutton (Marken-Orange, bewusste Ausnahme vom Farbsystem) */
.btc-pay-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem;
  background: linear-gradient(180deg,#f9a63b 0%,#F7931A 100%); color: #3d2600;
  font-family: inherit; font-size: .98rem; font-weight: 800; letter-spacing: .02em;
  text-decoration: none; border-radius: 11px; box-shadow: 0 8px 22px rgba(247,147,26,.32);
  transition: filter .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease); }
.btc-pay-btn:hover { filter: brightness(1.04); box-shadow: 0 10px 26px rgba(247,147,26,.42); text-decoration: none; }
.btc-pay-btn:active { transform: translateY(1px); }
.btc-pay-btn span { font-size: 1.2rem; line-height: 1; }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  border: 1.5px solid var(--ink); border-radius: 3px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: .02em;
}
.brand-logo { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; display: block; }

/* Sprachumschalter (Dropdown) */
.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4em;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  padding: .5em .7em; border: 1px solid var(--line); border-radius: var(--radius); user-select: none;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary svg { width: 16px; height: 16px; color: var(--ink-50); }
.lang-switch > summary svg.flag, .lang-menu a svg.flag { width: 20px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,.14); flex: none; }
.lang-switch > summary::after {
  content: ""; width: 7px; height: 7px; margin-left: .1em;
  border-right: 1.5px solid var(--ink-50); border-bottom: 1.5px solid var(--ink-50);
  transform: rotate(45deg) translateY(-1px); transition: transform .2s var(--ease);
}
.lang-switch[open] > summary { border-color: var(--ink); }
.lang-switch[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 6px; min-width: 168px; display: grid; gap: 1px;
}
.lang-menu a {
  display: flex; align-items: center; gap: 9px; padding: .55em .8em; border-radius: var(--radius);
  font-size: .92rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
}
.lang-menu a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.lang-menu a.active { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.brand-text { line-height: 1.1; }
.brand-text b { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.brand-text span { display: block; font-size: .74rem; color: var(--ink-50); letter-spacing: .04em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .55em .85em; border-radius: var(--radius);
  color: var(--ink-soft); font-size: .95rem; font-weight: 500;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-phone { font-weight: 600; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.nav-phone:hover { color: var(--accent-ink); }
/* Dezenter Bitcoin-Zahllink im Header (nur oranges Zeichen, Tooltip via title) */
.btc-icon { display: inline-flex; align-items: center; justify-content: center; color: #F7931A; font-size: 1.4rem; line-height: 1; text-decoration: none; padding: 0 .1em; transition: transform .15s var(--ease), color .15s var(--ease); }
.btc-icon:hover { color: #e07f0e; transform: translateY(-1px); text-decoration: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); }
.hero .lead { max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-meta div b { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.hero-meta div span { font-size: .9rem; color: var(--ink-50); }

/* Hero mit Porträt */
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-dark); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 5; }
.hero-portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.5rem .9rem;
  background: linear-gradient(to top, rgba(10,12,15,.82), rgba(10,12,15,0));
  color: #fff;
}
.hero-portrait figcaption b { display: block; font-size: 1.02rem; letter-spacing: -.01em; }
.hero-portrait figcaption span { font-size: .86rem; color: #c8ccd2; }

/* Amtssitz-Badge */
.badge-amtssitz {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 600; color: var(--accent-ink);
  background: rgba(0,109,176,.08); border: 1px solid rgba(0,109,176,.2);
  padding: .4em .9em; border-radius: 100px; margin-bottom: 1.4rem;
}
.badge-amtssitz svg { width: 15px; height: 15px; }

/* Porträt-Figur (Innenseiten) */
.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; display: block; }

/* Film / Video */
.video-card { position: relative; max-width: 340px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-card video { width: 100%; display: block; aspect-ratio: 9 / 16; object-fit: cover; }

/* Volles Logo im Footer */
.footer-logo { height: 76px; width: auto; margin-bottom: 1rem; display: block; }

/* Bewertungen */
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.stars svg { width: 18px; height: 18px; display: block; }
.rating-summary { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.rating-summary b { font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.rating-summary span { color: var(--ink-50); font-size: .95rem; }
.review { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; height: 100%; }
.review .stars { margin-bottom: .9rem; }
.review blockquote { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }
.review .who { font-weight: 600; color: var(--ink); font-size: .95rem; }
.review .src { color: var(--ink-50); font-size: .84rem; }
.review.is-placeholder { border-style: dashed; }
.review.is-placeholder blockquote { font-style: italic; color: var(--ink-50); }

/* Team / Berufsträger */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.person { display: flex; gap: 1.3rem; align-items: flex-start; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.person-photo, .person-avatar { width: 104px; height: 128px; flex: 0 0 104px; border-radius: var(--radius); }
.person-photo { object-fit: cover; object-position: center top; background: var(--bg-alt); }
.person-avatar { display: grid; place-items: center; background: var(--bg-dark); color: #fff; font-size: 1.9rem; font-weight: 700; letter-spacing: .03em; }
.person-body h3 { margin-bottom: .1rem; font-size: 1.16rem; }
.person-body .role { color: var(--accent-ink); font-weight: 600; font-size: .93rem; margin-bottom: .7rem; }
.person-body ul { list-style: none; margin: 0; padding: 0; }
.person-body ul li { font-size: .92rem; color: var(--ink-soft); padding-left: 1.15rem; position: relative; margin-bottom: .35rem; }
.person-body ul li:last-child { margin-bottom: 0; }
.person-body ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border: 1.5px solid var(--accent); border-radius: 50%; }

/* ---------- Zwei-Wege-Bereiche (Notar / Anwalt) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.6rem; border: 1px solid rgba(228,230,234,.6); border-radius: 18px;
  background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  text-decoration: none; color: inherit; height: 100%;
  box-shadow: 0 2px 4px rgba(22,24,28,.03), 0 14px 34px rgba(22,24,28,.07);
}
.path-card:hover { border-color: rgba(0,109,176,.35); box-shadow: 0 6px 14px rgba(22,24,28,.05), 0 22px 48px rgba(22,24,28,.12); transform: translateY(-4px); text-decoration: none; }
.path-icon {
  width: 58px; height: 58px; padding: 15px; color: var(--accent); margin-bottom: 1.4rem;
  border-radius: 16px; background: #eef1f4;
  box-shadow: inset 4px 4px 9px rgba(198,204,212,.65), inset -4px -4px 9px #ffffff;
}
.path-icon svg { width: 100%; height: 100%; }
.path-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.path-card p { color: var(--ink-70); }
.path-list { list-style: none; margin: .4rem 0 1.6rem; padding: 0; }
.path-list li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; color: var(--ink-soft); font-size: .97rem; }
.path-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border: 1.5px solid var(--accent); border-radius: 50%; }
.path-card .path-go { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink); }
.path-card:hover .path-go .arw { transform: translateX(3px); }
.path-go .arw { transition: transform .2s var(--ease); }

/* ---------- Hervorgehobener Aufruf: digitales Datenblatt ---------- */
.cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 1.75rem;
  max-width: 860px; margin: 2.75rem auto 0;
  padding: 1.5rem 1.7rem;
  background: #fff; border: 1px solid rgba(228,230,234,.6); border-left: 4px solid var(--accent);
  border-radius: 16px; box-shadow: 0 2px 4px rgba(22,24,28,.03), 0 14px 34px rgba(22,24,28,.08);
}
.cta-inline-text { color: var(--ink-70); line-height: 1.5; }
.cta-inline-text strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: .15rem; }
.cta-inline .btn { flex: none; white-space: nowrap; }
@media (max-width: 640px) {
  .cta-inline { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-inline .btn { width: 100%; justify-content: center; }
}

/* ---------- Karten-Raster (Leistungen) ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 2rem; border: 1px solid rgba(228,230,234,.6); border-radius: 16px;
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  text-decoration: none; color: inherit; display: block; height: 100%;
  box-shadow: 0 2px 4px rgba(22,24,28,.03), 0 12px 28px rgba(22,24,28,.06);
}
a.card:hover { border-color: rgba(0,109,176,.35); box-shadow: 0 6px 14px rgba(22,24,28,.05), 0 20px 44px rgba(22,24,28,.11); transform: translateY(-3px); text-decoration: none; }
.card .ic {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 11px; color: var(--accent); margin-bottom: .6rem;
  border-radius: 14px; background: #eef1f4;
  box-shadow: inset 3px 3px 7px rgba(198,204,212,.65), inset -3px -3px 7px #ffffff;
}
.card .ic svg { width: 100%; height: 100%; display: block; }
.card h3 { font-size: 1.16rem; margin-bottom: .45rem; }
.card p { font-size: .96rem; color: var(--ink-70); margin-bottom: .8rem; }
.card .tag { display: inline-block; margin-bottom: .55rem; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #0c447c; background: #e6f1fb; border: 1px solid transparent; border-radius: 100px; padding: .25em .75em; }
.card .more { font-size: .92rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .4em; }

/* ---------- Feature-Split (Text + Panel) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.reverse .split-media { order: -1; }
.panel {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.4rem;
}
.panel.dark { background: var(--bg-dark); border-color: #2a2d33; color: #cfd3d8; }
.panel.dark h3 { color: #fff; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: var(--ink-soft); }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Vertrauens-Leiste ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { padding: 1.4rem 0; }
.trust-item b { display: block; font-size: 2rem; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.trust-item span { font-size: .92rem; color: var(--ink-50); }

/* ---------- Schritte / Ablauf ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background:#fff; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-weight: 700; margin-bottom: 1rem; color: var(--ink);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .95rem; margin-bottom: 0; }

/* ---------- FAQ (Accordion) ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0;
  font-weight: 600; font-size: 1.08rem; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 1.6rem;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2rem 1.5rem 0; margin: 0; color: var(--ink-70); }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--bg-dark); border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); color:#fff; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#aeb3ba; max-width: 560px; }
.cta-band .hero-actions { margin-bottom: 0; }

/* ---------- Kontakt / Standorte ---------- */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; background:#fff; }
.loc h3 { display:flex; align-items:center; gap:.5rem; }
.loc dl { margin: 1rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; font-size: .97rem; }
.loc dt { color: var(--ink-50); }
.loc dd { margin: 0; color: var(--ink); }
.loc dd a { color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8em 1em; border: 1px solid transparent; border-radius: 12px;
  background: #eef1f4; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  box-shadow: inset 3px 3px 7px rgba(198,204,212,.6), inset -3px -3px 7px #ffffff;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-50); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: transparent;
  box-shadow: inset 2px 2px 5px rgba(198,204,212,.55), inset -2px -2px 5px #ffffff, 0 0 0 3px rgba(0,109,176,.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-consent { font-size: .88rem; color: var(--ink-50); display: flex; gap: .6rem; align-items: flex-start; }
.form-consent input { margin-top: .25em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #9aa0a8; padding: 68px 0 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid a { color: #b9bec5; display: block; padding: .28em 0; font-size: .95rem; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-brand p { color: #9aa0a8; font-size: .95rem; margin-top: 1rem; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #2a2d33;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .87rem; color: #757b83;
}
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom nav a { color: #9aa0a8; font-size: .87rem; }

/* ---------- Sub-Header (Innenseiten) ---------- */
.page-hero { padding: clamp(56px, 8vw, 92px) 0 clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line-soft); }
.page-hero.on-alt { background: var(--bg-alt); }
.breadcrumb { font-size: .86rem; color: var(--ink-50); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-50); }
.breadcrumb a:hover { color: var(--ink); }
.page-hero .lead { max-width: 680px; }

/* ---------- Prose (Fliesstext-Seiten) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose .note { background: var(--bg-alt); border-left: 3px solid var(--accent); padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6rem 0; }
.prose .note p:last-child { margin-bottom: 0; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.chip { font-size: .9rem; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px; padding: .4em 1em; background:#fff; }
a.chip { transition: border-color .15s var(--ease), color .15s var(--ease); }
a.chip:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }

/* ---------- Utility ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color:#fff;
  padding: .6em 1em; border-radius: 0 0 var(--radius) 0; z-index: 100;
}
.skip-link:focus { left: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
    box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { padding: .8em .4em; border-bottom: 1px solid var(--line-soft); }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .paths, .grid-2, .grid-3, .grid-4, .locations, .form-grid, .footer-grid, .team { grid-template-columns: 1fr; }
  .footer-grid { gap: 32px; }
  .path-card { padding: 2rem 1.6rem; }
  .hero-meta { gap: 1.2rem 1.8rem; }
}

/* ============ Mobile-/Tablet-Feinschliff ============ */
@media (max-width: 980px) {
  /* Hero staffeln: Text oben, Portrait darunter (nicht mehr 2-spaltig gequetscht) */
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-portrait { width: 100%; max-width: 520px; margin: 0 auto; }
  .hero-portrait img { aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  /* Header kompakter, Marke bricht nicht mehr unkontrolliert */
  .nav { height: 66px; }
  .brand-text b { font-size: .9rem; }
  .brand-text span { font-size: .66rem; letter-spacing: .02em; }
  .lang-switch > summary { padding: .45em .55em; font-size: .78rem; gap: .3em; }
  .lang-switch > summary svg { width: 15px; height: 15px; }
}
@media (max-width: 760px) {
  /* Kennzahlen sauber als 2x2-Raster statt überlaufender Reihe */
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
  .hero-meta div b { font-size: 1.3rem; }
  .hero-portrait img { aspect-ratio: 4 / 3; }
  /* CTA-Bänder: Buttons links ausrichten statt rechts (bessere Daumen-Reichweite) */
  .cta-band .hero-actions { justify-content: flex-start !important; }
}
@media (max-width: 680px) {
  /* Persistenten Termin-Button aus dem Kopf nehmen – CTA steht im Hero & im Menü */
  .nav-cta > .btn-primary { display: none; }
  .nav { height: 62px; }
  section { padding: clamp(40px, 9vw, 72px) 0; }
}
@media (max-width: 420px) {
  .brand-text b { font-size: .84rem; }
  .btn { padding: .78em 1.2em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
