/* Grundlegende Bootstrap-Funktionen */
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
}

/* Website-spezifische Variablen */
:root {
  --primary-color: #14532d;
  --primary-hover: #256429;
  --secondary-color: #2e7d32;
  --light-green: #d4f4d7;
  --text-color: #1b1b1b;
  --background-light: #f4f4f9;
  --white: #ffffff;
  --light-gray: #e0e0e0;
  --border-radius: 1rem;
  --box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Grundlegende Bootstrap-Reset und Utilities */
*, ::after, ::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--text-color);
  background-color: var(--background-light); 
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
  /* height: 100vh; ENTFERNT - das war das Problem! */

  /* Noten im Hintergrund */
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='140'%20height='140'%3E%3Ctext%20x='8'%20y='70'%20font-size='60'%20fill='rgba(0,128,0,0.1)'%3E%E2%99%A9%3C/text%3E%3Ctext%20x='78'%20y='120'%20font-size='48'%20fill='rgba(0,100,0,0.08)'%3E%E2%99%AB%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 270px 270px;
  background-attachment: fixed;
  background-color: #f4f4f9;
}

.artikel-titel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.artikel-titel span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

@media (min-width: 768px) {
  .artikel-titel {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
}

.artikel-datum {
  color: #6c757d;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Container und Grid */
.container {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.col-md-4 {
  flex: 0 0 auto;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33.333333%;
  }
}

/* Text-Utilities */
.text-center {
  text-align: center !important;
}

.text-end {
  text-align: right !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Abstände und Margin/Padding */
.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

/* Flexbox-Utilities */
.d-flex {
  display: flex !important;
}

.flex-column {
  flex-direction: column !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.ms-auto {
  margin-left: auto !important;
}

/* Position */
.position-relative {
  position: relative !important;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.rounded {
  border-radius: 0.25rem !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Border */
.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

/* Font Awesome Icons */
.fa,
.fas,
.fab {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fa-bullhorn:before {
  content: "\f0a1";
}

.fa-users:before {
  content: "\f0c0";
}

.fa-id-badge:before {
  content: "\f2c1";
}

.fa-calendar-alt:before {
  content: "\f073";
}

.fa-images:before {
  content: "\f302";
}

.fa-user-plus:before {
  content: "\f234";
}

.fa-envelope:before {
  content: "\f0e0";
}

.fa-facebook:before {
  content: "\f09a";
}

.fa-instagram:before {
  content: "\f16d";
}

.fa-newspaper:before {
  content: "\f1ea";
}

.fa-list-ul:before {
  content: "\f0ca";
}

/* Website-spezifische Stile */
h2, .aktuelles-article h5 {
  color: var(--primary-color);
}

/* Markantere Überschriften */
/* Markantere Überschriften mit grünem Hintergrund und weißer Schrift */
h2 {
  font-size: 1.70rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Icon innerhalb der Überschrift in weiß */
h2 i {
  color: var(--white);
}

.aktuelles-article h5 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Responsive Anpassung für mobile Geräte */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
    padding: 0.6rem 1rem;
  }
}
/* ---------------Navbar STICKY - KORRIGIERT ******/
#navbar-container {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  background-color: var(--primary-color);
}

/* Navbar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  background-color: var(--primary-color) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.text-white {
  color: var(--white) !important;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid var(--white);
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-item {
  list-style: none;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--white) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--light-green) !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: .25rem;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Header und Footer */
header, footer {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

/* Content-Sections */
.content-section {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.aktuelles-article {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--light-gray);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

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

.logo {
  max-height: 100px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Footer Links */
footer a {
  color: var(--light-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Social Icons */
.social-icons {
  gap: 1rem;
}

.social-icons a {
  color: var(--white);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.social-icons a:hover {
  color: var(--light-green);
  transform: scale(1.1);
  text-decoration: none;
}

/* Bild-Container */
.img-container {
  overflow: hidden;
  border-radius: 8px;
}

.img-container:hover .img-fluid {
  transform: scale(1.05);
}

/* Collapse-Funktionalität */
.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/* Listen-Stile */
ul {
  padding-left: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Spinner */
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

.spinner-border.text-primary {
  color: var(--bs-primary);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Alert */
.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-info {
  color: #055160;
  background-color: #cff4fc;
  border-color: #b6effb;
}

.text-danger {
  color: #dc3545 !important;
}

.figure-caption {
  font-size: 0.875em;
  color: #6c757d;
}

/* Responsive-Anpassungen */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .content-section {
    padding: 1.5rem;
  }
}

/* Bootstrap-Utilities für Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hilfsfunktionen für Sichtbarkeit */
.d-none {
  display: none !important;
}

@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
}

/* ------------------------------ Header responsiv --------------------------------------*/
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 100px;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.logo-link {
  flex-shrink: 0;
}

.header-text {
  text-align: center;
}

.header-title {
  font-size: 2.2rem;
  margin-bottom: 0;
  color: white;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.header-subtitle {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: white;
  font-weight: normal;
}

.social-icons-header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons-header a {
  color: white;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.social-icons-header a:hover {
  transform: scale(1.1);
}

.social-icons-header i {
  font-size: 2rem;
}

.fab.fa-facebook {
  color: #1877F2;
}

.fab.fa-instagram {
  color: #E1306C;
}

/* Mobile Anpassungen Header */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }
  
  .header-main {
    flex-direction: column;
    width: 100%;
  }
  
  .header-title {
    font-size: 1.3rem;
  }
  
  .header-subtitle {
    font-size: 1rem;
  }
  
  .logo {
    max-height: 60px;
  }
  
  .social-icons-header {
    justify-content: center;
    width: 100%;
  }
  
  .social-icons-header i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-title {
    font-size: 1.1rem;
  }
  
  .header-subtitle {
    font-size: 0.9rem;
  }
  
  .logo {
    max-height: 50px;
  }
}

/* --- Navbar Brand Styling --- */
/* --- Navbar Brand mit Icon --- */
.navbar-brand {
  color: var(--white) !important;
  /* font-weight: 700; /* Fett wie Menülinks */
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: .25rem;
  padding: 0.5rem 1rem;
}

.navbar-brand i {
  font-weight: 900; /* Font Awesome: "solid" */
  color: var(--white);
  transition: all 0.3s ease;
}

/* Hover-Effekt identisch zu aktiven Menüpunkten */
.navbar-brand:hover {
  color: var(--light-green) !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar-brand:hover i {
  color: var(--light-green);
}


/* ------------------- Blocksatz für Artikel-Texte ------------------- */
.aktuelles-article p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Überschriften bleiben linksbündig */
.aktuelles-article h5,
.aktuelles-article .artikel-titel {
  text-align: left !important;
}

/* Bildunterschriften zentriert */
.aktuelles-article .figure-caption {
  text-align: center !important;
}

/* ------------------- Kontakt-Box responsiv ------------------- */
.kontakt-box {
  max-width: 400px;
  width: 100%;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.kontakt-box-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #2c3e50;
  text-align: left;
}

.kontakt-box-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.kontakt-box-list li {
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.kontakt-box-link {
  color: #3498db;
  text-decoration: none;
  word-break: break-all;
}

.kontakt-box-link:hover {
  text-decoration: underline;
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
  .kontakt-box {
    max-width: 100%;
    padding: 15px;
    margin: 15px 0;
  }
  
  .kontakt-box-title {
    font-size: 1.1em;
  }
  
  .kontakt-box-list li {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .kontakt-box {
    max-width: 100%;
  }
}


/* ------------------- Footer responsiv ------------------- */
.footer-container {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copyright {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-links {
  margin: 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--light-green);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
}

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

.footer-separator {
  color: var(--white);
  margin: 0 0.25rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.social-text {
  color: var(--white);
  margin-right: 0.5rem;
  font-weight: 500;
}

.social-icons a {
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.social-icons a:hover {
  color: var(--light-green);
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.social-icons i {
  font-size: 1.2rem;
}

/* Mobile Anpassungen Footer */
@media (max-width: 768px) {
  .footer-container {
    padding: 1.5rem 1rem;
  }
  
  .footer-copyright {
    font-size: 0.9rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .footer-separator {
    display: none;
  }
  
  .social-icons {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  
  .social-text {
    margin-right: 0;
    margin-bottom: 0.5rem;
    display: block;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-copyright {
    font-size: 0.85rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .social-icons a {
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }


}

/* === Scroll-to-Top Button === */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: none;
}

#scrollTopBtn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}


/* Stilvolle Trennlinie mit Symbol */
.section-divider {
  text-align: center;
  margin: 3rem auto;
  position: relative;
}

.section-divider::before {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 0 auto;
}

.section-divider::after {
  content: "";
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  
  padding: 0 0.5rem;
}
.content-section {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-bottom: 3rem;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover { color: var(--light-green); transform: scale(1.08); }

/* ============================================================
   Einheitliches Button-Farbschema (kein Bootstrap-Blau mehr)
   ============================================================ */

/* Grundzustand */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transition: all 0.2s ease-in-out;
}
.btn-primary {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Hover-Zustand */
.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
}

/* Aktiv (beim Klicken) */
.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:focus-visible {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 0 0 0.25rem rgba(20, 83, 45, 0.35) !important; /* sanfter grüner Glow */
  transform: none;
}

/* Optional: Outline-Buttons (falls du welche nutzt) */
.btn-outline-secondary,
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-secondary:hover,
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Entfernt das Browser-Standardblau bei Fokus */
button:focus,
.btn:focus,
.btn:active,
.btn:active:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(20, 83, 45, 0.25) !important;
}

/* ==== Spezielle Darstellung für Aktuelles auf der Startseite ==== */
#index-neuigkeiten .artikel-datum {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Entfernt das Datum aus der Überschrift */
#index-neuigkeiten .artikel-titel .artikel-datum {
  display: none !important;
}

/* ============================================================
   Lupe-Effekt für klickbare Bilder in Lightbox-Bereichen
   ============================================================ */

/* 1. Allgemein für alle relevanten Seiten (aber nicht Startseiten-Gruppenfoto) */
#index-neuigkeiten img,
#neuigkeiten-inhalte img,
main img {
  position: relative;
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* 2. Nur für dynamisch oder klickbar dargestellte Bilder */
#index-neuigkeiten img::after,
#neuigkeiten-inhalte img::after,
main img::after {
  content: "\f002"; /* Font Awesome Lupe */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
}

/* 3. Hover-Effekt */
#index-neuigkeiten img:hover,
#neuigkeiten-inhalte img:hover,
main img:hover {
  transform: scale(1.05);
  filter: brightness(0.8);
}

#index-neuigkeiten img:hover::after,
#neuigkeiten-inhalte img:hover::after,
main img:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* 4. Ausnahme: Startseiten-Gruppenfoto bleibt unverändert */
.img-container img {
  cursor: default;
  transform: none !important;
  filter: none !important;
}

.img-container img::after {
  content: none !important;
}


/* ============================================================
   Lightbox-Navigation (Vor/Zurück)
   ============================================================ */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  padding: 0 0.75rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 100000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}


