/* ============================================================
   MB-COMPUTERS — Brand CSS
   Geteilte Stile für alle Seiten der Site.
   ============================================================ */

:root {
  --mb-green-ink:      #4F6E0E;
  --mb-green-deep: #2E4A05;
  --mb-green-mid:#7AA317;
  --mb-green:         #93C11C;
  --mb-green-soft:    #B9DC5C;
  --mb-tint:     #F5F9EC;
  --mb-bg:           #FFFFFF;
  --mb-bg-alt:       #FAFAFA;
  --mb-card:         #FFFFFF;
  --mb-ink:          #1a1a1a;
  --mb-border:       #F0F0F0;
  --mb-text:         #1a1a1a;
  --mb-text-soft:    #333333;
  --mb-muted:        #6B6B6B;
  --mb-gradient:     linear-gradient(135deg, #2E4A05 0%, #578010 100%);
  --mb-gradient-h:   linear-gradient(90deg, #2E4A05 0%, #578010 100%);
  --mb-gradient-text: var(--mb-gradient-h);
  --mb-gradient-hell: linear-gradient(90deg, #93C11C 0%, #B9DC5C 100%);
  --mb-shadow-sm:    0 2px 8px rgba(79, 110, 14, 0.06);
  --mb-shadow-md:    0 8px 24px rgba(79, 110, 14, 0.08);
  --mb-shadow-lg:    0 20px 60px rgba(46, 74, 5, 0.18);
}

/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
/* scroll-padding-top: Kopfhöhe (120 px + 1 px Rand) plus 12 px Luft, damit Sprungziele und Fokusring frei unter dem festen Kopf liegen */
html { scroll-behavior: smooth; width: 100%; scroll-padding-top: 133px; }
body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--mb-text);
  background: var(--mb-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-wrap: break-word;
}

/* --container-pad macht das Polster für andere Bausteine lesbar — der
   Referenz-Slider spiegelt es, um auf dem Handy randlos zu laufen. */
.container { --container-pad: 32px; max-width: 1280px; margin: 0 auto; padding: 0 var(--container-pad); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--mb-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 120px;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 72px; width: auto; transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo-link:hover img { transform: scale(1.06) rotate(-3deg); }
/* Zwischen Menü-Umbruch und 1280 px ist die Kopfzeile knapp, dort etwas kleiner */
@media (min-width: 75.0625em) and (max-width: 79.99em) { .logo-link img { height: 58px; } }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-item {
  font-size: 15px; font-weight: 500; color: var(--mb-text-soft);
  text-decoration: none; position: relative; padding: 6px 0;
  transition: color 200ms ease;
}
.nav-item:hover { color: var(--mb-green-deep); }
.nav-item::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--mb-gradient-h);
  transition: width 350ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(90deg, #2E4A05 0%, #578010 50%, #2E4A05 100%);
  background-size: 220% 100%;
  animation: gradientShift 6s ease-in-out infinite;
  color: #fff; border: none;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; font-family: inherit;
  cursor: pointer; letter-spacing: 0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--mb-shadow-md); }
@keyframes gradientShift {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 0%; }
}

/* HAMBURGER (mobile) */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  padding: 0; position: relative;
}
.nav-burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--mb-text); border-radius: 2px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease, top 300ms ease;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 28px; }
.nav-burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 99; padding: 100px 32px 40px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateY(-100%);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  display: block; padding: 18px 8px;
  font-size: 22px; font-weight: 600; color: var(--mb-text);
  text-decoration: none; border-bottom: 1px solid var(--mb-border);
  transition: color 200ms ease, padding-left 200ms ease;
}
.mobile-nav a:hover, .mobile-nav a:active { color: var(--mb-green-ink); padding-left: 14px; }
.mobile-nav .nav-cta {
  margin-top: 24px; text-align: center; padding: 18px 32px;
  font-size: 16px; border: none; color: #fff;
}
/* Weiß auch beim Zeigen und Tippen: die Linkregel darüber färbt sonst grün auf Grün und rückt ein */
.mobile-nav .nav-cta:hover, .mobile-nav .nav-cta:active { color: #fff; padding-left: 32px; }
.mobile-nav .nav-cta:active { box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25); }
.motion .mobile-nav .nav-cta:active { transform: scale(0.98); }
/* Anruf mit einem Tipp, oben im Menü: unten stünde die Zeile am Handy erst nach dem Rollen im Bild */
.mobile-nav .nav-tel { padding: 14px 8px; font-size: 16px; color: var(--mb-green-ink); }

/* BUTTONS */
.btn-primary {
  background: linear-gradient(90deg, #2E4A05 0%, #578010 50%, #2E4A05 100%);
  background-size: 220% 100%;
  animation: gradientShift 6s ease-in-out infinite;
  color: #fff; border: none;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 600; font-size: 16px; font-family: inherit;
  cursor: pointer; letter-spacing: 0.01em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  will-change: transform;
}
.btn-primary::after {
  content: "→"; display: inline-block;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--mb-shadow-lg); }
.btn-primary:hover::after { transform: translateX(4px); }

.btn-secondary {
  background: transparent; color: var(--mb-green-ink);
  border: none; padding: 16px 8px;
  font-weight: 600; font-size: 16px; font-family: inherit;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 200ms ease;
}
.btn-secondary::after { content: "→"; transition: transform 200ms ease; }
.btn-secondary:hover { gap: 14px; }

/* TYPOGRAPHY */
.eyebrow {
  color: var(--mb-green-ink); text-transform: uppercase;
  letter-spacing: 0.15em; font-size: 13px; font-weight: 600;
}

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 16px;
}
.section-header .lead {
  font-size: 18px; color: var(--mb-muted);
  max-width: 640px; margin: 0 auto;
}

/* REVEAL */
.motion .reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.motion .reveal.in-view { opacity: 1; transform: translateY(0); }
.motion .reveal-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.motion .reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.motion .reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.motion .reveal-stagger.in-view > *:nth-child(2) { transition-delay: 110ms; }
.motion .reveal-stagger.in-view > *:nth-child(3) { transition-delay: 220ms; }
.motion .reveal-stagger.in-view > *:nth-child(4) { transition-delay: 330ms; }
.motion .reveal-stagger.in-view > *:nth-child(5) { transition-delay: 440ms; }
.motion .reveal-stagger.in-view > *:nth-child(6) { transition-delay: 550ms; }

/* CLOSING CTA */
.footer-cta {
  padding: 110px 0; background: #0a0a0a;
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
/* Grid-Muster (maskiert) */
.footer-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 70px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #fff 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #fff 0%, transparent 80%);
  pointer-events: none; z-index: 0;
}
/* Grün-Glow */
.footer-cta::after {
  content: ""; position: absolute;
  top: -260px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 800px;
  background:
    radial-gradient(ellipse at center, rgba(79, 110, 14, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(147, 193, 28, 0.2) 0%, transparent 70%);
  pointer-events: none; filter: blur(40px); z-index: 0;
}
.footer-cta__inner { position: relative; z-index: 1; }
.footer-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
}
.footer-cta p {
  font-size: 18px; color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.footer-cta .btn-white {
  background: #fff; color: #2E4A05;
  border: none; padding: 18px 36px; border-radius: 999px;
  font-weight: 700; font-size: 16px; font-family: inherit;
  cursor: pointer; letter-spacing: 0.01em;
  text-decoration: none; display: inline-block;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.footer-cta .btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }

/* SITE FOOTER */
.site-footer {
  background: #0B0D08; color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 32px;
}
.footer-main {
  /* Fünf Spalten seit der Schwerpunkte-Spalte: Marke + 4 Linklisten.
     Vorher 2fr 1fr 1fr 1fr — damit fiel die Kontaktspalte in die
     nächste Zeile und hinterließ ein Loch neben dem Markenblock. */
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 44px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* width:auto ist Pflicht: Ohne die Angabe gewinnt das width-Attribut aus
   dem HTML und zieht das Logo in die Breite. Das Kopf-Logo hat sie längst. */
.footer-brand img { height: 88px; width: auto; margin-bottom: 24px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); max-width: 360px; margin-bottom: 24px; }
.footer-brand .address { font-size: 14px; color: rgba(255, 255, 255, 0.75); line-height: 1.7; }
.footer-col h2 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5); font-weight: 600; margin-bottom: 22px;
}
.footer-col a {
  display: block; font-size: 14.5px; color: rgba(255, 255, 255, 0.85);
  text-decoration: none; padding: 7px 0;
  transition: color 200ms ease, transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col a:hover { color: var(--mb-green-soft); transform: translateX(4px); }
.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between;
  align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: inherit; text-decoration: none; margin-left: 20px; transition: color 200ms ease; }
.footer-bottom a:hover { color: var(--mb-green-soft); }

/* CONTACT BAND (shared on every page) */
.contact-band {
  padding: 120px 0;
  background: var(--mb-bg);
  color: var(--mb-text);
  position: relative;
  overflow: hidden;
}
.contact-band::before {
  content: ""; position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79, 110, 14, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.contact-band::after {
  content: ""; position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(147, 193, 28, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.contact-band__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.contact-band .eyebrow {
  color: var(--mb-green-ink);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 12px; font-weight: 600;
  margin-bottom: 16px; display: block;
}
.contact-band h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 24px; color: var(--mb-text);
}
.contact-band h2 .accent {
  background: var(--mb-gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-band p {
  font-size: 17px; line-height: 1.7;
  color: var(--mb-muted);
  margin-bottom: 24px;
}
.contact-band__card {
  background: var(--mb-card);
  border: 1px solid var(--mb-border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--mb-shadow-md);
}
.contact-band__card h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 18px; color: var(--mb-text);
}
.contact-band__card .row {
  display: flex; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mb-border);
  font-size: 14.5px;
}
.contact-band__card .row:last-child { border-bottom: none; }
.contact-band__card .row .label {
  width: 90px; flex-shrink: 0;
  color: var(--mb-muted);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 11px; padding-top: 2px;
}
.contact-band__card .row .value {
  color: var(--mb-text-soft); line-height: 1.5;
}

/* Gradient link — used in contact-band for phone/email/maps */
.gradient-link {
  background: var(--mb-gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600; text-decoration: none;
  transition: opacity 200ms ease;
  display: inline-block;
}
.gradient-link:hover { opacity: 0.78; }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* TABLET (768-1000) */
@media (max-width: 62.5em) {
  .main-nav { display: none; }
  .nav-burger { display: block; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Nav früher auf Hamburger — volle Labels brauchen Platz */
@media (max-width: 75em) {
  .main-nav { display: none; }
  .nav-burger { display: block; }
}

/* CONTACT BAND tablet/mobile */
@media (max-width: 62.5em) {
  .contact-band__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* MOBILE (≤768) */
@media (max-width: 768px) {
  .contact-band { padding: 70px 0; }
  .contact-band h2 { font-size: 32px; line-height: 1.1; }
  .contact-band__card { padding: 28px 24px; }
  .contact-band__card .row { flex-direction: column; gap: 4px; padding: 10px 0; }
  .contact-band__card .row .label { padding-top: 0; }
}

/* (continuation of existing 768 block) */
@media (max-width: 768px) {
  .container { --container-pad: 20px; }
  html { scroll-padding-top: 85px; }
  .site-header__inner { height: 72px; }
  .logo-link img { height: 48px; }
  .nav-cta { padding: 10px 18px; font-size: 13.5px; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 30px; line-height: 1.1; }
  .section-header .lead { font-size: 16px; }
  .footer-cta { padding: 70px 0; }
  .footer-cta h2 { font-size: 32px; line-height: 1.1; }
  .footer-cta p { font-size: 16px; }
  .footer-cta .btn-white { padding: 16px 28px; font-size: 15px; }
  .site-footer { padding: 56px 0 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-brand img { height: 60px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom a { margin-left: 0; margin-right: 14px; }
  .btn-primary { padding: 14px 26px; font-size: 15px; }
}

/* EXTRA-SMALL (≤380) */
@media (max-width: 380px) {
  .container { --container-pad: 16px; }
  html { scroll-padding-top: 77px; }
  .site-header__inner { height: 64px; }
  .logo-link img { height: 42px; }
  .nav-cta { padding: 9px 14px; font-size: 12.5px; }
  .section-header h2 { font-size: 26px; }
  .footer-cta h2 { font-size: 26px; }
}

/* ============================================================
   KONTAKTFORMULAR (CTA) — geteilt über alle Seiten
   ============================================================ */
.cta-form {
  position: relative;
  max-width: 700px;
  margin: 14px auto 0;
  text-align: left;
  border-radius: 22px;
  padding: 34px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(12, 18, 6, 0.28), rgba(12, 18, 6, 0.28)) padding-box,
    linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.1), rgba(245, 249, 236, 0.55), rgba(255, 255, 255, 0.55)) border-box;
  background-size: 100% 100%, 300% 300%;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: cta-border 9s ease-in-out infinite;
}
@keyframes cta-border {
  0%, 100% { background-position: 0% 0%, 0% 50%; }
  50%      { background-position: 0% 0%, 100% 50%; }
}
.cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cta-form > .cta-field { margin-bottom: 16px; }
.cta-field { position: relative; }
.cta-field input,
.cta-field select,
.cta-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 22px 16px 8px;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.cta-field textarea { resize: vertical; min-height: 120px; }
.cta-field select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.cta-field--select select { padding-right: 40px; }
.cta-field select option { color: #1a1a1a; }
.cta-field label {
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: top 160ms ease, font-size 160ms ease, color 160ms ease, letter-spacing 160ms ease;
}
.cta-field input:focus ~ label,
.cta-field input:not(:placeholder-shown) ~ label,
.cta-field textarea:focus ~ label,
.cta-field textarea:not(:placeholder-shown) ~ label,
.cta-field--select label {
  top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mb-green-soft);
}
.cta-ico {
  position: absolute;
  right: 19px;
  top: calc(50% + 0.6px);
  transform: translateY(-50%);
  width: 4.2px;
  height: 3.7px;
  color: rgba(255, 255, 255, 0.6);
  forced-color-adjust: auto;   /* Kontrastmodus: Systemfarbe statt Weiß */
  pointer-events: none;
}
.cta-field input:focus,
.cta-field select:focus,
.cta-field textarea:focus {
  outline: none;
  border-color: var(--mb-green-soft);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(147, 193, 28, 0.16);
}
.cta-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 26px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}
.cta-consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.cta-consent .box {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.cta-consent .box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-consent input:checked ~ .box {
  background: var(--mb-gradient);
  border-color: transparent;
}
.cta-consent input:checked ~ .box::after { transform: rotate(45deg) scale(1); }
.cta-consent input:focus-visible ~ .box { box-shadow: 0 0 0 4px rgba(147, 193, 28, 0.25); }
.cta-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
/* Auf dem schwarzen Formularband: spezifischer als die allgemeine Textlink-Regel (label a:not([class])) */
.cta-consent a:not([class]) { color: #fff; }
.cta-consent a:not([class]):hover { color: var(--mb-green); }
.cta-form__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cta-submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #2E4A05 0%, #578010 50%, #2E4A05 100%);
  background-size: 220% 100%;
  animation: gradientShift 6s ease-in-out infinite;
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 110, 14, 0.45);
  padding: 16px 30px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}
.cta-submit .arr { transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1); }
.cta-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 650ms ease;
}
.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(79, 110, 14, 0.6);
}
.cta-submit:hover .arr { transform: translateX(5px); }
.cta-submit:hover::before { transform: translateX(120%); }
.cta-submit:disabled { opacity: 0.75; cursor: default; transform: none; box-shadow: none; }
.cta-or { font-size: 14px; color: rgba(255, 255, 255, 0.92); }
.cta-or a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: border-color 200ms ease;
}
.cta-or a:hover { border-color: #fff; }
.cta-form__success {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--mb-green-soft);
  border-radius: 0 10px 10px 0;
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
}
/* Solange kein Versand-Endpunkt existiert, ist das keine Erfolgsmeldung,
   sondern ein Hinweis mit zwei echten Wegen. Die Links müssen deshalb
   als Links erkennbar sein, auch auf dem dunklen Formular-Untergrund. */
.cta-form__success a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-form__success a:hover { color: var(--mb-green-soft); }
.cta-form__success strong { font-weight: 700; }
/* Erfolg und Fehlschlag müssen auf den ersten Blick unterscheidbar sein —
   vorher sah beides gleich aus, was bei einer Fehlermeldung irreführt. */
.cta-form__success.form-meldung--ok    { border-left-color: #3ECF8E; }
.cta-form__success.form-meldung--fehler{ border-left-color: #FFB020; }
@media (max-width: 680px) {
  .cta-form { padding: 26px 20px; }
  .cta-form__row { grid-template-columns: 1fr; gap: 0; }
  .cta-form__row .cta-field { margin-bottom: 16px; }
}

/* Inline-Textlinks im Fließtext: MB-Grün statt Browser-Blau.
   Bewusst nur klassenlose Links in Textblöcken — Navigation, Footer und
   Buttons bringen ihre eigene Farbe mit und bleiben unberührt. */
p a:not([class]),
li a:not([class]),
.lead a:not([class]),
.faq-answer a:not([class]),
label a:not([class]) {
  color: var(--mb-green-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease;
}
p a:not([class]):hover,
li a:not([class]):hover,
.lead a:not([class]):hover,
.faq-answer a:not([class]):hover,
label a:not([class]):hover { color: var(--mb-green-deep); }

/* ===== Hausstandard MB-COMPUTERS: Menü ohne Skript, main, Honigtopf, Druck ===== */
main { display: block; overflow-x: clip; }
.nav-toggle { display: none; }
@media (max-width: 75em) {
  .nav-toggle { display: block; position: fixed; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
  html:has(.nav-toggle:checked) { overflow: hidden; }
  html:has(.nav-toggle:checked) .mobile-nav { transform: translateY(0); visibility: visible; transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }
}
.nav-burger { -webkit-tap-highlight-color: transparent; }
.nav-toggle:focus-visible ~ .site-header__inner .nav-burger { outline: 3px solid var(--mb-green-ink); outline-offset: 2px; border-radius: 8px; }
.nav-toggle:checked ~ .site-header__inner .nav-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle:checked ~ .site-header__inner .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .site-header__inner .nav-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.mobile-nav { visibility: hidden; transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 400ms; }
.mobile-nav.is-open { visibility: visible; transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }
@media (forced-colors: active) { .nav-burger span { background: CanvasText; } }
/* Der Kontrastmodus streicht Verlaufs- und Farbflächen, Knöpfe ohne Rahmen sähen dort aus wie Fließtext */
@media (forced-colors: active) { .nav-cta, .mobile-nav .nav-cta, .btn-primary, .cta-submit, .footer-cta .btn-white { border: 2px solid; } }
.hp-feld { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media print {
  .reveal, .reveal-stagger > *, .process-step-row.reveal > * { opacity: 1 !important; transform: none !important; }
}

/* ===== Hell und dunkel =====
   Das Kopf-Skript setzt data-theme auf <html>: nachts (Sonne in Heide unter dem Horizont) dunkel, tagsüber
   hell, der Knopf im Kopf überstimmt das für den Besuch. Ohne Skript und im Druck bleibt die Seite hell. */
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --mb-green-ink:  #A6D03E;
    --mb-green-deep: #C3E07E;
    --mb-tint:       #172012;
    --mb-bg:         #121410;
    --mb-bg-alt:     #181B15;
    --mb-card:       #1C2018;
    --mb-ink:        #0B0D08;
    --mb-border:     #2C3226;
    --mb-text:       #ECEEE8;
    --mb-text-soft:  #CDD2C6;
    --mb-muted:      #A3A99A;
    --mb-gradient-text: var(--mb-gradient-hell);
    --mb-shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.3);
    --mb-shadow-md:  0 8px 24px rgba(0, 0, 0, 0.35);
    --mb-shadow-lg:  0 20px 60px rgba(0, 0, 0, 0.5);
  }
  :root[data-theme="dark"] .site-header { background: rgba(18, 20, 16, 0.85); }
  :root[data-theme="dark"] .mobile-nav { background: rgba(18, 20, 16, 0.98); }
  :root[data-theme="dark"] .logo-link img { content: url(logo-wortmarke-dunkel.svg?v=4813842a); }
  :root[data-theme="dark"] .cta-field select option { color: var(--mb-text); background: var(--mb-card); }
  /* Speicherhinweis: consent.css bleibt, wie es ist */
  :root[data-theme="dark"] .mb-hinweis { background: var(--mb-card); color: var(--mb-text); border-color: var(--mb-border); }
  :root[data-theme="dark"] .mb-hinweis__text { color: var(--mb-text-soft); }
  :root[data-theme="dark"] .mb-hinweis__text a { color: var(--mb-green-ink); }
  :root[data-theme="dark"] .mb-hinweis__text a:hover { color: var(--mb-green-deep); }
  :root[data-theme="dark"] .mb-hinweis__knopf:focus-visible,
  :root[data-theme="dark"] .mb-hinweis__text a:focus-visible { outline-color: var(--mb-green-ink); }
}
/* Heller Kontrastmodus färbt die Fläche hell, dort gehört das Logo mit dunklem Slogan hin */
@media (forced-colors: active) and (prefers-color-scheme: light) { :root[data-theme="dark"] .logo-link img { content: normal; } }
/* Dunkler Kontrastmodus färbt die Fläche dunkel, dort gehört das Logo mit hellem Slogan hin, auch tagsüber */
@media screen and (forced-colors: active) and (prefers-color-scheme: dark) { .logo-link img { content: url(logo-wortmarke-dunkel.svg?v=4813842a); } }
/* Heller Kontrastmodus färbt auch den Fuß hell, dort wird das weiße Fuß-Logo schwarz */
@media (forced-colors: active) and (prefers-color-scheme: light) { .footer-brand img { filter: invert(1); } }

/* Knopf Hell/Dunkel, nur mit Skript (das Kopf-Skript setzt data-theme) */
.theme-toggle { display: none; }
:root[data-theme] .theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; margin-left: 8px; padding: 0;
  border: none; border-radius: 50%; background: none; color: var(--mb-text-soft);
  cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color 200ms ease;
}
.theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .theme-toggle .mond,
:root:not([data-theme="dark"]) .theme-toggle .sonne { display: none; }
@media (hover: hover) { .theme-toggle:hover { color: var(--mb-green-deep); } }
.theme-toggle:focus-visible { outline: 3px solid var(--mb-green-ink); outline-offset: 2px; }
/* Mit Knopf steht das Menü mittig zwischen Logo und den Kopfknöpfen, 20 statt 28 px Abstand halten bei 1201 px Luft */
:root[data-theme] .main-nav { gap: 20px; margin-inline: auto; }
@media (max-width: 75em) {
  :root[data-theme] .theme-toggle { width: 44px; height: 44px; margin-left: 0; }
  :root[data-theme] .site-header__inner > .nav-cta { margin-inline: auto; }
}
@media print { .theme-toggle { display: none !important; } }
