/* ==========================
   Grundlayout & Farben
========================== */
:root {
  --green-light: #6fd87f;
  --green: #2e8b57;
  --green-dark: #20603d;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-dark: #333;
  --gray: #666;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: linear-gradient(to bottom, #f9fff9, #e6ffe6);
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ==========================
   Header / Hero
========================== */
.hero {
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

/* ==========================
   Navigation
========================== */
nav {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu > li {
  margin: 0;
}

.menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.menu a:hover {
  background: var(--green-light);
  color: var(--gray-dark);
}

/* Dropdown-Menü */
.menu li ul {
  display: none;
  position: absolute;
  background: var(--green-dark);
  top: 100%;
  left: 0;
  min-width: 200px;
  list-style: none;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  z-index: 100;
}

.menu li:hover ul {
  display: block;
}

.menu li ul li a {
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
}

/* ==========================
   Mobile Menü
========================== */
.menu-toggle {
  display: none;
  background: var(--green);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .menu.show {
    display: flex;
  }

  .menu li ul {
    position: static;
  }

  .menu li ul li a {
    background: var(--green);
  }
}

/* ==========================
   Buttons
========================== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  margin: 0.5rem;
  font-size: 1rem;
}

.btn:hover {
  background: var(--green-dark);
  transform: scale(1.05);
}

/* Pulsierender PayPal-Button */
.paypal-btn {
  background: #ffc439;
  color: #111;
  font-weight: bold;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(255, 196, 57, 0.7);
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 196, 57, 0.7); }
  50% { transform: scale(1.08); box-shadow: 0 0 20px rgba(255, 196, 57, 1); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 196, 57, 0.7); }
}

/* ==========================
   Inhalt
========================== */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

h2 {
  color: var(--green-dark);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ==========================
   Footer
========================== */
footer {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

footer a {
  color: var(--white);
  text-decoration: underline;
}

/* ==========================
   Karten & Boxen
========================== */
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.responsive-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
}

/* ==========================
   Formular
========================== */
form {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-top: 1rem;
}

form label {
  display: block;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--gray-dark);
}

form input,
form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  margin-top: 1rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: var(--green-dark);
}

/* Erfolgsnachricht */
.success-message {
  display: none;
  background: #e6ffe6;
  border: 2px solid var(--green);
  border-radius: 10px;
  padding: 1rem;
  color: var(--green-dark);
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
}
