/* ============================================================
   TOBIAS GOSSENS — M&A & Unternehmensnachfolge
   Design tokens & global styles
   ============================================================ */

:root {
  /* Brand — navy/blue primary */
  --navy-900: #0c2138;
  --navy-800: #102b48;
  --navy-700: #16395d;
  --blue-600: #1b5e9c;
  --blue-500: #2476c4;
  --blue-400: #4e95d6;
  --blue-050: #eaf2fa;

  /* Secondary accent — deep clinical green (distinct from reference) */
  --gold-700: #14533a;
  --gold-600: #1a6b48;
  --gold-500: #228c5e;
  --gold-400: #5cb98c;
  --gold-050: #e7f2ec;

  /* Neutrals — warm off-whites & inky text */
  --paper: #faf8f4;
  --paper-2: #f3efe8;
  --white: #ffffff;
  --ink-900: #15212e;
  --ink-700: #34404c;
  --ink-500: #5d6770;
  --ink-300: #97a0a8;
  --line: #e4ddd2;
  --line-2: #d8cfc0;

  /* Type — Helvetica, Swiss/clinical */
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Scale */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px rgba(12, 33, 56, .06), 0 2px 8px rgba(12, 33, 56, .04);
  --shadow-md: 0 8px 24px rgba(12, 33, 56, .08), 0 2px 6px rgba(12, 33, 56, .05);
  --shadow-lg: 0 24px 60px rgba(12, 33, 56, .14), 0 6px 16px rgba(12, 33, 56, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--navy-900);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

/* Eyebrow label */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
}
.eyebrow.center::before { display: none; }

.section-pad { padding-block: clamp(72px, 9vw, 132px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .2s ease; }
.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-gold:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--navy-700); background: #fff; transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 16px rgba(12,33,56,.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  width: 48px; height: 48px;
  display: block;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.brand-name {
  display: flex; flex-direction: column; justify-content: center; line-height: 1.18;
}
.brand-name b {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy-900);
}
.brand-name span {
  font-size: 11px;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold-500);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-size: 15px; font-weight: 600; color: var(--navy-800);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(60px, 7vw, 104px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 16px 7px 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hero-tag em {
  font-style: normal;
  background: var(--gold-050);
  color: var(--gold-700);
  padding: 3px 10px; border-radius: 100px;
  font-size: 12px; letter-spacing: .04em;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  letter-spacing: -0.022em;
}
.hero h1 .accent { color: var(--gold-600); font-style: normal; }
.hero-lead {
  margin-top: 26px;
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--ink-700);
  max-width: 30em;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  color: var(--ink-500); font-size: 14.5px;
}
.hero-trust .stars { color: var(--gold-500); letter-spacing: 2px; font-size: 16px; }
.hero-trust b { color: var(--navy-800); }

/* Portrait composition */
.hero-portrait { position: relative; }
.hero-portrait .frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
}
.hero-portrait image-slot { width: 100%; height: 100%; }
.hero-portrait .accent-bar {
  position: absolute; left: -18px; top: 36px;
  width: 18px; height: 42%;
  background: var(--gold-500);
  z-index: 2;
}
.hero-portrait .badge {
  position: absolute;
  right: -22px; bottom: 40px;
  background: var(--navy-800);
  color: #fff;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  max-width: 200px;
}
.hero-portrait .badge .num {
  font-family: var(--serif);
  font-size: 46px; font-weight: 600; line-height: 1;
  color: var(--gold-400);
}
.hero-portrait .badge .lbl {
  font-size: 13.5px; color: #d5e0ec; margin-top: 7px; line-height: 1.35;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  background: var(--navy-800);
  color: #fff;
  position: relative;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 300px at 12% 0%, rgba(212,155,52,.10), transparent 70%),
    radial-gradient(700px 280px at 92% 120%, rgba(36,118,196,.18), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
}
.stat {
  background: var(--navy-800);
  padding: 44px 30px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600; line-height: 1;
  color: #fff;
}
.stat .num span { color: var(--gold-400); }
.stat .lbl {
  margin-top: 12px;
  font-size: 14.5px; letter-spacing: .04em;
  color: #aebfd0;
}

/* ============================================================
   ÜBER MICH
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}
.about-photo { position: relative; }
.about-photo .frame {
  aspect-ratio: 5 / 6;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-photo image-slot { width: 100%; height: 100%; }
.about-photo .sig {
  position: absolute; right: -16px; bottom: -22px;
  background: #fff; box-shadow: var(--shadow-md);
  padding: 16px 22px; border-left: 4px solid var(--gold-500);
}
.about-photo .sig b { font-family: var(--serif); font-size: 21px; color: var(--navy-900); display:block; }
.about-photo .sig span { font-size: 13px; color: var(--ink-500); letter-spacing: .04em; }
.about h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 20px; }
.about-lead {
  font-size: clamp(19px, 1.6vw, 23px);
  color: var(--navy-700);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.45;
  margin-top: 26px;
  padding-left: 22px;
  border-left: 3px solid var(--gold-500);
}
.about-body { margin-top: 22px; color: var(--ink-700); }
.about-body p + p { margin-top: 22px; }
.about-creds {
  margin-top: 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
}
.about-creds li {
  list-style: none;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; color: var(--ink-700);
}
.about-creds .tick {
  color: var(--gold-600); flex-shrink: 0; margin-top: 3px;
}
.about-creds b { color: var(--navy-900); font-weight: 600; }
.about ul { padding: 0; margin: 0; }
.about-creds.creds-spaced { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }

/* ============================================================
   LEISTUNGEN (services)
   ============================================================ */
.leistungen { background: var(--white); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 18px; }
.sec-head p { margin-top: 18px; color: var(--ink-600, var(--ink-500)); font-size: 18px; }

.serv-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.serv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px 34px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.serv-card::before {
  content:""; position:absolute; left:0; top:0; height:3px; width:0;
  background: var(--gold-500); transition: width .3s ease;
}
.serv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.serv-card:hover::before { width: 100%; }
.serv-ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--blue-050);
  color: var(--blue-600);
  margin-bottom: 22px;
}
.serv-ic svg { width: 26px; height: 26px; }
.serv-card h3 { font-size: 23px; }
.serv-card p { margin-top: 12px; color: var(--ink-500); font-size: 15.5px; }
.serv-card .more {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--blue-600);
  display: inline-flex; align-items: center; gap: 8px;
}
.serv-card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.serv-card:hover .more svg { transform: translateX(4px); }

/* ============================================================
   ABLAUF (process)
   ============================================================ */
.ablauf { background: var(--paper-2); }
.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 38px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 17px; font-weight: 600;
  color: var(--gold-700);
  position: absolute; top: 0; left: 0;
}
.step .bar { height: 3px; background: var(--line-2); margin-bottom: 22px; position: relative; }
.step .bar::after { content:""; position:absolute; left:0; top:0; height:100%; width:34px; background: var(--blue-500); }
.step h3 { font-size: 21px; }
.step p { margin-top: 10px; color: var(--ink-500); font-size: 15px; }

/* ============================================================
   WARUM (differentiators)
   ============================================================ */
.warum { background: var(--navy-900); color: #fff; overflow: hidden; }
.warum .eyebrow { color: var(--gold-400); }
.warum .eyebrow::before { background: var(--gold-400); }
.warum-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.warum h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); margin-top: 18px; }
.warum-intro { color: #b8c6d6; margin-top: 22px; font-size: 18px; }
.warum-intro + .btn { margin-top: 30px; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.feat {
  background: var(--navy-900);
  padding: 32px 30px;
  transition: background .25s ease;
}
.feat:hover { background: var(--navy-800); }
.feat .fi {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(226,178,92,.4); color: var(--gold-400);
  margin-bottom: 18px;
}
.feat .fi svg { width: 22px; height: 22px; }
.feat h4 { color: #fff; font-size: 19px; font-family: var(--sans); font-weight: 700; }
.feat p { margin-top: 9px; color: #9fb0c2; font-size: 14.5px; }

/* ============================================================
   REFERENZEN (testimonials)
   ============================================================ */
.ref-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.quote {
  background: #fff; border: 1px solid var(--line);
  padding: 36px 32px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.quote .mark { font-family: var(--serif); font-size: 60px; line-height: .6; color: var(--gold-400); height: 30px; }
.quote blockquote {
  margin: 0; font-size: 17px; color: var(--ink-700);
  font-family: var(--serif); line-height: 1.55; flex: 1; font-weight: 400;
}
.quote .who { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-050); color: var(--blue-600); display:grid; place-items:center; font-family: var(--serif); font-weight:600; font-size:18px; flex-shrink:0; }
.quote .who b { display: block; font-size: 15.5px; color: var(--navy-900); }
.quote .who span { font-size: 13px; color: var(--ink-500); }

/* Awards strip */
.awards { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; }
.awards .al {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-500); font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.awards .al svg { width: 30px; height: 30px; color: var(--gold-600); }
.awards .al b { color: var(--navy-800); font-family: var(--serif); }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt { background: var(--paper-2); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.kontakt h2 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 18px; }
.kontakt-lead { margin-top: 22px; color: var(--ink-700); font-size: 18px; }
.kontakt-points { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.kontakt-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink-700); }
.kontakt-points .tick { color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.kontakt-direct { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.kontakt-direct a { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--navy-800); }
.kontakt-direct .ci { width: 42px; height: 42px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--blue-600); flex-shrink: 0; }
.kontakt-direct .ci svg { width: 19px; height: 19px; }
.kontakt-direct b { display:block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-500); font-weight: 600; }

.form-card { background: #fff; box-shadow: var(--shadow-lg); padding: clamp(28px, 3vw, 44px); border-top: 4px solid var(--gold-500); }
.form-card h3 { font-size: 25px; }
.form-card .sub { color: var(--ink-500); font-size: 15px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy-800); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px;
  padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 2px;
  background: var(--paper); color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(36,118,196,.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 24px; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-500); line-height: 1.5; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .ok svg { width: 30px; height: 30px; }
.form-success h3 { color: var(--navy-900); }
.form-success p { margin-top: 12px; color: var(--ink-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: #cfd9e3; padding-block: 64px 30px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand-mark { background: #fff; border-radius: 50%; padding: 4px; }
.foot-brand p { color: #93a4b6; font-size: 14.5px; margin-top: 18px; max-width: 28em; }
.foot-col h5 { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-col a { font-size: 14.5px; color: #aebccb; transition: color .2s; }
.foot-col a:hover { color: var(--gold-400); }
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #7f91a3;
}
.foot-bottom a { color: #7f91a3; }
.foot-bottom a:hover { color: #cfd9e3; }
.foot-brand .brand-name b { color: #fff; }
.foot-brand .brand-name span { color: #8b9cae; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.mobile-menu { display: none; }

/* Mobile overflow guards: prevent grid/flex children from blowing out
   their tracks, and never allow horizontal scroll. */
html, body { max-width: 100%; overflow-x: hidden; }
.hero-grid > *, .about-grid > *, .warum-grid > *, .kontakt-grid > *,
.serv-card, .feat, .step, .quote, .stat, .about { min-width: 0; }
.hero h1, .sec-head h2, .stationen-head h2, .about h2,
.warum h2, .kontakt h2, .danke-card h1 { overflow-wrap: break-word; }

@media (max-width: 1080px) {
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero-portrait { width: 100%; max-width: 460px; margin: 8px auto 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { display: flex; flex-direction: column; align-items: stretch; gap: 36px; }
  .about-photo { width: 100%; max-width: 420px; margin-inline: auto; }
  .about-photo .frame { width: 100%; }
  .about-photo image-slot { display: block; }
  .about-photo .sig { right: 0; }
  .about { width: 100%; }
  .warum-grid { display: flex; flex-direction: column; align-items: stretch; }
  .kontakt-grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero h1, .sec-head h2, .stationen-head h2, .about h2,
  .warum h2, .kontakt h2, .danke-card h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  /* Brand: keep the hamburger on-screen — let the tagline shrink/hide. */
  .nav { gap: 12px; }
  .brand-name b { font-size: 15px; letter-spacing: 0.06em; white-space: normal; }
  .brand-name span { white-space: normal; }
  .mobile-menu {
    display: block;
    position: fixed; inset: 80px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.16,.8,.3,1), opacity .28s ease, visibility 0s linear .35s;
    z-index: 90;
    padding: 14px var(--gutter) 26px;
  }
  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .35s cubic-bezier(.16,.8,.3,1), opacity .28s ease, visibility 0s;
  }
  .mobile-menu a { display: block; padding: 15px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); color: var(--navy-800); }
  .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 18px; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .section-pad { padding-block: clamp(52px, 13vw, 76px); }
  .serv-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .feat-list { grid-template-columns: 1fr; }
  .about-creds { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-portrait .badge { right: 12px; bottom: 18px; padding: 16px 20px; max-width: 168px; }
  .hero-portrait .badge .num { font-size: 38px; }
  .hero-portrait .accent-bar { left: 0; }
  .hero { padding-top: 28px; padding-bottom: 44px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stat { padding: 30px 16px; }
  .form-card { padding: 24px 20px; }
  .kontakt-direct a { font-size: 15px; }
  .kontakt-direct b { word-break: break-word; }
  .danke-meta a { word-break: break-word; }
  .danke-actions .btn { width: 100%; justify-content: center; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand-name span { display: none; }
  .brand-mark { width: 42px; height: 42px; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr; }
  .hero-tag { font-size: 12.5px; }
  .hero-portrait .badge { position: static; margin: 14px auto 0; max-width: none; width: max-content; }
  .hero-portrait .accent-bar { display: none; }
}

/* ============================================================
   STATIONEN (CEO experience logo wall)
   ============================================================ */
.stationen { background: var(--paper); border-block: 1px solid var(--line); }
.stationen-head { max-width: 760px; margin-inline: auto; text-align: center; }
.stationen-head .eyebrow { margin-bottom: 4px; color: var(--blue-600); }
.stationen-head .eyebrow::before { background: var(--blue-500); }
.stationen-head h2 { font-size: clamp(27px, 3.1vw, 42px); margin-top: 16px; }
.stationen-head h2 .hl { color: var(--blue-600); }
.stationen-head p { color: var(--ink-500); font-size: 17.5px; margin-top: 18px; }
.logo-wall {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.logo-cell {
  background: var(--navy-800);
  min-height: 116px;
  display: grid; place-items: center;
  padding: 22px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.logo-cell::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px; background: var(--blue-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--navy-700); }
.logo-cell:hover::after { transform: scaleX(1); }
.logo-cell .wm {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.005em;
  color: #fff;
  line-height: 1.18;
}
.logo-cell .wm small {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-top: 7px;
}
.logo-cell.more-cell {
  background: transparent;
  border: 1px dashed var(--line-2);
}
.logo-cell.more-cell::after { display: none; }
.logo-cell.more-cell:hover { background: var(--paper-2); transform: none; box-shadow: none; }
.logo-cell.more-cell .wm {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.stationen-note {
  margin-top: 30px;
  text-align: center;
  font-size: 13px; color: var(--ink-300);
  letter-spacing: .01em;
  max-width: 700px; margin-inline: auto;
}

@media (max-width: 1080px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-cell { min-height: 96px; padding: 18px 12px; }
  .logo-cell .wm { font-size: 17px; }
}

/* ============================================================
   LEISTUNG SUBPAGES (service detail)
   ============================================================ */
.svc-hero { background: var(--navy-900); color: #fff; padding-block: clamp(54px, 7vw, 92px); position: relative; overflow: hidden; }
.svc-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 280px at 88% -10%, rgba(34,140,94,.20), transparent 70%),
    radial-gradient(620px 260px at 6% 120%, rgba(36,118,196,.18), transparent 70%);
  pointer-events: none;
}
.svc-hero .wrap { position: relative; max-width: 880px; }
.svc-hero .back {
  display: flex; width: fit-content;
  align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .03em;
  color: var(--blue-400); margin-bottom: 22px;
}
.svc-hero .back svg { width: 16px; height: 16px; }
.svc-hero .eyebrow { color: var(--gold-400); margin-bottom: 16px; }
.svc-hero .eyebrow::before { background: var(--gold-400); }
.svc-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); max-width: 16ch; }
.svc-hero .lead { color: #c2cfdc; font-size: clamp(17px, 1.7vw, 21px); margin-top: 22px; max-width: 60ch; }

.svc-body { padding-block: clamp(54px, 7vw, 96px); }
.svc-body .wrap { max-width: 880px; }
.svc-block { margin-bottom: 46px; }
.svc-block:last-child { margin-bottom: 0; }
.svc-block .eyebrow { color: var(--blue-600); margin-bottom: 14px; }
.svc-block .eyebrow::before { background: var(--blue-500); }
.svc-block h2 { font-size: clamp(24px, 2.6vw, 34px); }
.svc-block p { color: var(--ink-700); font-size: 17px; margin-top: 16px; }
.svc-block p + p { margin-top: 14px; }

.svc-steps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: svcstep; display: grid; gap: 16px; }
.svc-steps li {
  position: relative; padding: 20px 22px 20px 64px;
  background: var(--paper-2); border-left: 3px solid var(--gold-500);
}
.svc-steps li::before {
  counter-increment: svcstep; content: counter(svcstep);
  position: absolute; left: 20px; top: 18px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
.svc-steps li b { display: block; color: var(--navy-900); font-size: 16.5px; margin-bottom: 4px; }
.svc-steps li span { color: var(--ink-700); font-size: 15.5px; }

.svc-points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.svc-points li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-700); font-size: 16.5px; }
.svc-points .tick { color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }

.svc-cta { background: var(--navy-800); color: #fff; padding-block: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.svc-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(640px 260px at 80% -20%, rgba(34,140,94,.20), transparent 70%);
  pointer-events: none;
}
.svc-cta .wrap { position: relative; max-width: 880px; text-align: center; }
.svc-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); }
.svc-cta p { color: #b8c6d6; font-size: 18px; margin: 16px auto 30px; max-width: 48ch; }
.svc-cta .svc-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.svc-more { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 36px; }
.svc-more h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); font-family: var(--sans); font-weight: 700; }
.svc-more-grid { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-more-grid a {
  font-size: 14.5px; font-weight: 600; color: var(--navy-800);
  border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 100px;
  transition: border-color .2s, background .2s, color .2s;
}
.svc-more-grid a:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-050); }

@media (max-width: 620px) {
  .svc-cta .svc-cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   LEGAL SUBPAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-hero {
  background: var(--navy-900);
  color: #fff;
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 260px at 90% -10%, rgba(34,140,94,.22), transparent 70%),
    radial-gradient(600px 240px at 8% 120%, rgba(36,118,196,.16), transparent 70%);
  pointer-events: none;
}
.legal-hero .wrap { position: relative; }
.legal-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); }
.legal-hero p { color: #b8c6d6; margin-top: 16px; font-size: 18px; }
.legal-hero .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  color: var(--gold-400); margin-bottom: 24px;
}
.legal-hero .back svg { width: 16px; height: 16px; }

.legal-body { padding-block: clamp(56px, 7vw, 100px); }
.legal-body .wrap { max-width: 820px; }
.legal-block { margin-bottom: 48px; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 {
  font-size: 24px; color: var(--navy-900);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
}
.legal-block h3 { font-size: 18px; color: var(--navy-800); margin: 26px 0 8px; }
.legal-block p { color: var(--ink-700); font-size: 16.5px; margin-bottom: 14px; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a { color: var(--gold-700); font-weight: 600; }
.legal-block a:hover { text-decoration: underline; }
.legal-block ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-700); }
.legal-block li { margin-bottom: 8px; font-size: 16.5px; }
.legal-block .meta { color: var(--ink-500); font-size: 14.5px; }
.legal-note {
  background: var(--paper-2);
  border-left: 3px solid var(--gold-500);
  padding: 18px 22px;
  color: var(--ink-700);
  font-size: 14.5px;
  margin-top: 8px;
}

/* ============================================================
   DANKE (form confirmation page)
   ============================================================ */
.danke-stage {
  min-height: calc(100vh - 80px);
  display: grid; place-items: center;
  background:
    radial-gradient(900px 360px at 50% -8%, rgba(34,140,94,.10), transparent 70%),
    radial-gradient(760px 320px at 50% 120%, rgba(36,118,196,.10), transparent 70%),
    var(--paper);
  padding: clamp(48px, 8vw, 110px) var(--gutter);
  text-align: center;
}
.danke-card {
  max-width: 620px;
  width: 100%;
}
.danke-badge {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 30px;
  background: var(--navy-800);
  color: var(--gold-400);
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: danke-pop .55s cubic-bezier(.16,.9,.3,1.3) both;
}
.danke-badge::after {
  content: ""; position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid var(--gold-400);
  opacity: .35;
}
.danke-badge svg { width: 44px; height: 44px; }
@keyframes danke-pop { from { transform: scale(.72); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .danke-badge { animation: none; } }
.danke-card .eyebrow { justify-content: center; margin-bottom: 18px; color: var(--blue-600); }
.danke-card .eyebrow::before { display: none; }
.danke-card h1 { font-size: clamp(34px, 5vw, 56px); }
.danke-card .lead {
  margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-700); max-width: 30em; margin-inline: auto;
}
.danke-meta {
  margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
}
.danke-meta a {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy-800); font-size: 15.5px;
}
.danke-meta svg { width: 18px; height: 18px; color: var(--blue-600); }
.danke-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.danke-note { margin-top: 28px; font-size: 13.5px; color: var(--ink-500); }
