/* mybuchhalter – Stylesheet */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #081524;
  --navy-2: #0e2036;
  --blue: #0a4dff;
  --blue-dark: #003de0;
  --sky: #d8ecfd;
  --ink: #070b14;
  --text: #344054;
  --muted: #667085;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;

  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --edge: 12px;                          /* Abstand der großen Flächen zum Fensterrand */
  --pad: clamp(20px, 3.4vw, 48px);       /* Innenabstand der Inhalte */
  --gutter: calc(var(--edge) + var(--pad));
  --max: 1560px;
  --radius: 14px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.ico {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}

/* ---------- Typografie ---------- */

.h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.15vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  word-spacing: .09em;
  color: var(--ink);
  text-wrap: balance;
}
.dot { margin-left: -.045em; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: #283547;
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 1px; background: var(--blue); flex: none; }
.eyebrow--light { color: rgba(255, 255, 255, .86); }

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 54px; padding: 0 26px;
  border: 0; border-radius: 6px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover .ico { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #12263f; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); box-shadow: 0 10px 30px -10px rgba(10, 77, 255, .7); }
.btn--lg { height: 64px; padding: 0 38px; font-size: 18px; gap: 18px; }

.link {
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 5px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1.5px solid currentColor;
}
.link:hover .ico { transform: translate(3px, 0); }
.link--light { color: #fff; }

/* ---------- Kopfzeile ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s;
}
.header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.header__inner {
  display: flex; align-items: center;
  height: var(--header-h);
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); flex: none; }
.logo__mark { width: 46px; height: auto; color: var(--blue); }
.logo__word {
  font-family: var(--font-head); font-weight: 800;
  font-size: 27px; letter-spacing: -0.045em; line-height: 1;
}
.logo__word i { font-style: normal; color: var(--blue); }

.nav {
  display: flex; align-items: center; flex: 1;
  gap: clamp(22px, 3.2vw, 46px);
  margin-left: clamp(32px, 8vw, 120px);
  font-size: 15px; color: #1d2636;
}
.nav a { position: relative; padding: 8px 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav__contact { margin-left: auto; margin-right: clamp(4px, 1.4vw, 20px); }

.burger { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  max-width: calc(var(--max) - 2 * var(--edge));
  min-height: clamp(600px, 54vw, 810px);
  margin: 6px var(--edge) 0;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--navy) 0%, #0b1c31 100%);
  color: #fff;
}
@media (min-width: 1560px) { .hero, .process, .contact { margin-inline: auto !important; } }

/* Scroll-Effekt: Der Hero bleibt stehen und weicht zurück, die Karte (.sheet) schiebt sich darüber.
   --p (0–1) setzt js/main.js am <main>. */
.js .hero {
  position: sticky; top: var(--hero-top, calc(var(--header-h) + 6px));
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--p, 0) * .09));
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: #03080f; opacity: calc(var(--p, 0) * .62);
}
.js .hero__content { transform: translateY(calc(var(--p, 0) * -64px)); opacity: calc(1 - var(--p, 0) * 1.5); }

.sheet {
  position: relative; z-index: 2;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -28px 70px -18px rgba(3, 8, 15, calc(var(--p, 0) * .55));
}

/* Hintergrund: ruhiges Dunkelblau, unten rechts etwas heller – wie ein Boden, auf dem das m steht */
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(62% 52% at 70% 92%, rgba(40, 64, 140, .5), transparent 72%),
    radial-gradient(40% 46% at 78% 40%, rgba(24, 44, 104, .34), transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 36%; z-index: -1;
  background: linear-gradient(0deg, rgba(8, 21, 36, .94) 8%, rgba(8, 21, 36, 0));
  pointer-events: none;
}

.hero__content {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  max-width: 60%;
  padding: clamp(48px, 5.4vw, 80px) var(--pad) clamp(32px, 3.4vw, 52px);
}
.hero__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.9rem, 6.9vw, 6.5rem);
  line-height: .97; letter-spacing: -0.045em; word-spacing: .08em;
  margin: clamp(14px, 1.8vw, 26px) 0 clamp(22px, 2.6vw, 38px);
}
.uline { position: relative; white-space: nowrap; }
.uline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.07em; height: .068em; min-height: 4px;
  background: var(--blue); border-radius: 2px;
  transform-origin: left; animation: draw 1s .7s var(--ease) both;
}
@keyframes draw { from { transform: scaleX(0); } }

.hero__lead {
  max-width: 22em;
  font-size: clamp(1.06rem, 1.72vw, 1.56rem); line-height: 1.34; letter-spacing: -0.01em;
  color: rgba(255, 255, 255, .9);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: clamp(26px, 3vw, 44px); }

/* Hero-Grafik: Blätter-Schwarm, der sich zum Logo-m ordnet (WebGL-Fläche über den ganzen Hero).
   .hero__mbox legt fest, wo und wie groß das m entsteht. */
.hero__gl {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0; transition: opacity .6s ease;
}
.hero__gl.is-ready { opacity: 1; }
.hero__mspot {
  position: absolute; z-index: 0; inset: 0 0 9% 53%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero__mbox { position: relative; width: 86%; aspect-ratio: 45.75 / 28.5; color: var(--blue); }
.hero__mbox::before {
  content: ""; position: absolute; inset: -18% -12%; z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 77, 255, .3), transparent);
  filter: blur(20px);
}
.hero__mbox svg { display: block; width: 100%; height: 100%; }
.hero.has-gl .hero__mbox svg { visibility: hidden; }
.hero__content, .hero__bar { position: relative; z-index: 2; }

.hero__bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0 var(--pad); padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .42);
  font-size: 15.5px; color: rgba(255, 255, 255, .94);
}
.hero__bar li { position: relative; display: flex; align-items: center; gap: 14px; }
.hero__bar svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__bar li:nth-child(2) { justify-content: center; }
.hero__bar li:nth-child(3) { justify-content: flex-end; }
.hero__bar li + li::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: rgba(255, 255, 255, .5);
}
.hero__bar li:nth-child(3)::before { left: 0; }

/* Einblenden beim Laden */
.js .hero__content > * { animation: rise .9s var(--ease) both; }
.js .hero__content > :nth-child(2) { animation-delay: .08s; }
.js .hero__content > :nth-child(3) { animation-delay: .18s; }
.js .hero__content > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Zielgruppen-Zeile ---------- */

.strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto;
  padding: 30px var(--gutter);
  box-shadow: inset 0 -1px 0 var(--line);
}
.strip__label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #283547; }
.strip__list { display: flex; font-size: 15px; color: #283547; }
.strip__list li + li::before { content: "/"; margin: 0 clamp(12px, 1.8vw, 24px); color: #98a2b3; }
.strip__list a:hover { color: var(--blue); }

/* ---------- Leitsatz ---------- */

.manifest { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 110px) var(--gutter) clamp(24px, 3vw, 48px); }
.manifest__text {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 7.9vw, 7.4rem); line-height: 1.03; letter-spacing: -0.04em; word-spacing: .09em;
  color: var(--ink);
}
.manifest__text em { font-style: normal; color: var(--blue); }
.manifest__text .w { opacity: var(--o, 1); transition: opacity .25s linear; }
.manifest__foot { display: none; }

.js .manifest { height: 165vh; padding-block: 0; }
.js .manifest__pin {
  position: sticky; top: var(--header-h);
  display: flex; flex-direction: column; justify-content: center;
  height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
}
.js .manifest__foot {
  display: flex; align-items: center; gap: 20px;
  margin-top: clamp(28px, 4vw, 56px);
}
.manifest__bar { position: relative; width: min(280px, 46vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.manifest__bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--q, 0)); }

/* ---------- Abschnitte ---------- */

.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 5.6vw, 88px) var(--gutter);
}
.section--line { position: relative; }
.section--line::before {
  content: ""; position: absolute; top: 0; left: var(--edge); right: var(--edge); height: 1px; background: var(--line);
}
.section__head {
  display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.section__aside { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.4; letter-spacing: -0.01em; color: #3b4a61; padding-bottom: .3em; }

/* ---------- Leistungskarten ---------- */

.cards {
  display: grid; grid-template-columns: 1.92fr 1fr 1.03fr; gap: 12px;
  margin-inline: calc(8px - var(--pad));
}
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: clamp(310px, 24.6vw, 372px);
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: 10px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(8, 21, 36, .45); }
.card:hover .card__arrow .ico { transform: translateX(3px); }

.card__num { display: flex; align-items: center; gap: 20px; font-size: 17px; letter-spacing: .02em; }
.card__num::after { content: ""; width: 60px; height: 1px; background: currentColor; opacity: .55; }
.card__body { margin-top: auto; padding-top: 28px; }
.card__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.75rem, 2.85vw, 2.65rem); line-height: 1.08; letter-spacing: -0.035em; word-spacing: .06em;
}
.card__text { margin-top: 18px; padding-right: 64px; font-size: clamp(.95rem, 1.2vw, 1.06rem); line-height: 1.5; }
.card__arrow {
  position: absolute; right: clamp(20px, 2.2vw, 30px); bottom: clamp(20px, 2.2vw, 30px);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(8, 21, 36, .35);
}
.card__arrow .ico { width: 18px; height: 18px; }
.card__arrow--blue { background: var(--blue); color: #fff; box-shadow: none; }

.card--navy { background: var(--navy); color: #fff; }
.card--navy .card__text { color: rgba(255, 255, 255, .86); max-width: 30em; }
.card__photo {
  position: absolute; top: 0; right: 0; z-index: -1;
  width: 54%; height: 68%; object-fit: cover;
  border-bottom-left-radius: clamp(40px, 5vw, 72px);
  transition: transform .9s var(--ease);
}
.card--navy:hover .card__photo { transform: scale(1.03); }

.card--sky { background: var(--sky); color: var(--ink); }
.card--sky .card__text { color: #3b4a61; }
.card--blue { background: var(--blue); color: #fff; }
.card--blue .card__text { color: rgba(255, 255, 255, .9); }

.card__icon { position: absolute; fill: none; stroke: currentColor; }
.card__icon--bars { top: clamp(26px, 2.6vw, 38px); right: clamp(34px, 3vw, 46px); width: 44px; stroke: #0c1f3d; stroke-width: 2; }
.card__icon--doc { top: clamp(28px, 2.8vw, 40px); right: clamp(28px, 2.6vw, 36px); width: 46px; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* Leistungen im Detail */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(24px, 4vw, 64px); margin-top: clamp(36px, 4vw, 60px); }
.detail { padding-top: 22px; border-top: 1px solid var(--ink); }
.detail__num { font-size: 13px; letter-spacing: .12em; color: var(--blue); font-weight: 600; }
.detail__title { word-spacing: .06em; margin: 8px 0 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--ink); }
.checks li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); font-size: 15.5px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 13px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

/* ---------- Über uns ---------- */

.about { display: grid; grid-template-columns: minmax(240px, .38fr) 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.about__photo { position: relative; overflow: hidden; border-radius: 10px; background: var(--bg-soft); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about__photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: grid; gap: 1px; padding: 10px 16px 11px;
  background: #fff; border-radius: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.about__photo figcaption span { font-size: 12.5px; font-weight: 400; color: var(--muted); }

.about__head { display: grid; grid-template-columns: 1fr minmax(200px, 250px); gap: 24px 32px; align-items: end; }
.about__head .h2 { font-size: clamp(2.1rem, 3.7vw, 3.45rem); }
.about__aside { font-size: 1.06rem; line-height: 1.45; color: #3b4a61; }
.about__aside .link { margin-top: 18px; }
.about__text {
  max-width: 44em; margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.5; letter-spacing: -0.01em; color: #283547;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(20px, 3vw, 44px); margin-top: clamp(32px, 4vw, 56px); }
.values li { padding-top: 20px; border-top: 1px solid var(--line); }
.values__num {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 6px; background: var(--sky); color: var(--blue);
  font-family: var(--font-head); font-weight: 800; font-size: 14px;
}
.values h3 { word-spacing: .06em; font-family: var(--font-head); font-weight: 800; font-size: 1.14rem; letter-spacing: -0.025em; color: var(--ink); }
.values p { margin-top: 8px; font-size: 15.5px; color: var(--text); }

/* ---------- Zusammenarbeit ---------- */

.process {
  max-width: calc(var(--max) - 2 * var(--edge));
  margin: clamp(8px, 1.5vw, 24px) var(--edge) 0;
  padding: clamp(48px, 5.6vw, 88px) var(--pad);
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--navy) 0%, #0c2038 100%);
  color: rgba(255, 255, 255, .82);
}
.process .h2 { color: #fff; }
.process__head { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
.process .section__aside { color: rgba(255, 255, 255, .78); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { position: relative; padding: 30px clamp(16px, 2.2vw, 32px) 0 0; border-top: 1px solid rgba(255, 255, 255, .28); }
.steps li::before {
  content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 2px; background: var(--blue);
  box-shadow: 0 0 0 5px rgba(10, 77, 255, .22);
}
.steps__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; color: rgba(255, 255, 255, .22); }
.steps h3 { word-spacing: .06em; margin: 18px 0 10px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.03em; color: #fff; }
.steps p { font-size: 15.5px; line-height: 1.55; max-width: 21em; }

/* ---------- Für wen ---------- */

.audience { border-bottom: 1px solid var(--line); }
.audience a {
  position: relative;
  display: grid; grid-template-columns: 70px minmax(0, .9fr) minmax(0, 1.1fr) 52px; align-items: center; gap: 16px 24px;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-top: 1px solid var(--line);
  transition: padding .45s var(--ease), color .3s;
}
.audience a::before {
  content: ""; position: absolute; inset: -1px calc(-1 * var(--pad) + 8px); z-index: -1;
  background: var(--sky); border-radius: 10px; opacity: 0; transition: opacity .35s;
}
.audience a:hover::before { opacity: 1; }
.audience a:hover { padding-left: 10px; }
.audience__num { font-size: 15px; color: var(--muted); }
.audience h3 { word-spacing: .06em; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 3.1rem); letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.audience p { font-size: clamp(.98rem, 1.25vw, 1.1rem); color: #3b4a61; max-width: 30em; }
.audience__arrow {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid #c9d1dd; color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s;
}
.audience a:hover .audience__arrow { background: var(--blue); border-color: var(--blue); color: #fff; }
.audience a:hover .ico { transform: translate(2px, -2px); }

/* ---------- Fragen ---------- */

.faq { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq__hint { margin-top: 22px; color: #3b4a61; }
.faq__hint a { color: var(--ink); font-weight: 500; border-bottom: 1.5px solid currentColor; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.28rem); letter-spacing: -0.02em; word-spacing: .06em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat,
    var(--bg-soft);
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(#fff, #fff) center / 12px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 12px no-repeat,
    var(--blue);
}
.faq details p { max-width: 40em; padding: 0 60px 26px 0; color: #3b4a61; }

/* ---------- Kontakt ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  max-width: calc(var(--max) - 2 * var(--edge));
  margin: clamp(8px, 1.5vw, 24px) var(--edge) 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft);
}
.contact__info { display: flex; flex-direction: column; padding: clamp(40px, 5vw, 76px) var(--pad); background: var(--blue); color: #fff; }
.contact__info .h2 { color: #fff; }
.contact__info .eyebrow::before { background: #fff; }
.contact__lead { max-width: 22em; margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.4; color: rgba(255, 255, 255, .92); }
.contact__data { display: grid; gap: 0; margin-top: auto; padding-top: 48px; }
.contact__data > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .35); }
.contact__data dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); padding-top: 4px; }
.contact__data dd { font-size: 1.08rem; font-weight: 500; }
.contact__data a { border-bottom: 1px solid rgba(255, 255, 255, .6); }

.form { display: grid; gap: 20px; padding: clamp(32px, 5vw, 76px) var(--pad); align-content: center; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span, .chips legend { font-size: 13.5px; font-weight: 500; color: #283547; }
.field em { font-style: normal; font-weight: 400; color: #98a2b3; margin-left: 6px; }
.field input, .field textarea {
  width: 100%; padding: 15px 16px;
  background: #fff; border: 1px solid #d5dbe5; border-radius: 6px;
  font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 77, 255, .14); }
.field.is-invalid input { border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px;
  background: #fff; border: 1px solid #d5dbe5; border-radius: 999px;
  font-size: 14.5px; color: #283547;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chips label:hover span { border-color: var(--blue); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: 6px; }
.form__note { flex: 1 1 240px; max-width: 30em; font-size: 13px; line-height: 1.45; color: var(--muted); }
.form__status { font-size: 15px; font-weight: 500; color: var(--ink); }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 14px 16px; background: #e7f6ec; border-radius: 6px; color: #0b5d2a; }
.form__status.is-error { color: #b42318; }

/* ---------- Fußzeile ---------- */

.footer { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 28px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 3vw, 40px); font-size: 15px; color: #1d2636; }
.footer__nav a:hover, .footer__bottom a:hover { color: var(--blue); }
.footer__legal { max-width: 62em; margin-top: 36px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.footer__bottom a + a { margin-left: 24px; }

/* ---------- Einblenden beim Scrollen ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in { transition: opacity .8s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }

/* ---------- Responsiv ---------- */

@media (max-width: 1100px) {
  .nav { margin-left: 28px; gap: 20px; }
  .nav__contact { margin-right: 4px; }
  .header__cta { padding: 0 18px; gap: 10px; }
  .about__head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}

/* schmale Laptops: „Kontakt" steckt bereits im Knopf daneben */
@media (min-width: 901px) and (max-width: 1020px) {
  .nav__contact { display: none; }
}

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card--navy { grid-column: 1 / -1; }
  .card { min-height: 300px; }
  .card__title { font-size: clamp(1.8rem, 4.6vw, 2.4rem); }
  .section__head, .process__head { grid-template-columns: 1fr; align-items: start; }
  .section__aside { max-width: 30em; }
  .faq { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__data { margin-top: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .logo__mark { width: 38px; }
  .logo__word { font-size: 23px; }
  .header__cta { margin-left: auto; height: 44px; padding: 0 16px; font-size: 14px; gap: 10px; }

  .burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: 8px; margin-right: -8px;
    background: none; border: 0; cursor: pointer;
  }
  .burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
  .nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 12px var(--gutter) 32px;
    background: #fff;
    font-family: var(--font-head); font-weight: 800; font-size: 2rem; letter-spacing: -0.035em; color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav a { flex: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav__contact { margin: 0; color: var(--blue); }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open body { overflow: hidden; }

  .hero { min-height: 0; }
  .hero__content { max-width: none; padding-top: 44px; padding-bottom: 8px; }
  .hero__title { font-size: clamp(2.3rem, 10.6vw, 5rem); }
  .hero__lead { font-size: 1.12rem; }
  .hero__content { order: 1; }
  .hero__mspot { order: 2; position: relative; inset: auto; padding: 44px var(--pad) 46px; }
  .hero__mbox { width: min(92%, 440px); }
  .hero__bar { order: 4; }
  .hero::after { height: 200px; }
  .hero__bar { grid-template-columns: 1fr; gap: 12px; padding: 18px 0 24px; font-size: 15px; }
  .hero__bar li, .hero__bar li:nth-child(n) { justify-content: flex-start; gap: 12px; }
  .hero__bar li + li::before { display: none; }
  .hero__bar svg { width: 22px; height: 22px; }

  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .about__photo img { aspect-ratio: 4 / 4.2; }
  .details, .values { grid-template-columns: 1fr; }
  .audience a { grid-template-columns: 40px 1fr 48px; }
  .audience p { grid-column: 2 / 4; grid-row: 2; }
  .audience__arrow { grid-row: 1; grid-column: 3; width: 46px; height: 46px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .eyebrow { font-size: 11px; letter-spacing: .18em; gap: 12px; }
  .strip { padding-block: 22px; }
  .strip__label { letter-spacing: .22em; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 280px; }
  .card--navy { min-height: 380px; }
  .card__photo { width: 72%; height: 50%; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .form__row { grid-template-columns: 1fr; }
  .btn--lg { height: 58px; padding: 0 28px; font-size: 17px; }
  .form__foot .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .contact__data > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero { position: relative; top: auto; transform: none; }
  .js .hero__content { transform: none; opacity: 1; }
  .hero__shade { display: none; }
  .js .manifest { height: auto; padding-block: clamp(56px, 7vw, 110px) clamp(24px, 3vw, 48px); }
  .js .manifest__pin { position: static; height: auto; }
  .js .manifest__foot { display: none; }
  .manifest__text .w { opacity: 1; }
}
