/* NovaX Studio – Website
   Schriften liegen lokal in /fonts (kein Google-Fonts-Abruf, DSGVO). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/Inter.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/IBMPlexMono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/IBMPlexMono-500.woff2) format("woff2"); }
@font-face { font-family: "Archivo Expanded"; font-style: normal; font-weight: 700 800; font-stretch: 125%; font-display: swap; src: url(fonts/Archivo-Expanded.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --bg-2: #f4f7f8;
  --ink: #0d0f10;
  --ink-2: #474c50;
  --ink-3: #7a8085;
  --line: #e2e7e9;
  --line-2: #eef1f2;
  --accent: #00e5f0;        /* helles, knalliges Türkis: Kopfzeile, Knöpfe, Fußzeile */
  --accent-hover: #00d2dc;
  --accent-ink: #007f88;    /* dunklere Variante für kleinen Text auf Weiß (lesbar) */
  --accent-strong: #009aa5; /* für große Überschriften auf Weiß */
  --accent-wash: #dcfbfd;
  --dark: #0d0f10;
  --dark-2: #191c1e;
  --dark-line: #2a2e31;
  --green: #2f9e66;

  /* Apple-Geräte zeigen die eingebaute Apple-Schrift (SF Pro), alle anderen Inter */
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --brand: "Archivo Expanded", var(--sans);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografie ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.022em; margin: 0; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; }
h2 em, h1 em { font-style: normal; color: var(--accent-strong); }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
p { margin: 0 0 1em; }

/* ---------- Marke ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-nova { font-family: var(--brand); font-stretch: 125%; font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand-studio { font-family: var(--mono); font-size: 10px; letter-spacing: .4em; padding-left: 12px; border-left: 1px solid currentColor; opacity: .75; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--ink);
  padding: 13px 20px 13px 22px;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover { background: var(--accent-hover); box-shadow: 0 8px 22px -10px rgba(0,229,240,.9); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #24282b; box-shadow: none; }
.btn.small { padding: 9px 14px 9px 16px; font-size: 14px; }
.link-u {
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.link-u:hover { color: var(--accent-ink); background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- Kopfzeile (Türkis-Blau) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--accent);
  color: var(--ink);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(13,15,16,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; transition: height .3s var(--ease); }
.site-header .header-inner { max-width: none; padding: 0 clamp(16px, 2.4vw, 32px); }
.logo { display: block; height: 30px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .logo { height: 26px; }
.footer-brand .logo { height: 34px; }
.site-header.scrolled .header-inner { height: 58px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 14.5px; font-weight: 500; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--ink); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.site-header .btn { background: var(--ink); color: #fff; }
.site-header .btn:hover { background: #24282b; box-shadow: none; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero mit Bannerbild (Text links · Box rechts) ---------- */
/* Abstand oben = 80 % des vorherigen sichtbaren Abstands zur Kopfzeile (Wunsch vom 05.10.) */
.hero { position: relative; overflow: hidden; color: #fff; background: #0b0d0f; padding: clamp(40px, calc(16.25vw - 146px), 99px) 0 clamp(48px, 5vw, 80px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #0b0d0f url(img/banner-raum.webp) no-repeat center center;
  background-size: cover;
  transform: scale(1.05); transition: transform 9s cubic-bezier(.1,.6,.2,1);
}
.loaded .hero-bg { transform: scale(1); }
/* Abdunkeln links für den Text, rechts heller, damit der Raum sichtbar bleibt */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(9,11,13,.86) 0%, rgba(9,11,13,.74) 38%, rgba(9,11,13,.42) 68%, rgba(9,11,13,.3) 100%); }
.hero > .wrap { position: relative; z-index: 2; max-width: 1360px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(420px, 38vw, 560px); gap: clamp(40px, 6vw, 110px); align-items: center; }
.hero-copy { max-width: 560px; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
/* Text-Block senkrecht mittig zur Box (ohne die Bildunterschrift darunter) */
.hero-grid > .hero-panel { align-self: start; }
.hero-grid > .hero-copy { align-self: start; margin-top: var(--copy-offset, 0px); }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin: 16px 0 18px; font-weight: 700; }
.hero h1 em { color: var(--accent); }
.hero h1 .line { display: block; overflow: hidden; overflow-x: visible; overflow-y: clip; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.loaded .hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.hero h1 .line:nth-child(3) > span { transition-delay: .2s; }
.hero .lead { color: rgba(255,255,255,.88); font-size: clamp(16px, 1.3vw, 18px); margin-bottom: 26px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero .link-u { color: #fff; }
.hero .link-u:hover { color: var(--accent); }
.hero-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: rgba(255,255,255,.82); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.hero .panel-caption { color: rgba(255,255,255,.65); margin: 10px 0 0; line-height: 19px; }
/* Großer Bildschirm: Abstand oben 20 % kleiner als vorher, unten genauso groß wie oben,
   damit Text und Box genau in der Mitte zwischen Kopfzeile und Bannerende stehen.
   29 px = Bildunterschrift unter der Box (10 px Abstand + 19 px Zeile). */
@media (min-width: 1101px) {
  .hero { --hero-pt: clamp(32px, calc(13vw - 116.8px), 79.2px); padding: var(--hero-pt) 0 calc(var(--hero-pt) - 29px); }
}

/* Tablet: Text oben, Box darunter, Bild bleibt im Hintergrund */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: 0; }
  .hero-copy { max-width: 640px; }
  .hero-panel { max-width: 600px; }
  .hero::after { background: linear-gradient(180deg, rgba(9,11,13,.78) 0%, rgba(9,11,13,.62) 100%); }
}
/* Handy: ohne Bild, Text direkt unter der Kopfzeile, darunter die Box */
@media (max-width: 700px) {
  .hero { padding: 28px 0 44px; }
  .hero-bg { display: none; }
  .hero::after { display: none; }
  .hero > .wrap { margin-top: 0; }
  .hero-grid { gap: 32px; }
  .hero-copy { text-shadow: none; }
  .hero h1 { margin: 12px 0 14px; }
  .hero .lead { margin-bottom: 20px; }
  .hero-cta { gap: 14px 20px; }
  .hero-facts { margin-top: 20px; }
}
}

/* Freigabe-Panel (Beispielansicht) */
.hero-panel { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .4s, transform 1s var(--ease) .4s; }
.loaded .hero-panel, .no-js .hero-panel { opacity: 1; transform: none; }
.approvals {
  position: relative;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px -28px rgba(13,15,16,.3), 0 4px 14px -8px rgba(13,15,16,.1);
  overflow: hidden;
}
.ap-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; background: var(--bg-2); }
.ap-greet { font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1.25; }
.ap-date { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 3px; letter-spacing: .03em; }
.ap-count { font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--accent-wash); border: 1px solid #a8f1f6; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.ap-list { list-style: none; margin: 0; padding: 8px 10px 10px; height: 352px; position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.ap-item {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 12px; border-radius: 12px; margin-bottom: 4px;
  transition: opacity .5s var(--ease), transform .6s var(--ease), background .4s, max-height .6s var(--ease), padding .6s var(--ease), margin .6s var(--ease);
  max-height: 110px;
}
.ap-item.enter { opacity: 0; transform: translateY(16px); }
.ap-item.active { background: var(--bg-2); }
.ap-item.leave { opacity: 0; transform: translateX(30px); max-height: 0; padding-top: 0; padding-bottom: 0; margin: 0; }
.ap-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-2); }
.ap-icon svg { width: 19px; height: 19px; }
.ap-kind { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.ap-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.ap-note { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.ap-actions { display: flex; gap: 5px; }
.ap-btn { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; transition: all .25s; }
.ap-btn.yes { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.ap-btn.pressed { transform: scale(.9); background: var(--accent-hover); }
.ap-done { display: none; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--accent-ink); white-space: nowrap; }
.ap-item.approved .ap-actions { display: none; }
.ap-item.approved .ap-done { display: inline-flex; }
.ap-item.approved .ap-icon { background: var(--accent-wash); color: var(--accent-ink); }
.ap-foot { border-top: 1px solid var(--line-2); padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-3); }
.ap-foot strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ap-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; }
.ap-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,158,102,.45); } 70% { box-shadow: 0 0 0 6px rgba(47,158,102,0); } }
.cursor { position: absolute; top: 0; left: 0; width: 24px; height: 24px; pointer-events: none; z-index: 5; transition: transform 1.6s var(--ease), opacity .4s; opacity: 0; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.cursor.show { opacity: 1; }
.panel-caption { font-size: 12px; color: var(--ink-3); margin-top: 10px; text-align: center; }

/* ---------- Laufband ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee-track span { font-weight: 700; letter-spacing: -.03em; font-size: clamp(24px, 2.8vw, 38px); line-height: 1; padding-right: .9em; white-space: nowrap; display: inline-flex; align-items: center; gap: .9em; }
.marquee-track span::after { content: ""; width: .3em; height: .3em; border-radius: 3px; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
section { position: relative; }
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section.tint { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin: 0; }

/* Probleme */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.sticky { position: sticky; top: 100px; align-self: start; }
.sticky h2 { margin: 14px 0 18px; }
.leaks { list-style: none; margin: 0; padding: 0; }
.leak { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0 19px; position: relative; }
.leak::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.leak.in::before { transform: none; }
.leak-no { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent-ink); padding-top: 3px; }
.leak h3 { margin-bottom: 4px; }
.leak p { color: var(--ink-2); margin: 0; font-size: 15px; max-width: 36em; }
.note { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--accent-wash); font-weight: 600; font-size: 16px; line-height: 1.45; }

/* Leistungen: auf einen Blick */
.offers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: stretch; }
.offer { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; background: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.offer:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(13,15,16,.35); }
.offer.feature { background: var(--dark); color: #fff; border-color: var(--dark); }
.offer-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.offer.feature .offer-tag { color: #9aa1a6; }
.offer-tag .pill { color: var(--ink); background: var(--accent); padding: 3px 9px; border-radius: 6px; font-weight: 500; }
.offer h3 { font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.03em; margin: 14px 0 4px; }
.offer .claim { font-size: 17px; font-weight: 600; color: var(--accent-ink); margin-bottom: 18px; }
/* Workflow-Bild füllt die Höhe, damit beide Pakete gleich hoch und ohne Lücke sind */
.offer:not(.feature) .flow { flex: 1; align-content: center; }
.offer.feature .claim { color: var(--accent); }

/* Workflow: Ablauf als Bild */
.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 10px; padding: 22px 18px; border-radius: 14px; background: var(--bg-2); margin-bottom: 14px; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.flow-step svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.flow-step.ki b { width: 58px; height: 58px; border-radius: 16px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-size: 17px; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(0,229,240,.9); }
.flow-line { height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; margin-bottom: 22px; }
.flow-line i { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--accent-strong); animation: flow 2.2s linear infinite; }
.flow-line:nth-of-type(4) i { animation-delay: 1.1s; }
@keyframes flow { to { left: 100%; } }

/* KI-Betriebssystem: anklickbare Bausteine */
.tiles-hint { display: inline-flex; align-items: center; gap: 8px; margin: -8px 0 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
.tiles-hint .hand { display: inline-block; animation: tap 1.6s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.tiles.six li { padding: 0; background: none; border: 0; }
.tile-btn { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 13px 12px; border-radius: 14px; background: var(--dark-2); border: 1px solid var(--dark-line); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; text-align: left; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.tile-btn svg { width: 26px; height: 26px; color: var(--accent); }
.tile-btn .plus { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #3a4045; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.tile-btn .plus::before, .tile-btn .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.6px; background: #cfd3d6; transform: translate(-50%, -50%); border-radius: 2px; }
.tile-btn .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.tile-btn:hover { transform: translateY(-3px); border-color: var(--accent); background: #13292c; }
.tile-btn:hover .plus { border-color: var(--accent); }
.tile-btn.lit { border-color: var(--accent); background: #0f2a2d; }
.tile-btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }
.tile-btn.is-active svg { color: var(--ink); }
.tile-btn.is-active .plus { background: var(--ink); border-color: var(--ink); transform: rotate(45deg); }
.tile-btn.is-active .plus::before, .tile-btn.is-active .plus::after { background: var(--accent); }
.os-detail { min-height: 118px; margin: -8px 0 16px; padding: 15px 18px; border-radius: 14px; background: #121517; border: 1px dashed #343a3f; }
.os-detail.filled { border-style: solid; border-color: var(--dark-line); }
.os-detail-inner { transition: opacity .25s, transform .3s var(--ease); }
.os-detail-inner.out { opacity: 0; transform: translateY(6px); }
.os-empty { margin: 0; color: #a5abb0; font-size: 14.5px; }
.os-detail h4 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.01em; }
.os-detail p { margin: 0; color: #c3c8cc; font-size: 14.5px; }
.os-detail .ex { margin-top: 10px; color: #fff; font-size: 14px; }
.os-detail .ex b { color: var(--accent); font-weight: 600; }
.os-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: #9aa1a6; }
.os-next { color: var(--accent); font-family: var(--sans); font-weight: 600; font-size: 14px; }
.os-next:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Kacheln mit Symbol und einem Wort */
.tiles { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 14px; border-radius: 14px; background: var(--bg-2); font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: background .35s, transform .35s var(--ease); }
.tiles li svg { width: 26px; height: 26px; color: var(--accent-strong); }
.offer.feature .tiles li { background: var(--dark-2); border: 1px solid var(--dark-line); }
.offer.feature .tiles li svg { color: var(--accent); }
.tiles li:hover, .tiles li.lit { transform: translateY(-2px); }
.offer.feature .tiles li.lit { border-color: var(--accent); background: #0f2a2d; }
.offer-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); }
.offer.feature .offer-foot { border-top-color: var(--dark-line); color: #a5abb0; }
.offer-foot span { display: inline-flex; gap: 7px; align-items: center; }
.offer-foot span::before { content: "✓"; color: var(--accent-ink); font-weight: 700; }
.offer.feature .offer-foot span::before { color: var(--accent); }

/* Ampel */
.ampel-wrap { background: var(--dark); color: #fff; border-radius: 22px; padding: clamp(26px, 3.6vw, 44px); overflow: hidden; }
.ampel-wrap h2 em { color: var(--accent); }
.ampel-wrap .lead { color: #b8bdc1; }
.ampel-wrap .eyebrow { color: var(--accent); }
.ampel-ticker { margin: 26px 0 14px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: #9aa1a6; min-height: 32px; }
.ampel-ticker .task { color: #fff; background: var(--dark-2); border: 1px solid var(--dark-line); padding: 6px 11px; border-radius: 8px; transition: opacity .35s, transform .35s var(--ease); }
.ampel-ticker .task.out { opacity: 0; transform: translateY(8px); }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lane { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; min-height: 238px; transition: border-color .4s; }
.lane.hit { border-color: var(--c); }
.lane-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.lamp { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.lane h3 { font-size: 20px; }
.lane > p { color: #a5abb0; font-size: 14px; margin-bottom: 12px; }
.lane-items { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.lane-items li { font-size: 13.5px; padding: 8px 11px; border-radius: 8px; background: #23272a; border-left: 2px solid var(--c); animation: drop .6s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-12px) scale(.98); } }
.lane.green { --c: #3fb27a; } .lane.amber { --c: #e0a23a; } .lane.red { --c: #e06a52; }
.ampel-note { margin: 18px 0 0; font-size: 15px; color: #cfd3d6; }
.ampel-note b { color: #fff; }

/* Prototyp */
.proto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.proto h2 { margin: 14px 0 18px; }
.frame { border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(13,15,16,.35); transform: rotate(-1deg); transition: transform .8s var(--ease); }
.frame:hover { transform: rotate(0); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.frame-body { display: grid; grid-template-columns: 112px 1fr; min-height: 260px; }
.frame-side { border-right: 1px solid var(--line-2); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.frame-logo { width: 86px; height: auto; margin: 2px 0 12px 4px; }
.frame-side span { padding: 5px 8px; border-radius: 6px; }
.frame-side span.on { background: var(--accent-wash); color: var(--ink); font-weight: 600; }
.frame-main { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.kpi { border: 1px solid var(--line-2); border-radius: 9px; padding: 10px; }
.kpi small { display: block; font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.rows { grid-column: 1 / -1; border: 1px solid var(--line-2); border-radius: 9px; padding: 4px 11px; font-size: 12.5px; }
.rows div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); }
.rows div:first-child { border-top: 0; }
.rows em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: #b77a12; }
.rows em.ok { color: var(--accent-ink); }

/* Ablauf: waagerecht mit Fortschrittslinie */
.steps { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line); border-radius: 2px; }
.steps-line i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--accent); border-radius: 2px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; }
.step { position: relative; }
.step-dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: 18px; transition: background .45s, border-color .45s, color .45s; }
.step.reached .step-dot { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.step-meta { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* Branchen: 2 × 2 */
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.branch { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; position: relative; overflow: hidden; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.branch::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.branch:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -28px rgba(13,15,16,.35); }
.branch:hover::before { transform: scaleY(1); }
.branch-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.branch h3 { font-size: 21px; }
.branch small { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .03em; }
.branch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.branch li { padding-left: 20px; position: relative; color: var(--ink-2); font-size: 14.5px; }
.branch li::before { content: "→"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.branches-note { margin-top: 18px; color: var(--ink-2); font-size: 15px; }

/* Datenschutz */
.privacy { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.privacy div { background: var(--bg-2); border-radius: 14px; padding: 20px 18px; transition: background .3s, transform .45s var(--ease); }
.privacy div:hover { background: var(--accent-wash); transform: translateY(-3px); }
.privacy .n { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }
.privacy h3 { font-size: 16.5px; margin: 14px 0 6px; }
.privacy p { color: var(--ink-2); font-size: 14px; margin: 0; line-height: 1.5; }

/* Über uns */
.about { max-width: 900px; }
.about-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.about-mono { width: 64px; height: 64px; border-radius: 14px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: var(--brand); font-stretch: 125%; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.about-card dl { margin: 0; display: grid; gap: 10px; }
.about-card dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.about-card dd { margin: 1px 0 0; font-size: 15px; font-weight: 500; }
blockquote { margin: 14px 0 20px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; padding-left: 18px; border-left: 4px solid var(--accent); }
.about-text p { color: var(--ink-2); max-width: 44em; font-size: 15.5px; }
.about-text p strong { color: var(--ink); font-weight: 700; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-weight: 600; font-size: 17px; letter-spacing: -.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq .pm { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--bg-2); position: relative; transition: background .3s; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] .pm { background: var(--accent); color: var(--ink); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { overflow: hidden; }
.faq .answer p { color: var(--ink-2); max-width: 46em; padding-bottom: 18px; margin: 0; font-size: 15.5px; }

/* ---------- Fußzeile (Türkis-Blau, groß) ---------- */
.site-footer { background: var(--accent); color: var(--ink); padding: clamp(48px, 6vw, 72px) 0 28px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.footer-brand .brand-nova { font-size: 22px; }
.footer-brand p { margin: 16px 0 20px; max-width: 24em; line-height: 1.55; }
.site-footer h4 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 14px; opacity: .7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a, .footer-bottom a { position: relative; }
.site-footer ul a::after, .footer-bottom a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.site-footer ul a:hover::after, .footer-bottom a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-meta { margin-top: 10px; font-size: 13.5px; line-height: 1.55; }
.footer-trust { margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(13,15,16,.18); border-bottom: 1px solid rgba(13,15,16,.18); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13.5px; font-weight: 500; }
.footer-trust span { display: inline-flex; align-items: center; gap: 8px; }
.footer-trust span::before { content: "✓"; font-weight: 800; }
.footer-bottom { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.to-top span { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--accent); display: grid; place-items: center; transition: transform .3s var(--ease); }
.to-top:hover span { transform: translateY(-3px); }

.cookie-open { font: inherit; font-size: 13px; line-height: inherit; color: inherit; padding: 0; cursor: pointer; }
.cookie-open:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cookie-Banner ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 200; width: min(440px, calc(100vw - 40px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(13,15,16,.45); padding: 20px 20px 18px; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .45s var(--ease); }
.cookie.show { opacity: 1; transform: none; }
.cookie h2 { font-size: 17px; letter-spacing: -.01em; margin: 0 0 6px; }
.cookie p { margin: 0 0 14px; color: var(--ink-2); }
.cookie p a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions button { font: inherit; font-weight: 600; font-size: 14px; padding: 11px 12px; border-radius: 10px; cursor: pointer; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); transition: background .2s; }
.cookie-actions .c-accept { background: var(--accent); border-color: var(--accent); }
.cookie-actions .c-accept:hover { background: var(--accent-hover); }
.cookie-actions .c-reject:hover { background: var(--bg-2); }
.cookie-more { display: inline-block; margin-top: 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-prefs { display: none; margin: 4px 0 14px; border-top: 1px solid var(--line-2); }
.cookie.open .cookie-prefs { display: block; }
.cookie-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.cookie-row b { display: block; font-size: 14px; }
.cookie-row small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.switch { position: relative; flex: none; width: 42px; height: 24px; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd5d8; transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--accent-strong); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cookie .c-save { display: none; width: 100%; margin-top: 8px; }
.cookie.open .c-save { display: block; }
@media (max-width: 600px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 16px; }
}

/* Rechtstexte */
.legal { padding: clamp(44px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.04em; margin: 16px 0 34px; font-weight: 800; }
.legal h2 { font-size: 20px; line-height: 1.3; margin: 34px 0 10px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; margin-bottom: 1em; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-link { font: inherit; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.back { font-size: 14.5px; font-weight: 600; display: inline-flex; gap: 8px; }

/* ---------- Scroll-Einblendungen ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
.br-m { display: none; }
@media (max-width: 1080px) {
  .privacy { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  .nav { position: fixed; inset: 58px 0 auto 0; background: var(--accent); flex-direction: column; align-items: flex-start; gap: 0; padding: 6px var(--gutter) 24px; box-shadow: 0 20px 30px -20px rgba(13,15,16,.4); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
  .nav a:not(.btn) { font-size: 22px; font-weight: 700; padding: 9px 0; }
  .nav .btn { margin-top: 14px; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-toggle { display: block; }
  .split, .section-head, .offers, .proto, .about { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .lanes { grid-template-columns: minmax(0, 1fr); }
  .lane { min-height: 0; }
  .lane-items li:nth-child(n+3) { display: none; }
  .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .steps-line { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .br-m { display: inline; }
  .hide-m { display: none; }
  .brand-studio { display: none; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .logo { height: 24px; }
  .site-header.scrolled .logo { height: 22px; }
  .ap-item { grid-template-columns: 30px 1fr; }
  .ap-actions, .ap-done { grid-column: 2; }
  .ap-head { flex-direction: column; gap: 10px; padding: 16px 16px 14px; }
  .ap-greet { font-size: 18px; }
  .ap-list { height: 430px; }
  .ap-item { grid-template-columns: 34px 1fr; max-height: 260px; }
  .tiles.three, .tiles.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles.three li:last-child { grid-column: 1 / -1; }
  .flow { padding: 16px 10px; gap: 6px; }
  .flow-step svg { width: 40px; height: 40px; padding: 9px; }
  .flow-step.ki b { width: 50px; height: 50px; }
  .branches { grid-template-columns: minmax(0, 1fr); }
  .privacy { grid-template-columns: minmax(0, 1fr); }
  .frame-body { grid-template-columns: minmax(0, 1fr); }
  .frame-side { display: none; }
  .frame-main { grid-template-columns: repeat(2, 1fr); }
  .frame-main .kpi:nth-child(3) { display: none; }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  /* Impressum, Datenschutz und Cookie-Einstellungen in einer Zeile, „Nach oben“ darunter */
  .footer-bottom nav { gap: 8px 14px; font-size: 12.5px; }
  .footer-bottom nav .cookie-open { font-size: 12.5px; }
  .footer-bottom nav .to-top { flex-basis: 100%; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .marquee-track { animation: none; }
  .reveal, .hero-panel { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}

/* Logo-X: Türkis auf Weiß, Weiß auf Türkis */
.brand-nova .x { color: var(--accent); }
.site-header .brand-nova .x, .site-footer .brand-nova .x { color: #fff; }

