/* ==========================================================================
   SWG GmbH – Landingpage "Kostenvorteil durch Rundtakt-Bearbeitung"
   Fonts: lorimer-no-2 (Adobe Typekit) für Headlines, Inter (lokal) für Text
   ========================================================================== */

/* ---------- Lokale Schrift: Inter (Variable, latin) ---------- */
@font-face {
  font-family: "InterLocal";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --blue: #1a7efb;
  --blue-600: #0a63d6;
  --blue-700: #0a4ea8;
  --blue-050: #eaf2ff;
  --orange: #ff6900;        /* knalliger Akzent – nur sehr sparsam einsetzen */
  --orange-soft: rgba(255,105,0,.12);
  --ink: #0e1116;
  --ink-2: #161b22;
  --ink-3: #232a34;
  --gray-1: #f5f7fa;
  --gray-2: #eef1f6;
  --line: #e1e6ee;
  --muted: #5c6675;
  --text: #1b2230;
  --white: #ffffff;
  --green: #16b364;
  --shadow-sm: 0 2px 10px rgba(14, 17, 22, .06);
  --shadow-md: 0 12px 34px rgba(14, 17, 22, .10);
  --shadow-lg: 0 24px 60px rgba(14, 17, 22, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --grid-cell: 162px;       /* großmaschiges, seitenweit fixes Raster */
  --font-head: "lorimer-no-2", "InterLocal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "InterLocal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .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-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
p { color: var(--text); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }
.eyebrow--light { color: #8fc0ff; }
.eyebrow--light::before { background: #8fc0ff; }

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

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px;
  padding: 16px 28px; border: none; border-radius: 999px;
  background: var(--bg); color: #fff; position: relative; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 10px 26px rgba(26, 126, 251, .32);
  will-change: transform;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(26, 126, 251, .42); background: var(--blue-600); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(-1px); }
.btn--lg { padding: 19px 36px; font-size: 18px; }
.btn--ghost {
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover { background: var(--gray-1); box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn--white:hover { background: #fff; color: var(--blue); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0; transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-header .logo img { height: 93px; width: auto; transition: height .3s var(--ease); }
.logo-dark { display: none; }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: #fff;
  transition: color .25s var(--ease);
}
.header-phone svg { width: 18px; height: 18px; }
.site-header.scrolled {
  background: rgba(11, 14, 19, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35); padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header.scrolled .logo img { height: 56px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; padding: 130px 0 70px; overflow: hidden;
  background: #05070b;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/swg-header.webp") center 38% / cover no-repeat;
  transform: scale(1.06); will-change: transform;
}
/* ---------- WebGL-Hintergrundbilder: Grid-Tile-Reveal ---------- */
.fx-cssbg { transition: opacity .45s var(--ease); }
/* Bei aktivem JS das CSS-Bild sofort verstecken (kein Aufblitzen vor dem Reveal);
   ohne JS bleiben die Bilder als Fallback sichtbar. */
.has-js .fx-cssbg { opacity: 0; }
.has-js [data-fx-host].no-fx .fx-cssbg { opacity: 1; } /* Fallback: kein WebGL -> Bild zeigen */
.fxbg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
[data-fx-host]:not(.has-fx) .fxbg-canvas { display: none; } /* Fallback: CSS-Hintergrundbild */
.hero .fxbg-canvas { z-index: 1; }
.economy .fxbg-canvas, .worth .fxbg-canvas, .partner .fxbg-canvas { z-index: 0; }
.why__media .fxbg-canvas { z-index: 1; border-radius: var(--radius); }
.why__media .float-stat { z-index: 2; }

/* Site-weites, sehr dezentes, großmaschiges technisches Linienraster (fix) */
.site-grid {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background-image:
    linear-gradient(rgba(132,148,170,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132,148,170,.08) 1px, transparent 1px);
  background-size: var(--grid-cell) var(--grid-cell);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg, rgba(5,7,11,.92) 0%, rgba(5,7,11,.74) 42%, rgba(5,7,11,.30) 75%, rgba(5,7,11,.55) 100%),
    radial-gradient(120% 80% at 15% 30%, rgba(26,126,251,.20), transparent 60%);
}
.hero .container { position: relative; z-index: 3; }
.hero__inner { max-width: 780px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 30px;
  font-weight: 700; font-size: clamp(12px, 1.4vw, 14.5px); letter-spacing: .1em;
  text-transform: uppercase; color: #d6deea;
}
.hero__kicker .dash { width: 32px; height: 3px; border-radius: 3px; background: var(--blue); flex: none; }
.hero h1 {
  color: #fff; font-size: clamp(34px, 6.6vw, 72px); line-height: 1.08; letter-spacing: -.025em;
  overflow-wrap: break-word; hyphens: auto;
}
.hero__pct {
  position: relative; color: var(--blue); font-size: 1.16em; white-space: nowrap;
  text-shadow: 0 6px 30px rgba(26,126,251,.45);
}
.hero__sub { margin-top: 28px; font-size: clamp(17px, 2.2vw, 21px); color: #cdd6e3; max-width: 580px; }
.hero__cta { margin-top: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: #eaf0f8;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.hero__trust svg { width: 16px; height: 16px; color: #4ade80; flex: none; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll .mouse {
  width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.4); border-radius: 12px; position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 16px; } 100% { opacity: 0; } }

/* ---------- Trust logos / stat strip ---------- */
.proofbar { background: var(--ink); color: #fff; }
.proofbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.proof {
  text-align: center; padding: 6px 4px;
}
.proof b { font-family: var(--font-head); display: block; font-size: clamp(26px, 3.4vw, 40px); color: #fff; line-height: 1; }
.proof span { display: block; margin-top: 8px; font-size: 13.5px; color: #9aa6b6; letter-spacing: .02em; }
.proof b .u { color: var(--blue); }

/* ---------- Wirtschaftlichkeit (Comparison) ---------- */
.economy { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.economy__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .6;
  background: url("../img/wirtschaftlichkeit-bg.webp") center/cover;
}
.economy::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(75% 65% at 50% 50%, rgba(14,17,22,.62), transparent 78%),
    linear-gradient(180deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.86) 50%, rgba(14,17,22,.96) 100%);
}
.economy .section-head p { color: #cbd5e4; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.economy .container { position: relative; z-index: 2; }
.economy h2 { color: #fff; }
.economy .eyebrow { color: #8fc0ff; }
.economy .eyebrow::before { background: #8fc0ff; }

.compare {
  margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch;
}
.compare__card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 30px 28px; position: relative;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.compare__card.is-win { border-color: rgba(26,126,251,.55); background: rgba(26,126,251,.10); box-shadow: 0 0 0 1px rgba(26,126,251,.25), 0 20px 50px rgba(26,126,251,.12); }
.compare__tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #9aa6b6; margin-bottom: 10px;
}
.is-win .compare__tag { color: var(--blue); }
.compare__card h3 { color: #fff; font-size: 22px; }
.compare__metric { margin-top: 22px; }
.compare__metric .big { font-family: var(--font-head); font-size: 46px; line-height: 1; color: #fff; }
.is-win .compare__metric .big { color: var(--blue); }
.compare__metric .lbl { font-size: 13.5px; color: #9aa6b6; margin-top: 4px; }
.compare__bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,.12); margin-top: 18px; overflow: hidden; }
.compare__bar i { display: block; height: 100%; border-radius: 6px; background: #6b7686; width: 0; transition: width 1.1s var(--ease); }
.is-win .compare__bar i { background: linear-gradient(90deg, var(--blue), #5aa0ff); }
.compare__price { margin-top: 18px; font-size: 15px; color: #c5cedb; }
.compare__price b { color: #fff; font-size: 19px; font-family: var(--font-head); }

.economy__part {
  margin-top: 18px; text-align: center; font-size: 14.5px; color: #aeb9c8;
}
.economy__result {
  margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 6vw, 80px);
}
.result-ring { position: relative; width: clamp(180px, 22vw, 230px); aspect-ratio: 1; display: grid; place-items: center; }
.result-ring::before { /* weicher Hintergrund-Glow, erdet den Ring auf dem Bild */
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,105,0,.24), transparent 68%);
  filter: blur(6px);
}
.result-ring .ring { width: 100%; height: 100%; transform: rotate(-90deg); position: relative; z-index: 1; }
.ring-track { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 9; }
.ring-prog {
  fill: none; stroke: url(#ringGrad); stroke-width: 11; stroke-linecap: round;
  filter: drop-shadow(0 0 9px rgba(255,105,0,.6));
  transition: stroke-dashoffset 1.6s var(--ease);
}
.rr__center {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; text-align: center;
}
.rr__icon { width: 24px; height: 24px; color: #ffac5c; margin-bottom: 4px; opacity: .95; }
.rr__num { font-family: var(--font-head); font-weight: 900; font-size: clamp(38px, 5vw, 50px); line-height: 1; color: #fff; letter-spacing: -.02em; }
.rr__lbl { font-size: 13.5px; font-weight: 600; color: #aab4c2; letter-spacing: .02em; }
.economy__cta { margin-top: 68px; text-align: center; }

/* ---------- "Wann lohnt sich" split ---------- */
.worth { position: relative; color: #fff; overflow: hidden; background: var(--ink-2); }
.worth__bg { position: absolute; inset: 0; background: url("../img/runtdakt-lohnt-bg.webp") center/cover; z-index: 0; }
.worth__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,11,16,.94) 0%, rgba(8,11,16,.72) 55%, rgba(8,11,16,.40) 100%); }
.worth .container { position: relative; z-index: 2; }
.worth__inner { max-width: 620px; }
.worth h2 { color: #fff; }
.worth .eyebrow { color: #8fc0ff; }
.worth .eyebrow::before { background: #8fc0ff; }
.worth__points { margin-top: 30px; display: grid; gap: 16px; }
.worth__point {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(14,17,22,.35); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 20px 22px; border-radius: var(--radius-sm);
}
.worth__point .ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(26,126,251,.16); color: var(--blue);
}
.worth__point .ic svg { width: 22px; height: 22px; }
.worth__point b { display: block; font-size: 18px; color: #fff; font-family: var(--font-head); }
.worth__point span { color: #c5cedb; font-size: 15px; }

/* ---------- Warum günstiger ---------- */
.why .why__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.why__media .float-stat {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--blue); color: #fff; padding: 18px 24px; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(26,126,251,.4);
}
.why__media .float-stat b { font-family: var(--font-head); font-size: 34px; line-height: 1; display: block; }
.why__media .float-stat span { font-size: 13px; opacity: .9; }
.why__list { margin-top: 26px; display: grid; gap: 14px; }
.why__item { display: flex; gap: 14px; align-items: flex-start; }
.why__item .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-050); color: var(--blue);
  display: grid; place-items: center; margin-top: 2px;
}
.why__item .check svg { width: 15px; height: 15px; }
.why__item p { font-size: 16.5px; color: var(--text); }
.why__item b { color: var(--ink); }
.why__kicker {
  margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--blue);
  background: var(--gray-1); border-radius: 0 12px 12px 0; font-size: 16.5px;
}
.why__kicker b { color: var(--ink); }

/* ---------- Anwendungen ---------- */
.apps { background: var(--gray-1); }
.apps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.app-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.app-card__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.app-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.app-card:hover .app-card__img img { transform: scale(1.07); }
.app-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,17,22,.45)); }
.app-card__body { padding: 22px 22px 26px; }
.app-card__body h3 { font-size: 19px; }
.app-card__body p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- SWG Partner / Stats ---------- */
.partner { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.partner__bg { position: absolute; inset: 0; background: url("../img/luftaufnahme.webp") center/cover; }
.partner::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,17,22,.72) 0%, rgba(14,17,22,.6) 50%, rgba(14,17,22,.86) 100%),
    radial-gradient(90% 70% at 50% 30%, rgba(14,17,22,.35), transparent 75%);
}
.partner .container { position: relative; z-index: 2; }
.partner h2 { color: #fff; }
.partner .eyebrow { color: #8fc0ff; } .partner .eyebrow::before { background: #8fc0ff; }
.partner__sub { color: #aeb9c8; margin-top: 14px; }
.stats {
  margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.stat {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 34px 18px; min-height: 190px; border-radius: var(--radius);
  background: rgba(11,14,19,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.stat::before { /* dezenter Akzent-Schimmer oben */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(26,126,251,.5), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.stat:hover { transform: translateY(-6px); border-color: rgba(26,126,251,.45); background: rgba(26,126,251,.08); }
.stat:hover::before { opacity: 1; }
.stat__num {
  font-family: var(--font-head); font-weight: 700; color: #fff; line-height: .96;
  font-size: clamp(38px, 4.4vw, 54px); letter-spacing: -.02em;
}
.stat__num .u { color: var(--blue); font-size: .52em; font-weight: 700; vertical-align: baseline; }
.stat__num--cert { font-size: clamp(30px, 3.4vw, 40px); }
.stat__num--cert .big { display: block; }
.stat__num--cert .small { display: block; font-size: .52em; color: var(--blue); margin-top: 2px; }
.stat__accent { /* dezente Akzentlinie unter der Zahl */
  width: 26px; height: 2px; border-radius: 2px; background: rgba(26,126,251,.6); margin: 14px 0 12px;
}
.stat__label { font-size: 14px; color: #aab4c2; line-height: 1.45; max-width: 200px; }

/* ---------- Kontakt / Conversion-Form ---------- */
.contact { background: linear-gradient(180deg, var(--gray-1), #fff 60%); }
.contact__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.contact__intro .eyebrow { margin-bottom: 16px; }
.contact__intro p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.contact__benefits { margin-top: 26px; display: grid; gap: 12px; }
.contact__benefits li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 16px; }
.contact__benefits svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.contact__person {
  margin-top: 30px; display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.contact__person .ava {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; flex: none;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 22px; font-weight: 700;
}
.contact__person b { display: block; color: var(--ink); font-size: 16.5px; }
.contact__person span { color: var(--muted); font-size: 14px; }
.contact__person .ph { margin-top: 4px; display: inline-flex; gap: 7px; align-items: center; color: var(--blue); font-weight: 600; font-size: 14.5px; }

/* Card form */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 38px); position: relative; overflow: hidden;
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--blue), #5aa0ff); }
.form-card h3 { font-size: 23px; }
.form-card .muted { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.field { margin-top: 13px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--text);
  padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfcfe; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26,126,251,.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-file {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm); background: #fbfcfe; cursor: pointer; transition: border-color .2s, background .2s; font-size: 14.5px; color: var(--muted);
}
.field-file:hover { border-color: var(--blue); background: var(--blue-050); }
.field-file svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.field-file input { display: none; }
.consent { margin-top: 16px; display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); text-decoration: underline; }
.form-card .btn { margin-top: 18px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 7px; }
.form-note svg { width: 14px; height: 14px; color: var(--green); }
.field .err-msg { color: #d92d20; font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f04438; background: #fff5f4; }
.field.invalid .err-msg { display: block; }

/* form feedback */
.form-alert { display: none; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 4px; }
.form-alert.show { display: block; }
.form-alert.ok { background: #e7f8ef; color: #0a7c43; border: 1px solid #b6e6cd; }
.form-alert.bad { background: #fdeceb; color: #b42318; border: 1px solid #f6c9c5; }
.form-success {
  text-align: center; padding: 24px 8px;
}
.form-success .ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #e7f8ef; color: var(--green); display: grid; place-items: center; animation: pop .5s var(--ease); }
.form-success .ic svg { width: 38px; height: 38px; }
.form-success h3 { color: var(--ink); }
.form-success p { color: var(--muted); margin-top: 10px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label, .btn.is-loading svg.arr { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa6b6; padding: 56px 0 30px; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer img.flogo { height: 40px; margin-bottom: 18px; }
.site-footer p { font-size: 14.5px; color: #9aa6b6; max-width: 320px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #c5cedb; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { color: var(--blue); }
.footer-list { display: grid; gap: 10px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-bottom a { font-size: 13px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  justify-content: flex-end;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: transparent; box-shadow: none; pointer-events: none; /* Cookie-Button links bleibt klickbar */
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { width: auto; pointer-events: auto; box-shadow: 0 10px 30px rgba(26,126,251,.5); }

/* ---------- Scroll-Reveal Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .hero__scroll .mouse::after { animation: none; transform: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .12s !important; }
}

/* ---------- Trenner 1: Zielgruppen ---------- */
.audience { background: #fff; }
.audience__head { max-width: 820px; margin: 0 auto; text-align: center; }
.audience__head .eyebrow { margin-bottom: 16px; }
.audience__title { font-size: clamp(24px, 3.2vw, 36px); }
.audience__title .u { color: var(--blue); }
.audience__sub { margin-top: 16px; color: var(--muted); font-size: 17px; }
.audience__grid {
  margin-top: clamp(30px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; gap: 16px;
}
.audience__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 26px 18px; border-radius: var(--radius); background: var(--gray-1);
  border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.audience__item:hover { transform: translateY(-5px); border-color: rgba(26,126,251,.4); box-shadow: var(--shadow-sm); }
.audience__ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); transition: background .3s var(--ease), color .3s var(--ease);
}
.audience__item:hover .audience__ic { background: var(--blue); color: #fff; }
.audience__ic svg { width: 28px; height: 28px; }
.audience__item b { font-size: 15.5px; color: var(--ink); line-height: 1.3; }

/* ---------- Trenner 2: Funktionsprinzip (Rundtakt-Animation) ---------- */
.principle { background: var(--gray-1); }
.principle__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.principle__text .eyebrow { margin-bottom: 14px; }
.principle__text p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 460px; }
.principle__legend { margin-top: 22px; display: grid; gap: 12px; list-style: none; }
.principle__legend li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.principle__legend .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.principle__legend .dot--rotor { background: var(--blue); }
.principle__legend .dot--done { background: var(--orange); }
.principle__viz { display: grid; place-items: center; }
.rt { width: min(580px, 100%); height: auto; overflow: visible; }
/* weicher, leicht sichtbarer blauer Gradient-Puls im Hintergrund */
.rt-glow { transform-box: view-box; transform-origin: 130px 130px; animation: rtGlow 3.4s ease-in-out infinite; }
@keyframes rtGlow { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: .75; transform: scale(1.08); } }
.rt-track { fill: none; stroke: #bcc8d8; stroke-width: 3; stroke-dasharray: 1 11; stroke-linecap: round; }

/* Taktteller (Rotation per JS); Werkstücke füllen sich Station für Station = Fortschritt */
.rt-rotor { transform-box: view-box; transform-origin: 130px 130px; }
.rt-part-ring { fill: #fff; stroke: #c4cfdd; stroke-width: 2; }
.rt-fill { fill: var(--blue); transform-box: fill-box; transform-origin: center; transform: scale(0); }

/* Stations-Blitze (fix): leuchten beim Einrasten – Auswurf/Laden in Orange */
.rt-flash { fill: var(--blue); opacity: 0; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 5px rgba(26,126,251,.85)); }
.rt-flash.load { fill: var(--orange); filter: drop-shadow(0 0 6px rgba(255,105,0,.9)); }

.rt-hub { fill: #fff; stroke: #e6ebf3; stroke-width: 1.5; }
.rt-logo { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .rt-glow { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .why .why__grid { grid-template-columns: 1fr; }
  .why__media { order: -1; max-width: 520px; }
  .apps__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .proofbar .container { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .principle__inner { grid-template-columns: 1fr; gap: 30px; }
  .principle__text { max-width: 560px; }
  .principle__viz { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  /* Sticky-Nav: CTA raus, Telefonnummer zeigen */
  .header-phone { display: inline-flex; font-size: 14px; }
  .header-right .btn { display: none; }
  .site-header .logo img { height: 50px; }
  .site-header.scrolled .logo img { height: 40px; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .compare { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .audience__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }   /* Kacheln untereinander */
  .audience__item { flex-direction: row; justify-content: flex-start; text-align: left; gap: 16px; padding: 18px 20px; }
  .audience__ic { width: 48px; height: 48px; }
  .audience__ic svg { width: 24px; height: 24px; }
  .site-footer .container { grid-template-columns: 1fr; gap: 26px; }
  .mobile-cta { display: flex; }
  .hero__scroll { display: none; }
  .economy__result { gap: 30px 50px; }
  /* Kachelraster mobil: 4 gleich breite Spalten -> geht sauber auf & ist horizontal symmetrisch */
  .site-grid { background-size: 25vw 25vw; background-position: 50% 0; }
}
@media (max-width: 420px) {
  .apps__grid { grid-template-columns: 1fr; }
}
