/*!
 * Ferientraum Schollbrunn – Zentrale Stylesheet
 * Konsolidiert am: 2025-11-22
 * Enthält alle ehemals inline definierten Styles der Einzelseiten.
 * Struktur:
 *  1. Variablen & Grundlayout
 *  2. Header / Navigation / Footer
 *  3. Gemeinsame Seiten-Utilities
 *  4. Seitenspezifische Bereiche (Index, Gallery, Buchung, Wohnungen, Kontakt, Gästebuch, Impressum)
 */

/* 1. Variablen & Grundlayout */
:root { --max-w:1200px; --pad:16px; --gap-v:32px; --header-h:44px; --footer-h:44px; }
html { box-sizing:border-box; font-size:clamp(15px,1.2vw,18px); }
*,*::before,*::after { box-sizing:inherit; }
body { margin:0; padding:0; font-family:Arial, sans-serif; min-height:100vh; color:#222; padding-top:var(--header-h); padding-bottom:var(--footer-h); }
img { max-width:100%; height:auto; display:block; }

/* Hintergrundbilder pro Seite über Body-Klassen */
body.page-index { background:url('img/wohnung1/neu1.jpg') center/cover fixed no-repeat; }
body.page-gallery { background:url('img/wohnung1/51.jpeg') center/cover fixed no-repeat; }
body.page-buchung { background:url('img/wohnung1/5.jpeg') center/cover fixed no-repeat; }
body.page-wohnung1 { background:url('img/wohnung1/neu1.jpg') center/cover fixed no-repeat; }
body.page-wohnung2 { background:url('img/wohnung2/4.jpg') center/cover fixed no-repeat; }
body.page-kontakt { background:url('img/wohnung1/neu9.jpg') center/cover fixed no-repeat; }
body.page-gaestebuch { background:url('img/wohnung1/neu6.jpg') center/cover fixed no-repeat; }
body.page-impressum { background:url('img/wohnung1/uhr.jpeg') center/cover fixed no-repeat; }

/* 2. Header / Navigation / Footer */
header { position:fixed; top:0; left:0; width:100%; height:var(--header-h); background:rgba(0,0,0,0.6); z-index:100; }
header .container { max-width:var(--max-w); height:100%; margin:0 auto; padding:0 var(--pad); display:flex; align-items:center; justify-content:space-between; }
header h1 { margin:0; font-size:.95rem; line-height:1.1; color:#fff; font-weight:600; letter-spacing:.5px; text-shadow:2px 2px 4px rgba(0,0,0,0.7); }
.menu-toggle { display:none; font-size:20px; color:#fff; background:rgba(0,0,0,0.35); padding:6px 8px; border-radius:6px; cursor:pointer; }
nav ul { list-style:none; margin:0; padding:0; display:flex; gap:12px; }
nav a { color:#fff; text-decoration:none; padding:6px 10px; border-radius:6px; font-size:.9rem; text-shadow:1px 1px 3px rgba(0,0,0,0.6); }
nav a:hover { background:rgba(255,255,255,0.15); }
@media (max-width:768px){
  /* Mobile Layout: Hamburger ganz links, dann Titel */
  .menu-toggle{display:block; order:0; margin-right:10px;}
  header h1{order:1;}
  header nav{order:2; margin-left:auto;}
  header .container{justify-content:flex-start;}
  /* Collapsible animated menu */
  nav ul{flex-direction:column; position:absolute; left:0; top:var(--header-h); width:100%; background:rgba(0,0,0,.75); gap:0; padding:0; margin:0; max-height:0; overflow:hidden; opacity:0; transform:translateY(-6px); transition:max-height .35s ease, opacity .35s ease, transform .35s ease;}
  nav ul.open{padding:8px 0; opacity:1; transform:translateY(0); max-height:400px;}
  nav ul li a{display:block; padding:12px 18px; border-bottom:1px solid rgba(255,255,255,0.08)}
  nav ul li a:hover{background:rgba(255,255,255,0.12)}
}
footer { 
  position:fixed; 
  bottom:0; 
  left:0; 
  width:100%; 
  height:var(--footer-h); 
  background:#000; 
  color:#fff; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  font-size:.75rem; 
  gap: 15px;
}
footer p { margin:0; }
footer .cookie-settings-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.7rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}
footer .cookie-settings-btn:hover {
  background: rgba(255,255,255,0.25);
}
footer .cookie-icon {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s ease;
}
footer .cookie-icon:hover {
  transform: scale(1.2);
}
@media (max-width: 768px) {
  footer .cookie-settings-btn {
    display: none;
  }
  footer .cookie-icon {
    display: block;
  }
}
.menu-toggle:focus { outline:2px solid #fff; outline-offset:2px; }

/* Floating Cookie Settings Button (für alle Seiten rechts unten) */
.cookie-fab {
  position: fixed;
  right: 14px;
  bottom: calc(var(--footer-h) + 10px);
  z-index: 110;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 12px;
  border-radius: 24px;
  font-size: 0.8rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  transition: transform .25s ease, background .25s ease;
}
.cookie-fab:hover { transform: translateY(-2px); background: rgba(0,0,0,0.95); }
@media (max-width: 768px){ .cookie-fab{ right:10px; bottom: calc(var(--footer-h) + 8px); font-size:.78rem; padding:7px 11px; } }

/* Welcome Banner */
.welcome-banner {
  position: fixed;
  top: calc(var(--header-h) - 100%);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 20px 30px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 150;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.welcome-banner.show {
  top: var(--header-h);
  opacity: 1;
}
.welcome-content {
  text-align: center;
}
.welcome-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  font-weight: 600;
}
.welcome-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
}
@media (max-width: 768px) {
  .welcome-banner {
    width: 95%;
    padding: 15px 20px;
  }
  .welcome-content h3 {
    font-size: 1.1rem;
  }
  .welcome-content p {
    font-size: 0.85rem;
  }
}

/* Access Denied Overlay */
.access-denied-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.access-denied-popup {
  background: #fff;
  color: #222;
  max-width: 600px;
  width: 100%;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
  animation: popupSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.popup-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
}
.access-denied-popup h2 {
  margin: 0 0 15px 0;
  font-size: 1.8rem;
  color: #000;
}
.access-denied-popup p {
  margin: 0 0 20px 0;
  line-height: 1.6;
  font-size: 1rem;
}
.info-box {
  background: #f5f5f5;
  border-left: 4px solid #2196F3;
  padding: 20px;
  margin: 25px 0;
  text-align: left;
  border-radius: 8px;
}
.info-box h3 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  color: #2196F3;
}
.info-box ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.info-box ul li {
  margin: 8px 0;
  position: relative;
  padding-left: 8px;
}
.info-box ul li::before {
  content: "✓";
  position: absolute;
  left: -15px;
  color: #4CAF50;
  font-weight: bold;
}
.security-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}
.security-badge p {
  margin: 5px 0;
}
.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}
.popup-buttons button {
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-accept {
  background: #4CAF50;
  color: white;
}
.btn-accept:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}
.btn-decline {
  background: #f5f5f5;
  color: #666;
}
.btn-decline:hover {
  background: #e0e0e0;
}
@media (max-width: 768px) {
  .access-denied-popup {
    padding: 30px 20px;
  }
  .popup-icon {
    font-size: 2.5rem;
  }
  .access-denied-popup h2 {
    font-size: 1.4rem;
  }
  .access-denied-popup p {
    font-size: 0.9rem;
  }
}

/* Cookie Banner */
.cookie-banner { 
  position: fixed; 
  bottom: calc(var(--footer-h) - 100%); 
  left: 0; 
  width: 100%; 
  background: rgba(0,0,0,0.95); 
  color: #fff; 
  padding: 18px 20px; 
  font-size: .78rem; 
  z-index: 120; 
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  transition: bottom 0.4s ease-in-out;
  display: none;
}
.cookie-banner.show { 
  display: flex;
  flex-wrap: wrap; 
  gap: 12px; 
  align-items: center; 
  justify-content: center;
  bottom: var(--footer-h);
}
.cookie-banner p { margin:0; flex:1 1 240px; }
.cookie-banner button { 
  background: #fff; 
  color: #000; 
  border: none; 
  padding: 10px 16px; 
  border-radius: 6px; 
  cursor: pointer; 
  font-size: .75rem; 
  font-weight: 600;
  transition: all 0.3s ease;
}
.cookie-banner button:hover { 
  background: #e2e2e2; 
  transform: translateY(-2px);
}
.cookie-banner a { color:#fff; text-decoration:underline; }

/* Erweiterte Cookie-Banner-Styles */
.cookie-header {
  width: 100%;
  margin-bottom: 20px;
}
.cookie-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #fff;
}
.cookie-header p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
}
.cookie-toggles {
  width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  margin: 20px 0;
  padding: 0 4px;
}
.cookie-group {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.cookie-group h4 {
  color: #4CAF50;
  font-size: 1rem;
  margin: 0;
}
.category-toggle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.category-toggle input {
  margin: 0;
}
.cookie-item {
  margin: 8px 0;
}
.cookie-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  line-height: 1.3;
}
.cookie-item input[type="checkbox"] {
  margin: 2px 0 0 0;
  transform: scale(1.1);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}
.cookie-actions button {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
}
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px;
    font-size: 0.85rem;
  }
  .cookie-toggles {
    max-height: 50vh;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-actions button {
    width: 100%;
    max-width: none;
  }
}

/* 3. Gemeinsame Seiten-Utilities */
main.page, main.container2 { min-height:calc(100vh - var(--header-h) - var(--footer-h)); display:flex; align-items:center; justify-content:center; padding:var(--gap-v) var(--pad); }
.btn { display:inline-block; padding:10px 14px; background:#000; color:#fff; text-decoration:none; border-radius:8px; font-size:.85rem; font-weight:600; }
.btn:hover { background:#222; }

/* 4. Seitenspezifische Bereiche */
/* Index (Auswahl) */
body.page-index .container2 { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:calc(100vh - var(--header-h) - var(--footer-h) - 12px); padding:8px 0; }
body.page-index .choices { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:6px; width:100%; max-width:1100px; }
body.page-index .choice { background:rgba(255,255,255,0.95); border-radius:10px; flex:1 1 320px; max-width:460px; padding:12px 12px 10px; text-align:left; box-shadow:0 6px 18px rgba(0,0,0,0.08); display:flex; flex-direction:column; }
body.page-index .choice img { max-height:24vh; object-fit:cover; border-radius:6px; }
@media (max-width:900px){ body.page-index .choices{gap:12px} body.page-index .choice{flex-basis:42%} }
@media (max-width:700px){ body.page-index .container2{min-height:calc(100vh - 130px)} body.page-index .choice img{max-height:20vh} body.page-index .choice{flex-basis:100%} }
body.page-index .intro-text { color:#ffffff; text-align:center; margin-bottom:6px; max-width:900px; padding:4px 10px; font-weight:600; font-size:clamp(16px,1.4vw,18px); text-shadow:2px 2px 4px rgba(0,0,0,0.7); }
/* Intro-Text Stil auch für die Wohnungsseiten, damit die Überschrift außerhalb des Containers identisch wirkt */
body.page-wohnung1 .intro-text, body.page-wohnung2 .intro-text {
  color:#ffffff;
  text-align:center;
  margin:10px auto 8px auto;
  max-width:900px;
  padding:4px 10px;
  font-weight:600;
  font-size:clamp(16px,1.4vw,18px);
  text-shadow:2px 2px 4px rgba(0,0,0,0.7);
}

/* Gallery */
body.page-gallery main.page { 
  display: flex; 
  flex-direction: column; 
  height: calc(100vh - var(--header-h) - var(--footer-h)); 
  padding: 20px 0; 
  margin: 0; 
}
@media (max-width: 768px) {
  body.page-gallery main.page {
    padding: 10px 0;
  }
}
body.page-gallery main.page .container { 
  display: flex; 
  flex-direction: column; 
  height: 100%; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
  text-align: center; 
}
/* Buttons direkt unter Header */
body.page-gallery main.page .container > div:first-child { 
  padding: 12px 16px; 
  background: rgba(0,0,0,0.6); 
  border-radius: 10px;
  flex-shrink: 0; 
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.page-gallery main.page .container > div:first-child button {
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(0,0,0,0.7); /* Leicht transparent schwarz */
  color: #fff;
  margin: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
body.page-gallery main.page .container > div:first-child button:hover {
  background: rgba(0,0,0,0.85);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
body.page-gallery main.page .container > div:first-child button.active {
  background: rgba(255,255,255,0.95); /* Weißer Hintergrund beim Klick */
  color: #000;
  box-shadow: 0 3px 12px rgba(255,255,255,0.3);
}
/* Play Button */
body.page-gallery #playButton {
  padding: 8px 18px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
body.page-gallery #playButton:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
/* Bilder Container mit fester Größe - Platz für Navigation-Buttons */
body.page-gallery .slider { 
  flex: 1; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative; 
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  padding: 20px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
  min-height: 400px;
  max-width: calc(100% - 140px); /* Platz für Navigation-Buttons links und rechts */
  margin: 0 auto;
}
body.page-gallery .slider img { 
  max-width: 100%; 
  max-height: 100%; 
  width: auto;
  height: auto;
  object-fit: contain; 
  cursor: pointer; 
  border: 5px solid #fff; 
  box-shadow: 0 0 30px rgba(0,0,0,0.7); 
  border-radius: 8px;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
body.page-gallery .slider img.active { 
  opacity: 1;
  position: relative;
}
/* Slideshow Fullscreen */
body.page-gallery.fullscreen-slideshow {
  background: #000;
}
body.page-gallery.fullscreen-slideshow .slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  border-radius: 0;
  z-index: 9999;
  padding: 0;
}
body.page-gallery.fullscreen-slideshow .slider img {
  max-width: 95vw;
  max-height: 95vh;
  border: none;
}
/* Fade effects */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-100%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
body.page-gallery .slider img.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}
body.page-gallery .slider img.slide-right {
  animation: slideInRight 0.8s ease-in-out;
}
body.page-gallery .slider img.slide-left {
  animation: slideInLeft 0.8s ease-in-out;
}
body.page-gallery .slider img.zoom-in {
  animation: zoomIn 0.8s ease-in-out;
}
/* Modal */
body.page-gallery .modal { 
  display: none; 
  position: fixed; 
  z-index: 999; 
  padding-top: 50px; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background: rgba(0,0,0,0.95); 
}
body.page-gallery .modal-content { 
  margin: auto; 
  display: block; 
  width: 90%; 
  max-width: 1200px; 
  max-height: 90vh; 
  object-fit: contain; 
}
body.page-gallery .modal-close { 
  position: absolute; 
  top: 10px; 
  right: 25px; 
  font-size: 40px; 
  color: #fff; 
  cursor: pointer; 
  z-index: 1000; 
}
body.page-gallery .modal-close:hover { 
  color: #ccc; 
}
/* Navigation Buttons */
body.page-gallery .slider-prev, 
body.page-gallery .slider-next { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  background: rgba(0,0,0,0.65); 
  color: #fff; 
  border: none; 
  font-size: 32px; 
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.4); 
  z-index: 10; 
}
body.page-gallery .slider-prev { 
  left: 20px; 
}
body.page-gallery .slider-next { 
  right: 20px; 
}
body.page-gallery .slider-prev:hover, 
body.page-gallery .slider-next:hover { 
  background: rgba(0,0,0,0.85); 
}
/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
  body.page-gallery .slider-prev,
  body.page-gallery .slider-next {
    display: none;
  }
}
/* Fullscreen controls */
body.page-gallery .fullscreen-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  border-radius: 50px;
  padding: 12px 20px;
  display: none;
  gap: 15px;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
body.page-gallery.fullscreen-slideshow .fullscreen-controls {
  display: flex;
}
body.page-gallery .fullscreen-controls button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
body.page-gallery .fullscreen-controls button:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}
body.page-gallery .fullscreen-controls button.close-btn {
  background: rgba(255,59,48,0.8);
}
body.page-gallery .fullscreen-controls button.close-btn:hover {
  background: rgba(255,59,48,1);
}

/* Buchung */
body.page-buchung main.page { align-items:center; justify-content:center; }
body.page-buchung .container2 { max-width:800px; width:100%; background:rgba(255,255,255,0.9); padding:24px; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,0.12); text-align:center; }
body.page-buchung iframe { border:none; max-width:100%; }

/* Wohnungen 1 & 2 */
body.page-wohnung1 .container, body.page-wohnung2 .container { max-width:var(--max-w); margin:0 auto; padding:var(--pad); }
body.page-wohnung1 .container2, body.page-wohnung2 .container2 { max-width:900px; margin:0 auto; padding:24px; background:rgba(255,255,255,0.92); border-radius:10px; box-shadow:0 6px 16px rgba(0,0,0,0.1); text-align:left; }
/* Zusätzlicher Sicherheitsabstand zum Header/Footer, damit nichts überläuft */
body.page-wohnung1 main.container2, body.page-wohnung2 main.container2 {
  margin-top:12px;
  margin-bottom:12px;
}
body.page-wohnung2 .container2 { background:rgba(255,255,255,0.95); }
body.page-wohnung1 main.page, body.page-wohnung2 main.page { padding:28px var(--pad); }
body.page-wohnung1 footer, body.page-wohnung2 footer { text-align:center; padding:10px 8px; background:#000; color:#fff; }
/* Buttons auf den Wohnungsseiten in Schwarz, wie gewünscht */
body.page-wohnung1 .btn, body.page-wohnung2 .btn { background:#000; }
body.page-wohnung1 .btn:hover, body.page-wohnung2 .btn:hover { background:#222; }
/* Alte nav.menu (Wohnungsseiten) */
nav.menu { display:flex; align-items:center; }
nav.menu ul { list-style:none; padding:0; margin:0; display:flex; gap:12px; }
nav.menu ul li a { color:#fff; text-decoration:none; padding:6px 10px; border-radius:6px; font-size:.9rem; }
nav.menu ul li a:hover { background:rgba(255,255,255,0.15); }
@media (max-width:768px){
  nav.menu ul{display:none; flex-direction:column; position:absolute; left:0; top:var(--header-h); width:100%; background:rgba(0,0,0,0.7); padding:6px 0; gap:0; z-index:40}
  nav.menu ul li{width:100%}
  nav.menu ul li a{display:block; padding:10px 12px; border-bottom:1px solid rgba(255,255,255,0.05)}
  nav.menu ul li a:hover{background:rgba(255,255,255,0.06)}
}

/* Kontakt */
body.page-kontakt main.page { align-items:center; justify-content:center; }
body.page-kontakt .form-box { max-width:600px; width:100%; background:rgba(255,255,255,0.92); padding:28px; border-radius:14px; box-shadow:0 6px 24px rgba(0,0,0,0.12); }
body.page-kontakt .form-box form { display:flex; flex-direction:column; gap:12px; }
body.page-kontakt .form-box input, body.page-kontakt .form-box textarea { width:100%; padding:10px 12px; border:1px solid #ccc; border-radius:6px; font:inherit; }
body.page-kontakt .form-box textarea { min-height:120px; resize:vertical; }
body.page-kontakt .form-box button { padding:12px 16px; background:#000; color:#fff; border:none; border-radius:8px; font-weight:600; cursor:pointer; }
body.page-kontakt .form-box button:hover { background:#222; }

/* Gästebuch */
body.page-gaestebuch .box { max-width:860px; width:100%; background:rgba(255,255,255,0.9); padding:28px; border-radius:14px; box-shadow:0 6px 24px rgba(0,0,0,0.15); text-align:center; }
body.page-gaestebuch iframe { border:none; max-width:100%; }

/* Impressum / Datenschutz */
body.page-impressum .content { max-width:800px; width:100%; background:rgba(255,255,255,0.9); padding:28px; border-radius:14px; box-shadow:0 6px 24px rgba(0,0,0,0.12); }
body.page-impressum .content h1 { margin-top:0; font-size:1.2rem; }
body.page-impressum .content ul { margin:8px 0 16px 22px; }

/* ==== Apartment Pages (Wohnung 1 & 2) ==== */

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.breadcrumb li {
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "→";
    margin-left: 0.5rem;
    color: #999;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.page-header h1 {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin: 0;
    font-weight: 400;
}

/* Apartment Showcase */
.apartment-showcase {
    margin-bottom: 4rem;
}

/* Quick Actions */
.quick-actions {
    margin: 2rem auto 3rem auto;
    text-align: center;
}

.quick-actions .btn {
  margin: 0 .5rem;
}
/* Zentrierte Button-Reihe unter dem Buch */
.quick-actions .actions-row {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  padding:8px 0 0 0;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.action-btn {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

.action-btn.primary {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.action-btn.primary:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 2px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.action-btn span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.action-btn small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.75;
    font-weight: 400;
}

/* Key Features */
.key-features {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.key-features h2 {
    text-align: center;
    color: #2c3e50;
    margin: 0 0 2rem 0;
    font-size: 2rem;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(5px);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Testimonials */
.testimonials {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.testimonials h2 {
    text-align: center;
    color: #2c3e50;
    margin: 0 0 2rem 0;
    font-size: 2rem;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid rgba(0, 0, 0, 0.7);
    margin: 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.testimonial p {
    font-style: italic;
    color: #555;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.testimonial cite {
    color: #333;
    font-weight: 600;
    font-style: normal;
}

/* Responsive Design for Apartment Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-btn {
        padding: 0.875rem 1.25rem;
    }
    
    .key-features,
    .testimonials {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .breadcrumb ol {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .key-features h2,
    .testimonials h2 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Ende Stylesheet */
