/* ==========================================================================
   Kammerjäger Direkt – Stylesheet
   Farbwelt: Dunkelgrün/Weiß (seriös & vertrauensvoll)
   ========================================================================== */

:root {
  /* Markenfarben – Dunkelgrün (Variablennamen bleiben aus Kompatibilität "blue") */
  --blue-900: #0e2e1e;
  --blue-800: #14512f;
  --blue-700: #1b6e44;
  --blue-600: #218a52;
  --blue-500: #2ba366;
  --blue-100: #e1f2e8;
  --blue-50:  #f0f9f4;

  --emergency: #e03131;
  --emergency-dark: #c11e1e;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --ink: #16271d;
  --muted: #5c6b62;
  --line: #e0e9e2;
  --bg: #ffffff;
  --bg-alt: #f1f7f3;

  --ok: #2f9e44;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(14, 46, 30, .08);
  --shadow: 0 6px 24px rgba(14, 46, 30, .10);
  --shadow-lg: 0 18px 50px rgba(14, 46, 30, .16);

  --container: 1320px;
  --header-h: 72px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--blue-900); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .35rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 48px 0; }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-800); color: #fff; box-shadow: var(--shadow); }

.btn-emergency { background: var(--emergency); color: #fff; box-shadow: 0 6px 18px rgba(224, 49, 49, .3); }
.btn-emergency:hover { background: var(--emergency-dark); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #073b1e; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-800); color: var(--blue-800); }

.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Topbar (Notdienst) ---------- */
.topbar {
  background: var(--emergency);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 8px;
  text-align: center;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 800; }
.topbar a:hover { text-decoration: underline; }
.topbar .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.8s infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled,
.site-header.nav-open {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--blue-900); font-size: 1.18rem; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo .logo-mark { width: 34px; height: 34px; flex: none; }
.logo .logo-text b { color: var(--blue-700); }
.logo .logo-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.logo .logo-text small { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--blue-900);
  font-weight: 600;
  font-size: .98rem;
}
.nav-links a:hover { background: var(--blue-50); text-decoration: none; color: var(--blue-700); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-100); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
/* "Anrufen"-Button im Header ausgeblendet (auf Wunsch entfernt) */
.nav-actions .btn-desktop { display: none; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--blue-900);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after  { position: absolute; top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(43,163,102,.18), transparent 60%),
    linear-gradient(180deg, var(--blue-50), #fff 70%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-block: calc(var(--header-h) + 36px) 64px;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 28px; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px 26px; padding: 0; margin: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--blue-900); margin: 0; font-size: .96rem; }
.hero-badges svg { width: 22px; height: 22px; color: var(--ok); flex: none; }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.hero-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-card h3 svg { width: 26px; height: 26px; color: var(--emergency); }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li svg { width: 20px; height: 20px; color: var(--blue-700); flex: none; margin-top: 3px; }
.hero-phone {
  display: flex; align-items: center; gap: 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.hero-phone .small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.hero-phone .num { font-size: 1.35rem; font-weight: 800; color: var(--blue-900); }
.hero-phone .num:hover { color: var(--blue-700); text-decoration: none; }

/* ---------- Cards / Leistungen ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card .icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-700);
  margin-bottom: 16px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin-bottom: 14px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.card .tag { font-size: .78rem; background: var(--blue-50); color: var(--blue-700); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.card--placeholder { border-style: dashed; border-color: var(--blue-500); background: var(--blue-50); }

/* ---------- USP / Features ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.usp {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.usp .u-ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--blue-700); color: #fff; display: grid; place-items: center; }
.usp .u-ic svg { width: 24px; height: 24px; }
.usp h3 { font-size: 1.08rem; margin-bottom: .25em; }
.usp p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Steps / Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin: 8px 0 .3em; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Einsatzgebiet ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; color: var(--blue-900); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600));
  color: #fff;
  border-radius: 22px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 26px; margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .c-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; }
.contact-list .c-ic svg { width: 22px; height: 22px; }
.contact-list .c-label { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.contact-list .c-value { font-size: 1.1rem; font-weight: 700; color: var(--blue-900); }
.contact-list .c-value:hover { color: var(--blue-700); }

/* ---------- Formular ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .req { color: var(--emergency); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(43,163,102,.22);
}
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.checkbox input { width: auto; margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eafaef; color: var(--ok); border: 1px solid #bfe9cb; }
.form-status.err { background: #fdeaea; color: var(--emergency); border: 1px solid #f3c2c2; }

.map-embed { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 22px; filter: saturate(.9); }

/* ---------- Leistungs-Detail Blöcke ---------- */
.detail { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; }
.detail .icon svg { width: 34px; height: 34px; }
.detail h3 { font-size: 1.4rem; }
.detail .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
@media (max-width: 640px) { .detail .two-col { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 18px; margin-top: 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-size: 2rem; color: var(--blue-700); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #c7d6e3; padding: 56px 0 24px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer a { color: #c7d6e3; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo .logo-text small { color: #88a2b8; }
.footer-about p { color: #9fb6c9; font-size: .95rem; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .88rem; color: #88a2b8;
}
.footer-bottom a { color: #88a2b8; }

/* Sticky mobile call bar */
.callbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -6px 20px rgba(10,42,67,.1);
}
.callbar .btn { flex: 1; padding: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding-inline: 25px; }
  .section { padding: 52px 0; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .22s ease, opacity .2s ease, visibility .22s;
    max-height: calc(100vh - var(--header-h) - 20px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-actions .btn-desktop { display: none; }
  .hamburger { display: inline-flex; }
  .form-row { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: 14px; }
  .cta-band { padding: 32px 22px; }
  .callbar { display: flex; }
  body { padding-bottom: 72px; }
  .footer-bottom { padding-bottom: 70px; }
}

@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { font-size: .82rem; }
}

/* ---------- Cookie-/Consent-Hinweis ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  z-index: 80;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 { margin: 0 0 8px; font-size: 1.08rem; }
.cookie-banner p { color: var(--muted); margin: 0 0 14px; font-size: .92rem; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 16px; font-size: .92rem; }
.cookie-link { display: inline-block; margin-top: 12px; font-size: .85rem; }

/* Platzhalter für die Karte, solange keine Zustimmung vorliegt */
.map-consent {
  border: 1px dashed var(--blue-500);
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  margin-top: 22px;
}
.map-consent svg { width: 34px; height: 34px; color: var(--blue-700); margin-bottom: 8px; }
.map-consent p { color: var(--muted); margin: 0 auto 16px; max-width: 42ch; font-size: .92rem; }

@media (max-width: 760px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}

/* ---------- FAQ (Akkordeon) ---------- */
.faq { max-width: 820px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--blue-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4em; line-height: 1; color: var(--blue-700); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-a { padding: 14px 18px; color: var(--muted); }
.faq .faq-a a { font-weight: 600; }
