/* ============================================
   Malino Consulting - Design System v2
   Pattern: Trust & Authority
   Farbschema: Navy / Anthrazit / Kupfer-Akzent
   ============================================ */

/* Schriften lokal eingebunden (16.10.2026), kein Abruf bei Google.
   Variable Fonts, Quelle Google Fonts: Hanken Grotesk v12, Source Serif 4 v15. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Semantic color tokens */
  --navy: #0e1b2c;
  --navy-light: #16273e;
  --navy-lighter: #1d3050;
  --anthracite: #1c232c;
  --accent: #c8956c;
  --accent-dark: #855430; /* WCAG AA: 5.9:1 auf Weiß, 5.4:1 auf bg-soft */
  --accent-soft: rgba(200, 149, 108, .12);
  --text: #1f2937;
  --text-light: #4b5563;
  --text-inverse-soft: rgba(255,255,255,.78);
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --border: #e3e8ed;
  --ring: #0369a1;

  /* Elevation scale */
  --shadow-sm: 0 1px 2px rgba(14,27,44,.06);
  --shadow-md: 0 4px 12px rgba(14,27,44,.08);
  --shadow-lg: 0 12px 32px rgba(14,27,44,.14);

  /* Spacing scale (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 180ms;
  --dur-med: 280ms;

  --max-width: 1140px;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--navy);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; max-width: 72ch; text-wrap: pretty; }

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { text-decoration: underline; }

/* Accessibility: visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ---------- Header / Navigation ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 27, 44, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo:hover { text-decoration: none; color: #fff; }
.logo span { color: var(--accent); }

.logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  display: inline-block;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 10px 14px;
  border-radius: 6px;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--accent);
}
.nav-links a.active:not(.nav-cta) {
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 6px 6px 0 0;
}

.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  padding: 11px 22px !important;
  border-radius: 6px !important;
  font-weight: 600;
  margin-left: 10px;
  box-shadow: none;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.nav-cta:hover {
  background: #d9a87e !important;
  box-shadow: var(--shadow-md);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }

/* Hamburger → X: rein CSS, reagiert auf das ohnehin per JS gesetzte aria-expanded */
.nav-toggle svg line {
  transform-origin: center;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] svg line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height var(--dur-med) var(--ease-out), opacity var(--dur-fast) var(--ease-out), padding var(--dur-med) var(--ease-out);
  }
  .nav-links.open { display: flex; max-height: 420px; opacity: 1; padding: 16px 24px 24px; pointer-events: auto; }
  .nav-links a { padding: 14px; }
  .nav-links a.active:not(.nav-cta) { box-shadow: inset 3px 0 0 var(--accent); border-radius: 6px; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  /* Leichtes Nachziehen der Menüpunkte beim Öffnen */
  html.js .nav-links li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  }
  html.js .nav-links.open li { opacity: 1; transform: none; }
  html.js .nav-links.open li:nth-child(2) { transition-delay: 40ms; }
  html.js .nav-links.open li:nth-child(3) { transition-delay: 80ms; }
  html.js .nav-links.open li:nth-child(4) { transition-delay: 120ms; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 70%, var(--navy-lighter) 100%);
  color: #fff;
  padding: 120px 0 110px;
  overflow: hidden;
}

/* Subtle depth: radial glow + grid lines */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(200,149,108,.14), transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(3,105,161,.10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 75%, transparent);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 { color: #fff; max-width: 820px; margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-inverse-soft);
  max-width: 640px;
  margin-bottom: 2.6rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 1.4rem;
}
.hero-kicker::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--accent);
  flex: none;
}

/* Trust strip under hero copy */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: 3.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof svg { color: var(--accent); flex: none; }

/* Sanfte, sehr langsame Lichtbewegung in den dunklen Navy-Flächen (Hero, Seiten-Hero, CTA) */
@keyframes light-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 20px); }
}
.hero::before, .page-hero::before, .cta-section::before {
  animation: light-drift 18s ease-in-out infinite;
}

/* Hero-Entrance: das eine Signature-Movement der Seite, nur im Start-Hero */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-kicker, .hero h1, .hero p.lead, .hero .btn-primary, .hero .btn-ghost, .hero-proof {
  animation: hero-in 700ms var(--ease-out) both;
}
.hero h1 { animation-delay: 70ms; }
.hero p.lead { animation-delay: 150ms; }
.hero .btn-primary { animation-delay: 230ms; }
.hero .btn-ghost { animation-delay: 260ms; }
.hero-proof { animation-delay: 340ms; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  min-height: 48px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn svg { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: #d9a87e;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  margin-left: 14px;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.07);
}

@media (max-width: 560px) {
  .btn { width: 100%; justify-content: center; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }
}

/* Page hero (subpages) */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 78px 0 66px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 88% 10%, rgba(200,149,108,.13), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--text-inverse-soft); max-width: 640px; font-size: 1.1rem; margin: .9rem 0 0; }
.page-hero .hero-kicker { margin-bottom: 1rem; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.soft { background: var(--bg-soft); }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: .7rem;
}
.section-kicker::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--accent);
  flex: none;
}

.section-intro {
  max-width: 680px;
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

/* ---------- FAQ (leistungen.html) ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.faq-item p { color: var(--text-light); margin-bottom: 0; }
.section-link { margin-top: 2.2rem; font-weight: 600; }

/* ---------- Scroll reveal (respects reduced motion) ----------
   Nur aktiv, wenn JS läuft (html.js) – ohne JS bleibt alles sichtbar. */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .reveal:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Ergebnisse (redaktionelle Zeilen statt Kennzahlen-Grid) ---------- */
.stats {
  max-width: 880px;
  border-top: 1px solid var(--border);
}

.stat {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.stat .num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat .label { color: var(--text-light); font-size: 1rem; max-width: 58ch; }

/* Zahlen setzen sich beim Erscheinen leicht ab – verstärkt "Zahlen sprechen statt Behauptungen" */
html.js .stat.reveal .num {
  display: inline-block;
  opacity: 0;
  transform: scale(.92);
  transition: opacity 550ms var(--ease-out) 100ms, transform 550ms var(--ease-out) 100ms;
}
html.js .stat.reveal.visible .num { opacity: 1; transform: scale(1); }

@media (max-width: 640px) {
  .stat { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(200,149,108,.45);
}

/* Icon neben Titel (statt Kachel über Titel) */
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.card-head h3 { margin-bottom: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  transition: transform var(--dur-med) var(--ease-out);
}
.card:hover .card-icon { transform: scale(1.08); }

.card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.card p { color: var(--text-light); font-size: 1rem; margin-bottom: 0; }

/* Stufen-Variante: echte Sequenz ohne Kartenrahmen (bewusst anders als das Karten-Grid) */
.cards.steps { gap: 0; }
.cards.steps .card {
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  padding: 16px 32px;
}
.cards.steps .card:first-child { border-left: none; padding-left: 0; }
.cards.steps .card:hover { transform: none; box-shadow: none; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .cards.steps .card {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 28px 12px;
  }
  .cards.steps .card:first-child { border-top: none; padding-top: 0; }
}

/* ---------- Zweispaltige Karten (Weitere Erfahrung) ---------- */
.cards.cards-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Angebot Checkliste (Startseite, unter den Problemkarten) ---------- */
.lead-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
}
.lead-offer h3 { font-size: 1.45rem; }
.lead-offer p { color: var(--text-light); max-width: 640px; }
.lead-offer-action { text-align: center; }
.lead-offer-note { font-size: .9rem; margin-top: .7rem; }

@media (max-width: 860px) {
  .cards.cards-2 { grid-template-columns: 1fr; }
  .lead-offer { grid-template-columns: 1fr; gap: 24px; }
  .lead-offer-action { text-align: left; }
}

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }

.service-block h3 { font-size: 1.45rem; }
.service-block .tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .4rem;
}
.service-block .tagline::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  flex: none;
}

.service-block ul {
  list-style: none;
  margin-top: 1rem;
}
.service-block ul li {
  padding-left: 32px;
  position: relative;
  margin-bottom: .7rem;
  color: var(--text-light);
}
.service-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 18px;
  height: 18px;
  background-color: var(--accent-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.two-col > * { min-width: 0; }
.contact-row a { overflow-wrap: anywhere; }

/* ---------- Timeline (Werdegang) ---------- */
.timeline { margin-top: 2.5rem; }

.timeline-item {
  position: relative;
  padding: 0 0 44px 36px;
  border-left: 2px solid var(--border);
}
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item .period {
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.timeline-item h3 { margin: 4px 0 2px; }
.timeline-item .company { color: var(--text-light); font-size: .9rem; margin-bottom: .6rem; font-weight: 500; }
.timeline-item p { color: var(--text-light); font-size: 1rem; margin-bottom: 0; }

/* ---------- Quote band ---------- */
.band {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 76px 0;
  text-align: center;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(200,149,108,.10), transparent 70%);
  pointer-events: none;
}
.band blockquote {
  position: relative;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.45;
}
.band blockquote em { font-style: normal; color: var(--accent); }
.band .attribution {
  position: relative;
  margin-top: 1.6rem;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}
.band .attribution strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* ---------- CTA section ---------- */
.cta-section {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  text-align: center;
  padding: 96px 0;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 70% at 50% 100%, rgba(200,149,108,.13), transparent 65%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; }
.cta-section p { color: var(--text-inverse-soft); max-width: 560px; margin: 0 auto 2.2rem; }

/* ---------- Contact / info panel ---------- */
.contact-info {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
section.soft .contact-info { background: #fff; }
section:not(.soft) .contact-info { background: var(--bg-soft); box-shadow: var(--shadow-sm); }

.contact-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .k {
  font-weight: 600;
  color: var(--navy);
  min-width: 150px; /* breitester Begriff „Eigene Verantwortung“, damit alle Zeilen bündig stehen */
  font-size: .9rem;
  flex: none;
}
@media (max-width: 480px) {
  .contact-row { flex-direction: column; gap: 4px; }
  .contact-row .k { min-width: 0; }
}

/* ---------- Porträt ---------- */
.profile-photo {
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  display: block;
}
.page-hero-profile-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.page-hero-profile-inner .profile-photo {
  width: 148px;
  height: 148px;
  border: 3px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) {
  .page-hero-profile-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-hero-profile-inner .profile-photo { width: 104px; height: 104px; }
}

.author-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.author-byline .profile-photo {
  width: 64px;
  height: 64px;
  border: 2px solid var(--border);
}
.author-byline h2 { margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal p, .legal li { color: var(--text-light); font-size: 1rem; }
.legal ul { margin: 0 0 1rem 1.3rem; }
.placeholder { background: #fff3e0; padding: 2px 6px; border-radius: 3px; font-weight: 600; }

/* ---------- Footer ---------- */
footer {
  background: var(--anthracite);
  color: rgba(255,255,255,.65);
  padding: 56px 0 40px;
  font-size: .9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

footer .logo { font-size: 1.15rem; }
footer a { color: rgba(255,255,255,.65); }
footer a:hover { color: #fff; }

.footer-links {
  display: flex;
  gap: 6px 24px;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

@media (max-width: 560px) {
  .footer-grid { gap: 28px; }
  .footer-links { gap: 8px 20px; }
}

/* ---------- Startseite, Umbau 19.10.2026 ---------- */
/* Hero: Einleitung so breit wie die Überschrift, ruhigere Zeilenumbrüche */
.hero p.lead { max-width: 900px; text-wrap: balance; }
.hero h1 { text-wrap: balance; }

/* Abschnittskopf zweispaltig: Überschrift links, Einleitung rechts */
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 3rem;
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split .section-intro { margin-bottom: 0; max-width: none; }
@media (max-width: 860px) {
  .section-head-split { grid-template-columns: 1fr; }
}

/* Checkliste „Die 13 Warnsignale“ als eigener Abschnitt; Anker #warnsignale für den LinkedIn-Link,
   scroll-margin hält die Überschrift unter dem 72 px hohen Sticky-Header frei */
.checklist-section { padding-top: 0; scroll-margin-top: 96px; }
.checklist {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}
.checklist-intro { display: grid; gap: 16px; align-content: start; min-width: 0; }
.checklist-intro .tagline {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.checklist-intro h2 { margin-bottom: 0; }
.checklist-intro p { color: var(--text-light); }
.checklist-action { margin-top: 8px; }
.checklist-action .lead-offer-note { margin-top: .7rem; }
.checklist-list { min-width: 0; }
.checklist-list-title { font-weight: 600; color: var(--text); margin-bottom: 14px; }
.ws-list {
  list-style: none;
  counter-reset: ws;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.ws-list li { counter-increment: ws; display: grid; }
.ws-list label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1.45;
  transition: border-color var(--dur-med, .2s) var(--ease-out), background var(--dur-med, .2s) var(--ease-out);
}
.ws-list label:hover { border-color: var(--accent); }
.ws-list input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent-dark);
  cursor: pointer;
}
.ws-list input:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.ws-list label:has(input:checked) { border-color: var(--accent-dark); background: var(--accent-soft); }
.ws-count { margin-top: 16px; font-weight: 600; color: var(--accent-dark); }
@media (max-width: 960px) {
  .checklist { grid-template-columns: 1fr; gap: 36px; padding: 36px 28px; }
}
@media (max-width: 640px) {
  .ws-list { grid-template-columns: 1fr; }
  .checklist { padding: 28px 20px; }
}

/* 19.10.: Unterzeile unter einer Abschnittsüberschrift (Über mich, Profil) */
.h2-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--accent-dark);
  margin-top: -.5rem;
  margin-bottom: 1.25rem;
}

/* 19.10.: Ergebnisse auf „Über mich“ in drei thematischen Gruppen */
.stat-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 2.5rem;
  align-items: start;
}
.stat-group { border-top: 2px solid var(--accent); padding-top: 18px; }
.stat-group-title {
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.stat-groups .stat {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.stat-groups .stat:last-child { border-bottom: 0; }
.stat-groups .stat .num { font-size: 2.1rem; margin-bottom: 6px; }
.stat-groups .stat .label { font-size: .95rem; }
@media (max-width: 900px) {
  .stat-groups { grid-template-columns: 1fr; gap: 28px; }
}

/* 19.10.: Über mich, drei Blickwinkel (ersetzt die Stationen-Zeitleiste) */
.view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2.5rem;
}
.view {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
}
.view-nr {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.view h3 { font-size: 1.5rem; margin-bottom: 6px; color: var(--navy); }
.view-roles {
  font-size: .85rem;
  color: var(--text-light);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.view p { font-size: .98rem; }
.view p.view-key {
  margin-top: 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: var(--accent-dark);
}
@media (max-width: 900px) {
  .view-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* 19.10.: Trennlinien der Ergebnis-Gruppen über alle drei Spalten auf gleicher Höhe (Subgrid) */
@media (min-width: 901px) {
  .stat-groups { grid-template-rows: repeat(4, auto); row-gap: 0; }
  .stat-group { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
}

/* 19.10.: Blickwinkel-Karten, Rollenzeile, Trennlinie und Kernsatz über alle Karten auf gleicher Höhe */
@media (min-width: 901px) {
  .view-grid { grid-template-rows: repeat(5, auto); row-gap: 0; }
  .view { display: grid; grid-template-rows: subgrid; grid-row: span 5; align-content: start; }
}
