/* ==========================================================================
   Formfact GmbH - Stylesheet
   Look der bestehenden Seite: Plus Jakarta Sans (Überschriften), Roboto Mono
   (Text, Labels), Blau als Akzent, blaue Linien (auf dunklem Grund gelbgrün), Neon-Gelbgrün als Highlight.
   ========================================================================== */

/* ---------- Schriften (lokal eingebunden, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/PlusJakartaSans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/PlusJakartaSans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("../fonts/RobotoMono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("../fonts/RobotoMono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Design-Tokens ---------- */
:root {
  --ink: #0E1113;
  --grey: #4F565C;
  --grey-2: #394045;
  --grey-light: #C9D2D8;
  --bg: #F9FDFE;
  --bg-2: #EEF5F7;
  --white: #FFFFFF;
  --black: #0F1212;
  --blue: #253FF6;
  --cyan: #1FFAFE;
  --lime: #E1FF01;
  --line: #CFD9DE;
  --line-dark: #2A3138;

  --font-sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1280px;
  --gutter: 64px;
  --section-y: 112px;
  --header-h: 72px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-mono); font-weight: 300;
  font-size: 15px; line-height: 26px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--black); color: #fff; padding: 12px 16px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; background: var(--bg); }
.section--alt { background: var(--bg-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--black); color: #F9FDFE; }
.section--tight { padding: 56px 0; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.stack-sm { display: flex; flex-direction: column; gap: 24px; }
.stack-xs { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Typografie ---------- */
.label { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 20px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--grey-2); font-weight: 400; }
.label::before { content: ""; width: 28px; height: 2px; background: var(--blue); flex: 0 0 28px; }
.section--dark .label::before, .band-blue .label::before, .blue-box .label::before, .cta-band .label::before { background: var(--lime); }
.section--dark .label { color: var(--grey-light); }
.h1 { font-family: var(--font-sans); font-weight: 300; font-size: 52px; line-height: 64px; letter-spacing: 5px; }
.h2 { font-family: var(--font-sans); font-weight: 300; font-size: 40px; line-height: 52px; letter-spacing: 4px; max-width: 900px; }
.h3 { font-family: var(--font-mono); font-weight: 500; font-size: 15px; line-height: 24px; letter-spacing: 1.6px; text-transform: uppercase; }
.hl { font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--blue); }
.section--dark .hl, .hl--lime { color: var(--lime); }
.lead { font-size: 16px; line-height: 27px; color: var(--grey); max-width: 760px; }
.section--dark .lead { color: var(--grey-light); }
.muted { color: var(--grey); }
.small { font-size: 13px; line-height: 22px; }
.kicker { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); font-weight: 400; }
.num { font-size: 13px; letter-spacing: 1.4px; color: var(--blue); font-weight: 400; }
.card-title { font-family: var(--font-sans); font-weight: 400; font-size: 20px; line-height: 28px; letter-spacing: 1px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 24px; border: 1px solid var(--black);
  background: var(--black); color: #F9FDFE; text-decoration: none; font-family: var(--font-mono); font-size: 14px;
  font-weight: 400; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn svg { flex: 0 0 auto; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--outline-light { background: transparent; border-color: #F9FDFE; color: #F9FDFE; }
.btn--outline-light:hover { background: #F9FDFE; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; justify-content: space-between;
  align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; padding: 0 28px; background: var(--black); }
.brand svg { width: 168px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a.nav-link { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none; color: var(--ink); font-weight: 400; }
.main-nav a.nav-link[aria-current="page"] { background: var(--lime); padding: 2px 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--ink);
  background: none; border: 0; cursor: pointer; }
.header-cta { display: flex; align-items: center; gap: 12px; height: var(--header-h); padding: 0 28px; background: var(--black);
  color: #F9FDFE; text-decoration: none; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 400; }
.header-cta:hover { background: var(--blue); color: #fff; }
.menu-toggle { display: none; }
.mobile-actions { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
.hero__grid { display: flex; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__media { flex: 1 1 520px; min-width: 0; position: relative; }
.hero__media img { width: 100%; height: 560px; object-fit: cover; object-position: 20% 50%; }
.caption { position: absolute; left: 0; bottom: 0; background: var(--black); color: #F9FDFE; padding: 14px 20px; font-size: 12px;
  letter-spacing: 1.4px; text-transform: uppercase; line-height: 18px; }
.page-hero { padding: 72px 0 0; }
.page-hero__media { margin-top: 56px; }
.page-hero__media img { width: 100%; height: 480px; object-fit: cover; }

/* ---------- Kennzahlen ---------- */
.stats { background: linear-gradient(90deg, #0B0F1E 0%, #14215F 55%, var(--blue) 100%); padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat__value { display: block; white-space: nowrap; font-family: var(--font-sans); font-weight: 300; font-size: 44px; line-height: 52px; letter-spacing: 2px; color: var(--lime); }
.stat__label { display: block; margin-top: 8px; font-size: 12px; line-height: 18px; letter-spacing: 1.4px; text-transform: uppercase; color: #E6ECF0; }

/* ---------- Raster und Karten ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--white); border: 1px solid var(--line); }
.card--dark { background: transparent; border-color: var(--line-dark); }
.card--dark .muted { color: var(--grey-light); }
.card__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.split { display: flex; gap: 64px; align-items: flex-start; }
.split--center { align-items: center; }
.split > * { flex: 1 1 480px; min-width: 0; }
.split__narrow { flex: 0 0 340px !important; }

/* ---------- Leistungs-Zeilen ---------- */
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 32px; gap: 24px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
a.row:hover .row__title { color: var(--blue); }
.row__num { font-size: 14px; letter-spacing: 1.4px; color: var(--blue); padding-top: 4px; font-weight: 400; }
.row__title { font-family: var(--font-sans); font-weight: 400; font-size: 20px; line-height: 30px; letter-spacing: 3px; text-transform: uppercase; }
.row__text { font-size: 14px; line-height: 24px; color: var(--grey); }
.row__arrow { padding-top: 4px; }
.row--pep { grid-template-columns: 64px minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); padding: 24px 0; }
.row--pep .row__title { font-size: 20px; line-height: 28px; }
.milestone { display: flex; flex-direction: column; gap: 4px; }
.milestone span:first-child { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); font-weight: 400; }
.milestone span:last-child { font-size: 14px; line-height: 22px; color: var(--ink); }

/* ---------- Bänder und Boxen ---------- */
.band-blue { background: var(--blue); color: #fff; padding: 40px 0; }
.band-blue__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band-blue__title { font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 400; }
.band-blue__text { max-width: 620px; }
.lime-box { display: flex; flex-direction: column; gap: 20px; padding: 36px; background: var(--lime); color: var(--ink); }
.lime-box__title { font-family: var(--font-sans); font-weight: 400; font-size: 24px; line-height: 34px; letter-spacing: 1px; }
.lime-strip { display: flex; gap: 40px; align-items: center; padding: 28px 32px; background: var(--lime); }
.lime-strip > :first-child { flex: 0 0 280px; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 400; }
.blue-box { display: flex; gap: 48px; align-items: flex-start; padding: 32px; background: var(--blue); color: #fff; }
.blue-box > :first-child { flex: 0 0 300px; display: flex; flex-direction: column; gap: 8px; }
.blue-box__title { font-family: var(--font-sans); font-weight: 400; font-size: 24px; line-height: 32px; letter-spacing: 1px; }
.pill { display: inline-block; padding: 4px 10px; background: var(--lime); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 400; color: var(--ink); }

/* ---------- Bilder ---------- */
.media { width: 100%; object-fit: cover; background: #DDE6EA; }
.media--xl { height: 600px; } .media--l { height: 420px; } .media--m { height: 300px; } .media--s { height: 200px; } .media--xs { height: 150px; }
.img-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.img-grid .span-all { grid-column: 1 / -1; }
.img-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.img-grid-3 .span-2 { grid-column: span 2; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* ---------- Listen, Tags ---------- */
.check-list { list-style: none; border-bottom: 1px solid var(--line); }
.check-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 24px; }
.check-list li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li { padding: 6px 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; line-height: 18px; letter-spacing: 1px; }
.section--alt .tags li { background: var(--white); }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-nav a { padding: 8px 14px; border: 1px solid var(--ink); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; font-weight: 400; }
.chip-nav a:hover { background: var(--ink); color: #fff; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.spec div { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }

/* ---------- Leistungsblöcke ---------- */
.service { display: flex; gap: 64px; padding: 56px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__head { flex: 0 0 340px; display: flex; flex-direction: column; gap: 12px; }
.service__num { font-family: var(--font-sans); font-weight: 200; font-size: 64px; line-height: 64px; color: var(--blue); }
.service__title { font-family: var(--font-sans); font-weight: 400; font-size: 26px; line-height: 34px; letter-spacing: 2px; }
.service__body { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* ---------- Ablauf ---------- */
.step { display: flex; flex-direction: column; gap: 16px; }
.step__line { display: flex; align-items: center; }
.step__line::before { content: ""; width: 10px; height: 10px; background: var(--blue); }
.step__line::after { content: ""; flex: 1; height: 1px; background: var(--ink); }

/* ---------- Personen ---------- */
.person { display: flex; flex-direction: column; gap: 14px; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; }
.person__name { font-family: var(--font-sans); font-weight: 400; font-size: 20px; letter-spacing: 1px; }
.person__role { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--grey); }

/* ---------- Kontakt ---------- */
.contact-lines { border-top: 1px solid var(--line); }
.contact-lines a, .contact-lines p { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.contact-lines p { border-bottom: 0; }
.form { display: flex; flex-direction: column; gap: 24px; padding: 40px; background: var(--white); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--grey-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 0;
  background: #fff; font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] { border: 0; padding: 12px 0; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 22px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--blue); }
.nda-box { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--bg-2); }
.nda-box [data-nda-fields][hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 16px 20px; background: var(--lime); }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 28px; line-height: 24px; color: var(--blue); }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 0 28px; max-width: 820px; color: var(--grey); font-size: 14px; line-height: 24px; }

/* ---------- CTA und Footer ---------- */
.cta-band { background: var(--white); border-top: 1px solid var(--line); padding: 80px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band__title { font-family: var(--font-sans); font-weight: 300; font-size: 36px; line-height: 48px; letter-spacing: 4px; }
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; line-height: 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-size: 13px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a { color: var(--grey-2); text-decoration: none; }
.footer-col a:hover { color: var(--blue); }
.footer-col span { color: var(--grey-2); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--grey); }
.badge-link img { width: 200px; height: auto; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--font-sans); font-weight: 400; font-size: 22px; line-height: 30px; letter-spacing: 1px; margin: 40px 0 12px; }
.legal p, .legal ul { margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.todo { padding: 16px 20px; background: var(--lime); margin: 12px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav { gap: 24px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .menu-toggle { display: inline-flex; }
  .mobile-actions { display: flex; align-items: center; gap: 4px; padding-right: 8px; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 0 24px; }
  .main-nav.is-open { display: flex; }
  .main-nav a.nav-link { padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
  .main-nav a.nav-link[aria-current="page"] { background: var(--bg-2); padding: 16px var(--gutter); }
  .main-nav .icon-btn { display: none; }
  .header-cta { margin: 16px var(--gutter) 0; height: 52px; justify-content: center; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section-y: 64px; }
  .h1 { font-size: 32px; line-height: 42px; letter-spacing: 2px; }
  .h2, .cta-band__title { font-size: 26px; line-height: 36px; letter-spacing: 2px; }
  .hl { letter-spacing: 1px; }
  .brand { padding: 0 20px; } .brand svg { width: 140px; }
  .hero { padding: 40px 0 56px; }
  .hero__grid, .split, .service, .band-blue__inner, .cta-band__inner, .lime-strip, .blue-box { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero__grid > *, .split > *, .service > *, .band-blue__inner > *, .cta-band__inner > *, .lime-strip > *, .blue-box > *, .split__narrow { flex: 0 0 auto !important; }
  .hero__media img { height: 300px; }
  .page-hero__media img, .media--xl, .media--l { height: 280px; }
  .media--m, .media--s { height: 220px; }
  .media--xs { height: 110px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .img-grid, .img-grid-3, .spec { grid-template-columns: minmax(0, 1fr); }
  .img-grid-3 .span-2 { grid-column: auto; }
  .stats__grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat__value { font-size: 30px; line-height: 38px; }
  .row, .row--pep { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .row__text, .row--pep .milestone { grid-column: 2 / 3; }
  .row__arrow { display: none; }
  .service__num { font-size: 44px; line-height: 48px; }
  .form { padding: 24px 20px; }
  .btn-row .btn, .btn-row--stack .btn { width: 100%; justify-content: center; }
  .card { padding: 24px; }
  .lime-box { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
