/* ============================================
   DESIGN-SYSTEM TOKENS
   ============================================ */
:root {
  --color-bg-main: #FFFFF0;
  --color-bg-alt-1: #FDF5E6;
  --color-bg-alt-2: #EBEAEB;
  --color-text: #5C5751;
  --color-accent: #BD957A;
  --color-accent-hover: #A87F63;

  --font-headline: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;

  --radius: 12px;
  --shadow-soft: 0 8px 30px rgba(92, 87, 81, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg-main);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 16px 34px;
  min-height: 48px;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFF0;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent-hover);
  outline-offset: 3px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background-color: var(--color-bg-main);
  padding: 64px 0 56px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.headline {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  margin: 0 0 20px;
  color: var(--color-text);
}

.subheadline {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.9;
  margin: 0 0 32px;
  max-width: 46ch;
}

.trust-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

.social-proof {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.social-proof .stars { color: var(--color-accent); letter-spacing: 2px; }

.hero-video {
  display: flex;
  justify-content: center;
}

.video-frame {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  max-width: 580px;
  width: 100%;
  transition: transform 0.3s ease;
}

.video-frame:hover,
.video-frame:focus-visible {
  transform: scale(1.015);
}

.video-frame img {
  width: 100%;
  height: auto;
  display: block;
  /* Kein Rahmen/Schatten/Radius mehr: das Foto hat transparenten
     Hintergrund und verschmilzt direkt mit der Seitenfarbe. */
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 72px 0;
}

.section-alt-1 { background-color: var(--color-bg-alt-1); }
.section-alt-2 { background-color: var(--color-bg-alt-2); }
.section-cta   { background-color: var(--color-bg-main); text-align: center; }

.intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
  margin: 0;
}

.section-title {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin: 0 0 48px;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  background-color: var(--color-bg-main);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.benefit-card h3 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.benefit-card p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-lead {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 500;
  margin: 0 0 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-bg-alt-2);
  padding: 32px 0 90px;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.footer-links a {
  color: var(--color-text);
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover { opacity: 1; text-decoration: underline; }

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-bg-main);
  padding: 12px 16px;
  box-shadow: 0 -6px 20px rgba(92, 87, 81, 0.15);
  display: none;
  text-align: center;
}

.btn-sticky {
  width: 100%;
  text-align: center;
}

/* ============================================
   FADE-IN SCROLL ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE — MOBILE FIRST ADJUSTMENTS
   ============================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .subheadline { margin-left: auto; margin-right: auto; }

  .hero-video { order: -1; }
  .video-frame { max-width: 440px; }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .sticky-cta { display: block; }

  body { padding-bottom: 76px; } /* space for sticky CTA */
}

@media (max-width: 480px) {
  .hero { padding: 40px 0 32px; }
  .section { padding: 52px 0; }
  .benefit-card { padding: 30px 22px; }
}

/* ============================================
   VIDEO-SEITE (video-ansehen.html)
   ============================================ */
.video-page-hero {
  padding: 64px 0 56px;
  text-align: center;
}

.video-page-subheadline {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.video-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: var(--color-bg-alt-2);
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.call-cta-text {
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto 32px;
  opacity: 0.9;
}
