/* ============================================================
   adsbird — automation boutique
   Design language: technical, dark, precise. Inspired by Linear, Vercel, Plain.
   ============================================================ */

:root {
  /* Palette — dark first */
  --bg:          #0a0c0d;
  --bg-1:        #11141a;
  --bg-2:        #1a1f27;
  --bg-3:        #232a35;
  --line:        rgba(255,255,255,0.08);
  --line-bright: rgba(255,255,255,0.16);
  --text:        #e8eaed;
  --text-soft:   #a8b0bb;
  --text-dim:    #6f7782;
  --accent:      #b7ff5a;          /* electric lime — signal */
  --accent-dim:  #84c83a;
  --warn:        #ffb84d;
  --danger:      #ff5d6e;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-display: "Instrument Serif", "Editorial New", "Cormorant Garamond", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 10px;
  --radius-lg: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01" 1, "cv11" 1;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ============================================================
   Type primitives
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.eyebrow-accent { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.96;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}
.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}
.h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}
.italic { font-family: var(--font-display); font-style: italic; }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 60ch;
}
.muted { color: var(--text-dim); }
p + p { margin-top: 1em; }

/* ============================================================
   Container & sections
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .lead { margin-top: 1rem; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3.keep-2, .grid-4.keep-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3.keep-2, .grid-4.keep-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
.btn-primary:hover {
  background: #c7ff7a;
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -12px rgba(183, 255, 90, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-bright);
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); background: var(--bg-1); }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translate(3px, -1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 500;
  color: var(--accent);
  font-size: 0.95rem;
}
.link-arrow .arrow { transition: transform 0.2s var(--ease-out); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Header / Nav (Skalator-style mega-dropdown)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 12, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.brand .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent);
  animation: brandPulse 2.4s ease-in-out infinite;
}
@keyframes brandPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.main-nav {
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.nav-link:hover { color: var(--text); background: var(--bg-1); }
.nav-link.has-dropdown::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
  margin-left: 0.1rem;
  opacity: 0.55;
  transition: transform 0.2s ease;
}
.nav-item:hover .nav-link.has-dropdown::after { transform: rotate(-135deg); margin-bottom: -3px; }

/* Mega dropdown */
.dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  background: var(--bg-1);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: none;
  width: max-content;
  min-width: 320px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
}
.dropdown-wide { min-width: 640px; }
.dropdown-mega { min-width: 920px; }
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }
.dropdown-grid { display: grid; gap: 1.5rem 2rem; }
.dropdown-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.dropdown-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.dropdown-group h5 {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.dropdown-group ul { display: flex; flex-direction: column; gap: 0.15rem; }
.dropdown-group a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: all 0.15s ease;
}
.dropdown-group a:hover { background: var(--bg-2); color: var(--text); }
.dropdown-group a strong { display: block; color: var(--text); font-weight: 500; font-size: 0.9rem; }
.dropdown-group a span { display: block; font-size: 0.78rem; color: var(--text-dim); margin-top: 0.1rem; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
}

@media (max-width: 1180px) {
  .main-nav, .header-cta .btn-text { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: 1.25rem var(--gutter) 3rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-io);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav { display: flex; flex-direction: column; padding: 1rem 0; }
.mobile-menu nav details { border-bottom: 1px solid var(--line); }
.mobile-menu nav summary {
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-display); font-size: 1.6rem;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.mobile-menu nav summary::-webkit-details-marker { display: none; }
.mobile-menu nav summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.5rem; color: var(--accent); }
.mobile-menu nav details[open] summary::after { content: "−"; }
.mobile-menu nav details ul { padding: 0 0 1rem 0.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.mobile-menu nav details ul a { color: var(--text-soft); font-size: 1rem; }
.mobile-menu nav > a {
  padding: 1rem 0;
  font-family: var(--font-display); font-size: 1.6rem;
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   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(ellipse at 20% 20%, rgba(183,255,90,0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 80%, rgba(183,255,90,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 18ch; margin: 1.5rem 0 1.75rem; }
.hero .lead { margin-bottom: 2.5rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Hero status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg-1);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}
.status-pill .pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.status-pill .pulse::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================================
   Stack proof-strip — endless marquee with brand-colored chips
   ============================================================ */
.proof-strip {
  position: relative;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  overflow: hidden;
  z-index: 1;
}
.proof-strip::before,
.proof-strip::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 140px; z-index: 3; pointer-events: none;
}
.proof-strip::before { left: 0;  background: linear-gradient(to right, var(--bg) 0%, transparent 100%); }
.proof-strip::after  { right: 0; background: linear-gradient(to left,  var(--bg) 0%, transparent 100%); }

.proof-label {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--bg);
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.proof-label .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  position: relative;
}
.proof-label .live::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: 50%; background: var(--accent);
  opacity: 0.4;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%   { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.proof-track {
  display: flex; align-items: center;
  width: max-content;
  gap: 1rem;
  animation: scrollX 38s linear infinite;
}
.proof-strip:hover .proof-track { animation-play-state: paused; }

.proof-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
  flex-shrink: 0;
}
.proof-chip:hover {
  color: var(--text);
  border-color: var(--line-bright);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}
.proof-chip .brand-dot {
  width: 9px; height: 9px;
  border-radius: 2px;                         /* leicht eckig — wirkt techig */
  box-shadow: 0 0 10px currentColor;
  flex-shrink: 0;
}
.proof-arrow {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  opacity: 0.4;
  flex-shrink: 0;
}

@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .proof-track { animation: none; }
}

/* ============================================================
   Card primitives
   ============================================================ */
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s var(--ease-out);
  display: flex; flex-direction: column; gap: 0.85rem;
  height: 100%;
}
.card:hover { border-color: var(--line-bright); transform: translateY(-2px); }
.card-link { cursor: pointer; }
.card-link:hover .card-arrow { color: var(--accent); transform: translateX(4px); }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--bg-2);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.card .icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.1rem; font-weight: 500; }
.card p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.55; }
.card .meta {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim);
}
.card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.85rem; }
.card .tags span {
  font-family: var(--font-mono); font-size: 0.7rem;
  background: var(--bg-2); color: var(--text-soft);
  padding: 0.3rem 0.55rem; border-radius: 4px;
}
.card .card-arrow {
  margin-top: auto; padding-top: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; color: var(--text-soft);
  transition: all 0.2s var(--ease-out);
}

/* Numbered service cards */
.card.numbered { padding-top: 3rem; position: relative; }
.card.numbered::before {
  content: attr(data-num);
  position: absolute; top: 1.25rem; left: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* ============================================================
   Stats / Metrics
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  background: var(--bg-1);
  padding: 1.75rem 1.5rem;
}
.stat-cell .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-cell .num .small { font-size: 0.55em; color: var(--text-dim); margin-left: 0.1em; }
.stat-cell .lbl {
  margin-top: 0.65rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim);
}

/* ============================================================
   Tool / Stack chips (für /stack page und proof)
   ============================================================ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stack-cell {
  background: var(--bg-1);
  padding: 1.5rem 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.55rem;
  text-align: center;
  min-height: 120px;
  transition: background 0.2s ease;
}
.stack-cell:hover { background: var(--bg-2); }
.stack-cell .name { font-weight: 500; font-size: 0.92rem; }
.stack-cell .role { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.08em; }
@media (max-width: 1100px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .stack-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Process / Steps
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-cell {
  background: var(--bg-1);
  padding: 2rem 1.75rem;
  position: relative;
}
.process-cell .step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.process-cell h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.5rem; }
.process-cell p { font-size: 0.9rem; color: var(--text-soft); }

/* ============================================================
   Editorial split
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
}

/* Code-style block (for premium / techie feel) */
.codeblock {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-soft);
  overflow-x: auto;
}
.codeblock .kw  { color: #c47dff; }
.codeblock .str { color: #b7ff5a; }
.codeblock .num { color: #ffb84d; }
.codeblock .com { color: var(--text-dim); }

/* ============================================================
   Big quote
   ============================================================ */
.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse at top right, rgba(183,255,90,0.08) 0%, transparent 60%),
    var(--bg-1);
  position: relative;
}
.quote .quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.25;
  font-weight: 400;
  max-width: 32ch;
}
.quote .attr {
  margin-top: 1.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim);
}

/* ============================================================
   FAQ (details/summary)
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--accent);
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .answer { padding-bottom: 1.4rem; color: var(--text-soft); max-width: 75ch; }

/* ============================================================
   CTA Band
   ============================================================ */
.cta-band {
  background:
    radial-gradient(ellipse at bottom left, rgba(183,255,90,0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { max-width: 18ch; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: clamp(4rem, 7vw, 5rem) 0 2rem;
  color: var(--text-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid ul a { font-size: 0.9rem; color: var(--text-soft); }
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand-block .brand { font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand-block p { max-width: 32ch; font-size: 0.9rem; color: var(--text-soft); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  font-size: 0.82rem; color: var(--text-dim);
}
.footer-bottom .legal-links { display: flex; gap: 1.25rem; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Page-hero (für sub-pages)
   ============================================================ */
.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(183,255,90,0.06) 0%, transparent 45%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 1rem; max-width: 20ch; }
.page-hero .lead { margin-top: 1.25rem; max-width: 60ch; }

/* ============================================================
   Prose (für service/branchen/legal pages)
   ============================================================ */
.prose { max-width: 75ch; }
.prose h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; margin: 2.5rem 0 1rem; letter-spacing: -0.015em; }
.prose h3 { font-size: 1.15rem; font-weight: 500; margin: 1.75rem 0 0.5rem; }
.prose p, .prose li { color: var(--text-soft); line-height: 1.7; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose ol { padding-left: 1.2rem; list-style: decimal; }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.prose a:hover { color: #c7ff7a; }
.prose strong { color: var(--text); }
.prose code {
  background: var(--bg-1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* Inline check list */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  color: var(--text);
}
.check-list li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  border-radius: 4px;
}
