/* ==========================================================================
   24/7 Handwerk – Landingpage
   Design-Basis: ui-ux-pro-max Skill (Palette "B2B Service", Pairing
   "Corporate Trust"), taste-skill (Anti-Slop-Prinzipien: echte Inhalte,
   keine Fake-Elemente, ruhige, hochwertige Mikro-Interaktionen).
   Schriften: System-Font-Stack statt Google Fonts CDN (DSGVO: keine
   IP-Übertragung an Dritte, zusätzlich 0 Byte Font-Download = schnellere
   Ladezeit). Siehe OFFENE-PUNKTE.md falls später ein self-hosted
   Webfont (z. B. Lexend/Source Sans als .woff2) ergänzt werden soll.
   ========================================================================== */

:root {
  /* Farben – Palette "B2B Service / Trust & Authority" */
  --color-navy-950: #0b1220;
  --color-navy-900: #0f172a;
  --color-navy-800: #1e293b;
  --color-navy-700: #334155;
  --color-blue-600: #0369a1;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;
  --color-green-600: #059669;
  --color-red-600: #dc2626;

  --color-bg: #f8fafc;
  --color-bg-alt: #eef2f7;
  --color-card: #ffffff;
  --color-card-border: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-on-dark: #f1f5f9;
  --color-text-on-dark-muted: #94a3b8;

  --font-heading: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);

  --container-max: 1180px;
  --space-section: clamp(3.5rem, 7vw, 7rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
}

/* ---------- Reset & Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-blue-600);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy-900);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

section {
  padding-block: var(--space-section);
}

.section-head {
  max-width: 700px;
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue-600);
  margin-bottom: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-amber-500);
  border-radius: 2px;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-navy-900);
  color: #fff;
  padding: 0.85em 1.2em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--color-navy-900);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius-sm);
  padding: 0.95em 1.6em;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  line-height: 1.2;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-accent {
  --btn-bg: var(--color-amber-500);
  --btn-fg: var(--color-navy-950);
  border-color: var(--color-amber-500);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  --btn-bg: var(--color-amber-600);
  border-color: var(--color-amber-600);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-navy-900);
  border-color: var(--color-card-border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  --btn-bg: var(--color-bg-alt);
  border-color: var(--color-navy-700);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 1.1em 1.9em;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-card-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-navy-900);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--color-navy-900), var(--color-blue-600));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg { width: 18px; height: 18px; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy-900);
  text-decoration: none;
  padding: 0.5em 0.7em;
  border-radius: var(--radius-sm);
}

.phone-chip:hover { background: var(--color-bg-alt); }
.phone-chip svg { width: 18px; height: 18px; color: var(--color-green-600); flex-shrink: 0; }

@media (max-width: 560px) {
  .phone-chip .phone-chip-text { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(600px 320px at 20% 10%, rgba(3, 105, 161, 0.16), transparent 60%),
    radial-gradient(520px 320px at 85% 0%, rgba(245, 158, 11, 0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; max-width: 380px; margin-inline: auto; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: 999px;
  padding: 0.45em 0.9em;
}

.trust-badge svg { width: 15px; height: 15px; color: var(--color-green-600); flex-shrink: 0; }

.hero h1 { margin-bottom: 0.5em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.tel-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15em;
  background: var(--color-navy-900);
  color: #fff;
  text-decoration: none;
  padding: 1em 1.6em;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.tel-cta:hover,
.tel-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.tel-cta .tel-cta-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tel-cta .tel-cta-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.tel-cta .tel-cta-number svg { width: 22px; height: 22px; color: var(--color-amber-500); }

/* --- 3D Telefon-Visual (reines CSS, kein JS/Framework) --- */
.hero-visual {
  perspective: 1400px;
}

.phone-3d {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(6deg);
  transition: transform 500ms var(--ease-out);
  width: min(320px, 100%);
  margin-inline: auto;
}

.hero-visual:hover .phone-3d {
  transform: rotateY(-8deg) rotateX(3deg);
}

.phone-3d-body {
  position: relative;
  background: linear-gradient(155deg, var(--color-navy-800), var(--color-navy-950));
  border-radius: 34px;
  padding: 14px;
  box-shadow:
    0 30px 60px -20px rgba(15, 23, 42, 0.45),
    0 10px 20px -8px rgba(15, 23, 42, 0.3);
}

.phone-3d-screen {
  background: linear-gradient(175deg, #0e1a2e, #0a1220);
  border-radius: 22px;
  padding: 1.6rem 1.25rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-text-on-dark);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--color-text-on-dark-muted);
  font-weight: 600;
}

.call-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-block: 1.25rem;
}

.call-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-blue-600), var(--color-navy-800));
  display: grid;
  place-items: center;
}

.call-avatar svg { width: 26px; height: 26px; color: #fff; }

.call-card .call-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.15rem; }
.call-card .call-sub { font-size: 0.78rem; color: var(--color-text-on-dark-muted); margin-bottom: 0; }

.waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 28px;
  margin-top: 0.9rem;
}

.waveform span {
  width: 3px;
  border-radius: 2px;
  background: var(--color-amber-500);
  animation: wave 1.1s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 40%; animation-delay: 0ms; }
.waveform span:nth-child(2) { height: 70%; animation-delay: 90ms; }
.waveform span:nth-child(3) { height: 100%; animation-delay: 180ms; }
.waveform span:nth-child(4) { height: 55%; animation-delay: 270ms; }
.waveform span:nth-child(5) { height: 80%; animation-delay: 360ms; }
.waveform span:nth-child(6) { height: 35%; animation-delay: 450ms; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .waveform span { animation: none; }
}

.phone-actions {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

.phone-actions .fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.fab.decline { background: var(--color-red-600); }
.fab.accept { background: var(--color-green-600); }
.fab svg { width: 18px; height: 18px; color: #fff; }

.phone-3d-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: var(--color-navy-950);
  border-radius: 12px;
}

.float-chip {
  position: absolute;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transform: translateZ(60px);
}

.float-chip svg { width: 16px; height: 16px; color: var(--color-green-600); flex-shrink: 0; }

.float-chip.chip-top { top: -14px; right: -18px; color: var(--color-navy-900); }
.float-chip.chip-bottom { bottom: 30px; left: -30px; color: var(--color-navy-900); }

@media (max-width: 900px) {
  .float-chip.chip-bottom { left: -6px; }
  .float-chip.chip-top { right: -6px; }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-group .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-group .reveal:nth-child(4) { transition-delay: 240ms; }

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Problem Section ---------- */
.problem {
  background: var(--color-navy-900);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(3, 105, 161, 0.35), transparent 60%);
  pointer-events: none;
}

.problem .container { position: relative; }

.problem .eyebrow { color: var(--color-amber-500); }
.problem h2 { color: #fff; }
.problem .lead { color: var(--color-text-on-dark-muted); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--color-amber-500);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card .stat-label {
  color: var(--color-text-on-dark-muted);
  font-size: 0.92rem;
  margin: 0;
}

.stat-source {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--color-text-on-dark-muted);
}

/* ---------- Solution / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--color-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  counter-increment: step;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-navy-900);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.step-number::before {
  content: counter(step);
}

.step-card p:last-child { margin-bottom: 0; color: var(--color-text-muted); }

/* ---------- ROI Rechner ---------- */
.roi {
  background: var(--color-bg-alt);
}

.roi-panel {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 860px) {
  .roi-panel { grid-template-columns: 1fr; }
}

.roi-inputs {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-right: 1px solid var(--color-card-border);
}

@media (max-width: 860px) {
  .roi-inputs { border-right: none; border-bottom: 1px solid var(--color-card-border); }
}

.roi-field {
  margin-bottom: 1.85rem;
}

.roi-field:last-child { margin-bottom: 0; }

.roi-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy-900);
  margin-bottom: 0.6rem;
}

.roi-field output,
.roi-value-pill {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-blue-600);
  font-size: 1rem;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--color-card-border);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-navy-900);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  margin-top: -9px;
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-navy-900);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--color-card-border);
}

.roi-field select {
  width: 100%;
  font: inherit;
  font-weight: 600;
  padding: 0.75em 0.9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-card-border);
  background: #fff;
  color: var(--color-text);
}

.roi-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.roi-results {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: linear-gradient(175deg, var(--color-navy-900), var(--color-navy-950));
  color: var(--color-text-on-dark);
  display: flex;
  flex-direction: column;
}

.roi-result-block {
  margin-bottom: 1.5rem;
}

.roi-result-block .roi-result-label {
  font-size: 0.82rem;
  color: var(--color-text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.roi-result-block .roi-result-number {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.roi-result-number.negative { color: var(--color-red-600); }
.roi-result-number.positive { color: var(--color-green-600); }
.roi-result-number.neutral { color: var(--color-amber-500); }

.roi-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-block: 1.25rem;
}

.roi-formula {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-text-on-dark-muted);
}

.roi-formula strong { color: var(--color-text-on-dark); }

.roi-formula code {
  display: block;
  margin-top: 0.5rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--color-amber-500);
  word-break: break-word;
}

.roi-disclaimer {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.76rem;
  color: var(--color-text-on-dark-muted);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--color-navy-900);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 1.75rem;
  background: var(--color-amber-500);
  color: var(--color-navy-950);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35em 0.8em;
  border-radius: 999px;
}

.price-card h3 { margin-bottom: 0.3rem; }

.price-tagline {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.price-amount {
  font-family: var(--font-heading);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.price-amount .num { font-size: 2.4rem; font-weight: 800; color: var(--color-navy-900); }
.price-amount .unit { color: var(--color-text-muted); font-weight: 600; font-size: 0.95rem; }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding-block: 0.45em;
  font-size: 0.94rem;
  color: var(--color-text);
  border-top: 1px solid var(--color-card-border);
}

.price-features li:first-child { border-top: none; }

.price-features svg {
  width: 17px;
  height: 17px;
  color: var(--color-green-600);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.setup-note {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-card-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.setup-note strong { color: var(--color-navy-900); }

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--color-card-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-card-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-navy-900);
  cursor: pointer;
}

.faq-question .icon-plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-question .icon-plus::before,
.faq-question .icon-plus::after {
  content: "";
  position: absolute;
  background: var(--color-navy-900);
  transition: transform var(--dur-fast) var(--ease-out);
  border-radius: 2px;
}

.faq-question .icon-plus::before { top: 50%; left: 0; width: 100%; height: 2.5px; transform: translateY(-50%); }
.faq-question .icon-plus::after { left: 50%; top: 0; height: 100%; width: 2.5px; transform: translateX(-50%); }

.faq-item[open] .icon-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  padding: 0 0.25rem 1.5rem;
  color: var(--color-text-muted);
}

.faq-answer p:last-child { margin-bottom: 0; }

/* details/summary native fallback styling */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }

/* ---------- Kontakt / Rückruf ---------- */
.contact {
  background: var(--color-navy-900);
  color: var(--color-text-on-dark);
}

.contact .eyebrow { color: var(--color-amber-500); }
.contact h2 { color: #fff; }
.contact .lead { color: var(--color-text-on-dark-muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.contact-info-list li {
  display: flex;
  gap: 0.85em;
  align-items: flex-start;
}

.contact-info-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-amber-500);
  flex-shrink: 0;
  margin-top: 0.15em;
}

.contact-info-list strong { display: block; color: #fff; }
.contact-info-list span { color: var(--color-text-on-dark-muted); font-size: 0.92rem; }

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  color: var(--color-text-on-dark);
}

.form-row .optional {
  font-weight: 500;
  color: var(--color-text-on-dark-muted);
  font-size: 0.8rem;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  font: inherit;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(241, 245, 249, 0.4);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-amber-500);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.form-row textarea { resize: vertical; min-height: 96px; }

.form-consent {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 1.5rem;
}

.form-consent input { margin-top: 0.25em; flex-shrink: 0; width: 18px; height: 18px; }
.form-consent a { color: var(--color-text-on-dark); }

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  display: none;
}

.form-status.visible { display: block; }
.form-status.success { background: rgba(5, 150, 105, 0.18); color: #a7f3d0; border: 1px solid rgba(5, 150, 105, 0.4); }
.form-status.error { background: rgba(220, 38, 38, 0.18); color: #fecaca; border: 1px solid rgba(220, 38, 38, 0.4); }

.form-tls-note {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--color-text-on-dark-muted);
}

.form-tls-note svg { width: 15px; height: 15px; flex-shrink: 0; }

noscript .form-note {
  display: block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-950);
  color: var(--color-text-on-dark-muted);
  padding-block: 2.5rem;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--color-text-on-dark-muted);
  text-decoration: none;
}

.footer-links a:hover { color: #fff; }

.footer-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  opacity: 0.75;
  max-width: 720px;
}

/* ---------- Cookie Consent Banner ---------- */
.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  background: var(--color-navy-950);
  color: var(--color-text-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(110%);
  transition: transform var(--dur-med) var(--ease-out);
}

.consent-banner.visible { transform: translateY(0); }

.consent-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.consent-text { flex: 1 1 380px; font-size: 0.88rem; color: var(--color-text-on-dark-muted); }
.consent-text strong { color: #fff; }
.consent-text a { color: var(--color-amber-500); }

.consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.consent-actions .btn-ghost {
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.consent-actions .btn-ghost:hover,
.consent-actions .btn-ghost:focus-visible {
  --btn-fg: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- Chatbot ---------- */
.chat-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-navy-900);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out);
}

.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher svg { width: 24px; height: 24px; }

.chat-window {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 900;
  width: min(360px, calc(100vw - 2.5rem));
  max-height: min(520px, calc(100vh - 8rem));
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-card-border);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.open { display: flex; }

.chat-header {
  background: var(--color-navy-900);
  color: #fff;
  padding: 1rem 1.1rem;
}

.chat-header strong { display: block; font-size: 0.95rem; }
.chat-header .chat-disclaimer {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-on-dark-muted);
  margin-top: 0.2rem;
}

.chat-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
}

.chat-header { position: relative; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.chat-msg {
  max-width: 88%;
  padding: 0.65em 0.85em;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-msg.bot {
  background: var(--color-bg-alt);
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--color-navy-900);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.1rem 0.9rem;
}

.chat-suggestion {
  font-size: 0.78rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 999px;
  padding: 0.4em 0.8em;
  cursor: pointer;
  color: var(--color-navy-900);
}

.chat-suggestion:hover { background: var(--color-bg-alt); }

.chat-footer {
  border-top: 1px solid var(--color-card-border);
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.chat-footer input {
  flex: 1;
  border: 1.5px solid var(--color-card-border);
  border-radius: 999px;
  padding: 0.6em 1em;
  font: inherit;
  font-size: 0.85rem;
}

.chat-footer button {
  background: var(--color-navy-900);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-footer button svg { width: 16px; height: 16px; }

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

.legal-page main {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2rem);
}

.legal-page h1 { margin-bottom: 1rem; }
.legal-page h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal-page .todo {
  background: #fff7ed;
  border: 1px dashed var(--color-amber-500);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  margin-block: 1rem;
}

.legal-page .todo strong { color: var(--color-amber-600); }
