/* ============================================================
   koreva.de — Design System v2
   CI: portal.koreva.de | Koreva eG, Magdeburg
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

/* ── 1. THEME VARIABLES ─────────────────────────────────── */

:root {
  /* Core brand */
  --green:          #4F8F2F;
  --green-hover:    #5eaa38;
  --green-bright:   #66bb37;
  --green-pale:     #edf3ea;
  --green-pale-text:#1f3912;
  --green-dark-bg:  #1d2419;
  --green-dark-text:#b8d2ab;

  /* Light mode */
  --bg:        #ffffff;
  --bg-alt:    #f7f9f5;
  --bg-alt2:   #f0f4ec;
  --txt:       #131313;
  --txt2:      #4a5568;
  --txt3:      #9ca3af;
  --border:    #e8ede5;
  --border2:   #d1dbc9;

  /* Nav */
  --nav-bg:    #0f1a0c;
  --nav-text:  rgba(255,255,255,.75);

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.04);
  --sh-sm: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh-md: 0 4px 20px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --sh-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --sh-green: 0 4px 24px rgba(79,143,47,.22);
  --sh-green-lg: 0 8px 40px rgba(79,143,47,.28);

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 100px;

  /* Typography */
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-head: 'Syne', 'Manrope', sans-serif;

  /* Logo — color is fixed, never inverted */
  --logo-filter: none;
}

html[data-theme="dark"] {
  --bg:        #111111;
  --bg-alt:    #181f14;
  --bg-alt2:   #1c241a;
  --txt:       #f0f0f0;
  --txt2:      #9aab8e;
  --txt3:      #5a6b52;
  --border:    #243020;
  --border2:   #2e3d28;
  --nav-bg:    #0a0f08;
  --nav-text:  rgba(255,255,255,.70);
  --green-pale:#1d2419;
  --green-pale-text:#b8d2ab;

  --sh-xs: 0 1px 2px rgba(0,0,0,.20);
  --sh-sm: 0 2px 8px rgba(0,0,0,.30);
  --sh-md: 0 4px 20px rgba(0,0,0,.40);
  --sh-lg: 0 12px 40px rgba(0,0,0,.55);
  --sh-green: 0 4px 24px rgba(79,143,47,.15);
}

/* ── 2. RESET ────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-size: 15.5px; color: var(--txt); background: var(--bg); line-height: 1.65; overflow-x: hidden; transition: background .2s, color .2s; }
img  { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */

h1 { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
h4 { font-family: var(--font-body); font-size: .85rem; font-weight: 700; line-height: 1.4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  color: var(--green-pale-text);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.eyebrow-dark {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
}

/* ── 4. LAYOUT ───────────────────────────────────────────── */

.wrap   { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-sm{ max-width: 800px;  margin: 0 auto; padding: 0 28px; }
.wrap-xs{ max-width: 600px;  margin: 0 auto; padding: 0 28px; }

.sec     { padding: 96px 0; }
.sec-sm  { padding: 64px 0; }
.sec-lg  { padding: 128px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-dark{ background: var(--nav-bg); }

.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
/* Asymmetrischer 2-Spalten-Grid (Leistungen-Seiten: Text + Karten) */
.grid-asym { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
@media (max-width: 860px) {
  .grid-asym { grid-template-columns: 1fr; gap: 40px; }
}

.sec-header { margin-bottom: 64px; }
.sec-header h2 { margin-bottom: 12px; }
.sec-header p { font-size: 1.05rem; color: var(--txt2); max-width: 600px; line-height: 1.75; }
.sec-header.center { text-align: center; }
.sec-header.center p { margin-left: auto; margin-right: auto; }

/* ── 5. BUTTONS ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  transition: all .18s;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: .01em;
}
.btn-lg { padding: 14px 32px; font-size: .95rem; }
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-xl { padding: 17px 40px; font-size: 1rem; font-weight: 700; }

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--sh-green);
}
.btn-primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  box-shadow: var(--sh-green-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-pale);
  color: var(--green-pale-text);
}

.btn-ghost {
  background: transparent;
  color: var(--txt);
  border-color: var(--border2);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--txt3);
}

.btn-white {
  background: #fff;
  color: var(--nav-bg);
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-white:hover {
  background: var(--green-pale);
  border-color: var(--green-pale);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.3);
}
.btn-ghost-white:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
  background: rgba(255,255,255,.07);
}

/* ── 6. NAVIGATION ───────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
}

.nav-logo { flex-shrink: 0; }
.nav-logo a { display: flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; filter: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  font-size: .84rem;
  font-weight: 500;
  color: var(--nav-text);
  padding: 6px 13px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.nav-dd { position: relative; }
.nav-dd-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--nav-text);
  padding: 6px 13px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  cursor: pointer;
}
.nav-dd-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-dd:hover .nav-dd-btn { color: #fff; background: rgba(255,255,255,.07); }
.nav-dd:hover .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }

.nav-dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  min-width: 240px;
  padding: 8px;
  box-shadow: var(--sh-lg);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s, transform .18s;
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: .875rem;
  color: var(--txt);
  transition: background .12s;
}
.nav-dd-item:hover { background: var(--green-pale); color: var(--green-pale-text); }
.nav-dd-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}

.nav-cta-btn {
  font-size: .8rem;
  font-weight: 600;
  background: var(--green);
  color: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  transition: background .15s, transform .15s;
}
.nav-cta-btn:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.theme-btn:hover { background: rgba(255,255,255,.13); color: #fff; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.75); border-radius: 2px; transition: all .2s; }

.mob-nav {
  display: none;
  background: var(--nav-bg);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 8px 0 20px;
}
.mob-nav.open { display: block; }
.mob-nav-sec {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 12px 24px 6px;
}
.mob-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: color .15s, background .15s;
}
.mob-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.mob-nav .mob-cta {
  margin: 12px 24px 0;
  display: block;
  background: var(--green);
  color: #fff !important;
  text-align: center;
  border-radius: 10px;
  padding: 12px !important;
  font-weight: 600;
}

/* ── 7. HERO ─────────────────────────────────────────────── */

.hero {
  background: var(--bg-alt);
  padding: 100px 0 108px;
  position: relative;
  overflow: hidden;
}

/* Decorative background blob */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -8%;
  width: 55%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(79,143,47,.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-kicker { margin-bottom: 24px; }

.hero h1 { margin-bottom: 24px; color: var(--txt); }
.hero h1 mark {
  background: none;
  color: var(--green);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--txt2);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--txt2);
}
.hero-proof-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── 8. SERVICE CARDS ────────────────────────────────────── */

.svc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  opacity: 0;
  transition: opacity .2s;
}
.svc-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
  border-color: var(--green);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.svc-card h3 { font-size: 1.05rem; font-weight: 700; }
.svc-card p  { font-size: .875rem; color: var(--txt2); line-height: 1.7; flex: 1; }

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.svc-tag {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--txt2);
  border: 1px solid var(--border);
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  transition: gap .15s;
  margin-top: 4px;
}
.svc-link:hover { gap: 10px; }

/* ── 9. FEATURE / BENEFIT CARDS ──────────────────────────── */

.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow .2s;
}
.feat-card:hover { box-shadow: var(--sh-sm); }

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.feat-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feat-card p  { font-size: .875rem; color: var(--txt2); line-height: 1.65; }

/* ── 10. STATS ───────────────────────────────────────────── */

.stats-bar {
  background: var(--nav-bg);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,.1);
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { color: var(--green-bright); }
.stat-lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}

/* ── 11. PROCESS STEPS ───────────────────────────────────── */

.step {
  display: flex;
  gap: 20px;
  padding-bottom: 40px;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border2);
  border-radius: 2px;
}
.step-n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--green-pale);
}
.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; padding-top: 7px; }
.step-body p  { font-size: .875rem; color: var(--txt2); line-height: 1.7; }

/* ── 12. TESTIMONIALS ────────────────────────────────────── */

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi-quote-mark {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--green-pale);
  position: absolute;
  top: 20px;
  left: 28px;
}
.testi-text {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--txt);
  font-style: italic;
  padding-top: 28px;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name  { font-size: .875rem; font-weight: 700; }
.testi-role  { font-size: .78rem; color: var(--txt3); }

/* ── 13. BLOG CARDS ──────────────────────────────────────── */

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--bg-alt2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  color: var(--txt3);
  margin-bottom: 10px;
}
.blog-cat {
  font-weight: 600;
  color: var(--green);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border2); }
.blog-card h3 {
  font-size: .975rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-card h3 a { color: var(--txt); transition: color .15s; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card p  { font-size: .85rem; color: var(--txt2); line-height: 1.65; flex: 1; }
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 16px;
  transition: gap .15s;
}
.blog-more:hover { gap: 10px; }

/* ── 14. FAQ ─────────────────────────────────────────────── */

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 8px;
}
.faq-q {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--txt);
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt2);
  color: var(--txt2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: background .2s, transform .2s, color .2s;
}
.faq-item.open .faq-icon {
  background: var(--green);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--txt2);
  line-height: 1.8;
  background: var(--bg);
}
.faq-item.open .faq-a { display: block; }

/* ── 15. PRICING ─────────────────────────────────────────── */

.price-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow .2s;
}
.price-card:hover { box-shadow: var(--sh-md); }
.price-card.best {
  border-color: var(--green);
  box-shadow: var(--sh-green);
}
.price-best-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.price-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--txt3); margin-bottom: 8px; }
.price-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 4px;
}
.price-amount { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--txt); }
.price-unit   { font-size: .875rem; color: var(--txt3); }
.price-note   { font-size: .8rem; color: var(--txt3); margin-bottom: 24px; }
.price-feats  { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.price-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  line-height: 1.4;
}
.price-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-card .btn { width: 100%; margin-top: 8px; justify-content: center; }

/* ── 16. CTA SECTION ─────────────────────────────────────── */

.cta-sec {
  background: linear-gradient(135deg, #2d5e14 0%, var(--green) 50%, #4a9e2a 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 90% at 85% 50%, rgba(255,255,255,.06), transparent 70%);
  pointer-events: none;
}
.cta-sec h2 { color: #fff; }
.cta-sec p  { color: rgba(255,255,255,.8); max-width: 560px; font-size: 1.05rem; line-height: 1.75; margin-top: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-sec .cta-actions { }

/* ── 17. PAGE HERO (inner pages) ─────────────────────────── */

.ph {
  background: var(--bg-alt);
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border);
}
.ph-bread {
  font-size: .78rem;
  color: var(--txt3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ph-bread a { color: var(--txt3); transition: color .15s; }
.ph-bread a:hover { color: var(--green); }
.ph-bread .sep { color: var(--border2); }
.ph h1 { margin-bottom: 14px; }
.ph p  { font-size: 1.05rem; color: var(--txt2); max-width: 640px; line-height: 1.75; }

/* ── 18. ARTICLE BODY ────────────────────────────────────── */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 28px 88px;
}
.article h2 { font-size: 1.5rem; margin: 44px 0 14px; color: var(--txt); }
.article h3 { font-size: 1.15rem; margin: 30px 0 10px; color: var(--txt); }
.article p  { font-size: 1rem; line-height: 1.85; color: var(--txt); margin-bottom: 20px; }
.article ul, .article ol { margin: 14px 0 20px 22px; }
.article ul li { list-style: disc; margin-bottom: 8px; font-size: 1rem; line-height: 1.7; }
.article ol li { list-style: decimal; margin-bottom: 8px; font-size: 1rem; line-height: 1.7; }
.article a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article strong { font-weight: 700; }
.article blockquote {
  border-left: 4px solid var(--green);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--green-pale);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--green-pale-text);
}
.article .notice {
  background: var(--green-pale);
  border: 1px solid var(--green);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin: 28px 0;
  font-size: .9rem;
  color: var(--green-pale-text);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* ── 19. CONTACT FORM ────────────────────────────────────── */

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--txt);
}
.field label .req { color: var(--green); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--txt);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(79,143,47,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--txt3); margin-top: 5px; }

/* ── 20. FOOTER ──────────────────────────────────────────── */

.footer {
  background: #0a0f08;
  color: rgba(255,255,255,.55);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr minmax(200px,240px);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ── Footer map column ──────────────────────────────────── */
.footer-map-col h4,
.footer-map-col .footer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 14px;
}
.footer-map-wrap { position: relative; }
/* Map locked placeholder — shown until consent given */
.map-locked {
  height: 130px;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  transition: border-color .2s;
}
.map-locked:hover { border-color: var(--green); }
.map-locked svg { width: 22px; height: 22px; color: rgba(255,255,255,.3); }
.map-locked strong { font-size: .78rem; color: var(--green-bright); display: block; }
.map-locked span { font-size: .72rem; color: rgba(255,255,255,.3); line-height: 1.35; max-width: 170px; }
/* Map frame — hidden until consent activates it */
.map-frame { display: none; }
.map-frame iframe {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: var(--r-sm);
  display: block;
}
.map-ext-link {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
  text-decoration: none;
  transition: color .15s;
}
.map-ext-link:hover { color: rgba(255,255,255,.75); }

/* ── CMP Cookie Banner ──────────────────────────────────── */
#cmp-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #1a2415;
  border-top: 2px solid var(--green);
  padding: 14px 24px;
  box-shadow: 0 -4px 28px rgba(0,0,0,.22);
}
#cmp-banner[hidden] { display: none; }
#cmp-banner .cmp-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
#cmp-banner .cmp-text {
  flex: 1 1 280px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}
#cmp-banner .cmp-text strong { color: rgba(255,255,255,.9); }
#cmp-banner .cmp-text p { margin: 3px 0 0; }
#cmp-banner .cmp-text a { color: var(--green-bright); }
.cmp-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .18s;
  white-space: nowrap;
  text-align: center;
  font-family: inherit;
}
.cmp-reject {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.6);
}
.cmp-reject:hover { border-color: rgba(255,255,255,.55); color: rgba(255,255,255,.9); }
.cmp-cfg {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.6);
}
.cmp-cfg:hover { border-color: var(--green); color: var(--green-bright); }
.cmp-ok {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.cmp-ok:hover { background: var(--green-hover); border-color: var(--green-hover); }

/* ── CMP Settings Modal ─────────────────────────────────── */
#cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#cmp-modal[hidden] { display: none; }
.cmp-modal-box {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: var(--sh-lg);
}
.cmp-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--txt2);
  line-height: 1;
  padding: 4px 8px;
}
.cmp-modal-close:hover { color: var(--txt); }
.cmp-modal-box h3 { margin-bottom: 20px; font-size: 1.05rem; }
.cmp-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cmp-row:last-of-type { border-bottom: none; }
.cmp-row-info { flex: 1; }
.cmp-row-info strong { font-size: .88rem; display: block; margin-bottom: 3px; }
.cmp-row-info p { font-size: .77rem; color: var(--txt2); line-height: 1.5; margin: 0; }
.cmp-modal-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cmp-modal-btns .cmp-btn { flex: 1; text-align: center; min-width: 110px; }
/* Modal buttons use dark styling too */
.cmp-modal-box .cmp-reject {
  border-color: var(--border2);
  color: var(--txt2);
}
.cmp-modal-box .cmp-reject:hover { border-color: var(--txt2); color: var(--txt); }
.cmp-modal-box .cmp-cfg {
  border-color: var(--border2);
  color: var(--txt2);
}
.cmp-modal-box .cmp-cfg:hover { border-color: var(--green); color: var(--green); }
.cmp-modal-box .cmp-ok {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Toggle switch */
.cmp-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cmp-toggle input { opacity: 0; width: 0; height: 0; }
.cmp-slider {
  position: absolute; inset: 0;
  background: var(--border2);
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}
.cmp-slider:before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.cmp-toggle input:checked + .cmp-slider { background: var(--green); }
.cmp-toggle input:checked + .cmp-slider:before { transform: translateX(20px); }
.cmp-toggle input:disabled + .cmp-slider { opacity: .55; cursor: not-allowed; }
.footer-brand-logo { height: 28px; filter: none; margin-bottom: 16px; }
.footer-brand-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 280px;
}
.footer-addr {
  font-size: .8rem;
  font-style: normal;
  color: rgba(255,255,255,.3);
  margin-top: 20px;
  line-height: 1.7;
}
.footer-addr a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-addr a:hover { color: rgba(255,255,255,.75); }

.footer-col h4,
.footer-col .footer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  padding: 5px 0;
  transition: color .15s;
}
.footer-col a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.3); transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.65); }

/* ── 21. NOTICE / BADGE / TAG ─────────────────────────────── */

.notice {
  background: var(--green-pale);
  border: 1px solid var(--green);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--green-pale-text);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notice-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-alt2);
  color: var(--txt2);
  border: 1px solid var(--border);
}

/* ── 22. TABLE ───────────────────────────────────────────── */

.tbl-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th {
  background: var(--bg-alt);
  padding: 12px 18px;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--txt2);
  border-bottom: 1px solid var(--border2);
}
td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-alt); }
.td-good { color: #0a8a0a; font-weight: 600; }
.td-bad  { color: #c90000; font-weight: 600; }
.td-warn { color: #BF7900; font-weight: 600; }

/* ── 23. BACK TO TOP & PROGRESS ──────────────────────────── */

.btt {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--sh-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .15s;
  z-index: 500;
  border: none;
}
.btt.vis { opacity: 1; transform: translateY(0); }
.btt:hover { background: var(--green-hover); }

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  z-index: 9999;
  transition: width .1s;
}

/* ── 24. UTILS ───────────────────────────────────────────── */

.text-center { text-align: center; }
.text-right  { text-align: right; }
.full        { width: 100%; }
.mt-2 { margin-top: 8px; }  .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── 25. RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-cta-btn { display: inline-flex; }
  .menu-btn { display: flex; }
  /* Footer: 5-col → 2×2 + 1 at tablet */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-map-col { grid-column: span 1; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .sec, .sec-lg { padding: 64px 0; }
  .hero { padding: 72px 0 80px; }
  .g2, .g3 { grid-template-columns: 1fr; gap: 18px; }
  .g-auto { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .cta-sec { padding: 64px 0; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .article { padding: 40px 20px 64px; }
  .wrap, .wrap-sm { padding: 0 20px; }
  .ph { padding: 48px 0 40px; }
}

@media (max-width: 480px) {
  .g4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
}

/* ── 26. BLOG ARTICLE LAYOUT ─────────────────────────────── */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.blog-content h2 { font-size: 1.45rem; font-weight: 700; margin: 40px 0 14px; color: var(--txt); }
.blog-content h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; color: var(--txt); }
.blog-content p  { font-size: .975rem; line-height: 1.85; color: var(--txt2); margin-bottom: 18px; }
.blog-content ul, .blog-content ol { margin: 12px 0 20px 22px; }
.blog-content ul li { list-style: disc; margin-bottom: 8px; font-size: .975rem; line-height: 1.7; color: var(--txt2); }
.blog-content ol li { list-style: decimal; margin-bottom: 8px; font-size: .975rem; line-height: 1.7; color: var(--txt2); }
.blog-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.blog-content strong { color: var(--txt); font-weight: 700; }

/* ── Inhaltsverzeichnis (Artikel) ──────────────────────────
   Statisches HTML in jedem Artikel (kein JS nötig) — dadurch
   für Google, Bing UND KI-Crawler (die meist kein JS ausführen)
   gleichermaßen lesbar. Natives <details>/<summary> startet
   eingeklappt; Auf-/Zuklappen funktioniert ganz ohne Script. */
.toc {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  margin: 0 0 32px;
  overflow: hidden;
}
.toc > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  color: var(--txt);
  transition: background .15s;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::marker { content: ''; }
.toc > summary:hover { background: var(--bg-alt2); }
.toc-toggle-label { display: flex; align-items: center; gap: 9px; }
.toc-toggle-label i { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }
.toc-chevron { display: flex; color: var(--txt2); transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.toc-chevron i { width: 18px; height: 18px; }
.toc[open] > summary .toc-chevron { transform: rotate(180deg); }
.toc-body { padding: 0 20px 18px; }
.toc-body > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.toc-body > ul > li > a { font-weight: 600; color: var(--txt); }
.toc-body a { display: inline-block; font-size: .85rem; line-height: 1.5; color: var(--txt2); text-decoration: none; transition: color .15s; }
.toc-body a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.toc-sub { list-style: none; margin: 8px 0 0; padding-left: 16px; border-left: 2px solid var(--border2); display: flex; flex-direction: column; gap: 7px; }
.toc-sub a { font-size: .8rem; color: var(--txt3); }

.lead {
  font-size: 1.1rem !important;
  line-height: 1.75 !important;
  color: var(--txt2) !important;
  max-width: 680px;
}

.blog-callout {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 18px 22px;
  margin: 32px 0;
  font-size: .9rem;
  color: var(--green-pale-text);
  line-height: 1.75;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.blog-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--green-pale);
  color: var(--green);
}
.blog-date, .read-time {
  font-size: .8rem;
  color: var(--txt3);
}

/* Blog index card overrides */
.blog-card { padding: 28px; }
/* H2 kept for homepage blog section; H3 for blog listing page cards */
.blog-card h2, .blog-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.blog-card h2 a, .blog-card h3 a { color: var(--txt); transition: color .15s; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--green); }
.blog-card p { font-size: .875rem; color: var(--txt2); line-height: 1.65; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.blog-read-more { font-size: .8rem; font-weight: 600; color: var(--green); transition: gap .15s; }
.blog-read-more:hover { text-decoration: underline; }

.blog-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

/* ── 27. PRICING PAGE ────────────────────────────────────── */

.price-card-featured {
  border-color: var(--green) !important;
  box-shadow: var(--sh-green);
}
.price-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 8px;
}
.price-val {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1;
  margin-bottom: 10px;
}
.price-val span { font-size: 1rem; font-weight: 500; color: var(--txt3); margin-left: 3px; }
.price-desc { font-size: .875rem; color: var(--txt2); line-height: 1.6; margin-bottom: 20px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.price-features li { font-size: .875rem; color: var(--txt2); padding-left: 18px; position: relative; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── 28. CONTACT FORM (new classes) ──────────────────────── */

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--txt);
}
.form-input {
  width: 100%;
  padding: 11px 15px;
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--txt);
  font-family: var(--font-body);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(79,143,47,.12);
}
select.form-input { cursor: pointer; }
textarea.form-input { min-height: 130px; resize: vertical; }

/* ── 29. LEGAL PAGES ─────────────────────────────────────── */

.ph-sm { padding: 40px 0 32px; }
.ph-sm h1 { font-size: 2rem; margin-bottom: 0; }

.legal-body h2 { font-size: 1.25rem; font-weight: 700; margin: 40px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); color: var(--txt); }
.legal-body h2:first-child { border-top: none; margin-top: 0; }
.legal-body h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 8px; color: var(--txt); }
.legal-body p { font-size: .9rem; line-height: 1.85; color: var(--txt2); margin-bottom: 14px; }
.legal-body ul { margin: 10px 0 16px 22px; }
.legal-body ul li { list-style: disc; font-size: .9rem; line-height: 1.7; color: var(--txt2); margin-bottom: 6px; }
.legal-body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-body address { margin-bottom: 16px; }

/* ── 30. BUTTON OUTLINE ──────────────────────────────────── */

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border2);
  color: var(--txt);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }

@media (max-width: 768px) {
  .blog-layout { grid-template-columns: 1fr; gap: 36px; }
  .price-val { font-size: 2rem; }
}

/* ── 31. BLOG LANDING PAGE ───────────────────────────────── */

.blog-lp-hero {
  background: linear-gradient(135deg, #162010 0%, #243318 50%, #1a2b12 100%);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.blog-lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 85% at 85% 50%, rgba(79,143,47,.10), transparent 70%);
  pointer-events: none;
}
.blog-lp-hero .wrap { position: relative; z-index: 1; }
.blog-lp-hero h1 { color: #fff; margin-bottom: 18px; }
.blog-lp-hero .hero-desc { color: rgba(255,255,255,.65); font-size: 1.1rem; line-height: 1.75; max-width: 580px; }
.blog-lp-stats { display: flex; gap: 48px; margin-top: 48px; flex-wrap: wrap; align-items: flex-start; }
.blog-lp-stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--green-bright); line-height: 1; margin-bottom: 5px; }
.blog-lp-stat span { font-size: .73rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.38); }

/* Image placeholder */
.img-ph {
  background: var(--bg-alt2);
  border: 2px dashed var(--border2);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 32px 20px;
  text-align: center;
  min-height: 180px;
  transition: border-color .2s, background .2s;
}
a:hover .img-ph, a:focus .img-ph { border-color: var(--green); background: var(--green-pale); }
.img-ph-icon { font-size: 2rem; opacity: .4; line-height: 1; }
.img-ph-label { font-size: .72rem; font-weight: 700; color: var(--txt2); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }
.img-ph-hint { font-size: .68rem; color: var(--txt3); font-style: italic; }

/* Featured article card */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: box-shadow .25s;
}
.blog-featured:hover { box-shadow: var(--sh-lg); }
.blog-featured-img {
  display: block;
  overflow: hidden;
  min-height: 340px;
  border-right: 1px solid var(--border);
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-featured-img .img-ph {
  height: 100%;
  min-height: 340px;
  border-radius: 0;
  border: none;
}
.blog-featured-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-body h2 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 14px 0 18px;
}
.blog-featured-body h2 a { color: var(--txt); transition: color .15s; }
.blog-featured-body h2 a:hover { color: var(--green); }
.blog-featured-body .lead { color: var(--txt2) !important; font-size: .975rem !important; line-height: 1.75 !important; margin-bottom: 0; }

/* Category filters */
/* ── Blog topic filter cards ─────────────────────────────── */
.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.blog-topic-card {
  /* Extends .feat-card visuals */
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  cursor: pointer;
  user-select: none;
  transition: border-color .18s, box-shadow .18s, transform .12s;
  position: relative;
  outline: none;
}
.blog-topic-card:hover {
  border-color: var(--green);
  box-shadow: var(--sh-green);
  transform: translateY(-2px);
}
.blog-topic-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(79,143,47,.3);
}
.blog-topic-card.active {
  border-color: var(--green);
  background: var(--green-pale);
  box-shadow: var(--sh-green);
}
.blog-topic-card .feat-icon {
  width: 40px; height: 40px;
  background: var(--green-pale);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background .18s;
}
.blog-topic-card.active .feat-icon { background: rgba(79,143,47,.2); }
.blog-topic-card .feat-icon svg,
.blog-topic-card .feat-icon i { color: var(--green); width: 20px; height: 20px; }
.blog-topic-card h3 {
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--txt);
  line-height: 1.3;
}
.blog-topic-card p {
  font-size: .78rem;
  color: var(--txt2);
  line-height: 1.55;
  margin: 0;
}
/* Dark mode */
[data-theme="dark"] .blog-topic-card { background: var(--bg-alt); }
[data-theme="dark"] .blog-topic-card.active { background: rgba(79,143,47,.1); }

/* Blog card with image thumb */
.blog-card-with-img { padding: 0; }
.blog-card-with-img .blog-body { padding: 22px 24px 24px; }
.blog-card-thumb {
  display: block;
  height: 185px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.blog-card-thumb .img-ph { height: 100%; min-height: 0; border-radius: 0; border-left: none; border-right: none; border-top: none; }

/* "Aktuell" new article badge */
.badge-new {
  display: inline-block;
  font-size: .64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  vertical-align: middle;
  margin-left: 6px;
}

/* Blog empty state */
.blog-empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--txt3);
  font-size: .95rem;
  display: none;
}

@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 220px; border-right: none; border-bottom: 1px solid var(--border); }
  .blog-featured-img .img-ph { min-height: 220px; }
  .blog-featured-body { padding: 28px; }
  .blog-lp-stats { gap: 32px; }
  .blog-lp-hero { padding: 64px 0 52px; }
}
@media (max-width: 480px) {
  .blog-lp-stat strong { font-size: 1.9rem; }
  .blog-lp-stats { gap: 24px; }
}

/* ── 32. HERO & PAGE HERO WITH IMAGE PLACEHOLDER ────────── */

/* Homepage hero split */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-img-col { border-radius: var(--r-xl); overflow: hidden; }
.hero-img-col .img-ph { min-height: 440px; border-radius: var(--r-xl); }

/* Service page hero split */
.ph-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.ph-split-img .img-ph { min-height: 260px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img-col { order: -1; }
  .hero-img-col .img-ph { min-height: 240px; }
  .ph-split { grid-template-columns: 1fr; }
  .ph-split-img .img-ph { min-height: 200px; }
}

/* ── 33. MODERN 2026/2027 DESIGN LAYER ──────────────────── */

/* ─ Custom scrollbar ─ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ─ Glassmorphism nav dropdown ─ */
.nav-dd-panel {
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 16px 48px rgba(0,0,0,.13), 0 2px 8px rgba(79,143,47,.06);
}
html[data-theme="dark"] .nav-dd-panel {
  background: rgba(17,22,15,.82);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 2px 8px rgba(79,143,47,.08);
}

/* ─ Glass card surface (opt-in via .glass) ─ */
.glass {
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.5);
}
html[data-theme="dark"] .glass {
  background: rgba(20,28,18,.72);
  border-color: rgba(255,255,255,.07);
}

/* ─ Enhanced card hover — ambient glow lift ─ */
.feat-card,
.svc-card,
.blog-card {
  transition: transform .28s cubic-bezier(.22,.61,.36,1),
              box-shadow .28s cubic-bezier(.22,.61,.36,1),
              border-color .28s;
  will-change: transform;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,.10),
              0 4px 14px rgba(79,143,47,.14);
  border-color: var(--green);
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0,0,0,.09),
              0 3px 10px rgba(79,143,47,.12);
  border-color: var(--green);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.09),
              0 2px 8px rgba(79,143,47,.10);
  border-color: var(--green);
}

/* ─ btn-primary shimmer on hover ─ */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.22) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform .48s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-green-lg), 0 0 28px rgba(79,143,47,.18);
}

/* ─ Subtle dot-grid texture on hero ─ */
.hero {
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(79,143,47,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* ─ Section ambient glow accent ─ */
.sec-green-accent {
  position: relative;
  overflow: hidden;
}
.sec-green-accent::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,143,47,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ─ Gradient stat numbers on light backgrounds ─ */
.blog-lp-stat strong {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter .2s;
}
.blog-lp-stat strong:hover {
  filter: brightness(1.12);
}

/* ─ Enhanced focus rings (accessible) ─ */
:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ─ Smooth link underline on inline links ─ */
.prose a,
.blog-body a,
article a {
  background: linear-gradient(var(--green), var(--green));
  background-size: 0% 1.5px;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size .22s ease, color .15s;
  color: var(--green);
}
.prose a:hover,
.blog-body a:hover,
article a:hover {
  background-size: 100% 1.5px;
}

/* ─ Chip / tag labels ─ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-alt2);
  color: var(--txt2);
  border: 1px solid var(--border2);
  transition: background .15s, color .15s, border-color .15s;
}
.tag:hover, a.tag:hover {
  background: var(--green-pale);
  color: var(--green-pale-text);
  border-color: var(--green);
}

/* ─ Glow divider ─ */
.divider-glow {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--green) 40%,
    var(--green) 60%,
    transparent 100%
  );
  opacity: .18;
  margin: 0;
}

/* ─ Glassmorphism info / alert box ─ */
.glass-box {
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  background: rgba(79,143,47,.07);
  border: 1px solid rgba(79,143,47,.18);
  border-radius: var(--r-lg);
  padding: 20px 24px;
}
html[data-theme="dark"] .glass-box {
  background: rgba(79,143,47,.09);
  border-color: rgba(79,143,47,.22);
}

/* ─ Image placeholder hover pulse ─ */
.img-ph {
  transition: border-color .2s, background .2s, box-shadow .2s;
}
a:hover .img-ph, a:focus .img-ph {
  border-color: var(--green);
  background: var(--green-pale);
  box-shadow: 0 0 0 4px rgba(79,143,47,.07);
}

/* ─ Nav link active underline ─ */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 99px;
  transition: width .22s cubic-bezier(.22,.61,.36,1);
}
.nav-link[aria-current="page"]::after { width: 100%; }

/* ─ Section-header eyebrow line ─ */
.sec-header .eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--green);
  border-radius: 99px;
  flex-shrink: 0;
}

/* ─ Reduced motion ─ */
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { display: none; }
  .hero::before { display: none; }
  .feat-card, .svc-card, .blog-card {
    transition: box-shadow .15s, border-color .15s;
  }
  .feat-card:hover, .svc-card:hover, .blog-card:hover {
    transform: none;
  }
}

/* ── 35. NAV — LIGHT MODE ───────────────────────────────── */
/* "gilt nicht für dark modus" — only light mode overrides  */

html:not([data-theme="dark"]) .nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(79,143,47,.12);
  box-shadow: 0 1px 16px rgba(0,0,0,.05);
}
html:not([data-theme="dark"]) .nav-link { color: #374151; }
html:not([data-theme="dark"]) .nav-link:hover,
html:not([data-theme="dark"]) .nav-link.active {
  color: var(--green-pale-text); background: var(--green-pale);
}
html:not([data-theme="dark"]) .nav-dd-btn { color: #374151; }
html:not([data-theme="dark"]) .nav-dd:hover .nav-dd-btn {
  color: var(--green-pale-text); background: var(--green-pale);
}
html:not([data-theme="dark"]) .menu-btn span { background: #374151; }
html:not([data-theme="dark"]) .theme-btn {
  background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.07); color: #4b5563;
}
html:not([data-theme="dark"]) .theme-btn:hover {
  background: var(--green-pale); color: var(--green-pale-text); border-color: var(--green);
}
html:not([data-theme="dark"]) .mob-nav {
  background: #ffffff;
  border-top: 1px solid rgba(79,143,47,.10);
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
}
html:not([data-theme="dark"]) .mob-nav a { color: #374151; }
html:not([data-theme="dark"]) .mob-nav a:hover { color: var(--green-pale-text); background: var(--green-pale); }
html:not([data-theme="dark"]) .mob-nav-sec { color: #9ca3af; }

/* ── 36. ICON SYSTEM (Lucide SVGs) ──────────────────────── */

/* Strip old emoji font-size from containers */
.svc-icon, .feat-icon, .blog-thumb, .img-ph-icon, .nav-dd-icon { font-size: 0; }

/* Direct SVG sizing */
.svc-icon  svg { width: 26px; height: 26px; color: var(--green); flex-shrink: 0; }
.feat-icon svg { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; }
.nav-dd-icon svg { width: 16px; height: 16px; color: var(--green); }
.mob-nav a svg  { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }
.blog-thumb svg { width: 22px; height: 22px; color: var(--green); }
.img-ph-icon svg { width: 36px; height: 36px; color: var(--txt3); opacity: .42; }

/* Icon hover micro-animation */
.svc-icon svg, .feat-icon svg {
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.svc-card:hover .svc-icon svg  { transform: scale(1.14) rotate(-4deg); }
.feat-card:hover .feat-icon svg { transform: scale(1.12) rotate(-3deg); }

/* ── 37. SCROLL REVEAL & ANIMATIONS ─────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .62s cubic-bezier(.22,.61,.36,1),
              transform .62s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger in grids */
.g2 > .reveal:nth-child(2) { transition-delay: .09s; }
.g3 > .reveal:nth-child(2) { transition-delay: .09s; }
.g3 > .reveal:nth-child(3) { transition-delay: .18s; }
.g4 > .reveal:nth-child(2) { transition-delay: .07s; }
.g4 > .reveal:nth-child(3) { transition-delay: .14s; }
.g4 > .reveal:nth-child(4) { transition-delay: .21s; }
.g-auto > .reveal:nth-child(2) { transition-delay: .06s; }
.g-auto > .reveal:nth-child(3) { transition-delay: .12s; }
.g-auto > .reveal:nth-child(4) { transition-delay: .18s; }
.g-auto > .reveal:nth-child(5) { transition-delay: .24s; }
.g-auto > .reveal:nth-child(6) { transition-delay: .30s; }

/* Hero entrance keyframes */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-enter   { animation: heroSlideUp .65s cubic-bezier(.22,.61,.36,1) both; }
.hero-enter.d1 { animation-delay: .06s; }
.hero-enter.d2 { animation-delay: .18s; }
.hero-enter.d3 { animation-delay: .30s; }
.hero-enter.d4 { animation-delay: .44s; }
.hero-enter.d5 { animation-delay: .56s; }

/* Stat number pop-in when visible */
.stat-item.reveal.visible .stat-num { animation: heroSlideUp .48s cubic-bezier(.22,.61,.36,1) both; }
.stat-item.reveal:nth-child(2).visible .stat-num { animation-delay: .09s; }
.stat-item.reveal:nth-child(3).visible .stat-num { animation-delay: .18s; }
.stat-item.reveal:nth-child(4).visible .stat-num { animation-delay: .27s; }

/* Eyebrow slide-in */
@keyframes eyebrowIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}
.sec-header.reveal.visible .eyebrow {
  animation: eyebrowIn .48s .1s cubic-bezier(.22,.61,.36,1) both;
}

/* Glowing CTA pulse (opt-in: add class .pulse) */
@keyframes glowPulse {
  0%,100% { box-shadow: var(--sh-green); }
  50%     { box-shadow: 0 8px 40px rgba(79,143,47,.38), 0 0 0 5px rgba(79,143,47,.08); }
}
.btn-primary.pulse { animation: glowPulse 2.6s ease-in-out infinite; }

/* Page-in fade for whole body */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageIn .3s ease both; }

/* ── 38. LIGHT MODE CI — portal.koreva.de palette ───────── */
/* "gilt nicht für dark modus" */

html:not([data-theme="dark"]) {
  --bg-alt:  #f5f9f2;
  --bg-alt2: #ecf4e7;
}
html:not([data-theme="dark"]) .hero {
  background: linear-gradient(148deg, #f8fcf5 0%, #eef6e8 55%, #f8fcf5 100%);
}
html:not([data-theme="dark"]) .svc-card,
html:not([data-theme="dark"]) .feat-card,
html:not([data-theme="dark"]) .blog-card,
html:not([data-theme="dark"]) .price-card {
  background: #ffffff;
  border-color: rgba(79,143,47,.13);
  box-shadow: 0 2px 10px rgba(79,143,47,.06), 0 1px 3px rgba(0,0,0,.03);
}
html:not([data-theme="dark"]) .svc-card:hover,
html:not([data-theme="dark"]) .feat-card:hover,
html:not([data-theme="dark"]) .blog-card:hover {
  border-color: rgba(79,143,47,.30);
  box-shadow: 0 16px 40px rgba(79,143,47,.11), 0 4px 10px rgba(0,0,0,.05);
}
html:not([data-theme="dark"]) .sec-alt { background: #f5f9f2; }
html:not([data-theme="dark"]) .stats-bar { background: #1a2515; }
html:not([data-theme="dark"]) .nav-dd-panel {
  background: rgba(255,255,255,.97);
  border-color: rgba(79,143,47,.12);
}

/* ── 39. MOBILE RESPONSIVE — COMPREHENSIVE ──────────────── */

@media (max-width: 960px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important; gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .nav-wrap { height: 58px; }
  .wrap, .wrap-sm, .wrap-xs { padding: 0 18px; }

  .hero { padding: 60px 0 68px; }
  .hero-proof { flex-wrap: wrap; gap: 8px 16px; }

  .stats-bar { padding: 40px 0; }
  .sec, .sec-lg { padding: 60px 0; }
  .sec-header { margin-bottom: 40px; }
  .ph { padding: 44px 0 36px; }

  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important; gap: 40px !important;
  }

  .blog-layout { gap: 28px; }
  .blog-card-thumb { height: 155px; }
  .article { padding: 32px 18px 52px; }
  .price-val { font-size: 2.1rem; }

  .blog-lp-hero { padding: 56px 0 44px; }
  .blog-lp-stats { gap: 20px 36px; }
  .blog-lp-stat strong { font-size: 2rem; }

  .btn { min-height: 44px; }
  /* Anrufen-Button bleibt immer sichtbar (auch mobil) – eckig wie im Desktop-Layout */
  .nav-cta-btn { display: inline-flex; min-height: 38px; padding: 7px 14px; font-size: .78rem; }
}

@media (max-width: 480px) {
  .nav-wrap { height: 54px; }
  .wrap, .wrap-sm, .wrap-xs { padding: 0 15px; }

  h1 { font-size: clamp(1.85rem, 8.5vw, 2.2rem) !important; letter-spacing: -.025em; }
  h2 { font-size: clamp(1.38rem, 6vw, 1.7rem); }

  .hero { padding: 48px 0 56px; }
  .sec { padding: 52px 0; }
  .sec-header { margin-bottom: 32px; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-num { font-size: clamp(1.75rem, 7vw, 2.4rem); }

  .btn-xl { padding: 14px 24px; font-size: .92rem; }
  .blog-card-thumb { height: 130px; }
  .blog-lp-stat strong { font-size: 1.7rem; }
  .blog-featured-body { padding: 18px 16px; }
  .eyebrow { font-size: .64rem; padding: 4px 10px; }
  .sec-header .eyebrow::before { display: none; }
}

/* Touch: disable hover-lift for natural tap behaviour */
@media (hover: none) and (pointer: coarse) {
  .feat-card:hover, .svc-card:hover, .blog-card:hover {
    transform: none !important; box-shadow: var(--sh-sm) !important;
  }
  .btn-primary:hover { transform: none; }
  .svc-card:hover .svc-icon svg,
  .feat-card:hover .feat-icon svg { transform: none; }
}

/* Reduced motion: honour OS preference */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .hero-enter { animation: none; opacity: 1; transform: none; }
  body { animation: none; }
}

/* ── 40. HERO — FULL BACKGROUND + KEN BURNS ─────────────── */

.hero-fullbg {
  position: relative;
  overflow: hidden;
  padding: 120px 0 128px;
  background: none !important; /* override bg-alt */
}
.hero-fullbg::before { display: none; } /* remove dot-grid pseudo */
.hero-fullbg::after  { display: none; } /* remove blob pseudo */

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: kenBurns 24s ease-in-out infinite alternate;
  z-index: 0;
}
.hero-bg-ph {
  /* Placeholder until real image is dropped in */
  background: linear-gradient(148deg, #1b2a14 0%, #253520 45%, #0f1a0c 100%);
}
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.09); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(6,11,4,.84) 0%,
    rgba(6,11,4,.58) 55%,
    rgba(6,11,4,.28) 100%
  );
}

.hero-fullbg .wrap { position: relative; z-index: 2; }

/* hero-inner: max-width text column */
.hero-inner { max-width: 700px; }

/* Text on dark background */
.hero-fullbg h1         { color: #ffffff; }
.hero-fullbg h1 mark    { background: none; color: var(--green-bright); }
.hero-fullbg .hero-sub  { color: rgba(255,255,255,.8); max-width: 580px; }
.hero-fullbg .eyebrow   { background: rgba(255,255,255,.1); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.12); }
.hero-fullbg .hero-proof-item { color: rgba(255,255,255,.72); }
.hero-fullbg .hero-proof-dot  { color: var(--green-bright); }
.hero-fullbg .btn-ghost { background: transparent; border-color: rgba(255,255,255,.30); color: rgba(255,255,255,.85); }
.hero-fullbg .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }

/* .ph sections — service page headers */
.ph { position: relative; overflow: hidden; }
.ph-has-bg { padding: 80px 0 72px; }
.ph-has-bg::before, .ph-has-bg::after { display: none; }
.ph-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: kenBurns 22s ease-in-out infinite alternate;
  z-index: 0;
}
.ph-bg-ph { background: linear-gradient(148deg, #1b2a14 0%, #253520 45%, #0f1a0c 100%); }
.ph-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Gradient von links dunkel → rechts hell: Text links lesbar, Motiv rechts sichtbar */
  background: linear-gradient(90deg, rgba(6,11,4,.84) 0%, rgba(6,11,4,.38) 100%);
}
.ph-has-bg .wrap       { position: relative; z-index: 2; }
.ph-has-bg h1          { color: #ffffff; font-size: clamp(1.55rem, 2.6vw, 2.1rem) !important; line-height: 1.22; letter-spacing: -.02em; margin-bottom: 16px; }
.ph-has-bg p           { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.7; }
.ph-has-bg .eyebrow    { background: rgba(255,255,255,.1); color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.18); }
.ph-has-bg .ph-bread a { color: rgba(255,255,255,.55); }
.ph-has-bg .ph-bread .sep, .ph-has-bg .ph-bread span { color: rgba(255,255,255,.45); }

/* Remove ph-split image col when in ph-has-bg mode */
.ph-has-bg .ph-split-img { display: none; }
/* Text-Panel linksbündig im Hero */
.ph-has-bg .ph-split {
  display: flex;
  justify-content: flex-start;
}

/* ── Hero Glass-Text-Panel (Leistungen-Seiten) ──────────────────────────── */
/* Frosted-glass Hintergrund hinter H1 + p für Lesbarkeit auf Foto-Heroes   */
.ph-has-bg .ph-split > div:first-child {
  display: block;
  max-width: 560px;
  padding: 28px 36px;
  background: rgba(6, 11, 4, 0.72);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  text-align: left;
}

/* ── Hero Glass-Text-Panel (Blog-Artikel mit Hero-Foto) ─────────────────── */
.ph-text-box {
  display: inline-block;
  max-width: 720px;
  margin-top: 20px;
  padding: 28px 36px;
  background: rgba(6, 11, 4, 0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
}
.ph-text-box .blog-post-meta { margin-bottom: 14px; }
.ph-text-box h1  { color: #fff; margin-bottom: 12px; }
.ph-text-box p   { color: rgba(255,255,255,.82); margin: 0; }

@media (max-width: 768px) {
  .hero-fullbg { padding: 88px 0 96px; }
  .ph-has-bg   { padding: 60px 0 52px; }
  .ph-has-bg .ph-split > div:first-child { padding: 24px 22px; max-width: 100%; }
  .ph-text-box { padding: 22px 20px; max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-fullbg { padding: 64px 0 72px; }
  .ph-has-bg   { padding: 48px 0 40px; }
}

/* ══ SECTION 41 — ENHANCED ANIMATIONS & MODERN EFFECTS ════ */

/* ── Hero gradient shimmer (for non-fullbg hero) ─────────── */
@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero:not(.hero-fullbg) {
  background-size: 200% 200% !important;
  animation: heroGradientShift 12s ease infinite;
}

/* ── CTA section animated gradient ──────────────────────── */
@keyframes ctaGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-sec {
  background-size: 200% 200% !important;
  animation: ctaGradientShift 10s ease infinite;
}

/* ── Card border-glow on hover ───────────────────────────── */
.feat-card, .svc-card, .blog-card, .price-card {
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s cubic-bezier(.22,.61,.36,1), border-color .28s;
}
.feat-card:hover, .svc-card:hover {
  border-color: rgba(79,143,47,.35) !important;
}
.blog-card:hover {
  border-color: rgba(79,143,47,.28) !important;
}

/* ── Stagger reveal for 4th–6th grid children ────────────── */
.g3 > .reveal:nth-child(4) { transition-delay: .04s; }
.g3 > .reveal:nth-child(5) { transition-delay: .12s; }
.g3 > .reveal:nth-child(6) { transition-delay: .20s; }

/* ── Animated underline on nav links ─────────────────────── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: left .22s cubic-bezier(.22,.61,.36,1), right .22s cubic-bezier(.22,.61,.36,1);
}
.nav-link.active::after {
  left: 8px;
  right: 8px;
}

/* ── Stat number pulse when visible ─────────────────────── */
@keyframes statCountUp {
  0%   { opacity: 0; transform: translateY(8px) scale(.92); }
  100% { opacity: 1; transform: none; }
}
.stat-item.visible .stat-num {
  animation: statCountUp .5s cubic-bezier(.22,.61,.36,1) both;
}

/* ── Icon spin on card hover ─────────────────────────────── */
.svc-card:hover .svc-icon svg,
.feat-card:hover .feat-icon svg {
  transform: scale(1.18) rotate(-6deg);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}

/* ── Floating ambient dot pattern on hero ────────────────── */
.hero:not(.hero-fullbg)::before {
  background-image: radial-gradient(circle, rgba(79,143,47,.10) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: dotDrift 25s linear infinite;
}
@keyframes dotDrift {
  from { background-position: 0 0; }
  to   { background-position: 28px 28px; }
}

/* ── Blog card shimmer on hover ──────────────────────────── */
.blog-card { overflow: hidden; }
.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(79,143,47,.04) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.blog-card:hover::after { transform: translateX(100%); }

/* ── Green badge pulse ────────────────────────────────────── */
@keyframes badgePop {
  0%   { transform: scale(0.8); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.badge-new {
  animation: badgePop .4s cubic-bezier(.22,.61,.36,1) .3s both;
}

/* ── CTA button shimmer (all primary buttons) ────────────── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg);
  transition: left .6s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover::before { left: 125%; }

/* ── Reveal section headers with scale ───────────────────── */
.sec-header.reveal { transform: translateY(20px) scale(.98); }
.sec-header.visible { transform: none; }

/* ── Smooth FAQ accordion animation ──────────────────────── */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.22,.61,.36,1), padding .22s;
  padding: 0 28px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 28px 20px;
}

/* ══ SECTION 42 — FLUID RESPONSIVE (stufenlos) ════════════ */

/* Fluid font sizes */
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }

/* Fluid section padding */
.sec   { padding: clamp(48px, 8vw, 80px) 0; }
.sec-sm { padding: clamp(32px, 5vw, 56px) 0; }
.sec-alt { padding: clamp(48px, 8vw, 80px) 0; }

/* Fluid wrap padding */
@media (max-width: 1080px) {
  .wrap { padding: 0 clamp(16px, 4vw, 48px); }
}

/* Fluid hero */
.hero { padding: clamp(56px, 10vw, 100px) 0 clamp(60px, 10vw, 108px); }

/* 2-col → 1-col at 860px (not just 960px) */
@media (max-width: 860px) {
  .g2, .ph-split { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1.1fr"],
  [style*="grid-template-columns: 1.1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* Card grid: 3 → 2 → 1 fluid */
@media (max-width: 980px) {
  .g3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .g3 { grid-template-columns: 1fr !important; }
  .g2 { grid-template-columns: 1fr !important; }
}

/* Mobile touch targets */
@media (max-width: 768px) {
  .btn { min-height: 46px; padding: 12px 22px; }
  .btn-xl { padding: 14px 28px; }
  .faq-q { padding: 18px 24px !important; min-height: 56px; }
  .mob-nav a { min-height: 44px; }
  .price-card { padding: 24px 20px; }
  .feat-card, .svc-card { padding: 20px 18px; }
}

/* Stat bar mobile */
@media (max-width: 600px) {
  .stats-bar { flex-wrap: wrap; gap: 0; }
  .stat-item { width: 50%; border-right: none; padding: 20px 0; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
}

/* Blog layout mobile */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr !important; }
  .blog-sidebar { order: -1; }
  .blog-sidebar .feat-card:not(:first-child) { display: none; }
}

/* Blog featured card mobile */
@media (max-width: 700px) {
  .blog-featured { grid-template-columns: 1fr !important; }
  .blog-featured-img { min-height: 200px; }
}

/* Hero proof bar mobile */
@media (max-width: 480px) {
  .hero-proof { flex-wrap: wrap; gap: 8px; }
  .hero-proof-dot { display: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ph-split mobile */
@media (max-width: 700px) {
  .ph-split { grid-template-columns: 1fr !important; }
}

/* Price card table mobile */
@media (max-width: 600px) {
  .tbl-wrap table { font-size: .8rem; }
  .tbl-wrap td:nth-child(2) { display: none; }
}

/* Blog filter buttons mobile */
@media (max-width: 640px) {
  .blog-filters { gap: 6px; }
  .blog-filter-btn { font-size: .75rem; padding: 6px 12px; }
}

/* Better touch scrolling */
* { -webkit-tap-highlight-color: transparent; }
.blog-filters { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; }

/* ══════════════════════════════════════════════════════════════
   PRINT / PDF — DIN A4  (AGB · AVV · Datenschutz)
   Trigger: window.print() or Ctrl+P
   ══════════════════════════════════════════════════════════════ */
.no-print { /* utility class — hidden in print */ }

@media print {

  /* ── Page setup ───────────────────────────────────────────── */
  @page {
    size: A4 portrait;
    margin: 22mm 24mm 28mm 24mm;
  }
  @page :first {
    margin-top: 18mm;
  }

  /* ── Reset / base ─────────────────────────────────────────── */
  *, *::before, *::after {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  html, body {
    font-size: 10pt;
    line-height: 1.55;
    width: 100%;
    overflow: visible !important;
  }

  /* ── Hide everything except content ──────────────────────── */
  .nav,
  .mob-nav,
  .footer,
  .btt,
  .ph-bread,
  .theme-btn,
  .menu-btn,
  .no-print,
  .progress-bar {
    display: none !important;
  }

  /* ── Page hero (title area) ───────────────────────────────── */
  .ph, .ph-sm {
    padding: 0 0 16pt 0 !important;
    background: #fff !important;
  }
  .ph h1 {
    font-size: 20pt !important;
    line-height: 1.2 !important;
    margin-bottom: 4pt !important;
    color: #000 !important;
  }
  .ph p { font-size: 9pt !important; color: #555 !important; }

  /* ── Main content wrapper ─────────────────────────────────── */
  .sec { padding: 0 !important; }
  .wrap, .wrap-sm {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* ── Legal body typography ───────────────────────────────── */
  .legal-body {
    font-size: 9.5pt !important;
    line-height: 1.6 !important;
    color: #000 !important;
  }
  .legal-body h2 {
    font-size: 13pt !important;
    font-weight: 700 !important;
    margin-top: 18pt !important;
    margin-bottom: 6pt !important;
    color: #000 !important;
    border-bottom: 0.5pt solid #ccc;
    padding-bottom: 3pt;
    page-break-after: avoid !important;
  }
  .legal-body h3 {
    font-size: 10.5pt !important;
    font-weight: 700 !important;
    margin-top: 10pt !important;
    margin-bottom: 4pt !important;
    color: #000 !important;
    page-break-after: avoid !important;
  }
  .legal-body p {
    font-size: 9.5pt !important;
    margin-bottom: 5pt !important;
    orphans: 3;
    widows: 3;
  }
  .legal-body ul, .legal-body ol {
    margin: 4pt 0 6pt 16pt !important;
    padding: 0 !important;
  }
  .legal-body li {
    font-size: 9.5pt !important;
    margin-bottom: 3pt !important;
    orphans: 3;
    widows: 3;
  }
  .legal-body strong { font-weight: 700 !important; }
  .legal-body a { color: #000 !important; text-decoration: underline !important; }

  /* ── Tables ───────────────────────────────────────────────── */
  .legal-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 9pt !important;
    page-break-inside: auto;
  }
  .legal-body th {
    background: #efefef !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 8.5pt !important;
    padding: 5pt 7pt !important;
    border: 0.5pt solid #bbb !important;
    text-align: left !important;
  }
  .legal-body td {
    padding: 4pt 7pt !important;
    border: 0.5pt solid #ccc !important;
    vertical-align: top !important;
    font-size: 9pt !important;
  }
  .legal-body tr { page-break-inside: avoid; }

  /* ── Infoboxes (AVV parties, signature block) ────────────── */
  .legal-body [style*="background:var(--bg2"] {
    border: 0.5pt solid #ccc !important;
    padding: 8pt 10pt !important;
    border-radius: 0 !important;
    page-break-inside: avoid;
  }

  /* ── Page break hints ─────────────────────────────────────── */
  .legal-body h2:first-of-type { margin-top: 0 !important; }
  .legal-body > * { page-break-before: auto; }

  /* ── Print header (auto on every page via @page) ──────────── */
  /* Koreva branding printed in top-right via content — optional */

  /* ── Ensure main fills page width ────────────────────────── */
  main { display: block !important; width: 100% !important; }
  section { display: block !important; }
}
