/* ============================================================
   GREENFIELD DIGITAL – CI-FOUNDATION
   Zentrale Design-Basis für Website + alle Landingpages.
   Diese Datei ist EINGEFROREN: Änderungen nur nach Absprache
   im Team (siehe AGENTS.md). Seiten-spezifisches CSS gehört in
   ein <style>-Tag der jeweiligen Seite, nicht hierher.
   ============================================================ */

/* ---------- Design-Tokens ---------- */
:root {
  /* Marke – Palette laut Brand-Guideline (Guidelines V1) */
  --green:        #0CAE80;   /* Primärgrün (Buttons, Links, Akzente) */
  --green-600:    #0A9B72;   /* Hover */
  --green-700:    #006F53;   /* "Viridian" – Active / dunkler Akzent */
  --green-bright: #2ECFA1;   /* Leuchtgrün für Text auf Foto/Dunkel */
  --green-deep:   #0B4634;   /* Dunkelgrün für dunkle Karten */
  --forest:       #06211A;   /* "Night Forest" – dunkelster Ton */
  --platinum:     #F4F4F5;   /* neutrale Fläche laut Guideline */
  --tangerine:    #F58220;   /* Akzentfarbe – sehr sparsam einsetzen */

  /* Neutrale */
  --ink:          #0F1C17;   /* Headlines, fast Schwarz mit Grünstich */
  --text:         #46564E;   /* Fließtext */
  --muted:        #7C8C84;   /* Nebentexte, Platzhalter */
  --black:        #0A0E0C;   /* Footer */
  --white:        #FFFFFF;

  /* Flächen */
  --mint:         #E9F7F1;   /* Pills, Icon-Chips, Hinweisboxen */
  --mint-soft:    #F5FBF8;   /* Sektions-Tint, Kartenflächen */
  --line:         #E3EFE8;   /* Rahmenlinien */

  /* Verläufe */
  --grad-card: linear-gradient(160deg, #F6FCF9 0%, #EAF7F1 100%);
  --grad-deep: linear-gradient(160deg, #0E5940 0%, #06211A 100%);

  /* Radien */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Schatten */
  --shadow-sm: 0 2px 10px rgba(15, 28, 23, .05);
  --shadow-md: 0 12px 32px rgba(15, 28, 23, .09);
  --shadow-lg: 0 24px 64px rgba(15, 28, 23, .14);
  --shadow-green: 0 10px 28px rgba(11, 174, 127, .32);

  /* Typografie – laut Guideline ausschließlich DM Sans */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --nav-h: 78px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

::selection { background: rgba(11, 174, 127, .22); }

:focus-visible {
  outline: 3px solid rgba(11, 174, 127, .5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout-Helfer ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tint { background: var(--mint-soft); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p.sub { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Pills & Eyebrows ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--green-700);
  font-family: var(--font-accent);
  font-size: .88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

/* Leuchtende Badge-Variante für Fotos (Hero) */
.pill--glow {
  background: rgba(11, 174, 127, .28);
  color: #fff;
  border: 1px solid rgba(46, 207, 161, .55);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 24px rgba(46, 207, 161, .35);
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ---------- Marker-Unterstreichung (Hand-Swoosh unter Headline-Wörtern) ---------- */
.mark-u { position: relative; white-space: nowrap; display: inline-block; }
.mark-u svg {
  position: absolute;
  left: -2%; bottom: -0.18em;
  width: 104%; height: .34em;
  overflow: visible;
}
.mark-u svg path {
  fill: none;
  stroke: var(--green);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
}
.in .mark-u svg path, .mark-u.in svg path {
  animation: draw-marker .8s .35s cubic-bezier(.5, 0, .3, 1) forwards;
}
@keyframes draw-marker { to { stroke-dashoffset: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn .arr { transition: transform .25s ease; display: inline-flex; }
.btn:hover .arr { transform: translateX(4px); }

.btn--primary { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.btn--primary::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn--primary:hover::before { left: 130%; }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .22); }
.btn--white.is-green-text { color: var(--green-700); }

.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--green-700); border-color: var(--green); }
.btn--outline:hover { background: var(--mint); transform: translateY(-2px); }

.btn--lg { padding: 18px 34px; font-size: 1.06rem; border-radius: 14px; }

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-700); font-weight: 600;
}
.btn-link .arr { transition: transform .25s ease; }
.btn-link:hover .arr { transform: translateX(5px); }

/* ---------- Karten ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card--hover { transition: transform .3s ease, box-shadow .3s ease; }
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Stat-Karte (Mint-Verlauf + feiner grüner Rahmen) */
.stat-card {
  background: var(--grad-card);
  border: 1px solid rgba(11, 174, 127, .28);
  border-radius: var(--r-md);
  padding: 26px 26px 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-card .num {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-card .label { font-weight: 700; color: var(--ink); margin-top: 6px; }
.stat-card .desc { color: var(--muted); font-size: .95rem; margin-top: 4px; line-height: 1.5; }

/* Icon-Chip */
.icon-chip {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-chip svg { width: 22px; height: 22px; }

/* ---------- Formulare ---------- */
.field label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem;
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(11, 174, 127, .14);
}

/* Auswahl-Chips (Checkbox-Karten) */
.chip-check { position: relative; display: block; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
  display: flex; align-items: center; gap: 10px;
  overflow-wrap: anywhere;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.chip-check span::before {
  content: "";
  width: 20px; height: 20px; flex: 0 0 20px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff center / 12px no-repeat;
  transition: background .2s ease, border-color .2s ease;
}
.chip-check input:checked + span {
  border-color: var(--green);
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(11, 174, 127, .12);
}
.chip-check input:checked + span::before {
  border-color: var(--green);
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.chip-check input:focus-visible + span { outline: 3px solid rgba(11, 174, 127, .5); outline-offset: 2px; }

/* Hinweisbox (mint) */
.note-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--mint);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.note-box svg { width: 22px; height: 22px; color: var(--green); flex: 0 0 22px; margin-top: 3px; }
.note-box strong { color: var(--ink); display: block; }
.note-box p { font-size: .95rem; color: var(--text); }

/* Trust-Punkte-Zeile (● Unverbindlich ● Kostenlos …) */
.trust-dots {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: center;
  font-weight: 600; color: var(--ink); font-size: .95rem;
}
.trust-dots span { display: inline-flex; align-items: center; gap: 8px; }
.trust-dots span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animations-Keyframes ---------- */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .6; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse-ring {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes pop-in {
  0% { transform: scale(.4); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Logo-Marquee ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 72px;
  width: max-content;
  animation: marquee 38s linear infinite;
  padding: 8px 36px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 44px; width: auto;
  filter: grayscale(1); opacity: .65;
  transition: filter .3s ease, opacity .3s ease;
}
.marquee-track img:hover { filter: none; opacity: 1; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease;
}
.site-nav.scrolled { box-shadow: 0 6px 24px rgba(15, 28, 23, .08); }
.site-nav .inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand .mark { width: 22px; color: var(--ink); display: inline-flex; }
.brand .mark svg { width: 100%; height: auto; }
.brand .word { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 1rem;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }

.has-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.has-drop .caret { transition: transform .25s ease; }
.has-drop .drop {
  position: absolute; top: calc(100% + 14px); left: -18px;
  min-width: 250px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop {
  opacity: 1; visibility: visible; transform: none;
}
.has-drop:hover .caret, .has-drop.open .caret { transform: rotate(180deg); }
.drop a {
  display: block; padding: 11px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600;
  line-height: 1.3;
}
.drop a small {
  display: block;
  font-weight: 400; font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}
.drop a:hover { background: var(--mint-soft); color: var(--green-700); }

.nav-burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  color: var(--ink);
}
.nav-burger .nb-line {
  display: block;
  width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
}
body.nav-open .nav-burger .nb-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger .nb-line:nth-child(2) { opacity: 0; transform: scaleX(.3); }
body.nav-open .nav-burger .nb-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Offenes Menü: Header wird dunkel-transparent, Panel liegt darunter */
body.nav-open { overflow: hidden; }
body.nav-open .site-nav {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
}
body.nav-open .site-nav .brand,
body.nav-open .nav-burger {
  color: #fff;
  position: relative; z-index: 96; /* über dem Menü-Panel (Kind des Headers) */
}
body.nav-open .site-nav .brand .mark { color: #fff; }
body.nav-open .scroll-progress { opacity: 0; }
.nav-panel-foot { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .72); }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 80px 0 56px;
}
.site-footer h4 {
  color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: 20px;
}
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand .mark { color: #fff; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: rgba(255, 255, 255, .72); transition: color .2s ease; }
.site-footer a:hover { color: var(--green-bright); }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 26px 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center; justify-content: space-between;
  font-size: .95rem;
}
.social-row { display: flex; gap: 12px; margin: 20px 0 24px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.social-row a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 120px 0; text-align: center; }
.cta-band .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
  animation: slow-zoom 26s ease-in-out infinite alternate;
}
.cta-band .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 26, 18, .62), rgba(4, 26, 18, .72));
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 620px; margin: 18px auto 34px; font-size: 1.15rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  /* Enge Desktop-Breiten: Nav kompakter, damit nichts umbricht */
  .nav-links { gap: 20px; }
  .nav-links a { font-size: .93rem; white-space: nowrap; }
  .site-nav .btn { padding: 12px 18px; font-size: .9rem; white-space: nowrap; }
}

@media (max-width: 820px) {
  /* Vollflächiges Menü-Panel im Night-Forest-Look */
  .nav-links {
    position: fixed; inset: 0; z-index: 95;
    background:
      radial-gradient(560px 420px at 88% -8%, rgba(12, 174, 128, .30), transparent 62%),
      radial-gradient(460px 400px at -12% 106%, rgba(12, 174, 128, .16), transparent 58%),
      var(--forest);
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--nav-h) + 14px) 26px calc(22px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .32s ease, transform .32s cubic-bezier(.16, 1, .3, 1), visibility 0s .32s;
  }
  .nav-links.open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .32s ease, transform .32s cubic-bezier(.16, 1, .3, 1), visibility 0s;
  }
  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    opacity: 0; transform: translateY(16px);
  }
  .nav-links.open > li {
    opacity: 1; transform: none;
    transition: opacity .45s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
  }
  .nav-links.open > li:nth-child(1) { transition-delay: .05s; }
  .nav-links.open > li:nth-child(2) { transition-delay: .10s; }
  .nav-links.open > li:nth-child(3) { transition-delay: .15s; }
  .nav-links.open > li:nth-child(4) { transition-delay: .20s; }
  .nav-links.open > li:nth-child(5) { transition-delay: .25s; }
  .nav-links.open > li:nth-child(6) { transition-delay: .30s; }
  .nav-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    color: #fff;
    padding: 11px 2px;
    font-size: 1.16rem; font-weight: 700; letter-spacing: -0.01em;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--green-bright); }
  /* feiner Chevron rechts an einfachen Menüpunkten */
  .nav-links > li:not(.has-drop):not(.nav-panel-foot) > a::after {
    content: "";
    width: 9px; height: 9px; flex: 0 0 auto;
    border-right: 2px solid rgba(255, 255, 255, .35);
    border-top: 2px solid rgba(255, 255, 255, .35);
    transform: rotate(45deg);
    transition: border-color .2s ease, transform .25s ease;
  }
  .nav-links > li:not(.has-drop):not(.nav-panel-foot) > a:hover::after {
    border-color: var(--green-bright);
    transform: rotate(45deg) translate(2px, -2px);
  }
  /* Leistungen als Akkordeon mit Beschreibungszeilen */
  .has-drop > a .caret { width: 16px; height: 16px; color: rgba(255, 255, 255, .55); }
  .has-drop.open > a .caret { transform: rotate(180deg); }
  .has-drop .drop {
    position: static; min-width: 0;
    background: transparent; border: 0; box-shadow: none;
    padding: 0 0 14px;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-drop.open .drop { display: block; }
  .drop a {
    position: relative;
    display: block;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    padding: 10px 38px 10px 13px;
    margin-bottom: 7px;
    font-size: .98rem; font-weight: 600; color: #fff;
  }
  .drop a::after {
    content: "";
    position: absolute; right: 16px; top: 50%;
    width: 8px; height: 8px;
    border-right: 2px solid rgba(255, 255, 255, .4);
    border-top: 2px solid rgba(255, 255, 255, .4);
    transform: translateY(-50%) rotate(45deg);
  }
  .drop a small { color: rgba(255, 255, 255, .55); }
  .drop a:hover { background: rgba(12, 174, 128, .16); color: #fff; }
  /* Abschluss: CTA + Kontakt (per JS eingefügt) */
  .nav-panel-foot {
    display: block;
    margin-top: auto;
    border-bottom: 0 !important;
    padding-top: 16px;
  }
  .nav-panel-foot .btn {
    width: 100%; justify-content: center;
    padding: 14px 20px; font-size: 1rem;
  }
  .nav-panel-foot .npf-contact {
    display: flex; gap: 10px;
    margin-top: 10px;
  }
  .nav-panel-foot .npf-contact a {
    flex: 1;
    justify-content: center;
    padding: 11px 8px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: .92rem; font-weight: 600;
    color: rgba(255, 255, 255, .85);
    transition: border-color .25s ease, background .25s ease;
  }
  .nav-panel-foot .npf-contact a:hover { border-color: var(--green-bright); background: rgba(12, 174, 128, .12); color: #fff; }
  .nav-panel-foot .npf-contact svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: .9; margin-right: 8px; }
  .nav-burger { display: inline-flex; }
  .nav-cta-desktop { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 36px; }
  .btn--lg { width: 100%; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   GETEILTE SEITEN-KOMPONENTEN
   (von Startseite + allen Unterseiten + LPs genutzt)
   ============================================================ */

/* ---------- Seiten-Hero (Foto-Karte) ---------- */
.page-hero { padding: calc(var(--nav-h) + 28px) 0 40px; }
.page-hero .hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.page-hero .hero-card .bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  animation: slow-zoom 22s ease-in-out infinite alternate;
}
.page-hero .hero-card .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 24, 17, .8) 10%, rgba(4, 24, 17, .45) 60%, rgba(4, 24, 17, .22));
}
.page-hero .hero-inner { padding: 64px 56px; max-width: 760px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  margin: 16px 0 20px;
}
.page-hero h1 .accent { color: var(--green-bright); }
.page-hero .sub {
  color: rgba(255, 255, 255, .92);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 30px;
}
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) {
  .page-hero .hero-inner { padding: 44px 26px; }
  .page-hero .hero-card { min-height: 0; }
}

/* ---------- Alternierende Feature-Zeilen ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}
.feature-row .media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-row .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature-row:nth-of-type(even) .media { order: 2; }
.feature-row .kicker {
  font-weight: 700; color: var(--green);
  font-size: .95rem; letter-spacing: .06em;
  margin-bottom: 10px;
}
.feature-row h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.feature-row ul.checks { margin-top: 18px; }
ul.checks li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 10px; font-weight: 500; color: var(--ink);
}
ul.checks li::before {
  content: "";
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 50%;
  background: var(--mint) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230CAE80' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  margin-top: 2px;
}
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 26px; padding: 28px 0; }
  .feature-row:nth-of-type(even) .media { order: 0; }
}

/* ---------- Nummerierte Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-card .num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-700);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-card h4 { font-size: 1.12rem; margin-bottom: 8px; }
.step-card p { font-size: .96rem; color: var(--text); }
@media (max-width: 1024px) { .steps-grid, .steps-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid, .steps-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-700);
  font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
}
.faq details[open] summary { color: var(--green-700); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 20px; color: var(--text); }
/* Sanftes Auf-/Zuklappen in Browsern, die es können – sonst wie gehabt */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .38s ease, content-visibility .38s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* ---------- Phone-Mockup (realistisch) ---------- */
.phone-mock {
  width: min(300px, 78vw);
  margin: 0 auto;
  background: linear-gradient(160deg, #222E29, #0A100D 55%, #131C18);
  border-radius: 54px;
  padding: 10px;
  box-shadow:
    0 44px 96px rgba(6, 33, 26, .4),
    0 12px 28px rgba(6, 33, 26, .22),
    inset 0 1.5px 1px rgba(255, 255, 255, .22),
    inset 0 -1.5px 1.5px rgba(0, 0, 0, .65);
  position: relative;
  animation: phone-float 9s ease-in-out infinite;
}
/* Seitentasten: links Lautstärke (dupliziert per Schatten), rechts Power */
.phone-mock::before {
  content: ""; position: absolute;
  left: -2.5px; top: 118px;
  width: 3px; height: 34px;
  border-radius: 2px 0 0 2px;
  background: #1C2823;
  box-shadow: 0 48px 0 0 #1C2823;
}
.phone-mock::after {
  content: ""; position: absolute;
  right: -2.5px; top: 168px;
  width: 3px; height: 64px;
  border-radius: 0 2px 2px 0;
  background: #1C2823;
}
@keyframes phone-float {
  0%, 100% { transform: perspective(1300px) rotateY(-9deg) rotateX(2.5deg) translateY(0); }
  50% { transform: perspective(1300px) rotateY(-7deg) rotateX(1.5deg) translateY(-12px); }
}
.phone-mock .screen {
  background: #F7FAF8;
  border-radius: 44px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  aspect-ratio: 9 / 19.5; /* echtes iPhone-Display-Verhältnis */
}
/* Display-Reflexion + Home-Indicator */
.phone-mock .screen::after {
  content: ""; position: absolute; inset: 0; z-index: 6;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .07) 47%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .04) 54%, transparent 60%);
  pointer-events: none;
}
.phone-mock .screen::before {
  content: ""; position: absolute; z-index: 7;
  bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 4px; border-radius: 99px;
  background: rgba(6, 33, 26, .28);
  pointer-events: none;
}
.phone-mock .app-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 10px;
}
.phone-mock .app-head b { font-size: .95rem; color: var(--ink); }
.phone-mock .app-head .live {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--mint); color: var(--green-700);
  font-size: .62rem; font-weight: 700;
  padding: 4px 9px; border-radius: 99px;
}
.phone-mock .app-head .live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.phone-mock .pm-feed {
  position: relative;
  overflow: hidden;
  margin: 0 10px 16px;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
  mask-image: linear-gradient(180deg, #000 80%, transparent);
}
.phone-mock .pm-feed ul { animation: feed-scroll 14s linear infinite; }
.phone-mock .pm-feed li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 12px;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 9px;
}
.phone-mock .pm-feed .av {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  background: var(--mint); color: var(--green-700);
  font-size: .62rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.phone-mock .pm-feed b { display: block; font-size: .72rem; color: var(--ink); line-height: 1.2; }
.phone-mock .pm-feed small { color: var(--muted); font-size: .62rem; }
.phone-mock .pm-feed .ok {
  margin-left: auto;
  width: 18px; height: 18px; border-radius: 50%; flex: 0 0 18px;
  background: var(--mint) center / 9px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230CAE80' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@keyframes feed-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.phone-mock .statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px 6px;
  font-size: .72rem; font-weight: 700; color: var(--ink);
}
.phone-mock .statusbar .sb-icons { display: flex; gap: 4px; align-items: center; }
.phone-mock .statusbar .sb-icons i {
  display: block; background: var(--ink); border-radius: 2px;
}
.phone-mock .statusbar .sb-icons .i1 { width: 15px; height: 9px; border-radius: 3px; opacity: .9; }
.phone-mock .statusbar .sb-icons .i2 { width: 3px; height: 9px; opacity: .55; }
.phone-mock .island {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px;
  background: #060A08;
  border-radius: 99px;
  z-index: 3;
}
.phone-mock .reel {
  position: relative;
  margin: 6px 10px 10px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.phone-mock .reel img { width: 100%; height: 100%; object-fit: cover; }
.phone-mock .reel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(185deg, transparent 55%, rgba(4, 20, 14, .55));
}
.phone-mock .reel .cap {
  position: absolute; left: 12px; bottom: 12px; right: 52px; z-index: 2;
}
.phone-mock .reel .cap i {
  display: block; height: 7px; border-radius: 99px;
  background: rgba(255, 255, 255, .85);
  margin-top: 6px;
}
.phone-mock .reel .cap .c2 { width: 62%; opacity: .7; }
.phone-mock .reel .acts {
  position: absolute; right: 10px; bottom: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
  color: #fff;
}
.phone-mock .reel .acts svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.phone-mock .pm-job {
  margin: 0 10px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 14px;
  opacity: 0; transform: translateY(14px);
}
.phone-mock .pm-job .tagline {
  display: inline-block;
  background: var(--mint); color: var(--green-700);
  font-size: .62rem; font-weight: 700;
  padding: 3px 9px; border-radius: 99px;
  margin-bottom: 6px;
}
.phone-mock .pm-job b { display: block; font-size: .84rem; color: var(--ink); line-height: 1.3; }
.phone-mock .pm-job small { color: var(--muted); font-size: .72rem; display: block; margin-bottom: 9px; }
.phone-mock .pm-job .pm-btn {
  background: var(--green); color: #fff;
  font-size: .76rem; font-weight: 700;
  text-align: center;
  padding: 9px 10px; border-radius: 11px;
}
.phone-mock .pm-person {
  margin: 0 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 11px 14px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(14px);
}
.phone-mock .pm-person .av {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
  background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.phone-mock .pm-person b { display: block; font-size: .78rem; color: var(--ink); line-height: 1.25; }
.phone-mock .pm-person small { color: var(--muted); font-size: .68rem; }
.phone-mock .pm-person .ok {
  margin-left: auto;
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
  background: var(--mint) center / 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230CAE80' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.phone-mock.play .pm-job { animation: pm-in .7s .5s cubic-bezier(.16, 1, .3, 1) forwards; }
.phone-mock.play .pm-person { animation: pm-in .7s .9s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes pm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pm-toast {
  position: absolute;
  top: 96px; right: -70px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 9px;
  font-size: .84rem; font-weight: 600; color: var(--ink);
  opacity: 0;
  white-space: nowrap;
  z-index: 4;
}
.pm-toast .dot-ok {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint) center / 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230CAE80' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.phone-mock.play .pm-toast { animation: toast-loop 7s ease-in-out 1.4s infinite; }
@keyframes toast-loop {
  0%, 4% { opacity: 0; transform: translateY(10px) scale(.92); }
  9%, 52% { opacity: 1; transform: none; }
  60%, 100% { opacity: 0; transform: translateY(-8px) scale(.96); }
}
@media (max-width: 1100px) { .pm-toast { right: -8px; } }

/* ---------- Karten-Sektion (DACH) ---------- */
.map-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.map-visual { position: relative; }
.map-visual > img { width: 100%; height: auto; }
.map-dot {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(6, 33, 26, .35);
  animation: dot-breathe 2.8s ease-in-out infinite;
  animation-delay: var(--dd, 0s);
}
.map-dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  animation: pulse-ring 2.8s ease-out infinite;
  animation-delay: var(--dd, 0s);
}
/* Beim Scroll-Einstieg baut sich das Kunden-Netz Punkt für Punkt auf */
.map-visual.reveal .map-dot { opacity: 0; transform: scale(0); }
.map-visual.reveal .map-dot::after { opacity: 0; animation: none; }
.map-visual.reveal.in .map-dot {
  animation:
    dot-in .55s calc(var(--dd, 0s) * .9) cubic-bezier(.2, 1.4, .4, 1) forwards,
    dot-breathe 2.8s calc(var(--dd, 0s) + 1.4s) ease-in-out infinite;
}
.map-visual.reveal.in .map-dot::after {
  animation: pulse-ring 2.8s calc(var(--dd, 0s) + 1.4s) ease-out infinite;
}
@keyframes dot-in {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes dot-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.map-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 1024px) { .map-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 700px) { .map-stats { grid-template-columns: 1fr; } }

/* ---------- Testimonial-Karte ---------- */
.testi-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.testi-card .bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/testimonial.jpg") center / cover;
  transition: transform 8s ease;
}
.testi-card:hover .bg { transform: scale(1.05); }
/* Ohne Hover (Touch) lebt das Bild von selbst */
@media (hover: none) {
  .testi-card .bg { animation: slow-zoom 24s ease-in-out infinite alternate; }
}
.testi-card .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(6, 28, 20, .12) 55%, rgba(6, 28, 20, .78));
}
.testi-card .tag {
  position: absolute; top: 26px; left: 26px;
  background: var(--green);
  color: #fff; font-weight: 600; font-size: .92rem;
  padding: 9px 18px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-green);
}
.testi-card .who {
  position: absolute; left: 26px; bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.testi-card .who .logo-chip {
  background: #fff; border-radius: 12px; padding: 8px 12px;
  display: flex; align-items: center;
}
.testi-card .who .logo-chip img { height: 34px; width: auto; }
.testi-card .who strong { color: #fff; display: block; line-height: 1.3; }
.testi-card .who span { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.testi-more { text-align: center; margin-top: 36px; }
@media (max-width: 700px) {
  .testi-card { aspect-ratio: auto; min-height: 380px; }
  .testi-card .who { flex-wrap: wrap; right: 26px; }
}

/* ---------- Kontakt-Formular (Split-Layout) ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-split .section-head {
  text-align: left;
  margin: 0 0 24px;
  max-width: none;
}
.contact-split .founder-strip { margin-bottom: 20px; }
.contact-split .trust-dots { justify-content: flex-start; }
.contact-card {
  padding: 30px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; gap: 28px; }
}
.founder-strip {
  display: flex; align-items: center; gap: 16px;
  background: var(--mint);
  border: 1px solid rgba(12, 174, 128, .25);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 30px;
}
.founder-strip img {
  width: 58px; height: 58px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.founder-strip strong { display: block; color: var(--ink); font-size: 1.05rem; }
.founder-strip span { color: var(--green-700); font-weight: 600; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.chips-label { font-weight: 600; color: var(--ink); font-size: .95rem; margin: 6px 0 -8px; grid-column: 1 / -1; }
.form-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 16px; }
.form-trust { margin-top: 18px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success .check-circle {
  width: 84px; height: 84px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  animation: pop-in .5s cubic-bezier(.16, 1, .3, 1) both;
}
.form-success .check-circle svg { width: 40px; height: 40px; }
.form-success h3 { margin-bottom: 10px; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 26px 20px; }
}

/* ---------- Referenz-Karten (dunkelgrün) ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ref-card {
  background: var(--grad-deep);
  border-radius: var(--r-md);
  padding: 26px 24px;
  color: rgba(255, 255, 255, .85);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ref-card .ref-logo {
  display: flex; align-items: center;
  margin-bottom: 18px;
}
.ref-card .ref-logo img,
.ref-card .ref-logo .wordmark {
  height: 52px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex; align-items: center;
}
.ref-card .ref-logo img { max-width: 160px; width: auto; object-fit: contain; }
.ref-card .ref-logo .wordmark {
  font-weight: 800; font-size: 1.02rem; color: var(--green-deep);
  letter-spacing: .01em; white-space: nowrap;
}
.ref-card h4 { color: #fff; font-size: 1.05rem; line-height: 1.35; margin-bottom: 2px; }
.ref-card .who { font-size: .88rem; color: rgba(255, 255, 255, .65); margin-bottom: 16px; }
.ref-card ul { margin-top: 4px; }
.ref-card li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .92rem; margin-bottom: 8px;
}
.ref-card li::before {
  content: "";
  width: 18px; height: 18px; flex: 0 0 18px;
  border-radius: 50%;
  background: rgba(46, 207, 161, .2) center / 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ECFA1' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  margin-top: 2px;
}
@media (max-width: 1100px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ref-grid { grid-template-columns: 1fr; } }

/* ---------- Job-Karten ---------- */
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.job-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(12, 174, 128, .4); }
.job-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.job-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card .tags span {
  background: var(--mint-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: .85rem; font-weight: 500;
  padding: 5px 12px; border-radius: var(--r-pill);
}
@media (max-width: 820px) { .job-grid { grid-template-columns: 1fr; } }

/* ---------- Blog-Karten ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .thumb .cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--green-700);
  font-size: .82rem; font-weight: 600;
  padding: 6px 13px; border-radius: var(--r-pill);
}
.blog-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.35; margin-bottom: 10px; }
.blog-card .meta { font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.blog-card p { font-size: .95rem; margin-bottom: 16px; }
.blog-card .btn-link { margin-top: auto; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Verbandspartner-Mini-Leiste (Seiten-Heroes) – Mobile-Verhalten.
   Höhere Spezifität nötig, weil Seiten-Styles die Basisklasse definieren. */
@media (max-width: 700px) {
  .page-hero .hero-card { display: block; }
  .page-hero .partner-mini {
    display: flex;
    margin: 0 26px 30px; max-width: calc(100% - 52px);
  }
  .page-hero .partner-mini .pm-logos { flex-wrap: wrap; gap: 16px; }
  .page-hero .partner-mini img { height: 26px; }
}

/* ---------- Verbandspartner-Mini-Leiste (geteilte Komponente) ---------- */
.partner-mini {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 30px;
  background: rgba(255, 255, 255, .96);
  border-radius: var(--r-md);
  padding: 16px 24px 14px;
  box-shadow: var(--shadow-lg);
}
.partner-mini > span {
  font-weight: 700; color: var(--ink); font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.partner-mini .pm-logos { display: flex; align-items: center; justify-content: center; gap: 26px; }
.partner-mini img { height: 34px; width: auto; }

/* ---------- Orbit-Element („Ihr Unternehmen im Mittelpunkt") ---------- */
.mf-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.orbit {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px dashed rgba(12, 174, 128, .3);
  border-radius: 50%;
  animation: orbit-spin 60s linear infinite;
}
.orbit-ring.r1 { width: 360px; height: 360px; }
.orbit-ring.r2 { width: 520px; height: 520px; animation-direction: reverse; animation-duration: 90s; }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  background: var(--grad-deep);
  border-radius: var(--r-lg);
  padding: 30px 26px 26px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(6, 33, 26, .35);
  z-index: 2;
  transition: transform .35s ease, box-shadow .35s ease;
}
.orbit:hover .orbit-center { box-shadow: 0 28px 70px rgba(6, 33, 26, .45), 0 0 0 6px rgba(12, 174, 128, .12); }
.orbit-center .oc-leaf {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(46, 207, 161, .16);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-bright);
}
.orbit-center .oc-leaf svg { width: 16px; }
.orbit-center strong { display: block; font-size: 1.25rem; line-height: 1.25; }
.orbit-center p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .75);
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 10px;
  min-height: 3.2em;
  transition: opacity .25s ease;
}
.orbit-item {
  position: absolute;
  width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  color: var(--ink);
  animation: float-y 7s ease-in-out infinite;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  z-index: 3;
}
.orbit-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.03);
}
.orbit-item .icon-chip { margin: 0; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; }
.orbit-item .icon-chip svg { width: 19px; height: 19px; }
.orbit-item b { display: block; font-size: .95rem; line-height: 1.25; }
.orbit-item small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.orbit-item.oi-1 { top: 4%; left: 0; animation-delay: 0s; }
.orbit-item.oi-2 { top: 12%; right: 0; animation-delay: 1.6s; }
.orbit-item.oi-3 { bottom: 12%; left: 2%; animation-delay: .8s; }
.orbit-item.oi-4 { bottom: 3%; right: 3%; animation-delay: 2.3s; }
@media (max-width: 1024px) {
  .mf-grid { grid-template-columns: 1fr; }
  /* Diamant-Anordnung: das Zentrum bleibt der Mittelpunkt */
  .orbit {
    min-height: 0;
    padding: 16px 0 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: ". t ." "l c r" ". b .";
    align-items: center; justify-items: center;
    gap: 12px 8px;
  }
  .orbit-ring.r1 { width: min(80vw, 350px); height: min(80vw, 350px); }
  .orbit-ring.r2 { width: min(97vw, 460px); height: min(97vw, 460px); }
  .orbit-center {
    position: static; transform: none;
    grid-area: c;
    width: clamp(134px, 39vw, 205px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 14px;
    margin: 0;
  }
  .orbit-center .oc-leaf { width: 36px; height: 36px; margin: 0 auto 8px; }
  .orbit-center strong { font-size: clamp(.88rem, 3.4vw, 1.05rem); }
  .orbit-center p { display: none; }
  .orbit-item {
    position: static;
    width: 100%; max-width: 150px;
    margin: 0;
    flex-direction: column; text-align: center; gap: 7px;
    padding: 12px 8px;
  }
  .orbit-item b { font-size: .84rem; hyphens: manual; }
  .orbit-item small { display: none; }
  .orbit-item .icon-chip { flex: 0 0 auto; }
  .orbit-item.oi-1 { grid-area: t; }
  .orbit-item.oi-2 { grid-area: r; }
  .orbit-item.oi-3 { grid-area: l; }
  .orbit-item.oi-4 { grid-area: b; }
}

/* ---------- Karten-Punkte: pulsierende Kunden-Standorte ---------- */
.map-dot .tip { display: none; }
.map-visual { perspective: 900px; }
.map-visual .map-tilt {
  position: relative;
  transition: transform .3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Animiertes Phone-Mockup ---------- */
.phone-mock { animation: float-y 8s ease-in-out infinite; position: relative; }
.phone-mock .pm-bar { transform-origin: left center; }
.phone-mock.play .pm-bar { animation: pm-grow 1s cubic-bezier(.16, 1, .3, 1) both; }
.phone-mock.play .pm-bar:nth-of-type(2) { animation-delay: .25s; }
.phone-mock.play .pm-bar.solid { animation-delay: .5s; }
.phone-mock .pm-card { opacity: 0; transform: translateY(14px); }
.phone-mock.play .pm-card { animation: pm-in .7s cubic-bezier(.16, 1, .3, 1) forwards; }
.phone-mock.play .pm-card:nth-of-type(3) { animation-delay: .35s; }
.phone-mock.play .pm-img { animation: pm-in .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pm-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pm-toast {
  position: absolute;
  top: 84px; right: -74px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 9px;
  font-size: .84rem; font-weight: 600; color: var(--ink);
  opacity: 0;
  white-space: nowrap;
  z-index: 4;
}
.pm-toast .dot-ok {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint) center / 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230CAE80' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.phone-mock.play .pm-toast { animation: toast-loop 7s ease-in-out .9s infinite; }
@keyframes toast-loop {
  0%, 4% { opacity: 0; transform: translateY(10px) scale(.92); }
  9%, 52% { opacity: 1; transform: none; }
  60%, 100% { opacity: 0; transform: translateY(-8px) scale(.96); }
}
@media (max-width: 1100px) { .pm-toast { right: -8px; } }

/* ---------- Logo-Grid (Karriere u. a.) ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.logo-grid .lg-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  min-height: 92px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.logo-grid .lg-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(12, 174, 128, .35); }
.logo-grid img {
  max-height: 44px; max-width: min(130px, 100%); width: auto;
  filter: grayscale(1); opacity: .7;
  transition: filter .3s ease, opacity .3s ease;
}
.logo-grid .lg-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 1024px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .logo-grid .lg-tile { padding: 12px; } }

/* ---------- Reel-Rail: echte Kunden-Inhalte im Hochformat ---------- */
.reel-rail {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reel-rail::-webkit-scrollbar { display: none; }
.reel-card {
  position: relative;
  flex: 0 0 205px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
  isolation: isolate;
}
.reel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.reel-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6, 33, 26, .08), transparent 30%, transparent 52%, rgba(6, 33, 26, .62));
}
.reel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.reel-card:hover img { transform: scale(1.05); }
.reel-card .rc-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(6, 33, 26, .5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.reel-card .rc-badge svg { width: 14px; height: 14px; }
.reel-card .rc-who {
  position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 2;
  color: #fff; font-size: .8rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
@media (max-width: 700px) {
  .reel-rail.m-carousel > * { flex: 0 0 56%; }
}

/* ---------- Scroll-Fortschrittsbalken ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  z-index: 300;
  transition: width .08s linear;
}

/* ============================================================
   MOBILE-SYSTEM: eigene Anordnung statt gestapeltem Desktop
   ============================================================ */

html { overflow-x: clip; }

/* Horizontales Snap-Karussell für Karten-Grids auf Mobile */
.m-dots { display: none; }
@media (max-width: 700px) {
  .m-dots {
    display: flex; justify-content: center; align-items: center; gap: 7px;
    margin-top: 2px;
  }
  .m-dots button {
    width: 7px; height: 7px; border-radius: 50%;
    border: 0; padding: 0; cursor: pointer;
    background: var(--line);
    transition: background .25s ease, transform .25s ease;
  }
  .m-dots button.on { background: var(--green); transform: scale(1.3); }
  .m-dots.many { gap: 5px; }
  .m-dots.many button { width: 5px; height: 5px; }
  .m-carousel {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px !important;
    margin: 0 -24px;
    padding: 4px 24px 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .m-carousel::-webkit-scrollbar { display: none; }
  .m-carousel > * {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .m-hint {
    display: flex !important;
    align-items: center; justify-content: center; gap: 8px;
    color: var(--muted); font-size: .82rem; font-weight: 600;
    margin-top: -6px;
  }
  .m-hint::before, .m-hint::after {
    content: ""; width: 26px; height: 1.5px; background: var(--line);
  }

  /* Kompakte Sektionen */
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 34px; }
  h2 { font-size: clamp(1.55rem, 6.4vw, 1.9rem); }
  .section-head p.sub { font-size: .98rem; margin-top: 10px; }
  .pill { padding: 6px 14px; font-size: .8rem; margin-bottom: 14px; }

  /* Stat-Karten: 2×2 kompakt */
  .stat-card { padding: 16px 14px 14px; }
  .stat-card .num { font-size: 1.55rem; }
  .stat-card .label { font-size: .82rem; line-height: 1.3; margin-top: 2px; }
  .stat-card .desc { display: none; }
  .stat-card .icon-chip { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
  .stat-card .icon-chip svg { width: 16px; height: 16px; }
  .map-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  /* Formulare kompakt */
  .contact-card { padding: 20px 16px; }
  .field input, .field textarea, .field select { padding: 12px 14px; }
  .chip-check span { padding: 10px 12px; font-size: .9rem; }
  .founder-strip { padding: 12px 14px; }
  .founder-strip img { width: 46px; height: 46px; }
  .btn--lg { padding: 15px 22px; font-size: .98rem; }

  /* Testimonial & Karten */
  .testi-card { min-height: 300px; }
  .job-card { padding: 18px; }
  .job-card .btn { width: 100%; }
}
