:root {
  --altrosa: #d6886e;
  --dunkelgrau: #2f2f2f;
  --hellgrau: #f7f7f7;
  --weiß: #ffffff;
  --hellaltrosa: #e7afa7;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--dunkelgrau);
  line-height: 1.6;
  background-color: var(--altrosa); /* Footer-/Topbar-Farbe */
  padding: 0;
  overscroll-behavior: contain; /* Verhindert automatisches Bouncen auf Mobilgeräten */
}
.value{
  display: flex;
  align-items: center; /* optional: vertikale Ausrichtung */
  justify-content: flex-start; /* linksbündig */
  gap: 4px; /* kleiner Abstand zwischen den Elementen */
  margin-left: 0; /* kein linker Außenabstand */
  padding-left: 0; /* kein linker Innenabstand */
}

.page-content {
  background-color: white;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  position: flex;
}

.top-bar {
  background-color: var(--altrosa); /* Rosa Sandstein */
  text-align: left;
  font-size: 0.9rem;
  padding-left: 100px; /* Abstand vom linken Rand */
}

.top-bar p {
  margin: 0;
  color: #ffffff;  /* Dezentes Grau für die Symbole */
}

.top-bar a {
  color: white;  /* Weiß für die Links */
  text-decoration: none;  /* Entfernt die Unterstreichung */
}

.top-bar a:hover {
  color: #fce4ec;  /* Helles Rosa für Hover */
  text-decoration: underline;  /* Unterstreicht den Link beim Hover */
}

/* Start Header */
.start-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

/* Die wechselnden Bilder im Hintergrund */
.header-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.header-img.active {
  opacity: 1;
  z-index: 1;
}

/* Header und Navigation oder auch header {}*/ 
.page-header {
  background:  url('pics_docs/schildmauer_eingang1.jpg') center/cover no-repeat; /* Transparenter Hintergrund, falls gewünscht */
  filter: brightness(100%);
  padding: 2rem 0; /* Sicherstellen, dass der Header nicht zu hoch ist */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10; /* Wenn nötig, um ihn über anderen Inhalten anzuzeigen */
  position: relative;
  width: 100%; /* Ensuring header stretches across full width */
  text-align: center;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}

nav.main-nav {
  position: absolute;
  top: 0px;      /* Abstand von oben */
  display: flex;
  justify-content: space-between;  /* Links (Logo + Titel) und rechts (Links) trennen */
  align-items: center;             /* Vertikale Zentrierung */
  background: rgba(255, 255, 255, 0.7); /* Transparenter Hintergrund für die Navigation */
  backdrop-filter: blur(6px); /* Weiches Verwischen des Hintergrunds */
  padding: 0.8rem 2rem; /* Padding anpassen */
  width: 100%; /* Volle Breite */
  overflow: visible; /* WICHTIG! */
  z-index: 10;
}

nav .nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Kleineren Abstand zwischen Logo und Titel */
}

nav .nav-wappen {
  height: 30px; /* Kleinere Wappen */
  width: auto;
  opacity: 0.85;
  filter: grayscale(100%) brightness(0);
  margin-left: 40px;
}

nav .nav-title {
  display: flex;
  flex-direction: column;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem; /* Kleinere Schrift für das Logo */
  font-weight: bold;
  color: #2f2f2f;
  line-height: 1.1; /* Weniger Abstand zwischen den Zeilen */
}

nav .nav-links {
  display: flex;
  gap: 2rem; /* Normaler Abstand zwischen den Links */
  flex-wrap: wrap; /* Umbruch bei kleinen Bildschirmen */
  list-style: none; /* Entfernt Bulletpoints für alle <a>-Tags innerhalb der Navigation */
  padding: 0 1rem 0 0;
  margin: 0;
  display: flex;

}

nav .nav-links li {
  position: relative; /* Damit das Dropdown relativ zum Menüpunkt positioniert wird */
  list-style: none;
  margin: 0; /* Entfernt den Standardabstand */
  padding: 0; /* Entfernt den Standard-Padding */
  display: inline-block;
}

nav .nav-links a {
  text-decoration: none;
  color: #2f2f2f;
  font-weight: bold;
  font-size: 0.95rem; /* Etwas kleinere Schrift für die Links */
  transition: color 0.3s ease;
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

nav .nav-links a:hover {
  color: var(--altrosa); /* Altrosa beim Hover */
  padding: 0;
  margin: 0;
}

.wappenbereich {
  display: flex;
  flex-direction: column;
  z-index: 9;
  align-items: center;
  margin-top: 10rem;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.wappenbereich.hidden {
  opacity: 0;
}

.wappen-logo {
  max-width: 300px;
  height: auto;
  z-index: 1;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.untertitel {
  font-size: 1.6rem;
  font-weight: 1000;
  white-space: nowrap;
  color: white;
  z-index: 1;
  margin-top: 1.7rem;
  max-width: 80%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* leichter grauer Schatten */
}

@media screen and (max-width: 768px) {
  .wappen-logo {
    max-width: 100px; /* kleiner als Desktop */
    opacity: 0.9;
  }

  .untertitel {
    font-size: 1.2rem;
    white-space: normal; /* jetzt darf der Text umbrechen */
    text-align: center;  /* für schönes Layout */
    max-width: 90%;
    line-height: 1.4;
  }

  .wappenbereich {
    padding: 3.5rem 0 1.5rem 0;
  }

  .header-banner {
  height: 200px; /* Beispielhöhe */  
  }

}


.abschnitt {
  padding: 2rem 2rem;
  max-width: 1000px;
  margin: 0 auto; /* Zentriert das Element horizontal */
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--altrosa);
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  section h2 {
    font-size: 1.8rem;
  }

footer {
  background: var(--dunkelgrau);
  color: var(--weiß);
  text-align: center;
  padding: 2rem;
}
}
/* Banner für Unterseiten */
.header-banner {
  background: url('pics_docs/banner-image.jpg') no-repeat center center;
  background-size: cover;
  height: 3cm; /* Höhe des Banners */
  width: 100%; /* Banner füllt die gesamte Breite */
  margin-top: 0; /* Kein Abstand zum oberen Rand */
}

form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  background: #f7f7f7;
  border-radius: 8px;
}

input, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: var(--altrosa);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.preisliste-bereich {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.preisliste {
  border-spacing: 20px;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.preisliste th,
.preisliste td {
  border-bottom: 1px solid #ccc;
  padding: 0.7rem 1rem;
  text-align: left;
}

.preisliste th {
  background-color: #b87d7d;
  color: #fff;
}

.preisliste td:nth-child(2) {
  padding-left: 5rem; /* Erhöht den Abstand in der zweiten Spalte */
}

.preisliste td strong {
  color: #444;
}
@media screen and (max-width: 768px) {
  .preisliste {
    width: 100%;
    display: block;
    overflow-x: auto; /* Horizontales Scrollen bei zu großen Tabellen */
  }

  .preisliste td:nth-child(2) {
    padding-left: 1rem; /* Weniger Abstand mobil */
  }
}


.ruecktrittsregeln {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.hinweis {
  background-color: var(--altrosa);
  padding: 1rem;
  border-left: 5px solid #af7b72;
  font-size: 0.95rem;
  margin: 2rem;
}

.quote {
  font-style: italic;
  background-color: #f7f7f7;
  border-left: 5px solid #b87d7d;
  padding: 1rem;
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.quote footer {
  text-align: right;
  font-size: 0.85rem;      /* Kleinere Schriftgröße */
  color: #fff;             /* Weiße Schriftfarbe */
  margin-top: 0.2rem;     /* Verringert den Abstand nach oben */
  padding: 0.7rem 1rem 0.7rem 0rem;      /* Reduziert das Padding im Footer */
  line-height: 1.5;        /* Verkleinert den Zeilenabstand */
}

.download-links {
  display: flex;
  justify-content: flex-end; /* Rechtsbündig */
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.download-button {
  display: block; /* Button verhält sich wie ein Block-Element */
  margin-right: 1rem;
  padding: 6px 15px; /* Kleinere und flachere Größe */
  color: var(--altrosa); /* Schriftfarbe */
  text-align: center;
  text-decoration: none; /* Kein Unterstrich */
  border-radius: 4px; /* Etwas abgerundete Ecken */
  font-size: 0.9rem; /* Kleinere Schriftgröße */
  box-shadow: none; /* Kein Schatten */
  transition: background-color 0.3s ease; /* Sanfter Übergang der Hintergrundfarbe */
  width: fit-content; /* Die Breite des Buttons wird nur so groß wie der Inhalt */
  margin-left: auto; /* Automatischer linker Abstand */
  margin-right: 0; /* Kein rechter Abstand */
  border: 2px solid var(--altrosa); /* Altrosa, gut sichtbar */
}

.download-button:hover {
  background-color: #eccdc8; /* Ändert die Hintergrundfarbe bei Hover */
}

.site-footer {
  background-color: var(--altrosa);
  color: white;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  line-height: 1;
  display: flex;
  justify-content: center;       /* Zentriert den Hauptinhalt */
  align-items: center;
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

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

.footer-links {
  position: absolute;
  right: 3rem;                   /* Abstand vom rechten Rand */
  display: flex;
  gap: 0.8rem;
}

.footer-links a {
  color: white;
  text-decoration: underline;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: none;
  color: #fce4ec;
}

@media (max-width: 600px) {
  .footer-links {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .footer-center {
    width: 100%;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


/* Dropdown-Menü (standardmäßig versteckt) */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  min-width: 150px;
  z-index: 1000;
  text-align: left; /* <- Hier ergänzen */
  padding: 0.5rem 0.5rem;
}

/* Stellt sicher, dass Links im Dropdown links ausgerichtet sind */
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: white;
  white-space: nowrap;
  text-align: left;  /* Hier wird der Text links ausgerichtet */
}

/* Verhindert, dass es Überschneidungen oder Unordnung gibt */
.dropdown-menu li {
  padding: 0;
  text-align: left; /* <- Auch hier ergänzen */
}

/* Dropdown bei Hover sichtbar machen */
.dropdown:hover .dropdown-menu {
  display: block;
}

.page-content.impressum {
  max-width: 800px;
  margin: 3rem auto;
  padding: 1rem;
  color: #2f2f2f;
  font-family: 'Open Sans', serif;
  line-height: 1.6;
}

.page-content.impressum h1 {
  color: var(--altrosa); /* dunkles Altrosa */
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.page-content.impressum h2 {
  color: var(--altrosa);
  margin-top: 2rem;
  font-size: 1.3rem;
}

.page-content.impressum h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #444;
}

.page-content.impressum a {
  color:  var(--altrosa);
  text-decoration: underline;
}

.page-content.impressum a:hover {
  text-decoration: none;
  color: var(--altrosa);
}

/* Container der Galerie */
.image-gallery {
  position: relative;
  width: 100%;
  max-width: 800px; /* max. Breite der Galerie */
  margin: auto;
  overflow: hidden;
}

/* Das Karussell selbst */
.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Jedes Bild als Slide */
.carousel-slide {
  min-width: 100%;
  display: flex;
  box-sizing: border-box;
  position: relative; /* Damit der Text am linken Rand des Bildes sitzt */
  align-items: center; /* Vertikale Ausrichtung von Bild und Text */
}

/* Bildgröße festlegen, damit sie einheitlich sind */
.carousel-slide img {
  width: 50%;
  height: 300px; /* oder 100%, je nach Bedarf */
  object-fit: cover;
  display: block;
  margin-right: 20px;
  border-radius: 8px; /* Optional, für schönes Aussehen */
}
/* Text unter dem Bild */
.carousel-slide p {
  font-size: 1rem;
  color: var(--dunkelgrau);
  text-align: left;
  background: none;
  width: 50%;
  padding: 10px;
  margin: 0;
}

.prev, .next {
  position: absolute;
  top: 87%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--dunkelgrau); /* Deine bestehende Farbvariable */
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 2;
}

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}


.button-container {
  text-align: center; /* Zentriert den Inhalt innerhalb dieses Containers */
  margin: 6rem 4rem; /* Abstand oben und unten */
}

.buchung-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--dunkelgrau);
  color: white;
  text-decoration: none;
  font-size: 1.8rem;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.buchung-button:hover {
  background-color: var(--altrosa);
}

.zentriert-gross {
  text-align: center;    /* Zentriert den Text */
  font-size: 2rem;       /* Macht den Text groß */
  font-family: 'Playfair Display';  /* Beispiel-Schriftart */
  color: var(--dunkelgrau);           /* Setzt die Schriftfarbe */
}

.fancy-font {
  font-family: 'Playfair Display';
  font-size: 2rem; /* große Überschrift auf Desktop */
  color: #3e2f1c;
  text-align: center;
  margin: 1rem 0;
  font-weight: 300; /* → dünner */
}

/* Mobiloptimierung */
@media screen and (max-width: 768px) {
  .fancy-font {
    font-size: 2.2rem; /* kleiner auf kleineren Geräten */
    padding: 0 1rem;
    line-height: 1.2;
    font-weight: 300;
  }
}


.fancy-font-small {
  font-family: 'Great Vibes', cursive;
  font-size: 1.7rem;
  color: #a7a7a7; /* z.B. ein edles Lila */
  text-align: left;
  margin: 1rem 0 -2.6rem 12rem;
}

.fancy-font-small-right {
  font-family: 'Great Vibes', cursive;
  font-size: 1.7rem;
  color: #a7a7a7; /* z.B. ein edles Lila */
  text-align: right;
  position: relative; /* Positionierung relativ zum normalen Layout */
  left: -200px; /* Verschiebt das Element nach links */
  margin: 0 0 -2.6rem 0;
}

.font-small-right {
  font-family: 'Playfair Display', cursive;
  font-size: 1.7rem;
  color: var(--altrosa); /* z.B. ein edles Lila */
  text-align: left;
  position: relative; /* Positionierung relativ zum normalen Layout */
  left: 170px; /* Verschiebt das Element nach links */
  margin: 0 0 -3.5rem 0;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-fade-up {
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

.impressionen-container {
  display: flex; /* Flexbox aktivieren */
  justify-content: center; /* Zentriert das Grid horizontal */
  padding: 1rem;
}

.impressionen-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 4 Spalten nebeneinander */
  gap: 1rem; /* Abstand zwischen den Bildern */
  max-width: 1200px; /* Maximalbreite des Grids */
  width: 100%; /* Das Grid kann die gesamte Breite des Containers einnehmen */
}

.impressionen-grid img {
  width: 100%; /* Bilder füllen ihre Spalten */
  height: 200px; /* Festgelegte Höhe der Bilder */
  object-fit: cover; /* Füllt den Platz aus, ohne das Bild zu verzerren */
  border-radius: 8px; /* Optional: abgerundete Ecken */
}


@media (max-width: 768px) {
  .impressionen-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablets */
  }
}

@media (max-width: 480px) {
  .impressionen-grid {
    grid-template-columns: 1fr; /* 1 Spalte auf mobilen Geräten */
  }
}

.feature-section {
  width: 75vw;
  height: 30vh;
  margin: 2rem auto;
  display: flex;
  border-radius: 6px;
  background-color: #f9f2f4; /* Altrosa */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feature-text {
  flex: 1;
  padding: 2rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

.feature-image {
  width: 50vh;       /* Breite = 3x Höhe */
  height: 30vh;      /* Höhe = 2 Teile */
  align-self: center;
  flex-shrink: 0;
}

.feature-image img {
  padding-right: 5px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.feature-section-left {
  width: 75vw;
  height: 30vh;
  margin: 2rem auto;
  display: flex;
  flex-direction: row-reverse;
  border-radius: 6px;
  background-color: #f9f2f4; /* Altrosa */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}


.aktivitaeten-box {
  position: relative;
  background-color: #f5f4f3;
  padding: 1rem 1.5rem 1.5rem 1rem;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  margin: 5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Open Sans', sans-serif;
}

.box-label {
  position: absolute;
  top: -2.4rem;
  left: 1.5rem;
  background-color: #fff;
  padding: 0 0.5rem;
  color: var(--altrosa);
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  border-radius: 6px;
  line-height: 1;
}

.aktivitaeten-inhalt {
  display: flex;
  flex-wrap: wrap; /* Damit der Text und das Bild sich anpassen können */
  align-items: center; /* Vertikale Ausrichtung der Elemente */
}

.aktivitaeten-bild {
  width: 100%;
  max-width: 400px; /* Maximale Breite des Bildes */
  height: 300px;
  margin-right: 2rem;
  margin-bottom: 0; /* Abstände zwischen Bild und Text */
}

.aktivitaeten-gruppe {
  flex: 1;
}

@media (max-width: 600px) {
  .aktivitaeten-box {
    padding: 1rem 1rem 1rem 1rem;
    width: 95%;
  }

  .box-label {
    font-size: 1.2rem;
    left: 1rem;
  }

  .aktivitaeten-inhalt {
    flex-direction: column; /* Auf kleinen Bildschirmen das Bild über den Text schieben */
    align-items: center; /* Zentriert das Bild und den Text */
  }

  .aktivitaeten-bild {
    margin-right: 0; /* Entfernt den rechten Abstand */
    margin-bottom: 0; /* Fügt etwas Abstand unter dem Bild hinzu */
    max-width: 100%; /* Bild passt sich der mobilen Breite an */
  }
}

.aktivitaeten-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}


.aktivitaeten-hinweis {
  font-style: italic;
  color: #666;
  margin-top: 2rem;
}

html, body {
  overflow-x: hidden;
  height: 100%;
}
/* Allgemeine mobile Optimierungen */
@media (max-width: 768px) {
  .top-bar {
    padding-left: 1rem;
    font-size: 0.8rem;
  }

  .start-header,
  .page-header {
    background-position: center;
  }

  nav.main-nav {
    flex-direction: column;
    align-items: flex-start;
    z-index: 10
  }

  nav .nav-left {
    margin-bottom: 1rem;
    flex-direction: row;
    gap: 1rem;
  }

  nav .nav-title {
    font-size: 0.85rem;
  }

  nav .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  nav .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
  }

  .abschnitt {
    padding: 2rem 1rem;
  }

  .preisliste {
    width: 100%;
    font-size: 0.9rem;
  }

  .preisliste td:nth-child(2) {
    padding-left: 1rem;
  }

  .download-links {
    flex-direction: column;
    align-items: flex-end;
  }

  .download-button {
    margin-right: 1rem;
    margin-left: 1rem;
    width: 80%;
    text-align: center;
  }

  .buchung-button {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
  }

  .image-gallery {
    max-width: 100%;
  }

  .carousel-slide {
    flex-direction: column;
  }

  .carousel-slide img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .carousel-slide p {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.95rem;
  }

  .impressionen-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .fancy-font-small,
  .fancy-font-small-right,
  .font-small-right {
    font-size: 1.3rem;
    text-align: left !important;
    margin: 1rem 0 !important;
    left: 0 !important;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
    right: 1rem;
  }
}

/* Sehr kleine Geräte (z. B. iPhones) */
@media (max-width: 480px) {
  .impressionen-grid {
    grid-template-columns: 1fr;
  }

  .nav-left,
  .nav-links {
    align-items: flex-start;
  }

  .footer-center {
    font-size: 0.75rem;
  }

  .footer-links a {
    font-size: 0.75rem;

  }
}


  .karte iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: 0;
  }
  .karte {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
  }

  .kontakt-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #a94464;
}

.kontakt-block {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.kontakt-block a {
  text-decoration: none;
  color: #444;
}

.kontakt-block a:hover {
  color: #a94464;
  text-decoration: underline;
}


/* Hamburger-Button */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #2f2f2f;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  nav .nav-links {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    width: 40vw; /* Maximalbreite von 90% der Viewport-Breite */
    max-width: 320px; /* oder z. B. 320px für absolute Begrenzung */
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    display: none;
    padding: 0rem 3rem 0rem 1rem;
    z-index: 999;
  }

  nav.main-nav {
    padding-top: 0.9rem;  /* Verringertes Padding oben */
    padding-bottom: 0rem; /* Verringertes Padding unten */
    padding-left: 1rem; /* Padding links bleibt unverändert oder nach Bedarf anpassen */
    padding-right: 1.5rem; /* Padding rechts bleibt unverändert oder nach Bedarf anpassen */
  }

  nav .nav-links.show {
    display: flex;
  }

  nav .nav-links a {
    width: 30;
    padding: 0rem 0;
    font-size: 1rem;
  }
  .hamburger {
    display: block;
    position: absolute;    /* Damit wir es relativ zum übergeordneten Element positionieren können */
    top: 0rem;           /* Verringere oder erhöhe diesen Wert, um das Symbol nach oben oder unten zu verschieben */
    right: 1rem;           /* Falls du es rechts ausrichten möchtest */
    font-size: 2rem;       /* Größe des Symbols anpassen */
    cursor: pointer;       /* Damit der Benutzer weiß, dass es klickbar ist */
    z-index: 1000;         /* Damit es über anderen Elementen schwebt */
  }
}
/* Mobile Ansicht */
@media (max-width: 768px) {
  header {
    height: auto;
    padding: 4rem 1rem;
  }

  .content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Open Sans', sans-serif;
  }
}

/* Beispiel: Für mobile Geräte (max. Bildschirmbreite 768px) */
@media screen and (max-width: 768px) {
  .top-bar {
    height: 21px; /* Beispielhöhe für die top-bar */
  }

  nav.main-nav {
    height: 42px; /* Beispielhöhe für die Navigation */
  }

  /* Optional: Falls das Bild zu groß wird, kannst du es auch verkleinern */
  header .wappenbereich img {
    width: 100%;  /* Bildbreite an den Bildschirm anpassen */
    height: auto; /* Höhe des Bildes im Verhältnis zur Breite anpassen */
  }
}

@media screen and (max-width: 768px) {
  .start-header {
    width: 100vw;
    aspect-ratio: 16 / 9; /* Oder was zum Bild passt */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0;
    height: auto;
    min-height: unset; /* Vermeide feste Mindesthöhe */
  }

  .page-header {
    height: 50px; /* z. B. schmaler Banner */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  nav .nav-wappen {
    margin-left: 20px;
  }
}

.teaser-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.teaser-bild {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.teaser-text {
  flex: 1;
  min-width: 250px;
}

@media (max-width: 768px) {
  .teaser-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .teaser-text {
    text-align: left;
  }
}
.geschichte-liste li {
  margin-bottom: 0.8rem;
}

/* Verschachtelte Listen */
ul.geschichte-liste {
  list-style-type: none;
  margin-top: 0.4rem;
}


.geschichte-liste ul li {
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .geschichte-liste {
    font-size: 1rem;
  }
}

  #login-box {
    padding: 2rem;
    max-width: 400px;
    margin: 4rem auto;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    
    /* Hintergrundbild */
    background-image: url('pics_docs/100_1952.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; /* damit Text gut lesbar ist */
    
    /* Übergang für sanften Hover */
    transition: background-color 0.3s ease;
    position: relative;
  }
  
  /* Overlay für dunklere Farbe beim Hover */
  #login-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 1rem;
    transition: background 0.3s ease;
    z-index: 0;
  }
  
  #login-box:hover::before {
    background: rgba(0,0,0,0.6);
  }
  
  /* Inhalt soll über Overlay liegen */
  #login-box > * {
    position: relative;
    z-index: 1;
  }

.jubilaeum-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff7f9;
  border: 1px solid var(--altrosa);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.jubilaeum-text {
  flex: 1;
  min-width: 250px;
}

.jubilaeum-text h3 {
  color: var(--altrosa);
  font-family: 'Playfair Display', serif;
  margin-top: 0;
}

.jubilaeum-bild {
  width: 180px;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
}

.download-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: white;
  background-color: var(--altrosa);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}

.download-link:hover {
  background-color: #b76473;
}

.guestbook_entry .info {
  background-color: #e9ecef;
  padding: 8px 12px;
  border-left: 4px solid #ccc;
  border-radius: 4px 4px 0 0;
  font-weight: 500;
}

.calendar-frame {
  width: 100%;
  height: 1000px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}


