/* ==========================================================================
   tktextconsulting  |  Light Editorial, Version 2
   Vorlage: rounded hero card, floating pill navbar, marquee logo scroller
   Fonts: Inter (sans), Outfit (display)
   ========================================================================== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('inter-var.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('outfit-var.woff2') format('woff2'); }

:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;

  --body-bg: #f9fafb;
  --white: #ffffff;
  --ink: #0b2e1f;          /* Headline, dunkles Grün */
  --ink-2: #0f3d29;        /* Buttons, dunkles Grün */
  --green: #2f9e44;        /* Akzent, wie die Taste im Video */
  --green-soft: #e3f4e6;
  --green-mid: #86efac;
  --green-deep: #14532d;
  --slate: #64748b;
  --slate-2: #475569;
  --slate-3: #94a3b8;
  --line: rgba(226, 232, 240, 0.6);   /* slate-200/60 */
  --line-50: rgba(226, 232, 240, 0.5);
  --line-40: rgba(226, 232, 240, 0.4);
  --line-hover: #cbd5e1;              /* slate-300 */
  --forest: #1c4a37;
  --forest-soft: #e6efea;
  --brass: #2f9e44;
  --brass-soft: #e3f4e6;
  --cream: #f1f8f3;

  --shadow-hero: 0 40px 100px -20px rgba(0, 0, 0, 0.03);
  --shadow-nav: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 20px 50px -30px rgba(11, 46, 31, 0.25);

  --r-hero: 48px;
  --r-card: 32px;
  --max: 1400px;
  --max-text: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--body-bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

.page { padding: 24px 16px 0; }
@media (min-width: 768px) { .page { padding: 32px 32px 0; } }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; }
.wrap-text { width: 100%; max-width: var(--max-text); margin: 0 auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   Hero Card
   -------------------------------------------------------------------------- */
.hero {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  border-radius: var(--r-hero); background: var(--white);
  border: 1px solid var(--line-50); box-shadow: var(--shadow-hero);
  overflow: hidden; height: 600px; display: flex; flex-direction: column;
}
.hero.hero-sub { height: 440px; }
@media (max-width: 640px) { .hero { border-radius: 36px; height: 680px; } .hero.hero-sub { height: 460px; } .hero-content { padding: 40px 24px 0; } }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
  user-select: none; -webkit-user-select: none;
}
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 1000ms ease;
}

.hero-content {
  position: relative; z-index: 20; flex: 1;
  padding: 48px 32px 0; display: flex; flex-direction: column; align-items: flex-start;
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 768px) { .hero-content { padding: 64px 64px 0; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 18px;
}
.hero-eyebrow::before { content: "✦"; color: var(--brass); font-size: 11px; }

.hero h1 {
  font-size: 42px; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); max-width: 14ch;
  text-wrap: balance;
}
@media (min-width: 768px) { .hero h1 { font-size: 56px; } }
.hero-sub h1 { font-size: 36px; }
@media (min-width: 768px) { .hero-sub h1 { font-size: 48px; } }

.hero-lead {
  margin-top: 18px; font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1.65;
  color: var(--ink); max-width: 540px;
}
@media (min-width: 768px) { .hero-lead { font-size: 17px; } }

.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink-2); color: #fff; }
.btn-dark:hover { background: #155238; }
.btn-pill {
  background: var(--white); color: var(--ink); border-color: var(--line);
  box-shadow: var(--shadow-sm); padding: 8px 20px; font-size: 12px;
}
.btn-pill:hover { border-color: var(--line-hover); transform: none; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: #163b2c; }

/* Floating Navbar */
.navbar-wrap {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 30;
  width: max-content; max-width: calc(100% - 24px);
}
.navbar {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  padding: 6px; border-radius: 999px;
  box-shadow: var(--shadow-nav); border: 1px solid var(--line-40);
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
.nav-logo {
  width: 36px; height: 36px; border-radius: 999px; background: var(--white);
  border: 1px solid #f1f5f9; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; color: var(--brass); font-size: 14px; flex: none;
  margin-right: 4px;
}
.nav-link {
  white-space: nowrap;
  padding: 8px 12px; font-size: 12px; font-weight: 600; color: var(--slate);
  border-radius: 999px; transition: color 0.2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: 4px; }
.nav-cta svg { width: 14px; height: 14px; }
.nav-cta .long { display: inline; }
.nav-cta .short { display: none; }
@media (max-width: 480px) { .nav-link { padding: 8px 9px; font-size: 11px; } .navbar-wrap { bottom: 24px; } .nav-cta { padding: 8px 14px; font-size: 11px; } .nav-cta .long { display: none; } .nav-cta .short { display: inline; } }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Marquee Logo Scroller
   -------------------------------------------------------------------------- */
.marquee {
  margin-top: 40px; position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-card {
  position: relative; height: 96px; width: 160px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.logo-card:hover { border-color: var(--line-hover); }
.logo-card .glow {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.logo-card:hover .glow { opacity: 1; transform: scale(1); }
.logo-card { width: auto; min-width: 160px; padding: 0 28px; }
.lc-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; white-space: nowrap; }
.lc-text strong { font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink); letter-spacing: -0.01em; }
.lc-text small { font-size: 11px; color: var(--slate); transition: color 0.3s ease; }
.logo-card:hover .lc-text small { color: rgba(255, 255, 255, 0.8); }
.logo-card:hover .lc-text strong { color: #fff; }
.lc-text strong, .lc-text small { transition: color 0.3s ease; }
.logo-card .glow { background: linear-gradient(135deg, var(--green-deep), #166534 55%, #1f7a3f); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .hero-content, .navbar { animation: none; } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 96px 0 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate);
}
.eyebrow::before { content: "✦"; color: var(--brass); font-size: 11px; }
.section-title { margin-top: 14px; font-size: 34px; line-height: 1.08; color: var(--ink); text-wrap: balance; }
@media (min-width: 768px) { .section-title { font-size: 44px; } }
.section-intro { margin-top: 14px; font-size: 15px; color: var(--slate); max-width: 560px; line-height: 1.7; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }

/* Panel: weiße Karte im Hero-Stil */
.panel {
  background: var(--white); border: 1px solid var(--line-50); border-radius: var(--r-hero);
  box-shadow: var(--shadow-hero); padding: 56px 32px;
}
@media (min-width: 768px) { .panel { padding: 72px 64px; } }
@media (max-width: 640px) { .panel { border-radius: 36px; padding: 44px 24px; } }
.panel-soft { background: var(--cream); }

/* Leistungen */
.services { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative; display: block; min-height: 260px; border-radius: var(--r-card); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
@media (min-width: 1024px) { .service { min-height: 300px; } }
.service:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.03); transition: transform 0.8s ease; }
.service:hover .service-bg { transform: scale(1.08); }
.service-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(11, 46, 31, 0.55), rgba(11, 46, 31, 0) 100%); }
.service .glow { position: absolute; inset: 0; z-index: 2; opacity: 0; transform: scale(1.5); transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; background: linear-gradient(135deg, rgba(20, 83, 45, 0.85), rgba(22, 101, 52, 0.75) 55%, rgba(31, 122, 63, 0.7)); }
.service:hover .glow { opacity: 1; transform: scale(1); }
.service-icon {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink);
}
.service-icon svg { width: 20px; height: 20px; }
.service-title { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.service h3 { font-size: 26px; line-height: 1.15; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45); text-wrap: balance; }
.service-arrow { flex: none; width: 34px; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); display: grid; place-items: center; transition: transform 0.25s ease; }
.service-arrow svg { width: 16px; height: 16px; }
.service:hover .service-arrow { transform: translateY(3px); }

/* Fakten */
.facts { display: grid; gap: 16px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.fact-value { font-family: var(--font-display); font-weight: 500; font-size: 40px; letter-spacing: -0.03em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.fact-value small { font-size: 0.5em; color: var(--brass); margin-left: 2px; font-weight: 500; }
.fact-label { margin-top: 12px; font-size: 13px; color: var(--slate); line-height: 1.55; }

/* Ablauf */
.steps { display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  background: var(--ink-2); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 18px; font-size: 18px; color: var(--ink); }
.step p { margin-top: 8px; font-size: 14px; color: var(--slate); line-height: 1.7; }

/* Stimmen */
.quotes { display: grid; gap: 16px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; margin: 0; }
.stars { color: var(--brass); letter-spacing: 2px; font-size: 12px; }
.quote p { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--ink); flex: 1; }
.quote footer { margin-top: 20px; font-size: 12px; color: var(--slate); }
.quote footer strong { color: var(--ink); font-weight: 600; }
.quote-cta { background: var(--ink-2); color: #fff; border-color: var(--ink-2); justify-content: center; }
.quote-cta h3 { font-size: 22px; color: #fff; }
.quote-cta p { color: rgba(255, 255, 255, 0.7); font-size: 14px; flex: 0; margin-top: 10px; }
.quote-cta .btn { margin-top: 22px; align-self: flex-start; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease; }
.faq details:hover, .faq details[open] { border-color: var(--line-hover); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); font-weight: 400; font-size: 16px; transition: transform 0.25s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; font-size: 14px; line-height: 1.75; color: var(--slate); }

/* Über mich */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .about { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden;
  background: radial-gradient(400px 300px at 30% 20%, #dfe9e3, transparent 70%), linear-gradient(160deg, #f1f5f3 0%, #e2e8f0 100%);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initials { font-family: var(--font-display); font-size: 110px; color: rgba(11, 46, 31, 0.12); font-weight: 500; }
.portrait-badge {
  position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 12px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-40); box-shadow: var(--shadow-nav); display: flex; align-items: center; gap: 12px;
}
.portrait-badge .nav-logo { margin: 0; }
.portrait-badge strong { display: block; font-size: 13px; color: var(--ink); }
.portrait-badge span { font-size: 11px; color: var(--slate); }
.about-text p { margin-top: 14px; font-size: 15px; line-height: 1.8; color: var(--slate); }
.about-text p.lead { margin-top: 20px; font-size: 17px; color: var(--ink); }
.values { margin-top: 26px; display: grid; gap: 10px; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.value { padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-sm); }
.value strong { display: block; font-size: 13px; color: var(--ink); }
.value span { display: block; margin-top: 3px; font-size: 13px; color: var(--slate); line-height: 1.5; }

/* Kontakt */
.contact { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.contact-list { margin-top: 26px; display: grid; gap: 10px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease; }
.contact-item:hover { border-color: var(--line-hover); }
.contact-item .ci { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--body-bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.contact-item .ci svg { width: 16px; height: 16px; }
.contact-item small { display: block; font-size: 11px; color: var(--slate); }
.contact-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-note { margin-top: 18px; font-size: 13px; color: var(--slate); line-height: 1.6; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: 28px 24px; }
@media (min-width: 640px) { .form { padding: 36px; } }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 600; color: var(--slate-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line-hover);
  background: var(--body-bg); color: var(--ink); font: inherit; font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(47, 158, 68, 0.15); }
.field textarea { min-height: 140px; resize: vertical; border-radius: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--slate); margin: 4px 0 20px; line-height: 1.5; }
.check input { margin-top: 2px; accent-color: var(--ink-2); width: 15px; height: 15px; flex: none; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-top: 14px; font-size: 13px; display: none; padding: 12px 16px; border-radius: 16px; }
.form-status.ok { display: block; background: var(--forest-soft); color: var(--forest); }
.form-status.err { display: block; background: #fdecec; color: #9b2c2c; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* CTA Band */
.cta {
  background: var(--ink-2); color: #fff; border-radius: var(--r-hero); padding: 56px 32px;
  display: flex; flex-direction: column; gap: 24px; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 158, 68, 0.45), transparent 70%); pointer-events: none;
}
@media (min-width: 900px) { .cta { padding: 64px; flex-direction: row; align-items: center; justify-content: space-between; } }
@media (max-width: 640px) { .cta { border-radius: 36px; } }
.cta h2 { font-size: 32px; line-height: 1.08; color: #fff; text-wrap: balance; }
@media (min-width: 768px) { .cta h2 { font-size: 42px; } }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, 0.7); max-width: 520px; font-size: 15px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.cta .btn-pill { border-color: transparent; }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { margin-top: 40px; font-size: 22px; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--slate-2); }
.legal ul { margin-top: 6px; padding-left: 20px; list-style: disc; }
.legal li { margin-top: 4px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal address { font-style: normal; margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--ink); }
.legal-meta { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-3); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { margin-top: 96px; padding: 0 0 32px; }
.footer-card {
  background: var(--white); border: 1px solid var(--line-50); border-radius: var(--r-hero); box-shadow: var(--shadow-hero);
  padding: 48px 32px 32px;
}
@media (min-width: 768px) { .footer-card { padding: 56px 64px 32px; } }
@media (max-width: 640px) { .footer-card { border-radius: 36px; padding: 40px 24px 24px; } }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.brand .nav-logo { margin: 0; }
.footer-brand p { font-size: 13px; color: var(--slate); max-width: 320px; line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-3); }
.footer-col ul { margin-top: 14px; display: grid; gap: 8px; }
.footer-col a { font-size: 14px; color: var(--slate-2); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; color: var(--slate-3); }
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Leistungen (Detailseite)
   -------------------------------------------------------------------------- */
.service-nav { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.detail { position: relative; overflow: hidden; scroll-margin-top: 24px; }
.detail-grid { display: grid; gap: 32px; align-items: start; position: relative; z-index: 1; }
.detail-grid > div { max-width: 720px; }
@media (min-width: 1024px) { .detail.flip .detail-grid > div { margin-left: auto; } }
.detail-num { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--green); }
.detail h2 { margin-top: 10px; font-size: 32px; line-height: 1.08; color: var(--ink); text-wrap: balance; }
@media (min-width: 768px) { .detail h2 { font-size: 40px; } }
.detail .lead { margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--slate-2); }
.detail .lead + p { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--slate); }
.detail .hero-actions { margin-top: 26px; }
.detail-aside { display: grid; gap: 14px; }
.info { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.info h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); font-family: var(--font-sans); }
.info ul { margin-top: 12px; display: grid; gap: 8px; }
.info li { display: flex; gap: 10px; font-size: 14px; color: var(--slate-2); line-height: 1.55; }
.info li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d29' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.info p { margin-top: 10px; font-size: 14px; color: var(--slate-2); line-height: 1.65; }
.info.dark { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.info.dark h3 { color: var(--green-mid); }
.info.dark p { color: rgba(255, 255, 255, 0.78); }
.detail-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.detail-bg span { position: absolute; border-radius: 999px; filter: blur(70px); opacity: 0.4; animation: drift 14s ease-in-out infinite alternate; }
.detail-bg span:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -140px; background: #bbf7d0; }
.detail-bg span:nth-child(2) { width: 320px; height: 320px; left: -100px; bottom: -120px; background: #a7f3d0; animation-delay: -6s; }
.detail.flip .detail-bg span:nth-child(1) { right: auto; left: -120px; }
.detail.flip .detail-bg span:nth-child(2) { left: auto; right: -100px; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 40px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .detail-bg span { animation: none; } }

/* Marke */
.hero-brand { position: absolute; top: 22px; left: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line-40); box-shadow: var(--shadow-nav); animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
@media (min-width: 768px) { .hero-brand { top: 28px; left: 32px; } }
.brand-logo { height: 30px; width: auto; max-width: 120px; border-radius: 999px; }
.brand-name { font-family: var(--font-display); font-size: 15px; font-weight: 400; color: var(--ink); letter-spacing: -0.01em; }
.brand-name strong, .brand strong { font-weight: 600; color: var(--green); }
.nav-logo svg { width: 18px; height: 18px; color: var(--ink); }
.hero-content { padding-top: 96px; }
@media (min-width: 768px) { .hero-content { padding-top: 104px; } }
@media (max-width: 640px) { .hero-content { padding-top: 92px; } }

/* WhatsApp-Button, schwebend rechts */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px 12px 12px; border-radius: 999px;
  background: #25d366; color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35), var(--shadow-nav);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45); }
@media (max-width: 640px) { .wa-float { right: 14px; bottom: 14px; padding: 12px; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (min-width: 641px) { .wa-float { right: 22px; bottom: auto; top: 50%; transform: translateY(-50%); } .wa-float:hover { transform: translateY(-50%) scale(1.04); } }

/* 404 */
.err { text-align: center; }
.err .section-intro { margin-left: auto; margin-right: auto; }
.err .hero-actions { justify-content: center; }
.err .big { font-family: var(--font-display); font-size: 120px; line-height: 1; color: var(--green-soft); font-weight: 600; }
.faq-compact { margin-top: 28px; max-width: none; }
.section-tight { padding-top: 40px; }

/* Leistungen kompakt */
.detail { padding: 36px 28px; border-radius: 32px; }
@media (min-width: 768px) { .detail { padding: 44px 48px; } }
.detail-grid > div { max-width: 820px; }
.detail h2 { font-size: 28px; }
@media (min-width: 768px) { .detail h2 { font-size: 32px; } }
.detail .lead { font-size: 15px; margin-top: 10px; }
.detail .lead + p { font-size: 14px; margin-top: 8px; }
.detail .hero-actions { margin-top: 18px; }
.detail .btn { padding: 10px 18px; font-size: 12px; }
.detail-bg span { width: 260px !important; height: 260px !important; }
.detail-list { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .detail-list { grid-template-columns: 1fr 1fr; } }
.section-detail { scroll-margin-top: 24px; display: flex; }
.section-detail .detail { flex: 1; }
.detail .detail-grid > div { max-width: none; margin-left: 0 !important; }

/* Anpassungen */
.hero-brand { left: 0; right: 0; width: max-content; margin: 0 auto; transform: none; top: 24px; padding: 10px 22px 10px 18px; animation-name: fade-in; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 768px) { .hero-brand { top: 30px; } }
.brand-name { font-size: 22px; }
@media (min-width: 768px) { .brand-name { font-size: 28px; } }
.brand-logo { height: 38px; }
.hero-content { padding-top: 110px; }
@media (min-width: 768px) { .hero-content { padding-top: 124px; } }
@media (max-width: 640px) { .hero-content { padding-top: 104px; } .hero { height: 700px; } }
.hero .hero-actions .btn { padding: 12px 22px; font-size: 13px; }
.service { border: 0; box-shadow: 0 10px 30px -12px rgba(11, 46, 31, 0.45); }
.service-icon { display: none; }
.fact, .step, .quote, .faq details, .form, .contact-item, .value, .detail, .info, .logo-card, .footer-card { border: 1.5px solid rgba(15, 61, 41, 0.28); }
.quote-cta, .cta { border-color: transparent; }
.faq details:hover, .faq details[open], .contact-item:hover, .logo-card:hover { border-color: var(--green); }
.facts { grid-template-columns: 1fr; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.detail-points { margin-top: 14px; display: grid; gap: 8px; }
.detail-points li { display: flex; gap: 10px; font-size: 14px; color: var(--slate-2); line-height: 1.5; }
.detail-points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d29' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.field-captcha label span { color: var(--ink); font-weight: 700; font-size: 13px; }

/* Footer-Marke */
.footer-tagline { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 4px; }
.footer-services { display: flex; flex-wrap: wrap; gap: 6px; max-width: 360px; }
.footer-services li { font-size: 12px; font-weight: 600; color: var(--slate-2); background: var(--body-bg); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.footer-hand { font-size: 13px; color: var(--green); font-weight: 600; }
/* Kontaktwege: nur so breit wie nötig, alle gleich */
.contact-list { display: grid; grid-template-columns: 1fr; width: max-content; max-width: 100%; gap: 10px; }

.contact-item { padding: 8px 18px 8px 8px; }
.contact-item strong { white-space: nowrap; }
/* Leistungen-Details: mittig, grau unterlegt */
.detail { background: #ced4cb; border-color: transparent; box-shadow: none; text-align: center; }
.detail .detail-grid > div { display: flex; flex-direction: column; align-items: center; }
.detail .lead { color: var(--ink-2); }
.detail-points { width: max-content; max-width: 100%; text-align: left; }
.detail-points li { color: var(--ink); }
.detail-points li::before { background-color: rgba(255, 255, 255, 0.7); }

.hero.hero-sub { height: 560px; }
@media (max-width: 640px) { .hero.hero-sub { height: 660px; } }
.hero-sub .hero-content { padding-bottom: 110px; }

/* ==========================================================================
   Effekte
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.service.reveal { transition-property: opacity, transform, box-shadow; }
.hero-bg video { transform: translateY(var(--py, 0px)) scale(1.08); will-change: transform; }
.services { perspective: 1200px; }
.service { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease, box-shadow 0.3s ease, opacity 0.7s ease; }
.service.reveal:not(.in) { transform: translateY(22px); }
.service:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px) scale(1.01); box-shadow: 0 30px 60px -20px rgba(11, 46, 31, 0.5); }
.service .shine { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 45%); transition: opacity 0.3s ease; border-radius: inherit; }
.service:hover .shine { opacity: 1; }
.btn-dark, .nav-cta { transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.btn-dark:hover { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1.04); }
.hero h1 { animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.hero-lead { animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.hero .hero-actions { animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.fact-value { display: inline-flex; align-items: baseline; }
.wa-float { animation: wa-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both; }
@keyframes wa-pop { from { opacity: 0; transform: translateY(-50%) scale(0.6); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
@media (max-width: 640px) { @keyframes wa-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } } }
.faq details .faq-body { animation: fade-up 0.35s ease both; }
.logo-card { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s ease; }
.logo-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(11, 46, 31, 0.45); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .service.reveal:not(.in) { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero-lead, .hero .hero-actions, .wa-float, .hero-content, .navbar, .hero-brand { animation: none; }
  .marquee-track { animation: none; }
  .hero-bg video { transform: none; }
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 640px) {
  .page { padding: 12px 10px 0; }
  .hero { height: auto; min-height: 640px; }
  .hero-content { padding: 96px 22px 120px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 15px; }
  .hero .hero-actions .btn { width: 100%; justify-content: center; }
  .brand-name { font-size: 20px; }
  .navbar-wrap { max-width: calc(100% - 16px); }
  .nav-link { padding: 10px 9px; }
  .nav-logo, .btn-pill.nav-cta { min-height: 40px; }
  .marquee { margin-top: 24px; }
  .logo-card { height: 72px; width: 150px; }
  .section { padding-top: 64px; }
  .section-title { font-size: 30px; }
  .services { gap: 12px; }
  .service { min-height: 200px; }
  .service h3 { font-size: 22px; }
  .facts, .steps, .quotes { gap: 12px; }
  .fact { padding: 22px 20px; }
  .fact-value { font-size: 34px; }
  .step, .quote { padding: 22px 20px; }
  .faq summary { padding: 16px 18px; font-size: 14px; }
  .faq .faq-body { padding: 0 18px 18px; }
  .contact-list { width: 100%; }
  .contact-item { width: 100%; }
  .form { padding: 22px 18px; }
  .field input, .field select, .field textarea { font-size: 16px; }   /* verhindert Zoom auf iOS */
  .cta { padding: 40px 24px; }
  .cta h2 { font-size: 28px; }
  .footer { margin-top: 64px; }
  .footer-card { padding: 32px 22px 22px; }
  .footer-grid { gap: 24px; }
  .detail { padding: 28px 20px; }
  .detail h2 { font-size: 24px; }
  .wa-float { bottom: 16px; right: 12px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .btn, .nav-link, .faq summary { -webkit-tap-highlight-color: transparent; }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .hero-content { padding: 110px 40px 0; }
  .services { grid-template-columns: repeat(2, 1fr); }
}
.detail-list > * { min-width: 0; }
.detail { min-width: 0; }
.detail-points { max-width: 100%; }
.detail-points li { overflow-wrap: anywhere; }
@media (max-width: 640px) { .detail-points { width: 100%; } }
.logo-card { width: auto; min-width: 160px; padding: 0 26px; }
.lc-text { white-space: nowrap; }
@media (max-width: 640px) { .logo-card { min-width: 140px; padding: 0 20px; } }

/* Kontaktwege: volle Spaltenbreite */
.contact-list { width: 100%; }
.contact-item { width: 100%; }
.service-bg { background: var(--ink-2) center / cover no-repeat; }

/* Mobil: Hero ohne Fließtext, Video ungezoomt mit der grünen Taste */
@media (max-width: 640px) {
  .hero-lead { display: none; }
  .hero-content { padding-top: 104px; padding-bottom: 120px; }
  .hero { min-height: 600px; }
  .hero-bg video { transform: none; object-position: center bottom; }
  .hero h1 { font-size: 40px; }
  .hero .hero-actions { margin-top: 26px; }
}
@media (max-width: 640px) {
  .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, #c8cec4 0%, #c8cec4 38%, rgba(200, 206, 196, 0) 56%); }
  .hero { background: #c8cec4; }
}

@media (max-width: 640px) {
  .hero-content { align-items: center; text-align: center; }
  .hero h1 { max-width: none; }
  .hero-eyebrow { justify-content: center; }
  .service-bg { object-position: center top; }
}
@media (max-width: 640px) {
  .hero-eyebrow { display: block; text-align: center; }
  .hero-eyebrow::before { display: none; }
}
