@layer components {
/* Self-hosted site typefaces. */
@font-face {
  font-family: "Nimbus Sans";
  src: url("/assets/fonts/NimbusSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nimbus Sans";
  src: url("/assets/fonts/NimbusSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #fbfbfd;
  --surface: #f3f1f8;
  --surface-2: #e9e5f3;
  --card: #ffffff;
  --ink: #1c1a22;
  --ink-2: #57525f;
  --line: #e4e0ec;
  --accent: #4e4280;
  --accent-hover: #3d3366;
  --accent-soft: #ddd8ec;
  --signal: #b6c234;
  --signal-soft: #eef2c4;

  --font: "Nimbus Sans", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 28px;
  --shadow: 0 1px 2px rgba(28, 26, 34, .04), 0 8px 24px -12px rgba(28, 26, 34, .12);
  --ease: cubic-bezier(.22, .7, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.65; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(78, 66, 128, .15); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 650; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(36px, 3.9vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: var(--r-s); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--surface); }
.intro { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.intro p { margin: 18px 0 0; font-size: 19px; color: var(--ink-2); }
.intro--center { margin-inline: auto; text-align: center; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: 17px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(78, 66, 128, .6); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover svg { transform: translateX(3px); }

/* Availability (live from phone hours) */
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex: none; }
.status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--signal); opacity: .3; }
.status[data-open="false"] .status__dot, .status[data-open="false"] .status__dot::after { background: #b9b4c3; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 251, 253, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; min-height: 48px; text-decoration: none; flex: none; }
.brand img { width: 64px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; cursor: pointer; list-style: none;
}
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover, .nav details[open] summary { background: var(--surface); }
.nav > a[aria-current="page"] { color: var(--accent); }
.nav summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.nav details[open] summary svg { transform: rotate(180deg); }
.nav details { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -8px; width: min(720px, 80vw);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; padding: 26px 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 24px 60px -20px rgba(28, 26, 34, .25);
}
.mega p { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.mega a { display: block; padding: 10px 0; text-decoration: none; font-size: 16px; }
.mega a:hover { color: var(--accent); }
.mega .mega__all { grid-column: 1 / -1; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--accent); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink); }
.header-tel:hover { background: var(--surface); }
.header-tel svg, .menu-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header .btn { min-height: 46px; padding: 0 20px; font-size: 16px; box-shadow: none; }
.menu-toggle { display: none; }

@media (max-width: 1120px) { .header-tel span { display: none; } .header-tel { width: 44px; padding: 0; justify-content: center; } }
@media (max-width: 980px) {
  .site-header__bar { min-height: 64px; gap: 8px; }
  .brand img { width: 56px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
  .nav { position: fixed; inset: 64px 0 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px var(--gutter) 40px; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open .nav { display: flex; }
  .nav > a, .nav summary { min-height: 56px; padding: 0; font-size: 20px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav > a:hover, .nav summary:hover, .nav details[open] summary { background: none; }
  .mega { position: static; width: auto; grid-template-columns: 1fr; padding: 8px 0 16px; border: 0; box-shadow: none; background: none; }
  .mega p { margin-top: 12px; }
}
@media (max-width: 560px) { .site-header .btn { display: none; } }

/* Hero */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero .status { margin-bottom: 22px; }
.hero__lead { margin: 24px 0 34px; max-width: 34em; font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: var(--ink-2); }
.proof li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.proof svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proof a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.proof a:hover { color: var(--accent); }
.stars { color: #b8901c; letter-spacing: 1px; font-size: 15px; }

.portrait { position: relative; margin: 0; }
.portrait__panel {
  position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--r-l); overflow: hidden;
  background: radial-gradient(120% 90% at 70% 0%, #f4f1fa 0%, var(--surface-2) 55%, #ddd7ec 100%);
}
.portrait__people { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr 1fr; align-items: end; padding: 0 2%; }
.portrait__people img { width: 128%; max-width: none; height: auto; }
.portrait__people img:first-child { justify-self: end; margin-right: -22%; }
.portrait__people img:last-child { justify-self: start; margin-left: -22%; }
.portrait__card {
  position: absolute; right: -28px; top: 24px; margin: 0; max-width: 260px; padding: 16px 18px;
  background: var(--card); border-radius: var(--r-m); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.portrait__card p { margin: 0 0 8px; font-size: 16px; line-height: 1.45; font-weight: 500; }
.portrait__card small { font-size: 13px; color: var(--ink-2); }
.portrait figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; font-size: 15px; color: var(--ink-2); text-align: center; }
.portrait figcaption strong { display: block; color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 540px; width: 100%; }
  .portrait__card { display: none; }
}
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .proof { flex-direction: column; gap: 0; }
}

/* Einmaliger Einstieg beim Laden, ohne JavaScript (CSP erlaubt keine Inline-Skripte) */
@keyframes nx-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero [data-enter] { animation: nx-enter .8s var(--ease) both; }
  .hero [data-enter="2"] { animation-delay: .1s; }
  .hero [data-enter="3"] { animation-delay: .2s; }
}

/* Client logos */
.clients { padding: 8px 0 clamp(56px, 7vw, 88px); }
.clients p { margin: 0 0 18px; text-align: center; font-size: 15px; color: var(--ink-2); }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px clamp(20px, 4vw, 52px); }
.clients a { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 6px; border-radius: var(--r-s); }
.clients img { max-height: 40px; max-width: 128px; width: auto; filter: brightness(0); opacity: .45; transition: opacity .2s, filter .2s; }
.clients img.logo--gray { filter: grayscale(1) contrast(1.2); opacity: .6; }
.clients a:hover img { filter: none; opacity: 1; }
@media (max-width: 560px) { .clients ul { gap: 0 20px; } .clients img { max-height: 30px; max-width: 96px; } }

/* Empathy: what clients experienced before */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.pain__before { padding: 28px 28px 22px; }
.pain__before span { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.pain__before h3 { font-size: 21px; }
.pain__after { margin-top: auto; padding: 22px 28px 28px; background: var(--surface); border-top: 1px solid var(--line); }
.pain__after strong { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.pain__after strong svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pain__after p { margin: 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }

/* Situations */
.situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.situation {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; padding: 26px 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.situation:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.situation__icon { grid-row: span 3; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; color: var(--accent); }
.situation__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.situation h3 a { text-decoration: none; }
.situation h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.situation p { margin: 0; color: var(--ink-2); font-size: 17px; }
.situation__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--accent); font-weight: 600; font-size: 16px; }
.situation__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s var(--ease); }
.situation:hover .situation__more svg { transform: translateX(3px); }
.help-now {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 16px;
  padding: 22px 28px; border-radius: var(--r-m); background: var(--signal-soft);
}
.help-now p { margin: 0; font-size: 17px; }
.help-now strong { font-weight: 600; }
.help-now .btn { min-height: 48px; box-shadow: none; }
@media (max-width: 820px) { .situations { grid-template-columns: 1fr; } .situation { padding: 22px; } .help-now .btn { width: 100%; } }

/* Testimonials */
.voices { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.voice { position: relative; margin: 0; padding: clamp(26px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); display: flex; flex-direction: column; }
.voice--lead { grid-row: span 2; padding: 0; overflow: hidden; }
.voice--lead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.voice--lead .voice__body { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.voice blockquote { margin: 0 0 22px; font-size: 19px; line-height: 1.55; }
.voice--lead blockquote { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; letter-spacing: -.01em; }
.voice blockquote p { margin: 0; }
.voice figcaption { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.voice figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.voice figcaption a { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.voice figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 14px; margin-top: 28px; font-size: 16px; color: var(--ink-2); }
.rating-line b { color: var(--ink); }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; } .voice--lead { grid-row: auto; } }

/* Services: calm two-column list */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.service { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); }
.service h3 { font-size: 21px; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: 17px; }
.service__go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.service__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__go { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(2px); }
.service:hover h3 { color: var(--accent); }
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 16px; font-weight: 500; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; position: relative; z-index: 1;
  border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--accent); font-weight: 600; font-size: 18px;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 1px; background: var(--line); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 17px; }
.assure { margin-top: clamp(36px, 4vw, 52px); padding: 20px 24px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; font-size: 17px; }
.assure svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assure p { margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li:not(:last-child)::after { display: none; } }

/* Team */
.team { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.team__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team__photo { margin: 0; }
.team__photo div { aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: var(--surface-2); display: flex; align-items: flex-end; justify-content: center; }
.team__photo:nth-child(2) div { background: #eceed6; }
.team__photo img { width: 100%; height: auto; }
.team__photo figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.team__photo figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 17px; }
.team__copy h2 { margin-bottom: 20px; }
.team__copy > p { color: var(--ink-2); font-size: 19px; }
.places { margin-top: 28px; }
.places h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.places ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.places a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.places a:hover { background: var(--accent-soft); color: var(--accent-hover); }
.team__links { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 16px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .intro { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent-soft); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 22px; font-weight: 600; font-size: 18px; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 22px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq details a { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .intro { position: static; } }

/* Contact */
.contact { padding: 0 0 var(--section); }
.contact.section--soft .contact__box { padding-inline: 0; background: none; }
.contact__box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-l); background: var(--surface); }
.contact__box h2 { margin-bottom: 18px; }
.contact__box > div > p { color: var(--ink-2); font-size: 19px; margin: 0; }
.contact__people { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.contact__faces { display: flex; flex: none; }
.contact__faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: var(--surface-2); border: 3px solid var(--surface); }
.contact__faces img + img { margin-left: -14px; background: #eceed6; }
.contact__people p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.contact__people strong { color: var(--ink); font-weight: 600; }
.contact__card { display: grid; gap: 12px; padding: 28px; background: var(--card); border-radius: var(--r-m); box-shadow: var(--shadow); }
.contact__card .btn { width: 100%; }
.contact__card .status { justify-content: center; margin-bottom: 4px; }
.contact__card small { text-align: center; font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .contact__box { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 80px) 0 24px; font-size: 16px; color: var(--ink-2); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: 15px; letter-spacing: 0; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-brand img { width: 72px; margin-bottom: 18px; }
.footer-brand address { font-style: normal; line-height: 1.6; }
.footer-brand .footer-tel { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 22px; font-weight: 600; color: var(--ink); }
.footer-brand p { margin: 4px 0 0; }
.footer-brand p a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 24px; margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-legal p { margin: 0; display: flex; align-items: center; min-height: 44px; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-legal a, .footer-legal button { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-legal button:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Mobile contact bar */
.contact-bar { display: none; }
@media (max-width: 880px) {
  .contact-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: rgba(251, 251, 253, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s;
  }
  .contact-bar.is-visible { transform: none; visibility: visible; transition: transform .25s var(--ease); }
  .contact-bar .btn { min-height: 48px; padding: 0 12px; font-size: 16px; width: 100%; box-shadow: none; }
  body.nav-open .contact-bar { visibility: hidden; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Content pages (migrated) ---------- */
.anchor { display: block; position: relative; top: -8px; height: 0; }
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: #b3aebd; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.page-hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__grid--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.page-hero__copy { max-width: 760px; }
.page-hero__kicker { margin: 0 0 16px; font-size: 16px; color: var(--accent); font-weight: 600; }
.page-hero__kicker a { color: inherit; }
.page-hero h1 { font-size: clamp(34px, 3.8vw, 50px); }
.page-hero__lead { margin: 22px 0 0; font-size: clamp(18px, 1.4vw, 20px); color: var(--ink-2); max-width: 40em; }
.page-hero__meta { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.page-hero__meta a { color: var(--accent); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__note { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }
.page-hero__media { margin: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); background: var(--surface); }
.page-hero__media figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.page-hero__media figcaption a { color: inherit; }
body[data-layout="article"] .page-hero__grid--media, body[data-layout="legal"] .page-hero__grid--media { grid-template-columns: 1fr; }
body[data-layout="article"] .page-hero__media img { aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .page-hero__grid--media { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .page-hero__actions .btn { width: 100%; } }

.section--content { padding: clamp(56px, 7vw, 96px) 0; }
.section--content + .section--content:not(.section--soft) { padding-top: clamp(16px, 2vw, 32px); }
.content { max-width: 1040px; }
.content--prose { max-width: 760px; }
body[data-layout="article"] .content--prose, body[data-layout="legal"] .content--prose { margin-inline: auto; }
body[data-layout="article"] .page-hero .wrap, body[data-layout="legal"] .page-hero .wrap { max-width: calc(760px + 2 * var(--gutter)); }
body[data-layout="article"] .section--content, body[data-layout="legal"] .section--content { padding: 0 0 clamp(40px, 5vw, 64px); }
.content > h2:first-child, .content > .anchor:first-child + h2 { margin-top: 0; }
.content h2 { margin: 1.6em 0 .6em; }
.content > h2:first-child { margin-bottom: 20px; }
.content h3 { margin: 1.6em 0 .5em; }
.content h4 { margin: 1.4em 0 .4em; font-size: 18px; }
.content p, .content li, .content dd { color: var(--ink-2); }
.content p { max-width: 60ch; }
.content--prose p, .content--prose li, .content--prose dd { max-width: 35em; }
.content strong, .content b { color: var(--ink); font-weight: 650; }
.content a:not(.btn):not(.text-link):not(.block):not(.link-card) { color: var(--accent); text-underline-offset: 3px; }
.content ul, .content ol { padding-left: 1.2em; max-width: 62ch; }
.content li { margin: .35em 0; text-wrap: pretty; }
.content li::marker { color: var(--accent); }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.content figure { margin: 2em 0; }
.content figure img { border-radius: var(--r-m); }
.content figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.content .btn { margin: 8px 12px 8px 0; }
.content .text-link { margin-right: 20px; }
.content dl { display: grid; gap: 12px; }
.content dt { font-weight: 650; color: var(--ink); }
.content dd { margin: 0 0 8px; }
.content small { font-size: 14px; }

.blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
.block { position: relative; padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); }
.section--soft .block { background: var(--card); }
.block > :first-child, .block h3:first-child, .block h4:first-child { margin-top: 0; }
.block h3, .block h4 { font-size: 19px; margin: 0 0 8px; }
.block p { margin: 0 0 8px; font-size: 17px; }
.block p:last-child { margin-bottom: 0; }
.block ul { padding-left: 1.1em; }
.block--link { display: block; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.block--link:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.block--link:hover h3 { color: var(--accent); }
.block img { border-radius: var(--r-s); margin-bottom: 14px; width: 100%; height: auto; }

.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 24px 0; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; transition: border-color .2s, color .2s; }
.link-card svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-card:hover { border-color: var(--accent); color: var(--accent); }

.content .quote { margin: 2em 0; padding: 24px 28px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); font-size: 19px; line-height: 1.55; color: var(--ink); }
.content .quote p { color: var(--ink); margin: 0; max-width: none; }

.table-scroll { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-scroll th, .table-scroll td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-scroll th { background: var(--surface); color: var(--ink); font-weight: 650; }
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll td { color: var(--ink-2); }

.content .faq { margin: 24px 0; }
.content .faq details > div p { max-width: none; }
.section--soft .faq details { background: var(--card); }

/* ---------- Cookie-Hinweis (Logik unverändert aus main-20261117-v17.js) ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
  position: fixed; z-index: 300; right: 20px; bottom: 20px; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 22px 22px 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: 0 24px 60px -20px rgba(28, 26, 34, .35); font-size: 15px; line-height: 1.5;
}
.cookie-title { display: block; font-size: 17px; font-weight: 650; margin-bottom: 6px; }
.cookie-description, .cookie-note, .cookie-detail-note { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }
.cookie-note a, .cookie-detail-note a { color: var(--accent); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 6px; }
.cookie-banner .btn, .cookie-choice-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
}
.cookie-choice-button[data-consent="all"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-choice-button:hover { border-color: var(--accent); }
.cookie-preferences summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; }
.cookie-preferences summary::-webkit-details-marker { display: none; }
.cookie-preferences summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.cookie-preferences[open] summary svg { transform: rotate(180deg); }
.cookie-options { display: grid; gap: 10px; margin: 6px 0 10px; }
.cookie-options label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 12px; border-radius: var(--r-s); background: var(--surface); cursor: pointer; }
.cookie-options input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.cookie-options strong { display: block; font-size: 14px; }
.cookie-options span span { display: block; font-size: 13px; color: var(--ink-2); }
.cookie-save { width: 100%; margin-top: 4px; }
@media (max-width: 560px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 58vh; padding: 16px 16px 10px; }
  .cookie-description { font-size: 13px; }
}
.block--card { display: flex; flex-direction: column; gap: 6px; }
.block--card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: -8px 0 10px; border-radius: var(--r-s); background: var(--surface); }
.block--card img.block__logo { object-fit: contain; padding: 18px 24px; background: var(--surface); }
.block__kicker { font-size: 14px; color: var(--ink-2); }
.block--card h3 { margin: 0; }
.block--card p { color: var(--ink-2); }
.block__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }
.block__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.block--card:hover .block__more svg { transform: translateX(3px); }
.blocks--single { grid-template-columns: minmax(0, 420px); }
details.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 12px; }
details.faq-item[open] { border-color: var(--accent-soft); }
details.faq-item > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding: 14px 22px; font-weight: 600; font-size: 18px; line-height: 1.4; cursor: pointer; list-style: none; color: var(--ink); }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; transition: transform .25s var(--ease); }
details.faq-item[open] > summary svg { transform: rotate(45deg); }
details.faq-item > div { padding: 0 22px 20px; }
details.faq-item > div > :last-child { margin-bottom: 0; }
.toc { margin: 28px 0; padding: 22px 26px; border-radius: var(--r-m); background: var(--surface); }
.toc__title { margin: 0 0 8px !important; font-weight: 650; color: var(--ink) !important; }
.toc ul, .toc ol { margin: 0; padding-left: 1.1em; }
.toc li { margin: .3em 0; }

/* ---------- Kontaktseite (Formular-Markup und Logik unverändert übernommen) ---------- */
.contact-hero { padding-bottom: 24px; }
.contact-hero__intro { max-width: 760px; }
.contact-hero .status { margin-bottom: 18px; }
.contact-main { padding-top: 16px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.contact-form .hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form h2 { font-size: 26px; margin: 0; }
.contact-form-head { margin-bottom: 18px; }
.contact-form-head p { margin: 10px 0 4px; color: var(--ink-2); }
.contact-form-head small { color: var(--ink-2); font-size: 14px; }
.contact-selected-topic:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; padding: 12px 16px; border-radius: var(--r-s); background: var(--surface); font-size: 15px; }
.contact-selected-topic span { color: var(--ink-2); }
.contact-selected-topic button, .contact-form [data-change-topic] { background: none; border: 0; padding: 0; min-height: 44px; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.kw-package-context:not([hidden]) { margin-top: 12px; padding: 12px 16px; border-radius: var(--r-s); background: var(--signal-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full, .optional-grid .full { grid-column: 1 / -1; }
.contact-form label > span:first-child, .contact-form legend { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78, 66, 128, .18); background: var(--card); }
.contact-form [aria-invalid="true"] { border-color: #b3261e; }
.contact-form label small, .contact-form .field-error { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.contact-form .field-error { color: #b3261e; font-weight: 600; }
.contact-form .field-error[hidden] { display: none; }
.nx-start-contact-context:not([hidden]) { padding: 18px; border-radius: var(--r-m); background: var(--surface); }
.nx-start-contact-context h3 { font-size: 18px; margin: 0 0 6px; }
.form-optional { border-block: 1px solid var(--line); }
.form-optional > summary { display: flex; align-items: center; min-height: 52px; padding: 0; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--accent); }
.optional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 4px 0 18px; }
.urgency { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.urgency legend { grid-column: 1 / -1; padding: 0; }
.urgency label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card); cursor: pointer; font-size: 15px; line-height: 1.35; }
.urgency label:has(input:checked) { border-color: var(--accent); background: var(--surface); }
.urgency input { margin-top: 3px; accent-color: var(--accent); }
.urgency small { color: var(--ink-2); font-size: 13px; }
.privacy-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.privacy-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.privacy-check a { color: var(--accent); }
.contact-send-actions { margin-top: 22px; }
.contact-send-actions .btn { width: 100%; min-height: 56px; font-size: 18px; }
.contact-send-actions .btn[disabled] { opacity: .55; cursor: not-allowed; }
.form-status:not([hidden]) { margin-bottom: 18px; padding: 14px 18px; border-radius: var(--r-m); background: var(--signal-soft); color: var(--ink); font-weight: 600; }
.form-status.is-error, .form-status[data-state="error"] { background: #fbe9e7; color: #8c1d18; }
.contact-next-note { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); text-align: center; }
.nx-contact-fallback { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); text-align: center; }
.nx-contact-fallback a { color: var(--accent); }
.nx-contact-alternatives { margin-top: 12px; text-align: center; }
.nx-contact-alternatives > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent); font-weight: 600; font-size: 15px; }
.contact-whatsapp-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; }
.contact-whatsapp-note { font-size: 14px; color: var(--ink-2); margin: 0; }

.contact-aside { display: grid; gap: 18px; position: sticky; top: 100px; }
.contact-aside__card { display: grid; gap: 10px; padding: 26px; border-radius: var(--r-l); background: var(--surface); }
.contact-aside__card h2 { font-size: 24px; margin: 0; }
.contact-aside__card .contact-hours { margin: 0 0 6px; color: var(--ink-2); font-size: 16px; }
.contact-aside__card .btn { width: 100%; box-shadow: none; }
.contact-aside__people { display: flex; align-items: center; gap: 14px; }
.contact-aside__people p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.contact-aside__people strong { color: var(--ink); }
.contact-aside__rating { margin: 0; font-size: 15px; color: var(--ink-2); }
.contact-aside__rating .text-link { display: inline-flex; min-height: 44px; }
.contact-urgent { margin: 0; padding: 14px 16px; border-radius: var(--r-m); background: var(--signal-soft); font-size: 15px; }
.contact-routing { font-size: 15px; color: var(--ink-2); }
.contact-routing p { margin: 6px 0; }
.contact-routing a { color: var(--accent); font-weight: 600; }
.contact-routing details summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--ink); }
.contact-notes { margin-top: clamp(36px, 4vw, 52px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .contact-notes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid, .optional-grid, .urgency { grid-template-columns: 1fr; }
  .contact-form { border-radius: var(--r-m); }
}
body[data-layout="contact"] .contact-bar { display: none; }

.contact-form ::placeholder { color: #6b6675; opacity: 1; }
/* Kontaktbaustein: Fläche und Aktionen ohne Karte in Karte */
.contact:not(.section--soft) .contact__card { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.contact:not(.section--soft) .contact__card .status { justify-content: flex-start; }
.contact:not(.section--soft) .contact__card small { text-align: left; }

}
