:root {
  --green-accent: #39B54A;
}

/* Grundlegendes Styling */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styling */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav a {
  color: #374151;
  text-decoration: none;
  margin-right: 1rem;
  font-weight: 500;
}

nav a:hover {
  color: var(--green-accent);
}

/* Buttons */
.custom-btn, .btn-green {
  background-color: var(--green-accent);
  /* Farbe nicht setzen, damit text-black greifen kann */
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.custom-btn:hover, .btn-green:hover {
  background-color: #2e9d3f;
}

/* Falls du spezielle Hover-Farbe willst, überschreibe sie hier */
/* .btn-green:hover {
  background-color: #00ffc3;
} */

/* Abschnittstitel */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #004080;
}

/* Footer Styling */
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 1rem;
  /* margin-top wird dynamisch via PHP gesetzt */
}

/* Zusätzliche grüne Klassen */
.green-accent {
  background-color: var(--green-accent);
}

.text-green-accent {
  color: var(--green-accent);
}

.border-left-accent {
  border-left-width: 2px;
  border-left-color: #333333;
  border-left-style: solid;
}

.border-top-accent {
  border-top-width: 2px;
  border-top-color: #333333;
  border-top-style: solid;
}

/* Spezifisches Styling für die Startseite, um Footer-Abstand zu entfernen */
.page-index main {
  padding-bottom: 0 !important;
}

.page-index footer {
  margin-top: 0 !important;
}

/* Standard-Abstände für alle anderen Seiten */
.page-kontakt main,
.page-impressumksenergy main,
.page-datenschutzksenergy main {
  padding-bottom: 4rem; /* entspricht pb-20 */
}
.btn-green {
  color: black !important;
}
.btn-white-text {
  color: white !important;
}
.text-white-outline {
  text-shadow: 
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white;
}

