/* ============================================================
   vexpage — KI-Webagentur · Theme "Neon Noir"
   Dunkles Violett-Schwarz mit Magenta-Pink-Akzenten
   ============================================================ */

/* ===== Fonts (Variable Fonts, lokal) ===== */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/unbounded.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans.woff2') format('woff2');
}

/* ===== Design Tokens ===== */
:root {
  --ground: #0B0A10;
  --ground-2: #0F0D16;
  --surface: #151220;
  --surface-2: #1C1729;
  --line: rgba(255, 163, 201, 0.12);
  --line-strong: rgba(255, 163, 201, 0.25);
  --text: #EDEBF2;
  --text-muted: #A49EB5;
  --pink: #FF3D8A;
  --pink-soft: #FFA3C9;
  --pink-deep: #C4256A;
  --pink-hover: #FF5C9C;
  --on-pink: #1A050E;
  --glow: rgba(255, 61, 138, 0.14);
  --nav-bg: rgba(11, 10, 16, 0.82);
  --placeholder: #6B6580;
  --error: #FF7A7A;
  --shadow-strong: rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

/* ===== Light-Variante "Neon Noir – Day" ===== */
:root[data-theme="light"] {
  --ground: #FBF8FC;
  --ground-2: #F4EFF6;
  --surface: #FFFFFF;
  --surface-2: #F3EAF2;
  --line: rgba(176, 26, 87, 0.14);
  --line-strong: rgba(176, 26, 87, 0.28);
  --text: #241B2C;
  --text-muted: #6E6478;
  --pink: #D91C6B;
  --pink-soft: #A9145A;
  --pink-deep: #8F0F4B;
  --pink-hover: #C0175D;
  --on-pink: #FFFFFF;
  --glow: rgba(217, 28, 107, 0.14);
  --nav-bg: rgba(251, 248, 252, 0.85);
  --placeholder: #A195AC;
  --error: #C62828;
  --shadow-strong: rgba(41, 16, 32, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--on-pink); }

a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

:is(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Typografie ===== */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink-soft);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--pink); border-radius: 2px; }

.section { padding: 96px 0; }
.section-alt { background: var(--ground-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 56px; display: grid; gap: 16px; }
.section-head p { color: var(--text-muted); }

.accent { color: var(--pink); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  cursor: pointer; min-height: 48px; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--pink); color: var(--on-pink);
  box-shadow: 0 0 0 rgba(255, 61, 138, 0);
}
.btn-primary:hover { background: var(--pink-hover); box-shadow: 0 8px 32px var(--glow); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink-soft); }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center;
  height: 68px; gap: 40px;
}
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-decoration: none; letter-spacing: -0.02em; flex-shrink: 0;
}
.logo .dot { color: var(--pink); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--pink-soft); }
.nav .btn { padding: 10px 20px; min-height: 42px; font-size: 0.88rem; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text);
}

/* ===== Sprach-Toggle ===== */
.lang-toggle {
  background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: 0.78rem; font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, transform 180ms ease;
}
.lang-toggle:hover { color: var(--pink); border-color: var(--pink); }
.lang-toggle:active { transform: scale(0.92); }

/* ===== Theme-Toggle ===== */
.theme-toggle {
  background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 160ms ease, border-color 160ms ease, transform 180ms ease;
}
.theme-toggle:hover { color: var(--pink); border-color: var(--pink); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ===== Hero ===== */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -220px; right: -180px; width: 640px; height: 640px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
  position: relative;
}
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy .lead { font-size: 1.15rem; color: var(--text-muted); max-width: 32em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.hero-trust svg { flex-shrink: 0; }

/* Browser-Mockup: Website, die sich "generiert" */
.mockup {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 24px 80px var(--shadow-strong), 0 0 60px var(--glow);
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mockup-bar i:first-child { background: var(--pink); }
.mockup-url {
  margin-left: 8px; font-size: 0.72rem; color: var(--text-muted);
  background: var(--ground); padding: 4px 14px; border-radius: 999px;
}
.mockup-body { padding: 22px; display: grid; gap: 14px; }
.blk { border-radius: 8px; background: var(--surface-2); opacity: 0; animation: blk-in 500ms ease-out forwards; }
.blk-hero { height: 84px; background: linear-gradient(120deg, var(--surface-2), rgba(255, 61, 138, 0.22)); animation-delay: 300ms; }
.blk-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.blk-row .blk { height: 56px; }
.blk-row .blk:nth-child(1) { animation-delay: 700ms; }
.blk-row .blk:nth-child(2) { animation-delay: 850ms; }
.blk-row .blk:nth-child(3) { animation-delay: 1000ms; }
.blk-text { height: 12px; width: 70%; animation-delay: 1200ms; }
.blk-text2 { height: 12px; width: 45%; animation-delay: 1350ms; }
.blk-cta { height: 38px; width: 40%; background: var(--pink); opacity: 0; animation-delay: 1550ms; border-radius: 999px; }
@keyframes blk-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mockup-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; color: var(--pink-soft);
  padding: 6px 0 0;
}
.mockup-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--pink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== Stats ===== */
.stats { border-block: 1px solid var(--line); background: var(--ground-2); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0;
}
.stat { display: grid; gap: 4px; }
.stat b {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700;
  color: var(--pink); font-variant-numeric: tabular-nums;
}
.stat span { font-size: 0.88rem; color: var(--text-muted); }

/* ===== Leistungen ===== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: grid; gap: 14px; align-content: start;
  transition: border-color 200ms ease, transform 200ms ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 61, 138, 0.12); color: var(--pink);
}
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Prozess ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start;
}
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--pink); letter-spacing: 0.08em;
}
.step p { color: var(--text-muted); font-size: 0.92rem; }
.step-time {
  font-size: 0.78rem; font-weight: 600; color: var(--pink-soft);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 12px; justify-self: start;
}

/* ===== Vergleich ===== */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child :is(td, th) { border-bottom: none; }
.compare thead th { font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; }
.compare thead th:last-child { color: var(--pink); }
.compare tbody th { font-weight: 500; color: var(--text-muted); font-size: 0.92rem; }
.compare td { font-size: 0.95rem; }
.compare td:last-child { color: var(--pink-soft); font-weight: 600; background: rgba(255, 61, 138, 0.05); }

/* ===== Portfolio ===== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); transition: border-color 200ms ease, transform 200ms ease;
  text-decoration: none; display: block;
}
.work:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.work-preview { aspect-ratio: 4 / 3; padding: 20px; display: grid; gap: 10px; align-content: start; }
.work-preview-img { padding: 0; overflow: hidden; }
.work-preview-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-a { background: linear-gradient(150deg, #241A2E, #17131F); }
.wp-b { background: linear-gradient(150deg, #1A1E2E, #131520); }
.wp-c { background: linear-gradient(150deg, #2E1A24, #1F1318); }
.wl { border-radius: 6px; background: rgba(255, 255, 255, 0.09); }
.wl-nav { height: 10px; width: 100%; display: flex; justify-content: space-between; background: none; }
.wl-nav::before { content: ""; width: 28%; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.wl-nav::after { content: ""; width: 18%; border-radius: 6px; background: var(--pink); opacity: 0.75; }
.wl-h { height: 26px; width: 75%; }
.wl-t { height: 9px; width: 55%; }
.wl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.wl-cards i { height: 44px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }
.work-meta { padding: 18px 22px 22px; display: grid; gap: 4px; }
.work-meta b { font-size: 0.98rem; }
.work-meta span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; display: grid; gap: 18px; align-content: space-between;
}
.quote blockquote { font-size: 0.98rem; color: var(--text); }
.quote blockquote::before { content: "\201E"; color: var(--pink); font-family: var(--font-display); font-size: 1.4rem; line-height: 0; margin-right: 2px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255, 61, 138, 0.15); color: var(--pink-soft);
  font-weight: 600; font-size: 0.85rem;
}
.quote-who div { display: grid; }
.quote-who b { font-size: 0.9rem; }
.quote-who span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== Preise ===== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 22px; position: relative;
}
.price-hot { border-color: var(--pink); box-shadow: 0 12px 48px var(--glow); }
.price-badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--pink); color: var(--on-pink); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.price-head { display: grid; gap: 6px; }
.price-head h3 { font-size: 0.95rem; color: var(--pink-soft); }
.price-tag { font-family: var(--font-display); font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-tag small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); font-family: var(--font-body); }
.price-head p { font-size: 0.88rem; color: var(--text-muted); }
.price ul { list-style: none; display: grid; gap: 11px; }
.price li { display: flex; gap: 10px; align-items: baseline; font-size: 0.92rem; color: var(--text-muted); }
.price li::before { content: "✓"; color: var(--pink); font-weight: 700; flex-shrink: 0; }
.price .btn { margin-top: auto; }

/* ===== Preise: Slider (ab 4 Paketen) ===== */
.pricing-wrap-slider { display: flex; align-items: center; gap: 12px; }
.pricing-slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px;
  scrollbar-width: none; padding: 4px 2px;
}
.pricing-slider::-webkit-scrollbar { display: none; }
.pricing-slider > .price { scroll-snap-align: start; flex: 0 0 min(340px, 82vw); }
.pricing-nav {
  background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, transform 180ms ease, opacity 160ms ease;
}
.pricing-nav:hover { color: var(--pink); border-color: var(--pink); }
.pricing-nav:active { transform: scale(0.92); }
.pricing-nav[disabled] { opacity: 0.35; cursor: default; }
.pricing-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pricing-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); border: 0; padding: 0;
  cursor: pointer; transition: background 160ms ease, transform 160ms ease;
}
.pricing-dot.active { background: var(--pink); transform: scale(1.25); }
@media (max-width: 900px) {
  .pricing-nav { display: none; }
}

/* ===== Wartungsabo (Add-on) ===== */
.addon {
  margin-top: 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 34px;
  display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 28px; align-items: center;
}
.addon-info { display: grid; gap: 6px; }
.addon-info h3 { font-size: 0.95rem; color: var(--pink-soft); }
.addon-info p { font-size: 0.88rem; color: var(--text-muted); }
.addon-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.addon-features li { display: flex; gap: 10px; align-items: baseline; font-size: 0.92rem; color: var(--text-muted); }
.addon-features li::before { content: "✓"; color: var(--pink); font-weight: 700; flex-shrink: 0; }
.addon-price { display: grid; gap: 12px; justify-items: start; }
.addon-price .price-tag { font-size: 1.6rem; }
.addon-price .hint { font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 900px) {
  .addon { grid-template-columns: 1fr; gap: 22px; }
  .addon-features { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq { max-width: 760px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  padding: 20px 24px; font-weight: 600; font-size: 0.98rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none; transition: color 160ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); color: var(--pink);
  font-size: 1.1rem; transition: transform 200ms ease; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--pink-soft); }
.faq details p { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.95rem; }

/* ===== Kontakt ===== */
.contact-section { background: var(--ground-2); border-top: 1px solid var(--line); }
.contact-cta {
  display: grid; justify-items: center; text-align: center; gap: 26px;
  max-width: 680px; margin: 0 auto;
}
.contact-cta p { color: var(--text-muted); }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.contact-lines {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px;
  margin-top: 10px; padding-top: 28px; border-top: 1px solid var(--line);
  width: 100%;
}
.contact-line { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; }
.contact-line svg { color: var(--pink); flex-shrink: 0; }

/* ===== Kontakt-Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(5, 3, 9, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); color: var(--text);
  width: min(560px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto;
  box-shadow: 0 32px 90px var(--shadow-strong), 0 0 60px var(--glow);
  animation: modal-in 220ms ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.modal-inner { padding: 32px; display: grid; gap: 20px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head p { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
.modal-close {
  background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 160ms ease, border-color 160ms ease;
}
.modal-close:hover { color: var(--pink); border-color: var(--pink); }
.modal-box .form { background: none; border: none; padding: 0; border-radius: 0; }

/* ===== Termin-Auswahl (Chips) ===== */
.slots { display: grid; gap: 10px; }
.slot-label { font-size: 0.85rem; font-weight: 600; }
.slot-label em { color: var(--pink); font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--ground); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 16px; color: var(--text); font-size: 0.9rem; font-weight: 500;
  min-height: 44px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.chip:hover { border-color: var(--pink); color: var(--pink-soft); }
.chip.sel { background: var(--pink); border-color: var(--pink); color: var(--on-pink); font-weight: 600; }
.chip.sel:hover { color: var(--on-pink); }
.form {
  display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px;
}
/* Honeypot: für Menschen unsichtbar, für simple Bots weiterhin ausfüllbar */
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field label em { color: var(--pink); font-style: normal; }
.field :is(input, textarea) {
  background: var(--ground); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 16px; color: var(--text); font: inherit; font-size: 0.95rem; width: 100%;
  transition: border-color 160ms ease; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field :is(input, textarea):focus { border-color: var(--pink); outline: none; }
.field :is(input, textarea)::placeholder { color: var(--placeholder); }
.field .hint { font-size: 0.8rem; color: var(--text-muted); }
.form-success {
  display: flex; align-items: center; gap: 10px;
  color: var(--pink-soft); font-weight: 600; font-size: 0.95rem;
}
.form-error {
  display: flex; align-items: center; gap: 10px;
  color: var(--error); font-weight: 600; font-size: 0.9rem;
}

/* ===== Rechtstexte (Impressum, Datenschutz, AGB) ===== */
.legal-hero { padding: 156px 0 40px; }
.legal-hero h1 { margin-bottom: 8px; }
.legal-hero .lead { color: var(--text-muted); max-width: 640px; }
.legal { padding: 16px 0 96px; }

.legal-note {
  margin: 0 0 32px; padding: 14px 18px;
  background: var(--glow); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 0.85rem; color: var(--pink-soft); display: flex; gap: 10px; align-items: flex-start;
}
.legal-note svg { flex: 0 0 auto; margin-top: 2px; }

/* Layout: sticky Inhaltsverzeichnis + Textkarte */
.legal-layout { display: grid; grid-template-columns: 220px 1fr; align-items: start; gap: 48px; }
.legal-toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.legal-toc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--placeholder); margin-bottom: 8px; }
.legal-toc a {
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px;
  font-size: 0.86rem; color: var(--text-muted); text-decoration: none; line-height: 1.35;
  border-left: 2px solid transparent; transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.legal-toc a span { color: var(--placeholder); font-family: var(--font-display); font-size: 0.72rem; flex: 0 0 auto; }
.legal-toc a:hover { color: var(--text); background: var(--surface-2); }
.legal-toc a.is-active { color: var(--pink-soft); border-left-color: var(--pink); background: var(--glow); }

.legal-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px);
}
.legal-section { padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: none; padding-bottom: 0; }
.legal-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.legal-num {
  flex: 0 0 auto; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--pink-soft); font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
}
.legal-section h2 { font-size: 1.1rem; margin: 0; }
.legal-box h3 { font-size: 0.95rem; font-weight: 700; margin: 20px 0 8px; }
.legal-box p { margin-bottom: 14px; color: var(--text-muted); }
.legal-box p:last-child { margin-bottom: 0; }
.legal-box p strong, .legal-box li strong, .legal-box dd strong { color: var(--text); }
.legal-box ul, .legal-box ol { margin: 0 0 14px; padding-left: 22px; color: var(--text-muted); display: grid; gap: 6px; }
.legal-box a { color: var(--pink-soft); text-decoration: underline; text-underline-offset: 2px; }
.legal-box a:hover { color: var(--pink); }

/* Tabellen, die über den Rich-Text-Editor im Admincenter eingefügt wurden */
.legal-box table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 0.92rem; }
.legal-box th, .legal-box td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.legal-box thead th { background: var(--surface-2); color: var(--text); font-weight: 700; }

/* Impressum-Datenblock als Definitionsliste */
.legal-info { display: grid; grid-template-columns: 160px 1fr; gap: 12px 20px; }
.legal-info dt { color: var(--placeholder); font-size: 0.85rem; padding-top: 1px; }
.legal-info dd { color: var(--text); }

.legal-contact {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 36px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line-strong);
}
.legal-contact-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glow); color: var(--pink);
}
.legal-contact-text { flex: 1 1 220px; display: grid; gap: 2px; }
.legal-contact-text b { font-size: 0.95rem; }
.legal-contact-text span { font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; display: none; }
}

/* ===== Footer ===== */
footer { border-top: 1px solid var(--line); background: var(--ground-2); padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner p { font-size: 0.85rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 160ms ease; }
.footer-links a:hover { color: var(--pink-soft); }
.footer-social { display: flex; gap: 12px; list-style: none; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-muted);
  transition: color 160ms ease, border-color 160ms ease;
}
.footer-social a:hover { color: var(--pink-soft); border-color: var(--pink); }
.footer-social svg { width: 16px; height: 16px; }

/* ===== Back-to-Top ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: var(--pink);
  color: var(--on-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px var(--glow);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.to-top.show { visibility: visible; opacity: 1; transform: none; }
.to-top:hover { background: var(--pink-hover); }
.to-top:active { transform: scale(0.92); }
@media (max-width: 640px) {
  .to-top { right: 16px; bottom: 16px; }
}

/* ===== Cookie-Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px var(--shadow-strong);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.cookie-banner-inner a { color: var(--pink-soft); }
.cookie-banner-actions { flex-shrink: 0; }
@media (max-width: 640px) {
  .cookie-banner-inner { padding: 16px 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { width: 100%; }
}

/* ===== Scroll-Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards, .quotes, .pricing, .work-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { padding: 72px 0 64px; }
  .cards, .quotes, .pricing, .steps, .work-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground-2); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-burger { display: flex; }
  .nav-cta-desktop { display: none; }
}
