:root {
    --main-bg-color: #333; /* dunkelgrau  */
    --link-color: #EEE; /* hellgrau */
    --hover-color: #00699B; /* blaugrau */
    --border-color: #EEE; /* hellgrau */
    --highlight-bg-color: #00699B; /* blaugrau */
    --font-size-normal: 13px; /* 13px */
    --letter-spacing-normal: 0.1em;
}


.custom-link {
    color: #00699B; /* blaugrau */
    text-decoration: underline;
}

.custom-link:hover {
    color: #6B8E23; /* Etwas helleres Grün beim Hover-Effekt */
    text-decoration: none; /* Entfernt den Unterstrich beim Hover */
}

/* FAQ Styles */
.faq-section {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    font-size: 18px;
    cursor: pointer;
    background-color: #556B2F; /* helles Olivgrün */
    color: #EEE; /* hellgrau */ 
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #6B8E23; /* Etwas helleres Grün beim Hover-Effekt */
}

.faq-answer {
    display: none; /* Versteckt die Antwort standardmäßig */
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #6B8E23; /* Etwas helleres Grün beim Hover-Effekt */
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.5;
}

.didactic {
    background-color: #f0f9ff; /* Hellblauer Hintergrund */
    border-left: 5px solid #6B8E23;
    padding: 15px 20px; /* Innenabstand */
    margin: 20px 0; /* Außenabstand */
    font-style: italic; /* Kursiv für didaktische Texte */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
    border-radius: 8px; /* Abgerundete Ecken */
    color: #004225; /* Dunkelgrün als Schriftfarbe */
}

.didactic p {
    margin: 0;
    line-height: 1.8;
}

.didactic::before {
    content: "💡 Gedankenexperiment zur Veranschaulichung:";
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #004225;
}

        .tooltip {
            position: relative;
            color: #004225;
            text-decoration: dotted underline;
            cursor: help;
        }

        .tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 120%; /* Tooltip oberhalb des Textes */
            left: 50%;
            transform: translateX(-50%);
            background-color: #004225;
            color: #FFF;
            padding: 5px 10px;
            border-radius: 5px;
            white-space: nowrap;
            font-size: 12px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .tooltip:hover::after {
            opacity: 1;
            visibility: visible;
        }

/* Dropdown Menü Stile für vertikale Navigation */

.dropdown.open .dropdown-content {
    display: block;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: block;
    position: relative;
    background-color: #EEE; /* hellgrau */
    margin-left: 20px;
    padding: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 10px;
    color: #EEE; /* hellgrau */
    text-decoration: none;
    font-size: 14px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #EEE; /* hellgrau */
}


body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  color: var(--hover-color);
  background-color: var(--main-bg-color);
  font-family: Arial, Helvetica, sans-serif;
}

header {
  grid-area: header;
  text-align: center;
  padding: 20px 0;
  background-color: #EEE; /* hellgrau */ 
}

main {
  grid-area: main;
  background-color: #EEE; /* hellgrau */ 
margin-left: 12px; /* Platz für die vertikale Navigation */
  padding: 20px;
  font-weight: bold;
}

footer {
  grid-area: footer;
  text-align: center;
  background-color: #EEE; /* hellgrau */ 
  padding: 20px 0;
}

main h1 {
  font-size: 24px;
  margin: 0;
  color: #00699B; /* dunkelblaugrau */
  text-align: left;
}

main h2 {
  font-size: 20px;
  margin: 0;
  color: #00699B; /* dunkelblaugrau */
  text-align: left;
}

.tagline {
  background-color: #00699B; /* dunkelblaugrau */
  color: #EEE; /* hellgrau */ 
  padding: 8px 20px;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.15em;
  margin: 0 0 20px 0;
  box-sizing: border-box;
}


nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin: 0;
  margin-top: 15px;
  padding-right: 0;
  box-sizing: border-box;
}

.nav-link {
  text-decoration: none;
  color: #EEE; /* hellgrau */
  font-weight: bold;
  margin-bottom: 10px;
  padding: 10px 20px;
  background-color: #00699B; /* dunkelblaugrau */
  border-radius: 5px 5px 0 0;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.nav-link:hover,
.nav-link.active {
  background-color: #EEE; /* hellgrau */ 
  color: #00699B; /* dunkelblaugrau */
}


section p {
    line-height: 1.6;
    color: #00699B; /* dunkelblaugrau */
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

.container {
  width: 1024px;
  display: grid;
  grid-template-columns: 1fr 4.8fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "header header"
    "nav main"
    "emergency-button main"
    "footer footer";
  gap: 20px;
  background-color: #EEE; /* hellgrau */ 
  padding-left: 20px;
  padding-right: 20px;
}

/* Listenelement */
.custom-list li {
    line-height: 1.6;
    margin-bottom: 0.6em;
}

.emergency-button {
    display: block;
    background-color: #ff0000; /* kräftiges Rot */
    color: #FFF; /* Weiß für den Text */
    padding: 10px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: fit-content;
    grid-area: emergency-button;
}

.emergency-button:hover {
    background-color: #B71C1C; /* dunkleres Rot beim Hover-Effekt */
}

        /* Container für die Bilder */
        .image-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px; /* Abstand zwischen den Bildern */
            margin-top: 20px;
        }

        /* Stil für die Bilder */
        .image-container img {
            max-width: 300px; /* Maximalbreite der Bilder auf 300px beschränken */
            width: 100%; /* Bilder passen sich der Containergröße an */
            height: auto; /* Seitenverhältnis beibehalten */
            border-radius: 10px; /* Abgerundete Ecken */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatteneffekt */
            transition: transform 0.4s ease, box-shadow 0.4s ease; /* Übergangseffekt für das Zoomen und Schatten */
        }

        /* Hover-Effekt für das Zoomen */
        .image-container img:hover {
            transform: scale(1.05); /* Bilder beim Überfahren leicht vergrößern */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Intensiverer Schatten beim Hover */
        }

        :root {
    --main-bg-color: #333; /* dunkelgrau  */
    --link-color: #EEE; /* hellgrau */
    --hover-color: #00699B; /* blaugrau */
    --border-color: #EEE; /* hellgrau */
    --highlight-bg-color: #00699B; /* blaugrau */
    --font-size-normal: 13px; /* 13px */
    --letter-spacing-normal: 0.1em;
}


.custom-link {
    color: #00699B; /* blaugrau */
    text-decoration: underline;
}

.custom-link:hover {
    color: #6B8E23; /* Etwas helleres Grün beim Hover-Effekt */
    text-decoration: none; /* Entfernt den Unterstrich beim Hover */
}

/* FAQ Styles */
.faq-section {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    font-size: 18px;
    cursor: pointer;
    background-color: #556B2F; /* helles Olivgrün */
    color: #EEE; /* hellgrau */ 
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #6B8E23; /* Etwas helleres Grün beim Hover-Effekt */
}

.faq-answer {
    display: none; /* Versteckt die Antwort standardmäßig */
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #6B8E23; /* Etwas helleres Grün beim Hover-Effekt */
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.5;
}

.didactic {
    background-color: #f0f9ff; /* Hellblauer Hintergrund */
    border-left: 5px solid #6B8E23;
    padding: 15px 20px; /* Innenabstand */
    margin: 20px 0; /* Außenabstand */
    font-style: italic; /* Kursiv für didaktische Texte */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
    border-radius: 8px; /* Abgerundete Ecken */
    color: #004225; /* Dunkelgrün als Schriftfarbe */
}

.didactic p {
    margin: 0;
    line-height: 1.8;
}

.didactic::before {
    content: "💡 Gedankenexperiment zur Veranschaulichung:";
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #004225;
}

        .tooltip {
            position: relative;
            color: #004225;
            text-decoration: dotted underline;
            cursor: help;
        }

        .tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 120%; /* Tooltip oberhalb des Textes */
            left: 50%;
            transform: translateX(-50%);
            background-color: #004225;
            color: #FFF;
            padding: 5px 10px;
            border-radius: 5px;
            white-space: nowrap;
            font-size: 12px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .tooltip:hover::after {
            opacity: 1;
            visibility: visible;
        }

/* Dropdown Menü Stile für vertikale Navigation */

.dropdown.open .dropdown-content {
    display: block;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: block;
    position: relative;
    background-color: #EEE; /* hellgrau */
    margin-left: 20px;
    padding: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 10px;
    color: #EEE; /* hellgrau */
    text-decoration: none;
    font-size: 14px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #EEE; /* hellgrau */
}


body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  color: var(--hover-color);
  background-color: var(--main-bg-color);
  font-family: Arial, Helvetica, sans-serif;
}

header {
  grid-area: header;
  text-align: center;
  padding: 20px 0;
  background-color: #EEE; /* hellgrau */ 
}

main {
  grid-area: main;
  background-color: #EEE; /* hellgrau */ 
margin-left: 12px; /* Platz für die vertikale Navigation */
  padding: 20px;
  font-weight: bold;
}

footer {
  grid-area: footer;
  text-align: center;
  background-color: #EEE; /* hellgrau */ 
  padding: 20px 0;
}

main h1 {
  font-size: 24px;
  margin: 0;
  color: #00699B; /* dunkelblaugrau */
  text-align: left;
}

main h2 {
  font-size: 20px;
  margin: 0;
  color: #00699B; /* dunkelblaugrau */
  text-align: left;
}

.tagline {
  background-color: #00699B; /* dunkelblaugrau */
  color: #EEE; /* hellgrau */ 
  padding: 8px 20px;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.15em;
  margin: 0 0 20px 0;
  box-sizing: border-box;
}


nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin: 0;
  margin-top: 15px;
  padding-right: 0;
  box-sizing: border-box;
}

.nav-link {
  text-decoration: none;
  color: #EEE; /* hellgrau */
  font-weight: bold;
  margin-bottom: 10px;
  padding: 10px 20px;
  background-color: #00699B; /* dunkelblaugrau */
  border-radius: 5px 5px 0 0;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.nav-link:hover,
.nav-link.active {
  background-color: #EEE; /* hellgrau */ 
  color: #00699B; /* dunkelblaugrau */
}


section p {
    line-height: 1.6;
    color: #00699B; /* dunkelblaugrau */
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

.container {
  width: 1024px;
  display: grid;
  grid-template-columns: 1fr 4.8fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "header header"
    "nav main"
    "emergency-button main"
    "footer footer";
  gap: 20px;
  background-color: #EEE; /* hellgrau */ 
  padding-left: 20px;
  padding-right: 20px;
}

/* Listenelement */
.custom-list li {
    line-height: 1.6;
    margin-bottom: 0.6em;
}

.emergency-button {
    display: block;
    background-color: #ff0000; /* kräftiges Rot */
    color: #FFF; /* Weiß für den Text */
    padding: 10px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: fit-content;
    grid-area: emergency-button;
}

.emergency-button:hover {
    background-color: #B71C1C; /* dunkleres Rot beim Hover-Effekt */
}

.simple-image {
    display: block;
    max-width: 100%; /* Standardmäßig auf volle Breite des Containers */
    height: auto; /* Automatische Höhenanpassung */
    text-align: left; /* Links ausgerichtet */
    margin-bottom: 20px;
}


        /* Container für die Bilder */
        .image-container {
            display: flex;
            justify-content: left;
            flex-wrap: wrap;
            gap: 20px; /* Abstand zwischen den Bildern */
            margin-top: 20px;
        }

        /* Stil für die Bilder */
        .image-container img {
            max-width: 300px; /* Maximalbreite der Bilder auf 300px beschränken */
            width: 100%; /* Bilder passen sich der Containergröße an */
            height: auto; /* Seitenverhältnis beibehalten */
            border-radius: 10px; /* Abgerundete Ecken */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatteneffekt */
            transition: transform 0.4s ease, box-shadow 0.4s ease; /* Übergangseffekt für das Zoomen und Schatten */
        }

        /* Hover-Effekt für das Zoomen */
        .image-container img:hover {
            transform: scale(1.05); /* Bilder beim Überfahren leicht vergrößern */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Intensiverer Schatten beim Hover */
        }



        /* Bildunterschriften */
.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #00699B; /* dunkelblaugrau */
    margin-top: 10px;
}

        /* Abstände für den Text */
        main p {
            margin-top: 20px;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .image-container {
                flex-direction: column; /* Bilder untereinander auf mobilen Geräten */
                align-items: center;
            }

            .image-container img {
                max-width: 90%; /* Bilder nutzen 90% der Breite auf kleinen Bildschirmen */
            }
        }

.image-caption .copyright {
    font-size: 0.8rem; /* Schriftgröße für den Urheberrechtstext */
    color: #888; /* Leicht abgedunkelte Farbe für den Urheberrechtstext */
    text-decoration: none; /* Unterstreichung entfernen */
}

.image-caption .copyright:hover {
    color: #555; /* Farbe ändern, wenn der Benutzer den Link überfährt */
    text-decoration: underline; /* Unterstreichung beim Hover anzeigen */
}


        /* Bildunterschriften */
.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #00699B; /* dunkelblaugrau */
    margin-top: 10px;
}

        /* Abstände für den Text */
        main p {
            margin-top: 20px;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .image-container {
                flex-direction: column; /* Bilder untereinander auf mobilen Geräten */
                align-items: center;
            }

            .image-container img {
                max-width: 90%; /* Bilder nutzen 90% der Breite auf kleinen Bildschirmen */
            }
        }

.image-caption .copyright {
    font-size: 0.8rem; /* Schriftgröße für den Urheberrechtstext */
    color: #888; /* Leicht abgedunkelte Farbe für den Urheberrechtstext */
    text-decoration: none; /* Unterstreichung entfernen */
}

.image-caption .copyright:hover {
    color: #555; /* Farbe ändern, wenn der Benutzer den Link überfährt */
    text-decoration: underline; /* Unterstreichung beim Hover anzeigen */
}
