/* ==========================================================================
   VeriCann Design System — site.css
   Brand: web translation of the invoice/email design (spec §2).
   Mobile-first, no JavaScript required, WCAG AA contrast.

   COMPONENT INDEX (classes available to all pages)
   --------------------------------------------------------------------------
   Layout        .container            centered max-width wrapper
                 .section              vertical page section (white)
                 .section--alt         alternating section (light green-gray)
                 .section-head         eyebrow + H2 (+ optional intro) block
                 .grid-2               responsive 2-column grid (e.g. Kontakt)
                 .texture              subtle hexagon background texture
   Type          .eyebrow              small uppercase label above headings
                 .lead                 larger intro paragraph
                 .prose                long-form text (legal pages, articles)
   Header        .site-header          sticky header incl. 6px top accent bar
                 .header-inner .brand .site-nav .nav-cta
                 .nav-toggle .nav-toggle-label   CSS-only mobile hamburger
   Buttons       .btn                  base button
                 .btn--primary         solid green CTA
                 .btn--ghost           outlined secondary
                 .btn--light           for dark backgrounds (CTA band)
                 .link-arrow           inline text link with arrow
   Hero          .hero                 homepage hero (watermark + texture)
                 .hero--sub            compact hero for subpages
                 .hero-lead .hero-actions .hero-facts .fact
   Cards         .cards                responsive card grid (3-up)
                 .card .card-title .card-text .card-link
   Panel         .panel                light-green panel, 4px left accent
                 .panel-title          heading inside panel
                 .panel-grid           3-up feature grid inside a panel
   Price table   .table-scroll         horizontal-scroll wrapper (desktop)
                 .price-table          full price table, stacks on mobile
                 (td needs data-label="…" for the mobile stacked view)
                 .price-note           footnote under a table
   Steps         .steps .step .step-num   "So funktioniert's" numbered steps
   FAQ           .faq                  list wrapper
                 .faq-item             <details class="faq-item"> + <summary>
   CTA band      .cta-band             full-width dark-green closing CTA
                 .cta-contact          phone/email line inside the band
   Footer        .site-footer .footer-grid .footer-brand .footer-links
                 .footer-contact .footer-bottom
   Forms         .form-grid .form-field   labeled inputs, selects, textareas
   Misc          .skip-link            accessible skip navigation
                 .badge                small green pill label
                 .badge-list           flex-wrapped group of .badge pills
   Decor         .hero--wave           v1 hexagon wave at hero's bottom-right
                 .deco-wave            hexagon wave at a section's bottom edge
                 .deco-shield          particle shield behind the trust panel
                 .deco-flask           low-poly flask accent, right side
                 .hero--flask          flask in a subpage hero (analysen)
                 (flying-V footer watermark is built into .site-footer)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors (spec §2) */
  --c-primary: #279338;
  --c-primary-dark: #1b6b28;
  --c-heading: #233b2d;
  --c-body: #3a4a40;
  --c-muted: #6b7a6f;
  --c-eyebrow: #7d8c81;   /* decorative only — running text uses --c-muted (AA) */
  --c-footer: #8a978c;    /* decorative only — footer text uses --c-muted (AA) */
  --c-panel: #eef5ee;
  --c-panel-border: #cfe5d2;
  --c-hairline: #e3ebe3;
  --c-bg: #ffffff;
  --c-bg-alt: #f4f7f4;
  --c-on-dark: #ffffff;   /* text/borders on dark or brand backgrounds */
  /* Derived */
  --c-cta: #21832f;             /* AA-safe solid fill behind white text */
  --c-band: #1c4b26;            /* dark CTA band background */
  --c-focus: #1b6b28;

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --radius: 8px;
  --radius-lg: 12px;
  --container: 71.25rem;        /* 1140px */
  --gutter: 1.25rem;
  --section-y: clamp(3rem, 8vw, 5.5rem);
  --shadow-card: 0 1px 2px rgba(35, 59, 45, 0.06), 0 8px 24px rgba(35, 59, 45, 0.07);
  --accent-h: 6px;              /* signature top accent bar */
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Anchor targets scroll to rest below the sticky header */
[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-heading);
  line-height: 1.25;
  margin: 0 0 0.75em;
}
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--c-panel-border);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover { color: var(--c-primary); text-decoration-color: currentColor; }

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

img { max-width: 100%; height: auto; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

hr {
  border: 0;
  border-top: 1px solid var(--c-hairline);
  margin: 2rem 0;
}

address { font-style: normal; }

::selection { background: var(--c-panel-border); color: var(--c-heading); }

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); background: var(--c-bg); }
.section--alt { background: var(--c-bg-alt); }

.section-head { max-width: 44rem; margin-bottom: 2.25rem; }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { color: var(--c-muted); }

.grid-2 {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* Subtle molecular hexagon texture */
.texture {
  position: relative;
  isolation: isolate;
}
.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/bg-1-gray.webp") center / 34rem auto repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Type components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 0.6875rem;             /* 11px */
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-primary-dark);
  background: var(--c-panel);
  border: 1px solid var(--c-panel-border);
  border-radius: 999px;
  padding: 0.2em 0.75em;
}

/* Group of .badge pills, e.g. <ul class="badge-list"><li><span class="badge">…</span></li></ul> */
.badge-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

/* Long-form text (Impressum, Datenschutz, Cookie-Richtlinie …) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.25rem; font-size: 1.35rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { margin-bottom: 1.25em; }
.prose li { margin-bottom: 0.35em; }

/* --------------------------------------------------------------------------
   6. Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--c-primary-dark);
  color: var(--c-on-dark);
  padding: 0.6em 1em;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: var(--c-on-dark);
}

/* --------------------------------------------------------------------------
   7. Header (sticky, carries the 6px green top accent bar)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: var(--accent-h) solid var(--c-primary);
  border-bottom: 1px solid var(--c-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 2.75rem;
  width: auto;
  display: block;
}

/* Hidden checkbox drives the mobile menu — no JS */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.nav-toggle-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--c-heading);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-label span { position: relative; }
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-label span::before { top: -6px; }
.nav-toggle-label span::after { top: 6px; }

.nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle:focus-visible ~ .nav-toggle-label {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}

/* Mobile menu panel */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-hairline);
  box-shadow: 0 16px 32px rgba(35, 59, 45, 0.1);
  padding: 0.5rem var(--gutter) 1.25rem;
}
.nav-toggle:checked ~ .site-nav { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.site-nav li { border-bottom: 1px solid var(--c-hairline); }
.site-nav a:not(.btn) {
  display: block;
  padding: 0.75rem 0.25rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-heading);
  text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] { color: var(--c-primary-dark); }
.site-nav a[aria-current="page"] { text-shadow: 0 0 0.5px currentColor; }

.nav-cta { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle,
  .nav-toggle-label { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
  }
  .site-nav li { border: 0; }
  .site-nav a:not(.btn) { padding: 0.25rem 0; white-space: nowrap; }
  .nav-cta { width: auto; }
}

/* --------------------------------------------------------------------------
   8. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.8em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-cta);
  color: var(--c-on-dark);
  box-shadow: 0 2px 8px rgba(39, 147, 56, 0.28);
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  color: var(--c-on-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--c-primary-dark);
  border-color: var(--c-panel-border);
}
.btn--ghost:hover {
  background: var(--c-panel);
  color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
}

.btn--light {
  background: var(--c-bg);
  color: var(--c-primary-dark);
}
.btn--light:hover {
  background: var(--c-panel);
  color: var(--c-heading);
}

.link-arrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--c-primary-dark);
}
.link-arrow::after {
  /* nbsp keeps the arrow glued to the last word when the link wraps */
  content: "\00a0\2192";
  transition: margin 0.15s ease;
}
.link-arrow:hover::after { margin-left: 0.25em; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
  border-bottom: 1px solid var(--c-hairline);
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
.hero.texture::before { opacity: 0.045; }

/* Flying-V watermark, decorative */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6rem;
  bottom: -8rem;
  width: 34rem;
  height: 34rem;
  background: url("/assets/logos/flying-v.png") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}

.hero-inner { max-width: 46rem; }

.hero h1 { margin-bottom: 0.5em; }

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Fact strip — invoice-style key data block */
.hero-facts {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  background: var(--c-panel);
  border: 1px solid var(--c-panel-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--c-panel-border);
}
.fact:first-child { border-top: 0; }
.fact strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-heading);
}
.fact span {
  font-size: 0.85rem;
  color: var(--c-muted);
}
@media (min-width: 700px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .fact { border-top: 0; border-left: 1px solid var(--c-panel-border); }
  .fact:first-child { border-left: 0; }
}

/* Compact hero for subpages */
.hero--sub {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.hero--sub::after { width: 24rem; height: 24rem; right: -5rem; bottom: -6rem; }

/* --------------------------------------------------------------------------
   10. Cards (segments, features)
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  /* minmax(0, …) lets tracks shrink below their content's min width */
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(35, 59, 45, 0.06), 0 16px 36px rgba(35, 59, 45, 0.12);
}

.card-title { margin-bottom: 0.5em; }
.card-text {
  flex-grow: 1;
  font-size: 0.95rem;
  margin-bottom: 1.25em;
}
.card-link { margin-top: auto; }

/* --------------------------------------------------------------------------
   11. Panel — light-green info block with 4px left accent
   -------------------------------------------------------------------------- */
.panel {
  background: var(--c-panel);
  border: 1px solid var(--c-panel-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.panel-title {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}
.panel p:last-child { margin-bottom: 0; }

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}
@media (min-width: 800px) {
  .panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
.panel-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.35em;
  padding-top: 0.75rem;
  border-top: 2px solid var(--c-panel-border);
}
.panel-grid p { font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------------------------
   12. Price table (responsive: stacks below 700px via data-label)
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
.price-table caption {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-heading);
  padding-bottom: 0.75rem;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--c-hairline);
}
.price-table thead th {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-heading);
  background: var(--c-panel);
  border-bottom: 2px solid var(--c-panel-border);
}
.price-table tbody th {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--c-heading);
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--c-bg-alt); }
.price-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table thead .num { text-align: right; }

@media (max-width: 699px) {
  .price-table thead { position: absolute; left: -9999px; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td { display: block; }
  .price-table tr { border-bottom: 6px solid var(--c-bg-alt); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table tbody th {
    background: var(--c-panel);
    border-bottom: 1px solid var(--c-panel-border);
  }
  .price-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed var(--c-hairline);
  }
  .price-table td:last-child { border-bottom: 0; }
  .price-table td::before {
    content: attr(data-label);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--c-muted);
  }
  .price-table .num { text-align: right; }
}

.price-note {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-top: 0.9rem;
  max-width: 46rem;
}

/* --------------------------------------------------------------------------
   13. Steps — "So funktioniert's"
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.step {
  position: relative;
  counter-increment: step;
  padding-top: 0.5rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-panel);
  border: 2px solid var(--c-primary);
  color: var(--c-primary-dark);
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.step p { font-size: 0.95rem; margin: 0; }

/* Connector line between steps (desktop) */
@media (min-width: 960px) {
  .step::after {
    content: "";
    position: absolute;
    top: 1.7rem;
    left: 3.25rem;
    right: -1.25rem;
    border-top: 2px dashed var(--c-panel-border);
  }
  .step:last-child::after { display: none; }
}

/* --------------------------------------------------------------------------
   14. FAQ accordion — <details class="faq-item"><summary>…</summary>…</details>
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--c-panel-border); box-shadow: var(--shadow-card); }

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--c-heading);
  padding: 1rem 1.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--c-panel);
  color: var(--c-primary-dark);
  font-weight: 600;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--c-primary-dark); }

.faq-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--c-hairline);
}
.faq-body > :first-child { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-band) 100%);
  color: var(--c-on-dark);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  overflow: hidden;
}
.cta-band.texture::before {
  opacity: 0.07;
  filter: invert(1);
}
.cta-band h2 { color: var(--c-on-dark); }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 40rem; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.75); }
.cta-band .hero-actions { margin-top: 1.5rem; }
.cta-band .btn--ghost {
  color: var(--c-on-dark);
  border-color: rgba(255, 255, 255, 0.45);
}
.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-on-dark);
  border-color: var(--c-on-dark);
}

.cta-contact {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.cta-contact a {
  color: var(--c-on-dark);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}
.cta-contact a:hover { color: var(--c-on-dark); text-decoration-color: var(--c-on-dark); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--c-hairline);
  background: var(--c-bg);
  padding-block: 3rem 1.5rem;
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* Flying-V watermark anchored at the footer's right edge (v1 signature).
   The asset is near-white with alpha, so text on top keeps AA contrast. */
.site-footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(15rem, 34vw, 26rem);
  aspect-ratio: 527 / 409;
  background: url("/assets/illustrations/footer-bg.webp") no-repeat right bottom / contain;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1.4fr 1fr; gap: 3rem; }
}

.footer-brand img {
  height: 1.75rem;
  width: auto;
  margin-bottom: 0.9rem;
}
.footer-brand p { max-width: 22rem; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.footer-links h2,
.footer-contact h2 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a,
.footer-contact a {
  color: var(--c-body);
  text-decoration: none;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
}

.footer-contact p { margin-bottom: 0.9rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-hairline);
  font-size: 0.8rem;
  color: var(--c-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   17. Forms (Kontakt)
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .form-grid--2col { grid-template-columns: 1fr 1fr; }
  .form-grid--2col .form-field--full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--c-heading);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--c-body);
  background: var(--c-bg);
  border: 1px solid var(--c-panel-border);
  border-radius: var(--radius);
  padding: 0.65em 0.9em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(39, 147, 56, 0.18);
}
.form-field .hint {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   18. Decorative line art (v1 illustrations)
   Purely visual: pseudo-element backgrounds, pointer-events none, z-index -1
   inside an isolated stacking context. All drawings are near-white, so text
   contrast is unaffected; the large placements are desktop-only (>= 900px).
   Waves and the flask are baked on white and composited with
   mix-blend-mode: multiply so they sit seamlessly on any light background.
   -------------------------------------------------------------------------- */

/* Hexagon molecular wave at the hero's bottom-right — all viewports.
   Replaces the old tiled .texture on heroes (v1 carries this prominently). */
.hero--wave::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: min(70%, 56rem);
  aspect-ratio: 883 / 397;
  background: url("/assets/bg-1.webp") no-repeat right bottom / contain;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* The wave replaces the soft green flying-V wash in these heroes */
.hero--wave::after { content: none; }

@media (min-width: 900px) {
  /* Wave at the bottom of a page's last content section (before the CTA band) */
  .deco-wave {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .deco-wave::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: min(62%, 56rem);
    aspect-ratio: 883 / 397;
    background: url("/assets/bg-1.webp") no-repeat right bottom / contain;
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  /* Particle-mesh shield behind the right half of the trust panel.
     The asset has an alpha channel, so it sits directly on the panel green;
     z-index -1 inside the isolated panel keeps it above the panel background
     but below all text. */
  .deco-shield .panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .deco-shield .panel::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5rem;
    z-index: -1;
    width: 40rem;
    aspect-ratio: 1327 / 637;
    transform: translateY(-50%);
    background: url("/assets/illustrations/sicherheit-filtered.webp") no-repeat center / contain;
    opacity: 0.75;
    pointer-events: none;
  }

  /* Low-poly flask + atom as a right-side section accent */
  .deco-flask {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .deco-flask::before {
    content: "";
    position: absolute;
    top: 1rem;
    right: -3rem;
    z-index: -1;
    width: 18rem;
    aspect-ratio: 1;
    background: url("/assets/illustrations/erfahrung-filtered.webp") no-repeat center / contain;
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  /* Flask inside a subpage hero (replaces the V watermark there).
     content is re-set because .hero--wave::after removes it. */
  .hero--flask::after {
    content: "";
    right: 3rem;
    bottom: -2.5rem;
    width: 19rem;
    height: 19rem;
    background: url("/assets/illustrations/erfahrung-filtered.webp") no-repeat center / contain;
    mix-blend-mode: multiply;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   19. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .skip-link { display: none; }
  body { color: #000; }
}

/* Spacing utilities */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
