/* ===========================================
   Küchen Dyck – Landing / Content Styles
   Ergänzt style.css (Funnel bleibt unverändert)
   =========================================== */

/* ── Body-Layout für lange Seite umstellen ──
   style.css zentriert den Body als Flex-Spalte. Für die Landingpage
   brauchen wir normalen Blockfluss, damit Sektionen full-bleed stacken.
   Die Hero-Sektion übernimmt das Zentrieren des Funnels. */
body.landing {
  display: block;
  align-items: initial;
  padding: 0;
}

/* Der fixierte Hintergrund-Slider bleibt nur hinter der Hero sichtbar;
   Content-Sektionen bekommen eigene, deckende Hintergründe. */

/* ── Hero (Header + Funnel) ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 4rem;
}

.hero .site-header {
  margin-bottom: 0.5rem;
}

/* Kurzer Einleitungstext über dem Funnel */
.hero-lead {
  position: relative;
  z-index: 1;
  max-width: 572px;
  text-align: center;
  margin: 0 auto 1.6rem;
  padding: 0 0.5rem;
}

.hero-lead h1 {
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.hero-lead h1 strong {
  color: var(--gold);
  font-weight: 500;
}

.hero-lead p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto;
}

/* Scroll-Hinweis unter dem Funnel */
.scroll-hint {
  position: relative;
  z-index: 1;
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-dim);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.scroll-hint:hover { color: var(--gold); }

.scroll-hint svg {
  width: 20px;
  height: 20px;
  animation: scroll-bob 2s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* ── Content-Sektionen ── */
.content-section {
  position: relative;
  z-index: 1;
  background: var(--green);
  padding: 5rem 1.5rem;
}

.content-section.alt {
  background: var(--green-dark);
}

.content-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Abschnitts-Überschrift (zentriert, z.B. für Themen-Intro) */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: 0.01em;
}

.section-heading p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* ── 50 / 50 Reihe (Bild + Text) ── */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  padding: 3.25rem 0;
  border-top: 1px solid rgba(197, 169, 107, 0.14);
}

.content-row:first-of-type { border-top: none; }

/* Positionswechsel: bei .reverse wandert das Bild nach rechts */
.content-row.reverse .row-media { order: 2; }
.content-row.reverse .row-text  { order: 1; }

.row-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}

.row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0, 0.2, 1);
}

.content-row:hover .row-media img { transform: scale(1.04); }

/* dezenter Rand-Verlauf auf dem Bild */
.row-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(45, 63, 55, 0.15), rgba(45, 63, 55, 0));
  pointer-events: none;
}

.row-text .row-eyebrow {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.row-text h3 {
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
}

.row-text p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  margin-bottom: 1rem;
}

.row-text p:last-child { margin-bottom: 0; }

.row-text ul {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.row-text li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.row-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

/* ── Über uns: Statistik-Reihe ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(197, 169, 107, 0.04);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ── CTA-Band (zurück zum Funnel) ── */
.cta-band {
  position: relative;
  z-index: 1;
  background: var(--green-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.9rem;
}

.cta-band h2 strong { color: var(--gold); font-weight: 500; }

.cta-band p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.cta-button:hover { background: var(--gold-light); transform: translateY(-1px); }
.cta-button:active { transform: translateY(0); }

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--green-dark);
  padding: 3.5rem 1.5rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo-wrap { margin-bottom: 1.1rem; }

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a,
.footer-col button,
.footer-col span {
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.footer-col a:hover,
.footer-col button:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1120px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ── Reveal-on-scroll ──
   Nur ausblenden, wenn JS aktiv ist (Klasse js-reveal am <html>).
   Ohne JS bleibt der Inhalt sichtbar – wichtig für SEO & Barrierefreiheit. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
}

.js-reveal .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint svg { animation: none; }
}

/* ══════════════════════════════
   Responsive – Tablet (≤ 900px)
   ══════════════════════════════ */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ══════════════════════════════
   Responsive – Mobile (≤ 720px)
   ══════════════════════════════ */
@media (max-width: 720px) {
  .content-section { padding: 3.5rem 1.25rem; }

  .content-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.5rem 0;
  }

  /* Bei gestapelter Ansicht steht das Bild immer oben */
  .content-row.reverse .row-media { order: 1; }
  .content-row.reverse .row-text  { order: 2; }

  .section-heading { margin-bottom: 2.5rem; }
  .section-heading h2 { font-size: 1.5rem; }
  .row-text h3 { font-size: 1.35rem; }
  .cta-band h2 { font-size: 1.4rem; }

  .hero-lead h1 { font-size: 1.3rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .content-section { padding: 3rem 1.1rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat { padding: 1.1rem 0.5rem; }
  .stat-number { font-size: 1.6rem; }
  .hero { padding: 1.5rem 0.75rem 3rem; }
}
