/* ==========================================================================
   Optavio Consulting — Design System
   Hell & clean · Salesforce-Blau · System-Fonts (keine externen Requests)
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --blue-700: #032D60;
  --blue-600: #014486;
  --blue-500: #0176D3;
  --blue-400: #1B96FF;
  --blue-100: #D8E6FE;
  --blue-50:  #EEF4FF;

  --ink-900: #0B1A2B;
  --ink-700: #23384F;
  --ink-500: #5A6B7F;
  --ink-300: #93A1B2;

  --line:    #E4E9F0;
  --surface: #FFFFFF;
  --surface-alt: #F6F9FC;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 26, 43, .05), 0 1px 3px rgba(11, 26, 43, .04);
  --shadow:    0 4px 16px rgba(11, 26, 43, .06), 0 1px 3px rgba(11, 26, 43, .04);
  --shadow-lg: 0 18px 48px rgba(11, 26, 43, .10), 0 2px 8px rgba(11, 26, 43, .04);

  --wrap: 1160px;
  --nav-h: 76px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-600); }
button { font: inherit; }

::selection { background: var(--blue-100); color: var(--blue-700); }

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

/* --- Typografie --------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -.028em; }
h3 { font-size: 1.2rem; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-500);
  line-height: 1.7;
}

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .97rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 6px 18px rgba(1, 118, 211, .26);
}
.btn--primary:hover {
  background: var(--blue-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(1, 118, 211, .32);
}

.btn--ghost {
  background: #fff;
  color: var(--ink-900);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  color: var(--blue-600);
  border-color: var(--blue-100);
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 20px; font-size: .9rem; }

/* --- Navigation --------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 14px rgba(11, 26, 43, .05);
}

.nav__inner {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav__logo { display: flex; align-items: center; flex: none; }
/* Logo in der Navigation auf Salesforce-Blau (#0176D3) umgefärbt.
   brightness(0) macht die Grafik erst rein schwarz, der Rest der Kette
   färbt sie exakt in den Akzentton. Die Bilddatei bleibt unverändert. */
.nav__logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(49%) sepia(90%) saturate(274%)
          hue-rotate(163deg) brightness(76%) contrast(211%);
  transition: opacity .2s var(--ease);
}
.nav__logo:hover img { opacity: .8; }
.nav__logo-fallback {
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--blue-500);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin-left: auto;
}
.nav__links a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 550;
  color: var(--ink-700);
}
.nav__links a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav__links a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }

/* CTA im Menü nur mobil zeigen – auf Desktop übernimmt .nav__cta */
.nav__links .btn { display: none; }
.nav__links a.btn--primary,
.nav__links a.btn--primary:hover { color: #fff; background: var(--blue-500); }
.nav__links a.btn--primary:hover { background: var(--blue-600); }

.nav__cta { flex: none; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink-900);
}
.nav__burger svg { width: 20px; height: 20px; }
.nav__burger .icon-close { display: none; }
.nav__burger[aria-expanded="true"] .icon-open { display: none; }
.nav__burger[aria-expanded="true"] .icon-close { display: block; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 116px) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(46% 55% at 22% 18%, rgba(27, 150, 255, .16), transparent 68%),
    radial-gradient(40% 50% at 82% 8%, rgba(1, 118, 211, .12), transparent 66%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 22%, #000, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 22%, #000, transparent 78%);
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 550;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, .16);
  flex: none;
}

.hero h1 { margin: 24px 0 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--blue-500), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text { max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__media { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, var(--blue-50), #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 17px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: .85rem;
  line-height: 1.3;
}
.hero__chip strong { display: block; color: var(--ink-900); font-size: 1.15rem; font-weight: 700; }
.hero__chip span { color: var(--ink-500); }
/* Beide Chips sitzen im unteren Bilddrittel, damit das Gesicht frei bleibt */
.hero__chip--lower-left  { bottom: 92px; left: -34px; }
.hero__chip--lower-right { bottom: 18px; right: -28px; }
.hero__chip-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-500);
  flex: none;
}
.hero__chip-icon svg { width: 18px; height: 18px; }

/* --- Marquee (Keyword-Ticker) ------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--surface-alt);
  padding: 20px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-300);
  white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* --- Stats -------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__num {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 750;
  letter-spacing: -.035em;
  color: var(--blue-500);
  line-height: 1;
}
.stat__label { margin-top: 10px; font-size: .95rem; color: var(--ink-500); }

/* --- Cards -------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-500);
  margin-bottom: 20px;
  transition: background .28s var(--ease), color .28s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { background: var(--blue-500); color: #fff; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--ink-500); }

.card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .92rem;
  font-weight: 600;
}
.card__link svg { width: 15px; height: 15px; transition: transform .22s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

.card--link::before {
  content: "";
  position: absolute;
  inset: 0;
}

/* --- Zertifikate -------------------------------------------------------- */
.certs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
}
.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 26px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.cert img { width: 86px; height: 86px; object-fit: contain; }
.cert__name { font-size: .87rem; font-weight: 600; color: var(--ink-900); line-height: 1.35; }
.cert__sub { font-size: .74rem; color: var(--ink-300); letter-spacing: .04em; text-transform: uppercase; }

/* --- Prozess / Timeline ------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue-400);
  margin-bottom: 12px;
}
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
}
.step:first-child::after { background: var(--blue-500); }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--ink-500); }

/* --- Split (Text + Bild) ------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--blue-50);
}
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.split--text { grid-template-columns: .95fr 1.05fr; align-items: start; }
.split--text > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }

.ticks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: .99rem; }
.ticks svg {
  width: 21px; height: 21px; flex: none; margin-top: 2px;
  color: var(--blue-500);
}

.ticks--boxed { margin-top: 0; gap: 12px; }
.ticks--boxed li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.ticks--boxed li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.ticks--boxed strong { color: var(--ink-900); }

/* --- Referenz-/Projektkarten -------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.project {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project__tag {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 18px;
}
.project h3 { margin-bottom: 10px; }
.project p { font-size: .96rem; color: var(--ink-500); }
.project__meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: .78rem;
  font-weight: 550;
  color: var(--ink-500);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--blue-100); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 11px; height: 11px;
  border-right: 2px solid var(--blue-500);
  border-bottom: 2px solid var(--blue-500);
  transform: rotate(45deg);
  flex: none;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 26px 24px; color: var(--ink-500); font-size: .97rem; }

/* --- CTA ---------------------------------------------------------------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%);
  pointer-events: none;
}
.cta h2 { color: #fff; position: relative; }
.cta p { color: rgba(255,255,255,.84); margin: 18px auto 0; max-width: 56ch; position: relative; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.cta .btn--primary { background: #fff; color: var(--blue-600); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cta .btn--primary:hover { background: #fff; color: var(--blue-700); }
.cta .btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.32); box-shadow: none; }
.cta .btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.5); }

/* --- Kontakt ------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.contact__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.contact__item:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.contact__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-500);
  flex: none;
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__body { display: block; }
.contact__label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-300);
  font-weight: 650;
  margin-bottom: 5px;
}
.contact__value {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact__value--nowrap { white-space: nowrap; }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.66);
  padding: 64px 0 30px;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
/* Logo im Footer: Originaldatei per Filter auf reines Weiß umgefärbt */
.footer__logo { margin-bottom: 18px; }
.footer__logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer__brand p { max-width: 42ch; }
.footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; font-weight: 650; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer a { color: rgba(255,255,255,.66); }
.footer a:hover { color: #fff; }
.footer__bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: .87rem;
  color: rgba(255,255,255,.46);
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

/* --- Legal / Textseiten ------------------------------------------------- */
.page-head {
  padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px);
  background: linear-gradient(180deg, var(--blue-50), #fff);
  border-bottom: 1px solid var(--line);
}
.page-head p { margin-top: 16px; }

.breadcrumb { font-size: .87rem; color: var(--ink-300); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--blue-500); }

.prose { max-width: 78ch; }
.prose h2 { font-size: 1.55rem; margin: 52px 0 16px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 30px 0 10px; }
.prose p { margin-bottom: 15px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .upper { text-transform: uppercase; font-size: .9rem; background: var(--surface-alt); border-left: 3px solid var(--blue-100); padding: 18px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 44px 0; }
.prose .source { font-size: .88rem; color: var(--ink-300); }

/* --- Cookie-Hinweis ----------------------------------------------------- */
.cookie {
  position: fixed;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: none;
  align-items: center;
  gap: 18px;
  font-size: .9rem;
}
.cookie.is-visible { display: flex; animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.cookie p { color: var(--ink-500); }

/* --- Scroll-Reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* Einspaltig wird der komplette Hero-Text mittig gesetzt –
     Badge, Überschrift, Fließtext und Buttons auf einer Achse */
  .hero__text { text-align: center; margin-inline: auto; }
  .hero__text .lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__media { max-width: 420px; margin-inline: auto; }
  .hero__chip--lower-left  { left: -12px; }
  .hero__chip--lower-right { right: -12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--text { grid-template-columns: 1fr; }
  .split--text > div:first-child { position: static; }
  .split__media { max-width: 460px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 16px 22px 26px;
    margin: 0;
    display: none;
  }
  .nav__links.is-open { display: flex; animation: rise .28s var(--ease) both; }
  .nav__links a { padding: 13px 16px; border-radius: 12px; font-size: 1rem; }
  .nav__links .btn { display: flex; margin-top: 10px; justify-content: center; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .nav__inner { width: min(100% - 32px, var(--wrap)); }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
  .cert img { width: 66px; height: 66px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__chip { display: none; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  /* Auf kleinen Displays volle Breite – bessere Trefferfläche */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; }
}

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

@media print {
  .nav, .footer, .cookie, .cta { display: none !important; }
  body { color: #000; }
}
