/* ============================================
   Ina's Tanzgefühl – Landingpage Stylesheet
   Farbpalette: Sonnengelb, Himmelblau, Weiß
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #3a3a3a;
  background: #fffef8;
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Farb-Variablen --- */
:root {
  --gold: #d4a843;
  --gold-light: #f5e6b8;
  --gold-bg: #fdf8ec;
  --blue: #7bb8d4;
  --blue-light: #d0eaf5;
  --blue-bg: #eef7fc;
  --white: #fffef8;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --shadow: rgba(0, 0, 0, 0.08);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  font-weight: 400;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}

p {
  margin-bottom: 1em;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
}

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

section {
  padding: 5rem 0;
}

/* --- Abwechselnde Hintergründe --- */
.bg-white { background: var(--white); }
.bg-gold  { background: var(--gold-bg); }
.bg-blue  { background: var(--blue-bg); }

/* =============================
   NAVIGATION
   ============================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 254, 248, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px var(--shadow);
  transition: background 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.nav-brand {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================
   HERO
   ============================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 254, 248, 0.3) 0%,
    rgba(255, 254, 248, 0.6) 50%,
    rgba(255, 254, 248, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--text);
  margin-bottom: 0.4em;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.6);
}

.hero h1 span {
  color: var(--gold);
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

.btn-primary:hover {
  background: #c09830;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

/* =============================
   ÜBER MICH
   ============================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  border-radius: 16px;
  box-shadow: 0 8px 30px var(--shadow);
}

.about-text h2 {
  position: relative;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  border-radius: 2px;
}

.about-text blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
}

/* =============================
   ANGEBOTE
   ============================= */
.angebote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.angebot-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.angebot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.angebot-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.angebot-card h3 {
  color: var(--gold);
}

.angebot-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* =============================
   KINDERTANZEN
   ============================= */
.kinder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.kinder-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.kinder-gallery img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: 180px;
  box-shadow: 0 4px 16px var(--shadow);
}

.kinder-gallery img:first-child {
  grid-column: 1 / -1;
  height: 220px;
}

.kinder-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  border-radius: 2px;
}

/* =============================
   GALERIE
   ============================= */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.galerie-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.galerie-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Klickbare Bilder */
.galerie-grid img,
.kinder-gallery img,
.about-image img {
  cursor: pointer;
}

/* =============================
   LIGHTBOX
   ============================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  padding: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-img {
  display: block;
  max-width: 85vw;
  max-height: 84vh;
  border-radius: 8px;
  object-fit: contain;
  animation: lightbox-fadein 0.25s ease;
}

@keyframes lightbox-fadein {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2001;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2001;
}

.lightbox-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* Lightbox Mobil */
@media (max-width: 640px) {
  .lightbox-wrap {
    padding: 5px;
    max-width: 95vw;
  }

  .lightbox-img {
    max-width: 92vw;
    max-height: 80vh;
  }

  .lightbox-close {
    top: -14px;
    right: -14px;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .lightbox-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* =============================
   WEG ZU DIR
   ============================= */
.weg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}

.weg-step {
  position: relative;
}

.weg-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.weg-step h3 {
  color: var(--text);
  font-size: 1.1rem;
}

.weg-step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* =============================
   KONTAKT / CTA
   ============================= */
.kontakt-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.kontakt-wrapper h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.5rem auto 1.2rem;
  border-radius: 2px;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  align-items: center;
}

.kontakt-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
}

.kontakt-item .icon {
  font-size: 1.3rem;
}

.kontakt-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* =============================
   FOOTER
   ============================= */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer a {
  color: var(--gold-light);
}

.footer a:hover {
  color: var(--gold);
}

/* =============================
   MOBILE OVERLAY (Grundzustand)
   ============================= */
.mobile-overlay {
  display: none;
  pointer-events: none;
}

/* =============================
   SCROLL-TO-TOP
   ============================= */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #c09830;
  transform: translateY(-2px);
}

/* =============================
   RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 900px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero h1 { font-size: 2.4rem; }

  .about-grid,
  .kinder-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .kinder-gallery {
    order: -1;
  }

  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galerie-grid img {
    height: 220px;
  }
}

/* Mobil */
@media (max-width: 640px) {
  html { font-size: 15px; }

  section { padding: 3.5rem 0; }

  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.05rem; }

  /* Hamburger-Menü */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px var(--shadow);
    transition: right 0.35s ease;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s;
  }

  .mobile-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .galerie-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .galerie-grid img {
    height: 160px;
  }

  .kinder-gallery img {
    height: 150px;
  }

  .kinder-gallery img:first-child {
    height: 180px;
  }

  .weg-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .kontakt-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Sehr klein */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.7rem; }
  .weg-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: 1fr; }
  .galerie-grid img { height: 220px; }
}

/* ============================================
   Termine-Bereich (Nächste Termine)
   ============================================ */
.termine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.termin-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 4px solid #F2C744;
}

.termin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.termin-datum {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5BA3C9;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.termin-uhrzeit {
  color: #8B8B8B;
  font-weight: 400;
  text-transform: none;
}

.termin-titel {
  font-size: 1.15rem;
  color: #3a3a3a;
  margin-bottom: 0.4rem;
}

.termin-beschreibung {
  font-size: 0.9rem;
  color: #6B6B6B;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.termin-ort {
  font-size: 0.85rem;
  color: #8B8B8B;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .termine-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Blog-Hinweis-Banner (Startseite)
   ============================================ */
.blog-hinweis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, #FFF3D0 0%, #FDEAB6 100%);
  text-decoration: none;
  color: #8B6914;
  transition: all 0.25s ease;
  cursor: pointer;
}

.blog-hinweis:hover {
  background: linear-gradient(135deg, #FDEAB6 0%, #F5D98A 100%);
  color: #6B4F0E;
}

.blog-hinweis-text {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.blog-hinweis-pfeil {
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.blog-hinweis:hover .blog-hinweis-pfeil {
  transform: translateX(5px);
}
