/* =====================================================
   EASTKAP — Website-Stylesheet v1.0
   Schwarz/Weiß-Minimalismus, Arial-Ersatz via Inter
   Orientiert an bestehender eastkap.de
   ===================================================== */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --off-white: #FBFAF7;
  --graphite: #404040;
  --stone: #808080;
  --mist: #D9D6D0;
  --paper: #F2EFE9;
  --ink: #111111;
  /* Brand Kit v2 — funktionaler Petrol-Akzent (nie im Logo) */
  --accent-700: #123E47;
  --accent: #1C5560;
  --accent-300: #6E9AA2;
  --accent-100: #E7EFF1;
  /* Status / Ampel — nur für Bewertungen/Tabellen */
  --risk: #A33A3A;   --risk-bg: #F4CCCC;
  --warn: #9C5A00;   --warn-bg: #FCE5CD;
  --ok: #2E6B4F;     --ok-bg: #D9EAD3;
  --max: 1200px;
  --gutter: 24px;
  --section: 96px;
  --font: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.6; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { height: 34px; width: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0;
  transition: transform 0.2s;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--mist);
  }
}

/* Submenü unter Masseverfahren (Hover-Dropdown) */
.has-submenu { position: relative; }
.has-submenu > a::after {
  content: " ▾";
  font-size: 0.7em;
  color: var(--stone);
  margin-left: 2px;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 240px;
  list-style: none;
  margin: 8px 0 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  z-index: 110;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu { display: block; }
.submenu li { padding: 0; }
.submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--graphite);
  white-space: nowrap;
}
.submenu a:hover { background: var(--paper); color: var(--black); opacity: 1; }

/* Mobile: Submenü als eingerückte Liste, statisch sichtbar */
@media (max-width: 860px) {
  .has-submenu > a::after { display: none; }
  .submenu {
    display: block;
    position: static;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 4px 0 0 16px;
    margin: 0;
    min-width: 0;
    background: transparent;
  }
  .submenu a {
    padding: 6px 0;
    font-size: 0.75rem;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
}

/* =====================================================
   STATE-OF-THE-ART · Blocksatz, 3-Arme, KI-Seite, Nav-Highlight
   ===================================================== */

/* Blocksatz für Body-Texte mit weicher Trennung */
.about p,
.about-grid p,
.ki-body p,
.section-intro,
.leistung-intro p,
.leistung-cases p,
.team-card p,
.contact-block p,
.preis-foot,
.preis-disclaimer,
.faq-list details p,
.verfahren-lead,
.arm-lead,
.ki-track-lead,
.ki-method-step p,
.ki-case p,
.ki-cta-inner p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  text-justify: inter-word;
}

/* Nav-Highlight für KI-Reiter (subtil aber sichtbar) */
.nav-links .nav-highlight {
  position: relative;
  font-weight: 700 !important;
}
.nav-links .nav-highlight::before {
  content: "";
  position: absolute;
  left: -10px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--black);
  border-radius: 50%;
}
.nav-links .nav-active {
  border-bottom: 2px solid var(--black);
  padding-bottom: 2px;
}
@media (max-width: 768px) {
  .nav-links .nav-highlight::before { display: none; }
}

/* Sprach-Switcher in der Nav (DE | EN) */
.nav-lang {
  display: flex; align-items: center; gap: 6px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid #d8d8d8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.nav-lang a {
  opacity: 0.55;
  transition: opacity 0.18s ease;
  text-decoration: none;
}
.nav-lang a:hover { opacity: 1; }
.nav-lang-active {
  font-weight: 700;
  color: var(--black);
}
.nav-lang-sep { color: #ccc; user-select: none; }
@media (max-width: 768px) {
  .nav-lang {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 12px;
    justify-content: center;
  }
}

/* =====================================================
   3-ARME-KARTEN auf der Homepage
   ===================================================== */
.expertise-arms {
  background: var(--white);
  padding: var(--section) 0;
}
.arms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1024px) {
  .arms-grid { grid-template-columns: 1fr; gap: 18px; }
}
.arm-card {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.arm-card:hover {
  border-color: var(--black);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.arm-num {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--mist);
  line-height: 1;
}
.arm-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}
.arm-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin-bottom: 12px;
  max-width: 280px;
}
.arm-lead {
  color: var(--graphite);
  line-height: 1.55;
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.arm-topics {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--mist);
}
.arm-topics li {
  font-size: 0.875rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--mist);
  color: var(--graphite);
}
.arm-topics li a {
  color: var(--black);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.arm-topics li a:hover { opacity: 1; border-bottom-color: var(--black); }
.arm-cta {
  margin-top: auto;
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 12px 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: opacity 0.15s ease;
}
.arm-cta:hover { opacity: 1; background: var(--graphite); }

.arm-highlight {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.arm-highlight .arm-num { color: rgba(255,255,255,0.15); }
.arm-highlight .arm-label { color: rgba(255,255,255,0.7); }
.arm-highlight h3 { color: var(--white); }
.arm-highlight .arm-lead { color: var(--mist); }
.arm-highlight .arm-topics { border-top-color: var(--graphite); }
.arm-highlight .arm-topics li {
  color: var(--mist);
  border-bottom-color: var(--graphite);
}
.arm-highlight .arm-topics li a { color: var(--white); }
.arm-highlight .arm-cta {
  background: var(--white);
  color: var(--black);
}
.arm-highlight .arm-cta:hover { background: var(--mist); }

/* KI-USP Sektion: Link-CTA */
.ki-link-cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
}
.ki-link-cta:hover {
  opacity: 0.6;
  border-bottom-color: var(--ink);
}

/* =====================================================
   KI-SEITE — eigene visuelle Identität
   ===================================================== */

/* Hero */
.ki-hero {
  background: var(--white);
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--mist);
  margin-top: 72px;
}
.ki-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 28px;
}
.ki-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 32px;
  max-width: 920px;
}
.ki-hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 760px;
  text-align: justify;
  hyphens: auto;
}

/* Tracks: zwei prominente Schienen */
.ki-tracks {
  background: var(--paper);
  padding: 96px 0;
}
.ki-tracks-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 920px) { .ki-tracks-wrap { grid-template-columns: 1fr; } }
.ki-track {
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 3px solid var(--black);
  padding: 40px 36px;
}
.ki-track-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin-bottom: 8px;
}
.ki-track-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
}
.ki-track h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.ki-track-lead {
  color: var(--graphite);
  line-height: 1.7;
  margin-bottom: 24px;
}
.ki-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--mist);
}
.ki-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 0.95rem;
  color: var(--graphite);
  line-height: 1.55;
}
.ki-list strong { color: var(--black); display: block; margin-bottom: 2px; }

/* Method-Section */
.ki-method {
  padding: 96px 0;
  background: var(--white);
}
.ki-method-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}
.ki-method h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 56px;
  max-width: 700px;
}
.ki-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 920px) { .ki-method-grid { grid-template-columns: 1fr; gap: 28px; } }
.ki-method-step {
  position: relative;
  padding-top: 56px;
}
.step-num {
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 44px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}
.ki-method-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.ki-method-step p {
  color: var(--graphite);
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}

/* Cases */
.ki-cases {
  background: var(--paper);
  padding: 96px 0;
  border-top: 1px solid var(--mist);
}
.ki-cases-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ki-cases-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}
.ki-cases h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 48px;
  max-width: 720px;
}
.ki-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .ki-cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ki-cases-grid { grid-template-columns: 1fr; } }
.ki-case {
  background: var(--white);
  padding: 28px 26px;
  border-left: 2px solid var(--black);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ki-case:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.ki-case h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.ki-case p {
  color: var(--graphite);
  line-height: 1.6;
  font-size: 0.92rem;
  margin: 0;
}

/* CTA-Block */
.ki-cta {
  background: var(--black);
  color: var(--white);
  padding: 96px 0;
}
.ki-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.ki-cta h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 20px;
}
.ki-cta-inner p {
  color: var(--mist);
  line-height: 1.6;
  margin-bottom: 36px;
  font-size: 1.0625rem;
}
.ki-cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 8px;
  transition: opacity 0.15s ease;
}
.ki-cta-btn:hover { opacity: 1; background: var(--mist); }

@media (max-width: 720px) {
  .ki-hero { padding: 100px 0 56px; margin-top: 64px; }
  .ki-tracks, .ki-method, .ki-cases, .ki-cta { padding: 56px 0; }
  .ki-track { padding: 28px 22px; }
}

/* =====================================================
   STATE-OF-THE-ART · Animations, Sticky Sub-Nav, Privacy
   ===================================================== */

/* Fade-up — vom IntersectionObserver gesetzt */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Hover-Lift wirkt zusätzlich auf Cards */
.arm-card, .ki-case, .verfahren-card, .news-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Sticky Sub-Nav — erscheint zwischen Expertise und Team */
.sticky-subnav {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mist);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.sticky-subnav.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-subnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sticky-subnav-label {
  color: var(--stone);
  letter-spacing: 0.16em;
  margin-right: 8px;
}
.sticky-subnav-inner a {
  color: var(--graphite);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
  padding-bottom: 2px;
}
.sticky-subnav-inner a:hover {
  color: var(--black);
  border-bottom-color: var(--black);
  opacity: 1;
}
.sticky-subnav-highlight {
  color: var(--black) !important;
  font-weight: 700;
}
.sticky-subnav-highlight::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--black);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .sticky-subnav-inner { gap: 14px; padding: 10px 18px; font-size: 0.7rem; }
  .sticky-subnav-label { display: none; }
}

/* Privacy-Banner unten */
.privacy-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  color: var(--white);
  padding: 16px 20px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  border-top: 1px solid var(--graphite);
}
.privacy-banner.show { transform: translateY(0); }
.privacy-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.privacy-banner-inner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--mist);
  flex: 1;
}
.privacy-banner-inner strong { color: var(--white); }
.privacy-banner-inner a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.privacy-banner-inner a:hover { opacity: 1; border-bottom-color: var(--white); }
.privacy-banner-ok {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.privacy-banner-ok:hover { background: var(--mist); }
@media (max-width: 720px) {
  .privacy-banner { padding: 14px 16px; }
  .privacy-banner-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .privacy-banner-ok { width: 100%; padding: 12px; }
}

/* News-Bereich */
.news-hero {
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--mist);
  margin-top: 72px;
}
.news-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.news-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 760px;
}
.news-hero-sub {
  color: var(--graphite);
  font-size: 1.0625rem;
  max-width: 640px;
  line-height: 1.6;
}

.news-list {
  padding: 80px 0;
  background: var(--white);
}
.news-list-wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

.news-card {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--mist);
  color: inherit;
}
.news-card:hover {
  opacity: 1;
  background: var(--paper);
  margin: 0 -24px;
  padding: 32px 24px;
}
.news-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}
.news-card-meta time { color: var(--stone); }
.news-card-meta .news-tag {
  background: var(--black);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.news-card h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--black);
}
.news-card-excerpt {
  color: var(--graphite);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 14px;
  max-width: 720px;
}
.news-card-more {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  display: inline-block;
  padding-bottom: 2px;
}

/* News-Article (Detail-Seite) */
.news-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.news-article .breadcrumb {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
}
.news-article .breadcrumb a {
  color: var(--stone);
  border-bottom: 1px solid transparent;
}
.news-article .breadcrumb a:hover { color: var(--black); border-bottom-color: var(--black); opacity: 1; }
.news-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.news-article .news-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mist);
}
.news-article p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--graphite);
  text-align: justify;
  hyphens: auto;
}
.news-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: var(--black);
}
.news-article ul { padding-left: 24px; margin-bottom: 20px; color: var(--graphite); line-height: 1.75; }
.news-article ul li { margin-bottom: 6px; }
.news-article strong { color: var(--black); }

/* ---------- HERO (mit Schiff-Video) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; padding: 160px 0 120px;
  display: flex; align-items: center;
  color: var(--white);
  background: var(--black);
}

/* Homepage: jede Hauptsektion füllt einen vollen Viewport */
body.home > section {
  min-height: 100vh;
  display: flex; align-items: center;
}
body.home > section > .container { width: 100%; }
@media (max-width: 767px) {
  .hero { min-height: 100vh; padding: 120px 0 80px; }
  body.home > section { min-height: auto; display: block; }
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: saturate(0.43) contrast(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(152deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 70%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-label {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7); margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; max-width: 900px;
  margin-bottom: 32px;
  color: var(--white);
}
.hero-tagline {
  font-size: 1.125rem; line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 640px; margin-bottom: 48px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--white); color: var(--black);
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-cta:hover { opacity: 1; background: var(--mist); }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ---------- SECTION ---------- */
section { padding: var(--section) 0; }
.section-label {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--stone); margin-bottom: 24px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 32px; max-width: 800px;
}
.section-intro {
  font-size: 1.0625rem; line-height: 1.7; color: var(--graphite);
  max-width: 640px; margin-bottom: 64px;
}

/* ---------- ÜBER / KANZLEI ---------- */
.about { background: var(--paper); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about p { margin-bottom: 16px; color: var(--graphite); line-height: 1.75; }

/* ---------- KI-USP ---------- */
.ki { background: var(--black); color: var(--white); padding: var(--section) 0; }
.ki .section-label { color: var(--stone); }
.ki-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
@media (max-width: 768px) { .ki-grid { grid-template-columns: 1fr; gap: 32px; } }
.ki-body p { color: var(--mist); line-height: 1.75; margin-bottom: 16px; }
.ki .ki-list { list-style: none; padding: 0; margin-top: 32px; border-top: 1px solid var(--graphite); }
.ki .ki-list li {
  padding: 20px 0; border-bottom: 1px solid var(--graphite);
  font-size: 0.9375rem; color: var(--mist); line-height: 1.6;
}
.ki .ki-list strong { color: var(--white); font-weight: 600; display: block; margin-bottom: 4px; }

/* ---------- EXPERTISE ---------- */
.expertise { background: var(--white); }
.expertise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--mist);
}
@media (max-width: 1024px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .expertise-grid { grid-template-columns: 1fr; } }
.expertise-item {
  padding: 40px 32px;
  border-bottom: 1px solid var(--mist);
  border-left: 1px solid var(--mist);
  display: block;
}
.expertise-item:first-child,
.expertise-grid > .expertise-item:nth-child(3n+1) {
  border-left: none;
  padding-left: 0;
}
@media (max-width: 1024px) {
  .expertise-grid > .expertise-item:nth-child(3n+1) { border-left: 1px solid var(--mist); padding-left: 32px; }
  .expertise-grid > .expertise-item:nth-child(odd) { border-left: none; padding-left: 0; }
}
.expertise-item:hover { opacity: 1; background: var(--paper); }
.expertise-item h3 {
  font-size: 1rem; font-weight: 700; line-height: 1.3;
  margin-bottom: 16px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.expertise-item p {
  font-size: 0.9375rem; line-height: 1.65; color: var(--graphite);
}
.expertise-item .arrow {
  display: inline-block; margin-top: 20px;
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ---------- TEAM ---------- */
.team { background: var(--paper); }
.team-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 48px;
  align-items: start; max-width: 800px;
}
@media (max-width: 768px) {
  .team-card { grid-template-columns: 1fr; gap: 24px; }
}
.team-photo {
  width: 240px; height: 300px; background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  color: var(--stone); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(0.08) contrast(1.02);
}
.team-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role {
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--stone); margin-bottom: 20px;
}
.team-card p { color: var(--graphite); line-height: 1.75; margin-bottom: 12px; }
.team-card .contact { font-size: 0.9375rem; margin-top: 24px; }
.team-card .contact a { border-bottom: 1px solid var(--black); }
.team-card .team-sub {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--stone); margin-top: 28px; margin-bottom: 12px;
}
.team-card .team-stations,
.team-card .team-mandate {
  list-style: none; padding: 0; margin: 0 0 8px 0;
}
.team-card .team-stations li,
.team-card .team-mandate li {
  padding: 12px 0; border-bottom: 1px solid var(--mist);
  font-size: 0.9375rem; color: var(--graphite); line-height: 1.55;
}
.team-card .team-stations li:last-child,
.team-card .team-mandate li:last-child { border-bottom: none; }
.team-card .team-stations li strong,
.team-card .team-mandate li strong { color: var(--black); }
.team-card .team-rak {
  font-size: 0.8125rem; color: var(--stone);
  margin-top: 4px; margin-bottom: 0;
}
.team-card .team-mandat-lead {
  font-size: 0.8125rem; color: var(--stone);
  margin-bottom: 16px; font-style: italic;
}
.team-card .team-mandate-rich li {
  padding: 18px 0;
}
.team-card .team-mandate-rich .mandat-title {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.4;
}
.team-card .team-mandate-rich .mandat-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.team-card .team-mandate-rich .mandat-desc {
  font-size: 0.875rem;
  color: var(--graphite);
  line-height: 1.6;
}

/* ---------- KONTAKT ---------- */
.contact { background: var(--black); color: var(--white); border-top: 1px solid var(--black); }
.contact .section-label { color: var(--stone); }
.contact .section-title { color: var(--white); }
.contact .section-intro { color: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block h4 {
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--stone); margin-bottom: 16px;
}
.contact-block p { color: var(--white); margin-bottom: 6px; line-height: 1.6; }
.contact-block a { border-bottom: 1px solid var(--white); }

/* ---------- HERO STILL (no video) ---------- */
.hero-still {
  background: var(--off-white);
  color: var(--black);
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-still::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 80%);
  pointer-events: none;
}
.hero-still .container { position: relative; z-index: 1; }
.hero-still .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-still .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-still .hero-label {
  font-family: var(--mono);
  color: var(--graphite);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  text-transform: none;
}
.hero-still h1 {
  color: var(--black);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 14ch;
}
.hero-still .hero-tagline {
  color: var(--graphite);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 40px;
}
.hero-still .hero-cta {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 16px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.hero-still .hero-cta:hover {
  background: var(--graphite);
  transform: translateX(4px);
}
/* Sekundär-Button (Petrol-Outline) — gut lesbar neben dem schwarzen Primär-CTA */
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  background: var(--white); color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn-secondary:hover { background: var(--accent); color: var(--white); opacity: 1; }
@media (max-width: 560px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .hero-cta, .btn-secondary { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- HERO VISUAL — Animated AI Node Network ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-visual .node {
  fill: var(--white);
  stroke: var(--black);
  stroke-width: 1.5;
  transform-origin: center;
  transform-box: fill-box;
}
.hero-visual .node-core {
  fill: var(--black);
  animation: pulse-core 3s ease-in-out infinite;
}
.hero-visual .edge {
  stroke: var(--graphite);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 4;
}
.hero-visual .travel-dot { fill: var(--black); }
.hero-visual .edge-strong {
  stroke: var(--black);
  stroke-width: 1.25;
  fill: none;
}
.hero-visual .label-mono {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--stone);
  letter-spacing: 0.04em;
}
.hero-visual .pulse-1 { animation: pulse-soft 4s ease-in-out infinite; }
.hero-visual .pulse-2 { animation: pulse-soft 4s ease-in-out infinite 1s; }
.hero-visual .pulse-3 { animation: pulse-soft 4s ease-in-out infinite 2s; }
.hero-visual .pulse-4 { animation: pulse-soft 4s ease-in-out infinite 0.5s; }
@keyframes pulse-soft {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes pulse-core {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes edge-flow {
  to { stroke-dashoffset: -32; }
}

/* ---------- BLOCKSATZ FÜR FLIESSTEXT ---------- */
.kanzlei-prose p,
.page-content p,
.page-lead,
.section-intro,
.hero-tagline,
.jp-note,
.mandat-desc,
.ka-block p,
.kontakt-legal p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---------- SECTION MARKER (mono code-style) ---------- */
.section-marker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--graphite);
  margin-bottom: 24px;
  text-transform: none;
}
.section-marker .marker-bracket { color: var(--stone); }
.section-marker .marker-num {
  color: var(--black);
  font-weight: 500;
  margin: 0 6px;
}

/* ---------- SEKTOR CARDS REDESIGN ---------- */
.sektor-card { position: relative; }
.sektor-card-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}
.sektor-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease;
}
.sektor-card:hover .sektor-icon { stroke: var(--black); }

/* ---------- KI-SERVICE CARDS REDESIGN ---------- */
.ki-service-card {
  position: relative;
  padding-top: 32px;
  border-top: 2px solid var(--black);
}
.ki-service-num {
  font-family: var(--mono);
  font-size: 3.25rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 24px;
  display: block;
}
@media (max-width: 768px) {
  .ki-service-num { font-size: 2.5rem; margin-bottom: 16px; }
}

/* ---------- WORKFLOW DIAGRAM ENHANCEMENT ---------- */
.workflow-node.node-pipeline {
  position: relative;
}
.workflow-node.node-pipeline::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid var(--black);
  opacity: 0.15;
  animation: pulse-ring 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.04); opacity: 0; }
}
.workflow-tools {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

/* ---------- PREIS-PAKETE ---------- */
.preis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .preis-grid { grid-template-columns: 1fr; } }
.preis-paket {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.preis-paket:hover {
  transform: translateY(-3px);
  border-color: var(--graphite);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.preis-paket.preis-featured { border: 2px solid var(--black); }
.preis-paket .paket-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-bottom: 12px;
}
.preis-paket h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.preis-paket .paket-zielgruppe {
  font-size: 0.8125rem;
  color: var(--stone);
  margin-bottom: 20px;
  line-height: 1.5;
}
.preis-paket .paket-preis {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.preis-paket .paket-preis-sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--stone);
  margin-bottom: 24px;
}
.preis-paket ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}
.preis-paket ul li {
  font-size: 0.875rem;
  color: var(--graphite);
  line-height: 1.5;
  padding: 8px 0 8px 18px;
  position: relative;
  border-bottom: 1px solid var(--paper);
}
.preis-paket ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--stone);
}
.preis-paket .paket-cta {
  display: inline-block;
  text-align: center;
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.25s ease;
}
.preis-paket .paket-cta:hover { background: var(--graphite); }

/* ---------- NEWS / AUF DEM RADAR ---------- */
.news-section {
  background: var(--paper);
}
.news-feed {
  margin-top: 40px;
  border-top: 1px solid var(--mist);
  max-width: 920px;
}
.news-item {
  display: block;
  padding: 22px 8px 22px 0;
  border-bottom: 1px solid var(--mist);
  transition: padding-left 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: var(--black);
}
.news-item:hover {
  padding-left: 12px;
  background: var(--off-white);
  border-color: var(--graphite);
}
.news-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--stone);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.news-source { color: var(--black); font-weight: 500; }
.news-title {
  font-size: 1rem;
  color: var(--black);
  font-weight: 500;
  line-height: 1.5;
}
.news-loading, .news-empty {
  padding: 28px 0;
  color: var(--stone);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

/* ---------- JUDIKATUR / KURATIERTE RECHTSPRECHUNG ---------- */
.jp-stamp {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--stone);
  margin-top: 28px;
}
.jp-feed {
  margin-top: 20px;
  border-top: 1px solid var(--mist);
  max-width: 960px;
}
.jp-item {
  display: block;
  position: relative;
  padding: 26px 8px 26px 22px;
  border-bottom: 1px solid var(--mist);
  text-decoration: none;
  color: var(--black);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.jp-item::before {
  content: "";
  position: absolute;
  left: 0; top: 26px; bottom: 26px;
  width: 2px;
  background: var(--mist);
  transition: background 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}
.jp-item:hover {
  background: var(--off-white);
  border-color: var(--graphite);
}
.jp-item:hover::before {
  background: var(--black);
  top: 18px; bottom: 18px;
}
.jp-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.jp-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  border: 1px solid var(--mist);
  border-radius: 2px;
  padding: 3px 8px;
}
.jp-cite {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--stone);
}
.jp-cite strong { color: var(--black); font-weight: 600; }
.jp-title {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 8px;
}
.jp-note {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 760px;
}
.jp-arrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--stone);
  margin-top: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.jp-item:hover .jp-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 600px) {
  .jp-title { font-size: 1rem; }
  .jp-note { font-size: 0.9rem; }
}
.jp-more { margin-top: 28px; max-width: 960px; }
.jp-more-link {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: opacity 0.2s ease;
}
.jp-more-link:hover { opacity: 0.55; }
/* Rechtsprechung-Archiv */
.jp-archive { margin-top: 60px; max-width: 960px; }
.jp-archive-head {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--graphite);
}
.jp-arch-item {
  display: block;
  padding: 16px 8px 16px 0;
  border-bottom: 1px solid var(--mist);
  text-decoration: none;
  color: var(--black);
  transition: background 0.2s ease;
}
.jp-arch-item:hover { background: var(--off-white); }
.jp-arch-cite {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--stone);
  display: block;
  margin-bottom: 5px;
}
.jp-arch-cite strong { color: var(--black); font-weight: 600; }
.jp-arch-title {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink, var(--black));
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  padding: 28px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--stone);
  flex-shrink: 0;
}
.trust-bar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--graphite);
  letter-spacing: 0.01em;
}
.trust-bar-items .trust-item {
  white-space: nowrap;
}
.trust-bar-items .trust-sep {
  color: var(--mist);
}
@media (max-width: 768px) {
  .trust-bar { padding: 20px 0; }
  .trust-bar .container { gap: 14px; }
  .trust-bar-items { font-size: 0.75rem; gap: 8px 18px; }
}

/* ---------- STICKY CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 14px 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: sticky-fade-in 0.5s ease 0.8s forwards;
}
.sticky-cta:hover {
  background: var(--graphite);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.sticky-cta .sticky-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes sticky-fade-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .sticky-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.75rem;
  }
}

/* ---------- RECHTSGEBIETE GRID ---------- */
.sektor-section { background: var(--paper); }
.sektor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1024px) { .sektor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sektor-grid { grid-template-columns: 1fr; } }
.sektor-card {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--mist);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sektor-card:hover {
  transform: translateY(-3px);
  border-color: var(--graphite);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.sektor-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sektor-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.sektor-card p {
  color: var(--graphite);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- KI WORKFLOW DIAGRAM ---------- */
.workflow-section {
  background: var(--off-white);
  padding: 64px 0 48px;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.workflow-diagram {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1.1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.workflow-embedded {
  margin: 48px auto 64px;
  padding: 32px 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
@media (max-width: 768px) {
  .workflow-diagram {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .workflow-diagram .workflow-line { display: none; }
}
.workflow-node {
  text-align: center;
  padding: 24px 12px;
}
.workflow-node .node-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.workflow-node .node-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.workflow-node .node-sub {
  font-size: 0.8125rem;
  color: var(--graphite);
  line-height: 1.5;
}
.workflow-node.node-pipeline {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 24px 20px;
}
.workflow-tools {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--stone);
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.workflow-line {
  height: 1px;
  background: var(--graphite);
  width: 100%;
  min-width: 32px;
  position: relative;
}
.workflow-line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--graphite);
  border-top: 1px solid var(--graphite);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- KI-SERVICES GRID ---------- */
.ki-services-section { background: var(--white); }
.ki-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}
@media (max-width: 768px) { .ki-service-grid { grid-template-columns: 1fr; gap: 32px; } }
.ki-service-card {
  padding-top: 24px;
  border-top: 2px solid var(--black);
}
.ki-service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.ki-service-card p {
  color: var(--graphite);
  line-height: 1.7;
}

/* ---------- KANZLEI PROSE ---------- */
.kanzlei-section { background: var(--white); padding: 80px 0; }
.kanzlei-prose { max-width: 720px; }
.kanzlei-prose p {
  color: var(--graphite);
  line-height: 1.75;
  margin-bottom: 16px;
}
.kanzlei-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.kanzlei-vita { background: var(--paper); }

/* ---------- KONTAKT-PAGE ---------- */
.page-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--graphite);
  max-width: 60ch;
  margin-bottom: 48px;
}
.kontakt-page-grid {
  background: var(--black);
  color: var(--white);
  padding: 48px;
  margin-bottom: 48px;
}
.kontakt-page-grid .contact-block h4 { color: var(--stone); }
.kontakt-page-grid .contact-block p { color: var(--white); }

/* ---------- FOOTER COACHING NOTE ---------- */
.footer-coaching-note {
  font-size: 0.8125rem;
  color: var(--stone);
  line-height: 1.6;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--graphite);
  max-width: 640px;
}
.footer-coaching-note a {
  color: var(--mist);
  border-bottom: 1px solid var(--stone);
  margin-left: 4px;
}

.nav-active { font-weight: 700; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black); color: var(--mist);
  padding: 48px 0; border-top: 1px solid var(--graphite);
  font-size: 0.8125rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav a {
  color: var(--mist);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.footer-copy { color: var(--stone); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--graphite);
  color: var(--mist);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--white); color: var(--black); opacity: 1; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- LEAD-FORMULAR (auf Masseverfahren-Landingpage) ---------- */
.lead-form-section {
  background: var(--black); color: var(--white); padding: 96px 0;
}
.lead-form-wrap {
  max-width: 760px; margin: 0 auto; padding: 0 24px;
}
.lead-form-wrap .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 16px;
}
.lead-form-wrap h2 {
  color: var(--white); font-size: 2rem; font-weight: 700; margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.lead-form-wrap .intro {
  color: var(--mist); line-height: 1.65; margin-bottom: 40px;
}
.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 640px) { .lead-form { grid-template-columns: 1fr; } }
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--graphite);
  color: var(--white);
  font-family: var(--font); font-size: 0.9375rem;
  transition: border-color 0.2s;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none; border-color: var(--white);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--stone); }
.lead-form .full { grid-column: span 2; }
@media (max-width: 640px) { .lead-form .full { grid-column: span 1; } }
.lead-form textarea { resize: vertical; min-height: 100px; }
.lead-form button {
  grid-column: span 2;
  padding: 16px 32px;
  background: var(--white); color: var(--black);
  border: none;
  font-family: var(--font); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}
.lead-form button:hover { background: var(--mist); }
@media (max-width: 640px) { .lead-form button { grid-column: span 1; } }
.lead-form-note {
  margin-top: 16px; font-size: 0.8125rem; color: var(--stone); line-height: 1.6;
}
.lead-form-note a { color: var(--mist); border-bottom: 1px solid var(--stone); }

/* ---------- TRUST-BAR (auf Masseverfahren-Seite) ---------- */
.trust-bar {
  background: var(--paper); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist);
  padding: 32px 0;
}
.trust-bar .wrapper {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 768px) { .trust-bar .wrapper { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.trust-item span {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--stone);
}

/* ---------- SUBPAGE ---------- */
.page-header { padding: 160px 0 64px; border-bottom: 1px solid var(--mist); }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
}
.page-header .breadcrumb {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--stone); margin-bottom: 24px;
}
.page-content {
  padding: 80px 0;
  max-width: 760px; margin: 0 auto;
}
.page-content h2 {
  font-size: 1.625rem; font-weight: 700;
  margin-top: 56px; margin-bottom: 20px; letter-spacing: -0.01em;
}
.page-content h2:first-of-type { margin-top: 0; }
.page-content h3 {
  font-size: 1.125rem; font-weight: 700;
  margin-top: 32px; margin-bottom: 12px;
}
.page-content p, .page-content ul {
  margin-bottom: 16px; color: var(--graphite); line-height: 1.75;
}
.page-content ul { padding-left: 24px; }
.page-content ul li { margin-bottom: 6px; }
.page-content strong { color: var(--black); font-weight: 600; }
.page-content a { border-bottom: 1px solid var(--black); }

/* ---------- LEISTUNGS-HERO (Bild + Overlay) ---------- */
.leistung-hero {
  position: relative; width: 100%; height: 520px;
  background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.05);
  margin-top: 72px;
}
.leistung-hero-inner {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.60) 100%);
  display: flex; align-items: flex-end; padding-bottom: 72px;
}
.leistung-hero-inner .container { color: var(--white); }
.leistung-hero-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 16px;
}
.leistung-hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
  max-width: 820px;
}
@media (max-width: 768px) { .leistung-hero { height: 380px; } }

/* ---------- LEISTUNGS-HERO (Typo-Variante, ohne Bild) ---------- */
.leistung-hero-typo {
  margin-top: 72px; padding: 180px 0 120px;
  border-bottom: 1px solid var(--mist);
}
.leistung-hero-typo .leistung-hero-label {
  color: var(--stone); margin-bottom: 24px;
}
.leistung-hero-typo h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  max-width: 900px; color: var(--black);
}
.leistung-hero-typo .kicker {
  font-size: 1.25rem; color: var(--graphite); margin-top: 32px; max-width: 640px;
  line-height: 1.5;
}

/* ---------- LEISTUNGS-INTRO (Opener + Overview-Sidebar) ---------- */
.leistung-intro { padding: 96px 0 64px; }
.leistung-intro .wrapper {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start;
}
@media (max-width: 768px) { .leistung-intro .wrapper { grid-template-columns: 1fr; gap: 32px; } }
.leistung-intro h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 24px;
  letter-spacing: -0.01em; line-height: 1.25;
}
.leistung-intro p { color: var(--graphite); line-height: 1.75; margin-bottom: 16px; }
.leistung-overview {
  background: var(--paper); padding: 32px;
  border-left: 2px solid var(--black);
}
.leistung-overview .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 20px;
}
.leistung-overview dl {
  display: grid; grid-template-columns: auto 1fr; gap: 12px 16px;
  font-size: 0.875rem; line-height: 1.55;
}
.leistung-overview dt { color: var(--stone); }
.leistung-overview dd { color: var(--black); font-weight: 500; }

/* ---------- LEISTUNGEN (Prozess-Schritte) ---------- */
.leistung-process { background: var(--paper); padding: 96px 0; }
.leistung-process .wrapper { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.leistung-process .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 16px;
}
.leistung-process h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.leistung-process-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px;
}
@media (max-width: 640px) { .leistung-process-grid { grid-template-columns: 1fr; } }
.process-step .num {
  font-size: 0.75rem; font-weight: 700; color: var(--black); margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.process-step strong { font-size: 1.0625rem; display: block; margin-bottom: 6px; }
.process-step p { color: var(--graphite); font-size: 0.9375rem; line-height: 1.6; margin: 0; }

/* ---------- DETAIL-BAND (dezentes Zwischenbild) ---------- */
.leistung-band {
  width: 100%; height: 320px;
  background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.05);
}

/* ---------- TYPISCHE MANDATE ---------- */
.leistung-cases { padding: 96px 0; }
.leistung-cases .wrapper { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.leistung-cases .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 16px;
}
.leistung-cases h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.leistung-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 768px) { .leistung-cases-grid { grid-template-columns: 1fr; } }
.case {
  padding-top: 20px; border-top: 2px solid var(--black);
}
.case strong { font-size: 1rem; display: block; margin-bottom: 8px; }
.case p { color: var(--graphite); font-size: 0.9375rem; margin: 0; line-height: 1.6; }

/* ---------- CTA-Block ---------- */
.leistung-cta {
  background: var(--black); color: var(--white); padding: 96px 0;
}
.leistung-cta .wrapper {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 768px) { .leistung-cta .wrapper { grid-template-columns: 1fr; gap: 24px; } }
.leistung-cta h2 { color: var(--white); font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.leistung-cta p { color: var(--mist); max-width: 520px; margin: 0; }
.leistung-cta-btn {
  display: inline-block; background: var(--white); color: var(--black);
  padding: 16px 32px; font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.leistung-cta-btn:hover { opacity: 1; background: var(--mist); }

/* =====================================================
   MOBILE FIXES — iPhone und schmale Viewports
   ===================================================== */

/* iOS 100vh-Bug: Adressleiste fehlt sonst aus der Berechnung.
   100svh (small viewport height) löst das ab Safari 15.4+. */
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
  body.home > section { min-height: 100svh; }
}

/* Hero auf Mobile kompakter, Headline kleiner */
@media (max-width: 767px) {
  .hero { padding: 96px 0 56px; min-height: auto; }
  .hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.15;
  }
  .hero-label { margin-bottom: 20px; font-size: 0.7rem; }
  .hero-tagline { font-size: 1rem; line-height: 1.55; margin-bottom: 28px; }
  .hero-cta { padding: 13px 22px; font-size: 0.8125rem; letter-spacing: 0.06em; }

  /* Sections insgesamt enger, sonst scrollt man ewig */
  section { padding: 56px 0; }
  body.home > section { min-height: auto; display: block; }

  /* Section-Titel etwas kompakter */
  .section-title { font-size: clamp(1.5rem, 5.5vw, 2rem); margin-bottom: 24px; }
  .section-intro { font-size: 1rem; margin-bottom: 36px; }

  /* Leistungs-Subpages */
  .leistung-hero-typo { padding: 100px 0 48px; margin-top: 64px; }
  .leistung-hero-typo h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .leistung-hero-typo .kicker { font-size: 1rem; margin-top: 20px; }
  .leistung-intro,
  .leistung-process,
  .leistung-cases,
  .leistung-cta,
  .lead-form-section { padding: 56px 0; }
  .leistung-intro h2,
  .leistung-process h2,
  .leistung-cases h2,
  .leistung-cta h2 { font-size: 1.375rem; margin-bottom: 24px; }

  /* Page-Header (Kontakt, Impressum, Datenschutz) */
  .page-header { padding: 100px 0 40px; }
  .page-content { padding: 48px 0; }
  .page-content h2 { font-size: 1.375rem; margin-top: 36px; }

  /* Trust-Bar lesbar halten */
  .trust-item strong { font-size: 1.125rem; }
  .trust-item span { font-size: 0.7rem; }

  /* Lead-Form Headline */
  .lead-form-wrap h2 { font-size: 1.5rem; }
}

/* Expertise-Grid: bei 1-Spalte rutschten Items eingerückt durch :nth-child-Regeln */
@media (max-width: 640px) {
  .expertise-grid > .expertise-item,
  .expertise-grid > .expertise-item:nth-child(odd),
  .expertise-grid > .expertise-item:nth-child(3n+1) {
    border-left: none !important;
    padding: 32px 0 !important;
  }
}

/* Preis-Section (auf masseverfahren.html) */
.preis-section {
  background: var(--white);
  padding: 64px 0;
  border-bottom: 1px solid var(--mist);
}
.preis-wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.preis-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone);
  margin-bottom: 16px;
}
.preis-headline {
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 700; margin-bottom: 40px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.preis-disclaimer {
  margin-top: 32px; font-size: 0.8125rem;
  color: var(--stone); line-height: 1.6;
  max-width: 760px;
}
@media (max-width: 720px) {
  .preis-section { padding: 48px 0; }
  .preis-headline { margin-bottom: 28px; }
}

/* Festpreis-Cards für masseverfahren.html — class-basiert, mobiltauglich */
.preis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .preis-grid { grid-template-columns: 1fr; gap: 16px; }
}
.preis-card {
  border: 2px solid var(--black);
  padding: 32px;
}
.preis-card.alt { border: none; background: var(--paper); }
.preis-card .preis-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.preis-card .preis-amount {
  font-size: clamp(1.875rem, 6vw, 2.5rem);
  font-weight: 700; line-height: 1; margin-bottom: 4px;
}
.preis-card .preis-sub {
  font-size: 0.8125rem; color: var(--stone); margin-bottom: 24px;
}
.preis-card ul {
  list-style: none; padding: 0; font-size: 0.9375rem;
  color: var(--graphite); line-height: 1.7;
}
.preis-card li {
  padding: 8px 0; border-top: 1px solid var(--mist);
}
.preis-card .preis-foot {
  margin-top: 24px; font-size: 0.8125rem;
  color: var(--stone); line-height: 1.6;
}
@media (max-width: 480px) {
  .preis-card { padding: 24px 20px; }
}

/* Generischer Mobile-Container-Schutz: keine horizontal-Scroll-Lecks */
html, body { overflow-x: hidden; }

/* =====================================================
   AKQUISE-PACK · Trust-Bar 5 · FAQ · Phone-FAB
   ===================================================== */

/* Trust-Bar mit 5 Items (statt 4) */
.trust-bar-5 .wrapper {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1024px) {
  .trust-bar-5 .wrapper { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .trust-bar-5 .wrapper { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-bar { padding: 24px 0; }
  .trust-item strong { font-size: 1rem; }
  .trust-item span { font-size: 0.66rem; line-height: 1.3; }
}

/* FAQ-Section */
.faq-section {
  background: var(--paper);
  padding: 80px 0;
  border-bottom: 1px solid var(--mist);
}
.faq-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.faq-eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 16px;
}
.faq-headline {
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 700; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 36px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-list details {
  border-top: 1px solid var(--mist);
  padding: 18px 0;
}
.faq-list details:last-of-type { border-bottom: 1px solid var(--mist); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--black);
  position: relative;
  padding-right: 32px;
  line-height: 1.4;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--stone);
  transition: transform 0.18s var(--ease, ease);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin-top: 12px;
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-foot {
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--graphite);
  text-align: center;
}
.faq-foot a { color: var(--black); border-bottom: 1px solid var(--black); font-weight: 600; }
@media (max-width: 720px) {
  .faq-section { padding: 56px 0; }
  .faq-headline { margin-bottom: 24px; }
  .faq-list summary { font-size: 0.9375rem; }
  .faq-list details { padding: 14px 0; }
}

/* Floating Phone-Action-Button (Mobile only) */
.phone-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 52px; height: 52px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 90;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.phone-fab:hover { opacity: 1; transform: scale(1.05); }
.phone-fab svg { width: 22px; height: 22px; fill: currentColor; }
.phone-fab .phone-fab-label {
  position: absolute;
  right: 60px;
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: translateX(8px);
}
.phone-fab:hover .phone-fab-label,
.phone-fab:focus .phone-fab-label { opacity: 1; transform: translateX(0); }

@media (max-width: 768px) {
  .phone-fab { display: inline-flex; }
}

/* =====================================================
   VERFAHREN-HUB · Karten-Layout für Masseverfahren
   ===================================================== */
.verfahren-hub {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.verfahren-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.verfahren-eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 16px;
}
.verfahren-headline {
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 40px;
  max-width: 720px;
}
.verfahren-card {
  border: 1px solid var(--mist);
  border-left: 3px solid var(--black);
  padding: 36px 36px 32px;
  background: var(--white);
  transition: box-shadow 0.18s ease;
}
.verfahren-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.06); }
.verfahren-card-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.verfahren-tag {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--graphite); background: var(--paper);
  padding: 5px 11px; border-radius: 999px;
}
.verfahren-card h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.25; margin-bottom: 12px;
}
.verfahren-lead {
  color: var(--graphite); line-height: 1.7;
  margin-bottom: 28px; max-width: 760px;
}
.verfahren-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.verfahren-stats > div { text-align: left; }
.verfahren-stats strong {
  display: block;
  font-size: 1.125rem; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 2px;
}
.verfahren-stats span {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--stone); line-height: 1.3;
}
.verfahren-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.verfahren-cta {
  display: inline-block;
  background: var(--black); color: var(--white);
  padding: 14px 28px;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 8px;
}
.verfahren-cta:hover { opacity: 1; background: var(--graphite); }

.verfahren-cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--black);
  padding: 13px 22px;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--mist);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}
.verfahren-cta-secondary:hover { opacity: 1; border-color: var(--black); }

@media (max-width: 720px) {
  .verfahren-hub { padding: 56px 0; }
  .verfahren-card { padding: 24px 20px 22px; }
  .verfahren-stats { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .verfahren-cta-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .verfahren-cta,
  .verfahren-cta-secondary { display: block; text-align: center; padding: 14px 20px; }
}

/* Hero-CTA-Block (auf coaching-rueckabwicklung.html) */
.hero-cta-block {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 18px 36px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-cta-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}
.hero-cta-meta {
  font-size: 0.82rem;
  color: var(--stone);
  letter-spacing: 0.01em;
  margin: 0;
}
@media (max-width: 720px) {
  .hero-cta-block { margin-top: 28px; }
  .hero-cta-primary { padding: 15px 24px; font-size: 0.95rem; width: 100%; justify-content: center; }
}

/* Inline-Check-CTA (heller Block, statt schwarz) */
.check-inline-cta {
  background: var(--paper);
  padding: 64px 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.check-inline-wrap {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr auto;
  gap: 40px;
  align-items: center;
}
.check-inline-eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 10px;
}
.check-inline-text h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.check-inline-text p {
  color: var(--graphite); line-height: 1.65;
  max-width: 560px; margin: 0;
}
.check-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.check-inline-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}
@media (max-width: 768px) {
  .check-inline-cta { padding: 48px 0; }
  .check-inline-wrap { grid-template-columns: 1fr; gap: 24px; }
  .check-inline-btn { width: 100%; justify-content: center; padding: 16px 24px; }
}

/* Erweiterungen / Sammelfall-Vorschläge */
.erweiterungen {
  background: var(--paper);
  padding: 72px 0;
}
.erweiterungen .wrapper {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 48px; align-items: center;
}
.erweiterungen .label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 12px;
}
.erweiterungen h2 {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 700; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.erweiterungen p { color: var(--graphite); line-height: 1.7; max-width: 580px; }
@media (max-width: 768px) {
  .erweiterungen .wrapper { grid-template-columns: 1fr; gap: 24px; }
  .erweiterungen { padding: 56px 0; }
}

/* ===== KONTAKT-FORMULAR ===== */
.kontakt-layout { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 48px; margin: 40px 0 56px; align-items: start; }
@media (max-width: 860px) { .kontakt-layout { grid-template-columns: 1fr; gap: 32px; } }

.kontakt-form { display: flex; flex-direction: column; gap: 22px; position: relative; background: #fff; border: 1px solid var(--mist); padding: 36px; }
@media (max-width: 520px) { .kontakt-form { padding: 24px; } }
.kf-row { display: flex; flex-direction: column; gap: 8px; }
.kf-row label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.kf-row input, .kf-row select, .kf-row textarea {
  font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--black);
  background: #fff; border: 1px solid #d7d7d2; border-radius: 0;
  padding: 14px 15px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.kf-row textarea { min-height: 150px; resize: vertical; }
.kf-row input:focus, .kf-row select:focus, .kf-row textarea:focus { outline: none; border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.kf-row input::placeholder, .kf-row textarea::placeholder { color: #a8a8a2; }
.kf-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.84rem; color: var(--graphite); line-height: 1.55; }
.kf-consent input { margin-top: 3px; width: 17px; height: 17px; flex: 0 0 auto; accent-color: #000; }
.kf-consent a { border-bottom: 1px solid var(--graphite); }
.kf-submit {
  width: 100%; background: var(--black); color: var(--white); border: 1px solid var(--black);
  font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 17px 30px; cursor: pointer; transition: all .15s ease;
}
.kf-submit:hover { background: #fff; color: var(--black); }
.kf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.kontakt-aside { padding-top: 4px; }
@media (max-width: 860px) { .kontakt-aside { border-top: 1px solid var(--mist); padding-top: 28px; } }
.kontakt-aside .ka-block { margin-bottom: 26px; }
.kontakt-aside h4 { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 11px; }
.kontakt-aside p { color: var(--graphite); line-height: 1.6; margin-bottom: 5px; }
.kontakt-aside a { border-bottom: 1px solid var(--black); }
.ka-points { list-style: none; padding: 0; margin: 0; }
.ka-points li { position: relative; padding-left: 22px; color: var(--graphite); line-height: 1.5; margin-bottom: 10px; font-size: 0.92rem; }
.ka-points li::before { content: "→"; position: absolute; left: 0; color: var(--black); font-family: 'JetBrains Mono', monospace; }

.kf-banner { padding: 16px 18px; border: 1px solid var(--black); background: var(--off-white, #f5f5f3); font-size: 0.95rem; line-height: 1.5; margin-bottom: 28px; }
.kf-banner.error { border-color: #a33; color: #a33; }
.kontakt-legal { border-top: 1px solid var(--mist); padding-top: 28px; max-width: 760px; }
.kontakt-legal p { font-size: 0.84rem; color: var(--stone); line-height: 1.6; margin-bottom: 10px; }

/* ===== BRAND KIT v2 — funktionaler Petrol-Akzent (zentral) ===== */
.section-marker .marker-num { color: var(--accent); }
.section-marker .marker-bracket { color: var(--accent-300); }
.nav-links .nav-highlight { color: var(--accent) !important; }
.nav-links .nav-highlight::before { background: var(--accent); }
.nav-links .nav-active { border-bottom-color: var(--accent); }
.page-header .breadcrumb { color: var(--accent); }
.preis-paket .paket-label { color: var(--accent); }
.hero-still .hero-label { color: var(--accent); }
.jp-tag { color: var(--accent); border-color: var(--accent-300); }
.kanzlei-prose a, .page-content a { color: var(--accent-700); }

/* ===== Kontakt-Sektion hell statt schwarz (Brand Kit v2) ===== */
.contact { background: var(--off-white); color: var(--ink); border-top: 1px solid var(--mist); }
.contact .section-title { color: var(--ink); }
.contact .section-intro { color: var(--graphite); }
.contact .section-label { color: var(--stone); }
.contact-block h4 { color: var(--stone); }
.contact-block p { color: var(--graphite); }
.contact-block a { color: var(--accent-700); border-bottom: 1px solid var(--mist); }

/* ===== Porträt dimensional (Brand Kit v2) ===== */
.team-photo { position: relative; overflow: visible; background: transparent; }
.team-photo::before { content: ""; position: absolute; left: 16px; top: 16px; right: -16px; bottom: -16px; background: var(--accent-100); z-index: 0; }
.team-photo img { position: relative; z-index: 1; box-shadow: 0 22px 45px -20px rgba(17,17,17,.42); }
