/* Für mein Team. — Designsystem + Onepager (PRD 2.0)
   Tokens: siehe docs/PRD.md, Anhang A */

/* Archivo, selbst gehostet (SIL OFL 1.1, siehe fonts/OFL.txt) */
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-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: Archivo;
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-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,
[data-theme="light"] {
  --navy: #183b56;
  --sage: #789783;
  --sage-text: #55705f;
  --paper: #fff;
  --paper-2: #f5f7f6;
  --sage-tint: #eaf0ec;
  --pension: #c5d6cb;
  --pension-ink: #183b56;
  --error: #a4262c;
  --ink: #1c2b36;
  --heading: #183b56;
  --muted: #56656f;
  --line: #dce4e0;
  --surface: #fff;
  --chip-bg: #fff;
  --chip-line: #d3ddd8;
  --header-bg: rgb(255 255 255 / 90%);
  --btn-bg: #183b56;
  --btn-ink: #fff;
  --btn-bg-hover: #10293d;
  --focus: #183b56;
  --shadow-1: 0 1px 2px rgb(24 59 86 / 6%), 0 4px 12px rgb(24 59 86 / 6%);
  --shadow-2: 0 1px 2px rgb(24 59 86 / 8%), 0 12px 32px rgb(24 59 86 / 10%);
  color-scheme: light;
}

[data-theme="dark"] {
  --navy: #183b56;
  --sage: #93af9c;
  --sage-text: #a9c3b1;
  --paper: #0d2131;
  --paper-2: #112a3d;
  --sage-tint: #1a3a4a;
  --pension: #3f6b5a;
  --pension-ink: #fff;
  --error: #f2a7a0;
  --ink: #e2eae6;
  --heading: #f1f5f3;
  --muted: #a3b3b0;
  --line: #24435a;
  --surface: #133047;
  --chip-bg: #15344b;
  --chip-line: #2a4c63;
  --header-bg: rgb(13 33 49 / 88%);
  --btn-bg: #93af9c;
  --btn-ink: #0d2131;
  --btn-bg-hover: #a9c3b1;
  --focus: #a9c3b1;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 25%), 0 4px 12px rgb(0 0 0 / 18%);
  --shadow-2: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 28%);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Archivo, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3 {
  font-stretch: 88%;
  font-weight: 800;
  color: var(--heading);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--btn-bg);
  color: var(--btn-ink);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease-out;
}
.skip:focus {
  top: 12px;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* ---------- Typo-Rollen ---------- */
.eyebrow {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 20px;
}
.eyebrow b {
  font-weight: 700;
  color: var(--heading);
}

.h1 {
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.accent {
  color: var(--sage);
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.muted {
  color: var(--muted);
}
.ask {
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  color: var(--heading);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}
.btn:active {
  scale: 0.96;
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover {
  background: var(--btn-bg-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--heading);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-secondary:hover {
  box-shadow: inset 0 0 0 1.5px var(--sage);
}
.btn-sm {
  --h: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-weight: 800;
  font-stretch: 88%;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.logo .dot {
  color: var(--sage);
}

.nav {
  flex: 1;
}
.nav ul {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition-property: color, background-color;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}
.nav a:hover {
  color: var(--heading);
  background: var(--paper-2);
}
.nav a[aria-current="true"] {
  color: var(--heading);
}
.nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--sage);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
  transition-property: background-color, scale;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}
.icon-btn:hover {
  background: var(--paper-2);
}
.icon-btn:active {
  scale: 0.96;
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* Icon-Crossfade */
.swap {
  position: relative;
  width: 20px;
  height: 20px;
}
.swap svg {
  position: absolute;
  inset: 0;
  transition-property: opacity, scale, filter;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.swap .off {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}
[data-theme="dark"] .theme-toggle .sun {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}
[data-theme="dark"] .theme-toggle .moon {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}

.menu-toggle {
  display: none;
}
.menu-toggle[aria-expanded="true"] .bars {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}
.menu-toggle[aria-expanded="true"] .close {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 20px 24px;
}
.mobile-menu ul {
  margin-bottom: 16px;
}
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
  color: var(--heading);
  text-decoration: none;
}
.mobile-menu a:not(.btn) span {
  font-size: 13px;
  color: var(--sage-text);
  font-weight: 600;
}
.mobile-menu .btn {
  width: 100%;
}

/* ---------- Sektionen ---------- */
section {
  padding-block: 120px;
}
.band-2 {
  background: var(--paper-2);
}
.band-navy {
  background: var(--navy);
  --heading: #fff;
  --ink: #e3ebe7;
  --muted: #b9c8c2;
  --sage: #93af9c;
  --sage-text: #a9c3b1;
  --line: rgb(255 255 255 / 16%);
  --surface: rgb(255 255 255 / 6%);
  --btn-bg: #fff;
  --btn-ink: #183b56;
  --btn-bg-hover: #eaf0ec;
  --focus: #fff;
  color: var(--ink);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.section-head {
  margin-bottom: 56px;
}
.section-head .lead {
  margin-top: 20px;
}

/* Detailbereiche (Accordions) */
.more {
  border-top: 1px solid var(--line);
}
.more summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 6px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--heading);
  cursor: pointer;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more > p {
  font-size: 15px;
  color: var(--muted);
  padding-bottom: 16px;
}
.pm {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-tint);
}
.pm::before,
.pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  translate: -50% -50%;
  background: var(--heading);
  border-radius: 2px;
  transition: rotate 0.2s ease-out;
}
.pm::after {
  rotate: 90deg;
}
details[open] > summary .pm::after {
  rotate: 0deg;
}

.note {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--sage-tint);
  font-size: 14px;
  color: var(--ink);
  max-width: 760px;
}
.note svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--sage-text);
  margin-top: 1px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 88px 112px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}
.hero .h1 {
  margin-bottom: 28px;
  max-width: 13ch;
}
.hero .lead {
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mate {
  background: var(--surface);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--shadow-2);
  max-width: 440px;
  justify-self: end;
  width: 100%;
}
.portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 14px;
  background: var(--paper-2);
  outline: 1px solid oklch(0% 0 0deg / 10%);
  outline-offset: -1px;
}
[data-theme="dark"] .portrait {
  outline-color: oklch(100% 0 0deg / 10%);
}
.mate picture {
  display: block;
}
.mate-body {
  padding: 22px 16px 14px;
}
.mate-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-text);
}
.mate-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.mate h2 {
  font-size: 30px;
  margin: 8px 0 6px;
  letter-spacing: -0.015em;
}
.mate p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- 01 Wildwuchs ---------- */
.wild {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tile {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--chip-line);
}
.tile svg {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--muted);
}
.tile b {
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
  line-height: 1.3;
}
.tile span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.35;
}
.tile.etc {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  min-height: 48px;
  padding: 10px;
  background: transparent;
  box-shadow: none;
  outline: 1.5px dashed var(--chip-line);
  outline-offset: -1.5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.trigger {
  padding: 22px 0;
  border-top: 2px solid var(--line);
}
.trigger:first-child {
  padding-top: 0;
  border-top: 0;
}
.trigger h3 {
  margin-bottom: 8px;
}
.trigger p + p {
  margin-top: 10px;
}
.dots {
  display: flex;
  gap: 5px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--chip-line);
}
.dots i.on {
  background: var(--sage);
}

/* ---------- 02 Bestand ---------- */
.asks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: a;
}
.asks li {
  background: #fff;
  color: #1c2b36;
  border-radius: 20px;
  padding: 32px;
  counter-increment: a;
}
[data-theme="dark"] .asks li {
  background: #f1f5f3;
}
.asks li::before {
  content: counter(a, decimal-leading-zero);
  display: block;
  font-size: 40px;
  font-weight: 800;
  font-stretch: 88%;
  line-height: 1;
  color: #55705f;
  margin-bottom: 20px;
}
.asks h3 {
  color: #183b56;
  font-size: 24px;
  margin-bottom: 10px;
}
.asks p {
  color: #4a5a63;
}

/* ---------- 03 Back to Basics ---------- */
.basics-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.basics-q {
  margin-top: 24px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.2;
  color: var(--sage-text);
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
.field {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 20px;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.slot {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 12.5%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  opacity: 0;
  translate: 0 8px;
  transition-property: opacity, translate;
  transition-duration: 0.35s;
  transition-timing-function: ease-out;
}
.slot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--bar, var(--sage));
}
.slot small {
  font-size: 12px;
  font-weight: 700;
  color: var(--sage-text);
  letter-spacing: 0.08em;
}
.slot-1 {
  top: 6%;
  --bar: var(--heading);
}
.slot-2 {
  top: 21%;
}
.slot-3 {
  top: 36%;
  --bar: color-mix(in oklab, var(--heading) 50%, var(--sage));
}
.field-caption-ordered {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 51%;
  font-size: 13px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  border-top: 1px dashed var(--chip-line);
  padding-top: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip-bg);
  box-shadow:
    0 0 0 1px var(--chip-line),
    var(--shadow-1);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.chip.core {
  box-shadow:
    0 0 0 1.5px var(--sage),
    var(--shadow-1);
  color: var(--heading);
  font-weight: 600;
}
.chip.more {
  background: transparent;
  box-shadow: 0 0 0 1px var(--chip-line);
  color: var(--muted);
}

.field .chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  rotate: var(--r);
  transition:
    left 0.6s cubic-bezier(0.2, 0, 0, 1) var(--d, 0s),
    top 0.6s cubic-bezier(0.2, 0, 0, 1) var(--d, 0s),
    rotate 0.6s cubic-bezier(0.2, 0, 0, 1) var(--d, 0s),
    opacity 0.6s cubic-bezier(0.2, 0, 0, 1) var(--d, 0s);
}
.field.is-ordered .chip {
  left: var(--ox);
  top: var(--oy);
  rotate: 0deg;
}
.field.is-ordered .chip:not(.core) {
  opacity: 0.72;
}
.field.is-ordered .slot {
  opacity: 1;
  translate: 0 0;
}
.field.is-ordered .slot-2 {
  transition-delay: 0.06s;
}
.field.is-ordered .slot-3 {
  transition-delay: 0.12s;
}
.field.is-ordered .field-caption-ordered {
  opacity: 1;
  transition-delay: 0.2s;
}

.field-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.field-bar p {
  font-size: 15px;
  color: var(--muted);
}
#field-toggle .swap,
#field-toggle .swap svg {
  width: 18px;
  height: 18px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 30px 18px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--bar);
}
.pillar:nth-child(1) {
  --bar: var(--heading);
}
.pillar:nth-child(2) {
  --bar: var(--sage);
}
.pillar:nth-child(3) {
  --bar: color-mix(in oklab, var(--heading) 50%, var(--sage));
}
.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-tint);
  color: var(--heading);
}
.pillar-icon svg {
  width: 26px;
  height: 26px;
}
.pillar .num {
  font-size: 14px;
  font-weight: 700;
  color: var(--sage-text);
}
.pillar h3 {
  margin-bottom: 14px;
}
.keyfact {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.keyfact b {
  font-size: 44px;
  font-weight: 800;
  font-stretch: 88%;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--heading);
  white-space: nowrap;
}
.keyfact span {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.ticks {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 15px;
}
.ticks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}
.ticks svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
  margin-top: 3px;
}
.pillar .details {
  margin-top: auto;
}

.plinth {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--sage-tint);
  color: var(--heading);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 19px;
  text-align: center;
  text-wrap: balance;
}
.plinth::before,
.plinth::after {
  content: "";
  height: 1.5px;
  flex: 0 1 100px;
  background: var(--sage);
}

/* ---------- 04 System ---------- */
.criterion {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.criterion h3 {
  font-size: 18px;
}
.criterion.goal {
  align-items: start;
}
.criterion.goal p {
  font-size: 15px;
  color: var(--ink);
}
.criterion.goal p b {
  color: var(--heading);
}

.doc-stack {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
}
.doc-stack::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border-radius: 6px;
  background: var(--sage-tint);
  rotate: -1.2deg;
}
.doc {
  position: relative;
  background: var(--surface);
  border-radius: 6px;
  padding: 40px 40px 72px;
  box-shadow: var(--shadow-2);
  rotate: 1.2deg;
}
.doc-title {
  font-weight: 800;
  font-stretch: 88%;
  font-size: 20px;
  color: var(--heading);
}
.doc-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
.doc-rule {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.doc-rule b {
  font-size: 13px;
  color: var(--sage-text);
}
.doc-rule span {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.doc-line {
  height: 6px;
  border-radius: 4px;
  background: var(--line);
  margin-top: 8px;
}
.doc-line.s {
  width: 70%;
}
.stamp {
  position: absolute;
  right: 28px;
  bottom: 24px;
  rotate: -8deg;
  padding: 8px 14px;
  border: 2px solid var(--sage);
  border-radius: 8px;
  color: var(--sage-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.doc-caption {
  margin-top: 36px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  margin-inline: auto;
}
.doc-caption b {
  color: var(--heading);
}

/* ---------- 05 Beispiel ---------- */
.example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}
.stairs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  --max: 300px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.step-btn {
  position: absolute;
  inset: -8px;
  z-index: 1;
  border: 0;
  border-radius: 16px;
  background: none;
  cursor: pointer;
}
.step .amt,
.step .bar {
  transition: opacity 150ms ease-out;
}
.step:not(.is-active) .amt,
.step:not(.is-active) .bar {
  opacity: 0.45;
}
.step:not(.is-active):hover .amt,
.step:not(.is-active):hover .bar {
  opacity: 0.75;
}
.step.is-active .when {
  text-decoration-color: var(--sage);
}
.step .amt {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  font-stretch: 88%;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--heading);
  white-space: nowrap;
}
.step .per {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 12px;
}
.bar {
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  overflow: hidden;
}
.bar i {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.bar i span {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bar .s-health {
  background: var(--sage);
  color: #0d2131;
}
.bar .s-acc {
  background: var(--heading);
  color: var(--paper);
}
.bar .s-pen {
  background: var(--pension);
  color: var(--pension-ink);
}
.stairs-legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.stairs-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stairs-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.stairs-legend .s-health {
  background: var(--sage);
}
.stairs-legend .s-acc {
  background: var(--heading);
}
.stairs-legend .s-pen {
  background: var(--pension);
}
.step .when {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  text-decoration: underline 2px transparent;
  text-underline-offset: 6px;
}
.step .open-note {
  font-size: 12.5px;
  line-height: 1.3;
  min-height: 2.6em;
  color: var(--muted);
}

.group-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-2);
}
.group-card .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-text);
}
.group-card h3 {
  font-size: 26px;
  margin: 6px 0 20px;
}
.rows li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.rows .eur {
  font-size: 24px;
  font-weight: 800;
  font-stretch: 88%;
  color: var(--heading);
  text-align: right;
  line-height: 1.1;
}
.rows b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--heading);
  font-weight: 600;
}
.rows b i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.rows span {
  font-size: 14px;
  color: var(--muted);
}
.sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  border-top: 2px solid var(--heading);
  font-weight: 700;
  color: var(--heading);
}
.sum b {
  font-size: 24px;
  font-stretch: 88%;
  font-weight: 800;
}
.footnote {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 06 Check-up ---------- */
.check-card {
  background: var(--navy);
  color: #e3ebe7;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-2);
  --heading: #fff;
  --btn-bg: #fff;
  --btn-ink: #183b56;
  --btn-bg-hover: #eaf0ec;
  --focus: #fff;
}
[data-theme="dark"] .check-card {
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 8%),
    var(--shadow-2);
}
.check-card .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c3b1;
}
.check-card h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin: 10px 0 24px;
}
.check-group + .check-group {
  margin-top: 22px;
}
.check-group h4 {
  font-size: 14px;
  font-weight: 700;
  font-stretch: 100%;
  color: #a9c3b1;
  margin-bottom: 10px;
}
.check-group ul {
  display: grid;
  gap: 8px;
}
.check-group li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.45;
}
.check-group svg {
  width: 20px;
  height: 20px;
  color: #93af9c;
  margin-top: 1px;
}
.check-card .btn {
  margin-top: 32px;
}
.easy {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid var(--sage);
}
.easy h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* ---------- 07 Partner / Dreieck ---------- */
.triangle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "ag bl" "k k";
  gap: 64px 160px;
}
.triangle-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.triangle-lines line {
  stroke: var(--sage);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.triangle-lines line.base {
  stroke-dasharray: 6 6;
  opacity: 0.6;
}
.role {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: var(--shadow-1);
}
.role.employer {
  grid-area: ag;
}
.role.workforce {
  grid-area: bl;
}
.role.kevin {
  grid-area: k;
  justify-self: center;
  width: min(100%, 460px);
  background: var(--navy);
  color: #d6e1dc;
  --heading: #fff;
  box-shadow: var(--shadow-2);
}
[data-theme="dark"] .role.kevin {
  box-shadow:
    0 0 0 1.5px #93af9c,
    var(--shadow-2);
}
.role .who {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 8px;
}
.role.kevin .who {
  color: #a9c3b1;
}
.role h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.role .tag {
  min-height: 30px;
  font-size: 13.5px;
}
.role.kevin .tag {
  background: rgb(255 255 255 / 10%);
  color: #e3ebe7;
}

/* ---------- 08 Prozess ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(50% / var(--n, 5));
  right: calc(50% / var(--n, 5));
  top: 23px;
  height: 2px;
  background: var(--sage);
}
.timeline li {
  position: relative;
  text-align: center;
}
.timeline .pt {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--sage);
  font-weight: 700;
  color: var(--heading);
}
.band-2 .timeline .pt {
  background: var(--paper-2);
}
.timeline li:first-child .pt {
  background: var(--sage);
  color: #fff;
  box-shadow: none;
}
.timeline h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.timeline p {
  font-size: 15px;
  color: var(--muted);
  max-width: 24ch;
  margin-inline: auto;
}
.timeline .cycle {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sage-tint);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--heading);
}

/* ---------- 09 Herkunft ---------- */
.band-navy .tag {
  background: rgb(255 255 255 / 10%);
  color: #e3ebe7;
}
.origin-missing {
  margin-top: 28px;
}
.compare {
  display: grid;
  gap: 14px;
}
.compare-row {
  display: grid;
  gap: 6px;
  padding: 24px 26px;
  border-radius: 16px;
  background: rgb(255 255 255 / 6%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%);
}
.compare-row.us {
  background: #fff;
  box-shadow: none;
}
.compare-row .who {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c3b1;
}
.compare-row.us .who {
  color: #55705f;
}
.compare-row p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.compare-row.us p {
  color: #183b56;
}
.origin blockquote {
  margin: 40px 0 0;
  padding-left: 24px;
  border-left: 3px solid var(--sage);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
  max-width: 34ch;
}

/* ---------- 10 Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: end;
}
.contact .h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  max-width: 17ch;
  margin-bottom: 24px;
}
.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.contact-card {
  border-radius: 20px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.contact-card .h3 {
  font-size: 20px;
}
.contact-card dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}
.contact-card dt {
  font-size: 13px;
  color: var(--muted);
}
.contact-card dd {
  margin: 0;
  font-weight: 600;
  color: var(--heading);
}
.contact-card dd a {
  color: inherit;
  text-decoration: underline 1px var(--sage);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.contact-card dd a:hover {
  text-decoration-thickness: 2px;
}
.ph {
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer a {
  text-decoration: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.footer a:hover {
  color: var(--heading);
  text-decoration: underline;
}
.footer a[aria-current="page"] {
  color: var(--heading);
  font-weight: 600;
}

/* ---------- Rechtliche Seiten ---------- */
.legal-actions {
  margin-left: auto;
}
.back-link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition-property: color, background-color;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}
.back-link:hover {
  color: var(--heading);
  background: var(--paper-2);
}
.back-link svg {
  width: 18px;
  height: 18px;
}
.legal {
  padding-block: 72px 96px;
}
.legal-body {
  max-width: 68ch;
}
.legal-body .h2 {
  margin-bottom: 32px;
  max-width: none;
}
.legal-body .legal-draft {
  margin: 0 0 40px;
}
.legal-body h2:not(.h2) {
  font-size: 22px;
  line-height: 1.25;
  margin: 44px 0 12px;
  text-wrap: balance;
}
.legal-body h3 {
  font-size: 17px;
  margin: 28px 0 8px;
}
.legal-body p,
.legal-body address,
.legal-body li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  text-wrap: pretty;
}
.legal-body p + p,
.legal-body p + address,
.legal-body address + p,
.legal-body address + address {
  margin-top: 14px;
}
.legal-body address {
  font-style: normal;
}
.legal-body ul {
  padding-left: 1.2em;
  list-style: disc;
}
.legal-body ul.people {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.legal-body ul.people li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--heading);
}
.legal-body a:not(.btn),
.contact-card .note a {
  color: var(--heading);
  text-decoration: underline 1px var(--sage);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal-body a:not(.btn):hover {
  text-decoration-thickness: 2px;
}

/* ---------- Abschnittsanzeige („telefonische PowerPoint") ---------- */
.slide-indicator {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  opacity: 0;
  translate: 0 8px;
  pointer-events: none;
  transition-property: opacity, translate;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}
.slide-indicator.show {
  opacity: 1;
  translate: 0 0;
}
.slide-indicator b {
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}
[data-theme="dark"] .slide-indicator b {
  background: #93af9c;
  color: #0d2131;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--heading);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-2);
  cursor: pointer;
  opacity: 0;
  translate: 0 8px;
  pointer-events: none;
  transition-property: opacity, translate, scale;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}
.to-top.show {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}
.to-top:active {
  scale: 0.96;
}
.to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Tablet ---------- */
@media screen and (width <= 1100px) {
  .nav a {
    padding: 0 9px;
    font-size: 14px;
  }
  .header-inner {
    gap: 16px;
  }
}

@media screen and (width <= 980px) {
  .wrap {
    padding-inline: 32px;
  }
  section {
    padding-block: 96px;
  }
  .nav,
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .header-inner {
    justify-content: space-between;
  }
  .mobile-menu.open {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .mate {
    justify-self: start;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    max-width: 560px;
    gap: 8px;
  }
  .mate .portrait {
    aspect-ratio: 1 / 1;
    object-position: 50% 50%;
  }
  .mate-body {
    padding: 8px 16px;
  }

  .wild {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .triggers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .trigger,
  .trigger:first-child {
    padding: 20px 0 0;
    border-top: 2px solid var(--line);
  }

  .asks {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .asks li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 16px;
    padding: 24px;
  }
  .asks li::before {
    grid-row: span 2;
    margin: 0;
    font-size: 34px;
  }

  .basics-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .field {
    aspect-ratio: 16 / 11;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .pillar:nth-child(3) {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .criterion {
    grid-template-columns: 180px 1fr;
  }

  .example {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .stairs {
    max-width: 620px;
    --max: 230px;
  }

  .triangle {
    gap: 56px 64px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 600px;
  }
  .timeline::before {
    inset: 24px auto 24px 23px;
    width: 2px;
    height: auto;
  }
  .timeline li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    text-align: left;
    padding-bottom: 32px;
  }
  .timeline li:last-child {
    padding-bottom: 0;
  }
  .timeline .pt {
    margin: 0;
  }
  .timeline p {
    margin: 0;
    max-width: none;
  }
  .timeline h3 {
    padding-top: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Smartphone ---------- */
@media screen and (width <= 760px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding-inline: 20px;
  }
  section {
    padding-block: 72px;
  }
  .header-inner {
    height: 64px;
  }
  html {
    scroll-padding-top: 76px;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .hero {
    padding-block: 48px 72px;
  }
  .hero .h1 {
    margin-bottom: 20px;
  }
  .hero .lead {
    margin-bottom: 28px;
  }
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .mate {
    grid-template-columns: 96px 1fr;
    padding: 10px;
    border-radius: 20px;
  }
  .mate-body {
    padding: 4px 8px;
  }
  .mate h2 {
    font-size: 22px;
    margin: 4px 0 2px;
  }
  .mate p {
    font-size: 14px;
  }

  .tiles {
    grid-template-columns: 1fr;
  }
  .triggers {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .trigger,
  .trigger:first-child {
    padding: 20px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }
  .asks li {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .asks li::before {
    grid-row: auto;
    margin-bottom: 12px;
  }

  .basics-top {
    margin-bottom: 48px;
  }
  .field {
    aspect-ratio: 1 / 1.12;
    border-radius: 16px;
  }
  .field .chip {
    font-size: 12.5px;
    min-height: 32px;
    padding: 0 11px;
  }
  .slot {
    font-size: 12.5px;
    padding-left: 12px;
    gap: 8px;
  }
  .field.is-ordered .chip.core {
    left: 76%;
  }
  .mate-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .field-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .field-bar .btn {
    width: 100%;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar {
    padding: 28px 22px 14px;
  }
  .plinth {
    font-size: 17px;
  }
  .plinth::before,
  .plinth::after {
    flex-basis: 24px;
  }

  .criterion {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .doc {
    padding: 32px 26px 72px;
    rotate: 0.8deg;
  }

  .stairs {
    gap: 10px;
    --max: 220px;
  }
  .step .per {
    font-size: 12px;
  }
  .group-card {
    padding: 24px 20px;
  }
  .rows li {
    grid-template-columns: 52px 1fr;
    gap: 12px;
  }
  .rows .eur {
    font-size: 20px;
  }

  .check-card {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .check-card .btn {
    width: 100%;
  }

  .triangle {
    grid-template-columns: 1fr;
    grid-template-areas: "ag" "k" "bl";
    gap: 40px;
  }
  .triangle-lines {
    display: none;
  }
  .role.kevin {
    width: 100%;
  }
  .role.kevin::before,
  .role.workforce::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -40px;
    height: 40px;
    width: 2px;
    translate: -1px 0;
    background: var(--sage);
  }
  .role {
    padding: 24px;
  }

  .contact-ctas .btn {
    width: 100%;
  }
  .slide-indicator {
    left: 12px;
    bottom: 12px;
    font-size: 13px;
  }
  .to-top {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Druckfassung ----------
   A4 quer wie Folien: Seitengröße in CSS-Pixeln im A4-Verhältnis, Breakpoints gelten nur
   für screen, damit das Desktop-Layout bleibt. zoom hebt den Fließtext auf ca. 8,5 pt.
   Immer hell, jeder Abschnitt ist eine Folie (volle Seitenhöhe, Inhalt vertikal zentriert). */
@media print {
  @page {
    size: 1754px 1240px;
    margin: 0;
  }

  [data-theme="dark"] {
    --navy: #183b56;
    --sage: #789783;
    --sage-text: #55705f;
    --paper: #fff;
    --paper-2: #f5f7f6;
    --sage-tint: #eaf0ec;
    --pension: #c5d6cb;
    --pension-ink: #183b56;
    --ink: #1c2b36;
    --heading: #183b56;
    --muted: #56656f;
    --line: #dce4e0;
    --surface: #fff;
    --chip-bg: #fff;
    --chip-line: #d3ddd8;
    --header-bg: rgb(255 255 255 / 90%);
    --btn-bg: #183b56;
    --btn-ink: #fff;
    --btn-bg-hover: #10293d;
    --focus: #183b56;
    --shadow-1: 0 1px 2px rgb(24 59 86 / 6%), 0 4px 12px rgb(24 59 86 / 6%);
    --shadow-2: 0 1px 2px rgb(24 59 86 / 8%), 0 12px 32px rgb(24 59 86 / 10%);
    color-scheme: light;
  }
  :root,
  [data-theme] {
    --shadow-1: 0 0 0 1px var(--line);
    --shadow-2: 0 0 0 1px var(--line);
  }
  html {
    scroll-behavior: auto;
    zoom: 1.1;
    --slide-h: calc(1240px / 1.1);
  }
  .wrap {
    max-width: none;
    padding-inline: 72px;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .skip,
  .header .nav,
  .header-actions,
  .mobile-menu,
  .slide-indicator,
  .to-top,
  main .btn,
  .hero-ctas,
  .contact-ctas,
  .step-btn,
  .legal-actions {
    display: none !important;
  }
  .header {
    position: static;
    box-shadow: 0 1px 0 var(--line);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }
  .header-inner {
    height: 72px;
  }

  section {
    box-sizing: border-box;
    min-height: var(--slide-h);
    padding-block: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    break-before: page;
    break-inside: avoid;
  }
  .hero {
    min-height: calc(var(--slide-h) - 73px);
    break-before: auto;
  }
  #kontakt {
    min-height: calc(var(--slide-h) - 152px);
  }
  #basics .basics-top {
    margin-bottom: 40px;
    align-items: start;
  }
  .legal section,
  .legal-body h2,
  .legal-body h3 {
    break-after: avoid;
  }
  .pillar,
  .group-card,
  .check-card,
  .criterion,
  .rows li,
  .timeline li,
  .asks li,
  .role,
  address,
  .print-stages {
    break-inside: avoid;
  }

  details::details-content {
    content-visibility: visible;
    display: block;
  }
  #basics .field {
    aspect-ratio: 16 / 9;
  }
  details > summary .pm {
    display: none;
  }

  .step:not(.is-active) .amt,
  .step:not(.is-active) .bar {
    opacity: 1;
  }
  .step .when {
    text-decoration: none;
  }
  .print-stages {
    display: block !important;
    margin-top: 0;
    align-self: center;
  }
  .group-card,
  .screen-only {
    display: none;
  }
  #basics .pillar details {
    display: none;
  }

  .footer {
    break-before: avoid;
  }
}

/* Staffel-Übersicht nur im Druck: alle drei Stufen statt der gewählten */
.print-stages {
  display: none;
  margin-top: 40px;
}
.print-stages table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.print-stages caption {
  text-align: left;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  font-size: 17px;
}
.print-stages th,
.print-stages td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.print-stages th:first-child,
.print-stages td:first-child {
  text-align: left;
}
.print-stages thead th {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.print-stages tbody th {
  color: var(--heading);
  font-weight: 600;
}
.print-stages td:last-child {
  font-weight: 800;
  color: var(--heading);
}

/* ---------- Ersatz für frühere Inline-Styles (strikte CSP) ---------- */
.sprite {
  position: absolute;
}
.footer-brand {
  color: var(--heading);
}
.footer-brand .dot {
  color: var(--sage);
}
.h2-22 {
  max-width: 22ch;
}
.h2-20 {
  max-width: 20ch;
}
.split-center {
  align-items: center;
}
.mt-16 {
  margin-top: 16px;
}
.mt-20 {
  margin-top: 20px;
}
.sw-health {
  background: var(--sage);
}
.sw-acc {
  background: var(--heading);
}
.sw-pen {
  background: var(--pension);
}
.chip-1 {
  --x: 22%;
  --y: 12%;
  --r: -6deg;
  --ox: 28%;
  --oy: 63%;
  --d: 0s;
}
.chip-2 {
  --x: 72%;
  --y: 9%;
  --r: 5deg;
  --ox: 72%;
  --oy: 63%;
  --d: 0.03s;
}
.chip-3 {
  --x: 47%;
  --y: 26%;
  --r: -3deg;
  --ox: 73%;
  --oy: 12.25%;
  --d: 0s;
}
.chip-4 {
  --x: 77%;
  --y: 35%;
  --r: -8deg;
  --ox: 28%;
  --oy: 73%;
  --d: 0.06s;
}
.chip-5 {
  --x: 17%;
  --y: 40%;
  --r: 7deg;
  --ox: 72%;
  --oy: 73%;
  --d: 0.09s;
}
.chip-6 {
  --x: 42%;
  --y: 53%;
  --r: 4deg;
  --ox: 28%;
  --oy: 83%;
  --d: 0.05s;
}
.chip-7 {
  --x: 79%;
  --y: 58%;
  --r: 6deg;
  --ox: 72%;
  --oy: 83%;
  --d: 0.12s;
}
.chip-8 {
  --x: 21%;
  --y: 68%;
  --r: -5deg;
  --ox: 28%;
  --oy: 93%;
  --d: 0.15s;
}
.chip-9 {
  --x: 60%;
  --y: 77%;
  --r: -4deg;
  --ox: 73%;
  --oy: 27.25%;
  --d: 0.04s;
}
.chip-10 {
  --x: 28%;
  --y: 90%;
  --r: 5deg;
  --ox: 73%;
  --oy: 42.25%;
  --d: 0.08s;
}
.chip-11 {
  --x: 82%;
  --y: 91%;
  --r: -3deg;
  --ox: 72%;
  --oy: 93%;
  --d: 0.18s;
}
.bar-25 {
  --h: calc(var(--max) * 25 / 100);
}
.bar-50 {
  --h: calc(var(--max) * 50 / 100);
}
.bar-100 {
  --h: var(--max);
}
.bar i[data-f="12"] {
  flex: 12;
}
.bar i[data-f="13"] {
  flex: 13;
}
.bar i[data-f="18"] {
  flex: 18;
}
.bar i[data-f="22"] {
  flex: 22;
}
.bar i[data-f="25"] {
  flex: 25;
}
.bar i[data-f="60"] {
  flex: 60;
}

/* ---------- 404 ---------- */
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Sehr schmale Bildschirme: Rückweg nur als Pfeil (Name bleibt per aria-label) */
@media screen and (width <= 420px) {
  .back-link {
    justify-content: center;
    min-width: 44px;
    padding: 0;
  }
  .back-link-text {
    display: none;
  }
}

/* ---------- Anfrage (Dialog „Gespräch anfragen“) ---------- */
.inquiry {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  /* eslint-disable-next-line css/no-invalid-properties -- Variable wird im Theme gesetzt, der Linter löst sie hier falsch auf */
  box-shadow: var(--shadow-2);
  overflow: auto;
  overscroll-behavior: contain;
}
.inquiry::backdrop {
  background: rgb(13 33 49 / 55%);
}
.inquiry[open] {
  animation: inquiry-in 0.2s ease-out;
}
@keyframes inquiry-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}
.inquiry-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 4px 32px;
  background: var(--surface);
}
.inquiry-head .h3 {
  font-size: 26px;
}
.inquiry-close svg {
  width: 22px;
  height: 22px;
}
.inquiry-form,
.inquiry-done {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 8px 32px 32px;
}
.inquiry-done {
  grid-template-columns: 1fr;
}
.inquiry [hidden] {
  display: none;
}
.inquiry-lead {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--muted);
  text-wrap: pretty;
}
.inquiry-lead a {
  color: var(--heading);
  font-weight: 600;
}
.span-2 {
  grid-column: 1 / -1;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-field label,
.form-field legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.form-field label span,
.form-field legend span {
  font-weight: 400;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--chip-line);
  transition: box-shadow 0.15s ease-out;
}
.form-field textarea {
  resize: vertical;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  box-shadow: inset 0 0 0 1px var(--sage);
}
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.form-field [aria-invalid="true"] {
  box-shadow: inset 0 0 0 1.5px var(--error);
}
.field-error {
  margin: 0;
  font-size: 13.5px;
  color: var(--error);
}
.field-error:empty {
  display: none;
}
.choice {
  flex-flow: row wrap;
  gap: 8px;
}
.choice legend {
  margin-bottom: 6px;
}
.choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--chip-line);
  cursor: pointer;
}
.choice label:has(input:checked) {
  background: var(--sage-tint);
  box-shadow: inset 0 0 0 1.5px var(--sage);
  color: var(--heading);
}
.choice input[type="radio"] {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  box-shadow: none;
  accent-color: var(--sage-text);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.inquiry-privacy {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.inquiry-privacy a {
  color: var(--heading);
}
.inquiry-status {
  margin: 0;
  font-weight: 600;
  color: var(--error);
}
.inquiry-status:empty {
  display: none;
}
.inquiry-status a {
  color: inherit;
}
.inquiry-actions {
  display: flex;
  justify-content: flex-end;
}
.inquiry-form button[type="submit"][disabled] {
  opacity: 0.7;
  cursor: progress;
}

@media screen and (width <= 760px) {
  .inquiry {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }
  .inquiry-head {
    padding: 12px 8px 4px 20px;
  }
  .inquiry-form,
  .inquiry-done {
    grid-template-columns: 1fr;
    padding: 8px 20px 24px;
  }
  .inquiry-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry[open] {
    animation: none;
  }
}

@media print {
  .inquiry {
    display: none !important;
  }
}
