/* --- 1. Einstellungen & Farbschema --- */
:root {
  --primary: #051dd3a7;        /* Warmes Terracotta */
  --primary-hover: #824743;  
  --bg-main: #fcf9f5;        /* Grundton Cremeweiß */
  --bg-card: rgba(255, 255, 255, 0.90); /* Karten-Hintergrund für gute Lesbarkeit */
  --text-main: #2d2623;      
  --text-muted: #6e635f;
  --border-color: #e8ded8;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(110, 80, 60, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- 2. Body mit Halbtransparentem Baum-Hintergrund --- */
body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;

  /* Hintergrundfarbe + Baum-Bild mit weißem Schleier für Transparenz-Effekt */
  background-color: var(--bg-main);
  background-image: 
    linear-gradient(rgba(252, 249, 245, 0.85), rgba(252, 249, 245, 0.85)), 
    url('plant-right.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

/* --- 3. Haupt-Layout Container --- */
.page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.main-content {
  width: 100%;
}

/* --- 4. Header & Content-Karten --- */
header, 
.contact-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.header-container h1, 
.contact-section h2 {
  color: var(--primary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.header-container > p, 
.contact-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.header-image-box {
  width: 100%;
  max-width: 750px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.header-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- 5. Navigation --- */
nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  margin: 1rem auto 2rem;
  background: #ffffff;
  border: 1px solid rgba(158, 91, 86, 0.25);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(110, 80, 60, 0.06);
}

.nav-btn {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  color: #ffffff;
  background-color: var(--primary);
}

.nav-btn.nav-cta {
  background-color: var(--primary);
  color: #ffffff;
}

.nav-btn.nav-cta:hover {
  background-color: var(--primary-hover);
}

/* --- 6. Formular --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
  margin-top: 0.2rem;
  cursor: pointer;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}

.hint-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  background-color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.submit-btn {
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: var(--primary-hover);
}

/* --- 7. Responsive Anpassungen --- */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius);
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }

  header, 
  .contact-section {
    padding: 1.5rem;
  }
  /* --- 8. AGB & Rechtliche Seiten-Stile --- */
.legal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.legal-section p {
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  padding-left: 1.4rem;
  margin-top: 0.5rem;
}

.legal-section ul li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

/* Wichtiger Hinweis (Warnkasten) */
.legal-section.alert-box {
  background-color: #fff8f7;
  border: 1px solid rgba(158, 91, 86, 0.3);
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Notfallkasten mit Notrufnummern */
.legal-section.emergency-box {
  background-color: #fefcf7;
  border: 1px solid #ebd9b8;
  border-left: 5px solid #d48b28;
  border-radius: 8px;
  padding: 1.5rem;
}

.legal-section.emergency-box h2 {
  color: #b36e15;
}

.emergency-list {
  list-style: none;
  padding-left: 0 !important;
  margin-top: 1rem;
}

.emergency-list li {
  padding: 0.4rem 0;
}

.hotline {
  background-color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #ebd9b8;
  font-weight: 700;
  color: #b36e15;
}

/* Englische Zusammenfassung */
.legal-section.en-summary {
  font-style: italic;
  color: var(--text-muted);
  background-color: #f9f7f4;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
}
}