/* =====================================================================
   CodeShuttle – Website-Design-System
   Gilt für alle Seiten. Seitenspezifisches steht als <style> im Kopf
   der jeweiligen Seite (nur wenn wirklich nötig).
   ===================================================================== */

:root {
  /* Marke */
  --navy-950: #061426;
  --navy-900: #0b1f38;
  --navy-800: #102a47;
  --navy-700: #183a5e;
  --navy-600: #24507c;
  --cyan: #7fd4ff;
  --cyan-600: #38b6f0;
  --blue: #1d4ed8;
  --blue-600: #2563eb;
  --blue-700: #1e40af;
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;

  /* Neutral */
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --ink: #0f1b2d;
  --text: #1d2939;
  --muted: #5a6778;
  --line: #e3e8ef;
  --line-strong: #cfd8e3;

  /* Status */
  --green: #0f9f6e;
  --green-50: #e9f9f2;
  --amber: #d97706;
  --amber-50: #fff7e6;
  --red: #dc2626;
  --red-50: #fdeeee;

  /* Auf dunklem Grund */
  --on-dark: #eef4fb;
  --on-dark-muted: #a9bdd4;
  --line-dark: rgba(127, 212, 255, 0.14);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --maxw: 1200px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05), 0 1px 1px rgba(15, 27, 45, .03);
  --shadow-md: 0 10px 30px -12px rgba(15, 27, 45, .18), 0 4px 10px -6px rgba(15, 27, 45, .08);
  --shadow-lg: 0 40px 80px -30px rgba(6, 20, 38, .45), 0 18px 36px -18px rgba(6, 20, 38, .25);

  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.lang-de [data-lang="en"], body.lang-en [data-lang="de"] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan-600); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code, .mono { font-family: var(--mono); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, #0b1f38, #183a5e 50%, #0b1f38);
  color: var(--on-dark);
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
  position: relative;
  z-index: 60;
}
.announce a { color: #fff; font-weight: 500; }
.announce a:hover { text-decoration: underline; }
.announce .short { display: none; }
.announce .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--cyan);
  border-radius: 999px;
  padding: 1px 9px;
  margin-right: 8px;
  font-weight: 600;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand-name span { color: var(--blue-600); }
.brand-by { font-size: 11.5px; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: 14.5px;
  padding: 8px 11px; border-radius: 8px; text-decoration: none; white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--blue-50); }
.nav-links a.hl { color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; background: var(--surface);
}
.lang-toggle a, .lang-toggle button {
  background: transparent; border: 0; padding: 4px 9px; cursor: pointer; color: var(--muted);
  font: inherit; border-radius: 999px; letter-spacing: .05em;
}
.lang-toggle a.active, .lang-toggle button.active { background: var(--ink); color: #fff; }
.lang-toggle a { text-decoration: none !important; display: inline-block; }
.lang-toggle a:not(.active):hover { color: var(--ink); }
.nav-burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-burger svg { width: 18px; height: 18px; }
.nav-burger .i-close { display: none; }
.nav-burger[aria-expanded="true"] .i-open { display: none; }
.nav-burger[aria-expanded="true"] .i-close { display: block; }
.nav-mobile {
  display: none; position: fixed; left: 0; right: 0; top: 68px; bottom: 0; overflow-y: auto;
  background: var(--surface); z-index: 49; padding: 12px 24px 32px; border-top: 1px solid var(--line);
}
.nav-mobile.open { display: block; }
.nav-mobile a.m-link {
  display: block; padding: 15px 0; font-size: 17px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.nav-mobile .btn { width: 100%; margin-top: 22px; }
.nav-mobile .lang-toggle { display: inline-flex; margin-top: 22px; font-size: 13px; }
.nav-mobile .lang-toggle a { padding: 7px 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .08s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-arrow svg { transition: transform .15s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -8px rgba(29, 78, 216, .7); }
.btn-primary:hover { background: var(--blue-700); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-cyan { background: var(--cyan); color: var(--navy-900); box-shadow: 0 8px 26px -10px rgba(127, 212, 255, .8); }
.btn-cyan:hover { background: #a3e1ff; }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(15, 159, 110, .18); }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }
.accent { color: var(--blue); }
.grad-text {
  background: linear-gradient(100deg, #7fd4ff 0%, #b9e8ff 45%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mark-hl { background: linear-gradient(transparent 62%, rgba(127, 212, 255, .45) 62%); padding: 0 2px; }

/* ---------- Sektionen ---------- */
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--cyan); }
.section-dark .lead, .section-dark .muted { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 16px 0 16px; }
.section-head .lead { margin: 0; }
.muted { color: var(--muted); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(127, 212, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 212, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 85%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 520px at 75% -10%, rgba(56, 182, 240, .28), transparent 60%),
              radial-gradient(900px 500px at 0% 110%, rgba(29, 78, 216, .35), transparent 60%),
              var(--navy-900);
  color: var(--on-dark);
  padding: 88px 0 0;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 64px; }
.hero-text { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-text .lead { margin-left: auto; margin-right: auto; }
.hero-text .hero-ctas, .hero-text .hero-checks { justify-content: center; }
.hero-visual { max-width: 1100px; width: 100%; margin: 0 auto; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 22px 0 22px; font-weight: 700; }
.hero .lead { color: var(--on-dark-muted); font-size: 19.5px; max-width: 760px; }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(127, 212, 255, .08); border: 1px solid rgba(127, 212, 255, .25); color: var(--on-dark); font-size: 13.5px; text-decoration: none !important;
}
.hero-badge b { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--cyan); color: var(--navy-900); border-radius: 999px; padding: 3px 9px; }
.hero-badge:hover { border-color: rgba(127, 212, 255, .5); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 26px; }
.hero-mail { margin: -12px 0 22px; font-size: 14.5px; color: var(--on-dark-muted); }
.hero-mail a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 14.5px; color: var(--on-dark-muted); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 17px; height: 17px; color: var(--cyan); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-bottom { height: 88px; }
.page-hero { padding: 80px 0 88px; }
.page-hero .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 880px; margin: 0 auto; }
.page-hero .lead { margin: 0 auto; max-width: 720px; }
.page-hero .hero-ctas { justify-content: center; margin-bottom: 0; }
.breadcrumb { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 4px; }
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: #fff; }

/* Fenster-Rahmen für Screenshots */
.window {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(6, 20, 38, .06);
}
.window-light { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.mock-shadow { box-shadow: var(--shadow-md); }
.window img { width: 100%; }
.hero-visual .app { position: relative; z-index: 1; border-color: rgba(255,255,255,.18); box-shadow: var(--shadow-lg); }
.glow { position: absolute; inset: -12% -8% -18% -8%; background: radial-gradient(closest-side, rgba(127, 212, 255, .32), transparent 75%); filter: blur(10px); z-index: 0; pointer-events: none; }
.hero-visual .window { position: relative; z-index: 1; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 18px 40px -16px rgba(6, 20, 38, .55); border: 1px solid rgba(15, 27, 45, .06);
  font-size: 13px; line-height: 1.3; white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fc-icon svg { width: 16px; height: 16px; }
.float-card small { display: block; color: var(--muted); font-size: 11.5px; }
.float-card code { font-size: 12px; color: var(--blue); }
.fc-1 { left: -36px; top: -34px; }
.fc-2 { right: -36px; top: -34px; animation-delay: -2s; }
.fc-3 { right: 8%; bottom: -32px; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Trust-Leiste ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; border-right: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.trust-item:last-child { border-right: 0; }
.trust-item .ti-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ti-icon svg { width: 21px; height: 21px; }
.trust-item b { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; }
.trust-item div > span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }

.version-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.vpill { font-family: var(--mono); font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.section-dark .vpill { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); color: var(--on-dark); }

/* ---------- Karten & Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); position: relative;
}
.card h3 { font-size: 18.5px; margin: 0 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card-hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.icon-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.icon-box svg { width: 22px; height: 22px; }
.icon-box.green { background: var(--green-50); color: var(--green); }
.icon-box.amber { background: var(--amber-50); color: var(--amber); }
.icon-box.red { background: var(--red-50); color: var(--red); }
.icon-box.dark { background: rgba(127, 212, 255, .1); color: var(--cyan); }
.card-dark { background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px; }
.card-dark h3 { font-size: 18.5px; margin: 0 0 10px; color: #fff; }
.card-dark p { color: var(--on-dark-muted); font-size: 15px; }

/* Grid-Kinder dürfen schrumpfen (sonst sprengen lange Code-Zeilen das Layout) */
.steps > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-5 > *, .showcase > *, .audience > *, .hero-inner > *, .price-teaser > *, .mvo-band > * { min-width: 0; }
.step .code { max-width: 100%; }

/* Schmerzpunkte */
.pain-card { border-top: 3px solid var(--red); }
.pain-card .quote { font-family: var(--mono); font-size: 13px; color: var(--red); background: var(--red-50); border-radius: 6px; padding: 4px 9px; display: inline-block; margin-bottom: 14px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); }
.step .num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--cyan); font-weight: 600; }
.step h3 { font-size: 21px; margin: 12px 0 10px; color: #fff; }
.step p { color: var(--on-dark-muted); font-size: 15px; margin-bottom: 18px; }
.step .code {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #d3e3f5;
  background: rgba(0, 0, 0, .22); border: 1px solid var(--line-dark); border-radius: 8px; padding: 12px 14px; overflow-x: auto; white-space: pre;
}
.code .k { color: var(--cyan); } .code .s { color: #5eead4; } .code .c { color: #7d93ad; font-style: italic; } .code .a { color: #fbbf24; }

/* Shuttle-Diagramm */
.shuttle { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; margin: 0 auto 64px; max-width: 980px; }
.node { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: 16px; padding: 22px 18px; text-align: center; position: relative; }
.node .n-icon { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; background: rgba(127, 212, 255, .1); color: var(--cyan); }
.node .n-icon svg { width: 26px; height: 26px; }
.node b { display: block; color: #fff; font-size: 16px; }
.node > span { display: block; color: var(--on-dark-muted); font-size: 13px; margin-top: 4px; line-height: 1.4; }
.node.core { background: linear-gradient(160deg, rgba(127, 212, 255, .18), rgba(29, 78, 216, .2)); border-color: rgba(127, 212, 255, .45); }
.node.core .n-icon { background: var(--navy-800); }
.link-lane { width: 92px; height: 40px; position: relative; }
.link-lane::before, .link-lane::after { content: ""; position: absolute; left: 6px; right: 6px; height: 2px; background: repeating-linear-gradient(90deg, rgba(127, 212, 255, .5) 0 6px, transparent 6px 12px); }
.link-lane::before { top: 13px; } .link-lane::after { bottom: 13px; }
.link-lane i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.link-lane i:nth-child(1) { top: 10px; animation: laneR 2.4s linear infinite; }
.link-lane i:nth-child(2) { bottom: 10px; animation: laneL 2.4s linear infinite; animation-delay: -1.2s; background: #fff; box-shadow: 0 0 10px #fff; }
@keyframes laneR { from { left: 4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 12px); opacity: 0; } }
@keyframes laneL { from { left: calc(100% - 12px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 4px; opacity: 0; } }

/* Showcase */
.showcase { display: grid; grid-template-columns: 0.82fr 1.5fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 112px; }
.showcase.reverse { grid-template-columns: 1.5fr 0.82fr; }
.showcase.reverse .sc-text { order: 2; }
.sc-text h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 14px 0 16px; }
.sc-text .lead { font-size: 17.5px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { position: relative; padding: 7px 0 7px 32px; font-size: 15.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%230f9f6e' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7 7a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L9 11.6l6.3-6.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section-dark .checklist li::before { background-color: rgba(127, 212, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%237fd4ff' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7 7a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L9 11.6l6.3-6.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E"); }
.checklist li b { color: var(--ink); }
.section-dark .checklist li b { color: #fff; }
.caption { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }

/* Zielgruppen-Split */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience .card { padding: 36px; }
.audience .tagline { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.audience h3 { font-size: 24px; margin-bottom: 8px; }

/* Maschinenverordnung-Band */
.mvo-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: radial-gradient(700px 300px at 90% 0%, rgba(245, 158, 11, .22), transparent 60%), linear-gradient(135deg, #0b1f38, #13304f);
  color: var(--on-dark); padding: 52px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center;
  border: 1px solid rgba(245, 158, 11, .25);
}
.mvo-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 14px; }
.mvo-band .eyebrow { color: #fbbf24; }
.mvo-band p { color: var(--on-dark-muted); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.countdown div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(251, 191, 36, .25); border-radius: 14px; padding: 18px 8px; text-align: center; }
.countdown b { display: block; font-family: var(--mono); font-size: 40px; line-height: 1; color: #fbbf24; font-weight: 600; }
.countdown span { display: block; font-size: 12.5px; color: var(--on-dark-muted); margin-top: 8px; }
.countdown-note { font-size: 12.5px; color: var(--on-dark-muted); text-align: center; margin-top: 12px; }

/* Feature-Liste (kompakt) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.feature { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature:nth-child(3n) { border-right: 0; }
.feature h3 { font-size: 16.5px; margin: 0 0 8px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.feature .icon-box { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px; }
.feature .icon-box svg { width: 20px; height: 20px; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.t th, table.t td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--mono); font-weight: 500; background: var(--surface-2); }
table.t tr:last-child td { border-bottom: 0; }
table.t td b { color: var(--ink); }
.yes { color: var(--green); font-weight: 600; white-space: nowrap; }
.part { color: var(--amber); font-weight: 600; min-width: 220px; }
.no { color: var(--muted); white-space: nowrap; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.chip.mono { font-family: var(--mono); font-size: 12.5px; }
.chip.ok { background: var(--green-50); border-color: #bdebd7; color: #0b6e4d; }
.chip.beta::after { content: "Beta"; font-family: var(--mono); font-size: 9.5px; margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: rgba(217, 119, 6, .14); color: #92400e; text-transform: uppercase; letter-spacing: .06em; }
.chip.f { background: #fff8e1; border-color: #f5d77a; color: #8a5a00; }

/* Statistik */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--mono); font-size: 34px; color: var(--cyan); line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.stat > span { display: block; font-size: 13.5px; color: var(--on-dark-muted); margin-top: 10px; line-height: 1.4; }

/* Preis-Teaser */
.price-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-md); }
.price-teaser .pt-left { padding: 48px; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: var(--on-dark); position: relative; }
.price-teaser .pt-right { padding: 48px; }
.price-big { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.price-big .from { font-size: 18px; color: var(--on-dark-muted); }
.price-big .val { font-size: 72px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.price-big .unit { font-size: 16px; color: var(--on-dark-muted); line-height: 1.3; }
.fineprint { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.section-dark .fineprint, .pt-left .fineprint { color: var(--on-dark-muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-group-title { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 44px 0 6px; }
.faq-group-title:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 0 24px; color: var(--muted); font-size: 15.5px; max-width: 94%; }
.faq .answer ul { margin: 8px 0 0; padding-left: 20px; }

/* Hinweis-Boxen */
.note { border-radius: var(--radius); padding: 18px 22px; font-size: 14.5px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.note.info { background: var(--blue-50); border-color: var(--blue-100); }
.note.warn { background: var(--amber-50); border-color: #f6dfae; }
.note b { color: var(--ink); }

/* Kontakt-Person */
.person { display: flex; gap: 18px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 22px; color: var(--navy-900); background: linear-gradient(135deg, var(--cyan), #c4ecff); flex-shrink: 0; letter-spacing: -0.02em; }
.person b { display: block; color: var(--ink); font-size: 17px; }
.person div > span { display: block; color: var(--muted); font-size: 14px; }
.section-dark .person b { color: #fff; }
.section-dark .person div > span { color: var(--on-dark-muted); }

/* Kontaktkarte */
.contact-card { padding: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
@media (max-width: 640px) { .contact-card { grid-template-columns: 1fr; padding: 26px; gap: 16px; } }

/* Booking */
.booking-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.booking-consent { padding: 48px 36px; text-align: center; max-width: 620px; margin: 0 auto; }
.booking-consent .icon-box { margin: 0 auto 18px; width: 56px; height: 56px; }
.booking-consent h3 { font-size: 22px; margin-bottom: 10px; }
.booking-consent .fineprint { margin-top: 16px; }
.booking-frame { display: none; padding: 10px; }
.booking-frame.loaded { display: block; }
.meetings-iframe-container { min-height: 680px; }
.meetings-iframe-container iframe { width: 100% !important; min-height: 680px; border: 0; }

/* Agenda */
.agenda { list-style: none; padding: 0; margin: 0; counter-reset: ag; }
.agenda li { counter-increment: ag; position: relative; padding: 0 0 22px 52px; }
.agenda li::before { content: counter(ag, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--mono); font-weight: 600; font-size: 13px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.agenda li b { display: block; color: var(--ink); font-size: 16px; }
.agenda li > span { color: var(--muted); font-size: 14.5px; }

/* CTA-Band */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(800px 360px at 50% 0%, rgba(56, 182, 240, .3), transparent 65%), var(--navy-900); color: var(--on-dark); padding: 96px 0; }
.cta-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 16px; }
.cta-inner p { color: var(--on-dark-muted); font-size: 18px; margin: 0 auto 30px; max-width: 620px; }
.cta-inner .hero-ctas { justify-content: center; margin: 0 0 18px; }
.cta-meta { font-size: 13.5px; color: var(--on-dark-muted); }

/* Rechtstexte */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin: 48px 0 14px; padding-top: 8px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text); font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .sec-no { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: .1em; display: block; margin-bottom: 6px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0; }
.legal dt { color: var(--muted); font-size: 14.5px; }
.legal dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 44px; }
.toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { font-size: 14.5px; margin-bottom: 4px; break-inside: avoid; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 72px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer .brand-by { color: var(--on-dark-muted); }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--mono); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--on-dark-muted); }
.footer a:hover { color: #fff; }
.footer-about { margin: 18px 0 18px; max-width: 360px; line-height: 1.6; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges > span { font-size: 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 4px 11px; color: var(--on-dark); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 52px; padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom .tm { max-width: 720px; opacity: .8; }

/* Nach-oben-Button mit Scroll-Fortschrittsring */
.to-top {
  --p: 0;
  position: fixed; right: 24px; bottom: 24px; z-index: 46;
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 3px; cursor: pointer;
  background: conic-gradient(var(--cyan) calc(var(--p) * 1%), rgba(127, 212, 255, .18) 0);
  box-shadow: 0 14px 32px -12px rgba(6, 20, 38, .55);
  opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top-in {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff;
  transition: background .2s ease;
}
.to-top svg { width: 20px; height: 20px; transition: transform .2s ease; }
.to-top:hover .to-top-in { background: linear-gradient(160deg, var(--blue-600), var(--blue-700)); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--cyan-600); outline-offset: 3px; }

/* Sticky-CTA (mobil) */
.sticky-cta { display: none; }

/* ---------- Animationen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .link-lane i { animation: none; }
  .to-top, .to-top svg, .to-top-in { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-links a { padding: 8px 8px; font-size: 14px; }
  .nav-right .btn-primary { padding: 0 14px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .fc-1 { left: -8px; } .fc-2 { right: -8px; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 36px; }
  .showcase.reverse .sc-text { order: 0; }
  .mvo-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .grid-3, .steps, .audience, .grid-2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .shuttle { grid-template-columns: 1fr; gap: 0; max-width: 360px; }
  .link-lane { width: 40px; height: 56px; margin: 0 auto; transform: rotate(90deg); }
  .price-teaser { grid-template-columns: 1fr; }
  .price-teaser .pt-left, .price-teaser .pt-right { padding: 36px 28px; }
  .toc ol { columns: 1; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-right .btn-primary, .nav-right .lang-toggle { display: none; }
  .hero { padding-top: 56px; }
  .hero .lead { font-size: 17.5px; }
  .hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 28px; }
  .hero-ctas .btn { width: 100%; }
  .float-card { display: none; }
  .trustbar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; }
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .card, .audience .card { padding: 24px; }
  .mvo-band { padding: 30px 20px; border-radius: var(--radius-lg); }
  .countdown b { font-size: 30px; }
  .price-big .val { font-size: 58px; }
  .footer-grid { grid-template-columns: 1fr; }
  .announce { font-size: 12.5px; }
  .announce .long { display: none; } .announce .short { display: inline; }
  .sticky-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    transform: translateY(140%); transition: transform .3s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 14px 30px -10px rgba(6, 20, 38, .6); }
  .to-top { right: 14px; bottom: 82px; width: 48px; height: 48px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}
/* Tabellen auf dem Smartphone als Karten */
@media (max-width: 640px) {
  .table-wrap.stack { border: 0; background: transparent; overflow: visible; }
  .stack table.t { min-width: 0; }
  .stack table.t thead { display: none; }
  .stack table.t, .stack table.t tbody, .stack table.t tr, .stack table.t td { display: block; width: 100%; }
  .stack table.t tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 4px; }
  .stack table.t td { border: 0; padding: 6px 14px; }
  .stack table.t td:first-child { font-size: 16px; padding-top: 10px; }
  .t-obj td:nth-child(3)::before, .t-obj td:nth-child(4)::before { color: var(--muted); font-weight: 500; }
  .lang-de .t-obj td:nth-child(3)::before { content: "TIA → Ordner: "; }
  .lang-de .t-obj td:nth-child(4)::before { content: "Ordner → TIA: "; }
  .lang-en .t-obj td:nth-child(3)::before { content: "TIA → folder: "; }
  .lang-en .t-obj td:nth-child(4)::before { content: "Folder → TIA: "; }
}

@media print {
  .nav, .announce, .sticky-cta, .booking-card, .cta-band { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
