/* Basis */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --bg: #f5f7f4;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --orange: #ff8800;
  --card: #ffffff;
  --border: #e6e6e6;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

/* Hero */
.hero {
  background: linear-gradient(0deg, rgba(46,125,50,0.08), rgba(46,125,50,0.08)), url('/assets/hero-garten.jpg') center/cover no-repeat;
  padding: 64px 20px;
  text-align: center;
}
.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  padding: 24px;
}
.hero h1 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 2rem;
}
.hero p {
  margin: 0;
  color: var(--muted);
}

/* Grid */
.content {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 20px;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .guides-grid { grid-template-columns: 1fr; }
}

/* Karten */
.guide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.guide-icon {
  font-size: 28px;
  display: inline-block;
  background: #eaf5ec;
  color: var(--green-dark);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.guide-card h2 {
  margin: 8px 0 6px;
  font-size: 1.25rem;
  color: var(--green-dark);
}
.guide-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, transform 120ms ease;
  margin-right: 8px;
}
.btn.primary {
  background: var(--orange);
  color: #fff;
}
.btn.primary:hover { background: #ff7a00; transform: translateY(-1px); }
.btn.ghost {
  border: 1px solid var(--border);
  color: var(--green-dark);
  background: #fff;
}
.btn.ghost:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-1px); }

/* Hinweis */
.note {
  background: #eef7ee;
  border: 1px solid #d7ead7;
  color: #2f4f2f;
  padding: 14px 16px;
  border-radius: 10px;
  margin: 24px 0;
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: #2e7d32;
  color: white;
  padding: 40px 20px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
}
.footer-section h3 {
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin: 5px 0;
}
.footer-section a {
  color: #c8e6c9;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section a:hover {
  color: #fff176;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
  font-size: 0.9rem;
}

.footer-h3 {
    color: #ccc;
}
/* Navigation */

 /* === Allgemein === */
nav {
  background: #2e7d32;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo */
.nav-logo {
  position: absolute;
  left: 20px;
}
.nav-logo img {
  height: 40px;
  transition: transform 0.3s ease;
}
.nav-logo img:hover {
  transform: scale(1.05);
}

/* Desktop-Links */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.nav-item a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  transition: color 0.3s ease;
}
.nav-item a:hover {
  color: #c8e6c9;
}

/* Dropdown (Desktop) */
.nav-item ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 8px 0;
  text-align: center;
}
.nav-item ul.dropdown-menu li a {
  color: #333;
  font-weight: normal;
  padding: 10px 16px;
  display: block;
}
.nav-item ul.dropdown-menu li a:hover {
  background: #f0f0f0;
  color: #2e7d32;
}
.nav-item.dropdown:hover ul.dropdown-menu {
  display: block;
}

/* Burger-Button */
.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 20px;
}

/* === Mobile Sidebar === */
@media (max-width: 768px) {
  /* Desktop-Links ausblenden */
  .nav-list {
    display: none;
    flex-direction: column;
    background: #2e7d32;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    padding: 40px 20px;
    box-shadow: -4px 0 12px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 999;
  }
  .nav-list.show {
    right: 0;
  }

  .nav-item {
    margin: 15px 0;
  }
  .nav-item a {
    color: white;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
  }
  .nav-item:last-child a {
    border-bottom: none;
  }

  /* Burger sichtbar */
  .burger {
    display: block;
  }

  /* Dropdowns mobil: Unterpunkte direkt sichtbar */
  .nav-item ul.dropdown-menu {
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    transform: none;
  }
  .nav-item ul.dropdown-menu li a {
    color: #c8e6c9;
    padding: 8px 0 8px 20px;
  }
}
