/* ============================================
   WILDE KREATIV OASE — Main Stylesheet
   To swap images: replace files in /images/
   ============================================ */

@font-face {
  font-family: 'RightBeginning';
  src: url('../fonts/RightBeginning-PersonalUse.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

:root {
  --coral:      #D96B55;
  --coral-dark: #B85540;
  --mustard:    #C89A2E;
  --sage:       #7A9068;
  --teal:       #5B8A8A;
  --mint:       #7ECEC4;
  --lachsrose:  #D4967A;
  --warm-white: #F5EFE8;
  --dark:       #2C2416;
  --text:       #3D3228;
  --font-script: 'Dancing Script', cursive;
  --font-logo:   'RightBeginning', 'Dancing Script', cursive;
  --font-serif:  'Playfair Display', serif;
  --font-body:   'Lato', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-weight: normal; }

.script { font-family: var(--font-script); }
.serif  { font-family: var(--font-serif); }

.section-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.body-text {
  font-size: 0.95rem;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 14px;
}
.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
  display: block;
}
.divider {
  width: 44px; height: 2px;
  background: currentColor;
  opacity: 0.3;
  margin: 18px 0 22px;
}
.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 10px;
}
.quote-author {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 10px 26px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid currentColor;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  margin-top: 18px;
  align-self: flex-start;
  background: transparent;
}
.btn-light { color: var(--warm-white); border-color: rgba(245,239,232,0.55); }
.btn-light:hover { background: var(--warm-white); color: var(--dark); border-color: var(--warm-white); }
.btn-dark  { color: var(--dark); border-color: rgba(44,36,22,0.45); }
.btn-dark:hover  { background: var(--dark); color: var(--warm-white); border-color: var(--dark); }
.btn-coral { color: var(--coral); border-color: var(--coral); }
.btn-coral:hover { background: var(--coral); color: var(--warm-white); }

/* ---- NAVIGATION ---- */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: rgba(44,36,22,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: padding 0.3s;
}
#main-nav.scrolled { padding: 10px 48px; }
.nav-logo {
  font-family: var(--font-logo);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--warm-white);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(245,239,232,0.8);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.22s;
}
.nav-links a:hover { color: var(--warm-white); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--warm-white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-mobile.open { display: flex; opacity: 1; }
.nav-mobile a {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--warm-white);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--coral); }

/* ---- HERO ---- */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-ruin.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
#hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--warm-white);
  padding: 0 20px;
}
.hero-title {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 1.05;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-title em { color: var(--coral); font-style: normal; }
.hero-title em.mint { color: #fff; font-style: normal; }
.hero-subtitle-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 32px;
}
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 44px;
}
.hero-nav a {
  font-family: var(--font-script);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: rgba(245,239,232,0.88);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-nav a:hover { color: var(--mustard); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,239,232,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { opacity: 0.5; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ---- SECTION LAYOUTS ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.content-pad {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- PHOTO BLOCKS ---- */
.photo-block {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.photo-block img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.split-section:hover .photo-block img { transform: scale(1.03); }

/* ---- COLOR VARIANTS ---- */
.bg-coral      { background: var(--coral); }
.bg-mustard    { background: var(--mustard); }
.bg-sage       { background: var(--sage); }
.bg-teal       { background: var(--teal); }
.bg-beige      { background: var(--beige); }
.bg-dark       { background: var(--dark); }
.bg-warm-white { background: var(--warm-white); }
.text-light    { color: var(--warm-white); }
.text-dark     { color: var(--dark); }
.text-coral    { color: var(--coral); }
.text-mustard  { color: var(--mustard); }

/* ---- NATURKINDER SLIDESHOW ---- */
.bg-lachsrose { background: var(--lachsrose); }

/* Slideshow white surround */
.slideshow-wrap {
  background: var(--warm-white);
  padding: 28px 0;
}
#naturkinder-slideshow {
  position: relative;
  width: 80%;
  margin: 0 auto;
  background: var(--warm-white);
}
#naturkinder-slideshow .slide {
  display: none;
}
#naturkinder-slideshow .slide.active {
  display: block;
}
#naturkinder-slideshow .slide img {
  width: 100%;
  height: auto;
  display: block;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44,36,22,0.45);
  border: 1px solid rgba(245,239,232,0.25);
  color: var(--warm-white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.slide-btn:hover { background: rgba(44,36,22,0.75); }
.slide-prev { left: -54px; }
.slide-next { right: -54px; }
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(44,36,22,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: var(--dark);
  transform: scale(1.2);
}
@media (max-width: 900px) {
  #naturkinder-slideshow { width: 95%; }
  .slide-prev { left: 8px; }
  .slide-next { right: 8px; }
}

/* ---- TERMINE ---- */
#termine {
  background: var(--beige);
  padding: 80px 0 0;
}
.termine-header {
  text-align: center;
  padding: 0 40px 48px;
}
.termine-header h2 {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--dark);
  margin-bottom: 10px;
}
.termine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(44,36,22,0.1);
}
.termin-card {
  padding: 48px 40px 56px;
  border-right: 1px solid rgba(44,36,22,0.1);
}
.termin-card:last-child { border-right: none; }
.termin-name {
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--coral);
  margin-bottom: 6px;
}
.termin-detail {
  font-size: 0.87rem;
  line-height: 1.75;
  opacity: 0.75;
}
.termin-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sage);
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* Termine category headers */
.termine-kategorie-header {
  background: var(--sage);
  padding: 22px 40px;
}
.termine-kategorie-titel {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--warm-white);
  font-weight: normal;
}
.termine-grid-kinder {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .termine-grid-kinder { grid-template-columns: 1fr; }
  .termine-kategorie-header { padding: 18px 24px; }
}
.intentionen-banner {
  background: var(--teal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 56px 40px;
  gap: 40px;
  margin-top: 0;
}
.intentionen-banner .section-title { color: var(--warm-white); }

/* ---- TESTIMONIAL ---- */
.testimonial-block {
  background: rgba(255,255,255,0.12);
  border-left: 3px solid rgba(245,239,232,0.35);
  padding: 18px 22px;
  margin: 22px 0 8px;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,239,232,0.9);
}
.testimonial-author {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 8px;
  font-style: normal;
}

/* ---- NATURE LIST ---- */
.nature-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 2.1;
  opacity: 0.9;
}
.nature-list li::before { content: '— '; opacity: 0.4; }

/* ---- KONTAKT ---- */
#kontakt .contact-info { margin-bottom: 28px; }
#kontakt .contact-info strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 8px;
}
#kontakt .contact-info a {
  color: var(--coral);
  text-decoration: none;
}
#kontakt .contact-info p {
  font-size: 0.88rem;
  line-height: 1.75;
  opacity: 0.85;
}

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  color: var(--warm-white);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,239,232,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--warm-white); }
.footer-copy {
  font-size: 0.68rem;
  opacity: 0.3;
  letter-spacing: 0.06em;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .content-pad { padding: 48px 36px; }

  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section.reverse { direction: ltr; }
  .photo-block { min-height: 320px; }

  /* Stack photos below text on mobile */
  .split-section .photo-block { order: -1; }

  .termine-grid { grid-template-columns: 1fr; }
  .termin-card { border-right: none; border-bottom: 1px solid rgba(44,36,22,0.1); }
  .termin-card:last-child { border-bottom: none; }

  .intentionen-banner { grid-template-columns: 1fr; }

  footer { flex-direction: column; align-items: flex-start; }

  #main-nav { padding: 14px 24px; }
  #main-nav.scrolled { padding: 10px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3rem; }
  .content-pad { padding: 40px 24px; }
  .termine-header, .termin-card { padding-left: 24px; padding-right: 24px; }
  .intentionen-banner { padding: 40px 24px; }
  footer { padding: 24px; }
}
