/* ==========================================================
   betriebautomatisiert – Landingpage
   Weiß, Schwarz, fett + dünn, 15px Radius, graue Schatten
   ========================================================== */

:root {
  --bg: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #3a3a3d;
  --muted: #6e6e73;
  --line: #ebebee;
  --tint: #f6f6f7;
  --accent: #ffd60a;          /* einziger Farbakzent, aufgegriffen aus den Bildern */
  --ok: #1fbf75;

  --radius: 15px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.05);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 24px 60px rgba(0,0,0,.14);

  --display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.035em; line-height: 1.04; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.thin { font-weight: 200; }
b, .bold, strong { font-weight: 800; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { left: 16px; }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 16px/1 var(--body);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border-color: var(--line); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 11px 16px; font-size: 14px; box-shadow: none; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
.btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 0; color: var(--ink); white-space: nowrap; text-decoration: none; font: 400 20px/1 var(--display); letter-spacing: -0.02em; }
.logo b { font-weight: 800; }
/* Logo: Schalter zwischen „Betrieb“ und „Automatisiert“, steht auf „an“ */
.logo-switch {
  position: relative; flex: none; width: 34px; height: 20px; margin: 0 7px; border-radius: 10px; background: var(--ink);
}
.logo-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  transform: translateX(14px);
  animation: switch-on .55s var(--ease) .5s backwards;
}
.logo:hover .logo-switch::after { animation: switch-flick .7s var(--ease); }
@keyframes switch-on { from { transform: translateX(0); } to { transform: translateX(14px); } }
@keyframes switch-flick { 0%, 100% { transform: translateX(14px); } 45% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .logo-switch::after { animation: none !important; } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--ink); transition: right .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 6px; box-shadow: var(--shadow-sm); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.mobile-nav[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.mobile-nav[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-panel {
  position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px));
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; display: grid; gap: 2px;
}
.mobile-panel a:not(.btn) { padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.mobile-panel a:not(.btn):hover { background: var(--tint); }
.mobile-panel .btn { margin-top: 8px; }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }

.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.checks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 6px; flex: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > *, .calc-grid > *, .erech > *, .pc > *, .faq-wrap > *, .ref > * { min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); margin: 22px 0 24px; overflow-wrap: break-word; text-wrap: balance; }
h2, h3 { overflow-wrap: break-word; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 .thin { color: var(--ink-2); }
.procs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.procs button {
  font: 600 14.5px/1 var(--body); color: var(--ink-2);
  padding: 10px 14px; border-radius: 10px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.procs button:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--ink); }
.procs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); font-weight: 300; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }

.hero-visual { position: relative; }
.hero-img { overflow: hidden; aspect-ratio: 4 / 4.6; background: #f1f1ef; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero-visual:hover .hero-img img { transform: scale(1.08); }
.hero-img img:not([src]) { display: none; }

.chip {
  position: absolute; top: 22px; right: -14px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; font-size: 14px; font-weight: 600;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,191,117,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,191,117,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(31,191,117,0); } }

.pipeline {
  position: absolute; left: -36px; bottom: -32px; width: min(330px, 86%);
  padding: 18px; box-shadow: var(--shadow-lg);
}
.pipe-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pipe-head b { display: block; font-size: 15px; }
.pipe-tag { display: inline-block; font: 700 11px/1 var(--body); letter-spacing: .07em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 5px 7px; border-radius: 6px; margin-bottom: 6px; }
.pipeline.swap .pipe-head, .pipeline.swap .pipe-steps { animation: swapIn .45s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pipe-head small { color: var(--muted); font-size: 13px; }
.file-ico { flex: none; width: 38px; height: 44px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 10px/44px var(--body); text-align: center; letter-spacing: .05em; }
.pipe-steps { display: grid; gap: 10px; padding: 14px 0; }
.pipe-steps li {
  display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #b5b5ba;
  transition: color .35s var(--ease);
}
.pipe-steps li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 1.5px solid #d8d8dc; transition: all .35s var(--ease);
}
.pipe-steps li.done { color: var(--ink); }
.pipe-steps li.done::before {
  border-color: var(--ink);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.pipe-steps li.active { color: var(--ink); }
.pipe-steps li.active::before { border-color: var(--ink); border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pipe-bar { height: 4px; border-radius: 4px; background: var(--tint); overflow: hidden; }
.pipe-bar span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 4px; transition: width .6s var(--ease); }

/* Load-Animation */
.load { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Facts ---------- */
.facts { padding: 40px 0 24px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.fact-num { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }
.fact p:not(.fact-num) { color: var(--ink-2); font-size: 16px; }
.fact cite { margin-top: auto; padding-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 18px 0 18px; }
.section-lead { font-size: 18px; color: var(--ink-2); font-weight: 300; max-width: 620px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 32px 28px 34px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-no { font: 200 56px/1 var(--display); letter-spacing: -0.04em; color: #c9c9ce; display: block; margin-bottom: 26px; }
.step h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.step p { color: var(--ink-2); }

/* Use cases */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uc { padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.uc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.uc h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.uc p { color: var(--ink-2); font-size: 16px; }
.uc-feature { grid-row: span 3; background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: 34px; }
.uc-feature h3 { font-size: clamp(28px, 2.6vw, 36px); margin: 22px 0 16px; }
.uc-feature p { color: #c8c8cc; font-size: 17px; }
.uc-feature .link { margin-top: auto; padding-top: 28px; color: #fff; }
.badge { align-self: flex-start; font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 8px 11px; border-radius: 8px; }
.link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; }
.link span { transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* Referenz */
.ref { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; padding: 0; box-shadow: var(--shadow-lg); }
.ref-img { min-height: 100%; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; }
.ref-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.ref-copy h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.ref-copy > p { color: var(--ink-2); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.before-after > div { background: var(--tint); border-radius: var(--radius); padding: 20px; }
.before-after > div:last-child { background: var(--ink); color: #fff; }
.ba-label { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ba-after { color: var(--accent); }
.before-after li { font-size: 15px; padding: 7px 0; border-top: 1px solid rgba(0,0,0,.07); }
.before-after > div:last-child li { border-color: rgba(255,255,255,.12); }
.before-after li:first-child { border-top: 0; }

/* Branchen */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ind img { aspect-ratio: 7 / 5.4; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind:hover img { transform: scale(1.05); }
.ind-body { padding: 22px 22px 26px; position: relative; background: #fff; }
.ind h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.ind p { color: var(--ink-2); font-size: 15.5px; }

/* Rechner */
.calc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.calc { padding: clamp(22px, 3.4vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; }
.calc label span { font-size: 15px; color: var(--ink-2); }
.calc output { font: 800 20px/1 var(--display); }
.calc input[type=range] { grid-column: 1 / -1; width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(var(--ink), var(--ink)) 0/var(--p, 50%) 100% no-repeat, #e6e6e9; cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .2s; }
.calc input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 8px; }
.calc-out > div { background: var(--tint); border-radius: var(--radius); padding: 16px; }
.calc-out .calc-hl { background: var(--ink); color: #fff; }
.calc-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.calc-hl .calc-label { color: #a9a9ae; }
.calc-num { font-family: var(--display); line-height: 1.05; }
.calc-num span { font-size: clamp(26px, 2.6vw, 34px); font-weight: 200; letter-spacing: -0.03em; }
.calc-num b { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0; margin-top: 4px; }

/* E-Rechnung */
.erech { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.timeline { padding: 12px 28px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.timeline li:first-child { border-top: 0; }
.tl-date { font: 200 22px/1 var(--display); letter-spacing: -0.02em; }
.timeline .tl-note { display: block; color: var(--muted); font-size: 15px; }
.check { padding: 28px; display: grid; gap: 22px; }
.check fieldset { border: 0; margin: 0; padding: 0; transition: opacity .3s; }
.check fieldset[disabled] { opacity: .35; }
.check legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--tint); border-radius: 12px; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; border-radius: 9px; font-size: 15px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check-result { border-radius: var(--radius); background: var(--ink); color: #fff; padding: 22px; min-height: 120px; }
.check-result .r-date { font: 800 clamp(28px, 3vw, 36px)/1 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.check-result .r-date .thin { color: #bdbdc2; }
.check-result p:not(.r-date) { color: #d4d4d8; font-size: 15.5px; }
.fine { font-size: 13px; color: var(--muted); }

/* Warum (dunkel) */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: #9a9aa0; }
.section-dark .thin { color: #cfcfd4; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.why article { padding: 32px 28px 8px 0; }
.why article + article { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.why h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.why p { color: #b9b9be; font-size: 16px; }

/* Prozess-Check */
.pc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(26px, 5vw, 60px); box-shadow: var(--shadow-lg); }
.pc-copy { display: flex; flex-direction: column; gap: 20px; }
.pc-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.pc-copy > p { color: var(--ink-2); }
.pc-copy .checks { flex-direction: column; gap: 10px; }
.pc-form { display: grid; gap: 16px; }
.pc-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-form label { display: grid; gap: 7px; }
.pc-form label > span { font-size: 14px; font-weight: 600; }
.pc-form input:not([type=checkbox]), .pc-form select, .pc-form textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink);
  width: 100%; padding: 14px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--tint);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pc-form textarea { resize: vertical; }
.pc-form input:focus, .pc-form select:focus, .pc-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.consent { grid-template-columns: auto 1fr !important; align-items: start; gap: 10px !important; font-size: 14px; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.consent span { font-weight: 400 !important; }
.form-msg { font-size: 15px; min-height: 1em; }
.form-msg[data-state="ok"] { color: #0d7a48; font-weight: 600; }
.form-msg[data-state="error"] { color: #b42318; font-weight: 600; }
.pc-form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 0; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font: 700 18px/1.35 var(--display); position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230b0b0c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr .7fr; gap: 32px; }
.footer-text { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 340px; }
.footer-h { font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Scroll-Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in:hover { transition-delay: 0ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
  .mobile-nav { display: block; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why article:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .hero-grid, .calc-grid, .erech, .pc, .faq-wrap, .ref { grid-template-columns: 1fr; }
  .hero-visual { margin: 0 8px 40px; }
  .hero-img { aspect-ratio: 4 / 3.4; }
  .chip { right: 12px; }
  .pipeline { left: 12px; bottom: -36px; }
  .facts-grid, .steps { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: 1fr 1fr; }
  .uc-feature { grid-column: 1 / -1; grid-row: auto; }
  .ref-img img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner > .btn { display: none; }
  .header-inner .mobile-nav { margin-left: auto; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero h1 { font-size: clamp(1.9rem, 9.4vw, 2.6rem); }
  .eyebrow { font-size: 12px; letter-spacing: .06em; }
  .hero-visual { margin: 0 0 56px; }
  .chip { top: 12px; right: 12px; }
  .pipeline { left: 12px; right: 12px; width: auto; bottom: -48px; }
  .usecases, .industries, .why, .before-after, .pc-form .row { grid-template-columns: 1fr; }
  .why article, .why article + article { padding: 26px 0 6px; border-left: 0; }
  .why article + article { border-top: 1px solid rgba(255,255,255,.14); }
  .calc-out { grid-template-columns: 1fr; }
  .timeline { padding: 6px 20px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .load, .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* FAQ-Überschrift in schmaler Spalte */
.faq-wrap .section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

/* ==========================================================
   Förderung: Status-Badges, Landing-Abschnitt, Unterseiten
   ========================================================== */
.status { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--body); padding: 7px 10px; border-radius: 8px; background: var(--tint); color: var(--ink); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b5b5ba; flex: none; }
.status-offen::before { background: var(--ok); }
.status-termin { background: var(--accent); }
.status-termin::before { background: var(--ink); }
.status-pruefen::before { background: #f5a524; }
.status-beratung::before, .status-kredit::before { background: #8e8e93; }
.status-geschlossen { color: var(--muted); }
.status-geschlossen::before { background: #e5484d; }

/* Landing */
.foerder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.foerder-grid > * { min-width: 0; }
.foerder-grid .section-head { margin-bottom: 0; }
.foerder-grid .checks { flex-direction: column; gap: 10px; margin: 26px 0 28px; }
.foerder-tool { padding: clamp(22px, 3.4vw, 34px); display: grid; gap: 18px; }
.foerder-tool label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.foerder-tool select { font: 400 16px/1.4 var(--body); color: var(--ink); padding: 14px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--tint); width: 100%; }
.foerder-tool select:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.f-result { border-radius: var(--radius); background: var(--ink); color: #fff; padding: 22px; display: grid; gap: 10px; min-height: 190px; align-content: start; }
.f-result .status { justify-self: start; }
.f-result .status:not(.status-termin) { background: rgba(255,255,255,.12); color: #fff; }
.f-prog { font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.f-kurz { font: 300 20px/1.25 var(--display); letter-spacing: -0.02em; }
.f-text { color: #c8c8cc; font-size: 15px; }
.f-result .link { color: #fff; margin-top: 4px; }
.f-news { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.f-news b { background: var(--accent); color: var(--ink); padding: 4px 8px; border-radius: 6px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

/* Unterseiten */
.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 4rem); margin: 18px 0 22px; max-width: 1000px; overflow-wrap: break-word; text-wrap: balance; }
.page-hero h1 span, .page-hero h1 b { display: block; }
.page-hero .lead { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.stand { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.keyfacts-wrap { padding-bottom: 8px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kf { padding: 22px; display: grid; gap: 10px; align-content: start; }
.kf .status { justify-self: start; }
.kf-label { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kf-val { font: 200 34px/1.05 var(--display); letter-spacing: -0.03em; }
.kf-val-sm { font-size: 22px; font-weight: 300; }
.kf-text { font-size: 15px; color: var(--ink-2); }
.kf-text b { color: var(--ink); }
.section-top-sm { padding-top: clamp(40px, 6vw, 72px); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose > p { color: var(--ink-2); font-size: 17.5px; }
.prose ul { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 30px; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; }
.list-check li::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-x li::before { background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-dot li::before { width: 7px; height: 7px; top: 10px; left: 6px; border-radius: 50%; background: var(--ink); }
.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ex { background: var(--tint); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; }
.ex-label { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ex-in { font-size: 15px; color: var(--ink-2); }
.ex-out { font: 700 18px/1.3 var(--display); letter-spacing: -0.01em; }
.prose .fine { margin-top: 10px; }
.more { display: grid; gap: 14px; margin: 0; }
.more dt { font-weight: 700; }
.more dd { margin: 4px 0 0; color: var(--ink-2); }
.src li { padding-left: 0; }
.src li::before { display: none; }
.src a { color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.warn { margin-top: 28px; padding: 16px 18px; border-radius: var(--radius); background: #fff8d6; color: var(--ink-2); font-size: 14.5px; }
.side { position: sticky; top: 96px; padding: 26px; display: grid; gap: 16px; }
.side-h { font-size: 26px; }
.mini-steps { display: grid; gap: 14px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; }
.mini-steps li::before { content: counter(ms); grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font: 700 14px/30px var(--body); text-align: center; }
.mini-steps b { font-size: 15.5px; }
.mini-steps span { font-size: 14.5px; color: var(--ink-2); }

.laender { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.land { padding: 18px; display: grid; gap: 8px; align-content: start; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.land:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.land .status { justify-self: start; margin-top: 4px; }
.land-name { font: 800 18px/1.2 var(--display); letter-spacing: -0.02em; }
.land-prog { font-size: 14px; color: var(--ink-2); }

.lrows { display: grid; gap: 12px; }
.lrow { display: grid; grid-template-columns: 220px 1.2fr 1fr 150px; gap: 20px; padding: 20px 22px; align-items: center; scroll-margin-top: 96px; }
.lrow:target { box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.lrow-land { display: grid; gap: 8px; }
.lrow-land b { font: 800 18px/1.2 var(--display); letter-spacing: -0.02em; }
.lrow-land .status { justify-self: start; }
.lrow-p { font-weight: 600; }
.lrow-k { font-size: 15px; color: var(--ink-2); }
.lrow-status { font-size: 14.5px; color: var(--ink-2); }
.lrow-link { justify-self: end; text-align: right; display: grid; gap: 4px; }
.row-note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.src-inline { font-size: 13.5px; color: var(--muted); }
.bunds { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.bund { padding: 24px; display: grid; gap: 10px; align-content: start; }
.bund h3 { font-size: 19px; font-weight: 800; }
.bund p { color: var(--ink-2); font-size: 15.5px; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.rule { padding: 30px 26px 6px 0; }
.rule + .rule { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); }
.rule h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.rule p { color: #b9b9be; font-size: 15.5px; }
.faq-wrap .section-head .btn { margin-top: 24px; }

@media (max-width: 1080px) {
  .keyfacts, .laender { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .rule:nth-child(3) { padding-left: 0; border-left: 0; }
  .lrow { grid-template-columns: 200px 1fr 120px; }
  .lrow-status { grid-column: 2; grid-row: 2; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .foerder-grid, .two-col { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 600px) {
  .keyfacts, .laender, .rules { grid-template-columns: 1fr; }
  .rule, .rule + .rule { padding: 24px 0 6px; border-left: 0; }
  .rule + .rule { border-top: 1px solid rgba(255,255,255,.14); }
  .lrow { grid-template-columns: 1fr; gap: 10px; }
  .lrow-status { grid-column: auto; grid-row: auto; }
  .lrow-link { justify-self: start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
}
