/* ==========================================================================
   Martin Scholz — Zertifizierter Sachverständiger für Online-Marketing
   Design-System · Mobile-First · WCAG 2.1 AA · keine externen Ressourcen
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Farben — Kontraste gegen Weiß geprüft (AA) */
  --ink: #1a2733;          /* Fließtext, 13.9:1 */
  --ink-soft: #46586a;     /* Nebentext, 7.3:1 */
  --primary: #123f66;      /* Tiefblau, Weiß darauf 10.8:1 */
  --primary-deep: #0c2e4d; /* Footer, dunkle Flächen */
  --primary-tint: #e8eff6; /* helle Blau-Fläche */
  --accent: #0f766e;       /* Petrol-Akzent, Weiß darauf 5.3:1 */
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --line: #d9e2ea;
  --focus: #0f766e;
  --error: #b3261e;
  --ok: #1e6b40;

  /* Typografie — Systemschriften, 0 Byte Ladezeit */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-0: 0.875rem;
  --fs-1: 1.0625rem;
  --fs-2: 1.1875rem;
  --fs-3: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-4: clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --fs-5: clamp(1.85rem, 1.5rem + 1.6vw, 2.5rem);
  --fs-6: clamp(2.15rem, 1.6rem + 2.6vw, 3.35rem);

  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow: 0 1px 2px rgba(12, 46, 77, 0.06), 0 8px 24px rgba(12, 46, 77, 0.08);
  --container: 72rem;
  --header-h: 4.25rem;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-1);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--primary-deep);
  margin: 0 0 0.75em;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-6); font-weight: 750; }
h2 { font-size: var(--fs-5); font-weight: 700; }
h3 { font-size: var(--fs-3); font-weight: 650; }
h4 { font-size: var(--fs-2); font-weight: 650; }

p, ul, ol, dl { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

a { color: var(--primary); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { color: var(--accent); }

strong { font-weight: 650; }
small { font-size: var(--fs-0); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 4px solid var(--accent);
  color: var(--ink-soft);
}

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

::selection { background: var(--primary-tint); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.125rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--primary-deep);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  display: block;
  font-size: var(--fs-0);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead { font-size: var(--fs-3); line-height: 1.55; color: var(--ink-soft); }

.center { text-align: center; }
.center .eyebrow { margin-inline: auto; }
.mt-lg { margin-top: 1.5rem; }
.mx-auto { margin-inline: auto; }
.maxw-md { max-width: 44rem; }
.center-row { justify-content: center; }
.section-deep .eyebrow { color: #7fd1c8; }

.section { padding-block: clamp(3.25rem, 8vw, 5.5rem); }
.section-soft { background: var(--bg-soft); }
.section-deep {
  background: linear-gradient(165deg, #17527e 0%, #0f3a5f 100%);
  color: #fff;
}
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep p { color: #d5e2ee; }
.section-deep a { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head p { color: var(--ink-soft); }
.section-head.center { margin-inline: auto; }
.section-deep .section-head p { color: #d5e2ee; }

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
/* Topbar über dem Header: durchklickbarer Hinweis-Banner */
a.topbar {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--primary-deep);
  color: #d5e2ee;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
/* "Sternschnuppe": heller Lichtstreif zieht periodisch durch die Leiste */
a.topbar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 38%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: topbar-glanz 7s ease-in-out infinite;
}
@keyframes topbar-glanz {
  0%, 72% { left: -45%; }
  100% { left: 135%; }
}
a.topbar:hover { background: #123f66; color: #fff; }
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.4rem;
  padding-block: 0.35rem;
  text-align: center;
}
.topbar-lang { display: none; letter-spacing: 0.02em; }
.topbar-kurz { display: inline; }
.topbar-pfeil { transition: transform 0.2s ease; font-weight: 650; }
a.topbar:hover .topbar-pfeil { transform: translateX(4px); }
@media (min-width: 48em) {
  .topbar-lang { display: inline; }
  .topbar-kurz { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--primary-deep);
}
.brand:hover { color: var(--primary-deep); }
.brand-logo {
  display: block;
  height: 2.25rem;
  width: auto;
  transition: opacity 0.15s ease;
}
.brand:hover .brand-logo { opacity: 0.82; }
@media (min-width: 48em) {
  .brand-logo { height: 2.6rem; }
}
.brand-mark {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand-text { line-height: 1.2; }
.brand-name { display: block; font-weight: 750; font-size: 1.05rem; }
.brand-claim { display: block; font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.01em; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font: inherit;
  font-weight: 650;
  color: var(--primary-deep);
  cursor: pointer;
}
.nav-toggle .bars { display: inline-block; width: 1.1rem; }
.nav-toggle .bars::before {
  content: "";
  display: block;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  margin-block: 7px;
}

.site-nav[hidden] { display: none; }
.site-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem clamp(1.125rem, 4vw, 2rem) 1.25rem;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 0.7rem 0.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a:hover { color: var(--primary); }
.site-nav a[aria-current] { color: var(--primary); }
.site-nav .nav-cta a {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  border-bottom: 0;
  padding: 0.7rem 1rem;
}
.site-nav .nav-cta a:hover { background: var(--primary-deep); }

@media (min-width: 64em) {
  .nav-toggle { display: none; }
  .site-nav[hidden] { display: block; }
  .site-nav {
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0;
  }
  .site-nav a {
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    font-size: 0.98rem;
  }
  .site-nav a[aria-current] { border-bottom-color: var(--accent); }
  .site-nav .nav-cta a {
    margin-top: 0;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
  }
}

/* --------------------------------------------------------------------------
   5. Buttons & CTA
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid var(--primary);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(12, 46, 77, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
}
.btn-ghost:hover { background: var(--primary-tint); color: var(--primary-deep); }

.section-deep .btn { background: #fff; color: var(--primary-deep); border-color: #fff; }
.section-deep .btn:hover { background: var(--primary-tint); border-color: var(--primary-tint); }
.section-deep .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.section-deep .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 9vw, 6rem); }
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero .lead { margin-block: 1.25rem 1.75rem; }
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: var(--fs-0);
  color: var(--ink-soft);
}
.hero-facts li {
  margin: 0;
  padding-left: 1.35rem;
  position: relative;
}
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85em;
  height: 0.45em;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

@media (min-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* --------------------------------------------------------------------------
   7. Karten, Grids, Listen
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); margin-bottom: 0.75rem; }
.card .card-link { margin-top: auto; font-weight: 650; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.section-soft .card { box-shadow: 0 1px 2px rgba(12,46,77,0.04); }

a.card-wrap { text-decoration: none; color: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
a.card-wrap:hover { border-color: var(--primary); box-shadow: var(--shadow); color: inherit; transform: translateY(-4px); }
a.card-wrap:hover h3 { color: var(--primary); }
a.card-wrap .card-link { transition: padding-left 0.2s ease, color 0.15s ease; }
a.card-wrap:hover .card-link { padding-left: 0.4rem; color: var(--accent); }
a.card-wrap:hover .icon-badge { background: var(--primary); color: #fff; transform: scale(1.07) rotate(-4deg); }

.icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.icon-badge svg { width: 1.4rem; height: 1.4rem; }

/* Nummerierte Schritte (Ablauf) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2rem 3.5rem;
  margin: 0;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.6rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--line);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--ink-soft); margin-bottom: 0; }

/* Check- und Kreuzlisten */
.list-check, .list-cross { list-style: none; padding: 0; }
.list-check li, .list-cross li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.6em;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.45em;
  width: 0.9em;
  height: 0.5em;
  border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}
.list-cross li::before, .list-cross li::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.25em;
  width: 2.5px;
  height: 1em;
  background: var(--error);
  transform: rotate(45deg);
}
.list-cross li::after { transform: rotate(-45deg); }

/* Definitionstabellen (Honorar) */
.table-wrap { overflow-x: auto; margin-block: 1.5rem; }
table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--fs-1);
}
caption {
  text-align: left;
  font-weight: 650;
  padding-bottom: 0.6rem;
  color: var(--primary-deep);
}
th, td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: var(--primary-tint);
  color: var(--primary-deep);
  font-weight: 700;
}
tbody th { font-weight: 650; white-space: nowrap; }

/* --------------------------------------------------------------------------
   8. FAQ (native <details>)
   -------------------------------------------------------------------------- */
.faq { max-width: 50rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 650;
  color: var(--primary-deep);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 1rem 1.25rem 0.25rem; }
.faq .faq-body p:last-child { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   9. Breadcrumbs & Seitenkopf
   -------------------------------------------------------------------------- */
.breadcrumbs {
  font-size: var(--fs-0);
  padding-top: 1.25rem;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--ink-soft);
}
.breadcrumbs li { margin: 0; display: flex; gap: 0.35rem; align-items: center; }
.breadcrumbs li + li::before { content: "›"; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }

.page-head { padding-block: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head .lead { max-width: 50rem; margin-top: 1rem; }

/* --------------------------------------------------------------------------
   10. Trust-Leiste & Fakten
   -------------------------------------------------------------------------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  justify-content: flex-start;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--fs-0);
  font-weight: 600;
}
.trust span { display: inline-flex; align-items: center; gap: 0.55rem; }
.trust svg { width: 1.25rem; height: 1.25rem; color: var(--accent); flex: none; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1.25rem;
}
.fact { border-left: 3px solid var(--accent); padding-left: 1.1rem; }
.fact strong {
  display: block;
  font-size: var(--fs-4);
  color: var(--primary-deep);
  font-weight: 750;
  line-height: 1.2;
}
.fact span { color: var(--ink-soft); font-size: var(--fs-0); }
.section-deep .fact strong { color: #fff; }
.section-deep .fact span { color: #c3d4e3; }

/* --------------------------------------------------------------------------
   11. Bild-Platzhalter
   -------------------------------------------------------------------------- */
.ph {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.ph svg { width: 100%; height: auto; display: block; }
/* Auf schmalen Screens Hochformat-Platzhalter begrenzen und zentrieren */
.hero-grid .ph { width: 100%; max-width: 24rem; margin-inline: auto; }
@media (min-width: 60em) {
  .hero-grid .ph { max-width: none; margin-inline: 0; }
}

/* Porträt mit Pop-out-Kreis (transparentes PNG, kein Rahmen) */
.portrait-popout {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-inline: auto;
}
@media (min-width: 60em) {
  .hero-grid .portrait-popout { max-width: 27rem; }
}

/* --------------------------------------------------------------------------
   12. Formulare
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; max-width: 40rem; }
.field label { display: block; font-weight: 650; margin-bottom: 0.35rem; }
.field .hint { display: block; font-size: var(--fs-0); color: var(--ink-soft); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #9db0c0;
  border-radius: var(--radius-sm);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field-consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.field-consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; flex: none; }
.field-consent label { font-weight: 400; font-size: var(--fs-0); color: var(--ink-soft); }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
form button.btn { cursor: pointer; font: inherit; font-weight: 650; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--primary-deep);
  color: #c3d4e3;
  font-size: var(--fs-0);
  border-top: 3px solid var(--accent);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-block: 3rem 2.5rem;
}
.footer-grid h2 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-about p { color: #c3d4e3; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 750;
  margin-bottom: 1rem;
}
.footer-brand .brand-mark { background: rgba(255,255,255,0.14); }
address { font-style: normal; line-height: 1.8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-bottom li { margin: 0; }
.footer-note { color: #9db4c8; }

@media (min-width: 48em) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* --------------------------------------------------------------------------
   14. Artikel (Wissen)
   -------------------------------------------------------------------------- */
.article { max-width: 46rem; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: var(--fs-0);
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.article h2 { font-size: var(--fs-4); margin-top: 2.2em; }
.article h3 { margin-top: 1.8em; }
.box {
  background: var(--primary-tint);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-block: 2rem;
}
.box > :last-child { margin-bottom: 0; }
.box h2, .box h3 { margin-top: 0; }

/* --------------------------------------------------------------------------
   15. Sonstiges
   -------------------------------------------------------------------------- */
.todo {
  background: #fff7e0;
  border: 1px dashed #c9a227;
  border-radius: 4px;
  padding: 0.05em 0.4em;
  font-size: 0.9em;
  color: #6b5310;
  white-space: nowrap;
}

.contact-cards { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card .big {
  font-size: var(--fs-3);
  font-weight: 700;
  color: var(--primary-deep);
  text-decoration: none;
  word-break: break-word;
}
.contact-card .big:hover { color: var(--accent); text-decoration: underline; }

/* --------------------------------------------------------------------------
   16. Interaktion & Mikroanimationen
   -------------------------------------------------------------------------- */
.hero, .page-head {
  background-image:
    radial-gradient(36rem 24rem at 92% -8%, rgba(18, 63, 102, 0.07), transparent 65%),
    radial-gradient(28rem 20rem at -8% 112%, rgba(15, 118, 110, 0.06), transparent 60%);
}

.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(12, 46, 77, 0.14); }

.faq details { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq details:hover { border-color: var(--primary); }
.faq summary { transition: color 0.15s ease; }
.faq summary:hover { color: var(--accent); }

tbody tr { transition: background-color 0.15s ease; }
tbody tr:hover { background: var(--bg-soft); }

.contact-card { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }

/* Scroll-Reveal (nur mit JS und ohne Bewegungs-Reduzierung aktiv) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--rd, 0s);
  }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Siegel & Nachweise
   -------------------------------------------------------------------------- */
.mitglied-banner {
  display: inline-flex;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.35rem 0.6rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.mitglied-banner:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.mitglied-banner img { height: 44px; width: auto; }

.trust-siegel { width: 4.75rem; height: auto; flex: none; }

.media-row { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.media-row > div { flex: 1 1 16rem; }
.siegel-hoch { width: 7.5rem; height: auto; flex: none; }

/* Dokument-Vorschauen (Zertifikat/Urkunde) */
.doc-galerie {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  max-width: 40rem;
}
figure.doc-frame { margin: 0; }
.doc-frame > a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(12, 46, 77, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.doc-frame > a:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.doc-frame img { width: 100%; height: auto; display: block; }
.doc-frame figcaption { font-size: var(--fs-0); color: var(--ink-soft); margin-top: 0.6rem; }
.hero-grid .doc-frame { width: 100%; max-width: 24rem; margin-inline: auto; }
@media (min-width: 60em) {
  .hero-grid .doc-frame { max-width: 26rem; }
}

.footer-badge-wrap { display: inline-block; margin-top: 0.9rem; }
.footer-badge {
  height: 42px;
  width: auto;
  background: #fff;
  border-radius: 0.35rem;
  padding: 0.25rem 0.45rem;
}

/* --------------------------------------------------------------------------
   18. Anfrage-Funnel
   -------------------------------------------------------------------------- */
.funnel { max-width: 46rem; }
.funnel-fortschritt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
  font-size: var(--fs-0);
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}
.funnel-balken {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.funnel-balken > span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.funnel fieldset { border: 0; padding: 0; margin: 0; }
.funnel legend {
  font-size: var(--fs-4);
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  padding: 0;
}
.funnel-optionen { display: grid; gap: 0.75rem; }
@media (min-width: 48em) {
  .funnel-optionen { grid-template-columns: 1fr 1fr; }
}
.funnel-option { position: relative; }
.funnel-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.funnel-option label {
  display: block;
  height: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid #9db0c0;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.funnel-option label:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.funnel-option input:checked + label {
  border-color: var(--primary);
  background: var(--primary-tint);
  color: var(--primary-deep);
}
.funnel-option input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.funnel-schritt[hidden] { display: none; }
.funnel-nav { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.funnel-zurueck {
  background: none;
  border: 0;
  padding: 0.5rem 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.funnel-zurueck:hover { color: var(--primary); }
.funnel-zusammenfassung {
  background: var(--primary-tint);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.75rem;
}
.funnel-zusammenfassung dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0;
  font-size: var(--fs-0);
}
.funnel-zusammenfassung dt { font-weight: 700; color: var(--primary-deep); }
.funnel-zusammenfassung dd { margin: 0; color: var(--ink); }

/* Sticky-Hinweis unten rechts: Weg zur geführten Anfrage */
.sticky-anfrage {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(12, 46, 77, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.15s ease;
  animation: sticky-rein 0.5s ease 0.9s backwards;
}
.sticky-anfrage:hover {
  background: #0d655e;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(12, 46, 77, 0.34);
}
.sticky-anfrage svg { width: 1.05rem; height: 1.05rem; flex: none; }
@keyframes sticky-rein {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media print {
  .sticky-anfrage { display: none !important; }
}

/* --------------------------------------------------------------------------
   19. Print — Gutachter-Publikum druckt
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link, .btn, .breadcrumbs { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: none; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .section, .hero, .page-head { padding-block: 0.8cm; }
  .section-deep, .section-soft { background: none; color: #000; }
  .section-deep h2, .section-deep p { color: #000; }
}
