/* ============================================================
   KI GROWTH — Dark + Neon Green theme
   ============================================================ */

:root {
  --bg: #06120c;
  --bg-2: #0a1a12;
  --bg-3: #0f2419;
  --surface: #0d1f16;
  --surface-2: #102a1d;
  --border: #1a3325;
  --border-strong: #224633;

  --text: #e8f4ed;
  --text-muted: #9bb6a7;
  --text-faint: #6b8779;

  --green: #1fe079;
  --green-bright: #4af098;
  --green-dim: #14a85c;
  --green-glow: rgba(31, 224, 121, 0.35);
  --green-soft: rgba(31, 224, 121, 0.08);
  --green-line: rgba(31, 224, 121, 0.2);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --shadow-glow: 0 0 0 1px var(--green-line), 0 30px 80px -30px rgba(31, 224, 121, 0.25);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.02), 0 20px 40px -20px rgba(0, 0, 0, 0.6);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --container: 1200px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(31, 224, 121, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(31, 224, 121, 0.05), transparent 60%);
  background-attachment: fixed;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--green-bright); }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 600; }

::selection { background: var(--green); color: #001a09; }

/* Layout helpers */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-bordered { border-top: 1px solid var(--border); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--green-soft);
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.section-title .accent { color: var(--green); }
.section-intro { color: var(--text-muted); max-width: 720px; margin: 0 auto 2.75rem; font-size: 1.05rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #001a09;
  box-shadow: 0 0 0 1px var(--green-bright), 0 14px 30px -10px var(--green-glow);
}
.btn-primary:hover { background: var(--green-bright); color: #001a09; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--green-line); }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.88rem; }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 18, 12, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark { color: var(--green); display: inline-flex; }
.brand-name { font-family: var(--font-sans); }

.primary-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 0.35rem;
}
.primary-nav a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--text); background: var(--surface); }
.primary-nav .nav-cta {
  background: var(--green); color: #001a09 !important; font-weight: 600;
  padding: 0.65rem 1.1rem;
  box-shadow: 0 8px 24px -8px var(--green-glow);
}
.primary-nav .nav-cta:hover { background: var(--green-bright); }
.primary-nav .nav-cta-wa {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #25D366; color: #ffffff !important;
  box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.55);
}
.primary-nav .nav-cta-wa:hover { background: #20bd5a; color: #ffffff !important; }
.primary-nav .nav-cta-wa svg { flex-shrink: 0; }

/* Mobile nav toggle */
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 880px) {
  .nav-toggle-label {
    display: inline-flex; flex-direction: column; gap: 5px;
    width: 28px; height: 22px; cursor: pointer; padding: 0;
    justify-content: center;
  }
  .nav-toggle-label span {
    display: block; height: 2px; background: var(--text); border-radius: 2px;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  }
  .primary-nav ul {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1.25rem; max-height: 0; overflow: hidden;
    transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  }
  .nav-toggle:checked ~ ul { max-height: 600px; padding: 0.75rem 1rem 1.25rem; }
  .primary-nav a { padding: 0.85rem 1rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 75% 30%, rgba(31, 224, 121, 0.12), transparent 60%),
    radial-gradient(600px 380px at 10% 80%, rgba(31, 224, 121, 0.06), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.95rem; margin-bottom: 1.5rem;
  border: 1px solid var(--green-line); border-radius: 999px;
  background: var(--green-soft);
  font-size: 0.85rem; color: var(--green); font-weight: 600;
}
.hero-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--green); }
.hero-lead { color: var(--text-muted); font-size: 1.18rem; line-height: 1.6; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.92rem; color: var(--text-muted);
}
.hero-trust .check {
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-trust .check::before {
  content: ""; width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231fe079' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5L6.5 12 13 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; flex-shrink: 0;
}

/* Hero visual — terminal/chat mockup */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  padding: 1.25rem;
  box-shadow: var(--shadow-glow);
}
.hero-visual::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, transparent 60%, var(--green-glow));
  opacity: 0.25; z-index: -1; filter: blur(20px);
}
.chat-window-bar {
  display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.9rem;
}
.chat-window-bar i {
  width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong);
}
.chat-window-bar i:first-child { background: #ff5f57; }
.chat-window-bar i:nth-child(2) { background: #ffbd2e; }
.chat-window-bar i:nth-child(3) { background: var(--green); }
.chat-window-bar span {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-faint); text-transform: lowercase;
}
.chat-msg {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.7rem;
  font-size: 0.93rem;
  line-height: 1.55;
}
.chat-msg .role {
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--text-faint); margin-bottom: 0.4rem;
}
.chat-msg.assistant { background: linear-gradient(180deg, var(--green-soft), transparent); border-color: var(--green-line); }
.chat-msg.assistant .role { color: var(--green); }
.chat-msg .brand-highlight { color: var(--green); font-weight: 600; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   Why Choose — numbered cards
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.why-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.why-card:hover {
  border-color: var(--green-line);
  transform: translateY(-3px);
}
.why-card .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.1em;
}
.why-card .badge {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 1rem;
}
.why-card h3 { margin: 0.6rem 0 0.5rem; font-size: 1.15rem; }
.why-card p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: all 0.25s var(--ease);
}
.service-card:hover {
  border-color: var(--green-line);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.service-card .badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  color: var(--green); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.service-card p { color: var(--text-muted); margin: 0 0 1rem; font-size: 0.96rem; }
.service-card .more {
  margin-top: auto; font-weight: 600; color: var(--green); font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.service-card:hover .more { color: var(--green-bright); }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band {
  background: linear-gradient(135deg, #0a2818 0%, #0f3724 50%, #0a2818 100%);
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(31, 224, 121, 0.18), transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  position: relative;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-value .suffix { color: var(--green); }
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   Platforms grid (KI-Plattformen)
   ============================================================ */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--platform-color, var(--green));
  opacity: 0.5; transition: opacity 0.25s var(--ease);
}
.platform-card:hover {
  border-color: var(--platform-color, var(--green-line));
  transform: translateY(-3px);
  background: var(--surface-2);
}
.platform-card:hover::before { opacity: 1; }
.platform-info { min-width: 0; }
.platform-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: var(--platform-color, var(--text));
  letter-spacing: -0.02em;
}
.platform-company {
  display: block;
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 0.7rem;
}
.platform-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column;
}
.stars {
  display: inline-flex; gap: 2px; margin-bottom: 1rem; color: var(--green);
  font-size: 0.95rem;
}
.testimonial .quote {
  color: var(--text); font-size: 0.97rem; line-height: 1.6; margin: 0 0 1.25rem;
  flex-grow: 1;
}
.testimonial-meta {
  border-top: 1px solid var(--border);
  padding-top: 1rem; margin-top: auto;
}
.testimonial-meta .name { color: var(--text); font-weight: 600; font-size: 0.97rem; }
.testimonial-meta .role { color: var(--text-muted); font-size: 0.86rem; margin-top: 2px; }

/* ============================================================
   Industries grid (with image cards)
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.industry-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all 0.25s var(--ease);
  overflow: hidden;
}
.industry-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--green); opacity: 0; transition: opacity 0.25s var(--ease);
}
.industry-card:hover {
  border-color: var(--green-line);
  transform: translateY(-3px);
}
.industry-card:hover::before { opacity: 1; }
.industry-card .badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  color: var(--green); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.industry-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.industry-card p { color: var(--text-muted); margin: 0 0 1rem; font-size: 0.95rem; }
.industry-card .more {
  font-size: 0.88rem; font-weight: 600; color: var(--green);
}

/* ============================================================
   Cities map / Standorte
   ============================================================ */
.map-band {
  position: relative;
  border-top: 1px solid var(--border);
}
.map-wrap {
  position: relative;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at center, var(--bg-3), var(--bg) 80%);
  padding: 2rem 1rem;
  min-height: 480px;
}
.de-map {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(31, 224, 121, 0.15));
}
.de-map .border { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.de-map .city-dot { fill: var(--green); }
.de-map .city-pulse {
  fill: var(--green); opacity: 0.4;
  animation: city-pulse 2.4s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes city-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3); opacity: 0; }
}
.de-map .city-label {
  fill: var(--text); font-family: var(--font-sans); font-size: 11px; font-weight: 600;
}
.de-map .city-link { cursor: pointer; }
.de-map .city-link:hover .city-dot { fill: var(--green-bright); }
.de-map .city-link:hover .city-label { fill: var(--green); }

.map-stats {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem 3rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text-muted);
}
.map-stats strong { color: var(--text); margin-right: 0.4rem; }

.cities-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.cities-list-grid a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.2s var(--ease);
}
.cities-list-grid a:hover {
  border-color: var(--green-line);
  background: var(--surface-2);
  color: var(--green);
}
.cities-list-grid .arrow { color: var(--text-faint); transition: color 0.2s; }
.cities-list-grid a:hover .arrow { color: var(--green); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--green-line); }
.faq-item summary {
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--green); font-size: 1.4rem; font-weight: 400;
  flex-shrink: 0; transition: transform 0.2s var(--ease);
  font-family: var(--font-mono);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted); font-size: 0.97rem; line-height: 1.65;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 250px at 50% 50%, rgba(31, 224, 121, 0.1), transparent 70%);
}
.cta-band > .container { position: relative; }
.cta-buttons {
  display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center;
  margin: 1.75rem 0 1rem;
}
.cta-note { color: var(--text-faint); font-size: 0.85rem; margin: 0; }

/* ============================================================
   Page header / Inner pages / Prose
   ============================================================ */
.page-header { padding: clamp(3rem, 5vw, 4.5rem) 0 0; }
.page-body { padding: 1.25rem 0 clamp(3rem, 5vw, 5rem); }
.page-body .prose > :first-child,
.post-content.prose > :first-child { margin-top: 0; }
.page-title { margin-bottom: 1rem; }

.prose {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}
.prose h2 {
  font-size: 1.7rem; margin-top: 2.5rem; margin-bottom: 1rem;
  padding-top: 0.5rem;
}
.prose h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.7rem; }
.prose p { margin-bottom: 1.2rem; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; color: var(--text); }
.prose ul li::marker { color: var(--green); }
.prose ol li::marker { color: var(--green); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--green);
  padding: 0.5rem 0 0.5rem 1.4rem;
  margin: 1.5rem 0;
  color: var(--text-muted); font-style: italic;
}
.prose code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--green-bright);
}
.prose pre {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem;
  overflow-x: auto; margin: 1.5rem 0;
}
.prose pre code { background: transparent; border: 0; padding: 0; color: var(--text); }
.prose a:not(.btn) { color: var(--green); border-bottom: 1px solid var(--green-line); padding-bottom: 1px; }
.prose a:not(.btn):hover { color: var(--green-bright); border-color: var(--green); }
.prose .btn-primary,
.prose .btn-primary:hover { color: #001a09; border-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.heading-anchor { color: var(--text-faint); text-decoration: none; padding-left: 0.5rem; opacity: 0; transition: opacity 0.2s; border: 0; }
.prose h2:hover .heading-anchor, .prose h3:hover .heading-anchor { opacity: 1; }

/* Tags / pills */
.post-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green); background: var(--green-soft);
  border: 1px solid var(--green-line);
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.post-meta { color: var(--text-faint); font-size: 0.95rem; margin-top: 0; }

/* Blog list */
.post-list { display: grid; gap: 1rem; margin-top: 2rem; }
.post-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: all 0.2s var(--ease);
  color: var(--text);
}
.post-card:hover {
  border-color: var(--green-line);
  background: var(--surface-2);
  color: var(--text);
  transform: translateY(-2px);
}
.post-card h3 { margin: 0.5rem 0 0.5rem; font-size: 1.2rem; }
.post-card .post-meta { font-size: 0.85rem; margin: 0 0 0.4rem; color: var(--text-faint); font-family: var(--font-mono); }
.post-card .excerpt { color: var(--text-muted); margin: 0.5rem 0 0; font-size: 0.97rem; }

/* ============================================================
   City landing page (Standorte detail) — long-form local SEO
   ============================================================ */
.city-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1rem, 2vw, 1.5rem);
  position: relative; overflow: hidden;
}
.city-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative; z-index: 1;
}
.city-hero-copy { max-width: 720px; }
.city-hero-copy p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.city-hero-side { display: flex; flex-direction: column; gap: 1.5rem; }
.city-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.city-trust-item {
  display: flex; flex-direction: column;
  padding: 0.5rem 0;
}
.city-trust-item strong {
  font-size: 1.6rem; font-weight: 800; line-height: 1;
  color: var(--green); letter-spacing: -0.02em;
}
.city-trust-item span {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem;
  line-height: 1.35;
}
.city-meta-list {
  list-style: none; padding: 1rem 1.25rem; margin: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.9rem; color: var(--text-muted);
}
.city-meta-list strong { color: var(--text); margin-right: 0.4rem; }

@media (max-width: 880px) {
  .city-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .city-hero-side { order: 2; }
}

/* Value cards (6-card "Wie wir arbeiten") */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: all 0.2s var(--ease);
}
.value-card:hover {
  border-color: var(--green-line);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.value-card--anti { border-style: dashed; }
.value-card--anti .value-icon { color: var(--text-faint); background: var(--bg-2); border-color: var(--border-strong); }
.value-card--anti:hover { border-color: var(--text-faint); border-style: solid; }
.value-icon {
  width: 44px; height: 44px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  color: var(--green);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* Benefits 3-card row (inside prose) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
}
.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem;
}
.benefit h3 { font-size: 1.05rem; margin: 0 0 0.4rem; color: var(--text); }
.benefit p { color: var(--text-muted); font-size: 0.92rem; margin: 0; line-height: 1.55; }

/* Services checklist (OnPage / OffPage / Strategy) */
.services-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}
.services-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
}
.services-block h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  margin: 0 0 1rem;
}
.services-block ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.services-block li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.services-block li::before {
  content: ""; position: absolute; left: 0; top: 0.4em;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%231fe079' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7L6 11 12 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

/* Process steps (4-step roadmap) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.process-step:hover { border-color: var(--green-line); transform: translateY(-2px); }
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem; font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 999px;
}
.process-step h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.process-step p { color: var(--text-muted); margin: 0; font-size: 0.94rem; line-height: 1.55; }

/* Other cities grid (cross-link) */
.other-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 3rem;
}
.other-city-card {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all 0.2s var(--ease);
}
.other-city-card:hover {
  border-color: var(--green-line);
  background: var(--surface-2);
  color: var(--text);
  transform: translateY(-2px);
}
.other-city-card h3 {
  font-size: 1.1rem; margin: 0;
  color: var(--text);
}
.other-city-slogan {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  font-style: italic;
}
.other-city-card .more {
  margin-top: 0.4rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--green);
}

/* Suppress prose-specific spacing inside `.not-prose` blocks */
.prose .not-prose h3,
.prose .not-prose h4 { margin-top: 0; }
.prose .not-prose ul { padding-left: 0; margin-bottom: 0; }
.prose .not-prose li::marker { color: transparent; }
.city-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 350px at 80% 20%, rgba(31, 224, 121, 0.1), transparent 65%);
  pointer-events: none;
}
.city-meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  font-size: 0.9rem; color: var(--text-muted); margin: 1.5rem 0 0;
}
.city-meta strong { color: var(--text); margin-right: 0.4rem; }

/* Footer */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--green); margin: 0 0 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a:not(.btn) {
  color: var(--text-muted); font-size: 0.92rem;
  word-break: break-word;
}
.footer-col a:not(.btn):hover { color: var(--green); }
.footer-cta .btn-primary,
.footer-cta .btn-primary:hover { color: #001a09; }
.footer-cta .btn { white-space: normal; text-align: center; }
.footer-blurb { color: var(--text-muted); font-size: 0.92rem; margin: 1rem 0 1.25rem; max-width: 320px; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.18s var(--ease);
}
.footer-social a:hover {
  color: var(--green);
  border-color: var(--green-line);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.footer-cta { margin-top: 1rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  font-size: 0.85rem; color: var(--text-faint);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom p { margin: 0; }
.footer-meta { word-break: break-word; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer { padding: 2.5rem 0 1.25rem; margin-top: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-blurb { max-width: none; }
  .footer-bottom {
    flex-direction: column; align-items: flex-start;
    margin-top: 2rem;
  }
  .footer-bottom p { font-size: 0.8rem; line-height: 1.5; }
  .footer-cta .btn { width: 100%; }
}

/* ============================================================
   Blog post layout (sidebar with TOC + share + CTA)
   ============================================================ */
.post-container { padding: clamp(2.5rem, 5vw, 4rem) 1.5rem clamp(3rem, 5vw, 5rem); }
.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 4rem;
}
.post-content { min-width: 0; max-width: 720px; }
.post-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.post-hero .post-tags { margin-bottom: 1.25rem; }
.post-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--text);
}
.post-meta { margin: 0; color: var(--text-faint); font-size: 0.95rem; }

.post-content .prose { font-size: 1.05rem; line-height: 1.75; }
.post-content .prose > :first-child { margin-top: 0; }
.post-content .prose h2 {
  font-size: 1.55rem; margin-top: 2.75rem; margin-bottom: 1rem;
  scroll-margin-top: 90px;
}
.post-content .prose h3 { scroll-margin-top: 90px; }

.post-sidebar { position: relative; align-self: stretch; }
.post-sidebar-inner {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 1.75rem;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.post-sidebar-inner::-webkit-scrollbar { width: 4px; }
.post-sidebar-inner::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.post-sidebar-inner::-webkit-scrollbar-track { background: transparent; }

.sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin: 0 0 0.85rem;
}

/* Share icons */
.share-block { padding-bottom: 0.25rem; }
.share-icons { display: flex; gap: 0.5rem; }
.share-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all 0.18s var(--ease);
}
.share-icon:hover {
  color: var(--green);
  border-color: var(--green-line);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.share-copy {
  font-family: inherit;
  padding: 0;
}
.share-copy-toast {
  position: absolute; top: -32px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #001a09; padding: 0.25rem 0.6rem;
  border-radius: 6px; font-size: 0.72rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease);
  white-space: nowrap;
}
.share-copy.is-copied .share-copy-toast { opacity: 1; }

/* Table of contents */
.toc-block { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.toc {
  list-style: none; padding: 0; margin: 0;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0;
}
.toc li { margin: 0; padding: 0; }
.toc-empty {
  padding-left: 1rem; color: var(--text-faint); font-size: 0.85rem; font-style: italic;
}
.toc-link {
  display: block;
  padding: 0.55rem 0 0.55rem 1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.toc-link:hover {
  color: var(--text);
}
.toc-link.is-active {
  color: var(--green);
  border-left-color: var(--green);
  font-weight: 600;
}

/* Sidebar CTA card */
.sidebar-cta {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(180px 100px at 100% 0%, rgba(31, 224, 121, 0.12), transparent 70%);
  pointer-events: none;
}
.sidebar-cta h4 {
  font-size: 0.97rem; margin: 0 0 0.4rem;
  color: var(--text); position: relative;
}
.sidebar-cta p {
  font-size: 0.86rem; color: var(--text-muted); margin: 0 0 0.9rem;
  line-height: 1.5; position: relative;
}
.sidebar-cta .btn { position: relative; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Mobile: stack sidebar below content */
@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-sidebar-inner {
    position: static; max-height: none; overflow: visible;
    flex-direction: column; gap: 1.5rem;
  }
  .toc { max-height: none; }
}

/* ============================================================
   Mobile sticky WhatsApp CTA bar
   ============================================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #25D366; color: #ffffff !important;
  padding: 0.95rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.97rem;
  z-index: 60;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.08) inset;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  border-bottom: 0;
}
.mobile-sticky-cta:hover { background: #20bd5a; color: #ffffff !important; }
.mobile-sticky-cta svg { flex-shrink: 0; }

@media (max-width: 768px) {
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
  .site-footer { margin-bottom: 0; }
}

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