/* citybites.de – Design. Eine Datei, keine externen Ressourcen. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

@property --lift { syntax: "<length>"; inherits: true; initial-value: 30px; }

/* ------------------------------------------------------------ Grundwerte */
:root {
  --red: #e40613;
  --red-soft: #ff4350;
  --ok: #19a974;
  --paper: #f8f6f1;
  --paper-2: #f0ede5;
  --white: #ffffff;
  --ink: #151515;
  --night: #151517;
  --night-2: #1d1d20;
  --night-3: #26262a;

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #62615d;
  --line: rgba(21, 21, 21, .11);
  --card: var(--white);
  --em: var(--red);

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --r: 18px;
  --r-lg: 28px;
  --gut: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.dark {
  --bg: var(--night);
  --fg: #f4f1ea;
  --muted: #a3a29c;
  --line: rgba(255, 255, 255, .11);
  --card: var(--night-2);
  --em: var(--red-soft);
  background: var(--bg);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.container { width: min(1200px, 100% - 2 * var(--gut)); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 2 * var(--gut)); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }

/* ------------------------------------------------------------ Typografie */
.kicker, .eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.h2 em, .hero__title em, .final__title em, .punch em, .page-hero__title em, .foot__slogan em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--em); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.link { color: var(--em); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid currentColor; }
.link .icon { transition: transform .3s var(--ease); }
.link:hover .icon { transform: translateX(4px); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(228, 6, 19, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(228, 6, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(228, 6, 19, 0); } }

/* ------------------------------------------------------------ Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 550; font-size: 1rem; text-decoration: none; line-height: 1.1; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; will-change: transform; white-space: nowrap; }
.btn--red { background: var(--ink); color: #fff; box-shadow: 0 10px 26px -14px rgba(21, 21, 21, .6); }
.btn--red:hover { background: var(--red); box-shadow: 0 14px 34px -12px rgba(228, 6, 19, .6); }
.dark .btn--red { background: #fff; color: var(--ink); box-shadow: none; }
.dark .btn--red:hover { background: var(--red); color: #fff; }
.btn--ghost { border: 1px solid var(--line); color: var(--fg); background: transparent; }
.dark .btn--ghost { border-color: rgba(255, 255, 255, .24); }
.btn--ghost:hover { border-color: currentColor; }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--lg { padding: 19px 30px; font-size: 1.08rem; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }

/* ------------------------------------------------------------ Kopf */
.head { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ink); transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.head.is-stuck, .head.is-open { background: rgba(248, 246, 241, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.head__inner { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: 138px; flex: none; color: var(--ink); }
.brand .logo { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav__list { display: flex; gap: 2px; margin-inline: auto; }
.nav__link { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; color: #45443f; transition: background .2s, color .2s; }
.nav__link:hover, .nav__link[aria-current] { background: rgba(21, 21, 21, .07); color: var(--ink); }
.nav__link--hot { color: var(--ink); font-weight: 500; }
.nav__side { display: flex; gap: 18px; }
.nav__small { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; color: #5d5c57; text-decoration: none; white-space: nowrap; }
.nav__small:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(21, 21, 21, .2); position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .nav__side { display: none; } }
@media (max-width: 900px) {
  .head__cta { margin-left: auto; }
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(21, 21, 21, .3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s; max-height: calc(100dvh - 76px); overflow: auto; }
  .head.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; margin: 0; }
  .nav__link { font-size: 1.7rem; font-family: var(--serif); padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__side { display: flex; flex-direction: column; gap: 14px; padding: 20px 6px 0; }
  .nav__small { font-size: 1rem; }
}
@media (max-width: 480px) { .head__cta { display: none; } .burger { margin-left: auto; } }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; padding: clamp(118px, 15vh, 160px) 0 clamp(56px, 8vh, 96px); overflow: hidden; isolation: isolate; background: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(21, 21, 21, .16) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(70% 70% at 70% 35%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 70% 35%, #000, transparent 75%); }
.hero__blob { position: absolute; z-index: -1; left: var(--hx, 72%); top: var(--hy, 40%); width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 6, 19, .13), rgba(228, 6, 19, .04) 45%, transparent 68%); pointer-events: none; transition: left 1.2s var(--ease), top 1.2s var(--ease); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 8vw, 7rem); line-height: .93; letter-spacing: -.025em; margin: 22px 0 26px; text-wrap: balance; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--k) * 90ms + 120ms); }
@keyframes rise { from { transform: translateY(105%) rotate(4deg); } }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.26rem); color: #4b4a45; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--red); }

/* Hero-Varianten */
.hv { position: relative; min-height: 540px; display: grid; align-items: center; }
.hv__panel { display: none; }
.hv__panel.is-active { display: block; animation: scrIn .6s var(--ease) both; }
.js .hv__panel { display: none; }
html[data-hv="1"] .hv__panel[data-hv-panel="1"], html[data-hv="3"] .hv__panel[data-hv-panel="3"] { display: block; animation: scrIn .6s var(--ease) both; }
.hv__cap { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }

/* Variante 1: Buero, das sich selbst erledigt */
.desk { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.desk__objs { display: grid; gap: 16px; }
.obj { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 36px -24px rgba(21, 21, 21, .45); transform: rotate(var(--r, 0deg)) translateX(var(--x, 0)); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; width: 100%; }
.obj:hover { transform: rotate(0deg) translateX(var(--x, 0)) translateY(-3px); box-shadow: 0 26px 44px -24px rgba(21, 21, 21, .5); border-color: rgba(21, 21, 21, .3); }
.obj__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--paper-2); display: grid; place-content: center; transition: background .3s, color .3s; }
.obj b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.obj small { display: block; color: var(--muted); font-size: .84rem; }
.obj__badge { position: absolute; right: -8px; top: -9px; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--red); color: #fff; font-family: var(--mono); font-size: .74rem; display: grid; place-content: center; box-shadow: 0 6px 14px -4px rgba(228, 6, 19, .6); }
.obj.is-busy { border-color: var(--red); animation: wiggle .5s 2; }
.obj.is-busy .obj__icon { background: var(--red); color: #fff; }
@keyframes wiggle { 25% { transform: rotate(calc(var(--r, 0deg) - 2.5deg)) translateX(var(--x, 0)); } 75% { transform: rotate(calc(var(--r, 0deg) + 2.5deg)) translateX(var(--x, 0)); } }
.tray { background: var(--ink); color: #f4f1ea; border-radius: 26px; padding: 22px; display: grid; gap: 14px; align-content: start; min-height: 440px; box-shadow: 0 40px 70px -40px rgba(21, 21, 21, .8); position: relative; }
.tray__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 14px; }
.tray__head span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #a3a29c; }
.tray__head b { font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: .8; font-variant-numeric: tabular-nums; }
.tray__list { display: grid; gap: 8px; align-content: start; min-height: 262px; }
.tray__item { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: .9rem; line-height: 1.3; animation: drop .55s var(--ease) both; }
.tray__item::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #3ddc97; color: #06301f; display: grid; place-content: center; font-size: .76rem; font-weight: 700; }
.tray__item time { font-family: var(--mono); font-size: .68rem; color: #8f8e88; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.tray__team { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: #a3a29c; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.tray__team i { width: 9px; height: 9px; border-radius: 50%; background: #f5b83d; flex: none; }
.fly { position: fixed; z-index: 95; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(228, 6, 19, .18); pointer-events: none; }

/* Variante 3: Selbst ausprobieren */
.try { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 40px 70px -44px rgba(21, 21, 21, .5); display: grid; gap: 20px; }
.try__q { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; }
.try__picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.try__pick { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font-weight: 500; text-align: left; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.try__pick:hover { transform: translateY(-2px); border-color: rgba(21, 21, 21, .35); }
.try__pick .icon { color: var(--red); }
.try__pick.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.try__pick.is-active .icon { color: #fff; }
.try__flow { position: relative; display: grid; gap: 8px; padding-left: 26px; min-height: 236px; align-content: start; }
.try__flow::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.try__flow::after { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--red); transform-origin: 50% 0; animation: grow 2.6s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.try__step { position: relative; padding: 11px 14px; border-radius: 13px; background: var(--paper); font-size: .96rem; animation: scrIn .5s var(--ease) both; animation-delay: calc(var(--k) * .55s + .1s); }
.try__step::before { content: ""; position: absolute; left: -23px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
.try__step small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.try__step--me { background: #e8f6ef; font-weight: 600; }
.try__step--me::before { background: var(--ok); } .try__step--me small { color: #0d7a52; }
.try__more { justify-self: start; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hv { min-height: 0; margin-top: 8px; }
}
@media (max-width: 560px) {
  .desk { grid-template-columns: 1fr; }
  .desk__objs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .obj { --r: 0deg !important; --x: 0 !important; grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .obj__icon { width: 38px; height: 38px; }
  .tray { min-height: 0; } .tray__list { min-height: 210px; }
  .try__picks { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ Laufband */
.band { background: var(--red); color: #fff; overflow: hidden; padding: 15px 0; }
.band__track, .voices__row { display: flex; width: max-content; }
.band__track > * { flex: none; }
.band__track span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.005em; padding: 0 22px; white-space: nowrap; }
.band__track i { width: 8px; height: 8px; border-radius: 50%; background: #fff; align-self: center; opacity: .7; }
.is-marquee { animation: marquee var(--dur, 40s) linear infinite; }
.is-marquee[data-dir="-1"] { animation-direction: reverse; }
.is-marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ Abschnitte */
.sec { padding: clamp(72px, 11vw, 140px) 0; position: relative; background: var(--bg); color: var(--fg); }
.sec--tint { --bg: var(--paper-2); }
.sec--tight { padding: clamp(48px, 7vw, 84px) 0; }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 900px; }

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

/* Alltag */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 28px; transform-style: preserve-3d; transition: box-shadow .3s, border-color .3s; }
.pain:hover { box-shadow: 0 24px 50px -28px rgba(16, 16, 18, .4); border-color: rgba(16, 16, 18, .28); }
.pain__time { font-family: var(--mono); font-size: .8rem; color: var(--red); letter-spacing: .04em; }
.pain__icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(228, 6, 19, .09); color: var(--red); display: grid; place-content: center; margin: 18px 0 20px; }
.pain h3 { font-family: var(--display); font-weight: 600; font-size: 1.28rem; line-height: 1.18; letter-spacing: -.015em; margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: .97rem; }
.pain { overflow: hidden; cursor: pointer; min-height: 262px; }
.pain__hint { position: absolute; right: 18px; top: 24px; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pain__fix { position: absolute; inset: 0; background: var(--ink); color: #fff; padding: 26px 24px; display: grid; align-content: center; gap: 12px; transform: translateY(101%); transition: transform .55s var(--ease); }
.pain__fix span { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #3ddc97; }
.pain__fix b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.pain__fix small { color: #b9b7b0; font-size: .93rem; line-height: 1.45; }
.pain.is-flipped .pain__fix { transform: none; }
@media (hover: hover) { .pain:hover .pain__fix { transform: none; } }
.punch { margin-top: clamp(40px, 6vw, 72px); font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.punch { max-width: 900px; }
@media (max-width: 1000px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

/* Stufen */
.levels { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.levels__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.levels__tab { padding: 20px 22px; text-align: left; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.7vw, 1.3rem); letter-spacing: -.01em; color: var(--muted); border-right: 1px solid var(--line); position: relative; transition: color .25s, background .25s; }
.levels__tab:last-child { border-right: 0; }
.levels__tab span { display: block; font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.levels__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.levels__tab.is-active { color: var(--ink); background: #fff; }
.levels__tab.is-active::after { transform: scaleX(1); }
.levels__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); align-items: center; }
.levels__steps { display: grid; gap: 10px; counter-reset: s; }
.levels__steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: background .45s var(--ease), border-color .45s, color .45s, transform .45s var(--ease); transition-delay: calc(var(--n, 0) * 60ms); }
.levels__steps b { font-weight: 550; flex: 1; }
.levels__steps li::after { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; content: "Mensch"; color: var(--muted); }
.who { width: 30px; height: 30px; border-radius: 50%; flex: none; background: #c9c5ba; position: relative; transition: background .45s; }
.who::before { content: counter(s); position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--mono); font-size: .78rem; color: #fff; }
.levels__steps li[data-who="ki"] { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateX(10px); }
.levels__steps li[data-who="ki"] .who { background: var(--red); }
.levels__steps li[data-who="ki"]::after { content: "KI"; color: var(--red-soft); }
.levels__steps li[data-who="frei"] { background: #e8f6ef; border-color: var(--ok); }
.levels__steps li[data-who="frei"] .who { background: var(--ok); }
.levels__steps li[data-who="frei"]::after { content: "Ihre Freigabe"; color: #0d7a52; }
.levels__count { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--muted); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.levels__count strong { font-family: var(--display); font-size: clamp(4rem, 9vw, 7rem); line-height: .85; letter-spacing: -.05em; color: var(--red); font-weight: 650; }
.levels__info h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 12px; }
.levels__info p { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: .85rem; color: var(--muted); }
.legend__i { display: inline-flex; align-items: center; gap: 8px; }
.legend__i::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #c9c5ba; }
.legend__i--ki::before { background: var(--red); } .legend__i--frei::before { background: var(--ok); }
@media (max-width: 860px) { .levels__body { grid-template-columns: 1fr; } .levels__info { order: -1; } .levels__tab { padding: 14px 12px; } }

/* ------------------------------------------------------------ Simulator */
.sim-sec { overflow: hidden; }
.sim-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 85% 10%, rgba(255, 255, 255, .05), transparent 70%); pointer-events: none; }
.sim { position: relative; }
.sim__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.sim__tab { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .95rem; transition: background .25s, color .25s, border-color .25s; }
.sim__tab:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.sim__tab.is-active { background: #f4f1ea; color: var(--ink); border-color: #f4f1ea; }
.sim__main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.sim__rail { position: relative; padding-left: 4px; }
.sim__line { position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: rgba(255, 255, 255, .1); }
.sim__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--red-soft), var(--red)); transform: scaleY(0); transform-origin: 50% 0; transition: transform .7s var(--ease); box-shadow: 0 0 12px var(--red); }
.sim__steps { display: grid; gap: 6px; position: relative; }
.sim__step { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 10px 14px 10px 0; border-radius: 14px; text-align: left; width: 100%; align-items: start; opacity: .5; transition: opacity .35s, background .35s; }
.sim__step:hover { opacity: .85; }
.sim__step.is-done { opacity: .75; }
.sim__step.is-active { opacity: 1; background: rgba(255, 255, 255, .05); }
.sim__dot { width: 36px; height: 36px; border-radius: 50%; background: var(--night-3); border: 1px solid rgba(255, 255, 255, .16); display: grid; place-content: center; font-family: var(--mono); font-size: .8rem; position: relative; z-index: 1; transition: background .35s, border-color .35s, box-shadow .35s; }
.sim__step.is-done .sim__dot, .sim__step.is-active .sim__dot { background: var(--red); border-color: var(--red); }
.sim__step.is-active .sim__dot { box-shadow: 0 0 0 6px rgba(228, 6, 19, .2), 0 0 26px rgba(228, 6, 19, .7); }
.sim__step[data-who="mensch"].is-active .sim__dot, .sim__step[data-who="mensch"].is-done .sim__dot { background: #3ddc97; border-color: #3ddc97; color: #06301f; box-shadow: 0 0 0 6px rgba(61, 220, 151, .16); }
.sim__step b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.2; padding-top: 6px; }
.sim__step small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .5s; }
.sim__step.is-active small { max-height: 9em; margin-top: 5px; }
.sim__tag { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-soft); }
.sim__step[data-who="mensch"] .sim__tag { color: #3ddc97; }
.sim__step[data-who="system"] .sim__tag { color: #9f9d96; }

.sim__stage { border-radius: var(--r-lg); background: linear-gradient(180deg, #1b1b20, #121215); border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; min-height: 470px; box-shadow: 0 40px 90px -40px #000; overflow: hidden; }
.sim__bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sim__dots { display: flex; gap: 6px; } .sim__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.sim__who { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: auto; display: inline-flex; align-items: center; gap: 8px; }
.sim__who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sim__who[data-who="ki"] { color: var(--red-soft); } .sim__who[data-who="mensch"] { color: #3ddc97; }
.sim__play { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: .9rem; font-weight: 550; transition: background .2s, transform .2s; }
.sim__play:hover { background: #ff1826; transform: scale(1.04); }
.sim__play.is-playing { background: rgba(255, 255, 255, .12); }
.sim__screen { flex: 1; padding: clamp(18px, 3vw, 30px); display: grid; align-content: center; }
.sim__foot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 13px 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.sim__share b { color: #3ddc97; font-weight: 500; }
.sim__note { margin-top: 30px; color: var(--muted); max-width: 70ch; }
.sim__nojs { color: var(--muted); margin-top: 16px; }

/* Bildschirm-Bausteine im Simulator */
.scr { display: grid; gap: 12px; animation: scrIn .55s var(--ease) both; }
@keyframes scrIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.scr > * { animation: scrIn .5s var(--ease) both; }
.scr > *:nth-child(2) { animation-delay: .12s; } .scr > *:nth-child(3) { animation-delay: .24s; } .scr > *:nth-child(4) { animation-delay: .36s; } .scr > *:nth-child(5) { animation-delay: .48s; }
.scr__cap { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bubble { max-width: 86%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .08); font-size: .97rem; line-height: 1.45; }
.bubble--ki { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--red); color: #fff; }
.bubble small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 3px; }
.panel { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .11); background: rgba(255, 255, 255, .04); padding: 16px 18px; display: grid; gap: 8px; }
.panel--paper { background: #f6f3ec; color: var(--ink); border-color: transparent; }
.panel--paper .scr__cap { color: #6b6a66; }
.panel h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.panel p { font-size: .93rem; line-height: 1.5; }
.rowi { display: flex; align-items: center; gap: 11px; font-size: .93rem; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.panel--paper .rowi { border-color: rgba(16, 16, 18, .1); }
.rowi:first-of-type { border-top: 0; }
.rowi::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; flex: none; }
.rowi--warn::before { background: #f5b83d; } .rowi--bad::before { background: var(--red-soft); } .rowi--mute::before { background: #8d8b85; }
.rowi span { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.panel--paper .rowi span { color: #6b6a66; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); }
.tag--red { background: var(--red); border-color: var(--red); color: #fff; } .tag--ok { background: rgba(61, 220, 151, .16); border-color: #3ddc97; color: #3ddc97; }
.ring { width: 74px; height: 74px; border-radius: 50%; background: var(--red); display: grid; place-content: center; margin: 0 auto 6px; animation: ringing 1s infinite; }
.ring .icon { width: 30px; height: 30px; }
@keyframes ringing { 0%, 100% { box-shadow: 0 0 0 0 rgba(228, 6, 19, .7); } 60% { box-shadow: 0 0 0 22px rgba(228, 6, 19, 0); } }
.center { text-align: center; justify-items: center; }
.center h4 { font-size: 1.5rem; }
.approve { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: #3ddc97; color: #06301f; font-weight: 600; font-size: .93rem; justify-self: start; animation: scrIn .5s var(--ease) both, nudge 1.6s 1s infinite; }
@keyframes nudge { 50% { transform: scale(1.05); } }
.typing { display: inline-flex; gap: 4px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: typing 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .sim__main { grid-template-columns: 1fr; }
  .sim__stage { order: -1; min-height: 430px; }
  .sim__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .sim__tab { flex: none; }
}

/* ------------------------------------------------------------ Motor */
.motor { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3.4vw, 44px); display: grid; gap: clamp(22px, 3vw, 36px); }
.motor__pick { display: flex; flex-wrap: wrap; gap: 8px; }
.motor__btn { flex: 1 1 140px; text-align: left; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.motor__btn b { display: block; font-family: var(--display); font-size: 1.1rem; letter-spacing: -.01em; }
.motor__btn small { font-size: .78rem; color: var(--muted); }
.motor__btn:hover { transform: translateY(-2px); border-color: rgba(16, 16, 18, .35); }
.motor__btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.motor__btn.is-active small { color: #b9b7b0; }

.motor__map { position: relative; --eng: 190px; --gap: 54px; padding: 58px 26px 30px; }
.motor__frame { position: absolute; inset: 0; right: 0; border: 2px dashed var(--ok); border-radius: 22px; background: rgba(25, 169, 116, .06); transition: right .7s var(--ease), bottom .7s var(--ease); }
.motor__map[data-state="extern"] .motor__frame { right: calc(var(--eng) + var(--gap) / 2 + 26px); }
.motor__zone-label { position: absolute; left: 20px; top: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #0d7a52; white-space: nowrap; }
.motor__row { position: relative; display: flex; align-items: center; }
.motor__node, .motor__engine { flex: none; border-radius: 16px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 2px; justify-items: start; min-width: 150px; }
.motor__node .icon, .motor__engine .icon { width: 24px; height: 24px; margin-bottom: 8px; color: var(--red); }
.motor__node b, .motor__engine b { font-family: var(--display); font-size: 1.08rem; letter-spacing: -.01em; }
.motor__node small, .motor__engine small { font-size: .78rem; color: var(--muted); }
.motor__node--plat { background: var(--ink); color: #fff; border-color: var(--ink); }
.motor__node--plat small { color: #b9b7b0; } .motor__node--plat .icon { color: var(--red-soft); }
.motor__engine { width: var(--eng); min-width: 0; background: #fff; border: 2px solid var(--ok); transition: border-color .5s, background .5s; }
.motor__map[data-state="extern"] .motor__engine { border: 2px dashed #c98a00; background: #fff8e6; }
.motor__wire { flex: 1; height: 2px; min-width: 24px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); position: relative; opacity: .5; }
.motor__wire--2 { min-width: var(--gap); }
.motor__wire i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: wire 1.8s linear infinite; opacity: 1; }
.motor__wire--2 i { animation-delay: .9s; }
@keyframes wire { from { left: 0; } to { left: calc(100% - 10px); } }
.motor__map[data-state="extern"] .motor__wire--2 i { background: #c98a00; }
.motor__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.motor__facts > div { padding: 20px 20px 4px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.motor__facts > div:last-child { border-right: 0; margin-right: 0; }
.motor__facts dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.motor__facts dd { font-size: .98rem; line-height: 1.45; font-weight: 500; }
@media (max-width: 860px) {
  .motor__map { padding: 54px 18px 22px; --eng: 100%; }
  .motor__zone-label { left: 14px; right: 10px; font-size: .6rem; letter-spacing: .02em; white-space: normal; }
  .motor__row { flex-direction: column; align-items: stretch; }
  .motor__wire { width: 2px; height: 34px; min-width: 0; flex: none; margin-inline: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px); }
  .motor__wire i { left: -4px; top: 0; animation-name: wireV; }
  @keyframes wireV { from { top: 0; } to { top: calc(100% - 10px); } }
  .motor__wire--2 { height: 46px; }
  .motor__engine { width: 100%; }
  .motor__map[data-state="extern"] .motor__frame { right: 0; bottom: 138px; }
  .motor__facts { grid-template-columns: 1fr 1fr; }
  .motor__facts > div { border-right: 0; margin-right: 0; padding-right: 14px; }
}
@media (max-width: 480px) { .motor__facts { grid-template-columns: 1fr; } .motor__btn { flex-basis: 46%; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.trio__i { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--card); }
.trio__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(228, 6, 19, .1); color: var(--red); display: grid; place-content: center; margin-bottom: 18px; }
.dark .trio__icon { background: rgba(255, 67, 80, .14); color: var(--red-soft); }
.trio__i h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.015em; margin-bottom: 8px; }
.trio__i p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Schichten */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.stack__scene { height: 520px; display: grid; place-items: center; perspective: 1600px; }
.stack__plates { position: relative; width: 250px; height: 250px; transform: rotateX(58deg) rotateZ(-42deg); transform-style: preserve-3d; --lift: 30px; transition: --lift .6s; }
.stack.is-in .stack__plates { --lift: 50px; }
.plate { position: absolute; inset: 0; border-radius: 26px; background: #fff; border: 1px solid rgba(16, 16, 18, .22); box-shadow: -1px 1px 0 rgba(16, 16, 18, .25), -14px 14px 30px -10px rgba(16, 16, 18, .22); transform: translateZ(calc((var(--i) - 2.5) * var(--lift))); transition: transform .7s var(--ease), background .35s, color .35s, border-color .35s; display: grid; place-content: end start; padding: 18px; }
.plate span { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.plate.is-active { background: var(--red); color: #fff; border-color: var(--red); transform: translateZ(calc((var(--i) - 2.5) * var(--lift))) translateY(54px); }
.stack__list { display: grid; gap: 6px; }
.stack__item button { width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 15px 18px; border-radius: 16px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.stack__no { font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: 4px; }
.stack__item b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.015em; }
.stack__item small { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .5s; }
.stack__item.is-active button { background: var(--white); border-color: var(--line); }
.stack__item.is-active .stack__no { color: var(--red); }
.stack__item.is-active small { max-height: 8em; margin-top: 5px; }
@media (max-width: 900px) {
  .stack { grid-template-columns: 1fr; }
  .stack__scene { height: 400px; }
  .stack__plates { width: 190px; height: 190px; }
  .stack.is-in .stack__plates { --lift: 36px; }
}

/* ------------------------------------------------------------ Rechner */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__in { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 26px; align-content: center; }
.range { display: grid; gap: 12px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 500; }
.range output { font-family: var(--display); font-weight: 650; font-size: 1.5rem; color: var(--red); letter-spacing: -.02em; white-space: nowrap; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) var(--p, 50%), #d9d4c8 var(--p, 50%)); outline-offset: 8px; cursor: pointer; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--red); box-shadow: 0 4px 14px rgba(16, 16, 18, .25); transition: transform .15s; }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--red); box-shadow: 0 4px 14px rgba(16, 16, 18, .25); }
.range input:active::-webkit-slider-thumb { transform: scale(1.18); }
.range--rate { padding-top: 22px; border-top: 1px solid var(--line); }
.calc__out { background: var(--night); color: #f4f1ea; border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 18px; align-content: start; justify-items: start; position: relative; overflow: hidden; }
.calc__out::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 90% 0%, rgba(228, 6, 19, .16), transparent 70%); pointer-events: none; }
.calc__out > * { position: relative; }
.calc__label { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #a3a29c; }
.calc__big { font-family: var(--display); font-weight: 650; font-size: clamp(4.6rem, 11vw, 8.5rem); line-height: .82; letter-spacing: -.05em; display: flex; align-items: baseline; gap: 14px; font-variant-numeric: tabular-nums; }
.calc__big small { font-family: var(--body); font-weight: 400; font-size: 1.1rem; letter-spacing: 0; color: #a3a29c; }
.calc__bars { width: 100%; display: grid; gap: 9px; margin: 6px 0; }
.calc__bar { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-size: .84rem; color: #a3a29c; }
.calc__bar i { height: 9px; border-radius: 5px; background: linear-gradient(90deg, var(--red), var(--red-soft)); width: var(--w, 0%); min-width: 3px; transition: width .5s var(--ease); }
.calc__money { font-size: 1.08rem; color: #d6d4cd; } .calc__money b { color: #fff; }
.calc__fine { font-size: .78rem; color: #8b8a84; line-height: 1.5; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Weg */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: p; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.path::after { content: ""; position: absolute; left: 0; top: 27px; height: 2px; width: 100%; background: var(--red); transform: scaleX(var(--prog, 0)); transform-origin: 0 50%; }
.path__step { position: relative; padding: 0 28px 0 0; }
.path__no { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red); display: grid; place-content: center; font-family: var(--serif); font-size: 1.7rem; margin-bottom: 26px; }
.path__step h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.015em; margin-bottom: 10px; }
.path__step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: 34px; }
  .path::before, .path::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .path::after { height: 100%; transform: scaleY(var(--prog, 0)); transform-origin: 50% 0; }
  .path__step { padding: 0 0 0 82px; }
  .path__no { position: absolute; left: 0; top: -6px; margin: 0; }
}

/* ------------------------------------------------------------ Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(228, 6, 19, .13), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(228, 6, 19, .45); box-shadow: 0 26px 50px -30px rgba(16, 16, 18, .45); }
.card:hover::before { opacity: 1; }
.card__icon { width: 48px; height: 48px; border-radius: 13px; background: rgba(228, 6, 19, .09); color: var(--red); display: grid; place-content: center; margin-bottom: 10px; transition: background .3s; }
.card:hover .card__icon { background: var(--red); color: #fff; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 7px; font-weight: 550; font-size: .93rem; color: var(--red); margin-top: 8px; }
.card__more .icon { transition: transform .3s var(--ease); } .card:hover .card__more .icon { transform: translateX(5px); }
div.card:hover { transform: none; }
.dark .card__icon { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Stimmen */
.voices { overflow: hidden; }
.voices__rows { display: grid; gap: 16px; }
.voice { flex: none; width: min(430px, 82vw); margin-right: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; display: grid; gap: 12px; align-content: space-between; }
.voice__stars { color: #f0a500; letter-spacing: 3px; font-size: .95rem; }
.voice blockquote { font-size: 1.04rem; line-height: 1.5; }
.voice figcaption { font-weight: 600; font-size: .92rem; }
.voice figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }

.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num { border-top: 1px solid var(--ink); padding-top: 18px; }
.num b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6.4vw, 5rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.num span { color: var(--muted); font-size: .95rem; display: block; margin-top: 8px; max-width: 24ch; }
@media (max-width: 760px) { .nums { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }

/* ------------------------------------------------------------ Abschluss */
.final { position: relative; padding: clamp(84px, 13vw, 170px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.final__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 110%, rgba(228, 6, 19, .22), transparent 70%); }
.final__inner { display: grid; justify-items: center; gap: 26px; }
.final__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: .98; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.final__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.pick { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 1rem; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.pick:hover { transform: translateY(-2px); border-color: #fff; }
.pick.is-on { background: #f4f1ea; color: var(--ink); border-color: #f4f1ea; }
.pick.is-on .icon { color: var(--red); }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.final__fine { color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------------ Fuß */
.foot { background: #101011; color: #c9c7c0; padding: clamp(56px, 8vw, 90px) 0 30px; font-size: .95rem; }
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.brand--foot { width: 190px; margin-bottom: 20px; color: #f4f1ea; }
.foot__brand p { max-width: 36ch; color: #8f8e88; }
.foot__slogan { font-family: var(--display); font-size: 1.5rem; color: #f4f1ea !important; margin-top: 18px; letter-spacing: -.02em; }
.foot__slogan em { color: var(--red-soft); }
.foot__col { display: grid; gap: 9px; align-content: start; }
.foot__col h2 { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #77766f; margin-bottom: 8px; }
.foot__col a { text-decoration: none; display: inline-flex; align-items: center; gap: 5px; width: fit-content; transition: color .2s; }
.foot__col a:hover { color: #fff; }
.foot__col address { color: #8f8e88; margin-bottom: 6px; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 26px; font-size: .84rem; color: #77766f; }
.foot__legal { display: flex; gap: 20px; }
.foot__legal a:hover { color: #fff; }
.foot__note { margin-left: auto; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } .foot__note { margin-left: 0; } }
@media (max-width: 520px) { .foot__top { grid-template-columns: 1fr; } }

/* ============================================================ Unterseiten */
.page-hero { position: relative; background: var(--paper); color: var(--ink); padding: clamp(130px, 18vh, 190px) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -180px; top: -260px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 6, 19, .12), rgba(228, 6, 19, .03) 48%, transparent 68%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(21, 21, 21, .16) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(60% 80% at 85% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 80% at 85% 20%, #000, transparent 75%); }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: end; }
.page-hero__grid--single { grid-template-columns: 1fr; }
.breadcrumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { color: var(--red); }
.page-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7.2vw, 6rem); line-height: .95; letter-spacing: -.025em; text-wrap: balance; max-width: 15ch; }
.page-hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #4b4a45; max-width: 58ch; }
.page-hero__lead a { color: var(--red); }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__aside { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 26px; display: grid; gap: 14px; box-shadow: 0 30px 60px -44px rgba(21, 21, 21, .5); }
.page-hero__aside li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.page-hero__aside .icon { color: var(--red); margin-top: 3px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.split--wide { grid-template-columns: 1.2fr 1fr; }
.split__sticky { position: sticky; top: 110px; display: grid; gap: 18px; }
.split p + p { margin-top: 1em; }
.text { color: var(--muted); font-size: 1.05rem; }
.text strong { color: var(--fg); font-weight: 600; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } .split__sticky { position: static; } }

.checks { display: grid; gap: 2px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); font-weight: 500; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks .icon { color: var(--red); margin-top: 3px; }
.dark .checks .icon { color: var(--red-soft); }
.checks--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 700px) { .checks--2 { grid-template-columns: 1fr; } }

.person { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.person img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.person b { display: block; font-family: var(--display); font-size: 1.15rem; }
.person small { display: block; color: var(--muted); }
.person a { color: var(--em); font-weight: 500; font-size: .93rem; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 300; color: var(--red); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 72ch; }

.tabs__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs__btn { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.tabs__btn.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: grid; animation: scrIn .5s var(--ease) both; }
.no-js .tabs__panel { display: grid; margin-bottom: 20px; }
.flows { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flowcard { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--card); display: grid; gap: 14px; align-content: start; }
.flowcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.flowcard ol { display: grid; gap: 0; }
.flowcard li { position: relative; padding: 7px 0 7px 26px; font-size: .95rem; color: var(--muted); }
.flowcard li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.flowcard li::after { content: ""; position: absolute; left: 8px; top: 23px; bottom: -14px; width: 1px; background: var(--line); }
.flowcard li:last-child::after { display: none; }
.flowcard li.me::before { background: var(--ok); }
.flowcard li.me { color: var(--fg); font-weight: 500; }
@media (max-width: 900px) { .flows { grid-template-columns: 1fr; } }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--card); display: grid; gap: 10px; align-content: start; position: relative; }
.price--hot { border-color: var(--red); box-shadow: 0 30px 60px -36px rgba(228, 6, 19, .6); }
.price__badge { position: absolute; top: -12px; left: 26px; background: var(--red); color: #fff; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.price h3 { font-family: var(--display); font-size: 1.3rem; }
.price__sum { font-family: var(--display); font-weight: 650; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; }
.price__sum small { font-family: var(--body); font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price p { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lead-person { display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 4vw, 48px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); }
.lead-person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.lead-person h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.lead-person small { display: block; color: var(--muted); margin: 8px 0 16px; font-size: 1rem; }
@media (max-width: 640px) { .lead-person { grid-template-columns: 1fr; } .lead-person img { max-width: 200px; } }
.member { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.member__img { aspect-ratio: 1; background: var(--ink); color: #fff; display: grid; place-content: center; font-family: var(--display); font-size: 3rem; font-weight: 600; overflow: hidden; }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member__img img { transform: scale(1.05); }
.member__body { padding: 18px 20px 22px; }
.member b { font-family: var(--display); font-size: 1.15rem; display: block; }
.member small { color: var(--muted); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }

.bigquote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; }
.bigquote cite { display: block; margin-top: 18px; font-family: var(--body); font-style: normal; font-weight: 400; font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .93rem; }
.map { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; justify-items: start; }
.map h3 { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; }

/* Rechtstexte */
.legal { padding: clamp(48px, 7vw, 90px) 0 clamp(72px, 10vw, 120px); }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.015em; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; color: #3b3a37; }
.prose ul { list-style: disc; padding-left: 1.3em; } .prose ol { list-style: decimal; padding-left: 1.3em; }
.prose a { color: var(--red); }

/* Formular */
.form { display: grid; gap: 28px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.form legend { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: 14px; padding: 0; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.topic input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.topic--urgent input:checked + span { background: var(--red); border-color: var(--red); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; color: inherit; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--white); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(228, 6, 19, .12); }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.consent a { color: var(--red); }
.form__msg { padding: 14px 18px; border-radius: 13px; background: #fde8ea; color: #8f0410; font-weight: 500; }
.form__msg[hidden] { display: none; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 12px; }
.ccard { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
a.ccard:hover { border-color: var(--red); transform: translateX(4px); }
.ccard__icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(228, 6, 19, .09); color: var(--red); display: grid; place-content: center; }
.ccard b { display: block; font-family: var(--display); font-size: 1.1rem; }
.ccard small { color: var(--muted); }

/* ------------------------------------------------------------ Ruhe */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .is-marquee { animation: none; }
}
