/* ===== Allgemeines Layout ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}




/* ===== Header ===== */
header {
  background-color: #35495d;/* neu, statt #003366;*/
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

/* ===== Navigation ===== */
nav .nav {
  list-style: none;
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: inline-block;
  transition: color 0.2s ease;
}

.nav > li > a:hover {
  color: #ddd;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #48637e; /* neu, statt #005599;*/
  padding: 0.5rem 0;
  list-style: none;
  top: 100%;
  right: 0;
  min-width: 200px;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.5rem 1rem;
}

.dropdown-menu li a:hover {
  background-color: #0077cc;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ===== Farb-Sections ===== */
.section-white {
  background-color: #ffffff;
  padding: 3rem 2rem;
}

.section-gray {
  background-color: #f7f7f7;
  padding: 5rem 2rem;
}

/* ===== Dark Mode Unterstützung ===== */
body.dark {
  background-color: #1e1e1e;
  color: #ddd;
}

body.dark header {
  background-color: #111;
}

body.dark .nav > li > a {
  color: #ccc;
}

body.dark .dropdown-menu {
  background-color: #222;
}

body.dark .dropdown-menu li a:hover {
  background-color: #333;
}

/* Unterschiedliche Sektionen */
body.dark .section-white {
  background-color: #2b2b2b;
}

body.dark .section-gray {
  background-color: #1f1f1f;
}

body.dark .intro-card {
  background-color: #2d2d2d;
  color: #eee;
}

body.dark .contact-card {
  background-color: transparent;
  color: #eee;
}

body.dark .contact-card h3 {
  color: #fff;
}

body.dark h2,
body.dark h3,
body.dark .info-section h2,
body.dark .info-section h3,
body.dark .links-section h2 {
  color: #00cccc;
}

body.dark .contact-card i {
  color: #00cccc;
}

/* Optional: Hover-Effekt */
body.dark a:hover {
  color: #33dddd;
}

body.dark .text-card h2 {
  color: #fff;
}

body.dark a {
  color: #ffa500;
}

body.dark a:hover {
  text-decoration: underline;
}

body.dark footer {
  background-color: #111;
  color: #bbb;
}

/* Toggle-Button */
.theme-toggle {
  cursor: pointer;
  font-size: 1.4rem;
  color: white;
  margin-left: auto;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.theme-toggle:hover {
  color: #ffd700;
}

body.dark .theme-toggle i {
  color: #ffd700;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
}

.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===== Intro-Karten (Text + Bild) ===== */
.intro-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex: 1 1 450px;
  max-width: 500px;
}


.text-card h2 {
  color:  #35495d;/* neu, statt #003366;*/
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.text-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.image-card {
  text-align: center;
}

.image-card img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* ===== Visitenkarte ===== */
.contact-card {
  background: #fff;
  padding: 0rem;
  margin: 2rem 18rem 2rem auto;  /* Oben | Rechts | Unten | Links */
  max-width: 600px;
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.contact-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.contact-column {
  flex: 1;
  min-width: 300px;
}

.contact-column p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-card i {
  margin-right: 0.5rem;
  color:  #35495d;/* neu, statt #003366;*/
  min-width: 20px;
}

.contact-card a {
  color:  #35495d;/* neu, statt #0033cc;*/
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Mobil */
@media (max-width: 700px) {
  .contact-row {
    flex-direction: column;
  }
}



/* ===== Info- & Links-Abschnitt ===== */
.info-section,
.links-section {
  padding: 3rem 15rem;
  line-height: 1.6;
}

.info-section h2,
.links-section h2 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 1rem;
}

.info-section h3 {
  margin-top: 2rem;
  color: #003366;
}

.info-section p,
.links-section p {
  margin-bottom: 1rem;
}

.info-section ul,
.links-section ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.info-section li,
.links-section li {
  margin-bottom: 0.6rem;
}

.info-section a,
.links-section a {
  color: #aa8844;
  text-decoration: none;
}

.info-section a:hover,
.links-section a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
footer {
  background-color: #222;
  color: #eee;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== Cookies ===== */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #003366;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
}

.cookie-popup a {
  color: #aa8844;
  text-decoration: underline;
}

.cookie-popup button {
  background-color: #aa8844;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-popup button:hover {
  background-color: #ccaa55;
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  color: #333;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
  text-align: center;
}

.cookie-modal h3 {
  margin-top: 0;
  color: #003366;
}

.cookie-modal p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.cookie-modal a {
  color: #aa8844;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
}

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.cookie-buttons button:hover {
  background-color: #005599;
}

.cookie-icon {
  font-size: 2.5rem;
  color: #aa8844;
  margin-bottom: 1rem;
}
