/* 
  Reset und Basis-Styles
  - Entfernt Standard-Margins/Paddings 
  - Setzt Box-Sizing auf border-box für konsistentes Layout
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 
  Grundlegende Seiten-Styles
  - Roboto Condensed als moderne, gut lesbare Schriftart
  - Heller Hintergrund für guten Kontrast
  - Angenehme Zeilenhöhe für bessere Lesbarkeit
*/
body {
  font-family: "Roboto Condensed", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdffec; /* Heller, warmer Grünton für natürliches Feeling */
}

/* 
  Container für Seiteninhalt
  - Maximale Breite begrenzt für bessere Lesbarkeit
  - Flex-Layout für sticky Footer
  - Auto margins für Zentrierung
*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 
  Navigationsleiste
  - Sticky Position für konstante Erreichbarkeit
  - Dunkelgrüner Hintergrund passend zum Naturthema
  - Schatten für visuelle Tiefe
*/
.navbar {
  background: #0a5514;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000; /* Stellt sicher, dass Nav über anderen Elementen liegt */
}

/* 
  Navigation Liste
  - Flex für horizontale Anordnung
  - Zentrierte Ausrichtung
  - Gleichmäßige Abstände zwischen Items
*/
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* Positionierung der Nav-Items */
.navbar li {
  position: relative;
  display: flex;
  align-items: center;
}

/* 
  Nav-Links
  - Abgerundete Ecken für modernes Design
  - Smooth Transition für Hover-Effekte
  - Weiße Schrift für Kontrast auf grünem Hintergrund
*/
.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

/* 
  Hover-Effekt für Nav-Links
  - Subtile Hintergrund-Aufhellung
  - Leichte Aufwärtsbewegung für Interaktivität
*/
.navbar a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 
  Header-Bereich
  - Markanter grüner Hintergrund
  - Abgerundete untere Ecken
  - Schatten für Tiefenwirkung
*/
.header {
  text-align: center;
  padding: 2rem 0;
  background: #3f7d45;
  color: white;
  margin-bottom: 2rem;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 
  Header-Text
  - Limelight Schrift für dekorativen Look
  - Textschatten für bessere Lesbarkeit
*/
.header-text {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  text-align: center;
}

/* 
  Hauptinhalt
  - Flex-grow für Ausfüllen des verfügbaren Platzes
  - Abstand zum Footer
*/
.content {
  flex: 1;
  margin-bottom: 2rem;
  overflow: visible;
}

/* 
  Blog-Post Container
  - Weiße Cards mit Schatten
  - Hover-Animation für Interaktivität
  - Begrenzte Breite für bessere Lesbarkeit
*/
.post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease-out;

}

/* Hover-Effekt für Posts */
.post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 
  Bild-Container für Posts
  - Feste Höhe für konsistentes Layout
  - Overflow hidden für Zoom-Effekt
*/
.post-bild {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

/* 
  Post-Bilder
  - Object-fit cover für gleichmäßige Bildgrößen
  - Zoom-Animation bei Hover
*/
.post-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Zoom-Effekt für Bilder bei Post-Hover */
.post:hover .post-bild img {
  transform: scale(1.05);
}

/* 
  Post-Überschriften
  - Limelight Schrift für Konsistenz
  - Dunkle Farbe für guten Kontrast
*/
.post h2 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Post-Text Styling */
.post p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  line-height: 1.7;
}

/* jQuery UI Accordion für Impressum / Datenschutzerklärung */
#accordion {
  margin: 0 1.5rem 1.5rem;
}

#accordion .ui-accordion-header {
  font-family: "Roboto Condensed", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
  border-radius: 10px;
  border: none;
  background: #f1f5f9;
  color: #2c3e50;
  cursor: pointer;
}

#accordion .ui-accordion-header.ui-state-active {
  background: linear-gradient(135deg, #0a5514, #3f7d45);
  color: #ffffff;
}

#accordion .ui-accordion-header .ui-icon {
  margin-right: 0.5rem;
}

#accordion .ui-accordion-content {
  padding: 1rem 1.25rem 1.25rem;
  border: none;
  background: #ffffff;
}

.hidden {
  display: none;
}

/* 
  Footer
  - Gradient-Hintergrund für visuelles Interesse
  - Sticky am unteren Rand
  - Abgerundete obere Ecken
*/
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: auto;
  border-radius: 20px 20px 0 0;
}

/* Footer-Text leicht transparent */
.footer p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 
  Startseiten-Layout
  - Flex für zweispaltiges Design
  - Transparenter Hintergrund
*/
.startpage {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: transparent;
  border-radius: 8px;
}

/* Textbereich der Startseite */
.startpage-text {
  font-family: "Roboto Condensed", Tahoma, Geneva, Verdana, sans-serif;
  flex: 1;
}

/* 
  Startseiten-Titel
  - Große Schrift für Impact
  - Linksbündig für bessere Lesbarkeit
*/
.startpage-title {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* Überschriften auf der Startseite */
.startpage-text h1 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

/* Textabsätze auf der Startseite */
.startpage-text p {
  color: #666;
  line-height: 1.6;
}

/* Bildbereich der Startseite */
.startpage-image {
  flex: 1;
  text-align: center;
}

/* 
  Startseiten-Bilder
  - Responsive Breite
  - Sepia-Filter für vintage Look
*/
.startpage-image img {
  max-width: 27vw;
  height: auto;
  border-radius: 8px;
  filter: sepia(100%) hue-rotate(40deg) saturate(90%);
}

/* Bildgalerie auf der Startseite (Unsere Mission) */
.mission-gallery {
  margin-bottom: 2.5rem;
}

.mission-gallery h2 {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.mission-gallery-intro {
  color: #555;
  margin-bottom: 1.25rem;
}

/* Fokusrahmen, wenn CSS-Galerie per Tab erreicht wird */
.mission-gallery-css:focus-within {
  outline: 2px solid #0a5514;
  outline-offset: 4px;
  border-radius: 18px;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  align-items: stretch;
}

.gallery-image-wrapper {
  flex: 1 1 auto;
}

.gallery-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-text {
  flex: 1 1 auto;
}

.gallery-counter {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #555;
}

.gallery-controls {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-controls button {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background-color: #0a5514;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

.gallery-controls button:hover {
  background-color: #0c6a1a;
}

/* CSS-only Galerie (Fallback ohne JavaScript) */
.css-gallery {
  margin-top: 1.25rem;
}

.css-gallery input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.css-slides {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.css-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.css-slide img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.css-slide figcaption {
  color: #555;
}

#css-slide-1:checked ~ .css-slides .css-slide-1,
#css-slide-2:checked ~ .css-slides .css-slide-2,
#css-slide-3:checked ~ .css-slides .css-slide-3,
#css-slide-4:checked ~ .css-slides .css-slide-4,
#css-slide-5:checked ~ .css-slides .css-slide-5 {
  position: relative;
  opacity: 1;
}

.css-gallery-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 0.75rem;
}

.css-gallery-controls label {
  width: 10px;
  height: 10px;
  margin-top: 0.25rem;
  border-radius: 999px;
  background-color: #cbd5e0;
  cursor: pointer;
}

.css-gallery-controls label:focus {
  outline: 2px solid #0a5514;
  outline-offset: 2px;
}

#css-slide-1:checked ~ .css-gallery-controls label[for="css-slide-1"],
#css-slide-2:checked ~ .css-gallery-controls label[for="css-slide-2"],
#css-slide-3:checked ~ .css-gallery-controls label[for="css-slide-3"],
#css-slide-4:checked ~ .css-gallery-controls label[for="css-slide-4"],
#css-slide-5:checked ~ .css-gallery-controls label[for="css-slide-5"] {
  background-color: #0a5514;
}

/* jUNgKRAUT Mission-Dialog (jQuery UI) */
.mission-dialog {
  border-radius: 16px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
  border: 2px solid #0a5514 !important;
  overflow: hidden;
}

.mission-dialog .ui-dialog-titlebar {
  background: linear-gradient(135deg, #0a5514, #3f7d45);
  color: #fff;
  padding: 0.75rem 1rem;
  border: none;
}

.mission-dialog .ui-dialog-title {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.mission-dialog .ui-dialog-titlebar-close {
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
}

.mission-dialog .ui-dialog-titlebar-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.mission-dialog .ui-dialog-content {
  padding: 1.3rem 1.5rem;
  background: #ffffff;
  font-size: 0.98rem;
  line-height: 1.7;
}

.mission-dialog .ui-dialog-buttonpane {
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 1.25rem;
}

.mission-dialog .ui-dialog-buttonpane button {
  border-radius: 999px;
  background-color: #0a5514;
  color: #fff;
  border: none;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.mission-dialog .ui-dialog-buttonpane button:hover {
  background-color: #0c6a1a;
}

/* Drag & Drop Spiel: Löwenzahn pflücken */
.dandelion-game {
  margin-bottom: 2.5rem;
}
.dandelion-game-noscript {
  display: none;
  color: #555;
  margin-bottom: 1rem;
  text-align: center;
}
.dandelion-game-noscript p {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 700;
  color: #e98a0e;
}

.dandelion-game h2 {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.dandelion-game-intro {
  color: #555;
  margin-bottom: 1rem;
}

.dandelion-game-field {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: stretch;
}

.dandelion-field {
  flex: 2 1 260px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.weed-spot {
  border: none;
  padding: 0;
  background: transparent;
  cursor: grab;
  border-radius: 12px;
  overflow: hidden;
}

.weed-spot img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.weed-spot.dandelion-draggable img {
  box-shadow: 0 4px 12px rgba(10, 85, 20, 0.3);
}

.weed-spot.dandelion-collected img {
  filter: grayscale(80%);
}

.dandelion-basket {
  flex: 1 1 220px;
  border-radius: 16px;
  border: 2px dashed #0a5514;
  background: rgba(10, 85, 20, 0.06);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dandelion-basket-hover {
  background: rgba(10, 85, 20, 0.12);
  border-color: #0c6a1a;
  box-shadow: 0 0 0 3px rgba(10, 85, 20, 0.15);
}

.dandelion-basket-full {
  background: rgba(10, 85, 20, 0.16);
}

.dandelion-basket span#dandelion-count {
  font-weight: 700;
  color: #0a5514;
}

@media (max-width: 640px) {
  .dandelion-game-field {
    flex-direction: column;
  }

  .weed-spot img {
    height: 110px;
  }
}

/* Post of the day auf der Startseite */
.daily-post-wrapper {
  margin: 1rem 0 2.5rem;
}

.daily-post-wrapper h2 {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.daily-post-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  align-items: center;
}
.daily-post-noscript {
  display: none;
  color: #555;
  margin-bottom: 1rem;
  text-align: center;
}
.daily-post-noscript p {
  font-size: 0.9rem;
  font-style: italic;
}

.daily-post-image {
  flex: 0 0 260px;
}

.daily-post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.daily-post-content {
  flex: 1;
}

.daily-post-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #0a5514;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.daily-post-content h3 {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.daily-post-content p {
  margin-bottom: 0.75rem;
  color: #555;
}

.daily-post-link {
  display: inline-block;
  margin-top: 0.25rem;
  color: #0a5514;
  font-weight: 600;
  text-decoration: none;
}

.daily-post-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .daily-post-card {
    flex-direction: column;
  }

  .daily-post-image {
    flex: 1 1 auto;
  }

  .daily-post-image img {
    height: 200px;
  }
}

/* 
  Inline-Bilder mit Untertiteln
  - Zentrierte Ausrichtung
  - Flex für vertikale Anordnung
*/
.inline-image {
  margin: 1rem 0;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Inline-Bilder responsive */
.inline-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Video-Element Styling */
video {
  width: 70%;
  margin: auto;
  height: auto;
  border-radius: 4px;
}

/* Untertitel für Bilder */
.inline-image .subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* 
  Kontaktformular
  - Weiße Card
  - Zentriert mit begrenzter Breite
*/
.contact {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Kontaktformular Überschrift */
.contact h2 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Formular-Gruppen */
.form-group {
  margin-bottom: 1rem;
}

/* Labels im Formular */
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* 
  Formular-Eingabefelder
  - Volle Breite
  - Konsistentes Styling
*/
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 
  Submit-Button
  - Grüner Hintergrund passend zum Theme
  - Pointer-Cursor für Interaktivität
*/
.submit-btn {
  background: #0a5514;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.submit-btn.shake {
  animation: shake-btn 0.4s ease;
}

@keyframes shake-btn {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-4px);
  }
  40%,
  80% {
    transform: translateX(4px);
  }
}

/* 
  Responsive Design
  - Anpassungen für Tablets
*/
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .post {
    margin-bottom: 1rem;
  }
}

/* 
  Responsive Design
  - Anpassungen für Smartphones
*/
@media (max-width: 480px) {
  .header {
    padding: 2rem 0;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .post h2 {
    font-size: 1.3rem;
    padding: 1rem 1rem 0.5rem;
  }

  .post p {
    padding: 0 1rem 1rem;
  }
}

/* 
  Lade-Animation
  - Sanftes Einblenden von unten
*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Verzögerte Animation für zweiten Post */
.post:nth-child(2) {
  animation-delay: 0.2s;
}

/* Smooth Scroll für bessere UX */
html {
  scroll-behavior: smooth;
}

/* 
  Fokus-Styles für Barrierefreiheit
  - Deutliche Outline für Keyboard-Navigation
*/
.navbar a:focus,
.post:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* 
  Sitemap Navigation für Blogposts
  - 2-Spalten-Layout für Blogposts
  - Linke Spalte für Navigation
  - Rechte Spalte für Content
*/
.blog-layout {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.sitemap-nav {
  flex: 0 0 250px;
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sitemap-nav h3 {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #3f7d45;
  padding-bottom: 0.5rem;
}

.sitemap-nav ul {
  list-style: none;
  padding: 0;
}

.sitemap-nav li {
  margin-bottom: 0.5rem;
}

.sitemap-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
}

.sitemap-nav a:hover {
  background-color: #f8f9fa;
  color: #3f7d45;
  border-left-color: #3f7d45;
  transform: translateX(5px);
}

.sitemap-nav a.active {
  background-color: #3f7d45;
  color: white;
  border-left-color: #2c3e50;
}

.sitemap-nav a.prev,
.sitemap-nav a.next {
  font-weight: 600;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.sitemap-nav a.prev:hover,
.sitemap-nav a.next:hover {
  background-color: #3f7d45;
  color: white;
  border-color: #3f7d45;
}

.sitemap-nav .nav-arrow {
  font-size: 0.8rem;
  margin: 0 0.5rem;
}

.blog-content {
  flex: 1;
}

/* Responsive Design für Sitemap */
@media (max-width: 768px) {
  .blog-layout {
    flex-direction: column;
  }

  .sitemap-nav {
    flex: none;
    position: static;
    order: 2;
  }

  .blog-content {
    order: 1;
  }
}

/* 
  Cookie-Consent Banner / Modal
  - Halbtransparenter Hintergrund über der Seite
  - Zentrale Box für Einwilligungsdialog
*/
.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.cookie-consent-modal {
  background: #ffffff;
  color: #333;
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
}

.cookie-consent-modal h2 {
  font-family: "Limelight", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #2c3e50;
}

.cookie-consent-modal p {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.cookie-consent-category {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  background-color: #f9fafb;
}

.cookie-consent-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.cookie-consent-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background-color: #0a5514;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cookie-consent-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.cookie-consent-toggle input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.cookie-consent-toggle.disabled span {
  color: #718096;
}

.cookie-consent-hint {
  font-size: 0.8rem;
  color: #4a5568;
}

.cookie-consent-hint a {
  color: #0a5514;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.cookie-btn-primary,
.cookie-btn-secondary {
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn-primary {
  background-color: #0a5514;
  color: white;
}

.cookie-btn-primary:hover {
  background-color: #0c6a1a;
}

.cookie-btn-secondary {
  background-color: #e2e8f0;
  color: #1a202c;
}

.cookie-btn-secondary:hover {
  background-color: #cbd5e0;
}

@media (min-width: 768px) {
  .cookie-consent-backdrop {
    align-items: center;
  }
}

/* 
  Formular-Validierung – Fehlermarkierung
  - Rote Umrandung & zarter Hintergrund bei Fehlern
  - Kurze Fehlermeldung direkt unter dem Feld
*/
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #e53e3e;
  background-color: #fff5f5;
}

.field-error {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #e53e3e;
}
