/* ============================================================
   THEME V5b "Technical Refined" — Override auf style.css
   Kundenwahl Sebastian Kelka (2026-09-07). Inter + IBM Plex Mono,
   ein Indigo-Akzent, monochrome Basis, Code-Labels, radius 0.
   Wird nach style.css geladen; Tokens + gezielte Komponenten.
   ============================================================ */
@import url("fonts-v5b.css");

:root {
  --bg: #fcfcfc;
  --bg-warm: #f6f6f6;
  --bg-section: #f6f6f6;
  --bg-card: #ffffff;
  --bg-dark: #171717;
  --bg-dark-mid: #222222;

  --border: #e4e4e4;
  --border-light: #f0f0f0;
  --border-accent: rgba(37, 99, 235, 0.18);

  /* Gold-Tokens werden auf Indigo umgelegt, damit alle Komponenten folgen */
  --gold: #2563eb;
  --gold-light: #60a5fa;
  --gold-dark: #1d4ed8;
  --gold-text: #1d4ed8;
  --gold-bg: rgba(37, 99, 235, 0.06);
  --gold-bg-strong: rgba(37, 99, 235, 0.1);

  --t1: #171717;
  --t2: #555555;
  --t3: #6f6f6f;
  --t4: #999999;

  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
}

body { background: var(--bg); color: var(--body, #555); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4, .section-heading, .hero-title, .problem-text, .rolle-head h2 {
  font-family: var(--sans);
  letter-spacing: -0.02em;
  font-style: normal;
}
.section-heading { font-weight: 700; }
.hero-title { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.hero-title strong, .section-heading strong, .hero-title-sm strong {
  color: var(--gold);
  font-style: normal;
  font-weight: inherit;
}
.hero.hero-video-bg .hero-title strong { color: var(--gold-light); font-style: normal; }
.problem-text { font-weight: 600; letter-spacing: -0.01em; }
.rolle-head h2, .rolle-head .section-heading { font-style: normal; }
.phase-claim, .expertise-card p em, blockquote { font-style: normal; }

/* ---------- Code-Labels ---------- */
.label, .hero-label, .expertise-label, .kontakt-label, .article-meta, .breadcrumb ol,
.timeline-date, .footer-heading, .footer-label, .profil-role {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: lowercase;
  color: var(--gold);
}
.label::before, .hero-label::before, .expertise-label::before, .footer-heading::before { content: "// "; }
.footer-heading { color: var(--t4); }
.impl-highlight .label, .cta-inner .label { color: var(--gold-light); }
.hero-label { border-bottom: none; padding-bottom: 0; }
.hero.hero-video-bg .hero-label { color: var(--gold-light); }
.label:has(+ .section-heading) { margin-bottom: 14px; }

/* Nummern / KPIs */
.rolle-num, .phase-number, .expertise-number, .timeline-date, .kontakt-steps strong {
  font-family: var(--mono);
  color: var(--gold);
  font-weight: 500;
}

/* ---------- Logo: Cormorant Light bleibt, Subline in Mono ---------- */
.logo .logo-letters, .footer-logo .logo-letters { font-weight: 300; letter-spacing: 6px; }
.logo .logo-sep, .footer-logo .logo-sep { color: var(--gold); }
.logo .logo-sub, .footer-logo .logo-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--t3);
}

/* ---------- Buttons: Mono, Akzent, keine Rundung ---------- */
.btn-primary, .btn-secondary, .nav-cta, .impl-btn, .cta-inner .btn-primary, .hero.hero-video-bg .btn-primary {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2px;
  border-radius: 0;
}
.btn-primary, .cta-inner .btn-primary, .hero.hero-video-bg .btn-primary, .impl-btn {
  background: var(--gold);
  color: #ffffff;
  border: 1px solid var(--gold);
}
.btn-primary:hover, .cta-inner .btn-primary:hover, .hero.hero-video-bg .btn-primary:hover, .impl-btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #ffffff;
}
.btn-secondary { border: 1px solid var(--t1); color: var(--t1); background: transparent; }
.btn-secondary:hover { background: var(--t1); color: #fff; }
/* Outline-Button auf dunklen Flaechen (CTA-Block, Implementierungs-Box, Footer) */
.cta-inner .btn-secondary, .cta-section .btn-secondary, .impl-highlight .btn-secondary, .site-footer .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}
.cta-inner .btn-secondary:hover, .cta-section .btn-secondary:hover, .impl-highlight .btn-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--t1);
}
.nav-cta { background: var(--t1) !important; color: #fff !important; padding: 9px 20px; }
.nav-cta:hover { background: var(--gold) !important; }
body.has-hero-video .site-header .nav-cta { background: var(--gold) !important; }
body.has-hero-video .site-header.scrolled .nav-cta { background: var(--t1) !important; }

/* Navigation */
.nav-links a { font-family: var(--sans); font-size: 14px; font-weight: 500; }
.nav-links a::after { background: var(--gold); }

/* ---------- Karten & Flächen ---------- */
.expertise-card, .service-card, .milestone-card, .blog-card, .mandanten-tag {
  border: 1px solid var(--border);
  box-shadow: none;
}
.kontakt-info { border: none; }
.kontakt-list a { border-bottom: none; color: var(--gold); }
.expertise-card { border-top: 1px solid var(--border); }
.expertise-card::before, .service-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 18px;
}
.expertise-icon { display: none; }
.card-link, .expertise-link { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--gold); border-bottom: none; }
.card-link:hover, .expertise-link:hover { color: var(--gold-dark); }

/* Mandanten-Tags: Mono-Chips wie im Mockup */
.mandanten-tag { padding: 12px 16px; background: var(--bg-card); }
.mandanten-tag::before { background: var(--gold); box-shadow: none; width: 6px; height: 6px; }
.mandanten-tag h3, .mandanten-tag span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; }

/* Timeline / Meilensteine */
.timeline-tag { font-family: var(--mono); color: var(--gold-dark); background: var(--gold-bg); border-color: var(--border-accent); }
.timeline-item::before { border-color: var(--gold); }

/* Dunkle Flächen */
.impl-highlight, .cta-inner, .site-footer { background: var(--bg-dark); }
.site-footer { border-top: none; }
.impl-highlight .impl-stat, .impl-highlight .impl-percent { font-family: var(--mono); color: rgba(255, 255, 255, 0.35); }
/* Inline-Label "Schwerpunkt" in der Implementierungs-Box (hat keine Klasse) */
.impl-highlight > div:first-child > div:first-child {
  font-family: var(--mono) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 0.3px !important;
  text-transform: lowercase !important;
  color: var(--gold-light) !important;
}
.impl-highlight > div:first-child > div:first-child::before { content: "// "; }


/* ---------- Hero V5b: helles Hero mit Raster und 3D-Netzwerkobjekt ---------- */
:root { --gridline: rgba(23,23,23,.045); }

.hero-v5 { position: relative; overflow: hidden; min-height: min(100vh, 860px); display: flex; align-items: center; padding: 140px 0 100px; border-bottom: 1px solid var(--border); }
.hero-v5 .container { position: relative; z-index: 3; width: 100%; }
.hero-v5 .hero-content { max-width: 760px; }
.hero-v5 .hero-label { font-family: var(--mono); font-size: 12px; color: var(--gold); margin-bottom: 28px; padding: 0; border: none; text-transform: lowercase; }
.hero-v5 .hero-label::before { content: none; }
.hero-v5 .hero-title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 28px; }
.hero-v5 .hero-subtitle { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; max-width: 560px; margin: 0 0 40px; color: var(--t2); }
.hero-v5 .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-v5 .btn-secondary { padding: 14px 26px; }
.hero-v5 .mesh-nodes circle { animation: pulse 4s ease-in-out infinite; }
.hero-v5 .mesh-nodes circle:nth-child(3n) { animation-delay: 1.3s; }
.hero-v5 .mesh-nodes circle:nth-child(3n+1) { animation-delay: 2.6s; }
@keyframes meshdrift { from { transform: translateY(-52%) translateX(0); } to { transform: translateY(-48%) translateX(-14px); } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.hero-v5 .grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(to right, var(--gridline) 1px, transparent 1px), linear-gradient(to bottom, var(--gridline) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,.9), transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,.9), transparent 75%); }
.hero-v5 .kpi-row { display: flex; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-v5 .kpi { font-family: var(--mono); }
.hero-v5 .kpi b { display: block; font-size: 26px; font-weight: 600; color: var(--t1); letter-spacing: -0.02em; }
.hero-v5 .kpi span { font-size: 11px; color: var(--t4); }
.hero-v5 .kpi span::before { content: "// "; }
@media (max-width: 900px) { .hero-v5 .mesh { position: absolute; right: -30%; top: auto; bottom: -10%; width: 90vw; opacity: .5; transform: none; animation: none; } .hero-v5 { padding: 120px 0 70px; min-height: auto; } .hero-v5 .kpi-row { gap: 24px; flex-wrap: wrap; } }
.hero-v5 .mesh.crystal { position: absolute; z-index: 1; height: auto; width: min(50vw, 700px); right: 4vw; top: 50%; transform: translateY(-50%); overflow: visible; animation: none; opacity: .8; }
.hero-v5 .hero-title { text-shadow: 0 0 40px rgba(252, 252, 252, 1), 0 0 24px rgba(252, 252, 252, 1), 0 0 12px rgba(252, 252, 252, 1), 0 0 4px rgba(252, 252, 252, 1); }
.hero-v5 .hero-subtitle, .hero-v5 .hero-label { text-shadow: 0 0 28px rgba(252, 252, 252, 1), 0 0 14px rgba(252, 252, 252, 1), 0 0 6px rgba(252, 252, 252, 1); }
.hero-v5 .mesh.crystal .halo { transform-origin: 50% 50%; transform-box: fill-box; animation: halo 6s ease-in-out infinite; }
@keyframes halo { 0%, 100% { transform: scale(.85); opacity: .6; } 50% { transform: scale(1.12); opacity: 1; } }
.hero-v5 .mesh-nodes circle { animation: none; }
@media (max-width: 900px) {
  /* Mobil: Objekt gross im Hintergrund, Text davor mit weichem weissem Schein fuer Lesbarkeit */
  .hero-v5 { min-height: 100svh; padding: 120px 0 56px; }
  .hero-v5 .mesh.crystal { position: absolute; z-index: 0; left: 50%; top: 52%; right: auto; width: 120vw; max-width: none; transform: translate(-50%, -50%); opacity: .55; margin: 0; }
  .hero-v5 .container { position: relative; z-index: 2; }
  .hero-v5 .hero-title { font-size: clamp(34px, 9.5vw, 44px); }
  .hero-v5 .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-v5 .btn-secondary { background: rgba(252, 252, 252, .85); }
}

/* Hero mit Video (nicht mehr auf der Startseite, bleibt fuer Unterseiten-Option) */
.hero.hero-video-bg { background: #0b1220; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.55) 0%, rgba(8, 12, 24, 0.35) 45%, rgba(8, 12, 24, 0.85) 100%),
    linear-gradient(90deg, rgba(8, 12, 24, 0.7) 0%, rgba(8, 12, 24, 0.25) 60%, rgba(8, 12, 24, 0.1) 100%);
}
.hero-glow { display: none; }
.hero.hero-video-bg .hero-subtitle { font-family: var(--sans); color: rgba(255, 255, 255, 0.82); }

/* Formular */
input, textarea, select { font-family: var(--sans); border-radius: 0; border-color: var(--border); }
input:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-bg-strong); }
.form-field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3px; text-transform: lowercase; color: var(--t3); }
.form-field label::before { content: "// "; }
.form-status { border-left-color: var(--gold); background: var(--gold-bg); }

/* Footer (dunkel wie im Mockup) */
.site-footer, .site-footer p, .site-footer li { color: rgba(255, 255, 255, 0.6); }
.footer-links a { color: rgba(255, 255, 255, 0.72); }
.footer-links a:hover { color: #fff; }
.footer-desc, .footer-location, .footer-copy, .footer-legal a { color: rgba(255, 255, 255, 0.55); }
.footer-heading { color: rgba(255, 255, 255, 0.58); }
.footer-logo .logo-letters { color: #ffffff; }
.footer-logo .logo-sep { color: var(--gold-light); }
.footer-logo .logo-sub { color: rgba(255, 255, 255, 0.58); }
.footer-cta-link { color: var(--gold-light) !important; }
.footer-bottom a, .footer-legal a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover, .footer-legal a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* Abschnitts-Trenner / Linien */
hr, .divider, .problem-body, .problem-mandanten { border-color: var(--border); }

/* Lange Fachkomposita (Kryptowertpapierregisterfuehrung etc.) sauber umbrechen */
.expertise-card h3,
.expertise-title,
.mandanten-tag span,
.timeline-title {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  /* kein word-break: break-word — das bricht mitten im Wort ("Custo-dy"),
     statt an der Silbengrenze. overflow-wrap greift nur, wenn ein Wort
     allein nicht in die Zeile passt. */
}

/* Gruenderbild: dezenter Zoom bei Mouse-Over (UX-Wunsch Kelka 09/2026) */
.profil-photo-zoom img {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.profil-photo-zoom:hover img {
  transform: scale(1.06);
}
.profil-photo-zoom {
  transition: border-color 0.4s ease;
}
.profil-photo-zoom:hover {
  border-top-color: var(--gold-light, var(--gold));
}
@media (prefers-reduced-motion: reduce) {
  .profil-photo-zoom img,
  .profil-photo-zoom { transition: none; }
  .profil-photo-zoom:hover img { transform: none; }
}


/* ============================================================
   MOBILE-OPTIMIERUNG 2026-09-15
   Gemessen bei 390 px mit iPhone-User-Agent.
   Desktop bleibt unberuehrt, alles haengt im Breakpoint.
   Nicht angefasst: Hero-Grafik hinter der Headline (User-Wunsch).
   ============================================================ */
@media (max-width: 900px) {

  /* P1.3 — Menue-Button auf genau 44x44 statt 38x42 (Touch-Richtwert) */
  .nav-toggle { padding: 9px 11px; }

  /* P1.4 — Footer-Links waren 31-33 px hoch, jetzt 44 */
  .footer-links a,
  .footer-legal a {
    display: inline-block;
    padding-block: 6px;
    min-height: 44px;
    line-height: 32px;
  }
  .footer-links li { margin-bottom: 2px; }

  /* P2.5 — Logo-Unterzeile war 9,5 px.
     Kopf und Fuss brauchen unterschiedliche Werte: im Kopf teilt sich die
     Zeile den Platz mit dem Menue-Button, deshalb mitwachsend per clamp,
     sonst bricht sie auf zwei Zeilen um. Im Fuss ist die volle Breite frei. */
  .logo .logo-sub {
    font-size: clamp(8.5px, 2.4vw, 10.5px);
    letter-spacing: clamp(0.8px, 0.3vw, 1.7px);
    white-space: nowrap;
  }
  .footer-logo .logo-sub {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  /* P2.6 — Footer-Typografie von 12 auf 13 px */
  .footer-heading,
  .footer-copy,
  .footer-location,
  .footer-legal a,
  .footer-legal li { font-size: 13px; }

  /* P2.7 — CTA-Ueberschrift erbte 1,65 vom Fliesstext, alle anderen
     Ueberschriften stehen auf 1,15 */
  .cta-inner h2 { line-height: 1.18; }
  .cta-inner p { line-height: 1.55; }

  /* P3.9 — Kopfzeile war 73 px hoch und verdeckte beim Scrollen viel */
  .header-inner { height: 62px; }
  .logo .logo-letters,
  .logo .logo-sep { font-size: 26px; letter-spacing: 4.5px; }

  /* Zweiter Durchgang — Reste aus der Nachmessung */

  /* Formular-Beschriftungen standen auf 11 px */
  .form-field label { font-size: 13px; }

  /* Mikro-Labels: Code-Label, Zeitleisten- und Profil-Tags, Expertise-Meta */
  .label { font-size: 13px; }
  .timeline-tag,
  .profil-tag,
  .expertise-meta span,
  .expertise-number,
  .timeline-date { font-size: 12px; }

  /* Textlinks am Kartenende waren 37 px hoch */
  .expertise-link,
  .card-link,
  .impl-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Footer-Logo 41 px, Rechtslinks seitlich zu schmal zum Treffen */
  .footer-logo { display: inline-block; padding-block: 4px; }
  .footer-legal a { padding-inline: 8px; }
  .footer-legal { gap: 10px; }
}

/* ============================================================
   KONTAKTSEITE MOBIL: ganzes Formular ohne Scrollen sichtbar
   Gemessen: Hero war 371 px hoch fuer eine 34-px-Ueberschrift,
   das Formular (Label bis Button) 694 px. Unter dem fixen Header
   stehen 781 px zur Verfuegung. Es passte also, wurde aber vom
   Hero nach unten geschoben.
   ============================================================ */
@media (max-width: 900px) {

  /* 140 px oben stammten noch vom alten 73-px-Header, der ist
     inzwischen 63 px hoch */
  .hero.hero-compact { padding: 76px 0 16px; }

  /* Untertitel entfaellt auf dem Handy. Er kostet je nach Breite 60 bis
     75 px und wiederholt, was die Ueberschrift und das Formular ohnehin
     sagen. Auf dem Desktop bleibt er stehen. */
  .hero.hero-compact .hero-subtitle { display: none; }

  /* Abstand zwischen Hero und Formularblock */
  .hero.hero-compact + .content-section { padding-top: 16px; }

  /* Textfeld war 144 px hoch; 100 px reichen fuer den Einstieg,
     es waechst beim Tippen ohnehin nicht, laesst sich aber ziehen */
  #contact-form textarea { height: 96px; min-height: 96px; }

  /* Feldabstaende von 20 auf 14 */
  #contact-form.form-grid { gap: 14px; }
}


/* ============================================================
   AUSGANGSLAGE (Startseite, Sektion unter dem Hero)
   Variante A, ausgewaehlt 2026-09-15.

   Vorher: zwei lange Absaetze zentriert, rund 100 Zeichen pro Zeile,
   die vier Herausforderungen in einem einzigen Schachtelsatz.
   Jetzt: der Wendepunkt des Textes („jedoch") wird zur Bildachse.
   Links hell, was der Gesetzgeber geregelt hat, rechts auf dunkler
   Flaeche, was den Instituten zu tun bleibt.
   ============================================================ */
.problem-inner { max-width: none; text-align: left; }

.problem .problem-text {
  max-width: 880px;
  margin: 0 0 46px;
  text-align: left;
  line-height: 1.24;
}

.problem-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
}

.problem-state {
  padding: 34px 44px 34px 0;
  border-right: 1px solid var(--border);
}
.problem-state p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--t2);
  margin: 0;
}

/* Die dunkle Flaeche ragt oben und unten ueber die helle Spalte hinaus,
   damit sie als eigenstaendiger Block liest und nicht als Tabellenzelle */
.problem-open {
  background: var(--bg-dark);
  color: #fff;
  padding: 34px 40px 36px;
  margin: -16px 0;
}
.problem-open .label { color: var(--gold-light); }
.problem-state .label,
.problem-open .label { margin-bottom: 13px; }

.problem-pivot {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 22px;
}

.problem-tasks { list-style: none; margin: 0; padding: 0; }
.problem-tasks li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
/* Gedankenstrich statt Nummer: die vier Punkte sind gleichrangig,
   keine Abfolge — eine Nummerierung wuerde eine Reihenfolge behaupten */
.problem-tasks li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 13px;
}

@media (max-width: 900px) {
  .problem .problem-text { font-size: 25px; margin-bottom: 28px; }
  .problem-split { grid-template-columns: 1fr; }
  .problem-state {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0 26px;
  }
  .problem-state p { font-size: 15.5px; }
  /* volle Breite bis zum Rand, wie der CTA-Block */
  .problem-open {
    margin: 26px calc(var(--pad) * -1) 0;
    padding: 28px var(--pad) 30px;
  }
  .problem-pivot { font-size: 17.5px; }
}


/* ============================================================
   INHALTSSEITEN (.content-narrow)
   Betrifft Expertisen, Services, Blog, Ueber uns, Rechtliches.
   Gemessen 2026-09-15 bei 390 px: Seiten 4200 bis 5400 px hoch,
   also fuenf bis sechs Bildschirme, Absaetze bis 608 Zeichen,
   Zeilenhoehe 1.8 bei nur rund 38 Zeichen je Zeile.
   ============================================================ */

/* Listenpunkte in der Sprache des Systems: Gedankenstrich statt
   runder Aufzaehlungspunkt, der als einziges Element hier nicht zum
   radius-0-Design passt. Spart nebenbei rund 30 px Einzug je Zeile. */
.content-narrow ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.content-narrow ul > li {
  position: relative;
  padding-left: 24px;
}
.content-narrow ul > li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 13px;
  line-height: inherit;
}

@media (max-width: 900px) {
  /* 1.8 ist bei kurzer Zeile zu luftig und streckt die Seite unnoetig */
  .content-narrow p { line-height: 1.65; margin-bottom: 16px; }
  .content-narrow li { line-height: 1.6; margin-bottom: 10px; }

  /* Zwischenueberschriften bekommen eine Haarlinie, damit das Auge
     beim Scrollen ueber fuenf Bildschirme Halt findet */
  .content-narrow h3 {
    font-size: 19px;
    margin: 34px 0 12px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
  }
  .content-narrow h2 { font-size: 24px; margin: 34px 0 14px; }
  .content-narrow h2:first-child,
  .content-narrow .label + h2 { margin-top: 0; }
  .content-narrow ul { margin: 16px 0; }
}


/* ============================================================
   UNTERSEITEN-HERO MOBIL (Services, Expertisen)
   Gemessen 2026-09-15: der Untertitel ist dort 215 bis 284 Zeichen
   lang und zentriert. Auf 390 px sind das rund sieben Zeilen mit
   Flattersatz an beiden Raendern — das Auge findet den Zeilenanfang
   nicht. Dazu kamen drei verschiedene Ausrichtungen auf einem
   Bildschirm: zentrierte Ueberschrift, zentrierter Untertitel,
   linksbuendiger Fliesstext darunter.
   Auf dem Desktop bleibt die Zentrierung, dort ist die Zeile kurz.
   ============================================================ */
@media (max-width: 900px) {
  /* .hero ist ein Flex-Container; .container darin hat margin: 0 auto.
     Ein Flex-Item mit automatischen Seitenraendern schrumpft auf
     Inhaltsbreite und wird zentriert — gemessen 308 statt 350 px.
     Dadurch begann der Hero-Text 41 px vom Rand, der Fliesstext
     darunter aber bei 20 px. */
  .hero .container { width: 100%; }

  .hero-compact .hero-content.hero-center {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-compact .hero-content.hero-center .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    line-height: 1.6;
  }
}
