/* ============================================
   BodenseeStimme – Landingpage
   Stark optimiert für Mobile
   ============================================ */

:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-border: #e2e8f0;

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --container: 1100px;
  --space-section: clamp(2.8rem, 7vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== HERO ========== */
.hero {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-grid > * { min-width: 0; }

.hero-content {
  width: 100%;
  max-width: 100%;
}

/* ===== ÜBERSCHRIFT ===== */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin-bottom: 1.1rem;
  line-height: 1.1;
}

.hero-title-main {
  font-size: clamp(1.75rem, 4.8vw, 2.7rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  font-family: 'Inter', system-ui, sans-serif;
}

.hero-title-accent {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.1rem, 5.8vw, 3.4rem);
  font-weight: 400;
  color: #2563eb;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-top: 0.05em;
  position: relative;
  display: inline-block;
}

.hero-title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #93c5fd);
  border-radius: 2px;
  opacity: 0.55;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  max-width: 34rem;
}

.benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  font-size: 0.98rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-cover {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 280px;
  width: 100%;
}

.pdf-cover img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.coach-photo {
  position: absolute;
  bottom: -14px;
  right: 6%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow);
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--space-section) 0;
}

.section-title {
  font-size: clamp(1.45rem, 3.5vw, 1.95rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--color-border);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.card-learn p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.good-news {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.good-news-label {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.good-news-text {
  font-size: 1.15rem;
  font-weight: 500;
}

/* About */
.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-content h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 0.9rem;
  color: var(--color-text-muted);
}

.about-content p:last-of-type {
  margin-bottom: 1.4rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.38rem 0.8rem;
  background: #eff6ff;
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  border: 1px solid #bfdbfe;
}

/* Testimonials */
.testimonials {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.testimonial {
  background: white;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--color-border);
}

.stars {
  color: #f59e0b;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.testimonial p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.testimonial cite {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 500;
}

/* Final CTA */
.cta-final {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  text-align: center;
  padding: 3.5rem 0;
}

.cta-final h2 {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  margin-bottom: 0.6rem;
}

.cta-text {
  font-size: 1.05rem;
  opacity: 0.93;
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: inline-block;
  background: white;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.95rem 1.9rem;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-decoration: none;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
}

.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: white; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== BREVO FORMULAR ========== */
.sib-form,
#sib-form-container,
#sib-container {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sib-form {
  overflow: hidden;
  border-radius: 10px;
}

.sib-form-block p {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35 !important;
}

#sib-container .input,
#sib-container .sib-form-block__button {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.g-recaptcha {
  transform-origin: left top;
}

/* ========== RESPONSIVE – stark optimiert ========== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
    max-width: 260px;
    margin: 0 auto 0.5rem;
  }

  .coach-photo {
    width: 100px;
    height: 100px;
    right: 4%;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .about-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .badges {
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero {
    padding: 1.75rem 0 2.5rem;
  }

  .hero-title {
    margin-bottom: 0.9rem;
  }

  .hero-title-main {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
  }

  .hero-title-accent {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 1.1rem;
  }

  .benefits {
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.3rem;
  }

  .pdf-cover {
    max-width: 220px;
  }

  .coach-photo {
    width: 88px;
    height: 88px;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    margin-bottom: 1.6rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .card {
    padding: 1.25rem 1.1rem;
  }

  .good-news {
    margin-top: 2rem;
    padding: 1.3rem;
  }

  .about-content h2 {
    font-size: 1.45rem;
  }

  .cta-final {
    padding: 2.8rem 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  #sib-container {
    padding: 1.1rem !important;
  }

  .sib-form-block p {
    font-size: 1.15rem !important;
  }
}

@media (max-width: 400px) {
  .hero-title-main {
    font-size: 1.55rem;
  }

  .hero-title-accent {
    font-size: 1.85rem;
  }

  .g-recaptcha {
    transform: scale(0.9);
  }
}

@media (max-width: 340px) {
  .g-recaptcha {
    transform: scale(0.8);
  }
}