/* ============================================================
   BAYERN-IT Design System v2
   Grunddesign: seraphone.de Familie (Creme, Petrol, Orange),
   aber takete: Space Grotesk, Mono-Labels, praezise Kanten.
   Farben aus dem Logo (#102835).
   ============================================================ */

:root {
  --bg: #FBFAF2;
  --bg-alt: #F3F1E4;
  --card: #FFFFFC;
  --ink: #102835;
  --petrol: #1D4052;
  --petrol-deep: #0B1D26;
  --steel: #6FA7C7;
  --steel-light: #9EBDD1;
  --orange: #ED982A;
  --orange-deep: #D97E1A;
  --orange-soft: #F5C26B;
  --gray: #5C6B74;
  --line: #E3DFCF;
  --line-soft: #EDEADB;
  --radius: 9px;
  --radius-card: 14px;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
  --shadow-card: 0 1px 2px rgba(16, 40, 53, 0.04), 0 10px 30px rgba(16, 40, 53, 0.07);
  --shadow-lift: 0 2px 4px rgba(16, 40, 53, 0.06), 0 18px 44px rgba(16, 40, 53, 0.13);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Alias-Variablen (Alt-Markup nutzt diese Namen) */
  --blue: #1D4052;
  --blue-deep: #102835;
  --cyan: #6FA7C7;
  --white: #FBFAF2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: var(--ink); }

img, svg, canvas { max-width: 100%; display: block; }

a { color: var(--petrol); text-decoration: none; }
a:hover { text-decoration: none; }
p a, li a, .acc-body a { color: var(--orange-deep); font-weight: 600; }
p a:hover, li a:hover, .acc-body a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* ---------- Mono Labels & Sektions-Nummern ---------- */
.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mono-label::before {
  content: "//";
  color: var(--orange-deep);
  opacity: 0.7;
}
.mono-label.plain::before { display: none; }

.sec-head { margin-bottom: 56px; }
.sec-head .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.sec-head .num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 12px);
}
.sec-head .num b { color: var(--orange-deep); font-weight: 600; }
.sec-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  max-width: 760px;
}
.sec-head p.lead {
  margin-top: 18px;
  font-size: 19px;
  color: var(--gray);
  max-width: 640px;
}

/* ---------- Blueprint-Raster (warm, dezent) ---------- */
.blueprint { position: relative; }
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.blueprint > * { position: relative; }

.crosshair {
  position: absolute;
  font-family: var(--font-mono);
  color: var(--line);
  font-size: 16px;
  user-select: none;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 27px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.25s var(--ease-out); font-weight: 400; }
.btn:hover .arr { transform: translateX(5px); }

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(237, 152, 42, 0.35);
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(237, 152, 42, 0.4);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--petrol); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #D8D3BF;
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }

.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 250, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(251, 250, 242, 0.95); }
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  flex: none;
}
.logo .logo-img {
  height: 32px; width: auto;
  flex: none;
}
.logo .mark {
  width: 14px; height: 14px;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
  flex: none;
  margin-right: 9px;
}
.logo em { font-style: normal; color: var(--orange-deep); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span { width: 18px; height: 2px; background: var(--ink); transition: 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 22px 0 22px;
}
.hero h1 .hl { color: var(--orange-deep); }
.hero .sub {
  font-size: 20px;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gray);
  letter-spacing: 0.04em;
}

/* Dunkler Geraete-Rahmen wie die Seraphone-Mockups */
.hero-visual {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(160deg, #1A3B4E, var(--ink) 70%);
  box-shadow: 0 24px 60px rgba(16, 40, 53, 0.35);
  overflow: hidden;
  padding: 14px;
}
.hero-visual .frame-label {
  position: relative;
  padding: 4px 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-visual .frame-label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #35C26B;
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-visual canvas { width: 100%; height: 100%; border-radius: 10px; }

/* ---------- Vertrauensleiste ---------- */
.trust {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  padding: 22px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 44px;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}
.trust-item svg { width: 16px; height: 16px; flex: none; }
.trust-item svg * { stroke: var(--orange-deep) !important; }

/* ---------- Sektionen ---------- */
.section { padding: 110px 0; position: relative; }
.section.alt { background: var(--bg-alt); }

/* Dunkle Petrol-Sektion (Seraphone-Band) */
.section.dark {
  background: linear-gradient(165deg, #16354A, var(--ink) 75%);
  color: #E8EDF0;
}
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .sec-head .num { color: rgba(255,255,255,0.45); }
.section.dark .sec-head p.lead { color: rgba(255,255,255,0.65); }

/* ---------- Karten ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(16, 40, 53, 0.25);
}
.card .corner {
  position: absolute;
  width: 10px; height: 10px;
  border-color: var(--orange);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.card .corner.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; transform: translate(4px, 4px); border-top-left-radius: 4px; }
.card .corner.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; transform: translate(-4px, -4px); border-bottom-right-radius: 4px; }
.card:hover .corner { opacity: 1; transform: translate(0, 0); }

.card .card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-deep);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 15.5px; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}
.card .card-link .arr { transition: transform 0.25s var(--ease-out); color: var(--orange-deep); }
.card:hover .card-link .arr { transform: translateX(4px); }

.card.dark-card { background: var(--ink); border-color: var(--ink); }
.card.dark-card h3 { color: #fff; }
.card.dark-card p { color: #B9C6CD; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ---------- Zielgruppen-Block ---------- */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.audience-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.audience-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding-left 0.3s var(--ease-out);
}
.audience-item:hover { background: rgba(237, 152, 42, 0.05); padding-left: 12px; }
.audience-item .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-deep);
  flex: none;
  width: 30px;
}
.audience-item b { font-family: var(--font-head); font-size: 17px; display: block; }
.audience-item span { color: var(--gray); font-size: 14.5px; }

/* ---------- Leuchtturm-Sektionen ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-split.rev > .fs-media { order: 2; }
.fs-media {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
  position: relative;
}
.fs-media.framed {
  border: none;
  border-radius: 20px;
  background: linear-gradient(160deg, #1A3B4E, var(--ink) 70%);
  padding: 14px;
  box-shadow: 0 24px 60px rgba(16, 40, 53, 0.3);
}
.fs-media.framed > * { border-radius: 10px; overflow: hidden; }
.feature-split h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 18px; }
.feature-split .desc { color: var(--gray); font-size: 18px; margin-bottom: 26px; }
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list .tick {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  border: 1.5px solid var(--orange-deep);
  border-radius: 6px;
  position: relative;
}
.check-list .tick::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 9px;
  border: solid var(--orange-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- KPI-Leiste ---------- */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
  overflow: hidden;
}
.kpi {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.kpi:last-child { border-right: none; }
.kpi .val {
  font-family: var(--font-head);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.kpi .val .suffix { color: var(--orange-deep); font-size: 0.6em; font-weight: 700; }
.kpi .lbl {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.kpi .src { margin-top: 6px; font-size: 12.5px; color: var(--gray); opacity: 0.8; }

/* ---------- Projekte ---------- */
.project-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.project-card .proj-visual {
  height: 190px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.project-card .proj-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
  background: rgba(158, 189, 209, 0.16);
  border: 1px solid rgba(29, 64, 82, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
}
.proj-org {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- CTA-Banner ---------- */
.cta-banner {
  background: linear-gradient(150deg, #1D4052 0%, var(--ink) 65%);
  border-radius: 22px;
  padding: 72px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(158,189,209,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158,189,209,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-banner::after {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237,152,42,0.22), transparent 65%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 16px; color: #fff; }
.cta-banner p { font-size: 18px; opacity: 0.85; max-width: 560px; margin-bottom: 32px; }
.cta-banner .mono-label { color: var(--orange-soft); }
.cta-banner .mono-label::before { color: var(--orange-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #B9C6CD;
  padding: 72px 0 32px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 56px;
}
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer .logo em { color: var(--orange-soft); }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7E93A0;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: #B9C6CD; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer .addr { line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #7E93A0;
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom a { color: #7E93A0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal-Animationen ---------- */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero { padding: 160px 0 70px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 20px 0 20px; max-width: 860px; }
.page-hero .sub { font-size: 20px; color: var(--gray); max-width: 660px; }

/* ---------- Tech-Detail-Blöcke ---------- */
.tech-row {
  display: grid;
  grid-template-columns: 92px 1fr 1.1fr;
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.tech-row:last-of-type { border-bottom: 1px solid var(--line); }
.tech-row .t-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange-deep);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.tech-row h3 { font-size: 24px; margin-bottom: 10px; }
.tech-row .t-what { color: var(--gray); font-size: 16px; }
.tech-row .t-result {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
}
.tech-row .t-result .r-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.tech-row .t-result ul { list-style: none; display: grid; gap: 8px; }
.tech-row .t-result li {
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.tech-row .t-result li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--orange);
}

/* ---------- Isometrische Szenen ---------- */
.iso-scene {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #FFFFFC, #F5F3E8);
  overflow: hidden;
  position: relative;
}
.iso-scene svg { width: 100%; height: auto; }
.iso-detect { opacity: 0; }
.iso-scene.play .iso-detect {
  animation: iso-pop 6s var(--ease-out) infinite;
  animation-delay: var(--dd, 0s);
}
@keyframes iso-pop {
  0%, 8% { opacity: 0; transform: translateY(6px); }
  14%, 72% { opacity: 1; transform: translateY(0); }
  82%, 100% { opacity: 0; transform: translateY(-4px); }
}
.scan-beam { animation: none; }
.iso-scene.play .scan-beam { animation: scan-sweep 6s linear infinite; }
@keyframes scan-sweep {
  0% { transform: translateX(-30%); opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(115%); opacity: 0; }
}

/* ---------- Vorschau-Bausteine (Startseite, hell) ---------- */
.dim-row { display: grid; grid-template-columns: 170px 1fr 44px; gap: 14px; align-items: center; margin-bottom: 11px; font-size: 14px; }
.dim-row .dim-bar { height: 7px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.dim-row .dim-bar i {
  display: block; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-soft));
  border-radius: 4px;
  transition: width 1.1s var(--ease-out);
}
.dim-row .dim-val { font-family: var(--font-mono); font-size: 12.5px; color: var(--gray); text-align: right; }
.saving-banner {
  background: rgba(237, 152, 42, 0.09);
  border: 1px solid rgba(237, 152, 42, 0.3);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.saving-banner .sv-num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--orange-deep); }
.saving-banner .sv-txt { font-size: 13.5px; color: var(--gray); max-width: 340px; }

/* ============================================================
   KI-READINESS-CHECK: WIZARD (dunkle Petrol-Karte)
   ============================================================ */
.wiz-shell {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 22px;
  background: linear-gradient(160deg, #1A3B4E, var(--ink) 72%);
  box-shadow: 0 30px 70px rgba(16, 40, 53, 0.35);
  overflow: hidden;
  color: #fff;
}
.wiz-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: lowercase;
}
.wiz-titlebar .dots { display: flex; gap: 6px; margin-right: 6px; }
.wiz-titlebar .dots i { width: 9px; height: 9px; border-radius: 50%; }
.wiz-titlebar .dots i:nth-child(1) { background: #E8938C; }
.wiz-titlebar .dots i:nth-child(2) { background: #F2C94C; }
.wiz-titlebar .dots i:nth-child(3) { background: #7FC8A9; }

.wiz-progress { padding: 18px 26px 4px; }
.wiz-progress .wp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}
.wiz-progress .wp-seg {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-soft);
}
.wiz-progress .wp-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
}
.wiz-progress .wp-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.wiz-progress .wp-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  border-radius: 999px;
  transition: width 0.45s var(--ease-out);
}
.wiz-progress .wp-segments { display: flex; gap: 5px; margin-top: 10px; }
.wiz-progress .wp-segments i {
  height: 2.5px; flex: 1; border-radius: 999px;
  background: rgba(255,255,255,0.14);
  transition: background 0.3s;
}
.wiz-progress .wp-segments i.done { background: var(--orange); }
.wiz-progress .wp-segments i.now { background: rgba(237,152,42,0.55); }

.wiz-body { padding: 30px 26px 10px; min-height: 380px; }
.wiz-q {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #fff;
}
.wiz-sub { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 22px; }

.opt {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 19px;
  margin-bottom: 11px;
  border-radius: 13px;
  border: 1.5px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease-out);
  animation: opt-in 0.4s var(--ease-out) both;
}
@keyframes opt-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: none; }
}
.opt:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); color: #fff; }
.opt.sel {
  border-color: var(--orange);
  background: rgba(237, 152, 42, 0.14);
  color: #fff;
}
.opt .mark-c {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  transition: 0.2s;
}
.opt .mark-s { border-radius: 6px; }
.opt.sel .mark-c, .opt.sel .mark-s {
  border-color: var(--orange);
  background: var(--orange);
}
.opt.sel .mark-c::after, .opt.sel .mark-s::after {
  content: "";
  width: 5px; height: 9px;
  border: solid var(--ink);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
}

/* Skala 1-5 */
.scale-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 14px 0; }
.scale-row { display: flex; gap: 12px; }
.scale-btn {
  width: 56px; height: 56px;
  border-radius: 13px;
  border: 2px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s var(--ease-out);
}
.scale-btn:hover { border-color: rgba(255,255,255,0.45); color: #fff; transform: scale(1.06); }
.scale-btn.sel {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(237,152,42,0.35);
}
.scale-btn.below {
  border-color: rgba(237,152,42,0.4);
  background: rgba(237,152,42,0.14);
  color: var(--orange-soft);
}
.scale-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 340px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.scale-caption {
  padding: 9px 16px;
  border-radius: 10px;
  background: rgba(237,152,42,0.12);
  border: 1px solid rgba(237,152,42,0.25);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange-soft);
  animation: opt-in 0.3s both;
}

/* Text- & Kontakt-Eingaben */
.wiz-input {
  width: 100%;
  padding: 16px 19px;
  border-radius: 13px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.wiz-input::placeholder { color: rgba(255,255,255,0.3); }
.wiz-input:focus { border-color: rgba(237,152,42,0.6); background: rgba(255,255,255,0.08); }
.wiz-input.ok { border-color: rgba(127, 200, 169, 0.6); }
.wiz-input.err { border-color: rgba(232, 147, 140, 0.7); }
.wiz-field { margin-bottom: 16px; }
.wiz-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.wiz-field .f-err { color: #E8938C; font-size: 12.5px; margin-top: 6px; font-weight: 500; }
.wiz-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.wiz-privacy .pi { color: var(--orange-soft); flex: none; }

.wiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 26px 26px;
}
.wiz-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 6px;
  transition: color 0.2s;
}
.wiz-back:hover { color: #fff; }
.wiz-back:disabled { opacity: 0; pointer-events: none; }
.wiz-next {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  color: var(--ink);
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 28px;
  cursor: pointer;
  transition: 0.2s var(--ease-out);
  box-shadow: 0 8px 22px rgba(237,152,42,0.3);
}
.wiz-next:hover { background: var(--orange-soft); transform: translateY(-1px); }
.wiz-next:disabled {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.35);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.wiz-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  padding: 0 22px 20px;
  text-transform: uppercase;
}

/* ---------- Ergebnis-Dashboard (dunkel) ---------- */
.res { padding: 10px 26px 30px; }
.res-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(237,152,42,0.35);
  background: rgba(237,152,42,0.1);
  color: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.res-head { text-align: center; margin-bottom: 30px; }
.res-head .res-for { color: rgba(255,255,255,0.55); font-size: 15px; margin-bottom: 6px; }
.res-head h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }

.score-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 12px; }
.score-ring { position: relative; width: 220px; height: 220px; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .ring-bg { stroke: rgba(255,255,255,0.1); }
.score-ring .ring-val {
  stroke-linecap: round;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.score-ring .score-num {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-head);
}
.score-ring .score-num b { font-size: 52px; font-weight: 700; line-height: 1; color: #fff; }
.score-ring .score-num small { font-size: 16px; color: rgba(255,255,255,0.45); font-weight: 600; }
.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid;
}
.res-desc {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 15.5px;
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.65;
}

.res-section { margin-bottom: 34px; }
.res-section .rs-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.res-section .rs-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.radar-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.radar-box svg { width: 100%; max-width: 320px; margin: 0 auto; }

.wdim { margin-bottom: 14px; }
.wdim .wd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.wdim .wd-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.75); }
.wdim .wd-right { display: flex; align-items: center; gap: 10px; }
.wdim .wd-val { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: #fff; }
.wdim .wd-more {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: 0.2s;
}
.wdim .wd-more:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.wdim .wd-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.wdim .wd-bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  border-radius: 999px;
  transition: width 1s var(--ease-out);
}
.wd-detail {
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.wd-detail .act { display: flex; gap: 10px; margin-top: 10px; align-items: flex-start; }
.wd-detail .act .n {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(237,152,42,0.2);
  border: 1px solid rgba(237,152,42,0.4);
  color: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  display: grid; place-items: center;
  margin-top: 2px;
}
.wd-detail .meta { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.wd-detail .meta span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}

.roi-panel {
  border: 1px solid rgba(237,152,42,0.3);
  background: rgba(237,152,42,0.08);
  border-radius: 16px;
  padding: 26px 26px 22px;
  text-align: center;
}
.roi-panel .roi-num {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--orange-soft);
  line-height: 1.1;
}
.roi-panel .roi-cap { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-top: 8px; max-width: 460px; margin-left: auto; margin-right: auto; }
.roi-facts { display: flex; justify-content: center; gap: 26px; margin-top: 18px; flex-wrap: wrap; }
.roi-facts div { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.roi-facts b { display: block; font-family: var(--font-head); font-size: 19px; color: #fff; }

.pot-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.pot-card .p-n {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(237,152,42,0.15);
  border: 1px solid rgba(237,152,42,0.4);
  color: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  display: grid; place-items: center;
}
.pot-card b { font-family: var(--font-head); font-size: 15.5px; color: #fff; display: block; margin-bottom: 4px; }
.pot-card p { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.55; }
.pot-card a { color: var(--orange-soft); font-weight: 600; font-size: 13px; }

.rm-step { display: grid; grid-template-columns: 110px 1fr; gap: 16px; margin-bottom: 14px; align-items: start; }
.rm-step .rm-w {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange-soft);
  padding: 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rm-step p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.55; }

.res-close {
  text-align: center;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.res-ctas { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.res-restart {
  display: block;
  text-align: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  cursor: pointer;
  margin: 10px auto 0;
  text-decoration: underline;
}
.res-restart:hover { color: #fff; }
.res-mailnote { text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.45); margin-top: 14px; }

/* ---------- Formulare (Kontakt, hell) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.form-field input, .form-field textarea, .form-field select {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(237, 152, 42, 0.15);
}

/* ---------- Akkordeon ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  transition: color 0.2s;
}
.acc-item summary:hover { color: var(--orange-deep); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .plus {
  font-family: var(--font-mono);
  color: var(--orange-deep);
  font-size: 20px;
  transition: transform 0.3s var(--ease-out);
}
.acc-item[open] summary .plus { transform: rotate(45deg); }
.acc-item .acc-body { padding: 0 4px 24px; color: var(--gray); max-width: 720px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { text-align: left; }
.team-card .avatar-ph {
  height: 250px;
  background:
    radial-gradient(circle at 50% 42%, rgba(158, 189, 209, 0.28), transparent 55%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.team-card .avatar-ph .initials {
  font-family: var(--font-mono);
  font-size: 40px;
  color: var(--petrol);
  font-weight: 600;
}
.team-card .t-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: 4px;
}

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; }
.notfound .code {
  font-family: var(--font-mono);
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}

[id] { scroll-margin-top: 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature-split, .audience, .radar-box { grid-template-columns: 1fr; gap: 36px; }
  .feature-split.rev > .fs-media { order: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: none; }
  .kpi:nth-child(1), .kpi:nth-child(2) { border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-row { grid-template-columns: 60px 1fr; }
  .tech-row .t-result { grid-column: 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 56px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .grid-3, .grid-2, .team-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .kpi { border-right: none; border-bottom: 1px solid var(--line); }
  .kpi:last-child { border-bottom: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 48px 28px; }
  .tech-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .tech-row .t-result { grid-column: 1; }
  .dim-row { grid-template-columns: 120px 1fr 40px; }
  .scale-btn { width: 46px; height: 46px; font-size: 16px; }
  .scale-row { gap: 8px; }
  .rm-step { grid-template-columns: 1fr; gap: 4px; }
  .wiz-body { padding: 24px 18px 6px; }
  .wiz-nav { padding: 14px 18px 20px; }
  .res { padding: 8px 18px 24px; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1; transform: none; }
}
