/* ============================================================
   Rechnungen-e - Design tokens
   ============================================================ */
:root {
  /* color */
  --bg-page: #F1F3FB;
  --bg-page-soft: #F8F9FE;
  --surface: #FFFFFF;
  --border: #E3E6F5;
  --border-strong: #CBD0EC;

  --navy-900: #0B1B3F;
  --navy-700: #1B2C57;
  --slate-600: #56607A;
  --slate-400: #8792AC;

  /* Indigo as in the app sidebar */
  --accent-700: #3D3AB0;
  --accent-600: #4F4CD2;
  --accent-500: #6B68DC;
  --accent-100: #E0E3FA;
  --accent-50:  #EEF0FD;

  --green-600: #16A34A;
  --green-50: #E8F8EE;
  --red-600: #DC2626;
  --red-50: #FEF2F2;

  --shadow-sm: 0 1px 2px rgba(15, 30, 70, 0.06);
  --shadow-md: 0 8px 24px rgba(21, 44, 105, 0.08);
  --shadow-lg: 0 24px 60px rgba(21, 44, 105, 0.14);

  /* type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* layout */
  --wrap: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  /* Buttons eckig mit kleiner Abrundung */
  --radius-btn: var(--radius-sm);

  /* Hero-Verlauf unter den Formen (hero-bg-formen.svg): Azur, Cyan, Mint */
  --hero-gradient: linear-gradient(100deg, #5A93E8 0%, #93D7EA 42%, #6CD1CB 72%, #8FDCC4 100%);

  /* Weiße Überschriften auf Bildhintergrund (Hero, Preise): nur leicht abgesetzt */
  --heading-shadow: 0 2px 12px rgba(11, 27, 63, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}

/* ============================================================
   Reset & base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-600);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2.5px solid var(--accent-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-600) 28%, transparent);
}
.btn-primary:hover { background: var(--accent-500); transform: scale(1.02); box-shadow: 0 6px 22px color-mix(in srgb, var(--accent-600) 34%, transparent); }
.btn-secondary {
  background: var(--surface);
  color: var(--navy-900);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--accent-50); border-color: var(--accent-600); color: var(--accent-700); transform: scale(1.02); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-arrow { display: inline-block; transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.link-ghost {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--slate-600);
  padding: 8px 4px;
}
.link-ghost:hover { color: var(--accent-600); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  display: block;
  height: 30px;
  width: auto;
}
.logo-tag {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 19px;
  color: var(--accent-600);
  line-height: 1;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  gap: 36px;
}
.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--slate-600);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--navy-900); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
/* Header-Button flach, ohne Schlagschatten (auch beim Hover) */
.header-actions .btn-primary,
.header-actions .btn-primary:hover { box-shadow: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Chips (signature element)
   ============================================================ */

/* chip: icon + label pill used for standards/compliance marks */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-700);
  background: var(--surface);
  border: 1px solid var(--accent-100);
  border-radius: 999px;
  padding: 7px 16px 7px 7px;
  box-shadow: var(--shadow-sm);
}
.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-600);
}
.chip-icon svg { width: 11px; height: 11px; }

.eyebrow-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 12px 5px 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.6);
  /* dezenter Schatten, auf dem hellen Wellen-Bild wirkt ein kräftiger zu schwer */
  box-shadow: 0 3px 10px rgba(21, 44, 105, 0.07);
}
.chip-icon-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 6px;
}
.chip-icon-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1CC9A6;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  margin-left: -6px;
  flex-shrink: 0;
}
.chip-icon-mini:first-child { margin-left: 0; }
.chip-icon-mini svg { width: 8px; height: 8px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge-stamp {
  padding: 6px 14px 6px 6px;
  font-size: 12px;
}
.badge-stamp .chip-icon { width: 17px; height: 17px; }

/* ============================================================
   Hero
   ============================================================ */
/* Volle Breite: Hintergrund randlos von Rand zu Rand, ohne Rahmen, Rundung und Schatten.
   Unterer Abstand bleibt, damit der Screenshot weiter über die Kante ragt. */
.hero {
  padding: 0 0 120px;
}
.hero-frame {
  position: relative;
  overflow: visible;
  padding: 116px 0 32px;
  /* Formen skalieren mit der Breite wie im Mock; unterhalb läuft nur der Verlauf weiter */
  background:
    url("../img/hero-bg-formen.svg") center top / max(100%, 1200px) auto no-repeat,
    var(--hero-gradient);
}
/* Welliger unterer Abschluss (SVG in index.html): liegt über dem Hintergrundbild,
   aber unter Text und Screenshot (.hero-inner hat z-index 1). */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* verhindert eine Haarlinie zwischen Welle und Seitenfläche */
  display: block;
  width: 100%;
  height: clamp(70px, 12vw, 180px);
  fill: var(--surface);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  text-align: center;
}
/* breit genug für zwei Zeilen Überschrift in der großen Schrift */
.hero-copy { max-width: 900px; margin: 0 auto; }
/* Überschrift weiß auf dem Wellen-Bild, mit dezentem dunklem Schatten für die Lesbarkeit */
.hero h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  color: #fff;
  text-shadow: var(--heading-shadow);
}
.hero-sub {
  font-size: clamp(16.5px, 1.45vw, 19.5px);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 28px;
  /* weiß wie die Überschrift, dezenter Schatten für die Lesbarkeit */
  color: #fff;
  text-shadow: var(--heading-shadow);
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Hinweis auf die Testphase */
.hero-note {
  font-size: 14.5px;
  margin: 20px auto 0;
  max-width: 560px;
  color: #fff;
  text-shadow: var(--heading-shadow);
}
.hero-note a { color: inherit; text-decoration: underline; }

.hero-visual { position: relative; max-width: 900px; margin: 0 auto -120px; width: 100%; z-index: 2; }
.product-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 7px;
  padding-top: 0;
  overflow: hidden;
}
.product-card-bar {
  display: flex;
  gap: 6px;
  padding: 11px 5px 8px;
}
.product-card-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
}
.product-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* ============================================================
   Vertrauensleiste
   ============================================================ */
.trustbar { padding: 56px 0 40px; }
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 30px;
}
.trustbar-label {
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 6px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
}
.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
  flex-shrink: 0;
}

/* ============================================================
   Warum Rechnungen-e
   ============================================================ */
.why-section { padding-top: 72px; }
.why-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-600);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate-600);
}
.why-list strong { color: var(--navy-900); }
.why-outro {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  line-height: 1.7;
}
.why-claim {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
}

/* ============================================================
   E-Rechnungspflicht - Zeitleiste
   ============================================================ */
/* Weiß (vom body); die Linie unter dem Rechtstext (::after) trennt zur nächsten Section */
.timeline-section { padding-top: 96px; }
.timeline-section > .wrap::after {
  content: "";
  display: block;
  /* etwas schmaler als der Inhalt, mittig */
  width: 80%;
  margin: 96px auto 0;
  border-top: 1px solid var(--border);
}

.tl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.tl-step { position: relative; padding-top: 34px; }
.tl-step::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: -28px;
  height: 2px;
  background: var(--border-strong);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0ms) + 140ms);
}
.tl-step:last-child::before { right: 0; }
.tl-step.is-visible::before { transform: scaleX(1); }
.tl-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  box-sizing: border-box;
}
.tl-step.tl-now::after {
  background: var(--accent-600);
  border-color: var(--accent-600);
  box-shadow: 0 0 0 5px var(--accent-100);
}
.tl-step.tl-final::after {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.tl-date {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.tl-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-top: 4px;
}
.tl-step.tl-now .tl-tag { color: var(--accent-600); }
.tl-title {
  font-size: 17px;
  font-weight: 700;
  margin: 16px 0 6px;
}
.tl-text { font-size: 14.5px; line-height: 1.6; margin: 0; }

.timeline-note {
  margin: 48px auto 0;
  max-width: 620px;
  text-align: center;
  font-size: 13.5px;
  color: var(--slate-400);
  line-height: 1.7;
}

/* ============================================================
   Plattformbreite - Funktions-Raster
   ============================================================ */
/* margin statt padding: .wrap setzt das Padding auf Mobile zurück, der Abstand zum Bild darüber ging dort verloren */
.capabilities { margin-top: 120px; }
/* Offene Spalten ohne Rahmen: großes Linien-Icon, Titel und Text mittig */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
}
.cap-card {
  text-align: center;
  padding: 0 12px;
}
.cap-icon {
  display: flex;
  justify-content: center;
  color: var(--accent-600);
  margin-bottom: 22px;
}
/* Strichstärke per CSS dünner, sonst wirken die Linien in dieser Größe zu schwer (ca. 3 px) */
.cap-icon svg { width: 60px; height: 60px; stroke-width: 1.25; }

/* Animierte Icons: spielen einmal ab, sobald die Maus auf die Karte fährt.
   Bei "Bewegung reduzieren" greift die globale prefers-reduced-motion-Regel oben. */
.cap-icon svg * { transform-box: fill-box; }
.ci-line, .ci-check { stroke-dasharray: 1; }

/* Bank & Transaktionen: Pfeile gleiten gegenläufig durch */
.cap-card:hover .ci-arrow-r { animation: ci-pass-r 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.cap-card:hover .ci-arrow-l { animation: ci-pass-l 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.08s both; }
@keyframes ci-pass-r {
  45% { transform: translateX(8px); opacity: 0; }
  46% { transform: translateX(-8px); opacity: 0; }
}
@keyframes ci-pass-l {
  45% { transform: translateX(-8px); opacity: 0; }
  46% { transform: translateX(8px); opacity: 0; }
}

/* Belege & Spesen: Bon hebt sich, Zeilen schreiben sich nacheinander */
.cap-card:hover .ci-receipt { animation: ci-lift 0.6s ease; }
.cap-card:hover .ci-line { animation: ci-draw 0.35s ease-out both; }
.cap-card:hover .ci-line:nth-of-type(3) { animation-delay: 0.12s; }
.cap-card:hover .ci-line:nth-of-type(4) { animation-delay: 0.24s; }
@keyframes ci-lift { 40% { transform: translateY(-1.5px); } }
@keyframes ci-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Lieferantenrechnungen: Dokument kippt kurz, Häkchen zeichnet sich neu */
.ci-doc { transform-origin: 50% 100%; }
.cap-card:hover .ci-doc { animation: ci-tilt 0.6s ease; }
.cap-card:hover .ci-check { animation: ci-draw 0.4s ease-out 0.18s both; }
@keyframes ci-tilt {
  30% { transform: rotate(-8deg); }
  65% { transform: rotate(4deg); }
}

/* Projekte & Zeiten: Knopf drückt, Zeiger dreht eine Runde um die Uhrmitte */
.ci-hand { transform-origin: 50% 100%; }
.cap-card:hover .ci-knob { animation: ci-press 0.3s ease; }
.cap-card:hover .ci-hand { animation: ci-spin 0.9s cubic-bezier(0.5, 0, 0.3, 1) 0.1s; }
@keyframes ci-press { 50% { transform: translateY(1.2px); } }
@keyframes ci-spin { to { transform: rotate(360deg); } }

/* Steuerübersicht: Balken wachsen gestaffelt von unten */
.ci-bar { transform-origin: 50% 100%; }
.cap-card:hover .ci-bar { animation: ci-grow 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.cap-card:hover .ci-bar:nth-of-type(2) { animation-delay: 0.07s; }
.cap-card:hover .ci-bar:nth-of-type(3) { animation-delay: 0.14s; }
.cap-card:hover .ci-bar:nth-of-type(4) { animation-delay: 0.21s; }
@keyframes ci-grow { from { transform: scaleY(0.15); } }

/* Kunden & Kartei: vordere Person wippt, zweite Person tritt von hinten dazu */
.cap-card:hover .ci-user-front { animation: ci-bob 0.5s ease; }
.cap-card:hover .ci-user-back { animation: ci-join 0.5s ease-out 0.12s both; }
@keyframes ci-bob { 35% { transform: translateY(-1.5px); } }
@keyframes ci-join { from { transform: translateX(-4px); opacity: 0; } }
.cap-card h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.cap-card p { font-size: 14.5px; line-height: 1.6; margin: 0 auto; max-width: 320px; }

/* ============================================================
   Platform features
   ============================================================ */
.features-section { padding: 112px 0; }
.features-header { text-align: center; max-width: 620px; margin: 0 auto 80px; }
.features-header h2 { font-size: clamp(28px, 3.4vw, 38px); }
.features-header p { font-size: 16.5px; margin: 14px auto 0; max-width: 480px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 112px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse .feature-media { order: 2; }
.feature-row-reverse .feature-copy { order: 1; }
.feature-row-lg-media { grid-template-columns: 1.2fr 1fr; }

.feature-number {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 14px;
}
.feature-copy h3,
.feature-centered-inner h3 { font-size: clamp(24px, 3vw, 30px); }
.feature-copy p { font-size: 16px; }

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--navy-700);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1.5px solid var(--green-600);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 7px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}

/* feature-visual: mocked-up UI card, illustrative until real screenshots exist */
.feature-visual {
  background: var(--bg-page-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-visual:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature-visual-wide {
  aspect-ratio: auto;
  max-width: 820px;
  margin: 0 auto;
  padding: 32px;
}
.feature-visual-inner { width: 100%; display: flex; flex-direction: column; gap: 12px; }

.feature-visual-lightbox {
  background: url("../img/hero-bg-formen.svg") center/cover no-repeat, var(--hero-gradient);
  border: none;
}
.feature-visual-lightbox:hover { transform: none; box-shadow: var(--shadow-md); }
/* auf dem hellen Bild wirkt Schwarz schmutzig, daher navy getönter, leichterer Schatten */
.feature-visual-lightbox .feature-graphic-img {
  filter: drop-shadow(0 24px 36px rgba(21, 44, 105, 0.3));
}

.fv-row { display: flex; gap: 12px; }
.fv-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.fv-card-label { font-size: 12px; color: var(--slate-400); font-weight: 500; margin-bottom: 6px; }
.fv-card-val { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy-900); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fv-card-bar { height: 5px; border-radius: 3px; margin-top: 10px; background: var(--border); overflow: hidden; }
.fv-card-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent-600);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}
.fv-wide { flex: 2; }
.fv-list { display: flex; flex-direction: column; gap: 8px; }
.fv-list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px;
  background: var(--bg-page-soft);
  border-radius: 8px;
  font-size: 13px;
}
.fv-list-name { color: var(--navy-700); font-weight: 500; }
.fv-pill { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.fv-pill.green { background: var(--green-50); color: var(--green-600); }
.fv-pill.blue  { background: var(--accent-50); color: var(--accent-600); }
.fv-pill.red   { background: var(--red-50); color: var(--red-600); }
.fv-pill.dim   { background: var(--bg-page); color: var(--slate-400); }

.feature-centered-inner {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}
.feature-centered-inner .feature-visual-wide { text-align: initial; margin-top: 40px; }

/* ============================================================
   Micrographic - Erfassung
   ============================================================ */
.feature-visual-graphic {
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.feature-visual-graphic:hover { transform: none; box-shadow: none; }
.feature-graphic-img { display: block; width: 100%; height: auto; }

/* ============================================================
   Pricing
   ============================================================ */
/* Gleicher Hintergrund wie der Hero (Wellen), hier unscharf. Das Bild liegt auf ::before,
   weil sich ein background selbst nicht weichzeichnen lässt. Die Ebene ragt über den Rand
   hinaus (inset negativ) und wird abgeschnitten, sonst franst die Unschärfe an den Kanten hell aus. */
.pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0;
}
.pricing::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: url("../img/hero-bg-formen.svg") center/cover no-repeat, var(--hero-gradient);
  filter: blur(14px);
}
/* Untertitel weiß wie die Überschrift, dezenter Schatten für die Lesbarkeit */
.pricing .section-head p { color: #fff; text-shadow: var(--heading-shadow); }
/* Überschrift weiß mit dezentem Schatten wie im Hero */
.pricing .section-head h2 { color: #fff; text-shadow: var(--heading-shadow); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.price-desc {
  font-size: 14px;
  min-height: 42px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 12px 0 24px;
}
.price-amount span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-400);
}
/* Einleitung über der Liste, z. B. "Alles aus Starter, plus …" - ohne Häkchen */
.price-features-lead {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0 0 11px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.price-features li {
  font-size: 14.5px;
  color: var(--navy-700);
  padding-left: 24px;
  position: relative;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent-600);
  border-bottom: 2px solid var(--accent-600);
  transform: rotate(-45deg);
}

.price-card-highlight {
  border-color: var(--accent-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
/* "Jetzt starten" flach, ohne Schlagschatten (auch beim Hover) */
.price-card .btn-primary,
.price-card .btn-primary:hover { box-shadow: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 112px 0; }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.faq-sidebar { position: sticky; top: 100px; }
.faq-sidebar h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.faq-sidebar p { font-size: 15.5px; line-height: 1.7; margin-bottom: 28px; }
.faq-sidebar p a { color: var(--accent-600); font-weight: 600; }
.faq-toggle-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent-600);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.faq-toggle-all:hover { opacity: 0.75; }
.faq-toggle-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 400; line-height: 1;
}

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--accent-600); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400);
  transition: transform 0.35s ease, color 0.3s ease;
}
.faq-icon svg { width: 16px; height: 16px; }
.faq-question:hover .faq-icon { color: var(--accent-600); }
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-600);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-600);
  padding-bottom: 0;
  transition: padding-bottom 0.4s ease;
}
.faq-item.open .faq-answer-inner { padding-bottom: 22px; }

/* ============================================================
   Kontaktseite (kontakt.html)
   ============================================================ */
/* Kopfbereich: Hintergrund, Welle und Deko wie der Hero der Startseite (.hero/.hero-frame),
   nur kürzer. Unten bleibt Platz, weil die E-Mail-Karte von unten hineinragt. */
.hero.page-hero { padding-bottom: 0; }
.page-hero .hero-frame { padding: 96px 0 230px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; text-align: center; }
.hero.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
.page-hero .hero-sub { max-width: 600px; }
.contact-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: #fff;
  text-shadow: var(--heading-shadow);
}
/* Häkchen im weißen Kreis, Haken in der Akzentfarbe */
.contact-facts li { position: relative; padding-left: 27px; }
.contact-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}
.contact-facts li::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 50%;
  width: 4px;
  height: 8px;
  margin-top: -6px;
  border: solid var(--accent-600);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.contact-facts a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* E-Mail-Karte ragt in den Kopfbereich hinein, wie der Screenshot im Hero der Startseite */
.contact-page { position: relative; z-index: 2; margin-top: -170px; }
.contact-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 48px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-card h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 8px; }
.contact-card p { font-size: 15px; margin: 0 0 14px; }
.contact-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--accent-600);
  overflow-wrap: anywhere;
  user-select: all;
}
.contact-mail:hover { color: var(--accent-700); }
.contact-copy { display: flex; width: fit-content; margin: 20px auto 0; }
.contact-copy[hidden] { display: none; }

/* So geht es weiter */
.contact-next { padding: 112px 0; }
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.next-steps li { padding: 0 12px; text-align: center; }
.next-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-600);
}
.next-steps h3 { font-size: 17px; margin-bottom: 8px; }
.next-steps p { max-width: 300px; margin: 0 auto; font-size: 15px; }
.contact-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.contact-alt-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-alt-card h3 { font-size: 19px; margin-bottom: 6px; }
.contact-alt-card p { margin: 0 0 18px; }
.contact-alt-link { font-size: 16px; font-weight: 600; color: var(--accent-600); }
.contact-alt-link:hover { color: var(--accent-700); }

/* ============================================================
   Rechtstexte (impressum.html, datenschutz.html)
   ============================================================ */
/* Karte ragt in den Kopfbereich wie auf der Kontaktseite */
.legal { position: relative; z-index: 2; margin-top: -170px; padding-bottom: 112px; }
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-wrap: break-word;
}
.legal-body h2 { font-size: clamp(19px, 2vw, 22px); margin: 36px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body address { font-style: normal; margin: 0 0 1em; }
.legal-body .nobr { white-space: nowrap; }
.legal-body a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--accent-700); }

/* ============================================================
   CTA card
   ============================================================ */
.cta-section { padding: 96px 0 112px; }
/* Gleiches Wellen-Bild wie der Hero, Text weiß wie dort */
.cta-card {
  position: relative;
  overflow: hidden;
  background: url("../img/hero-bg-formen.svg") center/cover no-repeat, var(--hero-gradient);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-content { position: relative; z-index: 1; max-width: 520px; }
.cta-content h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
/* dezenter Schatten für die Lesbarkeit auf den hellen Bildstellen */
.cta-content p { color: #fff; font-size: 16px; margin: 0; text-shadow: var(--heading-shadow); }
.cta-actions {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
/* Wie .btn-secondary: weißer Button, hebt sich auf den hellen Bildstellen ab */
.btn-cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--navy-900);
  background: var(--surface);
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.btn-cta-ghost:hover { color: var(--accent-700); background: var(--accent-50); border-color: var(--accent-600); }

/* flach wie im Rest der Karte, ohne farbigen Schatten */
.cta-card .btn-primary,
.cta-card .btn-primary:hover { box-shadow: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--surface); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--slate-400); font-size: 14px; margin-top: 14px; max-width: 220px; }
.footer-col h4 {
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a {
  color: var(--slate-600);
  font-size: 14.5px;
  padding: 6px 0;
}
.footer-col a:hover { color: var(--accent-600); }
.footer-bottom {
  padding: 22px 0;
}
.footer-bottom p { margin: 0; color: var(--slate-400); font-size: 13px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions .link-ghost { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 24px;
    gap: 4px;
  }
  .site-header.nav-open .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 72px;
  }
  .feature-row-reverse .feature-media { order: 1; }
  .feature-row-reverse .feature-copy { order: 2; }
  .feature-copy { text-align: left; }
  .features-header { margin-bottom: 56px; }

  .tl-grid { grid-template-columns: 1fr; gap: 0; }
  .tl-step { padding: 0 0 32px 30px; }
  .tl-step::before {
    top: 0;
    bottom: -32px;
    right: auto;
    left: 7px;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }
  .tl-step:last-child::before { display: none; }
  .tl-step.is-visible::before { transform: scaleY(1); }
  .tl-step::after { top: 2px; }

  .cap-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-sidebar { position: static; }

  .next-steps { grid-template-columns: 1fr; gap: 36px; }

  .cta-card { flex-direction: column; align-items: flex-start; padding: 48px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn, .cta-actions .btn-cta-ghost { width: 100%; }

  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-highlight { transform: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .logo-tag { display: none; }
  .hero { padding: 0 0 96px; }
  .hero-frame { padding: 80px 0 24px; }
  .hero-visual { margin-bottom: -72px; }
  .features-section { padding: 64px 0; }
  .timeline-section { padding-top: 64px; }
  .timeline-section > .wrap::after { margin-top: 64px; }
  .trustbar { padding-top: 40px; }
  .trustbar-inner { gap: 10px 20px; }
  .capabilities { margin-top: 80px; }
  .cap-grid { grid-template-columns: 1fr; }
  .pricing { padding: 64px 0; }
  .faq-section { padding: 64px 0; }
  .page-hero .hero-frame { padding: 64px 0 150px; }
  .contact-page { margin-top: -110px; }
  .contact-card { padding: 28px 20px; }
  .contact-next { padding: 64px 0; }
  .contact-alt { grid-template-columns: 1fr; margin-top: 48px; }
  .contact-alt-card { padding: 24px 20px; }
  .legal { margin-top: -110px; padding-bottom: 64px; }
  .legal-body { padding: 28px 20px; }
  .cta-section { padding: 56px 0 72px; }
  .cta-card { padding: 36px 24px; border-radius: var(--radius-md); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
