/* ==========================================================================
   MMH Design System — shared.css
   Kanonische Basis-Styles fuer alle Seiten.
   Extrahiert aus 130+ inline <style>-Bloecken.
   ========================================================================== */

/* ─── Design Tokens ─── */
:root {
  /* HanseMerkur Farb-CD */
  --hm-green:      #00a075;
  --hm-green-mid:  #7dbf68;
  --hm-gold:       #D4A843;
  --hm-green-dark: #005e52;
  --forest:        #031f18;
  --forest-mid:    #072e23;
  --forest-soft:   #0d3d2e;
  --cream:         #F5F0E8;
  --cream-dark:    #EAE4D6;
  --white:         #FDFAF5;
  --mist:          #8FB5A8;
  --mist-light:    #B8CFC9;

  /* Spacing Scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 28px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;

  /* Section Rhythm */
  --sec-y: 140px;
  --sec-y-sm: 100px;

  /* Containers */
  --c-narrow: 680px;
  --c-std:    1080px;
  --c-wide:   1280px;
  --c-pad:    60px;

  /* Borders */
  --line:   rgba(0,160,117,0.12);
  --line-s: rgba(0,160,117,0.22);

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  /* Glass Layer */
  --glass-bg:       rgba(7,46,35,0.45);
  --glass-bg-hover: rgba(7,46,35,0.62);
  --glass-border:   rgba(0,160,117,0.12);
  --glass-border-hover: rgba(0,160,117,0.28);
  --glass-blur:     16px;
  --glass-blur-sm:  10px;
  --glass-shadow:   0 8px 32px rgba(0,0,0,0.18);
  --glass-shadow-hover: 0 12px 40px rgba(0,0,0,0.24);
  --glass-highlight: inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 88px; }
body {
  background: var(--forest); color: var(--cream);
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  line-height: 1.7; overflow-x: hidden;
}
body::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03; pointer-events: none; z-index: 9997;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--hm-green); z-index: 9999; width: 0%;
}

/* ─── Links & Focus ─── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--hm-green); outline-offset: 3px;
}

/* ─── Nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 28px var(--c-pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(3,31,24,0.97); backdrop-filter: blur(16px);
  padding: 16px var(--c-pad); border-bottom: 1px solid var(--line);
}
.nav-logo { text-decoration: none; display: flex; flex-direction: row; align-items: center; gap: 10px; }
.nav-logo-icon { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--white); letter-spacing: 0.04em; line-height: 1.1; }
.nav-logo-sub { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-green); font-weight: 400; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist-light); text-decoration: none; font-weight: 400; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 100%; height: 1px; background: var(--hm-green); transition: right 0.3s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }
.nav-links a[data-active] { color: var(--hm-green); }
.nav-links a.is-active { color: var(--cream); }
.nav-links a.is-active::after { right: 0; }
.nav-cta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); background: var(--hm-green); padding: 10px 22px; text-decoration: none; font-weight: 500; transition: background 0.3s; white-space: nowrap; }
.nav-cta:hover { background: var(--hm-gold); color: var(--forest); }
.cta-short { display: none; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
body.menu-open { overflow: hidden; }

@media (max-width: 1280px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.6rem; }
  .nav-cta { padding: 9px 16px; font-size: 0.6rem; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
}

/* ─── Mobile Menu ─── */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-s, rgba(255,255,255,0.08)); background: rgba(3,31,24,0.72); color: var(--white); border-radius: 999px; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.nav-toggle svg { width: 18px; height: 18px; }
.mobile-menu { position: fixed; inset: 0; z-index: 1500; pointer-events: none; }
.mobile-menu::before { content: ''; position: absolute; inset: 0; background: rgba(2,16,12,0.74); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.28s ease; }
.mobile-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 420px); background: rgba(3,31,24,0.82); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); border-left: 1px solid var(--glass-border); padding: 112px 28px 32px; display: flex; flex-direction: column; gap: 24px; transform: translateX(100%); transition: transform 0.32s ease; }
.mobile-menu.open { pointer-events: auto; }
.mobile-menu.open::before { opacity: 1; }
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.mobile-menu-title { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hm-green); }
.mobile-menu-close { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-s, rgba(255,255,255,0.08)); background: transparent; color: var(--white); cursor: pointer; font-size: 1.4rem; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 0; list-style: none; }
.mobile-menu-links a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: var(--cream); padding: 16px 0; border-bottom: 1px solid var(--line); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; }
.mobile-menu-links a span { font-family: 'DM Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); }
.mobile-menu-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; background: var(--hm-green); color: var(--forest); text-decoration: none; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; border-radius: 4px; }
.mobile-menu-meta { font-size: 0.8rem; color: var(--mist); line-height: 1.7; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--hm-green); color: var(--forest); padding: 16px 32px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  transition: background 0.3s, box-shadow 0.3s; border-radius: var(--r-md);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--hm-gold); color: #000; box-shadow: 0 8px 24px rgba(251,191,36,0.3); }
.btn-primary svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.3s; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: transparent; color: var(--hm-green); padding: 16px 32px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  border: 1px solid var(--hm-green); transition: all 0.3s;
  border-radius: var(--r-md); cursor: pointer;
}
.btn-secondary:hover { background: rgba(251,191,36,0.08); border-color: var(--hm-gold); color: var(--hm-gold); }

/* ─── Common Layout ─── */
.divider { height: 1px; background: var(--line); margin: var(--sec-y) auto; max-width: var(--c-std); }
.section-inner--std { max-width: var(--c-std); margin: 0 auto; padding: 0 var(--c-pad); }
.eyebrow {
  display: flex; align-items: center; gap: var(--sp-5); margin-bottom: var(--sp-8);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist);
}
.eyebrow-line { flex: 1; height: 1px; background: var(--line); }
.eyebrow-text { white-space: nowrap; }
.section-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600; line-height: 1.15; color: var(--white); margin-bottom: var(--sp-6);
}
.section-title em { font-style: italic; color: var(--hm-green-mid); }
.focus-intro { font-size: clamp(0.95rem, 2vw, 1.1rem); color: var(--mist-light); max-width: 600px; line-height: 1.8; margin-bottom: var(--sp-12); }

/* ─── Trust Strip ─── */
.trust-strip { padding: var(--sec-y) var(--c-pad); background: rgba(0,160,117,0.04); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-8);
  margin-bottom: var(--sp-16);
}
.trust-card {
  padding: var(--sp-6) var(--sp-5); background: rgba(255,250,245,0.04); border: 1px solid var(--glass-border);
  border-radius: var(--r-lg); transition: all 0.3s; backdrop-filter: blur(10px);
  min-width: 0;
}
.trust-card:hover { background: rgba(255,250,245,0.08); border-color: var(--glass-border-hover); }
.trust-card strong { display: block; font-size: clamp(1.2rem, 0.9vw + 1rem, 1.75rem); color: var(--hm-green); margin-bottom: var(--sp-2); overflow-wrap: break-word; hyphens: auto; line-height: 1.2; }
.trust-card strong sup { font-size: 1rem; }
.trust-card span { font-size: 0.82rem; color: var(--mist); line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── Proof Strip ─── */
.proof-strip { padding: var(--sp-8) var(--c-pad); border-bottom: 1px solid var(--line); }
.proof-inner { max-width: var(--c-std); margin: 0 auto; display: flex; gap: var(--sp-10); align-items: center; justify-content: center; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: var(--sp-3); font-size: 0.85rem; color: var(--mist-light); }
.proof-item strong { color: var(--hm-green); }

/* ─── PE Trust Block ─── */
.pe-trust-block {
  padding: var(--sp-8) var(--c-pad);
  background: linear-gradient(135deg, rgba(0,160,117,0.04) 0%, rgba(212,168,67,0.02) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pe-trust-inner {
  max-width: var(--c-std); margin: 0 auto;
  display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap; justify-content: center;
}
.pe-trust-source {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hm-gold); font-weight: 600; white-space: nowrap;
}
.pe-trust-source::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(212,168,67,0.15); color: var(--hm-gold);
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.pe-trust-rating { display: flex; align-items: baseline; gap: var(--sp-2); }
.pe-trust-rating strong {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  font-weight: 600; color: var(--white); line-height: 1;
}
.pe-trust-stars { color: var(--hm-gold); font-size: 0.85rem; letter-spacing: 2px; }
.pe-trust-sep { width: 1px; height: 20px; background: var(--line-s); flex-shrink: 0; }
.pe-trust-stat { font-size: 0.85rem; color: var(--mist-light); white-space: nowrap; }
.pe-trust-stat strong { color: var(--hm-green); font-weight: 600; }
.pe-trust-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--hm-green); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: color 0.3s; white-space: nowrap;
}
.pe-trust-link:hover { color: var(--hm-gold); }
.pe-trust-link svg { width: 12px; height: 12px; transition: transform 0.3s; }
.pe-trust-link:hover svg { transform: translateX(3px); }

/* PE Trust Block — Full (Bewertungsseite) */
.pe-trust-block--full { padding: var(--sec-y-sm) var(--c-pad); background: transparent; border: none; }
.pe-trust-block--full .pe-trust-inner {
  flex-direction: column; align-items: center; gap: var(--sp-8);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--r-lg); padding: var(--sp-10);
  backdrop-filter: blur(var(--glass-blur-sm));
}
.pe-trust-block--full .pe-trust-header {
  display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap; justify-content: center;
}
.pe-trust-competencies {
  display: flex; gap: var(--sp-8); flex-wrap: wrap; justify-content: center;
  padding-top: var(--sp-6); border-top: 1px solid var(--line); width: 100%;
}
.pe-trust-competency { display: flex; align-items: center; gap: var(--sp-3); font-size: 0.85rem; color: var(--mist-light); }
.pe-trust-competency strong {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--hm-green); font-weight: 600;
}
.pe-trust-quote {
  font-size: 0.95rem; color: var(--cream); line-height: 1.7; font-style: italic;
  text-align: center; max-width: 600px;
}
.pe-trust-quote cite {
  display: block; font-style: normal; font-size: 0.78rem;
  color: var(--mist); margin-top: var(--sp-3); letter-spacing: 0.06em;
}
.pe-widget-loader {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-8); background: transparent;
  border: 1px solid var(--line-s); border-radius: var(--r-md);
  color: var(--mist); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; font-family: 'DM Sans', sans-serif;
}
.pe-widget-loader:hover { border-color: var(--hm-green); color: var(--hm-green); background: rgba(0,160,117,0.05); }
.pe-widget-container { min-height: 0; transition: min-height 0.4s; }
.pe-widget-container.is-loaded { min-height: 400px; }

@media (max-width: 900px) {
  .pe-trust-sep { display: none; }
  .pe-trust-link { width: 100%; justify-content: center; }
  .pe-trust-block--full .pe-trust-inner { padding: var(--sp-8); }
}
@media (max-width: 520px) {
  .pe-trust-block { padding: var(--sp-6) var(--c-pad); }
  .pe-trust-inner { gap: var(--sp-3); }
  .pe-trust-rating strong { font-size: 1.3rem; }
  .pe-trust-competencies { flex-direction: column; align-items: center; gap: var(--sp-4); }
}

/* ─── Hero (Common) ─── */
.hero {
  margin-top: 120px; padding: var(--c-pad) var(--c-pad) var(--sec-y);
  background: linear-gradient(135deg, #0d3d2e 0%, #072e23 50%, #031f18 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(0,160,117,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--c-std); margin: 0 auto;
  position: relative; z-index: 2;
}
.hero-breadcrumb {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mist-light); margin-bottom: var(--sp-10);
}
.hero-breadcrumb a { color: var(--hm-green); text-decoration: none; }
.hero-breadcrumb span { margin: 0 var(--sp-2); }
.hero-headline {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600; line-height: 1.1; color: var(--white);
  margin-bottom: var(--sp-6); max-width: 900px;
}
.hero-headline em { font-style: italic; color: var(--hm-green-mid); }
.hero-subline {
  font-size: clamp(0.95rem, 2vw, 1.15rem); color: var(--mist-light);
  max-width: 600px; margin-bottom: var(--sp-12); line-height: 1.8;
}
.hero-ctas { display: flex; gap: var(--sp-6); flex-wrap: wrap; }

/* ─── Footer ─── */
.hm-bar { height: 4px; background: var(--hm-green); }

footer {
  background: var(--forest-mid); padding: var(--sp-24) var(--c-pad) var(--sp-12);
  border-top: 1px solid var(--line);
}
.footer-inner { max-width: var(--c-std); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-16); margin-bottom: var(--sp-16);
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  font-weight: 400; color: var(--white); margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.footer-brand span { color: var(--hm-green); }
.footer-copy {
  font-size: 0.85rem; color: var(--mist); line-height: 1.6;
  margin-bottom: var(--sp-6);
}
.footer-kicker {
  display: block; font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--hm-green); margin-bottom: var(--sp-4);
  font-weight: 500;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: var(--sp-3); }
.footer-list a {
  color: var(--mist-light); text-decoration: none; font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-list a:hover { color: var(--hm-green); }
.footer-contact p {
  font-size: 0.9rem; color: var(--mist-light); line-height: 1.8;
}
.footer-contact a { color: var(--hm-green); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: var(--sp-8);
}
.footer-legal {
  display: flex; gap: var(--sp-6); list-style: none; flex-wrap: wrap;
}
.footer-legal a {
  color: var(--mist); font-size: 0.8rem; text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--hm-green); }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}
.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.3s; }

/* ─── Contact Form ─── */
.kontakt-inner { max-width: var(--c-narrow); margin: 0 auto; }
.form-wrap { margin-top: var(--sp-16); }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.form-group { margin-bottom: var(--sp-6); }
.form-label {
  display: block; font-size: 0.85rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mist); margin-bottom: var(--sp-2);
  font-weight: 500;
}
.form-ctrl {
  width: 100%; padding: 12px var(--sp-4); background: rgba(255,250,245,0.05);
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  color: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  transition: all 0.3s;
}
.form-ctrl:focus {
  background: rgba(255,250,245,0.1); border-color: var(--hm-green);
  outline: none; box-shadow: 0 0 0 3px rgba(0,160,117,0.1);
}
.form-ctrl::placeholder { color: var(--mist); }
.form-ctrl option { background: var(--forest); color: var(--cream); }
textarea.form-ctrl { resize: vertical; }
.form-submit {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  width: 100%; background: var(--hm-green); color: var(--forest);
  padding: 16px var(--sp-4); font-size: 0.95rem; font-weight: 500;
  border: none; border-radius: var(--r-md); cursor: pointer;
  transition: all 0.3s; margin-top: var(--sp-6);
}
.form-submit:hover { background: var(--hm-gold); color: #000; box-shadow: 0 8px 24px rgba(251,191,36,0.3); }
.form-submit svg { width: 16px; height: 16px; }
.form-note { font-size: 0.8rem; color: var(--mist); margin-top: var(--sp-3); line-height: 1.6; }
.form-note a { color: var(--hm-green); text-decoration: underline; }
.form-success-block {
  background: rgba(0,160,117,0.1); border: 1px solid var(--hm-green);
  border-radius: var(--r-lg); padding: var(--sp-8); margin: var(--sp-10) 0;
  text-align: center;
}
.form-success-block h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  color: var(--white); margin-bottom: var(--sp-2);
}
.form-success-block p { font-size: 0.95rem; color: var(--mist-light); margin-bottom: var(--sp-6); }
.form-success-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }
.s-btn-wa, .s-btn-termin {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 12px var(--sp-6); background: var(--hm-green); color: var(--forest);
  text-decoration: none; font-weight: 500; font-size: 0.85rem;
  border-radius: var(--r-md); transition: all 0.3s;
}
.s-btn-wa:hover, .s-btn-termin:hover { background: var(--hm-green-mid); }

/* ─── Shared Responsive ─── */
@media (max-width: 1024px) {
  :root { --c-pad: 40px; --sec-y: 96px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --c-pad: 24px; --sec-y: 80px; --sec-y-sm: 64px; }
  nav { padding: 20px var(--c-pad); }
  nav.scrolled { padding: 14px var(--c-pad); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { margin-top: 80px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
}

@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  :root { --c-pad: 20px; }
  .section-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ==========================================================================
   OLA Sticky Badge — Direktabschluss-Tab rechts
   Farbe: Orange (CLAUDE.md §Direktabschluss = Orange)
   ========================================================================== */
.ola-badge {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: #eb5b25;
  color: #fff;
  padding: 18px 11px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-md) 0 0 var(--r-md);
  box-shadow: -2px 0 16px rgba(0,0,0,0.25);
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.ola-badge:hover {
  padding: 18px 15px;
  background: #d44d1a;
  box-shadow: -4px 0 24px rgba(235,91,37,0.35);
  color: #fff;
}
.ola-badge__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transform: rotate(-90deg);
  transition: transform 0.3s;
}
.ola-badge:hover .ola-badge__icon {
  transform: rotate(-90deg) translateX(3px);
}

/* Badge on mobile: bottom-right corner, horizontal, above mobile-cta-bar (~82px) */
@media (max-width: 900px) {
  .ola-badge {
    top: auto;
    bottom: 96px;
    right: 16px;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    border-radius: var(--r-md);
    padding: 10px 16px;
    font-size: 0.68rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 100002; /* above mobile-cta-bar (100001) */
  }
  .ola-badge:hover {
    padding: 10px 18px;
  }
  .ola-badge__icon {
    transform: rotate(0);
    width: 14px;
    height: 14px;
  }
  .ola-badge:hover .ola-badge__icon {
    transform: translateX(3px);
  }
}

@media (max-width: 520px) {
  .ola-badge {
    bottom: 92px;
    right: 12px;
    padding: 8px 14px;
    font-size: 0.64rem;
  }
}

/* ==========================================================================
   Leistungsuebersicht — Collapsible Tarifvergleich
   ========================================================================== */
.lue { margin: var(--sp-12) 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--glass-border); }
.lue[open] { border-color: rgba(0,160,117,0.28); }
.lue__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  padding: var(--sp-8) var(--sp-10); cursor: pointer;
  background: var(--glass-bg); list-style: none; transition: background 0.3s;
}
.lue__trigger:hover { background: var(--glass-bg-hover); }
.lue__trigger::-webkit-details-marker { display: none; }
.lue__trigger-eyebrow { display: block; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hm-green); margin-bottom: 6px; }
.lue__trigger-title { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--white); line-height: 1.2; }
.lue__trigger-sub { display: block; font-size: 0.82rem; color: var(--mist); margin-top: 4px; }
.lue__trigger-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-s); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--hm-green); font-weight: 300; transition: all 0.3s;
}
.lue[open] .lue__trigger-icon { transform: rotate(45deg); background: rgba(0,160,117,0.1); }
.lue__body { padding: 0 var(--sp-6) var(--sp-8); }
.lue__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); border: 1px solid var(--line); }
.lue__table { width: 100%; border-collapse: collapse; font-size: 0.85rem; line-height: 1.5; }
.lue__table thead th {
  position: sticky; top: 0; z-index: 2; padding: 14px 16px;
  background: rgba(0,160,117,0.08); color: var(--cream); font-size: 0.78rem;
  font-weight: 600; text-align: center; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-s);
}
.lue__table thead th:first-child { text-align: left; min-width: 220px; color: var(--mist); font-weight: 500; }
.lue__table thead th.lue--pp { background: rgba(0,160,117,0.14); color: var(--hm-green); }
.lue__table tbody td {
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  text-align: center; color: var(--cream); vertical-align: middle;
}
.lue__table tbody td:first-child { text-align: left; color: var(--mist-light); font-weight: 400; }
.lue__table tbody td.lue--pp { background: rgba(0,160,117,0.04); }
.lue__table tbody tr:hover td { background: rgba(255,250,245,0.02); }
.lue__table tbody tr:hover td.lue--pp { background: rgba(0,160,117,0.07); }
.lue__section-row td {
  padding: 10px 16px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--hm-green);
  background: rgba(0,160,117,0.05) !important; border-bottom: 1px solid var(--line-s);
}
.lue__yes { color: var(--hm-green); font-weight: 600; }
.lue__no { color: rgba(255,255,255,0.25); }
.lue__val { color: var(--white); font-weight: 500; }
.lue__val--strong { color: var(--hm-green); font-weight: 600; }
.lue__opt { color: var(--hm-green-mid); font-weight: 500; font-style: italic; }
.lue__foot {
  margin: var(--sp-6) 0 0; font-size: 0.72rem; color: var(--mist);
  line-height: 1.65; padding: 0 var(--sp-4);
}
@media (max-width: 680px) {
  .lue__trigger { padding: var(--sp-6) var(--sp-6); }
  .lue__body { padding: 0 var(--sp-3) var(--sp-6); }
  .lue__table thead th:first-child, .lue__table tbody td:first-child { min-width: 180px; position: sticky; left: 0; z-index: 1; background: var(--bg-deep, #031F18); }
  .lue__table tbody tr:hover td:first-child { background: var(--bg-deep, #031F18); }
  .lue__section-row td { position: static; }
  .lue__trigger-title { font-size: 1.3rem; }
}
