/* ==========================================================================
   Feedcube Marketing Site
   ========================================================================== */

:root {
  --brand-indigo: #140180;
  --brand-blue: #1e3a8a;
  --brand-cyan: #22e5e6;
  --brand-cyan-2: #38bdf8;
  --ink: #0b1220;
  --ink-soft: #4b5768;
  --ink-faint: #7c8798;
  --bg: #ffffff;
  --bg-muted: #f6f8fb;
  --bg-dark: #0a0e27;
  --border: #e7ebf1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(10, 14, 39, .16);
  --container: 1180px;
  --gradient-brand: linear-gradient(120deg, var(--brand-indigo) 0%, #4b1fb8 35%, var(--brand-cyan-2) 75%, var(--brand-cyan) 100%);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--brand-cyan-2);
  outline-offset: 2px;
}

::selection { background: rgba(56, 189, 248, .25); }

/* Anker-Ziele nicht unter dem Sticky-Header verstecken */
main [id] { scroll-margin-top: 88px; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--brand-indigo);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(100deg, var(--brand-indigo), var(--brand-cyan-2) 60%, var(--brand-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-noise { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient-brand);
  background-size: 160% 100%;
  background-position: 0 0;
  color: #fff;
  box-shadow: 0 8px 20px rgba(56, 189, 248, .28);
  transition: transform .15s ease, box-shadow .15s ease, background-position .35s ease;
}
.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(56, 189, 248, .42);
  background-position: 100% 0;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--brand-cyan-2); background: var(--bg-muted); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(10, 14, 39, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  margin-right: auto;
}
.brand-icon { border-radius: 8px; }
.brand-word { letter-spacing: -0.01em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-dropdown { display: contents; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 18, 32, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 25%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(500px 400px at 85% 10%, rgba(20,1,128,.16), transparent 60%),
    radial-gradient(400px 300px at 60% 60%, rgba(34,229,230,.10), transparent 60%);
  filter: blur(10px);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(34, 229, 230, .12);
  color: var(--brand-indigo);
  font-weight: 600;
  font-size: .82rem;
  margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions--center { justify-content: center; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--ink-faint);
  font-size: .86rem;
}
.stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; }

.hero-visual { position: relative; }

.browser-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-frame--lg {
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
  transition: transform .5s ease;
}
.hero-visual:hover .browser-frame--lg { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  background: #f1f3f7;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.browser-url {
  margin-left: 10px;
  font-size: .75rem;
  color: var(--ink-faint);
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 12px;
  border-radius: 999px;
}
.browser-frame img { width: 100%; }
.browser-frame video { width: 100%; display: block; }
.video-shell { max-width: 920px; margin: 0 auto; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: .85rem;
}
.float-card strong { display: block; font-size: 1.05rem; }
.float-card small { color: var(--ink-faint); }
.float-card--rating { top: -22px; left: -30px; }
.float-card--response { bottom: 24px; right: -22px; }
.float-star { color: #f5b301; font-size: 1.4rem; }

/* ---------- Trust bar ---------- */
.trustbar { padding: 54px 0 0; }
.trustbar p {
  text-align: center;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

/* ---------- Steps (So funktioniert's) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(56, 189, 248, .30);
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.step-arrow {
  position: absolute;
  top: 42px; right: -22px;
  color: var(--brand-cyan-2);
  z-index: 1;
}

/* ---------- Mini-FAQ (Startseite) ---------- */
.faq-teaser { max-width: 760px; margin: 0 auto; }
.faq-teaser-link { text-align: center; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--muted { background: var(--bg-muted); }
.section--dark {
  background: linear-gradient(160deg, var(--bg-dark), #150a3f 60%, var(--brand-indigo));
  color: #fff;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--start { margin: 0 0 28px; text-align: left; }
.section-head--light h2 { color: #fff; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head--light p { color: rgba(255,255,255,.72); }

.tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-blue);
  background: rgba(56,189,248,.12);
  padding: 6px 14px;
  border-radius: 999px;
}
.tag--light { color: var(--brand-cyan); background: rgba(34,229,230,.14); }

.section-head-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: .95rem;
}
.section-head-link:hover { color: var(--brand-indigo); }

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid var(--border);
}
.feature-row:first-of-type { border-top: none; }
.feature-row--rev .feature-text { order: 2; }
.feature-row--rev .feature-media { order: 1; }

.feature-kicker {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-cyan-2);
  margin-bottom: 10px;
}
.feature-text h3 { font-size: 1.6rem; margin-bottom: 14px; }
.feature-text p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }
.feature-media .browser-frame { box-shadow: var(--shadow-md); }

.feature-list { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.5;
}
.feature-list li::before { content: "✓"; color: var(--brand-cyan-2); font-weight: 800; flex-shrink: 0; }

/* ---------- Comparison table (Preise) ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.usp-card {
  text-align: center;
  padding: 24px 18px;
}
.usp-card .benefit-icon { margin: 0 auto 14px; }
.usp-card h3 { font-size: .98rem; margin-bottom: 6px; }
.usp-card p { font-size: .88rem; }

.compare-wrap {
  overflow-x: auto;
  margin: 20px 0 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
table.compare { width: 100%; border-collapse: collapse; min-width: 700px; font-size: .9rem; }
.compare thead th {
  background: var(--bg-muted);
  padding: 18px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.compare thead th:first-child { text-align: left; }
.compare thead th.popular { color: var(--brand-blue); }
.compare thead th small { display: block; font-weight: 500; color: var(--ink-faint); font-size: .78rem; margin-top: 2px; }
.compare tbody th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  white-space: nowrap;
}
.compare tbody td {
  text-align: center;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}
.compare tbody tr.cat th, .compare tbody tr.cat td {
  background: var(--bg-muted);
  font-weight: 700;
  color: var(--ink);
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: none;
}
.compare .yes { color: #16a34a; font-weight: 800; }
.compare .no { color: var(--ink-faint); }

/* ---------- Benefit grid ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit-card {
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity .25s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(20, 1, 128, .18);
  margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit-card p { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }

/* ---------- Module grid ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.module-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.module-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  transition: transform .4s ease;
}
.module-card:hover img { transform: scale(1.04); }
.module-body { padding: 20px 22px 24px; }
.module-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.module-body p { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  position: relative;
  margin: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
  transition: border-color .25s ease, background-color .25s ease;
}
.testimonial-card:hover { border-color: rgba(34,229,230,.35); background: rgba(255,255,255,.09); }
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; right: 22px;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(34,229,230,.25);
  pointer-events: none;
}
.testimonial-card blockquote {
  margin: 14px 0 22px;
  font-size: .96rem;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,.18);
}
.testimonial-card figcaption strong { display: block; font-size: .95rem; }
.testimonial-card figcaption span { display: block; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 3px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card--popular {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-brand) border-box;
  border: 2px solid transparent;
  box-shadow: 0 24px 60px rgba(75, 31, 184, .22);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.price { font-size: 2.4rem; font-weight: 800; margin-bottom: 22px; }
.price span { font-size: .95rem; font-weight: 500; color: var(--ink-faint); }
.price--custom { font-size: 1.5rem; }
.price-features { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.price-features li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: .92rem;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
}
.price-features li:first-child { border-top: none; }
.price-features li::before { content: "✓"; color: var(--brand-cyan-2); font-weight: 800; }

/* ---------- Demo ---------- */
.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.demo-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 90px 0;
  background: var(--gradient-brand);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 260px at 20% 0%, rgba(255,255,255,.14), transparent 65%),
    radial-gradient(400px 240px at 85% 100%, rgba(255,255,255,.10), transparent 65%);
  pointer-events: none;
}
.cta-band-inner { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 30px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-indigo); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand--footer { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.55); max-width: 260px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 700;
}
.footer-social a:hover { background: rgba(255,255,255,.1); }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 24px 0 30px; font-size: .82rem; color: rgba(255,255,255,.45); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 64px 0 20px; text-align: center; }
.page-hero .tag { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0 16px; }
.page-hero p { color: var(--ink-soft); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ---------- Legal content (Impressum, Datenschutz, AGB) ---------- */
.legal-content { max-width: 780px; margin: 0 auto; padding: 30px 24px 100px; }
.legal-content h2 {
  font-size: 1.4rem;
  margin: 44px 0 16px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1.12rem; margin: 26px 0 10px; scroll-margin-top: 100px; }
.legal-content h4 { font-size: 1.02rem; margin: 20px 0 8px; }
.legal-content h5 { font-size: .96rem; margin: 16px 0 6px; font-weight: 700; }
.legal-content p { color: var(--ink-soft); font-size: .97rem; line-height: 1.7; margin: 0 0 14px; }
.legal-content ul, .legal-content ol { color: var(--ink-soft); font-size: .97rem; line-height: 1.7; margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--brand-blue); text-decoration: underline; text-decoration-color: rgba(30,58,138,.3); word-break: break-word; }
.legal-content a:hover { color: var(--brand-indigo); }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content em { color: var(--ink-soft); }

.toc {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px 8px;
  margin: 20px 0 40px;
  columns: 2;
  column-gap: 30px;
  list-style: none;
}
.toc li { break-inside: avoid; margin-bottom: 10px; padding-left: 0; }
.toc a { text-decoration: none; font-size: .92rem; font-weight: 500; }
@media (max-width: 640px) { .toc { columns: 1; } }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.contact-card p { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; margin: 0; }
.contact-card p + p { margin-top: 4px; }
.contact-card a { color: var(--brand-blue); font-weight: 600; }
.contact-card a:hover { color: var(--brand-indigo); }

/* ---------- FAQ accordion ---------- */
.faq-category h3 { font-size: 1.2rem; margin: 40px 0 16px; }
.faq-category:first-child h3 { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: .96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-faint);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: .93rem;
  line-height: 1.65;
  margin: 0;
}
.faq-item p a { color: var(--brand-blue); text-decoration: underline; }

/* ---------- Reveal animation (nur mit JS aktiv – ohne JS bleibt alles sichtbar) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .benefit-card, .module-card, .module-card img, .skip-link, .nav-toggle span,
  .faq-item summary::after, .browser-frame--lg, .site-header, .testimonial-card {
    transition: none;
  }
  .btn:hover, .benefit-card:hover, .module-card:hover { transform: none; }
  .module-card:hover img { transform: none; }
  .browser-frame--lg, .hero-visual:hover .browser-frame--lg { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-row, .feature-row--rev { grid-template-columns: 1fr; }
  .feature-row--rev .feature-text, .feature-row--rev .feature-media { order: 0; }
  .demo-inner { grid-template-columns: 1fr; }
  .benefit-grid, .module-grid, .testimonial-grid, .pricing-grid, .contact-grid, .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .step-arrow { display: none; }
  .price-card--popular { transform: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-dropdown { display: block; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 8px;
    gap: 0;
  }
  .site-header.nav-open .main-nav a {
    font-size: 1.05rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .site-header.nav-open .main-nav a:last-child { border-bottom: none; }
  .site-header.nav-open .main-nav a[aria-current="page"]::after { display: none; }
  .site-header.nav-open .header-cta {
    display: flex;
    flex-direction: column;
    padding: 0 24px 24px;
  }
  .site-header.nav-open .header-cta .btn { width: 100%; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 64px 0; }
  .benefit-grid, .module-grid, .testimonial-grid, .pricing-grid, .contact-grid, .usp-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .trust-logos { gap: 20px; font-size: .9rem; }
}
