body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9; /* Helles Grau für den Hintergrund */
    color: #333; /* Dunkles Grau für den Text */
    margin: 0;
    padding: 20px;
}

header {
    background-color: #4c6b3b; /* Olivgrün für den Header */
    color: white;
    padding: 20px;
    display: flex; /* Aktiviert Flexbox */
    flex-direction: column; /* Elemente in einer Spalte anordnen */
    align-items: flex-start; /* Horizontale Zentrierung */
}

h2 {
    color: #4c6b3b; /* Olivgrün für die Überschriften */
    margin-top: 20px;
}

section {
    border: 1px solid #ccc; /* Helles Grau für die Rahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    padding: 15px;
    margin-top: 20px;
    background-color: white; /* Weißer Hintergrund für die Abschnitte */
}

button {
    background-color: #4c6b3b; /* Olivgrün für die Buttons */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
}

button:disabled {
    background-color: #ccc; /* Graue Farbe für inaktive Buttons */
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #3a4f2b; /* Dunkleres Olivgrün beim Hover */
}

footer {
    text-align: center;
    margin-top: 20px;
}

.logo-container {
    width: 60%;  /* Der Container soll die gesamte Breite ausfüllen */
    max-width: 60%;  /* Container nicht breiter als die Seite */
    text-align: center;  /* Inhalt des Containers zentrieren */
}

.logo {
    max-width: 60%;  /* Das Logo darf nicht größer als der Container sein */
    height: auto;  /* Automatische Höhe für Proportionalität */
    display: block;  /* Blockelement, um Margins anzuwenden */
    margin: 0 auto;  /* Zentrierung des Logos */
}

/* Spezielle Anpassung für kleinere Bildschirme */
@media (max-width: 480px) {
    .logo {
        max-width: 80%;  /* Auf sehr kleinen Bildschirmen 80% der Breite */
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .logo {
        max-width: 60%;  /* Auf mittleren Bildschirmen 60% der Breite */
    }
}

@media (min-width: 769px) {
    .logo {
        max-width: 40%;  /* Auf größeren Bildschirmen 40% der Breite */
    }
}

/* Neuer CSS-Code für das Cookie-Banner und Modal */
#cookieConsent {
    background-color: rgba(20, 20, 20, 0.8);
    min-height: auto;
    font-size: 18px;
    color: #ccc;
    line-height: 1.5;
    padding: 20px;
    z-index: 9999;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#cookieConsent p { margin-bottom: 10px; text-align: left; width: 100%; }
#cookieConsent a { color: #4B8EE7; }

.button-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

#acceptCookies, #declineCookies, #settingsCookies {
    background-color: #4B8EE7;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin: 10px;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    z-index: 10000;
    max-width: 95%;
    max-height: 80vh;
    overflow-y: auto;
}
.modal-content { position: relative; width: 90%; }
.close { position: absolute; top: 13px; right: 13px; font-size: 24px; cursor: pointer; }

@media (max-width: 768px) {
    .modal { max-width: calc(100% - 40px); width: calc(100% - 40px); }
    .modal-content { width: calc(100% - 40px); }
}
/* Logo bleibt zentriert */
header .logo-container {
  width: 100%;
  text-align: center;
  align-self: center; /* hebt flex-start nur fürs Logo auf */
}
.intro-text {
  font-size: 1rem;
  color: #222;
  background-color: #f7f7f7;
  border-left: 4px solid #4c6b3b;
  padding: 12px 18px;
  margin: 5px 0 20px 0; /* zentriert + etwas mehr unten */
  line-height: 1.6;
  width: 85%;           /* etwas breiter als vorher */
  max-width: 960px;    /* aber nicht zu breit auf großen Bildschirmen */
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
