*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --black: #0a0a0a; --white: #ffffff; --gray-100: #f5f5f5;
  --gray-200: #e8e8e8; --gray-400: #999999; --gray-600: #555555;
  --gray-800: #222222; --accent: #c8a96e; --accent-light: rgba(200,169,110,0.15);
  /* Mobile-Typografie-System v2 (<=767px, siehe @media weiter unten) -
     identische Tokens wie auf den uebrigen Unterseiten (Artikel-Template,
     Startseite, Wissen-Uebersicht). Eine Stufe kompakter als zuvor (Syne
     wirkt bei gleicher px-Zahl dominanter als eine normale Sans-Serif -
     hier eingerechnet). Karten-/Akkordeon-/Schritt-Titel wechseln auf
     Mobile von Syne zu DM Sans (ruhigere Hierarchie), CTA-Headlines
     bleiben Display-Font und nutzen denselben Wert wie --fs-mobile-h2
     (konsolidiert, keine eigene CTA-Groesse mehr noetig). Nur auf Mobile
     referenziert - Tablet/Desktop bleiben unveraendert. */
  --fs-mobile-article-h1-a: clamp(1.75rem, 1.10714rem + 2.85714vw, 1.875rem); /* v3: kurze Titel (Syne 700): 28-30px */
  --fs-mobile-article-h1-b: clamp(1.65625rem, 1.17411rem + 2.14286vw, 1.75rem); /* v3: mittlere Titel (Syne 700): 26.5-28px */
  --fs-mobile-article-h1-c: clamp(1.59375rem, 1.11161rem + 2.14286vw, 1.6875rem); /* v3: lange Titel (Syne 700): 25.5-27px */
  --fs-mobile-article-h1-d: clamp(1.5rem, 1.01786rem + 2.14286vw, 1.59375rem); /* v3: sehr lange Titel (Syne 700): 24-25.5px */
  --fs-mobile-h2: clamp(1.3125rem, 0.66964rem + 2.85714vw, 1.4375rem); /* v3: Section-/Artikel-/CTA-H2 (Syne 700): 21-23px */
  --fs-mobile-card: 16.5px; /* v3: Karten-/Akkordeon-/Schritt-Titel (DM Sans) */
  --fs-mobile-body: 15px; /* v3: Fliesstext */
  --fs-mobile-lead: clamp(1rem, 0.67857rem + 1.42857vw, 1.0625rem); /* Intro-Absatz: 16-17px */
  --fs-mobile-meta: 12.5px;  /* Meta-Angaben */
  --fs-mobile-eyebrow: 11.5px; /* Eyebrows / Kategorien */
  --fs-mobile-btn: 13.5px;   /* Button-Text auf Mobile */
  --lh-mobile-display: 1.04; /* v3: Zeilenhoehe Display-Headlines (Syne) */
  --lh-mobile-body: 1.55;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--black); overflow-x: hidden; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; word-break: normal; overflow-wrap: normal; text-wrap: balance; }

.section-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); flex-shrink: 0; }
.section-tag.on-dark { color: var(--accent); }

.btn-primary, .btn-secondary {
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  padding: 16px 30px; border-radius: 2px; text-decoration: none; text-transform: uppercase;
  transition: all 0.25s ease; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--black); }
.btn-primary:hover { background: #dbbf85; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-secondary.on-light { color: var(--black); border-color: var(--gray-200); }
.btn-secondary.on-light:hover { border-color: var(--accent); color: var(--accent); }

.pagehead { background: var(--black); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo-link { display: flex; flex-direction: column; gap: 2px; line-height: 1; text-decoration: none; }
.nav-logo-sub { display: none; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 400; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); text-transform: uppercase; }
.nav-logo-img { height: 28px; width: auto; max-width: none; display: block; align-self: flex-start; object-fit: contain; }
.pagehead-back { font-size: 12.5px; font-weight: 500; letter-spacing: 0.03em; color: rgba(255,255,255,0.75); text-decoration: none; min-height: 44px; display: flex; align-items: center; gap: 6px; transition: color 0.25s; }
.pagehead-back:hover { color: var(--accent); }

.page-intro { background: var(--black); padding: 28px 20px 36px; border-bottom: 1px solid rgba(255,255,255,0.06); }
/* Gemeinsames Desktop-Content-Raster (>=768px) - siehe Artikel-Template
   fuer Details. Hero und Body teilen sich --page-max-width und denselben
   linken Bezugspunkt (margin:0), kein Achsenbruch, kein Wandern zur Mitte. */
.page-intro-inner { max-width: var(--page-max-width, 100%); margin: 0; }
.page-headline { font-family: 'Syne', sans-serif; font-size: clamp(2.25rem, 9vw, 2.75rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: var(--white); margin-bottom: 14px; }
.page-sub { font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,0.72); max-width: 58ch; }

.sec { padding: 36px 20px; }
.sec-alt { background: var(--gray-100); }
.sec-inner { max-width: var(--page-max-width, 100%); margin: 0; }
.sec-head { margin-bottom: 20px; }
.sec-title { font-family: 'Syne', sans-serif; font-size: clamp(1.5rem, 6vw, 1.9rem); font-weight: 800; line-height: 1.16; letter-spacing: -0.02em; }
.sec-lead { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--gray-600); max-width: 62ch; margin-top: 10px; }
.sec-text { font-size: 14.5px; font-weight: 300; line-height: 1.65; color: var(--gray-600); max-width: 68ch; }
.sec-text + .sec-text { margin-top: 14px; }

.vl-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.vl-list li { font-size: 14.5px; font-weight: 300; line-height: 1.55; color: var(--gray-600); padding-left: 22px; position: relative; }
.vl-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 1px; background: var(--accent); }

/* ---------- Kompetenzfelder ---------- */
.kompetenz-grid { display: flex; flex-direction: column; }
.kompetenz-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--gray-200); text-decoration: none;
  min-height: 44px; transition: color 0.2s ease;
}
.kompetenz-item:first-child { border-top: 1px solid var(--gray-200); }
.kompetenz-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--black); }
.kompetenz-arrow { color: var(--accent); font-size: 15px; flex-shrink: 0; transition: transform 0.25s; }
.kompetenz-item:hover .kompetenz-arrow { transform: translateX(4px); }

/* ---------- Ansprechpartner ---------- */
.person-block { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.person-photo-wrap { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--gray-200); }
.person-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-copy { flex: 1; }
.person-role { font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--gray-600); margin: 4px 0 14px; }

/* ---------- Arbeitsweise ---------- */
.arbeitsweise-grid { display: flex; flex-direction: column; gap: 22px; }
.arbeitsweise-item { border-top: 1px solid var(--gray-200); padding-top: 16px; }
.arbeitsweise-label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.arbeitsweise-text { font-size: 14.5px; font-weight: 300; line-height: 1.55; color: var(--gray-600); max-width: 46ch; }

/* ---------- Abschluss-CTA ---------- */
.page-cta-box { background: var(--gray-100); border-radius: 4px; padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.page-cta-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.page-cta-text { font-size: 13.5px; font-weight: 300; line-height: 1.55; color: var(--gray-600); max-width: 58ch; }
.page-cta-box .btn-primary { align-self: flex-start; }

footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 16px 20px; display: flex; align-items: center; justify-content: center; text-align: center; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; }
.footer-copy { font-size: 11.5px; color: rgba(255,255,255,0.4); letter-spacing: 0.02em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.footer-links a { font-size: 11.5px; color: rgba(255,255,255,0.55); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; transition: color 0.25s; }
.footer-links a:hover { color: var(--accent); }
.footer-dot { color: rgba(255,255,255,0.25); font-size: 11px; }

@media (min-width: 768px) {
  :root { --page-max-width: 900px; }
  .pagehead { padding: 20px 40px; }
  .nav-logo-sub { display: block; } .nav-logo-img { height: 34px; width: auto; object-fit: contain; }
  .page-intro { padding: 40px 40px 48px; }
  .sec { padding: 56px 40px; }
  .sec-head { margin-bottom: 30px; }
  .person-block { flex-direction: row; align-items: center; gap: 28px; }
  .person-photo-wrap { width: 120px; height: 120px; }
  .kompetenz-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .arbeitsweise-grid { flex-direction: row; }
  .arbeitsweise-item { flex: 1; padding-top: 0; padding-left: 20px; border-top: none; border-left: 1px solid var(--gray-200); }
  .arbeitsweise-item:first-child { padding-left: 0; border-left: none; }
  .page-cta-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 48px; gap: 32px; }
  .page-cta-copy { max-width: 640px; }
  footer { padding: 20px 40px 18px; }
}
@media (min-width: 1024px) {
  :root { --page-max-width: 1000px; }
  .pagehead { padding: 24px 56px; }
  .page-intro { padding: 56px 56px 64px; }
  .sec { padding: 72px 56px; }
  .sec-head { margin-bottom: 40px; }
  .person-photo-wrap { width: 200px; height: 200px; }
  footer { padding: 20px 56px; }
}

@media (max-width: 767px) {
  .page-intro { padding: 20px 20px 22px; }
  .sec { padding: 26px 20px; }
  /* Identische Systematik wie auf den uebrigen Unterseiten (hl-a bis
     hl-d, je nach Headline-Laenge) - keine neue Mobile-Typografie. */
  .page-headline { line-height: 1.06; }
  .page-headline.hl-a { font-size: var(--fs-mobile-article-h1-a); }
  .page-headline.hl-b { font-size: var(--fs-mobile-article-h1-b); }
  .page-headline.hl-c { font-size: var(--fs-mobile-article-h1-c); }
  .page-headline.hl-d { font-size: var(--fs-mobile-article-h1-d); }
  .sec-title { font-size: var(--fs-mobile-h2); line-height: var(--lh-mobile-display); }
  .page-sub { font-size: var(--fs-mobile-lead); line-height: var(--lh-mobile-body); }
  .btn-primary, .btn-secondary { font-size: var(--fs-mobile-btn); }
  .page-cta-box .btn-primary { width: 100%; }
  .page-cta-box { padding: 22px 20px; }
  .page-cta-title { font-size: var(--fs-mobile-h2); line-height: var(--lh-mobile-display); }
  .kompetenz-title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: var(--fs-mobile-card); }

  /* text-wrap:wrap statt balance: verhindert, dass eine bereits
     "ausbalancierte" Zeilenaufteilung nach dem Nachladen der Web-Schrift
     (Font-Swap) ueber den verfuegbaren Platz hinausragt - insbesondere bei
     langen, zusammengesetzten Woertern in Headlines. Rein defensiv, keine
     sichtbare Optik-Aenderung im Normalfall. */
  .page-headline, .sec-title { text-wrap: wrap; }
}

/* ============================================================
   MOBILE-TYPOGRAFIE v3 (nur <=767px) - ruhiger, kompakter, hochwertiger.
   Groessen kommen aus den --fs-mobile-*-Tokens in :root (v3). Tablet
   (>=768px) und Desktop bleiben unveraendert, da alle Regeln hier nur
   innerhalb von max-width:767px greifen. Display-Headlines nutzen auf
   Mobile Syne 700 (ca. 30 % schmaler als 800 -> weniger Zeilen, keine
   Wortbrueche); Desktop behaelt Syne 800.
   ============================================================ */
@media (max-width: 767px) {
  .page-headline, .sec-title, .page-cta-title { font-weight: 700; hyphens: none; -webkit-hyphens: none; }
  /* Unter 360px (sehr schmale Geraete) greift wieder die manuelle Silbentrennung
     (&shy;) als Sicherheitsnetz - besser ein sauberer Trennstrich als ein harter Umbruch. */
  @media (max-width: 359px) { .page-headline, .sec-title, .page-cta-title { hyphens: manual; -webkit-hyphens: manual; } }
  .page-intro .section-tag { margin-bottom: 10px; }
  .page-headline { line-height: var(--lh-mobile-display); margin-bottom: 12px; }
  .page-sub { margin-bottom: 20px; }
  .vl-cta-row { gap: 10px; }
  .btn-primary, .btn-secondary { font-size: var(--fs-mobile-btn); padding: 13px 22px; min-height: 46px; letter-spacing: 0.05em; }
  .section-tag { font-size: var(--fs-mobile-eyebrow); }
  .sec-head { margin-bottom: 16px; }
  .sec-lead, .vl-list li { font-size: var(--fs-mobile-body); line-height: var(--lh-mobile-body); }
  .sec-lead { margin-top: 8px; }
  .page-cta-title { font-size: var(--fs-mobile-h2); line-height: var(--lh-mobile-display); }
  .price-value { font-weight: 700; }
}
