/* ==========================================================================
   Arbeitszeiterfassung Pro – RM-COLLECTION
   Gestaltungssystem „Navy/Lime“
   - Marineblau der Software (#1f4e78) als Hauptfarbe
   - Lime (#d3f700) als Akzent
   - Schräge Ecke oben rechts als Wiedererkennungsmerkmal
   Reines CSS ohne externe Abhängigkeiten oder Web-Schriften.
   ========================================================================== */

:root {
  --navy-950: #081726;
  --navy-900: #0c2036;
  --navy-800: #112c48;
  --navy-700: #173a5e;
  --navy: #1f4e78;
  --navy-400: #5b84a8;
  --navy-200: #b9cee0;
  --navy-100: #dce8f2;
  --navy-50: #eef4f9;

  --lime: #d3f700;
  --lime-soft: #e4ff5c;
  --lime-ink: #293200;

  --paper: #f6f5f0;
  --paper-2: #edebe3;
  --white: #fff;

  --ink: #13212e;
  --text: #2c3a47;
  --muted: #566472;
  --line: #d8dde2;
  --line-dark: rgba(255, 255, 255, .13);
  --on-dark: #e9eff5;
  --on-dark-muted: #a9bccd;

  --cut: 22px;
  --container: 1240px;
  --gutter: 28px;
  --header-h: 72px;

  --shadow: 0 18px 50px rgba(8, 23, 38, .14);
  --shadow-lg: 0 40px 100px rgba(4, 12, 22, .5);

  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  --check-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='%23293200' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-lime: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='%23d3f700' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; text-wrap: pretty; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}

::selection { background: var(--lime); color: var(--lime-ink); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .lightbox :focus-visible { outline-color: var(--lime); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--lime); color: var(--lime-ink);
  padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Schräge Ecke oben rechts */
.cut {
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.cut--line::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: var(--cut); height: var(--cut); pointer-events: none;
  background: linear-gradient(to top right,
    transparent calc(50% - 1.6px),
    var(--cut-line, var(--line)) calc(50% - 1.6px),
    var(--cut-line, var(--line)) 50%,
    transparent 50%);
}

/* --------------------------------------------------------------------------
   Schaltflächen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border: 0; background: none;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--lime, .btn--navy { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { background: var(--lime-soft); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .38); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .07); }
.btn--outline { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 17px 26px; font-size: 16.5px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15.5px; color: var(--navy);
  border-bottom: 2px solid var(--navy-200); padding-bottom: 3px;
  transition: border-color .15s ease, gap .15s ease;
}
.text-link .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.text-link:hover { border-color: var(--navy); gap: 12px; }
.on-dark .text-link { color: #fff; border-color: rgba(255, 255, 255, .3); }
.on-dark .text-link:hover { border-color: var(--lime); }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled, .site-header--solid {
  background: rgba(12, 32, 54, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav-shell {
  width: min(100% - 2 * var(--gutter), 1380px); margin-inline: auto;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  position: relative; width: 42px; height: 42px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: var(--navy);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
}
.brand-mark i { position: absolute; left: 7px; right: 7px; height: 1px; background: var(--lime); opacity: .4; }
.brand-mark i:nth-child(1) { top: 11px; }
.brand-mark i:nth-child(2) { top: 20.5px; }
.brand-mark i:nth-child(3) { top: 30px; }
.brand-mark b { position: relative; font-size: 12.5px; letter-spacing: .06em; color: var(--lime); font-weight: 800; }
.brand-copy strong { display: block; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; color: #fff; }
.brand-copy small { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); line-height: 1; }

.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14.5px; font-weight: 600; color: #d5e0ea; }
.main-nav a { position: relative; padding: 8px 0; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--lime); transition: right .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.nav-actions { display: flex; gap: 10px; flex: none; }
.nav-actions .btn { padding: 11px 16px; font-size: 14px; }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  background: none; border: 0; color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
}
.menu-toggle .icon { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(72px, 9vw, 124px) 0; }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--tint { background: var(--navy-50); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 840px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4.3vw, 56px); font-weight: 750; margin: 16px 0 18px; letter-spacing: -.03em; }
.section-head p { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--muted); max-width: 66ch; }
.section-head--center p { margin-inline: auto; }
.section--dark .section-head p { color: var(--on-dark-muted); }

/* Hervorhebung in Überschriften: Marker auf hell, Lime-Schrift auf dunkel */
h2 em, h3 em {
  font-style: normal;
  background-image: linear-gradient(transparent 0 64%, var(--lime) 64% 93%, transparent 93%);
  padding: 0 .1em; margin: 0 -.1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section--dark h2 em, .section--dark h3 em, .page-hero h1 em { background: none; padding: 0; margin: 0; color: var(--lime); font-style: normal; }

.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.kicker::before {
  content: ""; width: 11px; height: 11px; flex: none;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(41, 50, 0, .28);
  clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%);
}
.section--dark .kicker, .hero .kicker, .page-hero .kicker { color: var(--on-dark-muted); }

/* Zeile über der Hauptüberschrift, die zur <h1> gehört. So steht das Suchwort
   in der Hauptüberschrift, ohne dass sich das Aussehen ändert: Die Zeile hat
   Schrift und Zeilenhöhe des Fließtexts (bei Änderung von body font-size hier
   mitziehen) und denselben Abstand zur Überschrift wie zuvor. */
.h1-kicker {
  display: block; margin-bottom: 22px;
  font-family: var(--font-text); font-size: 17px; font-weight: 400;
  line-height: 1.65; letter-spacing: 0; text-wrap: wrap;
}
.page-hero .h1-kicker { margin-bottom: 20px; }
.hero h1.has-kicker, .page-hero h1.has-kicker { margin-top: 0; }
@media (max-width: 720px) { .h1-kicker { font-size: 16.5px; } }

.check-list { display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; }
.check-list li::before {
  content: ""; width: 19px; height: 19px; margin-top: .22em; border-radius: 50%;
  background: var(--lime) var(--check-dark) center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(41, 50, 0, .22);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(44px, 6.5vw, 92px)) 0 clamp(56px, 7vw, 96px);
  color: var(--on-dark);
  background:
    radial-gradient(900px 560px at 80% 34%, rgba(31, 78, 120, .62), transparent 68%),
    radial-gradient(640px 420px at 6% 0%, rgba(211, 247, 0, .08), transparent 62%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 58%, var(--navy-800));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  gap: clamp(32px, 4.5vw, 68px); align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 5.3vw, 78px); font-weight: 780; color: #fff;
  letter-spacing: -.04em; line-height: 1; margin: 22px 0 24px;
}
.hero h1 em { display: block; white-space: nowrap; font-style: normal; color: var(--lime); }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); color: #c7d6e4; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--on-dark-muted); }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: 14.5px; font-weight: 600; color: #dbe6f0;
}
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--lime) var(--check-dark) center / 11px no-repeat;
}

.hero-visual { position: relative; padding: 14px 0 11% 7%; }
.hero-shot { position: relative; margin: 0; }
.hero-shot img { width: 100%; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), var(--shadow-lg); }
.hero-shot--ma { position: absolute; left: 0; bottom: 0; width: 43%; }
.hero-shot--ma img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 30px 70px rgba(4, 12, 22, .7); }

.shot-tag {
  position: absolute; top: -13px; left: 16px; z-index: 2;
  background: var(--lime); color: var(--lime-ink);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  padding: 8px 11px 7px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.shot-tag--navy { background: var(--navy); color: #fff; }

.float-badge {
  position: absolute; z-index: 3; min-width: 196px;
  background: rgba(17, 44, 72, .94); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 18px 44px rgba(4, 12, 22, .55);
  padding: 13px 16px 14px;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
}
.float-badge small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.float-badge strong { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.float-badge strong::before {
  content: ""; width: 17px; height: 17px; border-radius: 50%; flex: none;
  background: var(--lime) var(--check-dark) center / 10px no-repeat;
}
.float-badge--a { right: -14px; top: 22%; }
.float-badge--b { right: 5%; bottom: 3%; }

/* --------------------------------------------------------------------------
   Faktenleiste
   -------------------------------------------------------------------------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fact { padding: 30px 24px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong {
  display: block; font-family: var(--font-display); font-weight: 770;
  font-size: clamp(26px, 2.7vw, 38px); letter-spacing: -.035em; line-height: 1; color: var(--ink);
}
.fact span { display: block; margin-top: 9px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* --------------------------------------------------------------------------
   Karten (Vorteile)
   -------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--white); padding: 30px 28px 30px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--navy); --cut-line: var(--navy); }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--navy); color: var(--lime);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.card h3 { font-size: 22.5px; font-weight: 730; margin-bottom: 10px; }
.card > p { font-size: 15.5px; color: var(--muted); }
.card .check-list { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); }

.section-cta {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: 26px 30px; background: var(--navy-900); color: var(--on-dark);
}
.section-cta h3 { color: #fff; font-size: 23px; margin-bottom: 4px; }
.section-cta p { font-size: 15px; color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   Module (Umschalter)
   -------------------------------------------------------------------------- */
.switch { display: none; padding: 5px; gap: 4px; margin-bottom: 40px; background: var(--navy-50); box-shadow: inset 0 0 0 1px var(--navy-100); }
.js .switch { display: inline-flex; }
.switch button {
  border: 0; background: none; padding: 12px 24px;
  font-weight: 700; font-size: 15.5px; color: var(--navy);
  transition: background-color .15s ease, color .15s ease;
}
.switch button:hover { background: var(--navy-100); }
.switch button[aria-selected="true"] { background: var(--navy); color: #fff; }

.module-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4.5vw, 68px); align-items: center;
}
.module-panel + .module-panel { margin-top: 72px; }
.js .module-panel + .module-panel { margin-top: 0; }
.module-panel[hidden] { display: none; }
.module-copy h3 { font-size: clamp(26px, 2.7vw, 38px); font-weight: 750; margin-bottom: 14px; letter-spacing: -.028em; }
.module-copy > p { color: var(--muted); margin-bottom: 24px; }
.feature-list { display: grid; gap: 13px; font-size: 16px; color: var(--ink); }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.feature-list li::before {
  content: ""; width: 20px; height: 20px; margin-top: .2em; border-radius: 50%;
  background: var(--navy) var(--check-lime) center / 12px no-repeat;
}

/* Bildrahmen */
.shot { position: relative; margin: 0; }
.shot img { width: 100%; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(8, 23, 38, .13), var(--shadow); }
.shot figcaption { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.shot--fade img { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); box-shadow: none; }

.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; position: relative; }
.zoom::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; opacity: 0;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3f700' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m16 16 4 4M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: opacity .15s ease;
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }

/* Ablauf in vier Schritten */
.flow { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(44px, 5.5vw, 68px); border-top: 1px solid var(--line); }
.flow-head { max-width: 760px; margin-bottom: 40px; }
.flow-head h3 { font-size: clamp(25px, 2.5vw, 34px); font-weight: 750; margin: 14px 0 10px; letter-spacing: -.026em; }
.flow-head p { color: var(--muted); }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.flow-steps::before, .flow-steps::after { content: ""; position: absolute; left: 0; top: 20px; height: 2px; }
.flow-steps::before { right: 0; background: var(--navy-100); }
.flow-steps::after { width: 100%; background: var(--navy); transform-origin: left; }
.js .flow-steps::after { transform: scaleX(0); transition: transform 1.5s cubic-bezier(.2, .7, .2, 1); }
.js .flow-steps.is-run::after { transform: scaleX(1); }
.flow-step { position: relative; padding-top: 62px; }
.flow-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--lime); color: var(--lime-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(41, 50, 0, .22);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}
.flow-step small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-400); margin-bottom: 6px; }
.flow-step h4 { font-size: 19.5px; font-weight: 720; margin-bottom: 8px; }
.flow-step p { font-size: 15px; color: var(--muted); }
.flow-step .zoom { margin-top: 18px; }
.flow-step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line); }

/* --------------------------------------------------------------------------
   Im Detail (Spotlights)
   -------------------------------------------------------------------------- */
.spot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5.5vw, 84px); align-items: center; }
.spot + .spot { margin-top: clamp(72px, 9vw, 124px); }
.spot--flip .spot-media { order: -1; }
.spot-copy h3 { font-size: clamp(27px, 3vw, 42px); font-weight: 750; margin: 14px 0 18px; letter-spacing: -.03em; }
.spot-copy p { color: var(--muted); }
.spot-copy p + p { margin-top: 14px; }
.spot-copy .check-list { margin-top: 22px; font-size: 16px; color: var(--ink); }

.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 0; }
.rule { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 16px 16px 15px; }
.rule strong { display: block; font-family: var(--font-display); font-size: 25px; font-weight: 770; letter-spacing: -.03em; line-height: 1.05; color: var(--navy); }
.rule span { display: block; margin-top: 7px; font-size: 13px; line-height: 1.35; color: var(--muted); }

.note { margin-top: 22px; padding-left: 15px; border-left: 3px solid var(--lime); font-size: 13.5px; color: var(--muted); }

.chain { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; counter-reset: chain; }
.chain li {
  display: flex; align-items: baseline; gap: 8px; padding: 8px 13px 8px 11px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 650; color: var(--ink);
}
.chain li::before { counter-increment: chain; content: counter(chain, decimal-leading-zero); font-size: 11px; font-weight: 800; color: var(--navy-400); letter-spacing: .04em; }

.media-stack { position: relative; padding: 0 0 16% 14%; }
.media-stack .shot--front { position: absolute; left: 0; bottom: 0; width: 52%; }
.media-stack .shot--front img { box-shadow: 0 0 0 1px rgba(8, 23, 38, .16), 0 26px 60px rgba(8, 23, 38, .28); }
.media-stack--wide { padding: 0 0 20% 10%; }
.media-stack--wide .shot--front { width: 72%; }

/* --------------------------------------------------------------------------
   Einblicke (Galerie)
   -------------------------------------------------------------------------- */
.gallery-filters { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.js .gallery-filters { display: flex; }
.chip {
  border: 0; padding: 10px 16px; font-size: 14px; font-weight: 650;
  background: rgba(255, 255, 255, .07); color: #d5e0ea;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.chip[aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.chip--light { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.chip--light:hover { background: var(--navy-50); color: var(--navy); }
.chip--light[aria-pressed="true"] { background: var(--navy); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.g-card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
  background: var(--navy-800); color: inherit; text-align: left; cursor: zoom-in;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.g-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--lime); }
.g-card[hidden] { display: none; }
.g-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #fff; }
.g-card strong { display: block; padding: 13px 15px 3px; font-size: 15px; font-weight: 700; color: #fff; }
.g-card small { display: block; padding: 0 15px 15px; font-size: 13px; line-height: 1.42; color: var(--on-dark-muted); }
.g-card .g-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--lime); color: var(--lime-ink);
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  padding: 6px 8px 5px;
}
.gallery-foot { margin-top: 26px; font-size: 13.5px; color: var(--on-dark-muted); }

/* Großansicht */
.lightbox {
  width: min(96vw, 1560px); max-width: none; max-height: 94vh; padding: 0; border: 0;
  background: var(--navy-950); color: #fff; box-shadow: var(--shadow-lg);
}
.lightbox::backdrop { background: rgba(4, 12, 22, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox-bar { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line-dark); }
.lightbox-bar strong { font-size: 15.5px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-count { margin-left: auto; font-size: 13px; color: var(--on-dark-muted); white-space: nowrap; }
.lightbox-btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .09); color: #fff; transition: background-color .15s ease, color .15s ease; }
.lightbox-btn:hover { background: var(--lime); color: var(--lime-ink); }
.lightbox-btn .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.lightbox-body { display: grid; place-items: center; padding: 18px; overflow: auto; max-height: calc(94vh - 122px); background: #0a1b2d; }
.lightbox-body img { width: auto; max-width: 100%; max-height: calc(94vh - 160px); background: #fff; box-shadow: 0 12px 44px rgba(0, 0, 0, .45); }
.lightbox-caption { padding: 13px 20px 16px; font-size: 14.5px; color: #c7d6e4; border-top: 1px solid var(--line-dark); }

/* --------------------------------------------------------------------------
   Recht
   -------------------------------------------------------------------------- */
.legal-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5.5vw, 84px); align-items: start; }
.legal-copy p + p { margin-top: 16px; }
.legal-copy > p { font-size: 17.5px; }
.legal-outlook { margin-top: 26px; padding: 22px 24px; background: var(--navy-50); border-left: 4px solid var(--navy); }
.legal-outlook h3 { font-size: 18px; margin-bottom: 8px; }
.legal-outlook p { font-size: 15.5px; color: var(--text); }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; }
.legal-links a { font-size: 14.5px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--navy-200); padding-bottom: 2px; }
.legal-links a:hover { border-color: var(--navy); }
.source { margin-top: 18px; font-size: 13px; color: var(--muted); }

.panel { background: var(--navy-900); color: var(--on-dark); padding: clamp(26px, 3vw, 38px); }
.panel .kicker { color: var(--on-dark-muted); }
.panel h3 { color: #fff; font-size: clamp(22px, 2.2vw, 28px); font-weight: 740; margin: 14px 0 20px; }
.panel .check-list { font-size: 15.5px; color: #dbe6f0; gap: 13px; }

/* --------------------------------------------------------------------------
   Technik
   -------------------------------------------------------------------------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tech-card { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 28px 28px 22px; }
.tech-card h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 730; margin-bottom: 16px; }
.tech-card h3 .icon { color: var(--navy); }
.tech-card li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.tech-card li strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Test & Lizenz
   -------------------------------------------------------------------------- */
.trial { background: var(--lime); color: var(--lime-ink); }
.trial .kicker { color: var(--lime-ink); }
.trial .kicker::before { background: var(--navy); box-shadow: none; }
.trial h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 780; letter-spacing: -.035em; color: var(--navy-950); margin: 16px 0 18px; }
.trial h2 em { background: none; padding: 0; margin: 0; color: var(--navy); }
.trial-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.trial-lead { font-size: clamp(17px, 1.5vw, 19.5px); max-width: 60ch; color: #1f2a00; }
.trial-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.trial-card { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(41, 50, 0, .16); padding: 24px 24px 22px; }
.trial-card h3 { font-size: 20px; font-weight: 740; color: var(--navy-950); margin-bottom: 14px; }
.trial-card .check-list { font-size: 15px; color: #1f2a00; }
.trial-card .check-list li::before { background: var(--navy) var(--check-lime) center / 12px no-repeat; box-shadow: none; }
.trial-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trial-visual { margin: 0; justify-self: center; max-width: 360px; }
.trial-visual img { width: 100%; box-shadow: 0 30px 70px rgba(41, 50, 0, .38); transform: rotate(2.2deg); }
.trial-visual figcaption { margin-top: 20px; font-size: 12.5px; text-align: center; color: #3a4700; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { max-width: 920px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px;
  font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 20.5px); font-weight: 690; color: var(--ink); line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin: -6px 8px 0 0;
  border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy);
  transform: rotate(45deg); transition: transform .2s ease, margin .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq-list summary:hover { color: var(--navy); }
.faq-list details p { padding: 0 4px 24px; max-width: 76ch; color: var(--muted); }
.faq-list details p + p { margin-top: -10px; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5.5vw, 84px); align-items: start; }
.contact-copy h2 { font-size: clamp(32px, 4.3vw, 56px); font-weight: 750; letter-spacing: -.03em; margin: 16px 0 18px; }
.contact-copy > p { font-size: clamp(17px, 1.45vw, 19px); color: var(--on-dark-muted); max-width: 52ch; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill-row li { padding: 8px 13px; font-size: 13.5px; font-weight: 600; color: #dbe6f0; box-shadow: inset 0 0 0 1px var(--line-dark); }
.contact-list { display: grid; gap: 12px; margin-top: 34px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background-color .15s ease; }
a.contact-item:hover { background: rgba(255, 255, 255, .1); }
.contact-item .icon { color: var(--lime); width: 26px; height: 26px; }
.contact-item small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--on-dark-muted); line-height: 1.2; }
.contact-item strong { display: block; font-size: 18.5px; font-weight: 700; color: #fff; margin-top: 3px; }

.form { background: var(--white); color: var(--text); padding: clamp(24px, 3vw, 40px); }
.form h3 { font-size: 23px; font-weight: 740; color: var(--ink); margin-bottom: 6px; }
.form-intro { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; font-size: 16px; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid #c3ccd5; border-radius: 3px;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 78, 120, .22); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.form-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-status { margin-top: 16px; padding: 13px 15px; background: #f0f8cf; border-left: 3px solid #7d9400; font-size: 14.5px; color: #2c3600; }
.form-status a { font-weight: 700; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #c7d6e4; padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-about p { margin-top: 18px; max-width: 36ch; font-size: 14.5px; color: #9fb4c8; }
.footer-col h4 { color: #fff; font-family: var(--font-text); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: #c7d6e4; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #8ea5bb; }

/* --------------------------------------------------------------------------
   Seite „Funktionsumfang“
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(44px, 6vw, 80px)) 0 clamp(44px, 6vw, 76px);
  background:
    radial-gradient(800px 440px at 82% 20%, rgba(31, 78, 120, .6), transparent 68%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.page-hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 780; color: #fff; letter-spacing: -.04em; line-height: 1; margin: 20px 0 20px; }
.page-hero p { max-width: 64ch; font-size: clamp(17px, 1.5vw, 19.5px); color: #c7d6e4; }
.page-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stat { padding: 16px 20px 15px; min-width: 150px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.stat strong { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 780; letter-spacing: -.03em; line-height: 1; color: var(--lime); }
.stat span { display: block; margin-top: 7px; font-size: 13px; color: var(--on-dark-muted); }

.func-toolbar { display: none; }
.js .func-toolbar { display: block; }
.func-toolbar { position: sticky; top: var(--header-h); z-index: 20; padding: 14px 0; background: rgba(246, 245, 240, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.func-toolbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.func-search { flex: 1 1 280px; position: relative; }
.func-search input { width: 100%; padding: 12px 14px 12px 44px; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c3ccd5; border-radius: 3px; }
.func-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 78, 120, .22); }
.func-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.func-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.func-result { font-size: 14px; color: var(--muted); margin-left: auto; white-space: nowrap; }

.page-functions .section { padding-top: clamp(32px, 4vw, 52px); }
.page-functions .func-cat { scroll-margin-top: calc(var(--header-h) + 92px); }
.func-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(36px, 5vw, 56px); }
.func-index a { padding: 9px 13px; font-size: 13.5px; font-weight: 650; color: var(--navy); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .15s ease, color .15s ease; }
.func-index a:hover { background: var(--navy); color: #fff; }

.func-cat { margin-bottom: clamp(40px, 5vw, 64px); }
.func-cat[hidden] { display: none; }
.func-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.func-cat-head h2 { font-size: clamp(23px, 2.4vw, 31px); font-weight: 750; letter-spacing: -.025em; }
.func-cat-head span { font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.func {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 6fr);
  gap: 8px 24px; align-items: start; padding: 15px 4px; border-bottom: 1px solid var(--line);
}
.func[hidden] { display: none; }
.func:hover { background: rgba(255, 255, 255, .7); }
.func h3 { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-family: var(--font-text); font-size: 15.5px; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--ink); }
.func h3::before {
  content: ""; width: 18px; height: 18px; margin-top: .14em; border-radius: 50%;
  background: var(--lime) var(--check-dark) center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(41, 50, 0, .22);
}
.func-mods { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 1px; }
.tag { padding: 4px 8px 3px; font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.3; white-space: nowrap; }
.tag--chef { background: var(--navy); color: #fff; }
.tag--ma { background: var(--lime); color: var(--lime-ink); box-shadow: inset 0 0 0 1px rgba(41, 50, 0, .2); }
.tag--sys { background: var(--paper-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.func p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.func-empty { padding: 40px 0; font-size: 17px; color: var(--muted); }
.func-empty[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Einblenden beim Scrollen (nur mit JavaScript)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.delay-1 { transition-delay: .1s; }
.js .reveal.delay-2 { transition-delay: .2s; }

/* --------------------------------------------------------------------------
   Anpassung an kleinere Bildschirme
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .main-nav { gap: 18px; font-size: 14px; }
  .float-badge--a { right: 0; }
}

@media (max-width: 1160px) {
  .menu-toggle { display: inline-flex; }
  .nav-actions { display: none; }
  .main-nav {
    display: none; position: absolute; top: calc(var(--header-h) - 4px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px;
    background: var(--navy-800); box-shadow: inset 0 0 0 1px var(--line-dark), var(--shadow-lg);
    font-size: 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover { background: rgba(255, 255, 255, .07); }
  .main-nav .nav-cta { display: block; margin-top: 8px; background: var(--lime); color: var(--lime-ink); font-weight: 800; text-align: center; }
  .main-nav .nav-cta:hover { background: var(--lime-soft); color: var(--lime-ink); }
}
@media (min-width: 1161px) { .main-nav .nav-cta { display: none; } }

@media (max-width: 1020px) {
  .hero-grid, .module-panel, .spot, .legal-grid, .contact-grid, .trial-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { padding: 14px 0 12% 6%; max-width: 760px; }
  .spot--flip .spot-media { order: 0; }
  .card-grid, .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact:nth-child(4) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 26px; }
  .flow-steps::before, .flow-steps::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-visual { max-width: 300px; }
  .func { grid-template-columns: minmax(0, 1fr) auto; }
  .func p { grid-column: 1 / -1; padding-left: 30px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --header-h: 64px; --cut: 18px; }
  body { font-size: 16.5px; }
  .nav-shell { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark i:nth-child(1) { top: 9px; }
  .brand-mark i:nth-child(2) { top: 17.5px; }
  .brand-mark i:nth-child(3) { top: 26px; }
  .brand-copy strong { font-size: 15px; white-space: nowrap; }
  .brand-copy small { display: none; }
  .menu-toggle { padding: 9px 11px; flex: none; }
  .float-badge { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .card-grid, .tech-grid, .trial-cards, .field-row { grid-template-columns: minmax(0, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 22px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:last-child { grid-column: 1 / -1; }
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .g-card small { display: none; }
  .g-card strong { padding-bottom: 13px; font-size: 14px; }
  .section-cta { padding: 24px 22px; }
  .switch { display: flex; }
  .js .switch { display: flex; }
  .switch button { flex: 1; padding: 12px 10px; }
  .lightbox-body { padding: 8px; }
  .func-result { margin-left: 0; }
  .js .func-toolbar { position: static; }
  .page-functions .func-cat { scroll-margin-top: calc(var(--header-h) + 16px); }
}

@media (max-width: 380px) {
  .menu-toggle .menu-label { display: none; }
}

@media (max-width: 520px) {
  .flow-steps, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .media-stack { padding: 0 0 22% 8%; }
  .media-stack .shot--front { width: 62%; }
  .hero-visual { padding-left: 4%; }
  .hero-shot--ma { width: 48%; }
  .func { grid-template-columns: minmax(0, 1fr); }
  .func-mods { padding-left: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .flow-steps::after { transform: none; transition: none; }
  .btn, .card, .g-card { transition: none; }
}

@media print {
  .site-header, .func-toolbar, .site-footer, .skip-link { display: none; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Preise, Preisrechner und Bestellseite
   ========================================================================== */
.price-layout, .order-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 3.5vw, 52px); align-items: start;
}

/* Staffeln */
.tiers { display: grid; gap: 10px; }
.tier {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 2px 16px; align-items: center; padding: 16px 20px 16px 18px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
  transition: box-shadow .15s ease, background-color .15s ease;
}
.tier:hover { box-shadow: inset 0 0 0 1px var(--navy-400); }
.tier input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tier-mark { grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--navy-200); }
.tier-size { font-family: var(--font-display); font-size: 19px; font-weight: 740; color: var(--ink); line-height: 1.2; }
.tier-per { grid-column: 2; font-size: 13.5px; color: var(--muted); }
.tier-price { grid-column: 3; grid-row: 1 / 3; text-align: right; font-family: var(--font-display); font-size: 25px; font-weight: 780; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.tier-price small { display: block; font-family: var(--font-text); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.tier.is-selected { background: var(--navy-50); box-shadow: inset 0 0 0 2px var(--navy); }
.tier.is-selected .tier-mark { background: var(--navy) var(--check-lime) center / 12px no-repeat; box-shadow: none; }
.tier.is-focus { outline: 3px solid var(--navy); outline-offset: 2px; }
.tier-more { margin-top: 12px; font-size: 14px; color: var(--muted); }
.tier-more a { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--navy-200); }

/* Zusatzmodule und Zugriffe */
.options-title { margin: 30px 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.options { display: grid; gap: 10px; }
.option {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 3px 14px; align-items: start;
  padding: 16px 20px 16px 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
}
label.option { cursor: pointer; }
.option input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.option strong { font-size: 16.5px; font-weight: 720; color: var(--ink); line-height: 1.3; }
.option small { grid-column: 2; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.option-price { grid-column: 3; grid-row: 1; font-weight: 750; color: var(--ink); white-space: nowrap; }
.option--stepper { grid-template-columns: minmax(0, 1fr) auto; }
.option--stepper small { grid-column: 1; }
.option--stepper .stepper { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.stepper { display: inline-flex; align-items: center; background: #fff; box-shadow: inset 0 0 0 1px #c3ccd5; }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 21px; font-weight: 700; line-height: 1; color: var(--navy); }
.stepper button:hover:not(:disabled) { background: var(--navy-50); }
.stepper button:disabled { color: var(--navy-200); cursor: default; }
.stepper output { min-width: 40px; text-align: center; font-size: 17px; font-weight: 750; color: var(--ink); }

/* Summenkarte */
.sum-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--navy-900); color: var(--on-dark); padding: clamp(24px, 2.6vw, 34px); }
.sum-card h3 { color: #fff; font-size: 21px; font-weight: 740; margin-bottom: 18px; }
.sum-lines { display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); font-size: 15px; color: #dbe6f0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 16px; }
.sum-lines li span:last-child { white-space: nowrap; font-weight: 650; color: #fff; }
.sum-rows { display: grid; gap: 6px; padding: 14px 0 0; font-size: 14.5px; color: var(--on-dark-muted); }
.sum-rows div { display: flex; justify-content: space-between; gap: 16px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.sum-total span { font-size: 15px; font-weight: 650; color: #fff; }
.sum-total strong { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 36px); font-weight: 780; letter-spacing: -.03em; line-height: 1; color: var(--lime); white-space: nowrap; }
.sum-sub { margin-top: 8px; font-size: 13.5px; color: var(--on-dark-muted); }
.sum-card .check-list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 14.5px; color: #dbe6f0; }
.sum-card .btn { margin-top: 22px; }
.sum-card .sum-alt { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 650; color: #dbe6f0; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.sum-card .sum-alt:hover { color: #fff; text-decoration-color: var(--lime); }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* Bestellseite */
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; counter-reset: schritt; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; font-size: 14px; font-weight: 650; color: var(--on-dark-muted); box-shadow: inset 0 0 0 1px var(--line-dark); }
.steps li::before { counter-increment: schritt; content: counter(schritt); width: 26px; height: 26px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px; font-weight: 800; }
.steps li.is-current { color: #fff; box-shadow: inset 0 0 0 1.5px var(--lime); }
.steps li.is-current::before { background: var(--lime); color: var(--lime-ink); }
.steps li.is-done { color: #dbe6f0; }
.steps li.is-done::before { content: ""; background: var(--lime) var(--check-dark) center / 13px no-repeat; }

.order-step h2 { font-size: clamp(24px, 2.5vw, 33px); font-weight: 750; letter-spacing: -.025em; margin-bottom: 8px; }
.order-step > p { color: var(--muted); margin-bottom: 24px; max-width: 62ch; }
.order-form { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 2.4vw, 30px); }
.order-form > .field:last-of-type { margin-bottom: 0; }
.field-row--plz { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.field-hint { font-size: 12.5px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.field-error { font-size: 13px; font-weight: 650; color: #b3261e; }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }

.review { display: grid; gap: 12px; margin-bottom: 24px; }
.review-block { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px; }
.review-block h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; font-family: var(--font-text); }
.review-block h3 button { border: 0; background: none; padding: 0; font-size: 13.5px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.review-block p { font-size: 15.5px; line-height: 1.55; color: var(--text); white-space: pre-line; }

.consent { display: grid; gap: 12px; margin: 0 0 22px; }
.consent label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent a, .pay-box a, .notice a { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.consent .field-error { grid-column: 2; }

.pay-box { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 2.4vw, 28px); }
.pay-box h3 { font-size: 19px; font-weight: 740; margin-bottom: 8px; }
.pay-box > p { font-size: 14.5px; color: var(--muted); }
.pay-buttons { display: grid; gap: 12px; max-width: 420px; margin-top: 18px; }
.pay-buttons paypal-button, .pay-buttons paypal-basic-card-container { display: block; width: 100%; }

.notice { padding: 14px 16px; border-left: 4px solid var(--navy); background: var(--navy-50); font-size: 14.5px; line-height: 1.55; color: var(--text); }
.notice + .notice, .notice + .pay-box, .pay-box + .notice { margin-top: 14px; }
.notice--warn { border-color: #b7791f; background: #fdf4e3; }
.notice--error { border-color: #b3261e; background: #fdecea; }
.notice--test { border-color: #7d9400; background: #f0f8cf; color: #2c3600; }

.done { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 3.2vw, 44px); }
.done-mark { width: 54px; height: 54px; margin-bottom: 20px; background: var(--lime) var(--check-dark) center / 26px no-repeat; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%); }
.done h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 760; letter-spacing: -.03em; margin-bottom: 12px; }
.done > p { color: var(--muted); max-width: 62ch; }
.done-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.done-facts div { padding: 14px 16px; background: var(--navy-50); }
.done-facts small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.done-facts strong { display: block; margin-top: 4px; font-size: 17px; color: var(--ink); word-break: break-word; }
.done ol { display: grid; gap: 10px; margin: 0 0 26px; padding-left: 22px; list-style: decimal; color: var(--text); }

.tag--plus { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }

/* Ausblick auf die nächste Version */
.announce {
  display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%;
  margin-bottom: 22px; padding: 6px 12px 6px 6px;
  font-size: 13.5px; font-weight: 600; line-height: 1.35; color: #dbe6f0;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background-color .15s ease, color .15s ease;
}
.announce b {
  flex: none; padding: 4px 8px 3px; background: var(--lime); color: var(--lime-ink);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
}
.announce .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.announce:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.outlook {
  overflow: hidden; padding: clamp(60px, 7vw, 96px) 0;
  background: radial-gradient(620px 440px at 84% 50%, rgba(31, 78, 120, .62), transparent 70%), var(--navy-900);
}
.outlook-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.outlook h2 { font-size: clamp(32px, 4.3vw, 56px); font-weight: 750; letter-spacing: -.03em; margin: 16px 0 18px; }
.outlook-lead { font-size: clamp(17px, 1.45vw, 19.5px); color: #c7d6e4; max-width: 58ch; }
.outlook-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.outlook-points li { padding: 16px 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-dark); }
.outlook-points strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 740; letter-spacing: -.01em; color: var(--lime); }
.outlook-points span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: #dbe6f0; }
.outlook-note { margin-top: 22px; font-size: 13.5px; color: var(--on-dark-muted); }
.outlook-visual { display: flex; justify-content: center; }
.outlook-phone { position: relative; margin: 0; width: min(100%, 230px); }
.outlook-phone svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(4, 12, 22, .6)); }
.outlook-phone .shot-tag { left: 50%; transform: translateX(-50%); white-space: nowrap; }

.soon { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.soon .plus-hint { margin: 0 9px 0 0; }
.func-outlook { display: flex; align-items: flex-start; gap: 14px; margin-top: 34px; padding: 18px 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.func-outlook .plus-hint { flex: none; margin: 4px 0 0; }
.func-outlook p { font-size: 15.5px; line-height: 1.55; color: var(--text); }
.func-outlook strong { color: var(--ink); }

@media (max-width: 900px) {
  .outlook-grid { grid-template-columns: minmax(0, 1fr); }
  .outlook-visual { display: none; }
}
@media (max-width: 720px) {
  .outlook-points { grid-template-columns: minmax(0, 1fr); }
  .func-outlook { flex-direction: column; gap: 8px; }
  .func-outlook .plus-hint { margin: 0; }
}

.page-order .page-hero h1 { font-size: clamp(28px, 7.8vw, 68px); }
.section--tight { padding-top: clamp(32px, 4vw, 52px); }
.inline-link { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
button.text-link { background: none; border: 0; border-bottom: 2px solid var(--navy-200); padding: 0 0 3px; cursor: pointer; }
.field-hint a { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.plus-hint { display: inline-block; margin-left: 6px; padding: 3px 7px 2px; font-family: var(--font-text); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; vertical-align: middle; color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); white-space: nowrap; }

@media (max-width: 1020px) {
  .price-layout, .order-layout { grid-template-columns: minmax(0, 1fr); }
  .sum-card { position: static; }
}
@media (max-width: 720px) {
  .tier { padding: 14px 14px 14px 12px; gap: 2px 12px; }
  .tier-price { font-size: 21px; }
  .tier-size { font-size: 17px; }
  .option { padding: 14px 14px 14px 12px; }
  .field-row--plz { grid-template-columns: minmax(0, 1fr); }
  .field-row { row-gap: 0; }
  .done-facts { grid-template-columns: minmax(0, 1fr); }
  .order-actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Seite „Videos“ (wird von _werkzeuge/videos_gen.py erzeugt)
   ========================================================================== */
.video-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.video {
  display: flex; flex-direction: column;
  background: var(--white); padding: 26px 26px 28px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.video--da { box-shadow: inset 0 0 0 1.5px var(--navy); --cut-line: var(--navy); }
.video-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.video-nr {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.video-nr .icon {
  width: 36px; height: 36px; padding: 9px; stroke-width: 2.2;
  background: var(--navy); color: var(--lime);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.video h3 { font-size: 21px; font-weight: 730; line-height: 1.2; margin-bottom: 10px; }
.video p { font-size: 15.5px; color: var(--muted); }
.video .btn { align-self: flex-start; margin-top: 22px; }
.video .btn .icon { width: 18px; height: 18px; }
@media (max-width: 1020px) { .video-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .video-list { grid-template-columns: minmax(0, 1fr); } }
