/* ========================
   Fonts
======================== */
/* Pangram Regular */
@font-face {
  font-family: "Pangram";
  src: url("fonts/Pangram-Regular.woff2") format("woff2"),
       url("fonts/Pangram-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Pangram Bold */
@font-face {
  font-family: "Pangram";
  src: url("fonts/Pangram-Bold.woff2") format("woff2"),
       url("fonts/Pangram-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================
   Grundlayout
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Pangram", Arial, sans-serif;
  font-size: 16px;
  background-color: #DCE2D6;
  color: #545454;
}

/* ========================
   Header
======================== */
header {
  background-color: #c3ccbc;
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  min-height: 100px;
  max-width: 100%;
  position: relative;
}

.logo {
  height: auto;
  width: auto;
  max-height: 110px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  margin-right: 10px;
}

.header-container a {
  display: inline-block;
  cursor: pointer;
}
.header-container a img {
  pointer-events: auto;
}

/* ========================
   Navigation
======================== */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  position: relative;
}

nav a {
  text-decoration: none;
  color: #545454;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Submenu (Desktop) */
nav ul li.has-submenu {
  position: relative;
}

nav ul li ul.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #c3ccbc;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  min-width: 200px;
  z-index: 300;
}

nav ul li ul.submenu li {
  width: 100%;
}

nav ul li ul.submenu li a {
  display: block;
  padding: 8px 15px;
  color: #545454;
  font-weight: normal;
  text-decoration: none;
}

nav ul li ul.submenu li a:hover {
  background-color: #b4bdb0;
}

/* Submenu anzeigen bei Hover */
nav ul li.has-submenu:hover > ul.submenu {
  display: block;
}

/* Toggle-Button für Submenu wie Link */
nav .submenu-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: bold;
  color: #545454;
  cursor: pointer;
}
nav .submenu-toggle:hover { text-decoration: underline; }

/* ========================
   Hauptbereiche (Standard)
======================== */
main {
  margin-top: 40px;     /* einheitlicher Abstand zum Header */
  text-align: center;
  padding: 0 20px;
}

main.agb,
main.datenschutz,
main.begrüßung,
main.impressum {
  max-width: 800px;
  margin: 40px auto 60px auto;  /* nur unten Abstand */
  padding: 20px 30px;
  text-align: left;
  line-height: 1.6;
  font-size: 16px;
  background-color: #f9f9f9;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

main.agb h1,
main.datenschutz h1 {
  font-size: 26px;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
  color: #333;
}

main.agb h2,
main.datenschutz h2 {
  font-size: 18px;
  margin-top: 30px;
  font-weight: bold;
  color: #222;
}

main.datenschutz h3 {
  font-size: 18px;
  margin-top: 60px;
  font-weight: bold;
  color: #222;
}

/* ========================
   Absätze mit Nummerierung
======================== */
.absatz {
  display: grid;
  grid-template-columns: 2em 1fr;
  margin-bottom: 1em;
  font-size: 16px;
  color: #333;
}
.absatz .nummer {
  padding-right: 0.5em;
}
.absatz .text {
  text-align: left;
  line-height: 1.6;
}

/* ========================
   HERO – Overlay-Version
======================== */
.hero-image {
  position: relative;
  background-image: url('Bilder/Wald.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 65vh;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 40px;
  max-width: 1200px;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.15)
  );
}

.hero-text {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 18px 36px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

.hero-text h1 {
  margin: 0;
  color: #f9f9f9;
  font-size: 3rem;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.45);
}

/* ========================
   (ALT) HERO – Bild + Text nebeneinander
======================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 40px;
  background-color: #f5f5f5;
  border-radius: 12px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.hero img {
  width: 50%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #2c3e50;
  line-height: 1.2;
  margin: 0;
}

/* ========================
   Konzeptbereich
======================== */
.konzept {
  padding: 60px 20px;
  max-width: 900px;
  margin: 40px auto 0;
  background-color: #f8f8f8;
  border-radius: 12px;
}

.konzept h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.konzept p {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ========================
   Angebot
======================== */
.angebot {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 12px;
  max-width: 1200px; 
  margin: 0 auto;
}

.angebot h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.angebot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.angebot-box {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.angebot-box h3 {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 15px;
}

.angebot-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Angebot Bilder */
.angebot-box img.angebot-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ========================
   Über mich
======================== */
.ueber-mich {
  padding: 60px 20px;
  background-color: #fff;
  border-radius: 12px;   /* runde Ecken hinzufügen */
  max-width: 1200px;     /* optional: gleiche Breite wie bei Angebot */
  margin: 0 auto;        /* optional: zentrieren */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* optional: gleiche Schattenwirkung */
}

.ueber-mich-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;          /* Container mittig */
  align-items: center;     /* Text & Bild vertikal zentriert */
}

.ueber-mich-text {
  flex: 1 1 500px;
  text-align: left;        /* Fließtext linksbündig */
}

.ueber-mich-text h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 20px;
  text-align: center;      /* Überschrift mittig */
}

.ueber-mich-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;        /* bessere Lesbarkeit */
  margin-bottom: 15px;
}

/* Letztes Absatz (Motto) mittig */
.ueber-mich-text p:last-of-type {
  text-align: center;
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem
}

.ueber-mich-bild {
  flex: 1 1 300px;
  text-align: center;      /* Bild mittig im eigenen Bereich */
}

.ueber-mich-bild img {
  max-width: 80%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ========================
   Kontaktformular
======================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto 60px auto;  /* nur unten Abstand */
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #333;
}

.contact-form h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8em;
  color: #545454;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1em;
}

.contact-title {
  text-align: center;
  font-size: 1.8em;
  color: #545454;
  margin-bottom: 30px;
}

.contact-form .form-row {
  margin-bottom: 20px;
}

.contact-form .anrede-row select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form .name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form button {
  background-color: #6b8e23;
  color: white;
  border: none;
  padding: 14px 0;
  font-size: 1.1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #557a1f;
}
.pflichtfeld-hinweis {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5em;
}

/* Hinweis für optionale Felder */
.optional-hint {
  font-size: 0.8rem;
  color: #888;
  font-weight: normal;
  margin-left: 0.3rem;
}

/* Fehlerdarstellung */
.field-error {
  color: #b00020;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

input.error,
select.error,
textarea.error {
  border: 2px solid #b00020;
  background-color: #ffecec;
}

.error-message {
  background: #ffecec;
  border: 1px solid #b00020;
  padding: 0.8rem;
  color: #b00020;
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* Ich bin kein Roboter */
/* Container */
/* Mock-reCAPTCHA Look */
.recaptcha-mock{
  display:flex; 
  align-items:left; 
  background:#fafafa; 
  border:1px solid #ddd;
  padding:10px 15px; 
  border-radius:6px; 
  width:fit-content; 
  margin:.5rem 0 .75rem;
}
.recaptcha-label{
  display:flex; 
  align-items:center; 
  gap:10px; 
  cursor:pointer; 
  position:relative;
}
/* Input unsichtbar, aber vorhanden (Label toggelt ihn) */
.recaptcha-label input[type="checkbox"]{
  position:absolute; 
  opacity:0; 
  left:0; 
  top:0;
}
/* Runder "Kreis" */
.recaptcha-custom{
  width:22px; 
  height:22px; 
  border:2px solid #9cc68c; 
  border-radius:50%;
  background:#fff; 
  box-sizing:border-box; 
  position:relative;
}
/* Füllung bei checked */
.recaptcha-label input[type="checkbox"]:checked + .recaptcha-custom::after{
  content:""; 
  position:absolute; 
  top:4px; 
  left:4px; 
  width:10px; 
  height:10px; 
  border-radius:50%; 
  background:#9cc68c;
}
.recaptcha-text{ font-size:14px; color:#444; }

/* Fehlerzustand optional */
.recaptcha-custom.error{ border-color:#b00020; }
.field-error { color:#b00020; font-size:.9rem; margin-top:.25rem; }


/* Der Roboter-Block darf umbrechen */
.recaptcha-mock{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;            /* <- wichtig */
}

/* Die Fehlermeldung soll unter dem Block erscheinen */
.recaptcha-mock .field-error{
  flex-basis: 100%;           /* nimmt volle Breite -> neue Zeile */
  margin-top: .35rem;         /* etwas Abstand nach unten */
}


/* Danke-Seite: CTA-Buttons mittig ausrichten */
.thankyou-cta{
  margin-top: 1.5rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;   /* <- zentriert die Buttons */
  align-items: center;       /* optional, für vertikale Zentrierung */
}

/* optional: falls du die Buttons minimal größer willst */
.thankyou-cta .button,
.thankyou-cta .button.outline{
  padding: .65rem 1rem;
  text-align: center;
}

/* 2. Kontaktbereich */
/* sorgt dafür, dass der ganze Block mittig steht */
.contact-special {
  text-align: center;
}

/* der innere Container ist linksbündig */
.contact-special-block {
  display: inline-block;
  text-align: left;
}

/* jede Zeile hat zwei Spalten: Label & Wert */
.contact-special-block .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5em; /* Abstand zwischen Label und Wert */
  margin: 0.3em 0;
}

/* Label-Spalte */
.contact-special-block .label {
  font-weight: bold;
  min-width: 60px; /* sorgt für saubere Ausrichtung */
}

/* Links im Wert-Teil */
.contact-special-block .value a {
  color: inherit;          /* übernimmt die Textfarbe */
  text-decoration: none;   /* kein Unterstrich standardmäßig */
}

.contact-special-block .value a:hover {
  text-decoration: underline; /* Unterstrich beim Hover */
}

/* Google_map */
.map-wrapper{margin:2rem 0}
.map-consent{
  border:1px solid #ddd; border-radius:12px; padding:1rem; text-align:center;
  background:#f8f8f8;
}
.map-consent img{max-width:100%; height:auto; border-radius:8px}
.map-consent p{margin:0.6rem 0 1rem}
.map-btn{display:inline-block; padding:0.7rem 1rem; border-radius:999px; border:none;
  background:#111; color:#fff; cursor:pointer; font-weight:600}
.map-btn:focus{outline:2px solid #111; outline-offset:2px}
#map{width:100%; height:380px; border-radius:12px; display:none}



/* ========================
   Footer
======================== */
footer {
  background-color: rgba(0,0,0,0.03);
  padding: 20px 40px;
  font-size: 0.9rem;
  color: #545454;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: #545454;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.sep {
  margin: 0 4px;
  color: #999;
}

.footer-copy {
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.footer-social span,
.footer-social-title {
  font-weight: bold;
  font-size: 0.95rem;
}

.footer-social a {
  color: #545454;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-social a:hover {
  color: #000;
}

.footer-social-icons a svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer-social-icons a.instagram svg {
  fill: #E1306C;
}

.footer-social-icons a.facebook svg {
  fill: #1877F2;
}

.footer-social-icons a:hover svg {
  transform: scale(1.1);
  opacity: 0.8;
}

/* ========================
   Hamburger Menü
======================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #545454;
  border-radius: 2px;
  transition: all 0.3s linear;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================
   Responsive Design
======================== */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    min-height: auto;
    position: relative;
  }

  .hamburger {
    display: flex;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
    display: none;
    background-color: #c3ccbc;
    position: absolute;
    top: 100%;
    left: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 100;
    width: 220px;
  }

  nav ul.open {
    display: flex;
  }

  nav ul li {
    width: 100%;
    text-align: left;
  }

  /* Submenu mobil: zunächst zu, per JS wird .open am <li> gesetzt */
  nav ul li ul.submenu {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding-left: 15px;
    margin-top: 5px;
  }

  nav ul li.has-submenu.open > ul.submenu {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .logo {
    max-height: 80px;
    width: auto;
    margin: 0;
  }

  .hero-image {
    min-height: 50vh;
    border-radius: 10px;
  }
  .hero-text {
    padding: 14px 24px;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .hero img {
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 2rem;
  }

  .contact-form .name-row {
    grid-template-columns: 1fr;
  }

  /* CTA mobil */
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  .cta-button {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  nav ul {
    left: 10px;
    width: 200px;
  }

  .logo {
    max-height: 70px;
  }

  main.begrüßung h1 {
    font-size: 1.5rem;
  }

  main.begrüßung h2 {
    font-size: 1.2rem;
  }

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

  .header-container {
    padding: 10px 10px;
  }

  .hamburger {
    left: 10px;
  }

  .hero-image {
    min-height: 40vh;
    border-radius: 8px;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .footer-social {
    align-items: center;
    text-align: center;
  }
}

/* ========================
   Call-to-Action Bereich
======================== */
.cta {
  background-color: #f9f9f9;
  padding: 60px 20px;
  margin: 60px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
}

.cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-text {
  flex: 1 1 600px;
}

.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.cta-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.cta-button {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-buchen {
  display: inline-block;
  padding: 14px 28px;
  background-color: #6b8e23;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-buchen:hover {
  background-color: #557a1f;
  transform: translateY(-2px);
}

/* Responsive CTA */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    flex: 1 1 100%;
  }

  .cta-button {
    margin-top: 20px;
  }
}

/* ========================
   Zusatz-Fixes: Qualifikationen & Footer
======================== */
main.qualifikationen {
  margin-bottom: 60px; /* Luft vor dem Footer */
}

/* Footer-Layout stabilisieren */
footer .footer-inner {
  align-items: flex-start; /* Socials rutschen nicht nach unten */
}

/* Mobile Footer-Stack */
@media (max-width: 600px) {
  footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
}

/* Aktive Unterseite im Submenu hervorheben */
nav ul li ul.submenu li a[aria-current="page"] {
  font-weight: bold;
  text-decoration: underline;
}


/* ========================
   Kontakt / Google-Map
======================== */

/* Abschnitt/Container wie deine anderen Boxen */
.section { margin: 40px auto; max-width: 1200px; padding: 0 20px; }
.card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 24px;
}
.card h2 { text-align:center; margin: 0 0 18px; color:#545454; }

/* Karte in Card */
.map-card .map-fallback-link { text-align:center; margin-top: 10px; }

/* Consent-Box (vor dem Laden) */
.map-consent {
  border:1px solid #ddd;
  border-radius:12px;
  padding:18px;
  background:#f8f8f8;
  text-align:center;
}
.map-consent img { max-width:100%; height:auto; border-radius:8px; margin-bottom:10px; }

/* Wrapper für iFrame + Overlay */
.map-embed-wrap {
  position: relative;
  min-height: 420px;       /* Platzhalterhöhe bis iFrame da ist */
  border-radius: 12px;
  overflow: hidden;        /* -> runde Ecken für iFrame/Overlay */
  background: #eee;
}
.map-embed-wrap iframe {
  display:block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 12px;
}

/* Cookie-Overlay richtig dunkel */
.embed-guard {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  background: rgba(0,0,0,0.75);  /* viel dunkler */
  color: #fff;
}

.embed-guard p {
  max-width: 60ch;
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.embed-guard a {
  color: #9acd32; /* grünlicher Link, damit er sich abhebt */
  text-decoration: underline;
}


/* Button */
.map-btn {
  display:inline-block;
  padding:.7rem 1.2rem;
  border-radius:999px;
  border:none;
  background:#6b8e23;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.map-btn:hover { background:#557a1f; }



/* Fehlerdarstellung: Links ausrichten */
.contact-form .field-error,
.contact-form .error-message {
  text-align: left;
}






/* Header-Höhe kompakter */
header { 
  padding: 10px 0;             /* vorher 10px 0 */
}

.header-container {
  padding: 10px 20px;          /* vorher 10px 20px */
  min-height: 100px;           /* vorher 100px */
}

.logo {
  max-height: 90px;           /* vorher 90px */
}

/* Konsistenz auf kleineren Screens */
@media (max-width: 768px) {
  .logo { max-height: 80px; } /* vorher 80px */
}

@media (max-width: 480px) {
  .logo { max-height: 70px; } /* vorher 70px */
}




/* ========================
   AGB-spezifische Styles
======================== */
.agb .agb-list { counter-reset: agb; list-style: none; padding-left: 0; }
.agb .agb-list > li { counter-increment: agb; margin: 1.25rem 0; }
.agb .agb-list > li > h2::before {
  content: counter(agb) ") ";
  font-weight: 600;
  margin-right: .25rem;
}
.agb p { margin: .5rem 0 0 0; }
@media print {
  a[href]::after { content:" (" attr(href) ")"; font-size: .9em; }
}
/* Etwas mehr Abstand zwischen den Abschnitten */
main.agb h2 { margin-top: 40px; }
