/* ============================================================
   NEXOY — Corporate Website
   Design System & Global Styles
   Primärfarbe: #1E1C8F
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand:        #1E1C8F;
  --brand-700:    #14136A;
  --brand-600:    #1A188A;
  --brand-500:    #2A28A6;
  --brand-400:    #3D3BC4;
  --brand-300:    #6B69D6;
  --brand-200:    #A9A8EA;
  --accent:       #00C2FF;   /* Cyan-Akzent, sparsam einsetzen */
  --accent-soft:  #7FE0FF;

  /* Neutrals */
  --ink:          #0E0F1A;
  --ink-soft:     #3A3C52;
  --muted:        #6B6E85;
  --line:         #E4E6F0;
  --line-soft:    #EEF0F8;
  --bg:           #FFFFFF;
  --bg-soft:      #F5F6FB;
  --bg-tint:      #EEEFF9;
  --white:        #FFFFFF;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #1E1C8F 0%, #3D3BC4 60%, #2A28A6 100%);
  --grad-accent: linear-gradient(120deg, #1E1C8F 0%, #00C2FF 140%);

  /* Radius & Shadow */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(20, 19, 106, .06);
  --shadow-md: 0 12px 30px rgba(20, 19, 106, .10);
  --shadow-lg: 0 30px 70px rgba(20, 19, 106, .16);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1360px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }
.bg-brand { background: var(--grad-brand); color: #fff; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-720 { max-width: 720px; }
.maxw-820 { max-width: 820px; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.bg-brand .eyebrow, .bg-brand .eyebrow::before { color: var(--accent-soft); background-color: transparent; }
.bg-brand .eyebrow::before { background: var(--accent); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px;
  background: var(--btn-bg); color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 8px 22px rgba(30, 28, 143, .25);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30, 28, 143, .34); background: var(--brand-500); }
.btn svg { width: 18px; height: 18px; }
.btn-outline { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { background: var(--bg-soft); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand-200); }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: none; padding-inline: 6px; }
.btn-ghost:hover { background: transparent; transform: translateX(3px); box-shadow: none; }
.btn-light { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.btn-light:hover { background: #fff; color: var(--brand-700); }
.btn-on-dark-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-on-dark-outline:hover { background: rgba(255,255,255,.10); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--brand); transition: gap .25s var(--ease); }
.arrow-link:hover { gap: 14px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20,19,106,.06); }

.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  color: var(--ink); padding: 9px 16px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--brand); background: var(--bg-tint); }
.nav a.active { color: var(--brand); }

/* Header color states over dark hero (top, not scrolled) */
.site-header.on-dark:not(.scrolled) .nav a { color: rgba(255,255,255,.9); }
.site-header.on-dark:not(.scrolled) .nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-header.on-dark:not(.scrolled) .lang-current { color: #fff; }
.site-header.on-dark:not(.scrolled) .lang-btn { border-color: rgba(255,255,255,.3); color:#fff; }
.site-header.on-dark:not(.scrolled) .brand .logo-dark { display: none; }
.site-header.on-dark:not(.scrolled) .brand .logo-light { display: block; }
.brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-dark { display: block; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .04em;
  padding: 8px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--brand-200); }
.lang-btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 6px; min-width: 168px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: .92rem; color: var(--ink); font-weight: 500; }
.lang-menu a:hover { background: var(--bg-soft); color: var(--brand); }
.lang-menu a.active { color: var(--brand); font-weight: 600; }
.lang-menu a .flag { font-size: 1.05rem; }

/* Hamburger */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; z-index: 2; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.site-header.on-dark:not(.scrolled) .burger span { background: #fff; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
body.menu-open .burger span { background: var(--ink) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; background-color: var(--brand); background-size: cover; background-position: center; }
.hero-media video, .hero-media .video-placeholder { width: 100%; height: 100%; object-fit: cover; }
/* Hero-Video blendet weich über dem Poster ein, sobald es abspielbereit ist.
   Ohne JavaScript bleibt das Poster (als Hintergrund der .hero-media) sichtbar. */
/* Video ist immer sichtbar (opacity 1) – keine JavaScript-/Animations-Abhängigkeit,
   damit es nie als Standbild hängen bleibt. Das Poster überbrückt, bis es spielt. */
.hero-video { opacity: 1; }
.hero-media .video-placeholder {
  background: var(--grad-brand);
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) 0;
  position: relative;
}
.hero-media .video-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(0,194,255,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 90%, rgba(109,105,214,.35), transparent 60%);
}
.video-ph-label {
  position: relative; z-index: 1;
  font-family: var(--font-display); color: rgba(255,255,255,.55);
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,.35); border-radius: 999px; padding: 10px 20px;
}
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,9,45,.82) 0%, rgba(12,11,60,.55) 45%, rgba(12,11,60,.25) 100%); }
.hero-content { max-width: 780px; padding-block: 120px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); margin-top: 22px; max-width: 620px; }
.hero .btn-row { margin-top: 38px; }
.hero .eyebrow { color: var(--accent-soft); }
.hero .eyebrow::before { background: var(--accent); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-display); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: rgba(255,255,255,.7); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0; transform: translate(-50%, 0);} 40%{opacity:1;} 80%{opacity:0; transform: translate(-50%, 10px);} 100%{opacity:0;} }

/* Page hero (interior pages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 112px));
  padding-bottom: clamp(60px, 8vw, 100px);
  background: linear-gradient(135deg, #14136A 0%, #1E1C8F 48%, #2A28A6 100%);
}
/* Ebene 1: Foto-Textur (Video-Frame) + feines Punktraster, langsamer Ken-Burns-Zoom */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.6px),
    url(../images/hero-texture.jpg);
  background-size: 26px 26px, cover;
  background-position: center, center;
  opacity: .40;
  animation: pheroZoom 26s ease-in-out infinite alternate;
}
/* Ebene 2: driftende Aurora-Farbverläufe im Screen-Blend – Bewegung wie beim Film */
.page-hero::after {
  content: ""; position: absolute; inset: -25%; z-index: 2; pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(44% 44% at 16% 14%, rgba(0,194,255,.38), transparent 60%),
    radial-gradient(42% 42% at 90% 6%, rgba(124,120,242,.50), transparent 62%),
    radial-gradient(48% 48% at 82% 98%, rgba(0,194,255,.26), transparent 60%),
    radial-gradient(46% 46% at 4% 96%, rgba(61,59,196,.50), transparent 62%);
  animation: pheroDrift 22s ease-in-out infinite alternate;
}
.page-hero .container { position: relative; z-index: 3; }
@keyframes pheroZoom  { from { transform: scale(1.06); } to { transform: scale(1.16); } }
@keyframes pheroDrift { from { transform: translate3d(-2%, -1%, 0) rotate(-2deg); } to { transform: translate3d(3%, 2%, 0) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
  .page-hero::before, .page-hero::after { animation: none; }
}
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: rgba(255,255,255,.86); max-width: 680px; margin-top: 20px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 22px; font-family: var(--font-display); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* ============================================================
   GRID & CARDS
   ============================================================ */
.grid { display: grid; gap: clamp(20px, 2.5vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .98rem; }
.card .card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--brand); margin-bottom: 22px;
}
.card .card-icon svg { width: 28px; height: 28px; }
.card-num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--brand-200); margin-bottom: 14px; }

.card-lift-accent { position: relative; overflow: hidden; }
.card-lift-accent::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-brand); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.card-lift-accent:hover::before { transform: scaleY(1); }

/* Feature / value list */
.value-item { display: flex; gap: 18px; align-items: flex-start; }
.value-item .tick { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; }
.value-item .tick svg { width: 20px; height: 20px; }
.value-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.value-item p { font-size: .96rem; }

/* Split / two-column with media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }

/* Image placeholder */
.img-ph {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--bg-tint), #E3E5F5);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--brand-300);
  aspect-ratio: 4 / 3;
}
.img-ph.ratio-1 { aspect-ratio: 1/1; }
.img-ph.ratio-16-9 { aspect-ratio: 16/9; }
.img-ph.ratio-3-4 { aspect-ratio: 3/4; }
.img-ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(45deg, rgba(30,28,143,.04) 25%, transparent 25%, transparent 50%, rgba(30,28,143,.04) 50%, rgba(30,28,143,.04) 75%, transparent 75%);
  background-size: 22px 22px;
}
.img-ph .img-ph-inner { position: relative; z-index: 1; text-align: center; font-family: var(--font-display); }
.img-ph .img-ph-inner svg { width: 40px; height: 40px; margin-inline: auto; margin-bottom: 10px; opacity: .55; }
.img-ph .img-ph-inner span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
/* Echte Bilder (ersetzen die .img-ph Platzhalter) */
.media-img { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-md); background: var(--bg-tint); }
.media-img.ratio-1 { aspect-ratio: 1 / 1; }
.media-img.ratio-16-9 { aspect-ratio: 16 / 9; }
.media-img.ratio-3-4 { aspect-ratio: 3 / 4; }

.split-media .badge-float { position: absolute; background: #fff; box-shadow: var(--shadow-md); border-radius: 16px; padding: 16px 20px; }
.split-media .badge-float.bl { left: -18px; bottom: 24px; }
.split-media .badge-float .bf-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand); }
.split-media .badge-float .bf-label { font-size: .8rem; color: var(--muted); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--brand); }
.bg-brand .stat .num { color: #fff; }
.stat .label { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.bg-brand .stat .label { color: rgba(255,255,255,.75); }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); align-items: start; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.step:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.step .step-n { counter-increment: step; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; }
.step .step-n::before { content: "0" counter(step); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { font-size: .97rem; }

/* Logo cloud / pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink-soft); }
.pill svg { width: 16px; height: 16px; color: var(--brand); }
.bg-brand .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.bg-brand .pill svg { color: var(--accent-soft); }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-brand); color: #fff; padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 15% 0%, rgba(0,194,255,.28), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(255,255,255,.14), transparent 55%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 16px auto 0; max-width: 620px; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-300); box-shadow: 0 0 0 4px rgba(30,28,143,.10); }
.field-2 { grid-template-columns: 1fr 1fr; display: grid; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: 0 0 auto; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: #E9F9EF; color: #146B3A; border: 1px solid #B7E9C8; font-size: .95rem; margin-bottom: 18px; }
.form-success.show { display: block; }
.form-error { display: none; padding: 16px 18px; border-radius: 12px; background: #FDECEC; color: #A12626; border: 1px solid #F3C0C0; font-size: .95rem; margin-bottom: 18px; }
.form-error.show { display: block; }
.btn[disabled] { opacity: .6; pointer-events: none; }
/* Honeypot: für Menschen unsichtbar, für Bots ein Köder */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact info list */
.contact-info { display: grid; gap: 26px; }
.contact-info .ci-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .ci-icon svg { width: 22px; height: 22px; }
.contact-info h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info a, .contact-info p { color: var(--ink); font-weight: 500; }
.contact-info a:hover { color: var(--brand); }

/* ============================================================
   FAQ / Accordion
   ============================================================ */
.faq { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-q .fi { flex: 0 0 auto; width: 24px; height: 24px; position: relative; transition: transform .3s var(--ease); }
.faq-q .fi::before, .faq-q .fi::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-q .fi::before { width: 14px; height: 2px; }
.faq-q .fi::after { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq-item.open .fi::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--ink-soft); font-size: .98rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0C0B33; color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 84px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 34px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .95rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.66); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: block; color: rgba(255,255,255,.66); margin-bottom: 10px; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: rgba(255,255,255,.8); transition: background .2s, color .2s; }
.social a:hover { background: var(--brand-400); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .88rem; }
.footer-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: rgba(255,255,255,.55); font-size: .88rem; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

@media (max-width: 860px) {
  /* Mobile nav */
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: calc(var(--header-h) + 20px) 24px 40px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .38s var(--ease); z-index: 1;
  }
  body.menu-open .nav { transform: translateX(0); }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav a:hover, .nav a.active { background: var(--bg-soft); }
  .site-header.on-dark:not(.scrolled) .nav a { color: var(--ink); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,10,40,.42); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 999; }
  body.menu-open .nav-backdrop { opacity: 1; visibility: visible; }
  /* keep language switcher visible in header */
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-content { padding-block: 100px 90px; }
  .split-media .badge-float.bl { left: 0; }
}

/* Utility spacing */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
