/* ==========================================================================
   BORTO CONSULTING GMBH — DESIGN SYSTEM
   "Recht trifft Wirtschaft" — Vertrauensvoll klassisch
   Vanilla CSS, kein Framework, mobile-first (Baseline 375px)
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  color-scheme: light;

  /* --- Farben: Marke --- */
  --color-navy: #0F2A43;
  --color-navy-800: #0C233A;
  --color-navy-900: #0A1E30;
  --color-navy-secondary: #1E4E79;

  --color-gold: #C2A25A;          /* NUR Flächen/Icons/Borders auf Navy — nicht als Fließtext auf Hell */
  --color-gold-hover: #AB8F4F;    /* Hover-Zustand für Gold-Flächen */
  --color-gold-deep: #8A6D2F;     /* textsicherer Gold-Ton, ~4.9:1 auf Weiß — für Eyebrows/Links auf Hell */

  /* --- Farben: Neutral/Flächen --- */
  --color-bg: #FFFFFF;
  --color-bg-offwhite: #F6F8FA;
  --color-text: #0E1A26;
  --color-text-secondary: #5B6B78;
  --color-divider: #E3E8EC;
  --color-white: #FFFFFF;

  /* --- Farben: auf Navy-Flächen --- */
  --color-text-on-navy: #FFFFFF;
  --color-text-on-navy-secondary: rgba(255, 255, 255, 0.76);
  --color-divider-on-navy: rgba(255, 255, 255, 0.14);

  /* --- Farben: Status --- */
  --color-error: #B3261E;
  --color-error-bg: #FBEAE9;

  /* --- Fokus-Ring (kontextsensitiv via Custom Property, siehe Abschnitt 4) --- */
  --focus-ring-color: var(--color-gold-deep);

  /* --- Typografie --- */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --fs-h1: clamp(2.5rem, 2.05rem + 2.1vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.7rem + 1.4vw, 3rem);
  --fs-h3: clamp(1.5rem, 1.34rem + 0.75vw, 2rem);
  --fs-h4: clamp(1.25rem, 1.16rem + 0.4vw, 1.5rem);
  --fs-h5: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-h6: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --fs-body-lg: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --fs-body: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;
  --lh-display: 1.06;   /* für großformatige Fraunces-Headlines (Hero/Page-Hero) */

  /* --- Tracking (Letter-Spacing) für Fraunces-Display-Typografie --- */
  --tracking-tight: -0.01em;
  --tracking-tighter: -0.02em;

  /* --- Spacing-Skala (4px-Basis) --- */
  --space-1: 0.25rem;  /* 4  */
  --space-2: 0.5rem;   /* 8  */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 3rem;     /* 48 */
  --space-8: 4rem;     /* 64 */
  --space-9: 6rem;     /* 96 */
  --space-10: 8rem;    /* 128 */

  --section-padding-y: clamp(3.5rem, 3rem + 3vw, 7rem);
  --section-padding-y-sm: clamp(2.5rem, 2.2rem + 1.5vw, 4rem);

  /* --- Radius (innerer Radius < äußerer Radius) --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* --- Schatten (dezent, navy-getönt statt reinem Schwarz) --- */
  --shadow-sm: 0 1px 2px rgba(15, 42, 67, 0.06), 0 1px 1px rgba(15, 42, 67, 0.04);
  --shadow-md: 0 12px 28px -16px rgba(15, 42, 67, 0.22);
  --shadow-lift: 0 20px 40px -18px rgba(15, 42, 67, 0.28);

  /* --- Layout --- */
  --container-max: 1200px;
  --container-max-narrow: 760px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 84px;

  /* --- Motion --- */
  --ease-standard: cubic-bezier(0.2, 0.7, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

body {
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-locked {
  overflow: hidden;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--color-gold);
  color: var(--color-navy);
}

::-moz-selection {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* Scrollbar in Markenfarben (Firefox + WebKit) */
html {
  scrollbar-color: var(--color-navy-secondary) var(--color-bg-offwhite);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-offwhite);
}

::-webkit-scrollbar-thumb {
  background: var(--color-navy-secondary);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-bg-offwhite);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-navy);
}

/* Anker-Ziele nicht hinter dem Sticky-Header verstecken (Fallback ohne JS) */
section[id],
.faq-item[id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

/* --- Headlines: Fraunces mit optischer Größenachse --- */
h1, h2, h3, h4,
.font-heading {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

h1, h2, .section-head h2 {
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 600; }
h5 { font-family: var(--font-body); font-size: var(--fs-h5); font-weight: 600; }
h6 { font-family: var(--font-body); font-size: var(--fs-h6); font-weight: 600; }

p { color: var(--color-text); }

/* ==========================================================================
   3. LAYOUT-PRIMITIVEN
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow {
  max-width: var(--container-max-narrow);
}

.section {
  padding-block: var(--section-padding-y);
}

.section--sm {
  padding-block: var(--section-padding-y-sm);
}

.section--offwhite {
  background: var(--color-bg-offwhite);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-text-on-navy-secondary);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--color-text-on-navy);
}

.section--bordered {
  border-block: 1px solid var(--color-divider);
}

/* Eyebrow / Kicker-Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}

.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.section--navy .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow {
  color: var(--color-gold);
}

.eyebrow--center::before {
  display: none;
}

/* Section-Kopf */
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: var(--space-3);
}

.section-head h2 {
  margin-bottom: var(--space-4);
}

.section-head p {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
}

.section--navy .section-head p,
.cta-band .section-head p {
  color: var(--color-text-on-navy-secondary);
}

/* generisches 2-Spalten-Split (Positionierung, etc.) */
.split-block {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
  }
}

/* Long-form Content (Impressum/Datenschutz/Intros) */
.prose {
  max-width: 75ch;
}

.prose h2 { margin-block: var(--space-8) var(--space-4); font-size: var(--fs-h3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-block: var(--space-6) var(--space-3); font-size: var(--fs-h5); }
.prose p { margin-bottom: var(--space-4); color: var(--color-text-secondary); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 var(--space-4); }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: var(--space-2); color: var(--color-text-secondary); }
.prose strong { color: var(--color-text); font-weight: 600; }
.prose a { color: var(--color-navy-secondary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--color-navy); }

/* Kompakter Seiten-Header für Unterseiten (leistungen/ueber/kontakt/…) */
.page-hero {
  background: var(--color-navy);
  color: var(--color-text-on-navy-secondary);
  padding-block: var(--space-8) var(--space-7);
}

.page-hero h1 {
  color: #fff;
  margin-bottom: var(--space-3);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-tighter);
}

.page-hero p {
  max-width: 60ch;
  font-size: var(--fs-body-lg);
}

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 100;
  background: var(--color-navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top var(--duration-base) var(--ease-standard);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ==========================================================================
   4. FOKUS-ZUSTAND (global, kontextsensitiv über Custom Property)
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--focus-ring-color);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Auf Navy-Flächen: Fokusring in reinem Gold (6:1 statt 4,9:1 — noch klarer) */
.hero, .section--navy, .cta-band, .site-footer, .page-hero {
  --focus-ring-color: var(--color-gold);
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--duration-base) var(--ease-standard),
    color var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard);
}

.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* Primär: Gold-Fläche, Navy-Text (siehe Kontrast-Begründung oben) */
.btn-primary {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
  --focus-ring-color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Sekundär: Outline auf Hell (Navy-Rand, Navy-Text) */
.btn-secondary {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Ghost: Outline auf Navy-Flächen (Hero, CTA-Band, Footer) */
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-navy);
  transform: translateY(-1px);
}

/* ==========================================================================
   6. HEADER / NAVIGATION (sticky)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-divider);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--color-navy);
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-tagline {
  display: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* Immer sichtbare CTA + Hamburger, unabhängig vom Menüzustand */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  border-radius: 1px;
  transition: transform var(--duration-base) var(--ease-standard), opacity var(--duration-base) var(--ease-standard);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
  padding: var(--space-5) var(--container-pad) var(--space-6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard),
    visibility 0s linear var(--duration-base);
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard),
    visibility 0s;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--duration-base) var(--ease-standard);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-standard);
}

.nav-link:hover {
  color: var(--color-navy-secondary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--color-navy);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    order: 2;
  }

  .nav-list {
    flex-direction: row;
    gap: var(--space-6);
  }

  .header-actions { order: 3; }
  .brand-tagline { display: block; }
  body.nav-locked { overflow: visible; }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-800) 55%, var(--color-navy-900) 100%);
  color: var(--color-text-on-navy-secondary);
}

.hero::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.hero .container {
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-9) var(--space-8);
  align-items: center;
}

.hero h1 {
  color: #fff;
  max-width: 20ch;
  margin-block: var(--space-5);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-tighter);
}

.hero .lede {
  max-width: 52ch;
  font-size: var(--fs-body-lg);
  color: var(--color-text-on-navy-secondary);
  margin-bottom: var(--space-5);
}

/* Differenzierende Pull-Quote-Zeile: Fraunces bleibt der Headline vorbehalten,
   hier schafft ein Gold-Steg statt Kursive die Hierarchie (keine echte Fraunces-
   Kursivschnitt-Datei vorhanden -> keine unechte/"faux" Kursivierung). */
.hero-note {
  position: relative;
  max-width: 48ch;
  padding-left: var(--space-5);
  margin-bottom: var(--space-6);
  border-left: 2px solid var(--color-gold);
  color: var(--color-text-on-navy-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-portrait {
  position: relative;
  justify-self: center;
  max-width: 420px;
}

.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-portrait img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Above-the-fold-Feinschliff für flache Desktop-Viewports (z. B. 1280x800):
   Vertikalrhythmus straffen, damit Portrait und CTA nicht wirken, als würden
   sie über den sichtbaren Bereich hinausragen. */
@media (min-width: 1024px) and (max-height: 860px) {
  .hero .container {
    padding-block: var(--space-7) var(--space-6);
    gap: var(--space-6);
  }

  .hero h1 {
    margin-block: var(--space-4);
  }

  .hero-portrait {
    max-width: 340px;
  }
}

/* ==========================================================================
   8. TRUST-LEISTE
   ========================================================================== */
.trust-bar {
  background: var(--color-bg-offwhite);
  border-block: 1px solid var(--color-divider);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) 0;
  padding-block: var(--space-5);
}

.trust-item {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
  padding-inline: var(--space-5);
}

.trust-item + .trust-item {
  border-left: 1px solid var(--color-divider);
}

/* ==========================================================================
   9. LEISTUNGSPAKETE (Service Cards)
   ========================================================================== */
.services-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}

.service-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-standard);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-bg-offwhite);
  color: var(--color-navy);
  margin-bottom: var(--space-5);
  transition: background-color var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);
}

.service-card:hover .service-icon {
  background: var(--color-navy);
  color: var(--color-gold);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.service-card h3 {
  margin-bottom: var(--space-2);
}

.service-benefit {
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--color-navy-secondary);
  margin-bottom: var(--space-4);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-block-start: 0.5em;
  border-radius: 50%;
  background: var(--color-gold);
}

/* ==========================================================================
   10. ABLAUF / PROZESS
   ========================================================================== */
.process-steps {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
}

.step {
  position: relative;
  padding-inline-start: var(--space-8);
}

.step-number {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
}

.step h3 {
  margin-block: var(--space-2);
  font-size: var(--fs-h5);
}

.step p {
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    inset-inline-start: 56px;
    inset-block-start: 27px;
    width: calc(100% - 56px + var(--space-6));
    border-top: 1px dashed var(--color-divider);
    z-index: -1;
  }
}

/* ==========================================================================
   11. ÜBER / FOUNDER
   ========================================================================== */
.about-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }
}

.about-portrait img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-vita {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block: var(--space-5);
}

.about-vita li {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.about-vita li strong {
  min-width: 9rem;
  flex-shrink: 0;
  color: var(--color-text);
  font-weight: 600;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-divider);
  background: var(--color-bg-offwhite);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-navy-secondary);
}

/* Werte/Awards-Badges (gleiche Mechanik wie Chips, Gold-Ink-Text) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-divider);
  background: var(--color-bg-offwhite);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-gold-deep);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* ==========================================================================
   12. REFERENZEN / TESTIMONIALS (ehrliches "Referenzen folgen"-Design,
   solange keine echten, freigegebenen Zitate vorliegen)
   ========================================================================== */
.testimonial-pending {
  max-width: 620px;
  margin-inline: auto;
  padding: var(--space-8) var(--space-7);
  border: 1px dashed var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  text-align: center;
}

.testimonial-pending-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-gold-deep);
  margin-bottom: var(--space-3);
}

.testimonial-pending-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.testimonial-pending-text {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   13. FAQ (details/summary, kein JS nötig)
   ========================================================================== */
.faq-list {
  border-top: 1px solid var(--color-divider);
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-h6);
  color: var(--color-text);
  list-style: none;
  transition: color var(--duration-base) var(--ease-standard);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--color-navy-secondary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-gold-deep);
  transition: transform var(--duration-base) var(--ease-standard);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 65ch;
  padding-block-end: var(--space-5);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   14. CTA-BAND (Abschluss-CTA)
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  color: var(--color-text-on-navy-secondary);
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 130%, rgba(194, 162, 90, 0.22), transparent 60%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-narrow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.cta-band h2 {
  color: #fff;
}

.cta-band .lede {
  font-size: var(--fs-body-lg);
}

.cta-band .hero-actions {
  justify-content: center;
}

/* ==========================================================================
   15. FORMULARE
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-text);
}

.form-label .required {
  margin-left: 2px;
  color: var(--color-error);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-navy-secondary);
  box-shadow: 0 0 0 3px rgba(30, 78, 121, 0.15);
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea,
.form-group.has-error .form-select {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.form-error {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-error);
}

.form-error:empty {
  display: none;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-block: var(--space-6);
}

.consent-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-navy-secondary);
}

.consent-row label {
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: var(--color-text-secondary);
}

.consent-row a,
.form-note a {
  color: var(--color-navy-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  margin-top: var(--space-3);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-navy);
  color: var(--color-text-on-navy-secondary);
}

.footer-top {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  padding-block: var(--space-9) var(--space-7);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: var(--space-6);
  }
}

.footer-brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
}

.footer-brand p {
  max-width: 32ch;
  margin-top: var(--space-3);
}

.footer-col h3 {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  transition: color var(--duration-base) var(--ease-standard);
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-divider-on-navy);
  font-size: 0.8125rem;
}

/* ==========================================================================
   17. RESPONSIVE FEINSCHLIFF
   ========================================================================== */
@media (max-width: 639px) {
  .hero-actions,
  .cta-band .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-item {
    padding-inline: var(--space-3);
  }
}

@media (min-width: 640px) {
  .footer-bottom { font-size: 0.875rem; }
}

@media (min-width: 1200px) {
  :root {
    --container-pad: 2.5rem;
  }
}

/* ==========================================================================
   18. SCROLL-REVEAL (progressive enhancement, siehe main.js)
   Klasse wird ausschließlich per JS gesetzt: ohne JS bzw. bei
   prefers-reduced-motion bleibt der Inhalt reflexartig sichtbar.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-slow) var(--ease-standard),
              transform var(--duration-slow) var(--ease-standard);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   19. LOGO-WALL (Auszeichnungen & Stipendien, index.html #werte, ueber.html #auszeichnungen)
   ========================================================================== */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-6) var(--space-7);
}

.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  width: 116px;
}

.logo-tile img {
  height: 40px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--duration-base) var(--ease-standard);
}

.logo-tile:hover img {
  filter: grayscale(0) opacity(1);
}

.logo-caption {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--color-text-secondary);
  text-align: center;
}

/* ==========================================================================
   20. VERGLEICHSTABELLE „WARUM BORTO" (index.html #positionierung)
   ========================================================================== */
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-bg);
}

.compare-table th,
.compare-table td {
  padding: var(--space-4) var(--space-5);
  text-align: center;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--fs-small);
}

.compare-table thead th {
  padding-block: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--fs-h6);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-offwhite);
}

.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-text);
  background: var(--color-bg);
}

.compare-table tbody th,
.compare-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table__highlight {
  background: rgba(194, 162, 90, 0.08);
}

.compare-table thead th.compare-table__highlight {
  background: var(--color-navy);
  color: #fff;
}

.compare-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--color-divider);
}

.compare-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare-icon--yes {
  color: var(--color-navy);
}

.compare-table__highlight .compare-icon--yes {
  color: var(--color-gold-deep);
}

.compare-note {
  margin-top: var(--space-5);
  text-align: center;
  color: var(--color-text-secondary);
}

.compare-note a {
  color: var(--color-navy-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   21. LEISTUNGEN IM BILD-TEXT-WECHSEL (leistungen.html Pakete)
   ========================================================================== */
.feature-row {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-9);
  }

  .feature-row--reverse .feature-visual {
    order: 2;
  }

  .feature-row--reverse .feature-content {
    order: 1;
  }
}

.feature-visual__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-bg-offwhite);
  border: 1px solid var(--color-divider);
  overflow: hidden;
}

.feature-illustration {
  width: 100%;
  height: 100%;
}

.feature-content h2 {
  margin-block: var(--space-3) var(--space-2);
}

.feature-content > p {
  margin-bottom: var(--space-4);
}

.feature-content .service-list {
  margin-block: var(--space-5);
}

.feature-benefit {
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--color-gold);
  border-radius: var(--radius-sm);
  background: var(--color-bg-offwhite);
  color: var(--color-text);
}

.feature-benefit strong {
  color: var(--color-navy);
}

/* ==========================================================================
   22. VORTEILS-GRID (index.html #vorteile) — runde Icon-Medaillons
   ========================================================================== */
.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-offwhite);
  border: 1px solid var(--color-divider);
  color: var(--color-navy);
  margin-bottom: var(--space-5);
  transition: background-color var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard),
              color var(--duration-base) var(--ease-standard);
}

.advantage-card:hover .advantage-icon {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-gold);
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ==========================================================================
   23. BARRIEREFREIHEIT: BEWEGUNGSREDUKTION
   ========================================================================== */
@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;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   OHNE PORTRAIT (05.08.2026)
   Solange kein echtes Foto vorliegt, ist der Kopfbereich einspaltig und
   mittig gesetzt, damit rechts keine leere Flaeche steht. Der Ueber-Abschnitt
   wird ebenfalls einspaltig. Sobald das Portrait zurueckkehrt, greifen diese
   Regeln automatisch nicht mehr - sie haengen am Fehlen der Figur.
   ========================================================================== */
.hero .container:not(:has(.hero-portrait)) {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.hero .container:not(:has(.hero-portrait)) .hero-content {
  max-width: 44rem;
}
.hero .container:not(:has(.hero-portrait)) h1 {
  max-width: none;
}
.hero .container:not(:has(.hero-portrait)) .hero-actions {
  justify-content: center;
}
.hero .container:not(:has(.hero-portrait)) .hero-note {
  border-left: 0;
  padding-left: 0;
  margin-inline: auto;
}
.about-grid:not(:has(.about-portrait)) {
  grid-template-columns: 1fr;
  max-width: 46rem;
}
.about-grid:not(:has(.about-portrait)) p + p {
  margin-top: var(--space-4);
}
