/* ============================================================
   ACKERPILOTEN — Design System
   Forest/Lime palette · Space Grotesk + Inter + JetBrains Mono
   Signature motif: converging field-row "flight lines"
   ============================================================ */

:root{
  --forest:      #1E3A22;
  --forest-800:  #24461f;
  --lime:        #8DBB2E;
  --lime-dim:    #e2edc9;
  --white:       #ffffff;
  --mist:        #f4f6f2;
  --anthracite:  #2b2e2e;
  --anthracite-60: rgba(43,46,46,.6);
  --line: rgba(30,58,34,.12);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 2px;
  --container: 1240px;
  --ease: cubic-bezier(.16,.8,.24,1);
}

[data-theme="dark"]{
  --white: #12201a;
  --mist: #182a20;
  --anthracite: #eef1ec;
  --anthracite-60: rgba(238,241,236,.62);
  --line: rgba(238,241,236,.12);
  --forest-800: #0f1c12;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--anthracite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  transition: background .3s var(--ease), color .3s var(--ease);
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; line-height:1.05; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
input,select,textarea{ font-family: inherit; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

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

.wrap{ max-width: var(--container); margin:0 auto; padding: 0 32px; }
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:20px; height:1px; background: var(--lime); display:inline-block; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 15px 28px;
  font-size: 14px; font-weight:600;
  letter-spacing:.01em;
  border-radius: var(--radius);
  border:1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary{ background: var(--lime); color: var(--forest); }
.btn-primary:hover{ transform: translateY(-2px); background:#9fd038; }
.btn-ghost{ background:transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover{ transform: translateY(-2px); background: var(--anthracite); color: var(--white); border-color: var(--anthracite); }
.btn-outline-light{ border-color: rgba(255,255,255,.4); color:#fff; }
.btn-outline-light:hover{ transform: translateY(-2px); background:#fff; color: var(--forest); border-color:#fff; }
.btn-sm{ padding: 10px 18px; font-size: 13px; }
.btn svg{ width:16px; height:16px; }

/* ---------- Nav ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 32px;
  background: rgba(30,58,34,0);
  transition: background .3s var(--ease), padding .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.scrolled{
  background: rgba(30,58,34,.92);
  backdrop-filter: blur(10px);
  padding: 12px 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-brand{ display:flex; align-items:center; gap:10px; }
.nav-brand img{ height:72px; width:auto; border-radius:12px; }
.nav-brand span{ display:none; }
.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-size: 14px; color:#fff; opacity:.85; position:relative;
  padding: 4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; height:1px; width:0;
  background: var(--lime); transition: width .25s var(--ease);
}
.nav-links a:hover{ opacity:1; }
.nav-links a:hover::after{ width:100%; }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-burger{ display:none; background:none; border:0; color:#fff; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  background: var(--forest);
  color: #fff;
  display:flex; align-items:center;
  overflow:hidden;
  padding: 90px 0;
}
.hero-lines{ position:absolute; inset:0; width:100%; height:100%; }
.hero-inner{ position:relative; z-index:2; width:100%; }
.hero h1{
  font-size: clamp(38px, 6vw, 76px);
  font-weight:600;
  max-width: 15ch;
}
.hero h1 em{ font-style:normal; color: var(--lime); }
.hero-sub{
  margin-top:22px; font-size: 18px; color: rgba(255,255,255,.78);
  max-width: 46ch; font-weight:300;
}
.hero-actions{ margin-top:38px; display:flex; gap:16px; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; right:32px; bottom:32px; z-index:2;
  writing-mode: vertical-rl; font-family: var(--font-mono); font-size:11px;
  letter-spacing:.14em; color: rgba(255,255,255,.55); display:flex; align-items:center; gap:10px;
}
.hero-scroll::after{ content:""; width:1px; height:50px; background: rgba(255,255,255,.4); }

/* ---------- Ticker (signature strip) ---------- */
.ticker{
  background: var(--forest-800); color: var(--lime); overflow:hidden;
  border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06);
}
.ticker-track{
  display:flex; gap:60px; white-space:nowrap; font-family: var(--font-mono);
  font-size:13px; padding: 14px 0; animation: scroll-left 32s linear infinite;
  width: max-content;
}
.ticker-track span{ opacity:.85; }
.ticker-track span b{ color:#fff; font-weight:600; }
@keyframes scroll-left{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ---------- Section basics ---------- */
section{ padding: 120px 0; position:relative; }
.section-head{ max-width: 640px; margin-bottom: 64px; }
.section-head h2{ font-size: clamp(28px,3.6vw,44px); margin-top:16px; font-weight:600; }
.section-head p{ margin-top:18px; color: var(--anthracite-60); font-size:17px; line-height:1.6; }

/* ---------- Services intro cards ---------- */
.svc-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:2px; background: var(--line); border:1px solid var(--line); }
.svc-card{ position:relative; overflow:hidden; background: var(--white); padding:44px; transition: background .3s var(--ease); }
.svc-card::before{
  content:""; position:absolute; inset:0;
  background-repeat:no-repeat; background-position: bottom right; background-size: 320px;
  opacity:.16; pointer-events:none;
}
.svc-card:nth-child(1)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Crect x='0' y='0' width='90' height='90' fill='%231E3A22'/%3E%3Crect x='100' y='0' width='90' height='90' fill='%238DBB2E'/%3E%3Crect x='0' y='100' width='90' height='90' fill='%238DBB2E'/%3E%3Crect x='100' y='100' width='90' height='90' fill='%231E3A22'/%3E%3C/svg%3E");
}
.svc-card:nth-child(2)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='30' cy='40' r='7' fill='%238DBB2E'/%3E%3Ccircle cx='75' cy='25' r='7' fill='%238DBB2E'/%3E%3Ccircle cx='115' cy='55' r='7' fill='%238DBB2E'/%3E%3Ccircle cx='50' cy='85' r='7' fill='%238DBB2E'/%3E%3Ccircle cx='95' cy='95' r='7' fill='%238DBB2E'/%3E%3Ccircle cx='135' cy='105' r='7' fill='%238DBB2E'/%3E%3Ccircle cx='155' cy='60' r='7' fill='%238DBB2E'/%3E%3Ccircle cx='170' cy='125' r='7' fill='%238DBB2E'/%3E%3C/svg%3E");
}
.svc-card:nth-child(3)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Crect x='10' y='10' width='50' height='30' fill='%231E3A22'/%3E%3Crect x='70' y='10' width='50' height='30' fill='%238DBB2E'/%3E%3Crect x='130' y='10' width='50' height='30' fill='%231E3A22'/%3E%3Crect x='10' y='50' width='50' height='30' fill='%238DBB2E'/%3E%3Crect x='70' y='50' width='50' height='30' fill='%231E3A22'/%3E%3Crect x='130' y='50' width='50' height='30' fill='%238DBB2E'/%3E%3Crect x='10' y='90' width='50' height='30' fill='%231E3A22'/%3E%3Crect x='70' y='90' width='50' height='30' fill='%238DBB2E'/%3E%3Crect x='130' y='90' width='50' height='30' fill='%231E3A22'/%3E%3C/svg%3E");
}
.svc-card:nth-child(4)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%238DBB2E' stroke-width='3'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='%238DBB2E' stroke-width='3'/%3E%3Ccircle cx='100' cy='100' r='30' fill='none' stroke='%238DBB2E' stroke-width='3'/%3E%3Ccircle cx='100' cy='100' r='6' fill='%238DBB2E'/%3E%3C/svg%3E");
}
.svc-card:nth-child(5)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M100 15 L75 85 L20 95 L80 125 L60 180 L110 140 L165 170 L130 110 L180 85 L120 75 Z' fill='%238DBB2E'/%3E%3C/svg%3E");
}
.svc-card:nth-child(6)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='100' r='85' fill='none' stroke='%238DBB2E' stroke-width='5' stroke-dasharray='10 10'/%3E%3Cpath d='M50 75 Q 65 60 80 75 T 110 75 T 140 75' fill='none' stroke='%238DBB2E' stroke-width='5'/%3E%3Cpath d='M45 100 Q 62 82 80 100 T 115 100 T 150 100' fill='none' stroke='%238DBB2E' stroke-width='5'/%3E%3Cpath d='M50 125 Q 65 110 80 125 T 110 125 T 140 125' fill='none' stroke='%238DBB2E' stroke-width='5'/%3E%3C/svg%3E");
}
.svc-card:nth-child(7)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='55' cy='55' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='100' cy='40' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='145' cy='60' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='65' cy='100' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='115' cy='95' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='155' cy='110' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='45' cy='145' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='95' cy='150' r='9' fill='%238DBB2E'/%3E%3Ccircle cx='140' cy='160' r='9' fill='%238DBB2E'/%3E%3C/svg%3E");
}
.svc-card:nth-child(8)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M30 40h140v90H90l-30 28v-28H30z' fill='none' stroke='%238DBB2E' stroke-width='6'/%3E%3Ccircle cx='75' cy='85' r='6' fill='%238DBB2E'/%3E%3Ccircle cx='100' cy='85' r='6' fill='%238DBB2E'/%3E%3Ccircle cx='125' cy='85' r='6' fill='%238DBB2E'/%3E%3C/svg%3E");
}
.svc-card:hover{ background: var(--mist); }
.svc-card .num{ font-family: var(--font-mono); font-size:12px; color: var(--lime); }
.svc-card h3{ font-size: 24px; margin-top:18px; }
.svc-card p{ margin-top:14px; color: var(--anthracite-60); line-height:1.6; font-size:15px; }
.svc-card a{ margin-top:20px; display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color: var(--forest); }
[data-theme="dark"] .svc-card a{ color: var(--lime); }

/* ---------- Service detail (alternating) ---------- */
.service-block{ padding: 100px 0; border-top:1px solid var(--line); }
.service-block .wrap{ display:grid; grid-template-columns: 1fr 1fr; gap:80px; align-items:center; }
.service-block.reverse .wrap{ direction: rtl; }
.service-block.reverse .wrap > *{ direction: ltr; }
.service-visual{ aspect-ratio: 4/5; background: var(--forest); border-radius: var(--radius); position:relative; overflow:hidden; }
.service-visual svg{ position:absolute; inset:0; width:100%; height:100%; }
.service-copy h3{ font-size: clamp(26px,3vw,36px); }
.service-copy > p{ margin-top:20px; color: var(--anthracite-60); font-size:16px; line-height:1.7; }
.feature-list{ margin-top:32px; display:grid; gap:18px; }
.feature-list li{ display:flex; gap:14px; align-items:flex-start; font-size:15px; }
.feature-list svg{ width:18px; height:18px; flex-shrink:0; margin-top:2px; color: var(--lime); }
.process-strip{ margin-top:36px; display:flex; gap:0; border-top:1px solid var(--line); }
.process-strip div{ flex:1; padding: 16px 18px 0; border-right:1px solid var(--line); }
.process-strip div:last-child{ border-right:none; }
.process-strip .step-n{ font-family: var(--font-mono); font-size:11px; color: var(--lime); }
.process-strip .step-t{ font-size:13px; margin-top:6px; font-weight:600; }
.service-copy .btn{ margin-top:36px; }

/* ---------- About ---------- */
.about{ background: var(--mist); }
.about .wrap{ display:grid; grid-template-columns: 1fr 1fr; gap:80px; align-items:start; }
.about-values{ display:grid; gap:0; border-top:1px solid var(--line); }
.about-values div{ padding: 22px 0; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:baseline; gap: 20px;}
.about-values .v-label{ font-family: var(--font-mono); font-size:12px; color: var(--lime); letter-spacing:.06em; }
.about-values .v-text{ font-size:15px; text-align:right; max-width: 60%; color: var(--anthracite-60); }

/* ---------- Contact ---------- */
.contact .wrap{ display:grid; grid-template-columns: 1fr 1fr; gap:80px; }
.contact-info{ display:flex; flex-direction:column; gap:28px; }
.contact-info .item{ border-top:1px solid var(--line); padding-top:18px; }
.contact-info .item span{ display:block; font-family: var(--font-mono); font-size:12px; color: var(--lime); margin-bottom:6px; }
.contact-info .item a, .contact-info .item p{ font-size:17px; }
.map-frame{ margin-top:24px; aspect-ratio:16/10; background: var(--forest); border-radius: var(--radius); display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,.4); font-family: var(--font-mono); font-size:12px; letter-spacing:.08em;}
.contact-form{ margin-top:96px; }

.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
/* Nur ab Desktop-Breite drei Spalten — an Mobil bewusst nicht per
   Reihenfolge im Stylesheet gekoppelt (min-width-Media-Query statt
   fixer Kaskaden-Position), damit die allgemeine .form-grid-Regel für
   schmale Screens (1 Spalte) hier zuverlässig weiterhin gewinnt,
   unabhängig davon, wo diese Regel im File steht. */
@media (min-width: 761px){
  .tier-form-grid{ grid-template-columns: repeat(3, 1fr); }
}
.form-grid .full{ grid-column: 1/-1; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:12px; font-family: var(--font-mono); color: var(--anthracite-60); letter-spacing:.04em; }
.field input, .field select, .field textarea{
  border:none; border-bottom: 1px solid var(--line); background:transparent;
  padding: 10px 2px; font-size:15px; color: var(--anthracite);
  transition: border-color .2s var(--ease);
  width:100%; box-sizing:border-box;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--lime); }
/* Der native Browser-Pfeil bei <select> passt nicht zum sonst
   randlosen, unterstrichenen Feldstil — ohne umgebende Box wirkt er
   wie ein loses, deplatziertes Element (Rückmeldung 21.07.2026,
   Screenshots der Preisvorschau-Formulare). Eigener, dezenter Pfeil
   stattdessen, farblich passend zum jeweiligen Theme. */
.field select{
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 22px; cursor:pointer;
  background-repeat: no-repeat; background-position: right 2px center; background-size: 11px 7px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23767a78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
[data-theme="dark"] .field select{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23a7ada7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.field select option{ color: var(--anthracite); background: var(--white); }
.field textarea{ resize: vertical; min-height:90px; }
/* Zwei Flexbox-Anläufe sind an dieser Zeile gescheitert (siehe Historie
   im Ackerpiloten-Projektgedächtnis): ohne flex-grow kollabierte der
   Text auf ein Zeichen pro Zeile, mit flex-grow lief er bei manchen
   Checkbox-Zeilen (v. a. index.html/register.html, wo der Text ein
   nackter Textknoten ohne <span> ist) weiterhin unzuverlässig.
   Umstellung auf klassisches Float-Muster: die Checkbox wird gefloatet,
   der danach folgende Inline-Text (egal ob nackter Textknoten oder in
   <span>) fließt automatisch und zeilenweise um den Float herum — das
   ist Kernverhalten von CSS-Floats und braucht kein min-width/flex-grow. */
.checkbox-row{ display:block; overflow:hidden; font-size:13px; color: var(--anthracite-60); }
.checkbox-row input{ float:left; margin:3px 10px 0 0; }
.form-note{ font-size:12px; color: var(--anthracite-60); margin-top:16px; font-family: var(--font-mono); }

/* ---------- Footer ---------- */
footer{ background: var(--forest); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand img{ height:64px; margin-bottom:16px; border-radius:12px; }
.footer-brand p{ font-size:14px; max-width:32ch; color:rgba(255,255,255,.55); }
.footer-col h4{ font-family:var(--font-mono); font-size:12px; letter-spacing:.08em; color: var(--lime); font-weight:500; margin-bottom:18px; text-transform:uppercase;}
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color: rgba(255,255,255,.72); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:26px; font-size:12px; color: rgba(255,255,255,.4); font-family: var(--font-mono); flex-wrap:wrap; gap:10px;}

/* ---------- Theme toggle ---------- */
.theme-toggle{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.3);
  background:transparent; color:#fff; display:flex; align-items:center; justify-content:center;
}
.theme-toggle svg{ width:16px; height:16px; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .svc-grid{ grid-template-columns:1fr; }
  .service-block .wrap, .about .wrap, .contact .wrap{ grid-template-columns:1fr; gap:40px; }
  .contact-form{ margin-top:0; }
  .service-block.reverse .wrap{ direction:ltr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .form-grid{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  .nav-links{ position:fixed; inset:0 0 0 auto; width:78%; height:100svh; background: var(--forest); flex-direction:column; justify-content:center; gap:28px; transform:translateX(100%); transition: transform .35s var(--ease); }
  .nav-links.open{ transform:translateX(0); }
  .nav-burger{ display:block; }
  section{ padding: 80px 0; }
  .footer-top{ grid-template-columns:1fr; }
  .process-strip{ flex-wrap:wrap; }
  .process-strip div{ flex: 1 1 45%; border-right:none; padding-bottom:12px;}
}

/* Button-Reihe unter den Leistungsblöcken der Startseite.
   Beide Buttons nutzen .btn und sind damit exakt gleich groß —
   der Weg zur Detailseite ist bewusst der primäre (lime). */
.service-actions{ margin-top:36px; display:flex; gap:14px; flex-wrap:wrap; }

/* ============================================================
   Leistungs-Detailseiten (ergänzt 18.07.2026)
   Eigene Seiten je Dienstleistung. Baut vollständig auf den
   bestehenden Tokens auf — keine neuen Farben/Fonts.
   ============================================================ */

/* Seiten-Hero: dunkel wie der Startseiten-Hero, damit die
   transparente Nav darüber lesbar bleibt. Kompakter als der
   Startseiten-Hero, weil hier der Inhalt die Hauptrolle spielt. */
.page-hero{
  position:relative; background: var(--forest); color:#fff;
  padding: 190px 0 96px; overflow:hidden;
}
.page-hero .hero-lines{ position:absolute; inset:0; width:100%; height:100%; opacity:.55; }
.page-hero-inner{ position:relative; z-index:2; max-width: 780px; }
.page-hero h1{
  font-size: clamp(32px, 5vw, 60px); font-weight:600; margin-top:16px; line-height:1.06;
}
.page-hero h1 em{ font-style:normal; color: var(--lime); }
.page-hero .lead{
  margin-top:24px; font-size:18px; line-height:1.65; font-weight:300;
  color: rgba(255,255,255,.8); max-width: 62ch;
}
.page-hero .hero-actions{ margin-top:36px; }
.breadcrumb{
  font-family: var(--font-mono); font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color: rgba(255,255,255,.55);
}
.breadcrumb a{ color: inherit; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.3); }
.breadcrumb a:hover{ color: var(--lime); border-color: var(--lime); }

/* Abschnittsraster der Detailseiten */
.detail-section{ padding: 96px 0; border-top:1px solid var(--line); }
.detail-section.alt{ background: var(--mist); }
.detail-head{ max-width: 720px; margin-bottom: 56px; }
.detail-head h2{ font-size: clamp(26px,3.2vw,40px); font-weight:600; margin-top:14px; }
.detail-head p{ margin-top:18px; color: var(--anthracite-60); font-size:16px; line-height:1.7; }
.prose{ max-width: 68ch; }
.prose p{ margin-top:18px; color: var(--anthracite-60); font-size:16px; line-height:1.75; }
.prose p strong{ color: var(--anthracite); font-weight:600; }

/* Vorteile — das Herzstück jeder Detailseite.
   Bewusst großzügig gesetzt, damit der Nutzen sofort ins Auge fällt. */
.benefit-grid{
  display:grid; grid-template-columns: repeat(2,1fr); gap:2px;
  background: var(--line); border:1px solid var(--line);
}
.benefit{ background: var(--white); padding:40px; position:relative; }
.benefit-n{
  font-family: var(--font-mono); font-size:11px; letter-spacing:.16em;
  color: var(--lime); text-transform:uppercase;
}
.benefit h3{ font-size:21px; font-weight:600; margin-top:14px; line-height:1.3; }
.benefit p{ margin-top:12px; color: var(--anthracite-60); font-size:15px; line-height:1.7; }

/* Kennzahlen-Streifen: nur belegte Werte, jeweils mit Quellenkontext */
.fact-strip{
  display:grid; grid-template-columns: repeat(3,1fr); gap:2px;
  background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.12);
  margin-top:56px;
}
.fact{ background: var(--forest-800); padding:34px; }
.fact-v{ font-family: var(--font-display); font-size:34px; font-weight:600; color: var(--lime); line-height:1; }
.fact-l{ margin-top:12px; font-size:14px; line-height:1.6; color: rgba(255,255,255,.72); }
.fact-src{ margin-top:10px; font-family: var(--font-mono); font-size:10px; letter-spacing:.1em; color: rgba(255,255,255,.4); text-transform:uppercase; }

/* Ablauf als echte Sequenz — Nummerierung trägt hier Information */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:2px; background: var(--line); border:1px solid var(--line); }
.step{ background: var(--white); padding:32px; }
.step .n{ font-family: var(--font-mono); font-size:11px; color: var(--lime); letter-spacing:.16em; }
.step h4{ margin-top:14px; font-size:17px; font-weight:600; }
.step p{ margin-top:10px; font-size:14px; color: var(--anthracite-60); line-height:1.65; }

/* Ehrliche Einordnung — bewusst als eigener, ruhiger Block */
.honest{
  border-left:3px solid var(--lime); padding: 4px 0 4px 28px; max-width: 68ch;
}
.honest p{ color: var(--anthracite-60); font-size:15.5px; line-height:1.75; margin-top:14px; }
.honest p:first-child{ margin-top:0; }

/* FAQ */
.faq{ max-width: 820px; border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{
  cursor:pointer; padding:24px 0; font-size:17px; font-weight:600;
  list-style:none; display:flex; justify-content:space-between; gap:20px; align-items:flex-start;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-family: var(--font-mono); color: var(--lime); font-size:20px; line-height:1; }
.faq details[open] summary::after{ content:"–"; }
.faq details p{ padding:0 0 24px; color: var(--anthracite-60); font-size:15.5px; line-height:1.75; max-width:68ch; }

/* Quellenangaben — macht die Recherche nachprüfbar */
.sources{ margin-top:40px; max-width: 820px; }
.sources h3{ font-family: var(--font-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color: var(--anthracite-60); }
.sources ol{ margin-top:18px; padding-left:20px; }
.sources li{ font-size:13.5px; line-height:1.7; color: var(--anthracite-60); margin-bottom:10px; }
.sources a{ color: var(--anthracite-60); text-decoration:underline; text-underline-offset:2px; }
.sources a:hover{ color: var(--forest); }

/* Andere Leistungen */
.cross-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:2px; background: var(--line); border:1px solid var(--line); }
.cross{ background: var(--white); padding:34px; text-decoration:none; color:inherit; display:block; transition: background .3s var(--ease); }
.cross:hover{ background: var(--mist); }
.cross h4{ font-size:18px; font-weight:600; }
.cross p{ margin-top:10px; font-size:14px; color: var(--anthracite-60); line-height:1.65; }
.cross span{ display:inline-block; margin-top:16px; font-family: var(--font-mono); font-size:11px; letter-spacing:.14em; color: var(--lime); text-transform:uppercase; }

/* Kontaktbereich auf den Detailseiten */
.detail-contact{ background: var(--forest); color:#fff; padding:96px 0; }
.detail-contact .eyebrow{ color: var(--lime); }
.detail-contact h2{ font-size: clamp(26px,3.2vw,40px); font-weight:600; margin-top:14px; }
.detail-contact .lead{ margin-top:18px; color: rgba(255,255,255,.75); font-size:16px; line-height:1.7; max-width:60ch; }
.detail-contact .contact-grid{ display:grid; grid-template-columns: 1fr 1.15fr; gap:80px; align-items:start; }
.detail-contact label{ color: rgba(255,255,255,.7); }
.detail-contact input, .detail-contact select, .detail-contact textarea{
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18); color:#fff;
}
.detail-contact input:focus, .detail-contact select:focus, .detail-contact textarea:focus{ border-color: var(--lime); outline:none; }
.detail-contact select option{ color: var(--anthracite); background:#fff; }
.detail-contact .checkbox-row{ color: rgba(255,255,255,.6); }
.detail-contact .checkbox-row a{ color: rgba(255,255,255,.85); }
.detail-contact .form-note{ color: rgba(255,255,255,.7); }
.detail-contact .contact-form{ margin-top:0; }
.detail-contact .contact-info a, .detail-contact .contact-info p{ color:#fff; }
.detail-contact .contact-info span{ color: rgba(255,255,255,.5); }

@media (max-width: 900px){
  .page-hero{ padding: 150px 0 72px; }
  .benefit-grid, .fact-strip, .steps, .cross-grid{ grid-template-columns: 1fr; }
  .detail-contact .contact-grid{ grid-template-columns: 1fr; gap:56px; }
  .detail-section{ padding: 72px 0; }
  .benefit{ padding:32px; }
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ============================================================
   Förderbanner (Leistungsdetailseiten)  —  20.07.2026
   ============================================================ */
.funding-banner{
  background: var(--forest); color: var(--white); padding: 28px 0;
  position: relative; z-index: 2;
}
[data-theme="dark"] .funding-banner{ background: var(--forest-800); }
.funding-banner-inner{
  display:flex; gap:20px; align-items:flex-start; max-width: 900px;
}
.funding-banner-icon{
  flex-shrink:0; width:44px; height:44px; border-radius:50%;
  background: var(--lime); color: var(--forest);
  display:flex; align-items:center; justify-content:center;
}
.funding-banner-eyebrow{
  font-family: var(--font-mono); font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color: var(--lime); margin:0 0 6px;
}
.funding-banner-text h2{
  font-size: clamp(20px, 2.4vw, 26px); line-height:1.25; color: var(--white); margin:0 0 10px;
}
.funding-banner-text > p{ font-size:15px; line-height:1.65; color: rgba(255,255,255,.88); margin:0 0 10px; }
.funding-banner-note{
  font-size:13px !important; line-height:1.6 !important;
  color: rgba(255,255,255,.68) !important; border-top:1px solid rgba(255,255,255,.18);
  padding-top:10px; margin-top:12px !important;
}
.funding-banner-note a{ color: var(--lime); text-decoration:underline; text-underline-offset:2px; }
.funding-banner-note a:hover{ color: var(--white); }

@media (max-width: 640px){
  .funding-banner-inner{ flex-direction:column; }
}

/* Kompakter Förder-Hinweis in Service-Kacheln der Startseite */
.funding-badge{
  display:flex; align-items:flex-start; gap:10px;
  background: var(--lime-dim); border-left:3px solid var(--lime);
  border-radius: var(--radius); padding:12px 16px; margin:18px 0;
  color: var(--forest); font-size:14px; line-height:1.55;
}
[data-theme="dark"] .funding-badge{ background: rgba(141,187,46,.12); color: var(--anthracite); }
.funding-badge svg{ flex-shrink:0; margin-top:1px; color: var(--forest); }
[data-theme="dark"] .funding-badge svg{ color: var(--lime); }
.funding-badge a{ color: var(--forest); text-decoration:underline; text-underline-offset:2px; font-weight:600; }
[data-theme="dark"] .funding-badge a{ color: var(--lime); }
.funding-badge a:hover{ opacity:.75; }

/* ============================================================
   Hero-Foto auf den Leistungsdetailseiten  —  21.07.2026
   Zweispaltiges Layout: Text links, gerahmtes Foto rechts.
   Quadratisches Seitenverhältnis toleriert sowohl Hoch- als auch
   Querformat-Quellbilder ohne dass eins davon extrem beschnitten wird.
   ============================================================ */
.page-hero .wrap{
  display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px 56px; align-items:center;
}
.page-hero .fact-strip{ grid-column: 1 / -1; }

.page-hero-photo{
  position:relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow:hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
}
.page-hero-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
/* Leichte Verdunkelung am unteren Rand, falls je eine Bildunterschrift
   über das Foto gelegt wird — aktuell ungenutzt, kostet nichts. */
.page-hero-photo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.25) 100%);
}

@media (max-width: 900px){
  .page-hero .wrap{ grid-template-columns: 1fr; }
  .page-hero-photo{ max-width:420px; margin:0 auto; }
}
