/* ============================================================
   Erbsengrund – Straussenwirtschaft & Erlebnis-Bauernhof
   Stylesheet  |  style.css
   ============================================================ */

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

:root {
  --green-dark:  #2d5a27;
  --green-mid:   #4a8c3f;
  --green-light: #7ab648;
  --orange:      #e07b2a;
  --cream:       #fdf8f0;
  --brown:       #5c3d1e;
  --text:        #2c2c2c;
  --text-light:  #555;
  --white:       #ffffff;
  --shadow:      0 4px 20px rgba(0,0,0,0.12);
  --radius:      12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav-logo img { height: 48px; }

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

.nav-links a {
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh; min-height: 560px;
  overflow: hidden;
  margin-top: 72px;
}

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

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}

.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 0.6rem;
}

.hero-overlay p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  margin-bottom: 0.3rem;
}

.hero-badge {
  margin-top: 1.6rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(224,123,42,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(224,123,42,0.5);
}

/* ── ALLGEMEINE SEKTIONEN ── */
section { padding: 5rem 1.5rem; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-block;
  background: var(--green-light);
  color: var(--white);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 50px;
  margin-bottom: 0.8rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 0.8rem;
}

p { color: var(--text-light); margin-bottom: 1rem; }

/* ── INTRO / STRAUSSENWIRTSCHAFT ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}

.intro-text p { font-size: 1.05rem; }

/* ── GALERIE ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem; margin-top: 2.5rem;
}

.gallery-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 0;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-item img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
  padding: 1rem 0.8rem 0.7rem;
  font-size: 0.85rem; font-weight: 600;
}

/* ── SPEISEKARTE ── */
.speisen-section { background: var(--green-dark); }

.speisen-section h2 { color: var(--white); }

.speisen-section .section-label { background: var(--orange); }

.speisen-section > .container > p { color: rgba(255,255,255,0.8); }

.speisen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}

.speise-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, background 0.2s;
}

.speise-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
}

.speise-icon { font-size: 2.2rem; margin-bottom: 0.6rem; }

.speise-card span {
  display: block;
  color: var(--white);
  font-weight: 600; font-size: 0.95rem;
}

/* ── ÖFFNUNGSZEITEN ── */
.oeffnung-section { background: var(--white); }

.oeffnung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
  margin-top: 2rem;
}

.oeffnung-card {
  background: var(--cream);
  border-left: 4px solid var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.2rem;
}

.oeffnung-card h4 {
  color: var(--green-dark);
  font-weight: 700; margin-bottom: 0.4rem;
}

.oeffnung-card p { margin: 0; font-size: 0.95rem; }

.event-card {
  background: linear-gradient(135deg, var(--orange), #c96a1a);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.event-card h4 { color: var(--white); font-weight: 700; margin-bottom: 0.4rem; }

.event-card p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.95rem; }

.oeffnung-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.oeffnung-img img { width: 100%; display: block; }

/* ── ERLEBNISANGEBOTE / KINDER ── */
.kinder-section { background: #f0f7eb; }

.kinder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}

.kinder-list { list-style: none; margin: 1rem 0 1.5rem; }

.kinder-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text-light);
}

.kinder-list li::before {
  content: '✦';
  color: var(--green-light);
  font-size: 0.7rem;
}

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

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

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


.badge-note {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 700;
  margin-top: 0.5rem;
}

/* ── ANFAHRT ── */
.anfahrt-section { background: var(--white); }

.anfahrt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
  margin-top: 2rem;
}

.anfahrt-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.anfahrt-box h3 { margin-bottom: 1rem; }

.route-item {
  display: flex; gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.route-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white);
}

.route-item p { margin: 0; font-size: 0.95rem; }

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 300px;
}

.map-placeholder iframe {
  width: 100%; height: 100%; min-height: 300px;
  border: 0; display: block;
}

/* ── KONTAKT ── */
.kontakt-section { background: var(--green-dark); }

.kontakt-section h2 { color: var(--white); }

.kontakt-section .section-label { background: var(--orange); color: var(--white); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  margin-top: 2rem;
}

.kontakt-info { color: rgba(255,255,255,0.9); }

.kontakt-info p { color: rgba(255,255,255,0.8); }

.kontakt-detail {
  display: flex; gap: 1rem; align-items: center;
  margin-bottom: 1rem;
}

.kontakt-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.kontakt-detail p { margin: 0; color: rgba(255,255,255,0.9); }

.kontakt-detail a { color: var(--green-light); text-decoration: none; }

.kontakt-detail a:hover { color: var(--orange); }

.kontakt-cta {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 2rem;
}

.kontakt-cta h3 { color: var(--white); margin-bottom: 1rem; }

.kontakt-cta p { color: rgba(255,255,255,0.8); }

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  margin-top: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(224,123,42,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,123,42,0.5);
}

/* ── FOOTER ── */
footer {
  background: #1a3318;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 0.5rem;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .intro-grid,
  .gallery-grid-2col,
  .oeffnung-grid,
  .kinder-grid,
  .anfahrt-grid,
  .kontakt-grid { grid-template-columns: 1fr; }
  .kinder-imgs img:first-child { height: 180px; }
}
