/* ============================================================
   whatsapp-nw.css – Projekt Rebhofweg · WhatsApp-Einladung
   Passt zum Novawil-Designsystem (Bebas Neue / DM Sans / grün)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --wa-green:       #2D6A4F;
  --wa-green-mid:   #40916C;
  --wa-accent:      #7aaa50;
  --wa-sage:        #7f9a7b;
  --wa-cream:       #F2F5F0;
  --wa-dark:        #1B3D2F;
  --wa-muted:       #5a7a65;
  --wa-wa:          #25D366;   /* Original WhatsApp-Grün */
  --wa-wa-dark:     #128C7E;
  --wa-card-bg:     #ffffff;
  --wa-cta-bg:      #eef7ee;
  --wa-radius:      1rem;
  --wa-shadow:      0 4px 24px rgba(45, 106, 79, 0.10);
  --wa-max:         680px;
}

/* ── Reset / Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--wa-cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--wa-dark);
  line-height: 1.65;
}

/* ── Hero ────────────────────────────────────────────────────── */
.wa-hero {
  background: linear-gradient(145deg, var(--wa-green) 0%, var(--wa-green-mid) 60%, var(--wa-accent) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(1.4rem, 4vw, 2.5rem) 1.5rem clamp(1.2rem, 3.5vw, 2rem);
}

.wa-hero__inner {
  max-width: var(--wa-max);
  margin: 0 auto;
}

.wa-hero__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.6rem, 7vw, 3.5rem);
  height: clamp(2.6rem, 7vw, 3.5rem);
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50%;
  margin-bottom: 0.65rem;
  /* backdrop-filter: blur(8px); */
}

.wa-hero__wa-icon {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  color: #fff;
}

.wa-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  line-height: 1;
  margin: 0 0 0.3rem;
  letter-spacing: 0.02em;
  white-space: nowrap;   /* Desktop: eine Zeile */
}

.wa-hero__title-accent {
  color: rgba(255,255,255,.75);
}

/* Mobile: Zeilenumbruch wieder erlauben */
@media (max-width: 480px) {
  .wa-hero__title {
    white-space: normal;
  }
}

.wa-hero__sub {
  margin: 0;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ── Main wrapper ────────────────────────────────────────────── */
.wa-main {
  max-width: var(--wa-max);
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 2rem) clamp(0.8rem, 3vw, 1.5rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Card base ───────────────────────────────────────────────── */
.wa-card {
  background: var(--wa-card-bg);
  border-radius: var(--wa-radius);
  box-shadow: var(--wa-shadow);
  padding: clamp(1.2rem, 4vw, 1.8rem) clamp(1.2rem, 4vw, 1.8rem);
}

.wa-card p { margin: 0; }
.wa-mt     { margin-top: 0.75rem; }

/* Intro card: icon left + text right */
.wa-card--intro {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.wa-card__icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.5rem;
  background: var(--wa-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

/* CTA card */
.wa-card--cta {
  background: var(--wa-cta-bg);
  border-left: 4px solid var(--wa-green);
}

.wa-cta__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.wa-cta__bell {
  color: var(--wa-green);
  font-size: 1.25rem;
}

/* Steps */
.wa-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.wa-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.wa-step__num {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.wa-step p { margin: 0; line-height: 1.5; }

/* WhatsApp button */
.wa-btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  gap: 0.55rem;
  background: var(--wa-wa);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 0.6rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}


.wa-interessierte {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  padding-top: 0.75rem;
}


.wa-btn:hover {
  background: var(--wa-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
  text-decoration: none;
}

.wa-btn i { font-size: 1.3em; }

/* QR card */
.wa-card--qr {
  text-align: center;
}

.wa-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--wa-green);
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
}

.wa-qr__sub {
  color: var(--wa-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem !important;
}

.wa-qr__frame {
  display: inline-block;
  padding: 0.75rem;
  background: #fff;
  border: 2px solid #e0ede5;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.wa-qr__frame img {
  display: block;
  width: clamp(160px, 45vw, 220px);
  height: auto;
  border-radius: 0.35rem;
}

/* Closing card */
.wa-card--closing {
  text-align: center;
  background: var(--wa-green);
  color: rgba(255,255,255,.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.wa-closing__icon {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--wa-accent);
}

.wa-team {
  margin-top: 0.25rem !important;
  font-size: 0.95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
}

.wa-team strong {
  color: #fff;
}

/* ── Footer ──────────────────────────────────────────────────── */
.wa-footer {
  text-align: center;
  padding: 1.75rem 1rem 2.5rem;
  color: var(--wa-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.wa-footer i {
  color: var(--wa-wa);
  font-size: 1.1em;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 520px) {
  .wa-card--intro {
    flex-direction: column;
    gap: 0.75rem;
  }

  .wa-card__icon {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
  }
}
