
    :root{
      --bg: #f9f9f9;
      --text: #333;
      --brand-100:#eef5eb;
      --brand-200:#dbe7d8;
      --brand-300:#cfe0c7;
      --brand-400:#bcd3b2; /* primary */
      --brand-600:#6e8e67;
      --radius: 14px;
      --shadow: 0 6px 24px rgba(0,0,0,.08);
      --maxw: 1100px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:'Comfortaa', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
      background:var(--bg);
      color:var(--text);
      line-height:1.6;
    }
    .container{max-width:var(--maxw); margin-inline:auto; padding:0 16px}

    /* Header / Hero */
    header{
      background:linear-gradient(180deg, var(--brand-200), var(--brand-100));
      padding:28px 0 18px;
      text-align:center;
      position:relative;
    }
    .brand{display:flex; gap:16px; align-items:center; justify-content:center;}
    .brand img{height:84px; width:auto; object-fit:contain}
    .brand h1{margin:0; font-size:clamp(1.3rem, 2.2vw, 1.9rem); font-weight:700}
    .subtitle{margin-top:6px; opacity:.85}

    /* Nav */
    nav{
      position:sticky; top:0; z-index:50;
      background:var(--brand-400);
      box-shadow:var(--shadow);
    }
    .nav-inner{display:flex; gap:8px; flex-wrap:wrap; justify-content:center; align-items:center; padding:10px 14px}
    nav a{
      display:inline-block; padding:8px 12px; border-radius:999px; text-decoration:none; color:#1f1f1f; font-weight:700;
    }
    nav a:hover, nav a:focus-visible{background:var(--brand-300); outline:none}

    section{padding:36px 0}
    section h2{font-size:clamp(1.2rem, 2.2vw, 1.6rem); margin:0 0 10px}
    .card{background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:18px}

    /* Galerie */
    .gallery{display:grid; grid-template-columns:repeat(auto-fill, minmax(250px,1fr)); gap:10px}
    .gallery figure{margin:0; background:#fff; border-radius:12px; overflow:hidden; box-shadow:var(--shadow)}
    .gallery img{display:block; width:100%; aspect-ratio:16/10; object-fit:cover}
    .gallery figcaption{padding:8px 10px; font-size:.95rem; color:#444}

    /* Tabellen */
    table{width:100%; border-collapse:collapse; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}
    th, td{padding:10px 12px; border-bottom:1px solid #e9e9e9; text-align:left}
    thead th{background:var(--brand-200)}
    tfoot td{font-weight:700}

    /* Formulare */
    form{display:grid; gap:12px}
    input, textarea, select, button{
      font:inherit; padding:10px 12px; border-radius:10px; border:1px solid #d9d9d9; background:#fff
    }
    textarea{resize:vertical}
    button, input[type="submit"]{border:none; background:var(--brand-400); font-weight:700; cursor:pointer}
    button:hover, input[type="submit"]:hover{filter:brightness(.95)}

    /* Iframes */
    .iframe-wrap{position:relative; padding-top:56.25%; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:#fff}
    .iframe-wrap iframe{position:absolute; inset:0; width:100%; height:100%; border:0}

    /* Footer */
    footer{background:var(--brand-200); text-align:center; padding:24px 16px; margin-top:30px}

    /* Popup */
    .backdrop{position:fixed; inset:0; display:none; place-items:center; background:rgba(0,0,0,.6); z-index:9999}
    .dialog{background:#fff; width:min(92vw, 540px); border-radius:16px; box-shadow:var(--shadow); padding:20px}
    .dialog h3{margin-top:0}
    .dialog-actions{display:flex; justify-content:center; gap:10px; margin-top:14px}

    /* Helpers */
    .sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0}

    /* Header Grundlayout */
header {
  text-align: center;
  background: #e3ecdf;
  padding: 20px;
}

/* Container: Logo links, Titel rechts daneben */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Logo mit Text */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;   /* Logo überall gleich groß */
  width: auto;
}

.logo-text h1 {
  font-size: 1.8rem;
  margin: 0;
}

.logo-text h1 span {
  color: #4a148c; /* nur „Helga“ farbig, optional */
}

/* Titel rechts neben dem Logo */
.seite-titel h2 {
  font-size: 2rem;
  margin: 0;
}

/* Untertitel & Backlink */
.untertitel {
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
}

.backlink {
  margin-top: 10px;
}

.backlink a {
  color: #4a148c;
  text-decoration: none;
}

.backlink a:hover {
  text-decoration: underline;
}

/* Modal Hintergrund */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Modal Inhalt */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Schließen-Button */
.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #000;
}
header {
  text-align: center;
  background: #e4eddf; /* dein hellgrüner Hintergrund */
  padding: 20px;
}

.header-text h1 {
  margin: 0;
  font-size: 2.2em;
}

.header-text p {
  margin: 5px 0 0;
  font-size: 1.1em;
  color: #555;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px #000;
  border-radius: 8px;
  background: #fff;
}

    /* --- Pfeile --- */
    .lightbox .prev, .lightbox .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2.5rem;
      color: white;
      background: rgba(0,0,0,0.4);
      padding: 10px 15px;
      cursor: pointer;
      border-radius: 5px;
      user-select: none;
    }
    .lightbox .prev { left: 20px; }
    .lightbox .next { right: 20px; }

    .lightbox .prev:hover, .lightbox .next:hover {
      background: rgba(0,0,0,0.7);
    }

    /* --- Schließen Button --- */
    .lightbox .close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 2rem;
      color: white;
      cursor: pointer;
    }

    /* Popup Grundlayout */
.backdrop {
  display: none; /* standardmäßig ausgeblendet */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.backdrop.active {
  display: flex; /* sichtbar, wenn "active"-Klasse gesetzt wird */
}

.dialog {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.dialog-actions button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #bcd3b2;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}


.btn-secondary {
  background-color: #bcd3b2;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1em;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.1s ease;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background-color: #a7c69d;
  transform: translateY(-1px);
}

/* Mobilgeräte: Buttons mittig und responsiv */
@media (max-width: 700px) {
  .info-buttons {
    align-items: center;
    margin-left: 0;
  }

  .btn-secondary {
    width: 80%;
    min-width: unset;
  }
}

.galerie-button .btn-secondary {
  background-color: #bcd3b2;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  color: #333;
  padding: 10px 18px;
  display: inline-block;
}

  .modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }

  .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    font-family: 'Comfortaa', sans-serif;
  }

  .modal-content h3 {
    margin-top: 0;
    color: #333;
  }

  .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #777;
  }

  .close:hover {
    color: black;
  }

  .ausstattung {
    margin-top: 10px;
  }
  .ausstattung h4 {
    margin-top: 20px;
    color: #333;
    font-size: 1.1em;
  }
  .ausstattung ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 5px;
  }
  .ausstattung li {
    margin: 3px 0;
    padding-left: 20px;
    position: relative;
  }
  .ausstattung li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6c8f5a;
  }

  /* Einheitliches Grid für Info-Buttons */
.info-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  justify-items: start;
  align-items: center;
  max-width: 800px;
  margin: 20px auto 40px;
  padding-inline: 20px;
}

.info-buttons-grid .btn-secondary {
  background-color: #bcd3b2;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1em;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.1s ease;
  text-align: center;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.info-buttons-grid .btn-secondary:hover {
  background-color: #a7c69d;
  transform: translateY(-1px);
}

/* ===========================
   GALERIE-SEITE – DESIGN-UPGRADE
   =========================== */

/* Einheitlicher Stil für alle Galerie-Abschnitte */
main.container section {
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}
main.container section:last-of-type {
  border-bottom: none;
}

/* Überschriften mit dezenter Farbe und mehr Abstand */
main.container section h2 {
  text-align: center;
  font-size: 1.6em;
  color: #2e2e2e;
  margin-bottom: 20px;
  position: relative;
}

/* kleine Linie unter jeder Überschrift */
main.container section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-400);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Galerie-Layout (leicht größer als auf der Startseite) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  justify-items: center;
}

.gallery figure {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.gallery figcaption {
  padding: 10px;
  text-align: center;
  font-size: 0.95em;
  color: #444;
  background: #f7f7f7;
  border-top: 1px solid #eee;
}

/* Navigationsleiste unter Galerie-Header */
nav[aria-label="Galerie Navigation"] {
  background: var(--brand-300);
  box-shadow: var(--shadow);
}
nav[aria-label="Galerie Navigation"] a {
  color: #222;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 14px;
}
nav[aria-label="Galerie Navigation"] a:hover {
  background: var(--brand-200);
}

/* Zurück-Link unter Galerie-Titel */
.backlink {
  margin-top: 10px;
}
.backlink a {
  text-decoration: none;
  font-weight: 600;
  color: #4a148c;
  transition: color 0.2s ease;
}
.backlink a:hover {
  color: #2e7031;
}

/* Footer optisch angleichen */
footer {
  background: var(--brand-200);
  padding: 30px 16px;
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
}
footer a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
footer a:hover {
  text-decoration: underline;
}

/* Einheitliches Layout für Sections mit zentriertem Inhalt */
section {
  padding: 50px 0;
}

section .container {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}

section:last-of-type .container {
  border-bottom: none;
}

/* Einheitlicher Stil der Überschriften */
section h2 {
  text-align: center;
  font-size: 1.6em;
  color: #2e2e2e;
  margin-bottom: 20px;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-400);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* --- Korrektur für Button-Positionen --- */

/* Buttons direkt unter dem Text "Über die Unterkunft" platzieren */
.info-buttons {
  margin-top: -15px;      /* rückt sie näher an den Kasten */
  border-top: none !important;
}

/* Trennlinie vor Galerie-Abschnitt entfernen, damit der Button darüber sitzt */
#galerie {
  border-top: none !important;
  padding-top: 10px;
}

/* Galerie-Button näher an den Bildern, über dem Trennstrich */
.galerie-button {
  margin-top: 15px;
  border-top: none;
}

/* === KORREKTUR: Buttons über Trennlinien positionieren === */

/* "Über die Unterkunft" – Buttons direkt unter der Box, über der Linie */
.info-buttons {
  position: relative;
  z-index: 2;
  margin-top: -10px;     /* näher an die Box */
  margin-bottom: 30px;   /* etwas Abstand nach unten */
}
#info .container {
  border-bottom: none !important;  /* Linie ausblenden */
}

/* Galerie – Button mittig über der Linie */
.galerie-button {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
#galerie .container {
  border-bottom: none !important;  /* Linie ausblenden */
}

.info-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;     /* Buttons zentrieren */
  gap: 12px;
  margin-top: 10px;        /* Abstand nach oben */
  margin-bottom: 40px;     /* Abstand nach unten */
}

.galerie-button {
  text-align: center;      /* Button mittig unter Galerie */
  margin-top: 20px;
  margin-bottom: 40px;
}

/* ===== Header mit Logo links und Text mittig ===== */
.main-header {
  background: linear-gradient(180deg, var(--brand-200), var(--brand-100));
  padding: 20px 0;
  position: relative;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 20px;
}

.header-logo img {
  height: 70px;
  width: auto;
}

.header-text {
  text-align: center;
  flex: 1;
}

.header-text h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  margin: 0;
}

.header-text p {
  margin: 6px 0 0;
  font-size: 1.1em;
  color: #555;
}

/* Mobile Ansicht: Logo über Text */
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .header-logo {
    position: static;
    transform: none;
    padding-left: 0;
  }

  .header-logo img {
    height: 60px;
  }
}
/* ===== Kalender Responsive Layout ===== */
.calendar-wrap {
  position: relative;
  width: 100%;
  height: 650px; /* Standard Desktop-Höhe */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.calendar-wrap iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile Ansicht: etwas kompakter, aber der ganze Monat sichtbar */
@media (max-width: 768px) {
  .calendar-wrap {
    height: 800px; /* mehr Höhe, damit Monat komplett sichtbar ist */
  }
}

/* ====== Kontaktformular - Design-Feinschliff ====== */

/* Einheitliches Layout für mehr Spaltenfelder */
form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form input[type="date"],
form textarea {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Fokuszustand – harmoniert mit deinem Grünton */
form input:focus,
form textarea:focus {
  border-color: #bcd3b2;
  box-shadow: 0 0 5px rgba(188, 211, 178, 0.7);
  outline: none;
}

/* Einheitliche Abstände zwischen den Gruppen */
form div[style*="grid-template-columns"] {
  margin-top: 8px;
}

/* Textarea leicht anpassen */
form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Button-Design wie bei deinen anderen Elementen */
form button,
form input[type="submit"] {
  border: none;
  background-color: #bcd3b2;
  font-weight: 700;
  font-family: 'Comfortaa', sans-serif;
  color: #333;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px 24px;
  transition: background 0.2s ease, transform 0.1s ease;
}

form button:hover,
form input[type="submit"]:hover {
  background-color: #a7c69d;
  transform: translateY(-1px);
}
/* Preisrechner kompakter & aufgeräumt */
.preisrechner-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px; /* begrenzt die Breite */
}

.preisrechner-form label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #333;
}

.preisrechner-form input[type="number"] {
  width: 120px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  text-align: center;
}

.info-text {
  font-size: 0.9em;
  color: #555;
  margin: -5px 0 10px 0;
}

/* Button an bestehendes Design angepasst */
.btn-primary {
  background: #bcd3b2;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: #a7c69d;
  transform: translateY(-1px);
}

/* Responsive: Eingabefelder untereinander auf schmalen Displays */
@media (max-width: 600px) {
  .preisrechner-form label {
    flex-direction: column;
    align-items: flex-start;
  }

  .preisrechner-form input[type="number"] {
    width: 100%;
  }
}
