/* ==========================================================================
   Muster Steuerberater – Stylesheet
   Farbwelt: Petrol (Vertrauen) + warmes Orange (Freundlichkeit)
   Keine externen Ressourcen: Schriften systemseitig, Icons als Inline-SVG.
   ========================================================================== */

/* --------------------------------------------------------------- Tokens */
:root {
  --brand-900: #0a2e33;
  --brand-800: #0c3a41;
  --brand-700: #0e4a52;
  --brand-600: #106370;
  --brand-500: #127c87;
  --brand-400: #3d9aa3;
  --brand-300: #7dbcc2;
  --brand-100: #d5e8ea;
  --brand-50: #eef6f7;

  --accent-600: #cf7233;
  --accent-500: #e8894a;
  --accent-400: #f0a678;
  --accent-100: #fbe3d2;
  --accent-50: #fdf3ea;

  --ink: #12252a;
  --ink-soft: #33474d;
  --muted: #5f747a;
  --line: #e0e8e9;
  --line-soft: #eef2f2;
  --surface: #f7f6f3;
  --surface-2: #f1f4f4;
  --white: #ffffff;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gutter: 20px;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --radius-xl: 32px;

  --shadow-s: 0 1px 2px rgba(10, 46, 51, 0.06), 0 2px 8px rgba(10, 46, 51, 0.05);
  --shadow: 0 2px 6px rgba(10, 46, 51, 0.06), 0 12px 30px rgba(10, 46, 51, 0.08);
  --shadow-l: 0 6px 16px rgba(10, 46, 51, 0.08), 0 28px 60px rgba(10, 46, 51, 0.12);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------- Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.021em;
  margin: 0 0 0.55em;
  font-weight: 750;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.85rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.65rem); letter-spacing: -0.026em; }
h3 { font-size: clamp(1.18rem, 1.05rem + 0.6vw, 1.42rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-500); }

::selection { background: var(--brand-100); color: var(--brand-900); }

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------- Helpers */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding: clamp(56px, 4vw + 36px, 104px) 0; }
.section--tight { padding: clamp(40px, 3vw + 24px, 72px) 0; }
.section--surface { background: var(--surface); }
.section--brand { background: var(--brand-900); color: #cfe2e4; }
.section--brand h2, .section--brand h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.section--brand .eyebrow { color: var(--accent-400); }

.lead { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem); color: var(--muted); }
.section--brand .lead { color: #a9c6ca; }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 3vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.text-balance { text-wrap: balance; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand-900); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 10px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* -------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent-500); color: #2b1405; box-shadow: var(--shadow-s); }
.btn--primary:hover { background: var(--accent-400); color: #2b1405; box-shadow: var(--shadow); }

.btn--dark { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-s); }
.btn--dark:hover { background: var(--brand-600); color: #fff; box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--brand-100); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-300); }

.btn--light { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--light:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 650; text-decoration: none; color: var(--brand-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.18s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- Topbar */
.topbar {
  background: var(--brand-900);
  color: #9fc0c4;
  font-size: 0.83rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 42px; flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; color: var(--brand-400); flex: none; }
.topbar a { color: #cfe2e4; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.langswitch { display: inline-flex; align-items: center; gap: 2px; }
.langswitch a {
  padding: 3px 9px; border-radius: 999px; font-weight: 650;
  font-size: 0.78rem; letter-spacing: 0.04em; text-decoration: none;
}
.langswitch a[aria-current="true"] { background: rgba(255, 255, 255, 0.14); color: #fff; }

@media (max-width: 720px) {
  .topbar__list li:not(:first-child) { display: none; }
}

/* --------------------------------------------------------------- Header */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.header.is-stuck { box-shadow: 0 4px 22px rgba(10, 46, 51, 0.08); border-color: transparent; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(14, 74, 82, 0.28);
}
.logo__mark svg { width: 22px; height: 22px; color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.12; }
.logo__name { font-weight: 780; font-size: 1.06rem; color: var(--ink); letter-spacing: -0.02em; }
.logo__sub { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-500); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: 10px; white-space: nowrap;
  font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  transition: background 0.16s, color 0.16s;
}
@media (max-width: 1240px) { .nav__link { padding: 10px 9px; font-size: 0.91rem; } }
.nav__link:hover { background: var(--brand-50); color: var(--brand-700); }
.nav__link[aria-current="page"] { color: var(--brand-700); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--accent-500);
}
.nav__link svg { width: 12px; height: 12px; opacity: 0.55; }

.nav__item { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(560px, 82vw);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  padding: 14px; opacity: 0; visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav__panel a {
  display: block; padding: 11px 14px; border-radius: 12px;
  text-decoration: none; color: var(--ink);
}
.nav__panel a:hover { background: var(--brand-50); }
.nav__panel strong { display: block; font-size: 0.93rem; font-weight: 650; }
.nav__panel span { display: block; font-size: 0.81rem; color: var(--muted); line-height: 1.4; }

.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; place-items: center;
}
.burger span {
  display: block; width: 19px; height: 2px; border-radius: 2px;
  background: var(--ink); position: relative;
  transition: background 0.2s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  border-radius: 2px; background: var(--ink); transition: transform 0.24s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobilenav {
  display: none; border-top: 1px solid var(--line-soft);
  background: #fff; padding: 12px var(--gutter) 24px;
  max-height: calc(100vh - 118px); overflow-y: auto;
}
.mobilenav.is-open { display: block; }
.mobilenav a {
  display: block; padding: 13px 4px; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft);
}
.mobilenav a.is-sub { padding-left: 20px; font-weight: 500; font-size: 0.93rem; color: var(--muted); }
.mobilenav .btn { margin-top: 18px; }

@media (max-width: 1040px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: grid; }
}
@media (max-width: 680px) {
  .header__cta .btn { display: none; }
  .header__inner { min-height: 66px; }
}

/* ----------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, var(--brand-900) 0%, var(--brand-700) 58%, var(--brand-600) 100%);
  color: #cfe2e4;
  padding: clamp(56px, 5vw + 32px, 104px) 0 clamp(72px, 5vw + 40px, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(760px 420px at 88% 6%, rgba(232, 137, 74, 0.2), transparent 62%),
    radial-gradient(620px 520px at 4% 96%, rgba(125, 188, 194, 0.16), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(1000px 560px at 70% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(1000px 560px at 70% 40%, #000, transparent 72%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero h1 { color: #fff; }
.hero__sub {
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.25rem);
  color: #b6d1d5; max-width: 54ch; margin-bottom: 30px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px; font-size: 0.83rem; font-weight: 600; color: #dceaec;
}
.hero__badge b { color: #fff; font-weight: 700; }
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #5fd08a;
  box-shadow: 0 0 0 4px rgba(95, 208, 138, 0.22);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #cfe2e4; }
.hero__note svg { width: 16px; height: 16px; color: var(--accent-400); flex: none; }

/* Hero-Karte: Terminbox */
.hero__card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 30px 70px rgba(5, 28, 32, 0.35);
  color: var(--ink-soft);
}
.hero__card h2 { font-size: 1.28rem; margin-bottom: 6px; }
.hero__card > p { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }
.steplist { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.steplist li { display: flex; gap: 13px; align-items: flex-start; }
.steplist .n {
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-size: 0.82rem; font-weight: 750;
}
.steplist strong { display: block; font-size: 0.94rem; color: var(--ink); font-weight: 650; }
.steplist span { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.hero__card-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 0.82rem; color: var(--muted); text-align: center;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { order: 2; }
}

/* ------------------------------------------------------------- Page-Hero */
.pagehero {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-700));
  color: #b6d1d5; padding: clamp(44px, 4vw + 24px, 84px) 0;
  position: relative; overflow: hidden;
}
.pagehero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.2; pointer-events: none;
  background: radial-gradient(640px 320px at 82% 0%, rgba(232, 137, 74, 0.3), transparent 62%);
}
.pagehero__inner { position: relative; z-index: 1; max-width: 760px; }
.pagehero h1 { color: #fff; margin-bottom: 14px; }
.pagehero p { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: #b6d1d5; max-width: 60ch; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; margin-bottom: 18px; color: #8fb3b8; }
.breadcrumb a { color: #b6d1d5; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

/* ---------------------------------------------------------- Trust-Leiste */
.trust { border-bottom: 1px solid var(--line-soft); background: #fff; }
.trust__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; padding: 26px 0; }
.trust__item { display: flex; align-items: center; gap: 11px; }
.trust__icon {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center;
}
.trust__icon svg { width: 19px; height: 19px; }
.trust__item strong { display: block; font-size: 0.92rem; color: var(--ink); font-weight: 650; line-height: 1.3; }
.trust__item span { display: block; font-size: 0.79rem; color: var(--muted); }
@media (max-width: 860px) {
  .trust__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; justify-items: start; }
}
@media (max-width: 480px) {
  .trust__inner { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------------------------------------------------------------- Cards */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 28px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.95rem; color: var(--muted); }
.card__icon {
  width: 50px; height: 50px; border-radius: 15px; margin-bottom: 18px;
  background: linear-gradient(140deg, var(--brand-50), var(--brand-100));
  color: var(--brand-600); display: grid; place-items: center;
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--accent { background: linear-gradient(140deg, var(--accent-50), var(--accent-100)); color: var(--accent-600); }
.card__foot { margin-top: 18px; }

.card--link { display: flex; flex-direction: column; text-decoration: none; }
.card--link:hover { color: inherit; }

.tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.tag--accent { background: var(--accent-50); color: var(--accent-600); }

/* ----------------------------------------------------------- Pain-Punkte */
.pain__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .pain__grid { grid-template-columns: 1fr; } }
.pain__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-l); padding: 26px;
}
.pain__num {
  font-size: 2.1rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--accent-400); line-height: 1; margin-bottom: 14px;
}
.pain__item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pain__item p { font-size: 0.94rem; color: #a9c6ca; margin: 0; }

/* Vergleichstabelle */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line);
  background: #fff;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare__col { padding: 28px; }
.compare__col + .compare__col { border-left: 1px solid var(--line); }
@media (max-width: 720px) { .compare__col + .compare__col { border-left: 0; border-top: 1px solid var(--line); } }
.compare__col--good { background: var(--brand-50); }
.compare__head { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.compare__head h3 { margin: 0; font-size: 1.1rem; }
.compare__badge {
  width: 32px; height: 32px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
}
.compare__badge svg { width: 17px; height: 17px; }
.compare__badge--x { background: #fdeceb; color: #c0483d; }
.compare__badge--v { background: var(--brand-100); color: var(--brand-700); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; font-size: 0.94rem; align-items: flex-start; }
.compare li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.compare__col--bad li svg { color: #c0483d; }
.compare__col--good li svg { color: var(--brand-600); }

/* -------------------------------------------------------------- Prozess */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }
.process__step { position: relative; padding-top: 14px; }
.process__badge {
  width: 52px; height: 52px; border-radius: 17px; margin-bottom: 18px;
  background: var(--brand-700); color: #fff;
  display: grid; place-items: center; font-size: 1.12rem; font-weight: 780;
  box-shadow: 0 8px 20px rgba(14, 74, 82, 0.25);
}
.process__step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.process__step p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.process__line {
  position: absolute; top: 40px; left: 62px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-100) 0 7px, transparent 7px 14px);
}
@media (max-width: 860px) { .process__line { display: none; } }

/* -------------------------------------------------------------- Stimmen */
.slider { position: relative; }
.slider__track { overflow: hidden; }
.slider__rail { display: flex; transition: transform 0.5s var(--ease); }
.slide { min-width: 100%; padding: 4px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 46px); box-shadow: var(--shadow-s);
}
.quote__stars { display: flex; gap: 3px; margin-bottom: 18px; color: var(--accent-500); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote {
  margin: 0 0 24px; font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.35rem);
  line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -0.012em;
}
.quote__author { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--brand-300), var(--brand-600));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.98rem;
}
.quote__author strong { display: block; font-size: 0.96rem; color: var(--ink); }
.quote__author span { display: block; font-size: 0.86rem; color: var(--muted); }

.slider__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.slider__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--brand-700);
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.slider__btn:hover { background: var(--brand-50); border-color: var(--brand-300); transform: translateY(-2px); }
.slider__btn svg { width: 18px; height: 18px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand-100); transition: background 0.18s, width 0.18s;
}
.slider__dot[aria-selected="true"] { background: var(--brand-600); width: 26px; border-radius: 999px; }

/* ----------------------------------------------------------------- Team */
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person__photo {
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative;
  background: linear-gradient(150deg, var(--brand-100), var(--brand-50) 55%, var(--accent-50));
}
.person__initials {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.76); color: var(--brand-700);
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 750;
  letter-spacing: -0.02em; box-shadow: 0 6px 18px rgba(10, 46, 51, 0.1);
}
.person__ph-note {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-600); opacity: 0.55; white-space: nowrap;
}
.person__body { padding: 22px; }
.person__body h3 { font-size: 1.08rem; margin-bottom: 3px; }
.person__role { font-size: 0.87rem; color: var(--brand-600); font-weight: 650; margin-bottom: 12px; }
.person__body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.person__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.84rem; }
.person__meta a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.person__meta svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item[open] { border-color: var(--brand-300); box-shadow: var(--shadow-s); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px; cursor: pointer; list-style: none;
  font-weight: 650; color: var(--ink); font-size: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--brand-50); }
.faq__icon {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; transition: transform 0.24s var(--ease), background 0.2s;
}
.faq__icon svg { width: 13px; height: 13px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--brand-600); color: #fff; }
.faq__a { padding: 0 22px 21px; font-size: 0.95rem; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- Formular */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > label { font-size: 0.88rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; font-size: 0.97rem; color: var(--ink);
  transition: border-color 0.16s, box-shadow 0.16s;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.field input::placeholder, .field textarea::placeholder { color: #9fb0b3; }
.field__hint { font-size: 0.8rem; color: var(--muted); }
.checkline { display: flex; gap: 11px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.checkline input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand-600); }
.hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.formcard {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-s);
}

.infobox {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--radius); padding: 18px 20px; font-size: 0.9rem; color: var(--brand-800);
}
.infobox strong { color: var(--brand-900); }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--accent-50); border: 1px solid var(--accent-100);
  border-radius: var(--radius); padding: 16px 18px; font-size: 0.88rem; color: #7a4418;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-600); }

/* ---------------------------------------------------------- Kontaktdaten */
.contactlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contactlist li { display: flex; gap: 14px; align-items: flex-start; }
.contactlist__icon {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center;
}
.contactlist__icon svg { width: 19px; height: 19px; }
.contactlist strong { display: block; font-size: 0.87rem; color: var(--ink); font-weight: 650; }
.contactlist span, .contactlist a { font-size: 0.95rem; color: var(--muted); text-decoration: none; }
.contactlist a:hover { color: var(--brand-600); text-decoration: underline; }

/* ----------------------------------------------------------- Karte (2-Klick) */
.mapbox {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  min-height: 340px; display: grid; place-items: center;
}
.mapbox__consent { text-align: center; padding: 34px 26px; max-width: 460px; }
.mapbox__consent h3 { font-size: 1.08rem; margin-bottom: 8px; }
.mapbox__consent p { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.mapbox iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.mapbox__pattern {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
}
.mapbox__consent { position: relative; z-index: 1; }

/* ----------------------------------------------------------- CTA-Banner */
.ctaband {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--brand-800), var(--brand-600));
  border-radius: var(--radius-xl); color: #cfe2e4;
  padding: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.ctaband::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 300px at 92% 10%, rgba(232, 137, 74, 0.28), transparent 64%);
}
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.ctaband p { color: #b6d1d5; margin: 0; max-width: 52ch; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .ctaband { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.newsletter__form input {
  flex: 1 1 240px; padding: 14px 17px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; font-size: 0.96rem;
}
.newsletter__form input:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-50); }

/* -------------------------------------------------------------- Stat-Box */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 8px; }
.stat__value {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.035em; color: var(--brand-600); line-height: 1.05;
}
.section--brand .stat__value { color: var(--accent-400); }
.stat__label { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }
.section--brand .stat__label { color: #a9c6ca; }

/* --------------------------------------------------------- Split-Inhalt */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--wide { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 860px) { .split--wide { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; }
.ticks svg { width: 21px; height: 21px; flex: none; color: var(--brand-600); margin-top: 1px; }
.section--brand .ticks svg { color: var(--accent-400); }

.visualcard {
  border-radius: var(--radius-xl); padding: 32px;
  background: linear-gradient(150deg, var(--brand-50), var(--accent-50));
  border: 1px solid var(--line);
}
.visualcard__row {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--radius); padding: 15px 17px;
  box-shadow: var(--shadow-s);
}
.visualcard__row + .visualcard__row { margin-top: 12px; }
.visualcard__row svg { width: 20px; height: 20px; color: var(--brand-600); flex: none; }
.visualcard__row strong { display: block; font-size: 0.92rem; color: var(--ink); }
.visualcard__row span { display: block; font-size: 0.82rem; color: var(--muted); }
.visualcard__row .val { margin-left: auto; font-weight: 750; color: var(--brand-700); font-size: 0.95rem; }

/* ------------------------------------------------------------- Karriere */
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 26px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.job:hover { border-color: var(--brand-300); box-shadow: var(--shadow-s); }
@media (max-width: 680px) { .job { grid-template-columns: 1fr; } }
.job h3 { margin-bottom: 8px; font-size: 1.14rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.job p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------- Referenz */
.refcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.refcard__top { display: flex; align-items: center; gap: 13px; }
.refcard__logo {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: linear-gradient(140deg, var(--brand-100), var(--brand-50));
  color: var(--brand-700); display: grid; place-items: center;
  font-weight: 780; font-size: 0.95rem; letter-spacing: -0.02em;
}
.refcard__top strong { display: block; font-size: 1rem; color: var(--ink); }
.refcard__top span { display: block; font-size: 0.84rem; color: var(--muted); }
.refcard p { font-size: 0.94rem; color: var(--muted); margin: 0; }
.refcard__result {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 650; color: var(--brand-700);
}
.refcard__result svg { width: 17px; height: 17px; color: var(--accent-500); }

/* ------------------------------------------------------- Rueckruf-Button */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent-500); color: #2b1405; font-weight: 700; font-size: 0.94rem;
  box-shadow: 0 10px 30px rgba(207, 114, 51, 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fab:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(207, 114, 51, 0.5); }
.fab svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .fab span { display: none; } .fab { padding: 16px; } }

dialog.modal {
  border: 0; padding: 0; border-radius: var(--radius-xl);
  max-width: 460px; width: calc(100% - 32px);
  box-shadow: var(--shadow-l); color: var(--ink-soft);
}
dialog.modal::backdrop { background: rgba(10, 46, 51, 0.55); backdrop-filter: blur(3px); }
.modal__inner { padding: 30px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff;
  cursor: pointer; display: grid; place-items: center; color: var(--muted);
}
.modal__close:hover { background: var(--surface); color: var(--ink); }
.modal__close svg { width: 15px; height: 15px; }
.modal h2 { font-size: 1.32rem; margin-bottom: 6px; }
.modal > .modal__inner > p { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }

/* --------------------------------------------------------------- Footer */
.footer { background: var(--brand-900); color: #9fc0c4; padding: clamp(48px, 4vw + 28px, 78px) 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px; padding-bottom: 44px;
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: #fff; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: #b6d1d5; text-decoration: none; font-size: 0.93rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__about p { font-size: 0.92rem; color: #9fc0c4; max-width: 34ch; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: var(--accent-400); }
.footer .logo { margin-bottom: 18px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.08); display: grid; place-items: center;
  color: #cfe2e4; transition: background 0.18s, transform 0.18s;
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__contact { display: grid; gap: 12px; font-size: 0.93rem; }
.footer__contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--brand-400); flex: none; margin-top: 4px; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 14px; font-size: 0.85rem;
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ------------------------------------------------------------ Rechtstexte */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.7em; }
.prose p, .prose li { font-size: 0.97rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.5em; }
.prose address { font-style: normal; }
.prose__toc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px;
}
.prose__toc h2 { font-size: 0.82rem !important; letter-spacing: 0.13em; text-transform: uppercase; margin: 0 0 14px !important; color: var(--muted); }
.prose__toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.2em; }
@media (max-width: 640px) { .prose__toc ol { columns: 1; } }
.prose__toc li { font-size: 0.9rem; margin-bottom: 7px; }
.ph {
  background: var(--accent-50); border-bottom: 1px dashed var(--accent-500);
  padding: 1px 5px; border-radius: 3px; font-weight: 600; color: #8a4a17;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ Animation */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- Printing */
@media print {
  .header, .topbar, .footer, .fab, .ctaband, .slider__nav { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero, .pagehero { background: none !important; color: #000; }
  .hero h1, .pagehero h1 { color: #000; }
}