/* ─────────────────────────────────────────────────────────────────
   BAUBOOST Landingpage — full stylesheet
   ───────────────────────────────────────────────────────────────── */

/* ─── Self-hosted Source Sans 3 (DSGVO, kein Google-Fonts-Roundtrip) ─── */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3/source-sans-3-v19-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/source-sans-3/source-sans-3-v19-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3/source-sans-3-v19-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/source-sans-3/source-sans-3-v19-latin-700.woff2') format('woff2');
}
/* Weight 800 fehlt im self-hosted Set — Browser substituiert mit 700 (akzeptabel). */

:root {
  --bg:           #f4f2ec;
  --bg-alt:       #faf8f2;
  --bg-deep:      #efe9d3;
  --card:         #ffffff;
  --card-border:  #e8e3d4;
  --divider:      #ece8db;

  --text:         #1f1d18;
  --text-muted:   #6b6558;
  --text-soft:    #8a8473;

  --gold:         #7a6a3e;
  --gold-hover:   #645732;
  --gold-accent:  #b89554;
  --gold-soft:    #ede5cf;
  --gold-soft-2:  #f6efd9;

  --info-bg:      #e9efde;
  --info-border:  #d5deb9;
  --success-bg:   #dff3e2;
  --success-text: #2d6b3a;
  --warn-bg:      #fbeecd;
  --warn-text:    #856321;

  --shadow-sm:    0 1px 2px rgba(31, 29, 24, 0.04);
  --shadow-md:    0 4px 16px -8px rgba(31, 29, 24, 0.12);
  --shadow-lg:    0 22px 48px -24px rgba(31, 29, 24, 0.28), 0 1px 0 rgba(31,29,24,0.04);

  --radius:       10px;
  --radius-lg:    14px;

  --container:    1180px;
  --container-narrow: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* ─── Typography-Defaults: keine Hurenkinder/Schusterjungen ───
   text-wrap: balance verteilt Headlines so, dass keine einzelnen Worte
   alleine auf einer letzten Zeile stehen. text-wrap: pretty macht das
   gleiche für Fließtext (Browser-Heuristik für die letzten 1–2 Zeilen).
   Beides ist Tag-Spezifität — wird durch jede spezifischere Klasse,
   die selbst text-wrap setzt, korrekt überschrieben. */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, summary { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ───────────────────────  Layout primitives  ─────────────────────── */

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

.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

.section-head {
  max-width: 800px;
  margin-bottom: 56px;
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head .eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-hover);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-light {
  color: var(--gold-accent) !important;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
  max-width: 64ch;
  text-wrap: pretty;
}
.section-head-center p { margin-left: auto; margin-right: auto; }

/* ───────────────────────  Buttons  ─────────────────────── */

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 2px rgba(31,29,24,0.1);
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -6px rgba(122,106,62,0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--card-border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  background: var(--gold-soft);
}
.btn-lg {
  padding: 14px 24px;
  font-size: 15.5px;
  border-radius: 10px;
}
.btn-primary svg, .btn-ghost svg {
  width: 16px; height: 16px;
}
.btn-on-dark {
  /* used inside dark final-cta */
}
.btn-on-dark.btn-ghost {
  color: #f7f2e5;
  border-color: rgba(247, 242, 229, 0.25);
}
.btn-on-dark.btn-ghost:hover {
  background: rgba(247, 242, 229, 0.08);
  color: #fff;
  border-color: rgba(247, 242, 229, 0.5);
}

/* ───────────────────────  Nav  ─────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(244, 242, 236, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--divider);
  background: rgba(244, 242, 236, 0.92);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}
.brand img {
  /* Master: Login-Logo (.auth-page .hero-mark in app.css). */
  width: 38px;
  height: auto;
  display: block;
}
.brand-text {
  /* Master: Login-Logo (.auth-page .hero-wordmark in app.css). */
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.brand-text small {
  display: block;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-cta {
  display: flex;
  gap: 8px;
}
/* ───── Mobile-Burger Button ───── */
/* WICHTIG: Default-Regel MUSS vor der Media-Query stehen — sonst überschreibt
   das spätere display:none die Media-Query bei gleicher Specificity. */
.nav-burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, border-color 0.15s;
}
.nav-burger:hover { background: var(--gold-soft); border-color: var(--gold); }
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
/* Burger → X wenn Drawer offen */
body.nav-drawer-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-drawer-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-drawer-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Breakpoint: Desktop-Nav-Links + CTAs aus, Burger an */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ───── Mobile-Drawer ───── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.nav-drawer[hidden] { display: none; }
.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 29, 24, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.nav-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--bg-alt);
  box-shadow: -8px 0 32px -8px rgba(31, 29, 24, 0.25);
  display: flex;
  flex-direction: column;
  padding: 64px 24px 28px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
  overscroll-behavior: contain;
}
body.nav-drawer-open .nav-drawer-backdrop { opacity: 1; }
body.nav-drawer-open .nav-drawer-panel { transform: translateX(0); }

.nav-drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
}
.nav-drawer-close:hover { background: rgba(0,0,0,0.05); color: var(--text); }
.nav-drawer-close svg { width: 22px; height: 22px; }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}
.nav-drawer-links a {
  display: block;
  padding: 14px 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  border-bottom: 1px solid var(--divider);
}
.nav-drawer-links a:last-child { border-bottom: none; }
.nav-drawer-links a:hover { background: var(--gold-soft); color: var(--gold-hover); }

.nav-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-drawer-cta .btn-ghost,
.nav-drawer-cta .btn-primary {
  justify-content: center;
  width: 100%;
}

/* Body-Lock wenn Drawer offen */
body.nav-drawer-open { overflow: hidden; }

/* ───── Floating „Nach oben"-Button ───── */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(31,29,24,0.4), 0 2px 6px rgba(31,29,24,0.15);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s;
  padding: 0;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--gold-hover); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
/* Wenn der Mobile-CTA sichtbar ist (Mobile + gescrollt), schiebt sich
   der „Nach oben"-Button höher, damit er den CTA nicht überlagert. */
@media (max-width: 880px) {
  body.has-mobile-cta .to-top { bottom: 80px; }
}

/* ───── Sticky-Mobile-CTA ───── */
.mobile-cta {
  /* Default: nicht da. Wird via Media-Query auf Mobile + via JS-Class .is-visible aktiviert. */
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 35;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(31,29,24,0.45), 0 2px 8px rgba(31,29,24,0.2);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(.2,.7,.3,1), background 0.15s;
  pointer-events: none;
}
.mobile-cta[hidden] { display: none; }
.mobile-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-cta:hover { background: var(--gold-hover); }
.mobile-cta svg { width: 18px; height: 18px; }

/* Nur auf Mobile sichtbar; Desktop hat eigene CTAs in der Nav-Bar.
   Die Footer-Padding/Layout-Overrides liegen unten beim Footer-Block —
   sonst überschreibt die Default-`.footer { padding: … }`-Regel
   unser padding-bottom. */
@media (max-width: 880px) {
  .mobile-cta { display: inline-flex; }
}
/* Wenn der Nav-Drawer offen ist, soll der CTA verschwinden. */
body.nav-drawer-open .mobile-cta { opacity: 0; pointer-events: none; transform: translateY(80px); }

/* ───────────────────────  Hero  ─────────────────────── */

.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: -40px 0 0 0;
  background-image:
    linear-gradient(rgba(122, 106, 62, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 106, 62, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 100% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 30%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(184, 149, 84, 0.18), transparent 60%);
  filter: blur(30px);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.hero-orb-1 {
  top: 80px;
  left: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle at 30% 30%, #c8a972, transparent 70%);
}
.hero-orb-2 {
  top: 280px;
  right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle at 60% 40%, #ddc89a, transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--card-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-hover);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76,175,80,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76,175,80,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

.hero-headline {
  margin: 0 0 22px;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero-headline em {
  font-style: normal;
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, transparent 55%, var(--gold-soft) 55%);
}
.hero-headline-accent {
  color: var(--gold-hover);
  display: inline-block;
}

.hero-sub {
  margin: 0 auto 36px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 64ch;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg {
  width: 14px; height: 14px;
  color: var(--gold-accent);
}

/* hero floating preview */
.hero-preview {
  position: relative;
  margin: 72px auto 0;
  max-width: 920px;
  padding: 0 24px;
  z-index: 1;
}
/* All parallax-driven elements default to a Y translate composed from the
   --parallax-y custom prop the JS writes. */
[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}
.hero-preview-window {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  will-change: transform;
}
.hpw-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--divider);
}
.hpw-chrome span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #e3dec9;
}
.hpw-chrome span:first-child { background: #d9c87a; }
.hpw-url {
  margin-left: 16px;
  font-size: 12.5px;
  color: var(--text-soft);
}
.hpw-body { padding: 12px 0 18px; }
.hpw-row {
  display: grid;
  grid-template-columns: 90px 1fr 80px 100px 130px;
  align-items: center;
  gap: 16px;
  padding: 10px 22px;
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(6px);
  animation: row-in 0.5s ease forwards;
  animation-delay: var(--delay, 0ms);
}
.hpw-row-h {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 4px;
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes row-in {
  to { opacity: 1; transform: none; }
}
.hpw-row > div:nth-child(2) { font-weight: 600; color: var(--text); }
.hpw-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hpw-tag-green { background: var(--success-bg); color: var(--success-text); }
.hpw-tag-amber { background: var(--warn-bg); color: var(--warn-text); }
.hpw-tag-blue  { background: #dde7f2; color: #2a5a8a; }
.hpw-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 4px;
  border-top: 1px solid var(--divider);
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 8px;
}
.hpw-progress {
  width: 140px;
  height: 5px;
  border-radius: 99px;
  background: var(--divider);
  overflow: hidden;
}
.hpw-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-accent), var(--gold));
  animation: progress 3s ease 0.8s forwards;
}
@keyframes progress { to { width: 64%; } }

.hero-stat {
  position: absolute;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  will-change: transform;
}
.hero-stat-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-stat-1 { top: 110px; left: -8px; }
.hero-stat-2 { bottom: -28px; right: 4px; }
@media (max-width: 720px) {
  .hero-stat { display: none; }
  .hpw-row { grid-template-columns: 70px 1fr 90px; padding: 10px 14px; gap: 10px; }
  .hpw-row > div:nth-child(4), .hpw-row > div:nth-child(5) { display: none; }
}

/* ───────────────────────  Logo bar  ─────────────────────── */

.logobar {
  background: var(--bg-alt);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 24px 0;
}
.logobar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.logobar-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.logobar-items {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.logobar-items .dot {
  width: 4px; height: 4px;
  background: var(--gold-accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* ───────────────────────  Pain points  ─────────────────────── */

.pain {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Soft organic blob — sits behind the cards and warms up the otherwise
   geometric cream slab. Asymmetric border-radius percentages give an
   irregular, hand-drawn shape rather than a circle. */
.pain::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -180px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft) 0%, var(--gold-soft-2) 60%, transparent 75%);
  border-radius: 62% 38% 54% 46% / 58% 50% 50% 42%;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.pain .container { position: relative; z-index: 1; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.pain-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold-soft-2);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
  font-feature-settings: "ss01";
}
.pain-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.pain-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }

/* ─────────────────────  Lifestyle / Für wen  ───────────────────── */

.lifestyle { background: var(--bg); }
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .lifestyle-grid { grid-template-columns: 1fr; gap: 56px; }
}
.lifestyle-media {
  position: relative;
  min-height: 480px;
}
.lifestyle-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lifestyle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lifestyle-img-main {
  width: 78%;
  aspect-ratio: 4 / 5;
  margin-left: auto;
  position: relative;
  z-index: 1;
}
.lifestyle-img-floater {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 46%;
  aspect-ratio: 1 / 1;
  z-index: 2;
  border: 6px solid var(--bg);
  will-change: transform;
}
.lifestyle-badge {
  position: absolute;
  top: 14%;
  left: 6%;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  min-width: 160px;
  will-change: transform;
}
.lifestyle-badge-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-hover);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.lifestyle-badge-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}
@media (max-width: 880px) {
  .lifestyle-media { min-height: 0; max-width: 420px; margin: 0 auto; }
  .lifestyle-img-main { width: 100%; aspect-ratio: 4/3; }
  .lifestyle-img-floater { width: 42%; bottom: -12px; }
  .lifestyle-badge { top: 6%; left: 0; }
}

.lifestyle-text .eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-hover);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lifestyle-text h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 16px;
  text-wrap: balance;
}
.lifestyle-text > p {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.lifestyle-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lifestyle-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}
.lifestyle-list strong { font-weight: 700; color: var(--text); }
.lifestyle-tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.lifestyle-tick svg { width: 13px; height: 13px; }

/* ───────────────────────  Video  ─────────────────────── */

.video-section { background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.video-wrap {
  max-width: 1000px;
  margin: 0 auto;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #1f1d18;
  cursor: pointer;
}
.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2520, #1a1813);
  transition: opacity 0.4s, transform 0.4s;
  overflow: hidden;
}
.video-frame.is-playing .video-poster {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}
.video-poster-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.vps {
  position: absolute;
  background: rgba(247, 242, 229, 0.07);
  border-radius: 6px;
  border: 1px solid rgba(184, 149, 84, 0.12);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.vps-1 { top: 8%;  left: 6%;  width: 220px; height: 28px; }
.vps-2 { top: 18%; left: 6%;  width: 320px; height: 56px; }
.vps-3 { top: 38%; left: 6%;  width: 280px; height: 56px; background: rgba(184, 149, 84, 0.16); }
.vps-4 { top: 58%; left: 6%;  width: 380px; height: 56px; }
.vps-5 { top: 8%;  right: 6%; width: 180px; height: 56px; background: rgba(76,175,80,0.12); border-color: rgba(76,175,80,0.25); }
.vps-6 { top: 30%; right: 6%; width: 240px; height: 36px; }
.vps-7 { top: 48%; right: 6%; width: 240px; height: 200px; }
.video-play {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(247,242,229,0.95);
  color: var(--gold-hover);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 0 0 0 rgba(247,242,229,0.4), 0 20px 40px -10px rgba(0,0,0,0.4);
  animation: ring 2.4s ease-out infinite;
}
.video-play:hover { transform: scale(1.06); background: #fff; }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
@keyframes ring {
  0%   { box-shadow: 0 0 0 0   rgba(247,242,229,0.5), 0 20px 40px -10px rgba(0,0,0,0.4); }
  100% { box-shadow: 0 0 0 26px rgba(247,242,229,0),   0 20px 40px -10px rgba(0,0,0,0.4); }
}

/* Coming-Soon-Badge — sitzt da, wo sonst der Play-Button wäre. */
.video-soon-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px 14px 22px;
  border-radius: 999px;
  background: rgba(247, 242, 229, 0.95);
  color: var(--gold-hover);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.4);
  border: 1px solid rgba(247,242,229,0.6);
}
.video-soon-pulse {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-accent);
  box-shadow: 0 0 0 0 rgba(184,149,84,0.55);
  animation: pulse 2s infinite;
}
.video-frame-soon .video-poster { cursor: default; }
.video-caption {
  margin-top: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.video-caption-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.video-caption-title {
  font-size: 22px;
  font-weight: 700;
  color: #f7f2e5;
}
.video-real {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #1f1d18;
  color: var(--text-soft);
  text-align: center;
  font-size: 14px;
  padding: 24px;
}
.video-placeholder-msg small { color: #555; }

.video-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.video-chips span {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ───────────────────────  Workflow  ─────────────────────── */

.workflow {
  background: #1e2733;            /* deep slate-ink — blueprint feel */
  color: #e9e6dd;
  position: relative;
  overflow: hidden;
  /* Extra top/bottom padding to make room for the wavy SVG dividers
     that sit absolutely at the section's top and bottom edges. */
  padding-top: 160px;
  padding-bottom: 160px;
}

/* Wavy edge dividers — replace the formerly sharp section boundary with
   a soft S-curve so the dark band feels organic instead of geometric.
   The top divider is filled with the bg-alt cream (matching the bottom
   of the video section above), the bottom divider with the main bg cream
   (matching the features section below). */
.wf-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 90px;
  display: block;
  z-index: 1;
  pointer-events: none;
}
.wf-divider-top    { top: -1px; }
.wf-divider-bottom { bottom: -1px; }

/* Generic section wave — used between any two cream sections to give a
   subtle wavy transition. Position absolute at the bottom or top of the
   parent section; the section needs position:relative (already set by
   our blob ornament styles). */
.section-wave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}
.section-wave-bottom { bottom: -1px; height: 70px; }
.section-wave-top    { top: -1px;    height: 70px; }

/* Cross-section bridge — a tinted ink shape that sits between two sections
   and bleeds visually into both. It's a SIBLING in the DOM, not nested,
   so neither section's overflow:hidden can clip it. */
.bridge-blot {
  position: relative;
  height: 0;
  z-index: 3;
  pointer-events: none;
}
.bridge-blot svg {
  position: absolute;
  width: 580px;
  max-width: 70vw;
  height: 220px;
  left: 50%;
  top: -110px;                       /* centres the shape over the seam */
  transform: translateX(-30%) rotate(-8deg);
}
@media (max-width: 700px) {
  .bridge-blot svg {
    width: 380px;
    height: 160px;
    top: -80px;
    transform: translateX(-40%) rotate(-6deg);
  }
}
/* Faint blueprint grid, masked to the centre so the edges fade out. */
.workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,242,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,233,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
}
.workflow .container { position: relative; z-index: 1; }
.workflow .eyebrow { color: var(--gold-accent); }
.workflow .section-head h2 { color: #f5f2e9; }
.workflow .section-head p  { color: rgba(245,242,233,0.72); }

.workflow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 4px;
  row-gap: 56px;
  position: relative;
}
.workflow-step {
  position: relative;
  padding: 0 20px;
  z-index: 1;
}
/* Dashed connector — drawn per step so it spans both rows of the grid.
   Each segment passes through the centre of its own ws-num; the segments
   on a row butt up against each other to read as one continuous line. */
.workflow-step::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -2px;
  right: -2px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(184,149,84,0.45) 0 6px, transparent 6px 12px);
  z-index: 0;
}
/* Trim the open ends so the line doesn't dangle past the first/last ws-num
   in each row. */
.workflow-step:nth-child(3n+1)::before { left: 30px; }
.workflow-step:nth-child(3n)::before   { right: 30px; }
.ws-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #2a3441;            /* one step lighter than the section */
  border: 2px solid var(--gold-accent);
  color: var(--gold-accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 18px;
  position: relative;
}
.ws-num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(184,149,84,0.28);
}
.ws-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: #f5f2e9;
}
.ws-body p {
  font-size: 14.5px;
  color: rgba(245,242,233,0.7);
  margin: 0 0 10px;
}
.ws-meta {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(184,149,84,0.16);
  color: var(--gold-accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(184,149,84,0.28);
}
@media (max-width: 980px) {
  .workflow-list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .workflow-step:nth-child(3n+1)::before,
  .workflow-step:nth-child(3n)::before { left: -2px; right: -2px; }
  .workflow-step:nth-child(2n+1)::before { left: 30px; }
  .workflow-step:nth-child(2n)::before   { right: 30px; }
}
@media (max-width: 600px) {
  .workflow-list { grid-template-columns: 1fr; row-gap: 40px; }
  .workflow-step::before { display: none; }
}

/* ───────────────────────  Features  ─────────────────────── */

.features {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Organic counterpoint to the pain section's blob — same idiom, opposite
   side, slightly cooler tone so the page reads as a deliberate motif. */
.features::before {
  content: "";
  position: absolute;
  top: 240px;
  left: -200px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 60% 40%, var(--gold-soft-2) 0%, var(--gold-soft) 55%, transparent 75%);
  border-radius: 48% 52% 38% 62% / 44% 56% 44% 56%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.features::after {
  /* second, smaller accent further down the section */
  content: "";
  position: absolute;
  bottom: 80px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 40% 50%, var(--gold-soft) 0%, transparent 70%);
  border-radius: 56% 44% 60% 40% / 50% 60% 40% 50%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.features .container { position: relative; z-index: 1; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.feature-card-wide { grid-column: span 1; }
.feature-card-accent {
  background: linear-gradient(180deg, #fbf6e2, #f3ead0);
  border-color: #e3d5a5;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-icon-accent {
  background: var(--gold);
  color: #fff;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}
.feature-tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.feature-tags span {
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  color: var(--text-muted);
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ───────────────────────  Vergleich  ─────────────────────── */

.vergleich {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
/* Blob ornament — top-right, deeper warm tone to play against bg-alt. */
.vergleich::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 35% 45%, var(--gold-soft) 0%, transparent 70%);
  border-radius: 56% 44% 48% 52% / 50% 56% 44% 50%;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.vergleich .container { position: relative; z-index: 1; }
.compare-table {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-bottom: 1px solid var(--divider);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div {
  padding: 18px 22px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
}
.compare-row-head {
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.compare-row-head .compare-us {
  color: var(--gold-hover);
  background: var(--gold-soft);
}
.compare-row-head > div { font-size: 12px; padding: 14px 22px; }
.compare-label { font-weight: 600; background: var(--bg-alt); color: var(--text); }
.compare-bad, .compare-good {
  position: relative;
  padding-left: 50px !important;
  color: var(--text);
}
.compare-bad::before,
.compare-good::before {
  content: "";
  position: absolute;
  left: 22px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-position: center;
  background-repeat: no-repeat;
}
.compare-bad::before {
  background-color: #fde2e2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='6' y1='18' x2='18' y2='6'/%3E%3C/svg%3E");
  background-size: 12px;
}
.compare-good::before {
  background-color: var(--success-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6b3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
}
.compare-good { background: linear-gradient(90deg, transparent, rgba(237,229,207,0.4)); font-weight: 600; }
@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { padding: 12px 18px; }
  .compare-label { background: var(--gold-soft); padding-top: 14px; padding-bottom: 14px; }
  .compare-bad, .compare-good { padding-left: 46px !important; }
  .compare-bad::before, .compare-good::before { left: 18px; }
  .compare-row-head { display: none; }
}

/* ───────────────────────  Trust  ─────────────────────── */

.trust {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Blob — bottom-left, larger and slightly cooler, balances vergleich's top-right blob above. */
.trust::before {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -200px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle at 55% 50%, var(--gold-soft-2) 0%, var(--gold-soft) 55%, transparent 75%);
  border-radius: 60% 40% 54% 46% / 46% 58% 42% 54%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.trust .container { position: relative; z-index: 1; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.trust-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.trust-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 880px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ───────────────────────  Referenzen  ─────────────────────── */

.referenzen {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
/* Two staggered blobs continue the warm-tone zigzag down the page. */
.referenzen::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 45% 45%, var(--gold-soft) 0%, transparent 70%);
  border-radius: 50% 50% 56% 44% / 52% 48% 52% 48%;
  opacity: 0.48;
  pointer-events: none;
  z-index: 0;
}
.referenzen::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 50% 50%, var(--gold-soft-2) 0%, transparent 72%);
  border-radius: 44% 56% 50% 50% / 56% 44% 56% 44%;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.referenzen .container { position: relative; z-index: 1; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 14px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 0.8;
  color: var(--gold-soft);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testi-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  text-wrap: pretty;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-name {
  font-size: 14.5px;
  font-weight: 700;
}
.testi-role {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 2px;
}
@media (max-width: 980px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* Hinweis-Zeile unter den Testimonials: woher die Bewertungen kommen. */
.testimonial-source {
  text-align: center;
  margin: -28px 0 32px;
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.testimonial-source a {
  color: var(--gold-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.testimonial-source a:hover { color: var(--gold); }

.referenz-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, #2a2520 0%, #1a1813 100%);
  border-radius: var(--radius-lg);
  color: #f7f2e5;
}
.ref-stat { text-align: center; }
.ref-stat-num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #f1d889, #b89554);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.ref-stat-label {
  font-size: 13px;
  color: rgba(247,242,229,0.7);
}
@media (max-width: 680px) { .referenz-stats { grid-template-columns: 1fr 1fr; } }

/* ───────────────────────  Social  ─────────────────────── */

/* ───────────────────────  Social  ─────────────────────── */

.social { background: var(--bg); }
.social-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* .social-card::after — top-right gold glow entfernt auf Wunsch */
.social-card-left { position: relative; z-index: 1; }
.social-card-left .eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-hover);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.social-card-left h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.social-card-left p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}
.social-card-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  transition: all 0.2s;
}
.social-link:hover {
  background: #fff;
  border-color: var(--gold);
  transform: translateX(4px);
}
.social-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}
.social-icon svg { width: 22px; height: 22px; }
.social-meta { flex: 1; min-width: 0; }
.social-name { font-weight: 700; font-size: 15px; }
.social-handle { font-size: 13px; color: var(--text-soft); }
.social-arrow {
  width: 16px; height: 16px;
  color: var(--text-soft);
  transition: transform 0.2s, color 0.2s;
}
.social-link:hover .social-arrow {
  color: var(--gold);
  transform: translate(2px, -2px);
}
@media (max-width: 880px) {
  .social-card { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
}

/* ───────  Social · animated post marquee  ─────── */

.social-marquee {
  margin-top: 32px;
  position: relative;
  /* Soft fade at both edges so cards enter / exit gracefully and any
     loop-seam at the reset point sits in the masked zone. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.social-marquee-row {
  display: flex;
  overflow: hidden;
}
.social-marquee-row + .social-marquee-row { margin-top: 18px; }
.social-marquee-track {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  padding-right: 18px;             /* matches gap — keeps loop seam clean */
  animation: social-marquee 64s linear infinite;
  will-change: transform;
}
.social-marquee-row-reverse .social-marquee-track {
  animation-direction: reverse;
  animation-duration: 78s;          /* slight offset between rows feels organic */
}
.social-marquee:hover .social-marquee-track {
  animation-play-state: paused;
}
@keyframes social-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .social-marquee-track { animation: none; }
}

.post-card {
  width: 280px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
/* Wenn eine Card klickbar ist (z.B. zum YouTube-Video), wird sie als <a>
   gerendert — Default-Link-Styles wegnehmen. */
.post-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
}
.post-platform {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.post-platform svg { width: 15px; height: 15px; }
.post-platform-linkedin  { background: #0a66c2; color: #fff; }
.post-platform-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
  color: #fff;
}
.post-platform-youtube   { background: #ff0000; color: #fff; }
.post-handle { flex: 1; min-width: 0; }
.post-handle .post-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.post-handle .post-time {
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.3;
}
.post-media {
  height: 134px;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.post-media-stripe {
  background-image:
    repeating-linear-gradient(135deg,
      rgba(122,106,62,0.04) 0 9px,
      rgba(122,106,62,0.10) 9px 10px);
  background-color: var(--bg-alt);
}
.post-media-warm {
  background-image:
    repeating-linear-gradient(135deg,
      rgba(184,149,84,0.08) 0 9px,
      rgba(184,149,84,0.18) 9px 10px);
  background-color: var(--gold-soft-2);
}
.post-media-label {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(255,255,255,0.88);
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid var(--card-border);
}
.post-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(31, 29, 24, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.post-play svg { width: 18px; height: 18px; margin-left: 2px; }
.post-duration {
  position: absolute;
  top: 8px; right: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(31, 29, 24, 0.75);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.post-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f58529, #dd2a7b);
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.1em;
}
.post-carousel {
  position: absolute;
  top: 8px; right: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255,255,255,0.88);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--card-border);
}
.post-body {
  padding: 11px 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.post-caption {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}
.post-stats {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--text-soft);
  font-weight: 600;
}
.post-stats span { display: inline-flex; align-items: center; gap: 5px; }
.post-stats svg { width: 12px; height: 12px; flex-shrink: 0; }

@media (max-width: 640px) {
  .post-card { width: 240px; }
  .post-media { height: 116px; }
  .social-marquee-track { animation-duration: 50s; gap: 14px; padding-right: 14px; }
  .social-marquee-row-reverse .social-marquee-track { animation-duration: 60s; }
}

/* ───────────────────────  FAQ  ─────────────────────── */

.faq {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
/* Blob — left-center, soft, sits behind the narrow FAQ column. */
.faq::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -220px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 60% 50%, var(--gold-soft) 0%, transparent 70%);
  border-radius: 58% 42% 50% 50% / 50% 54% 46% 50%;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}
/* Second blob — top-right, warmer & smaller, balances the left-side ornament. */
.faq::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -240px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 35% 45%, var(--gold-soft-2) 0%, transparent 72%);
  border-radius: 52% 48% 60% 40% / 44% 58% 42% 56%;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
.faq .container { position: relative; z-index: 1; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
}
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 22px; height: 22px;
  position: relative;
  flex-shrink: 0;
  color: var(--gold-hover);
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transition: transform 0.25s;
}
.faq-plus::before {
  width: 12px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq-plus::after {
  width: 2px; height: 12px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}

/* ───────────────────────  Final CTA  ─────────────────────── */

.final-cta {
  background: var(--bg);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
/* Two blobs frame the dark final card, peeking out on either side so the
   card sits on a soft, organic stage. */
.final-cta::before {
  content: "";
  position: absolute;
  top: 40px;
  left: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 55% 45%, var(--gold-soft) 0%, transparent 70%);
  border-radius: 52% 48% 60% 40% / 48% 60% 40% 52%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.final-cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -180px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 40% 50%, var(--gold-soft-2) 0%, var(--gold-soft) 55%, transparent 75%);
  border-radius: 44% 56% 48% 52% / 56% 44% 54% 46%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.final-cta .container { position: relative; z-index: 1; }
.final-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  color: #f7f2e5;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.95fr);
  align-items: stretch;
  /* Höhe richtet sich nach dem Content der Text-Spalte — keine min-height,
     damit unter den Buttons kein Leerraum entsteht. Bild wird via
     object-fit: cover passend gecroppt. */
}
.final-content {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.final-person {
  position: relative;
  z-index: 1;
  align-self: stretch;
  overflow: hidden;
}
.final-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Kopf bleibt sichtbar, falls Card hoch wird */
  display: block;
}
.final-person-card {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--text);
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.35);
  text-align: center;
  white-space: nowrap;
}
.final-person-name { font-size: 15px; font-weight: 700; }
.final-person-role { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

@media (max-width: 880px) {
  .final-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .final-content {
    padding: 28px 18px 24px;
    order: 2;          /* Text unter dem Bild auf Mobile */
  }
  .final-person {
    order: 1;
    aspect-ratio: 4 / 3;
    max-height: 420px;
    /* Bild edge-to-edge zur Card. Card hat border-radius:20px + overflow:hidden,
       d.h. die oberen Ecken werden automatisch durch die Card-Rundung abgeschnitten. */
  }
  .final-person img { object-position: center 25%; }
  .final-person-card { bottom: 18px; padding: 10px 16px; }
}
.final-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 149, 84, 0.5), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(122, 106, 62, 0.6), transparent 55%),
    linear-gradient(135deg, #2a2520 0%, #1a1813 100%);
}
.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,242,229,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,242,229,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.final-content {
  position: relative;
  max-width: 720px;
}
.final-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}
.final-card p {
  font-size: 17px;
  margin: 0 0 28px;
  color: rgba(247,242,229,0.78);
  max-width: 56ch;
}
.final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* (Vorher gab's hier ein @media (max-width: 600px) { .final-card { padding: 40px 28px } }
   — das hat das Bild auf kleinen Screens vom Card-Rand weggedrückt. Padding sitzt
   jetzt allein auf .final-content; die Card selbst hat keins mehr.) */

/* ───────────────────────  Footer  ─────────────────────── */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--divider);
  padding: 56px 0 28px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  /* 3 Spalten: Brand (1.6fr) | Kostenlose Tools (1fr) | Kontakt (1fr) */
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 38ch; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-hover); }
.footer-contact { line-height: 1.7; }
.footer-contact a { display: inline; }
.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-soft);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--text); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Sticky-Mobile-CTA überlagert sonst die Copyright-/Legal-Zeile.
     CTA ~52 px + 12 px bottom + Sicherheitsabstand → 130 px. */
  .footer { padding-bottom: 130px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────  Reveal animations  ─────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.3,1), transform 0.9s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children of a section-head */
.section-head[data-reveal] h2 { transition-delay: 60ms; }
.section-head[data-reveal] p  { transition-delay: 120ms; }

/* Subtle continuous float on decorative hero elements */
@keyframes float-y {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -10px, 0); }
}
.hero-glow {
  animation: float-y 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hpw-row { opacity: 1; transform: none; animation: none; }
  .video-play { animation: none; }
  .pulse-dot { animation: none; }
  .hero-glow { animation: none; }
}

/* ─────────────────────────────────────────────────────────────────
   Verlust-Rechner — Sub-Modul der Pain-Section (.loss-block).
   2 Slider + 1 große DB-Zahl. Kein eigener Section-Block; hängt direkt
   unter den 3 Pain-Cards, getrennt durch Mehr-Abstand.
   ───────────────────────────────────────────────────────────────── */

.loss-block {
  position: relative;
  margin-top: 56px;
}
.loss-block-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 28px;
}
.loss-block h3 { text-wrap: balance; }
.loss-block-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b34a3a;
  margin-bottom: 10px;
}
.loss-block h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--text);
}
.loss-block-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.loss-calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .loss-calc { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .loss-block { margin-top: 40px; }
}

/* ── Slider-Block ── */
.loss-sliders {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.loss-slider label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.loss-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-hover);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.loss-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--divider);
  outline: none;
  cursor: pointer;
}
.loss-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--card);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(122,106,62,0.35), 0 0 0 1px var(--card-border);
  transition: transform 0.12s;
}
.loss-slider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.loss-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--card);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(122,106,62,0.35);
}

/* ── Result-Box ── */
.loss-result {
  text-align: center;
  padding: 24px 20px;
  background: linear-gradient(180deg, #fff 0%, var(--gold-soft-2) 100%);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
}
.loss-result-num {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold-hover);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.loss-result-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.loss-result-foot {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────
   Legal Pages — Impressum, Datenschutz, Nutzungsbedingungen
   Werden in templates/landing/legal_layout.php in
   <section class="section legal-page"><div class="container container-narrow">
   gewickelt. Die Templates selbst nutzen .page-head und .card.
   ───────────────────────────────────────────────────────────────── */

.legal-page {
  background: var(--bg);
  padding-top: 56px;
}
.legal-page .page-head {
  margin-bottom: 32px;
}
.legal-page .page-head h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}

.legal-page .card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
@media (max-width: 720px) {
  .legal-page .card { padding: 24px 22px; }
}

.legal-page .card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 32px 0 12px;
  color: var(--text);
}
.legal-page .card h2:first-child { margin-top: 0; }

.legal-page .card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: var(--text);
}

.legal-page .card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 14px;
}

.legal-page .card ul,
.legal-page .card ol {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-page .card li { margin-bottom: 6px; }

.legal-page .card a {
  color: var(--gold-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-page .card a:hover {
  color: var(--gold);
}

.legal-page .card strong { font-weight: 600; }

.legal-page .card .muted,
.legal-page .card p.muted {
  color: var(--text-muted);
}
.legal-page .card .small,
.legal-page .card p.small {
  font-size: 13.5px;
}

/* Tabellen in Datenschutz (Dienste/Empfänger/Zweck) — wird selten genutzt,
   aber Datenschutz-Templates können HTML-Tabellen enthalten. */
.legal-page .card table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14.5px;
}
.legal-page .card th,
.legal-page .card td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--divider);
}
.legal-page .card th {
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-alt);
}

/* ─── Tender-Feed-Section (Landing-Highlight für das neue Feature) ───── */
.tender-feed { background: var(--bg-alt, #faf8f2); }
.tf-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .tf-grid { grid-template-columns: 1fr; gap: 40px; }
  .tf-mockup { order: 2; }
}

/* App-Window-Mockup analog zum Hero-Preview, aber etwas zurückgenommen */
.tf-mockup-window {
  background: #fff;
  border: 1px solid var(--divider, #ece8db);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(31, 29, 24, .08), 0 4px 12px rgba(31, 29, 24, .04);
  overflow: hidden;
}
.tf-mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--divider, #ece8db);
  background: #faf8f2;
}
.tf-mockup-chrome span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--divider, #d9d2bd);
}
.tf-mockup-chrome span:first-child { background: #d9c87a; }
.tf-mockup-url {
  margin-left: 12px;
  font-size: 11.5px;
  color: var(--text-soft, #6b6558);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.tf-mockup-body { padding: 18px 22px 20px; }
.tf-mockup-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 14px;
}
.tf-mockup-eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft, #8a8473);
  font-weight: 600;
  flex-basis: 100%;
}
.tf-mockup-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #1f1d18);
  margin-right: auto;
}
.tf-mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: #ede5cf;
  color: #645732;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.tf-mockup-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, .5);
  animation: tfPulse 1.8s infinite;
}
@keyframes tfPulse {
  0%   { box-shadow: 0 0 0 0 rgba(76, 175, 80, .55); }
  70%  { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}
.tf-mockup-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tf-mockup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--divider, #ece8db);
  align-items: center;
  opacity: 0;
  animation: tfFadeIn .5s ease forwards;
  animation-delay: var(--delay, 0ms);
}
.tf-mockup-row:first-child { border-top: none; padding-top: 4px; }
.tf-mockup-row:last-child  { padding-bottom: 4px; }
@keyframes tfFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tfm-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f1d18);
  line-height: 1.35;
}
.tfm-meta {
  font-size: 12px;
  color: var(--text-soft, #6b6558);
  margin-top: 2px;
}
.tfm-right {
  text-align: right;
  white-space: nowrap;
}
.tfm-deadline {
  font-size: 12.5px;
  font-weight: 600;
}
.tfm-deadline-soon { color: #856321; }
.tfm-deadline-calm { color: var(--text-soft, #6b6558); }
.tfm-label {
  font-size: 10.5px;
  color: var(--text-soft, #8a8473);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 1px;
}
.tf-mockup-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--divider, #ece8db);
  font-size: 12px;
  color: var(--text-soft, #6b6558);
}
.tfm-filter strong { color: var(--text, #1f1d18); font-weight: 600; }

/* Text-Spalte rechts */
.tf-text .eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: #ede5cf;
  color: #645732;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tf-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--text, #1f1d18);
  letter-spacing: -.015em;
}
.tf-text > p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-soft, #4d4a42);
  margin: 0 0 24px;
}
.tf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tf-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--text, #1f1d18);
}
.tf-list li strong { font-weight: 600; }
.tf-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ede5cf;
  color: #7a6a3e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.tf-tick svg { width: 12px; height: 12px; }

/* ─── Header-Störer (Announcement-Bar oben über der Nav) ──────────────
   Warm-rotes Banner, voll-klickbar. Pfeil rutscht beim Hover leicht nach
   rechts (universelle "klick mich"-Geste). Bewusst NICHT sticky — wird
   beim Scroll weggesendet, damit Above-the-Fold-Realestate frei bleibt.
   ──────────────────────────────────────────────────────────────────────*/
.header-stoerer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 20px;
  /* Knalliges Signal-Rot — soll bewusst aufmerksamkeitsstark sein,
     macht den PRO-Hinweis above-the-fold unübersehbar. */
  background: linear-gradient(180deg, #e3342f 0%, #c8261f 100%);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .005em;
  transition: background .15s ease;
  /* Schmaler dunklerer Bottom-Strich grenzt sauber zur Nav ab. */
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
}
.header-stoerer:hover {
  background: linear-gradient(180deg, #c8261f 0%, #a91d17 100%);
}
.header-stoerer:hover .stoerer-arrow {
  transform: translateX(3px);
}
/* PRO-Badge: weißer Pin mit knall-roter Schrift + subtile Pulse-Animation,
   damit das Auge sofort drauf hängenbleibt. */
.stoerer-badge {
  display: inline-block;
  padding: 3px 9px;
  background: #fff;
  color: #c8261f;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
  animation: stoererPulse 2.4s infinite;
}
@keyframes stoererPulse {
  0%   { box-shadow: 0 0 0 0   rgba(255, 255, 255, .55); }
  60%  { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(255, 255, 255, 0);   }
}
.stoerer-text {
  /* nichts spezielles — nur sichergehen dass es nicht umbricht auf Desktop */
}
.stoerer-arrow {
  width: 16px;
  height: 16px;
  transition: transform .15s ease;
  flex-shrink: 0;
}
/* Mobile: kompakter, eventuell zweizeilig wenn Text zu lang */
@media (max-width: 720px) {
  .header-stoerer {
    padding: 9px 14px;
    font-size: 13px;
    gap: 8px;
    text-align: center;
    line-height: 1.35;
  }
  .stoerer-badge {
    font-size: 10.5px;
    padding: 1px 6px;
  }
  .stoerer-arrow { width: 14px; height: 14px; }
}

/* ─── Converter-Cross-Sell-Störer (unter dem Dropfield auf /gaeb-zu-excel)
   Selbe visuelle Sprache wie der Header-Störer (Knall-Rot, weißer Badge
   mit Pulse), nur als Box mit etwas mehr Breite und Padding — sitzt unter
   einem White-Card und braucht deshalb klar abgegrenzte Optik. */
.gx-promo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px auto 0;
  padding: 12px 18px;
  max-width: 720px;
  background: linear-gradient(180deg, #e3342f 0%, #c8261f 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(227, 52, 47, .22);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.gx-promo:hover {
  background: linear-gradient(180deg, #c8261f 0%, #a91d17 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(168, 29, 23, .3);
}
.gx-promo-badge {
  display: inline-block;
  flex-shrink: 0;
  padding: 3px 9px;
  background: #fff;
  color: #c8261f;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
  animation: stoererPulse 2.4s infinite;
}
.gx-promo-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.gx-promo-text strong {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 1px;
}
.gx-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.gx-promo-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .15s ease;
}
.gx-promo:hover .gx-promo-cta svg { transform: translateX(3px); }

@media (max-width: 720px) {
  .gx-promo {
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 10px;
  }
  .gx-promo-text {
    flex-basis: 100%;
    order: 2;
    font-size: 13.5px;
  }
  .gx-promo-badge { order: 1; }
  .gx-promo-cta   { order: 3; margin-left: auto; }
}
