:root {
  --color-primary: #0891b2;
  --color-primary-dark: #075b73;
  --color-secondary: #0b3b45;
  --color-accent: #e0263f;
  --color-cta: #f59e0b;
  --color-cta-text: #0b3b45;
  --color-bg: #e88aab;
  --color-card: #c8ecf1;
  --color-text: #0b2027;
  --color-text-muted: #3f6672;
  --color-border: #cfe3e8;
  --radius: 20px;
  --shadow: 0 2px 6px rgba(11,32,39,0.06), 0 16px 40px -12px rgba(11,59,69,0.35);
  --shadow-hover: 0 4px 10px rgba(11,32,39,0.08), 0 22px 50px -14px rgba(11,59,69,0.45);
  --bg-2: #c9486f;
  --color-cream: #fdf1e0;
  --color-altrose: #b76e79;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Feiner, sehr langsam driftender Verlauf statt Flachfarbe */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 8%, rgba(243,172,130,0.5) 0%, rgba(243,172,130,0) 60%),
    radial-gradient(55% 45% at 88% 12%, rgba(8,145,178,0.18) 0%, rgba(8,145,178,0) 60%),
    radial-gradient(70% 60% at 85% 92%, rgba(201,72,111,0.6) 0%, rgba(201,72,111,0) 65%),
    radial-gradient(50% 45% at 8% 85%, rgba(245,158,11,0.12) 0%, rgba(245,158,11,0) 60%),
    linear-gradient(155deg, var(--color-bg) 0%, var(--color-bg) 35%, var(--bg-2) 100%);
  animation: bg-drift 34s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

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

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

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

h1, h2, h3 { color: var(--color-secondary); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 12px; }

a { color: var(--color-primary-dark); }

/* Header */
.site-header {
  background: var(--color-secondary);
  padding: 16px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }

/* ---------- Foto-Hero mit Sonnenstrahlen-Kranz ---------- */
.portrait-hero {
  position: relative;
  z-index: 1;
  padding: 28px 24px 40px;
  text-align: center;
  overflow: hidden;
}
.sunburst { position: relative; width: 260px; height: 260px; margin: 0 auto 28px; }
.sunburst-rays { position: absolute; inset: 0; animation: sunburst-spin 70s linear infinite; }
@media (prefers-reduced-motion: reduce) { .sunburst-rays { animation: none; } }
@keyframes sunburst-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ray {
  position: absolute; top: 50%; left: 50%;
  width: 2px; height: 16px; border-radius: 2px;
  background: var(--ray-color, #c4877e);
  transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-124px);
}
.ray.long { height: 26px; }
.photo-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 10px 30px rgba(11,32,39,0.28);
  z-index: 2;
  overflow: hidden;
}
.photo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.portrait-title {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 5.5vw, 2.8rem);
  color: var(--color-secondary);
  margin: 0 0 18px;
  text-wrap: balance;
}
.portrait-body {
  font-family: var(--font);
  font-size: 1.05rem;
  color: #fff;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary {
  color: var(--color-cta-text);
  background: linear-gradient(120deg, #ffcf6b 0%, var(--color-cta) 55%, #f0870b 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  box-shadow: 0 8px 24px -4px rgba(245,158,11,0.55);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, background-position .3s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(245,158,11,0.65); background-position: 100% 0%; }
.btn-primary:disabled { opacity: 0.65; cursor: progress; transform: none; }
.btn-secondary {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover { background: var(--color-bg); }
.btn-block { width: 100%; margin-top: 6px; }

/* How it works */
.how { padding: 56px 0 8px; }
.how-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.how-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.how-steps p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

/* Cards */
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-sub { color: var(--color-text-muted); font-size: 0.92rem; }
.legal-hint { color: var(--color-text-muted); font-size: 0.76rem; opacity: 0.85; line-height: 1.4; margin-bottom: 16px; }

.scan-section { padding: 56px 0 72px; position: relative; z-index: 1; }

.thanks-hero {
  background: var(--color-card);
  padding: 64px 24px;
  position: relative;
  z-index: 1;
}
.thanks-hero h2 { margin-bottom: 12px; }

/* Form */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  font-family: var(--font);
  font-size: 0.96rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 0.82rem; color: var(--color-text-muted); margin: 6px 0 0; }
.form-error {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
}

/* Results */
.results-section { padding: 0 0 80px; }
.score-card {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.score-gauge { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.gauge-track { fill: none; stroke: var(--color-border); stroke-width: 12; }
.gauge-progress {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 70px 70px;
  transition: stroke-dasharray .8s ease, stroke .3s ease;
}
.gauge-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gauge-score { font-size: 1.9rem; font-weight: 800; color: var(--color-secondary); line-height: 1; }
.gauge-max { font-size: 0.78rem; color: var(--color-text-muted); }
.score-text { flex: 1; min-width: 220px; }
.score-text h2 { margin-bottom: 6px; }
#score-summary { color: var(--color-text-muted); }
.score-note {
  font-size: 0.84rem;
  color: var(--color-accent);
  background: rgba(224,38,63,0.08);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
}

.leaks-heading { margin-bottom: 18px; }
.leaks-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }

.email-gate { margin-bottom: 32px; border-left: 5px solid var(--color-cta); }
.gate-intro { color: var(--color-text-muted); }
.gate-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin: 4px 0 20px;
  cursor: pointer;
}
.gate-consent input { margin-top: 3px; flex-shrink: 0; }

.leak-card {
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-accent);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.leak-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.leak-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.leak-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.leak-head h3 { margin: 0; }
.leak-why { color: var(--color-text-muted); font-size: 0.94rem; }
.leak-fix {
  background: rgba(8,145,178,0.16);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
}
.leak-fix strong { color: var(--color-secondary); }
.leak-fix p:last-child { margin-bottom: 0; }
.leak-example {
  margin-top: 8px;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--color-primary-dark);
}

.all-good {
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-primary);
  box-shadow: var(--shadow);
  padding: 24px 26px;
}

/* Checklist accordion */
.checklist-card { padding: 0; overflow: hidden; margin-bottom: 28px; }
.checklist-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none;
  padding: 22px 28px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-secondary);
  cursor: pointer;
}
.chev { transition: transform .2s ease; font-size: 1.3rem; color: var(--color-primary); }
.checklist-toggle[aria-expanded="true"] .chev { transform: rotate(90deg); }
.checklist-body { padding: 0 28px 24px; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.check-row:first-child { border-top: none; }
.check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}
.check-icon.pass { background: var(--color-primary); }
.check-icon.fail { background: var(--color-accent); }
.check-icon.skip { background: #b9c7ca; }
.check-label-text strong { display: block; color: var(--color-secondary); }
.check-label-text span { color: var(--color-text-muted); font-size: 0.86rem; }

.rescan-row { text-align: center; }

/* Channel checkboxes */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.channel-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  transition: border-color .15s ease, background .15s ease;
}
.channel-check:has(input:checked) { border-color: var(--color-primary); background: rgba(8,145,178,0.15); }
.channel-check input { flex-shrink: 0; }

/* Strategy & template cards */
.strategy-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.strategy-card { border-left-color: var(--color-primary); }
.strategy-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.term-chip {
  background: rgba(8,145,178,0.12);
  color: var(--color-secondary);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.strategy-target { color: var(--color-text-muted); font-size: 0.86rem; font-weight: 700; margin: 10px 0 0; }

.template-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.template-card h3 { margin-bottom: 12px; }
.template-textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--color-text);
  resize: vertical;
  margin-bottom: 12px;
}
.copy-btn { padding: 10px 22px; font-size: 0.9rem; }

.tracking-card { text-align: center; margin-bottom: 32px; }
.tracking-card h3 { margin-bottom: 6px; }

/* Upsell */
.upsell-card {
  background: linear-gradient(160deg, var(--color-secondary) 0%, var(--color-primary) 130%);
  color: #fff;
  border: 2px solid rgba(245,158,11,0.55);
  text-align: center;
  margin: 8px 0 32px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 6px rgba(245,158,11,0.12);
}
.upsell-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(245,158,11,0.4), transparent 70%);
  animation: upsell-pulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes upsell-pulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.18); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .upsell-card::after { animation: none; } }
.upsell-card h3, .upsell-card p, .upsell-card .btn { position: relative; z-index: 1; }
.upsell-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.3rem; }
.upsell-card p { color: rgba(255,255,255,0.9); }
.upsell-card .btn-primary { margin-top: 10px; font-size: 1.05rem; padding: 17px 34px; }

/* Legal pages (Impressum, Datenschutz, AGB) */
.legal-page { padding: 56px 0 40px; }
.legal-page .legal-updated { color: var(--color-text-muted); font-size: 0.85rem; margin: -6px 0 24px; }
.legal-page section { margin-bottom: 26px; }
.legal-page section:last-child { margin-bottom: 0; }
.legal-page h2 { font-size: 1.1rem; margin-top: 0; }
.legal-page ul { padding-left: 20px; margin: 0 0 12px; }
.legal-page li { margin-bottom: 6px; }
.legal-back { display: inline-block; margin-bottom: 20px; font-size: 0.9rem; color: var(--color-text-muted); text-decoration: none; }
.legal-back:hover { color: var(--color-primary-dark); }

/* Footer */
.site-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.75);
  padding: 28px 0;
  font-size: 0.82rem;
  text-align: center;
}
.footer-fine { margin: 0; opacity: 0.7; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-cta); }

@media (max-width: 600px) {
  .card { padding: 24px 20px; }
  .score-card { flex-direction: column; text-align: center; }
}

/* ---------- Editorial-Block-Design (Salespage) ---------- */

.eb-block { padding: 56px 0; position: relative; }
.eb-dark { background: var(--color-secondary); color: #fff; }
.eb-teal { background: var(--color-primary); color: #fff; }
.eb-rose { background: var(--color-bg); color: var(--color-secondary); }
.eb-cream { background: var(--color-cream); color: var(--color-secondary); }

.eb-eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 800; margin-bottom: 14px; }
.eb-dark .eb-eyebrow, .eb-teal .eb-eyebrow { color: var(--color-cta); }
.eb-rose .eb-eyebrow, .eb-cream .eb-eyebrow { color: var(--color-altrose); }

.eb-block h1, .eb-block h2 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 18px; text-wrap: balance; }
.eb-block h1 { font-size: clamp(2.1rem, 8vw, 2.9rem); }
.eb-block h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
.eb-block h3 { font-weight: 800; font-size: 1.1rem; margin: 0 0 8px; }
.eb-dark h1, .eb-dark h2, .eb-dark h3, .eb-teal h1, .eb-teal h2, .eb-teal h3 { color: #fff; }
.eb-lede { font-size: 1.02rem; }
.eb-dark .eb-lede, .eb-teal .eb-lede { color: rgba(255,255,255,0.85); }
.eb-rose .eb-lede, .eb-cream .eb-lede { color: rgba(11,59,69,0.8); }

.eb-cta-note { font-size: 0.82rem; margin-top: 12px; }
.eb-dark .eb-cta-note, .eb-teal .eb-cta-note { color: rgba(255,255,255,0.65); }
.eb-rose .eb-cta-note, .eb-cream .eb-cta-note { color: rgba(11,59,69,0.65); }

.eb-photo-row { text-align: center; margin-top: 4px; margin-bottom: -32px; }
.eb-photo-row img { max-width: 400px; width: 100%; filter: drop-shadow(0 16px 28px rgba(0,0,0,0.28)); }

.eb-glass { border-radius: 18px; padding: 22px; margin: 8px 0; }
.eb-dark .eb-glass, .eb-teal .eb-glass { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); }
.eb-rose .eb-glass, .eb-cream .eb-glass { background: rgba(255,255,255,0.65); border: 1px solid rgba(11,59,69,0.1); }

.eb-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.eb-check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.eb-ico { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; }
.eb-ico.yes { background: var(--color-cta); color: var(--color-secondary); }
.eb-ico.no { background: var(--color-altrose); color: #fff; }

.eb-step { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.eb-step-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--color-cta); color: var(--color-secondary); font-weight: 900; display: flex; align-items: center; justify-content: center; }

.eb-value-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(11,59,69,0.12); font-size: 0.92rem; }
.eb-value-row:first-child { border-top: none; }
.eb-tag { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; background: rgba(183,110,121,0.15); color: var(--color-altrose); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

.eb-price { font-size: 3rem; font-weight: 900; }
.eb-price-unit { font-size: 0.85rem; font-weight: 700; opacity: 0.75; margin-top: -10px; }

.eb-testi { margin-bottom: 18px; }
.eb-testi blockquote { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.eb-testi cite { font-style: normal; font-size: 0.88rem; opacity: 0.7; }
