/* =========================================================
   Lauterkorn & Heinrich — Konfliktmoderation
   Warm, human, premium. Petrol accent kept but refined.
   ========================================================= */

:root {
  /* --- Warm neutral foundation --- */
  --cream:        oklch(0.975 0.009 80);
  --cream-deep:   oklch(0.955 0.012 78);
  --surface:      oklch(0.995 0.005 85);
  --paper:        oklch(0.988 0.006 82);
  --line:         oklch(0.90 0.012 75);
  --line-soft:    oklch(0.93 0.010 75);

  /* --- Ink --- */
  --ink:          oklch(0.27 0.018 250);
  --ink-soft:     oklch(0.42 0.020 245);
  --ink-mute:     oklch(0.55 0.018 240);

  /* --- Petrol (the "blue element", made premium & quiet) --- */
  --petrol:       oklch(0.50 0.062 215);
  --petrol-deep:  oklch(0.35 0.052 220);
  --petrol-ink:   oklch(0.26 0.038 224);
  --petrol-tint:  oklch(0.94 0.020 210);
  --petrol-tint2: oklch(0.90 0.030 208);

  /* --- Warm clay accent (the "human" warmth) --- */
  --clay:         oklch(0.64 0.090 52);
  --clay-deep:    oklch(0.52 0.085 48);
  --clay-tint:    oklch(0.93 0.028 60);

  /* --- Typography --- */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* --- Rhythm --- */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px oklch(0.4 0.03 240 / 0.04), 0 12px 30px oklch(0.4 0.04 240 / 0.07);
  --shadow-lg: 0 2px 4px oklch(0.4 0.03 240 / 0.05), 0 28px 60px oklch(0.35 0.05 240 / 0.12);

  --bg: var(--cream);
  --accent: var(--petrol);
  --accent-deep: var(--petrol-deep);
}

/* =========================== Reset =========================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* =========================== Type =========================== */
h1, h2, h3 {
  font-family: var(--display, var(--serif));
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.eyebrow {
  display: inline-block;
  max-width: 100%;
  text-wrap: balance;
  line-height: 1.5;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede { font-size: clamp(1.12rem, 1.6vw, 1.35rem); color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }

/* =========================== Layout =========================== */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.bg-paper { background: var(--paper); }
.bg-cream-deep { background: var(--cream-deep); }

/* =========================== Buttons =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.92em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent-deep);
  color: oklch(0.98 0.01 200);
  box-shadow: 0 1px 2px oklch(0.3 0.05 230 / .25), 0 14px 26px oklch(0.35 0.06 230 / .22);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 2px 4px oklch(0.3 0.05 230 / .25), 0 20px 34px oklch(0.35 0.06 230 / .30); }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn--light { background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn .ico { width: 18px; height: 18px; flex: none; }

/* =========================== Header =========================== */
.header {
  position: sticky; top: 0; z-index: 60;
  isolation: isolate;
  background: color-mix(in oklch, var(--cream) 85%, transparent);
  backdrop-filter: saturate(1.3) blur(16px);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px oklch(0.4 0.03 240 / 0.05);
}
.header__inner {
  display: flex; align-items: center; gap: clamp(16px, 4vw, 48px);
  height: 74px;
}

/* brand */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-right: auto; }
.brand__logo { height: 46px; width: auto; max-width: 240px; display: none; object-fit: contain; mix-blend-mode: multiply; }
.brand__logo.is-loaded { display: block; }
.brand__fallback { display: flex; align-items: center; gap: 12px; }
.brand__logo.is-loaded ~ .brand__fallback { display: none; }
.brand__monogram {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 44px; border-radius: 11px;
  background: var(--accent-deep); color: oklch(0.97 0.01 200);
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1; white-space: nowrap; overflow: hidden;
  box-shadow: 0 2px 8px oklch(0.35 0.06 230 / .25);
}
.brand__monogram .brand__amp { font-style: italic; opacity: .75; margin: 0 1px; font-size: .8em; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__mark { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand__sub { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }

/* primary nav */
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* right-side actions */
.header__cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.phone-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .92rem; color: var(--ink); transition: color .2s; }
.phone-link:hover { color: var(--accent-deep); }
.phone-link .ico { width: 16px; height: 16px; color: var(--accent); }
.btn--sm { padding: 0.6em 1.1em; font-size: .92rem; }

/* burger */
.burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; flex: none; transition: background .2s; }
.burger:hover { background: var(--cream-deep); }
.burger span { display:block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: .3s; border-radius: 2px; }
.burger span::before, .burger span::after { content:""; position:absolute; left:0; width:22px; height:2px; background:var(--ink); transition:.3s; border-radius: 2px; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
body[data-menu="open"] .burger span { background: transparent; }
body[data-menu="open"] .burger span::before { top:0; transform: rotate(45deg); }
body[data-menu="open"] .burger span::after { top:0; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 74px 0 auto 0; z-index: 55;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 28px;
  transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: .28s ease;
  box-shadow: 0 24px 40px oklch(0.35 0.04 240 / .10);
}
body[data-menu="open"] .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-menu__links a::after { content: "›"; color: var(--accent); font-size: 1.3rem; opacity: .5; }
.mobile-menu__actions { display: grid; gap: 14px; margin-top: 22px; }
.mobile-menu__actions .btn { width: 100%; justify-content: center; }
.mobile-menu__phone { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-weight: 600; color: var(--accent-deep); padding: 4px; }
.mobile-menu__phone .ico { width: 17px; height: 17px; }

/* =========================== Hero =========================== */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__glow { position:absolute; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(60% 50% at 78% 8%, var(--petrol-tint) 0%, transparent 60%),
    radial-gradient(48% 42% at 6% 92%, var(--clay-tint) 0%, transparent 62%);
  opacity: .7;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { max-width: 600px; }
.hero h1 { font-size: clamp(1.6rem, 0.85rem + 3.3vw, 3rem); margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero .lede { margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 40px; color: var(--ink-mute); font-size: .92rem; }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.hero__trust strong { color: var(--ink); font-weight: 700; }

.hero__media { position: relative; }
.hero__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__badge {
  position: absolute; left: -22px; bottom: -22px; z-index: 2;
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.hero__badge .num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--accent-deep); }
.hero__badge .lbl { font-size: .82rem; color: var(--ink-soft); line-height: 1.3; }

/* =========================== Placeholder image =========================== */
.ph {
  position: relative;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, var(--petrol-tint) 0 14px, var(--petrol-tint2) 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .8rem; letter-spacing: .04em;
  color: var(--petrol-deep);
  background: color-mix(in oklch, var(--surface) 78%, transparent);
  padding: 7px 13px; border-radius: 999px;
  text-align: center;
}
.ph--clay { background: repeating-linear-gradient(135deg, var(--clay-tint) 0 14px, color-mix(in oklch, var(--clay-tint) 80%, var(--clay)) 14px 28px); }
.ph--clay::after { color: var(--clay-deep); }

/* =========================== Escalation =========================== */
.stufen__head { max-width: 720px; }
.stufen__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 18px; }
.stufen__head p { margin-top: 18px; }
.stufen__head .cost {
  display: inline-block; margin-top: 24px;
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink);
}
.stufen__head .cost b { color: var(--clay-deep); font-weight: 600; }
.costline { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; margin-top: 34px; max-width: 760px; }
.costline__item { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; padding-top: 20px; border-top: 2px solid var(--line); }
.costline__item .n { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; color: var(--clay-deep); white-space: nowrap; }
.costline__item .l { font-size: .98rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 620px) {
  .costline { grid-template-columns: 1fr; }
  .costline__item { grid-template-columns: 1fr; gap: 8px; }
}
.stufen {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px;
  position: relative;
}
.stufe {
  background: var(--surface); border-radius: var(--radius);
  padding: 30px 28px 34px; box-shadow: var(--shadow);
  border-top: 4px solid var(--lvl, var(--petrol));
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.stufe:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stufe__no { font-family: var(--serif); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.stufe h3 { font-size: 1.5rem; margin-top: 8px; }
.stufe__act { margin-top: 14px; font-weight: 600; color: var(--accent-deep); }
.stufe__desc { margin-top: 6px; color: var(--ink-soft); font-size: .98rem; }
.stufe__cost { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: .9rem; color: var(--ink-mute); }
.stufe__meter { display: flex; gap: 4px; }
.stufe__meter i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.stufe[data-cost="1"] { --lvl: oklch(0.62 0.07 175); }
.stufe[data-cost="2"] { --lvl: oklch(0.64 0.085 70); }
.stufe[data-cost="3"] { --lvl: var(--clay); }
.stufe[data-cost="1"] .stufe__meter i:nth-child(-n+1),
.stufe[data-cost="2"] .stufe__meter i:nth-child(-n+2),
.stufe[data-cost="3"] .stufe__meter i:nth-child(-n+3) { background: var(--lvl); }
.stufen__src { margin-top: 22px; font-size: .82rem; color: var(--ink-mute); }

/* =========================== Approach =========================== */
.approach__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.approach h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 18px; }
.approach p { margin-top: 20px; color: var(--ink-soft); }
.approach .pull { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-style: italic; }
.principles { display: grid; gap: 14px; }
.principle {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: var(--surface); border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow);
}
.principle__n { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol-tint); flex: none; }
.principle h3 { font-size: 1.2rem; }
.principle p { margin-top: 4px; font-size: .96rem; color: var(--ink-soft); }

/* outcomes */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.outcome { padding: 28px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); }
.outcome .ico { width: 30px; height: 30px; color: var(--accent); }
.outcome h3 { font-size: 1.22rem; margin-top: 16px; }
.outcome p { margin-top: 8px; color: var(--ink-soft); font-size: .98rem; }

/* =========================== Team =========================== */
.team { background: var(--petrol-ink); color: oklch(0.92 0.012 220); }
.team h2, .team h3 { color: oklch(0.97 0.012 210); }
.team .eyebrow { color: oklch(0.78 0.07 195); }
.team__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.team__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team__photo { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; box-shadow: 0 20px 40px oklch(0.15 0.03 240 / .4); position: relative; }
.team__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .5s ease; }
.team__img.is-loaded { opacity: 1; }
.team__photo .ph { position: absolute; inset: 0; }
.team__photo:nth-child(1) { margin-top: 28px; }
.team__copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-top: 16px; }
.team__copy p { margin-top: 18px; color: oklch(0.84 0.015 215); }
.team__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 32px; }
.team__stat .n { font-family: var(--serif); font-size: 2.2rem; color: oklch(0.97 0.012 210); line-height: 1; }
.team__stat .l { font-size: .9rem; color: oklch(0.76 0.02 210); margin-top: 6px; }
.team .ph { --petrol-tint: oklch(0.42 0.04 222); --petrol-tint2: oklch(0.38 0.045 224); }
.team .ph::after { color: oklch(0.85 0.04 205); background: oklch(0.30 0.04 224 / .7); }

/* =========================== Video =========================== */
.video__head { max-width: 680px; margin-inline: auto; text-align: center; }
.video__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 16px; }
.video__head p { margin-top: 16px; }
.video__frame {
  position: relative; margin-top: 48px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; box-shadow: var(--shadow-lg); background: var(--cream-deep);
  max-width: 980px; margin-inline: auto;
}
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; background: var(--petrol-ink); display: block; overflow: hidden; }
.video__poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.video__grad { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 80% 0%, oklch(0.45 0.05 215 / .15) 0%, transparent 55%),
  linear-gradient(180deg, oklch(0.22 0.035 226 / .12) 0%, oklch(0.22 0.035 226 / .30) 42%, oklch(0.18 0.03 228 / .88) 100%); }
.video__meta { position: absolute; left: clamp(20px, 4vw, 34px); right: clamp(20px, 4vw, 34px); bottom: clamp(20px, 3.4vw, 30px); z-index: 2; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.video__eyebrow { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: oklch(0.84 0.06 195); }
.video__cap { position: static; font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.2; color: oklch(0.97 0.012 210); max-width: 22ch; text-shadow: 0 2px 16px oklch(0.18 0.02 228 / .6); }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.video__play .circle {
  width: 84px; height: 84px; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .25s;
}
.video__poster:hover .circle { transform: scale(1.08); }
.video__play svg { width: 30px; height: 30px; color: var(--accent-deep); margin-left: 4px; }

/* =========================== Testimonials =========================== */
.stimmen { background: var(--cream-deep); }
.stimmen__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.stimmen__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 16px; }
.stimmen__rating { display: flex; align-items: center; gap: 12px; }
.stars { display: flex; gap: 3px; color: var(--clay); }
.stars svg { width: 20px; height: 20px; }
.stimmen__rating .txt { font-size: .92rem; color: var(--ink-soft); }
.stimmen__rating b { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }

.carousel { position: relative; margin-top: 40px; overflow: hidden; }
.track { display: flex; gap: 22px; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.track > .quote { flex: 0 0 calc((100% - 44px) / 3); }
@media (max-width: 980px) { .track > .quote { flex: 0 0 calc((100% - 22px) / 2); } }
@media (max-width: 760px) { .track > .quote { flex: 0 0 100%; } }
.quote {
  background: var(--surface); border-radius: var(--radius); padding: 34px 32px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px;
}
html.js .quote { opacity: 0; transform: translateY(8px); transition: .5s ease; transition-delay: var(--d, 0s); }
html.js .quote.in { opacity: 1; transform: none; }
.quote__mark { font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--petrol-tint2); height: 28px; }
.quote__text { color: var(--ink); font-size: 1.04rem; line-height: 1.6; flex: 1; text-wrap: pretty; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__by .av { width: 40px; height: 40px; border-radius: 50%; background: var(--petrol-tint); display: grid; place-items: center; font-weight: 700; color: var(--petrol-deep); font-size: .95rem; }
.quote__by .nm { font-weight: 700; font-size: .95rem; }
.quote__by .ro { font-size: .82rem; color: var(--ink-mute); }
.carousel__nav { display: flex; gap: 10px; margin-top: 28px; justify-content: center; }
.cdot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: .25s; }
.cdot[aria-current="true"] { background: var(--accent); width: 26px; border-radius: 999px; }

/* =========================== Final CTA =========================== */
.final { position: relative; overflow: hidden; }
.final__card {
  background: var(--petrol-ink); color: oklch(0.94 0.012 215);
  border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 6vw, 78px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px); align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.final__card::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 90% at 90% -10%, oklch(0.55 0.07 200 / .5), transparent 60%); pointer-events:none; }
.final__copy { position: relative; }
.final h2 { color: oklch(0.98 0.01 210); font-size: clamp(2rem, 3.8vw, 3rem); }
.final__copy > p { margin-top: 18px; color: oklch(0.86 0.015 215); font-size: 1.1rem; }
.final__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.final__list li { display: flex; gap: 12px; align-items: flex-start; color: oklch(0.92 0.012 214); }
.final__list .ico { width: 22px; height: 22px; color: oklch(0.80 0.08 190); flex: none; margin-top: 2px; }
.final__panel { position: relative; background: oklch(0.99 0.005 210 / 1); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-lg); }
.final__panel h3 { font-size: 1.4rem; color: var(--ink); }
.final__panel p { color: var(--ink-soft); margin-top: 8px; font-size: .96rem; }
.final__panel .btn { width: 100%; justify-content: center; margin-top: 20px; }
.final__panel .or { text-align: center; margin: 16px 0; font-size: .85rem; color: var(--ink-mute); position: relative; }
.final__panel .nopressure { margin-top: 18px; text-align: center; font-size: .82rem; color: var(--ink-mute); }

/* =========================== Footer =========================== */
.footer { background: oklch(0.22 0.018 250); color: oklch(0.80 0.015 220); padding-block: clamp(56px, 7vw, 88px); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.footer__logo img { height: 46px; width: auto; opacity: .95; }
.footer__brand-txt { font-family: var(--serif); font-size: 1.3rem; color: oklch(0.95 0.01 215); }
.footer p { font-size: .94rem; line-height: 1.6; margin-top: 16px; color: oklch(0.74 0.015 220); }
.footer h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: oklch(0.66 0.02 215); }
.office { margin-top: 18px; }
.office .city { font-weight: 700; color: oklch(0.92 0.01 215); font-size: .98rem; }
.office .addr { font-size: .92rem; color: oklch(0.74 0.015 220); margin-top: 4px; line-height: 1.5; }
.footer__links { display: grid; gap: 10px; margin-top: 18px; }
.footer__links a { font-size: .94rem; color: oklch(0.78 0.015 220); transition: color .2s; }
.footer__links a:hover { color: oklch(0.95 0.01 215); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid oklch(0.32 0.015 245); font-size: .86rem; color: oklch(0.62 0.02 220); }
.footer__bottom a { color: oklch(0.72 0.015 220); }
.footer__bottom a:hover { color: oklch(0.92 0.01 215); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* =========================== Reveal on scroll =========================== */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } html.js .quote { opacity: 1; transform: none; } }

/* =========================== Responsive =========================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__figure { aspect-ratio: 16/12; }
  .approach__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .team__photos { max-width: 420px; }
  .final__card { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .brand__sub { display: none; }
  .phone-link span { display: none; }
  .phone-link { padding: 9px; }
  .nav { gap: 20px; }
}
@media (max-width: 980px) {
  .nav, .phone-link, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .header__inner { gap: 16px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .stufen { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr; }
  .track { grid-auto-columns: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__badge { left: 0; }
}
@media (min-width: 761px) {
  /* show only N testimonials at once handled by JS via translate */
}

/* =========================== Karte (Standorte) =========================== */
.lkmap{margin:0;background:var(--surface);border-radius:var(--radius);padding:18px 18px 14px;box-shadow:var(--shadow);overflow:hidden}
.lkmap svg{display:block;width:100%;height:auto;border-radius:calc(var(--radius) - 10px)}
.lkmap__sea{fill:var(--petrol-tint)}
.lkmap__nb{fill:color-mix(in oklch,var(--petrol-tint) 72%,var(--surface));stroke:color-mix(in oklch,var(--petrol) 22%,transparent);stroke-width:.7;stroke-linejoin:round}
.lkmap__de{fill:var(--surface);stroke:color-mix(in oklch,var(--petrol) 55%,transparent);stroke-width:1.3;stroke-linejoin:round}
.lkmap__link{stroke:var(--accent);stroke-width:1.1;stroke-dasharray:4 4;opacity:.45}
.lkmap__ref circle{fill:color-mix(in oklch,var(--ink-mute) 60%,transparent)}
.lkmap__ref text{font-family:var(--sans);font-size:11px;font-weight:500;fill:var(--ink-mute);letter-spacing:.01em}
.lkmap__halo{fill:var(--accent);opacity:.14}
.lkmap__dot{fill:var(--accent-deep);stroke:var(--surface);stroke-width:1.6}
.lkmap__olabel{font-family:var(--sans);font-size:13.5px;font-weight:700;fill:var(--ink);letter-spacing:-.005em}
.lkmap__office.is-focus .lkmap__halo{fill:var(--clay);opacity:.22}
.lkmap__office.is-focus .lkmap__dot{fill:var(--clay-deep)}
.lkmap__office.is-focus .lkmap__olabel{fill:var(--clay-deep);font-size:15px}
.lkmap__cap{margin-top:12px;font-size:.86rem;color:var(--ink-mute);text-align:center;text-wrap:pretty}
.standorte{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,60px);align-items:center}
.standorte__text h2{font-size:clamp(1.5rem,2.8vw,2.2rem);margin-top:14px}
.standorte__text p{margin-top:16px;color:var(--ink-soft)}
.standorte__offices{display:grid;grid-template-columns:1fr 1fr;gap:20px 28px;margin-top:26px}
.standorte__offices .city{font-family:var(--serif);font-size:1.15rem;color:var(--ink)}
.standorte__offices .addr{font-size:.94rem;color:var(--ink-soft);line-height:1.55;margin-top:6px}
.standorte__offices .addr a{font-weight:700;color:var(--accent-deep)}
@media(max-width:860px){.standorte{grid-template-columns:1fr}.standorte__offices{grid-template-columns:1fr 1fr;gap:18px}}
@media(max-width:420px){.standorte__offices{grid-template-columns:1fr}}

/* =========================================================
   TWEAK VARIANTS — whole-page directions (set on <html>)
   ========================================================= */

/* ---- Accent family swaps ---- */
html[data-accent="lauterkorn"] {
  --petrol:       oklch(0.56 0.085 199);
  --petrol-deep:  oklch(0.44 0.078 202);
  --petrol-ink:   oklch(0.28 0.048 206);
  --petrol-tint:  oklch(0.93 0.032 197);
  --petrol-tint2: oklch(0.88 0.046 195);
  --accent: var(--petrol); --accent-deep: var(--petrol-deep);
}
html[data-accent="salbei"] {
  --petrol:       oklch(0.52 0.050 162);
  --petrol-deep:  oklch(0.40 0.045 165);
  --petrol-ink:   oklch(0.28 0.034 168);
  --petrol-tint:  oklch(0.93 0.022 162);
  --petrol-tint2: oklch(0.89 0.032 160);
  --accent: var(--petrol); --accent-deep: var(--petrol-deep);
}
html[data-accent="bordeaux"] {
  --petrol:       oklch(0.48 0.090 18);
  --petrol-deep:  oklch(0.38 0.085 20);
  --petrol-ink:   oklch(0.27 0.055 22);
  --petrol-tint:  oklch(0.93 0.026 22);
  --petrol-tint2: oklch(0.89 0.038 20);
  --accent: var(--petrol); --accent-deep: var(--petrol-deep);
}
html[data-accent="navy"] {
  --petrol:       oklch(0.46 0.080 258);
  --petrol-deep:  oklch(0.34 0.072 262);
  --petrol-ink:   oklch(0.24 0.050 264);
  --petrol-tint:  oklch(0.93 0.024 258);
  --petrol-tint2: oklch(0.89 0.034 258);
  --accent: var(--petrol); --accent-deep: var(--petrol-deep);
}

/* ---- Background warmth ---- */
html[data-bg="weiss"] {
  --cream:      oklch(0.995 0.002 250);
  --cream-deep: oklch(0.975 0.003 250);
  --surface:    oklch(1 0 0);
  --paper:      oklch(0.992 0.002 250);
  --line:       oklch(0.90 0.004 250);
  --line-soft:  oklch(0.94 0.003 250);
}
html[data-bg="sand"] {
  --cream:      oklch(0.962 0.018 76);
  --cream-deep: oklch(0.940 0.022 74);
  --surface:    oklch(0.988 0.012 78);
  --paper:      oklch(0.978 0.015 77);
  --line:       oklch(0.88 0.020 72);
  --line-soft:  oklch(0.92 0.016 73);
}

/* ---- Headline font ---- */
html[data-display="sans"] { --display: var(--sans); }
html[data-display="sans"] h1,
html[data-display="sans"] h2,
html[data-display="sans"] h3 { font-weight: 700; letter-spacing: -0.025em; }
html[data-display="newsreader"] { --display: "Newsreader", Georgia, serif; }

/* ---- Corner radius ---- */
html[data-round="sharp"]  { --radius: 4px;  --radius-sm: 3px; }
html[data-round="soft"]   { --radius: 18px; --radius-sm: 12px; }
html[data-round="pill"]   { --radius: 30px; --radius-sm: 20px; }

/* ---- Hero layout variants ---- */
html[data-hero="centered"] .hero__inner { grid-template-columns: 1fr; text-align: center; max-width: 860px; margin-inline: auto; }
html[data-hero="centered"] .hero__copy { max-width: none; }
html[data-hero="centered"] .hero__media { display: none; }
html[data-hero="centered"] .hero__actions,
html[data-hero="centered"] .hero__trust { justify-content: center; }
html[data-hero="centered"] .hero { padding-bottom: clamp(40px, 5vw, 72px); }

html[data-hero="stacked"] .hero__inner { grid-template-columns: 1fr; text-align: center; max-width: 820px; margin-inline: auto; }
html[data-hero="stacked"] .hero__copy { max-width: none; order: 1; }
html[data-hero="stacked"] .hero__media { order: 0; max-width: 560px; margin: 0 auto 28px; width: 100%; }
html[data-hero="stacked"] .hero__figure { aspect-ratio: 16/9; }
html[data-hero="stacked"] .hero__actions,
html[data-hero="stacked"] .hero__trust { justify-content: center; }

/* ---- Tweak host: hide panel mount when tweaks off ---- */
#tweaks-root:empty { display: none; }

/* =========================== ProvenExpert widget =========================== */
.pe-widget { display: block; flex: none; }
.pe-widget img { display: none; width: 100%; max-width: 360px; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.pe-widget img.is-loaded { display: block; }

/* ProvenExpert badge in hero trust row */
.pe-badge { display: block; flex: none; }
.pe-badge img { display: none; height: 46px; width: auto; border-radius: 8px; box-shadow: var(--shadow); transition: transform .2s; }
.pe-badge img.is-loaded { display: block; }
.pe-badge:hover img { transform: translateY(-2px); }

/* =========== Mobile: Video oben statt Hero-Bild, Badge nach unten =========== */
.badge-slot { display: none; }
@media (max-width: 760px) {
  .hero__media { display: none; }
  .hero { padding-bottom: 36px; }
  .badge-slot { display: flex; justify-content: center; padding-bottom: 30px; }
  .badge-slot .hero__badge { position: static; margin: 0; }
  /* Reihenfolge mobil: Video direkt nach dem Hero — rein per CSS, kein Skript */
  main { display: flex; flex-direction: column; }
  main > .hero { order: 1; }
  main > #video { order: 2; padding-top: 16px; background: var(--cream); }
  main > #selbsttest-modul { order: 3; }
  main > #stufen { order: 4; }
  main > #ansatz { order: 5; }
  main > #team { order: 6; }
  main > #stimmen { order: 7; }
  main > .badge-slot { order: 8; }
  main > #kontakt { order: 9; }
  main > #faq { order: 10; }
  main > #standorte { order: 11; }
}

/* ---- Selbsttest-Modul (Homepage-Teaser) ---- */
.selftest-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--petrol-ink), var(--petrol-deep)); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px) clamp(26px, 4vw, 48px); box-shadow: var(--shadow-lg);
  transition: transform .3s, box-shadow .3s; }
.selftest-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px oklch(0.3 0.05 224 / .28); }
.selftest-card .eyebrow { color: oklch(0.80 0.08 190); }
.selftest-card__text h2 { color: oklch(0.98 0.01 210); font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-top: 10px; max-width: 22ch; }
.selftest-card__text p { color: oklch(0.85 0.015 216); margin-top: 10px; max-width: 46ch; font-size: .98rem; }
.selftest-card__cta { flex: none; white-space: nowrap; }

/* Eyebrows mobil: kompakter, ruhiger Umbruch */
@media (max-width: 760px) {
  .eyebrow { font-size: .7rem; letter-spacing: .11em; }
}
