/* ===== Design Tokens ===== */
:root {
  --navy: #18232f;
  --navy-2: #212e3d;
  --field-bg: #2b3a4d;
  --field-border: #4a5c73;
  --gold: #f3a73c;
  --gold-light: #f7c878;
  --gold-dim: rgba(243, 167, 60, 0.14);
  --green: #1fa85c;
  --green-light: #2fd675;
  --green-dim: rgba(47, 214, 117, 0.25);
  --text: #f4f6fb;
  --text-muted: #929bb0;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 6px;
  --max-width: 720px;
  --font-heading: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

section {
  padding: 56px 0;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  margin-bottom: 12px;
}

.tag {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #06210f;
  box-shadow: 0 10px 26px -8px var(--green-dim);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-block {
  width: 100%;
}

/* ===== Minimaler Header ===== */
.top-bar {
  padding: 20px 0;
  text-align: center;
}

.top-bar .logo-img {
  height: 30px;
  width: auto;
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 12px 0 48px;
  text-align: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .tag {
  display: inline-block;
}

.hero h1 {
  font-size: clamp(1.8rem, 6.4vw, 2.5rem);
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ===== Der eine orchestrierte Motion-Moment: Hero-Intro ===== */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero .tag,
.hero h1,
.hero .lead,
.hero .btn-primary {
  opacity: 0;
  animation: hero-in 0.5s ease-out forwards;
}

.hero .tag { animation-delay: 0s; }
.hero h1 { animation-delay: 0.08s; }
.hero .lead { animation-delay: 0.18s; }
.hero .btn-primary { animation-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .hero .tag,
  .hero h1,
  .hero .lead,
  .hero .btn-primary {
    animation: none;
    opacity: 1;
  }
}

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0 auto;
  max-width: 460px;
  z-index: 60;
  text-align: center;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: opacity 0.01s linear;
  }
}

/* ===== Trust-Bereich ===== */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-photo {
  max-width: 220px;
  margin: 0 auto 32px;
}

.trust-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-grid {
  display: grid;
  gap: 28px;
}

.trust-block {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-align: left;
}

.trust-block h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.trust-block ul {
  display: grid;
  gap: 8px;
}

.trust-block li {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.trust-block.stat-block {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 6px;
}

.stat-tag {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ===== Testimonials ===== */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.rating-summary .stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.rating-source {
  margin-top: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}

.rating-source a {
  color: var(--text-muted);
}

.rating-source a:hover {
  color: var(--gold);
}

.testimonial-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.testimonial {
  background: var(--navy-2);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.testimonial .stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.testimonial p {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.testimonial footer {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-more {
  text-align: center;
  margin-top: 24px;
}

.testimonial-more a {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
}

.testimonial-more a:hover {
  text-decoration: underline;
}

/* ===== Doppel-Effekt ===== */
.double-effect .section-intro {
  text-align: left;
  margin-bottom: 24px;
}

.double-effect .section-intro p {
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 560px;
}

.calc-example {
  background: var(--navy-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: grid;
  gap: 14px;
}

.calc-example .calc-title {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  font-size: 0.82rem;
}

.calc-example ul {
  display: grid;
  gap: 12px;
}

.calc-example li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.94rem;
}

.step-text {
  min-width: 0;
}

.calc-example .step {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  padding-top: 0.1em;
}

.process-num {
  font-family: var(--font-body);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  padding-top: 0.1em;
}

.calc-example .calc-result {
  font-weight: 700;
  color: var(--gold-light);
}

.count-up {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.disclaimer {
  margin-top: 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ===== Formular ===== */
.form-section {
  padding-top: 56px;
}

.form-intro {
  text-align: left;
  margin-bottom: 28px;
}

.form-intro p {
  color: var(--text-muted);
  margin-top: 8px;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 28px;
}

.process-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.process-step p {
  color: var(--text);
  font-size: 0.92rem;
  margin: 0;
}

.advisor-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.advisor-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.advisor-note p {
  font-size: 0.92rem;
  color: var(--text);
  margin: 0;
}

.lead-form {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select {
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  width: 100%;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}

.field-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.field-checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.field-checkbox label {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 400;
}

.field-checkbox label a {
  color: var(--gold);
  text-decoration: underline;
}

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-error {
  background: rgba(220, 60, 60, 0.12);
  border: 1px solid rgba(220, 60, 60, 0.4);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #ffb3b3;
}

/* ===== Bestätigung ===== */
.confirmation {
  background: var(--navy-2);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.confirmation h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.confirmation p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.confirmation-social {
  margin-top: 4px;
}

.confirmation-social-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.confirmation .social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.confirmation .social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.confirmation .social-row a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.confirmation .social-row a svg {
  display: block;
}

/* ===== Compliance-Text ===== */
.compliance-text {
  max-width: var(--max-width);
  margin: 18px auto 0;
  padding: 0 4px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:not(:first-child) {
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

/* ===== Legal pages (Impressum/Datenschutz) ===== */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 20px;
  list-style: disc;
}

.legal-note {
  background: var(--navy-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--text);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (min-width: 600px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  section {
    padding: 72px 0;
  }
}
