/* ============================================================
   FRIENDS FOR BENEFITS — style.css
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Work Sans';
  src: url('../Fonts/WorkSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('../Fonts/WorkSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --color-bg:               #A3B6D4;
  --color-surface:          #FFFFFF;
  --color-surface-warm:     #F5ECDF;
  --color-primary:          #3D2B1F;
  --color-cta:              #F56363;
  --color-cta-hover:        #E04444;
  --color-accent:           #F0C72A;
  --color-therapist:        #514629;
  --color-therapist-soft:   #EDE4D8;
  --color-text-primary:     #514629;
  --color-text-secondary:   #6E5E4F;
  --color-text-muted:       #957F6C;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  color: var(--color-text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
}

/* ---------- Utility ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.section-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
}

/* ============================================================
   BLOCK 1 — HERO
   ============================================================ */
.hero {
  height: 100vh;
  background: linear-gradient(
    to bottom,
    #A3B6D4 0%,
    #A3B6D4 82%,
    #C8B88A 94%,
    #DDD0A0 100%
  );
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* Left side */
.hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 0 0 32px;
}

.hero-logo {
  width: 100%;
  height: auto;
}

/* Right side */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Panels */
.hero-panel {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease;
}

#heroCountdown {
  transform: translateY(0);
  opacity: 1;
}

#heroForm {
  transform: translateY(-100%);
  opacity: 0;
}

#heroCountdown.slide-out {
  transform: translateY(100%);
  opacity: 0;
}

#heroForm.slide-in {
  transform: translateY(0);
  opacity: 1;
}

/* Countdown card */
.countdown-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.10);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 300px;
}

.countdown-headline {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.coming-soon-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: #444;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 8px;
  max-width: 260px;
  word-break: keep-all;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--color-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2.2rem;
  display: block;
  text-align: center;
}

.countdown-label {
  font-size: 0.55rem;
  font-weight: 300;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  text-align: center;
  margin-top: 4px;
}

.countdown-separator {
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1;
}

/* CTA Pill */
.cta-pill {
  background: var(--color-primary);
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  font-family: 'Work Sans', sans-serif;
}

.cta-pill:hover {
  background: #2a1e15;
}

.cta-primary {
  background: var(--color-primary);
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  font-family: 'Work Sans', sans-serif;
}

.cta-primary:hover {
  background: #2a1e15;
}

#heroFirstname,
#heroLastname,
#heroEmail {
  border-radius: 100px;
  border: 1.5px solid var(--color-primary);
  padding: 12px 20px;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
  font-family: 'Work Sans', sans-serif;
  box-sizing: border-box;
}

#heroFirstname:focus,
#heroLastname:focus,
#heroEmail:focus {
  border-color: var(--color-therapist);
}

.back-link {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  font-family: 'Work Sans', sans-serif;
}

.back-link:hover {
  color: var(--color-primary);
}

.hero-checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  max-width: 260px;
}

.hero-checkbox-label input {
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--color-therapist);
}

.hero-checkbox-label a {
  color: var(--color-therapist);
}

.form-message {
  font-size: 0.85rem;
  margin: 0;
  min-height: 1em;
}

/* ============================================================
   BLOCK 2 — STATEMENT
   ============================================================ */
.statement-section {
  background: var(--color-surface-warm);
  padding: 120px 24px;
  text-align: center;
}

.statement-block {
  max-width: 800px;
  margin: 0 auto;
}

.statement-text {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-primary);
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.3;
}

.statement-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.statement-text .word.visible {
  opacity: 1;
  transform: translateY(0);
}

.statement-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.6s ease;
  line-height: 1.65;
}

.statement-sub.visible {
  opacity: 1;
}

/* ============================================================
   BLOCK 3 — SO FUNKTIONIERT ES
   ============================================================ */
.how-section {
  background: var(--color-surface);
  padding: 100px 24px;
  text-align: center;
}

.how-section .section-headline {
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background: var(--color-surface-warm);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.step-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   BLOCK 4 — NEWSLETTER (Käufer)
   ============================================================ */
.newsletter-section {
  background: var(--color-surface-warm);
  padding: 100px 24px;
}

.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner .section-headline {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.newsletter-sub {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1.5px solid #DDD3C8;
  border-radius: 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--color-primary);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-accent);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.btn-primary {
  padding: 14px 28px;
  background: var(--color-cta);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--color-cta-hover);
}

.newsletter-legal {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

.newsletter-legal a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.form-success {
  display: none;
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--color-therapist);
  font-weight: 500;
  margin-top: 12px;
}

/* ============================================================
   BLOCK 5 — THERAPIST CTA
   ============================================================ */
.therapist-section {
  background: var(--color-therapist);
  padding: 100px 24px;
  text-align: center;
}

.therapist-inner {
  max-width: 560px;
  margin: 0 auto;
}

.therapist-section .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.therapist-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  line-height: 1.25;
}

.therapist-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  line-height: 1.65;
}

.therapist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.therapist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  transition: border-color 0.2s;
}

.therapist-form input[type="email"]:focus {
  border-color: var(--color-accent);
}

.therapist-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.therapist-form .btn-accent {
  padding: 14px 28px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.therapist-form .btn-accent:hover {
  background: #e8be20;
  transform: translateY(-1px);
}

.therapist-legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
}

.therapist-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
}

/* ============================================================
   BLOCK 6 — WHY
   ============================================================ */
.why-section {
  background: var(--color-surface);
  padding: 100px 24px;
  text-align: center;
}

.why-inner {
  max-width: 680px;
  margin: 0 auto;
}

.why-section .section-headline {
  margin-bottom: 48px;
}

.why-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.why-list li::before {
  content: '✓';
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cta);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   INSTAGRAM LINK
   ============================================================ */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.instagram-link:hover {
  color: var(--color-primary);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  width: calc(100% - 48px);
  z-index: 999;
  font-family: 'Work Sans', sans-serif;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.cookie-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: var(--color-primary);
  color: white;
}

.cookie-btn--accept:hover {
  background: #2a1e15;
}

.cookie-btn--decline {
  background: var(--color-surface-warm);
  color: var(--color-text-secondary);
}

.cookie-btn--decline:hover {
  background: #EAD9C4;
}

/* ============================================================
   LEGAL LINKS
   ============================================================ */
.legal-links {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.legal-links a {
  color: var(--color-primary);
  transition: color 0.2s;
}

.legal-links a:hover {
  color: #000;
}

.legal-links span {
  color: var(--color-text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 100vh;
    padding: 60px 24px;
    gap: 40px;
  }

  .hero-right {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .hero-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-card-photo {
    width: 80px;
    height: 80px;
  }

  .countdown-number {
    font-size: 1.8rem;
    min-width: 2rem;
  }

  .countdown-separator {
    font-size: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .remind-bubble {
    top: -14px;
    right: 12px;
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .newsletter-form,
  .therapist-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .therapist-form input[type="email"] {
    min-width: unset;
    width: 100%;
  }
}
