/* ============================================================
   HOCHZEITSBÜSSLI — Vintage Design System
   Palette: Cream / Rust / Warm Brown / Espresso
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Redressed&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --cream:       #F5EFE6;
  --cream-dark:  #EDE4D6;
  --sand:        #D9CCBA;
  --rust:        #A84E2B;
  --rust-light:  #C8623A;
  --rust-dark:   #7A3318;
  --brown:       #6B4C35;
  --brown-light: #9C7B60;
  --espresso:    #2C1810;
  --white:       #FFFDF9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Lato', sans-serif;
  --font-body:    'Lato', Helvetica, sans-serif;

  --radius: 2px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; }
h3 { font-size: 1.35rem; font-weight: 600; }

.script { font-family: var(--font-script); font-size: 1em; font-weight: 300; letter-spacing: 0.04em; color: var(--rust); }

p { margin-bottom: 1rem; }
a { color: var(--rust); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rust-dark); }
strong { font-weight: 700; }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0 2rem;
  color: var(--sand);
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand);
}
.divider span { font-size: 1.1rem; color: var(--rust); }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--espresso);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-brand {
  font-family: 'Redressed', cursive;
  font-size: 2.2rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.nav-brand:hover { color: var(--sand); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--rust);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after {
  width: 100%;
  left: 0;
}
.nav-links a.active::after {
  width: 100%;
  left: 0;
  height: 2px;
  background: var(--rust);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--sand);
  transition: var(--transition);
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--espresso);
    padding: 1rem 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.07); }
  .nav-links a { display: block; padding: 0.75rem 0; }
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--espresso);
}
.hero-slides { height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) sepia(0.25);
  transform: scale(1.08);
  transition: transform 8s ease, opacity 0s;
}
.hero-slide.active img {
  transform: scale(1);
  transition: transform 8s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 24, 16, 0.25) 0%,
    rgba(44, 24, 16, 0.05) 40%,
    rgba(44, 24, 16, 0.55) 100%
  );
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 680px;
}
.hero-content .eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-content h1 {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-content p {
  font-size: 1.05rem;
  opacity: 1;
  margin-bottom: 2rem;
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  letter-spacing: 0.02em;
}
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero-dot {
  width: 24px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot.active {
  background: var(--rust);
  width: 40px;
}
/* Progress Bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--rust);
  width: 0%;
  opacity: 0.8;
}
.hero-progress.running {
  animation: heroProgress 5s linear forwards;
}
@keyframes heroProgress {
  from { width: 0% }
  to   { width: 100% }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-primary:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--rust);
  border-color: var(--rust);
}
.btn-outline:hover {
  background: var(--rust);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--espresso);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--rust);
}

/* ── Sections ── */
section { padding: 5rem 0; }
.section-bg { background: var(--cream-dark); }
.section-dark { background: var(--espresso); color: var(--cream); }
.section-dark h2 { color: var(--white); }
.section-dark .script { color: var(--sand); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.4rem; }
.section-header p { color: var(--brown-light); font-size: 1rem; }

/* ── Intro Strip ── */
.intro-strip {
  background: var(--cream-dark);
  border-top: 3px solid var(--rust);
  border-bottom: 1px solid var(--sand);
  padding: 3rem 1.5rem;
  text-align: center;
}
.intro-strip .script { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.intro-strip p { max-width: 640px; margin: 0.75rem auto 1.5rem; color: var(--brown); }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 2.5rem 2rem;
  text-align: center;
}
.card h3 { font-family: var(--font-display); margin-bottom: 0.75rem; }
.card p { color: var(--brown); font-size: 0.95rem; }
.card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--rust);
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover {
  box-shadow: 0 8px 30px rgba(44,24,16,0.12);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: var(--rust);
  border-width: 2px;
}
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rust);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
}
.pricing-duration {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--rust);
  line-height: 1;
  margin: 1rem 0;
}
.pricing-price span { font-size: 1rem; color: var(--brown-light); }
.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--brown);
}
.pricing-features li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.pricing-features li:last-child { border-bottom: none; }

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.service-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.service-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.service-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--brown);
}
.service-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--cream-dark);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--rust);
}
.service-item h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.3rem; }
.service-item p { font-size: 0.9rem; color: var(--brown); margin: 0; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: sepia(0.15) brightness(0.95);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: sepia(0) brightness(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 3px solid rgba(255,255,255,0.1);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(44,24,16,0.5);
  border: none;
  color: var(--white);
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ── Bulli Facts ── */
.facts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .facts-layout { grid-template-columns: 1fr; } }

.facts-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.2);
}
.facts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.facts-table tr {
  border-bottom: 1px solid var(--sand);
}
.facts-table td {
  padding: 0.7rem 0;
  font-size: 0.95rem;
}
.facts-table td:first-child {
  font-weight: 700;
  color: var(--rust);
  width: 45%;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ── Contact Form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--brown);
}
input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--sand);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rust);
}
textarea { resize: vertical; min-height: 140px; }

.contact-info { padding-top: 0.5rem; }
.contact-info h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--brown);
}
.contact-detail span:first-child { color: var(--rust); font-size: 1.1rem; }

/* Form success */
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  padding: 1.5rem;
  text-align: center;
  color: #1b5e20;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--espresso);
  color: var(--cream);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-banner .script { color: var(--sand); font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.cta-banner p { max-width: 540px; margin: 1rem auto 2rem; opacity: 0.8; }

/* ── CTA mit Parallax-Bild ── */
.cta-parallax {
  position: relative;
  padding: 7rem 1.5rem;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;   /* Parallax desktop */
  overflow: hidden;
}
.cta-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 14, 8, 0.62);
}
.cta-parallax > * { position: relative; z-index: 1; }
.cta-parallax .script { color: var(--sand); font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.cta-parallax p { max-width: 540px; margin: 1rem auto 2rem; opacity: 0.88; }
/* Mobile: kein fixed (iOS scrolling bug) */
@media (max-width: 768px) {
  .cta-parallax { background-attachment: scroll; }
}

/* ── Florian Portrait Slot ── */
.florian-slot {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: sepia(0.1) brightness(0.96);
}
.florian-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  border: 2px dashed var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--brown-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

/* ── Footer ── */
.site-footer {
  background: #1a0f09;
  color: var(--sand);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}
.site-footer .script { color: var(--rust-light); font-size: 2.2rem; display: block; margin-bottom: 1.5rem; }
.site-footer p { font-size: 0.85rem; opacity: 0.6; }
.site-footer a { color: var(--sand); opacity: 0.7; }
.site-footer a:hover { opacity: 1; color: var(--cream); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }

/* ── Page Header ── */
.page-header {
  background: var(--espresso);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
/* Hintergrundbild-Variante für Unterseiten */
.page-header--img {
  background-color: var(--espresso);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.page-header--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 9, 4, 0.78);
  z-index: 0;
}
.page-header--img .container--narrow {
  position: relative;
  z-index: 1;
}
.page-header--img::after {
  z-index: 1;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: var(--rust);
}
.page-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
  display: block;
  margin-bottom: 0.75rem;
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }

/* ── Impressum ── */
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--rust-dark);
}
.legal-content p, .legal-content li { color: var(--brown); font-size: 0.95rem; }

/* ============================================================
   MOBILE-FIRST OVERRIDES — max-width: 700px
   ============================================================ */

@media (max-width: 700px) {

  /* ── Base ── */
  body { font-size: 16px; line-height: 1.65; }

  /* ── Sections ── */
  section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-bg { padding: 2.5rem 0; }

  /* ── Navigation ── */
  .nav-brand { font-size: 1.7rem; }
  .nav-inner { padding: 0.85rem 1.25rem; }

  /* ── Hero ── */
  .hero { height: 88vh; }
  .hero-content { width: 92%; }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }

  /* ── Page Header (Unterseiten) ── */
  .page-header { padding: 3rem 1.25rem 2.25rem; }
  .page-header h1 { font-size: 1.75rem; }

  /* ── Intro Strip ── */
  .intro-strip { padding: 2rem 1.25rem; }
  .intro-strip .script { font-size: 1.6rem; }
  .intro-strip p { font-size: 0.95rem; }

  /* ── Buttons ── */
  .btn { padding: 0.75rem 1.5rem; font-size: 0.8rem; }

  /* ── Cards ── */
  .card { padding: 1.75rem 1.25rem; }
  .card-grid { gap: 1.25rem; }

  /* ── Pricing ── */
  .pricing-grid { gap: 1.5rem; }
  .pricing-card { padding: 1.75rem 1.25rem; }
  .pricing-price { font-size: 2.2rem; }

  /* ── Services ── */
  .services-grid { gap: 1.5rem; }

  /* ── Gallery ── */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  /* ── Mieten: Florian-Bild Layout ── */
  .mieten-cta-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .florian-slot { aspect-ratio: 4/3; }

  /* ── Bulli Facts ── */
  .facts-layout { gap: 2rem; }
  .facts-table td { font-size: 0.88rem; padding: 0.5rem 0; }

  /* ── Contact ── */
  .contact-layout { gap: 2.5rem; }
  .contact-info { order: -1; }

  /* ── CTA Banner ── */
  .cta-banner { padding: 3rem 1.25rem; }
  .cta-banner .script { font-size: 1.8rem; }
  .cta-banner p { font-size: 0.95rem; margin-bottom: 1.5rem; }

  /* ── CTA Parallax ── */
  .cta-parallax { padding: 4rem 1.25rem; background-attachment: scroll; }
  .cta-parallax .script { font-size: 1.8rem; }
  .cta-parallax p { font-size: 0.95rem; margin-bottom: 1.5rem; }

  /* ── Footer ── */
  .site-footer { padding: 2.5rem 1.25rem 1.5rem; }
  .site-footer .script { font-size: 1.8rem; margin-bottom: 1.25rem; }
  .footer-links { gap: 0.85rem; font-size: 0.82rem; }

  /* ── Lightbox ── */
  .lightbox-prev { left: 0.25rem; padding: 0.6rem; }
  .lightbox-next { right: 0.25rem; padding: 0.6rem; }
}

@media (max-width: 400px) {
  .nav-brand { font-size: 1.5rem; }
  .hero-content h1 { font-size: 2.4rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONEN — bewusst & dosiert
   ============================================================ */

/* ── Page Fade-In ── */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageFadeIn 0.4s ease forwards;
}

/* ── Hero Entrance (gestaffelt) ── */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-content .eyebrow {
  opacity: 0;
  animation: heroFade 0.7s ease 0.35s forwards;
}
.hero-content h1 {
  opacity: 0;
  animation: heroUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s forwards;
}
.hero-content p {
  opacity: 0;
  animation: heroFade 0.7s ease 1s forwards;
}
.hero-buttons,
.hero-content > .btn {
  opacity: 0;
  animation: heroUp 0.6s ease 1.25s forwards;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gestaffelt für Kinder (z.B. Cards in einer Reihe) */
.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-group.is-visible > *:nth-child(1)  { transition-delay: 0s;     opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(2)  { transition-delay: 0.08s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(3)  { transition-delay: 0.16s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(4)  { transition-delay: 0.24s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(5)  { transition-delay: 0.32s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(6)  { transition-delay: 0.40s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(7)  { transition-delay: 0.48s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(8)  { transition-delay: 0.52s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(9)  { transition-delay: 0.56s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(10) { transition-delay: 0.60s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(11) { transition-delay: 0.64s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(12) { transition-delay: 0.68s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(13) { transition-delay: 0.72s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(14) { transition-delay: 0.76s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(15) { transition-delay: 0.80s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(16) { transition-delay: 0.84s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(n+17) { transition-delay: 0.88s; opacity: 1; transform: none; }

/* ── Reduced Motion: alles ausschalten ── */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content p,
  .hero-buttons,
  .hero-content > .btn { opacity: 1; animation: none; }
  .reveal, .reveal-group > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Instagram Feed (simuliert) ── */
.insta-section { background: var(--cream-dark); padding: 3rem 0; }

.insta-promo {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--cream);
  border: 1px solid var(--rust-light, #c8a882);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.insta-promo-icon {
  flex-shrink: 0;
  color: var(--rust);
  opacity: 0.85;
}
.insta-promo-text {
  flex: 1;
}
.insta-promo-text h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--espresso);
  margin-bottom: 0.3rem;
}
.insta-promo-text p {
  font-size: 0.92rem;
  color: var(--brown-light);
  margin: 0;
}
.insta-promo-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .insta-promo {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.2rem;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--sand);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  opacity: 0.7;
  text-decoration: none;
}
.footer-social a:hover {
  opacity: 1;
  border-color: var(--rust);
  color: var(--rust-light);
  background: rgba(168,78,43,0.1);
}
