/*
Theme Name:  Alpengrün Ferienwohnung
Theme URI:   https://ferienwohnung-alpengruen.de
Author:      Familie Al-khalaf
Author URI:  https://ferienwohnung-alpengruen.de
Description: Professionelles WordPress-Theme für Ferienwohnung Alpengrün in Seeg im Allgäu. Inkl. Buchungssystem, iCal-Anbindung (Airbnb, Booking.com), vollständiger SEO-Optimierung und DSGVO-Konformität.
Version:     1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.2
License:     Proprietary
License URI: https://ferienwohnung-alpengruen.de
Text Domain: alpengruen
*/

/* ============================================================
   DESIGN-TOKEN & CSS-VARIABLEN
   (Alle Farb- und Größenwerte zentral definiert)
   ============================================================ */
:root {
  --primary-color:      #2d5016;
  --primary-dark:       #1f3a0f;
  --secondary-color:    #8b4513;
  --accent-color:       #d4a76a;
  --accent-dark:        #b8894a;
  --light-color:        #f8f5f0;
  --dark-color:         #1a1a1a;
  --gray-light:         #e8e6e1;
  --text-color:         #333;
  --text-color-light:   #666;
  --success-color:      #28a745;
  --error-color:        #dc3545;
  --warning-color:      #ffc107;
  --info-color:         #17a2b8;
  --shadow:             0 0.25rem 0.75rem rgba(0,0,0,.10);
  --shadow-heavy:       0 0.5rem 1.5rem  rgba(0,0,0,.15);
  --border-radius:      0.5rem;
  --border-radius-lg:   0.75rem;
  --transition:         all 0.3s ease;
  --navbar-height:      4.375rem;          /* 70px */
  --container-max:      1200px;
  --font-primary:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:       'Playfair Display', Georgia, serif;
}

/* ============================================================
   RESET & BASIS
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  padding-top: var(--navbar-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip-Link Barrierefreiheit */
.sr-only {
  position: absolute; width:1px; height:1px; padding:0;
  margin:-1px; overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}
.sr-only:focus {
  position:fixed; top:0; left:0; z-index:9999;
  width:auto; height:auto; clip:auto;
  padding:.75rem 1.5rem;
  background:var(--primary-color); color:#fff;
  font-size:1rem; text-decoration:none;
}

/* ============================================================
   TYPOGRAFIE
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.3;
  color: var(--dark-color);
  margin-bottom: .75rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

p { margin-bottom: 1rem; }

a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }

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

/* ============================================================
   LAYOUT: CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  background-color: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: .9375rem 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  height: 40px;
  gap: .5rem;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark-color);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.nav-menu .admin-btn {
  background: var(--primary-color);
  color: #fff !important;
  padding: .4rem 1rem;
  border-radius: var(--border-radius);
  border-bottom: none;
  font-size: .85rem;
}

.nav-menu .admin-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
  padding: .25rem;
  line-height: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}
.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-tertiary {
  background-color: transparent;
  color: var(--dark-color);
  border-color: var(--gray-light);
}
.btn-tertiary:hover {
  border-color: var(--dark-color);
  transform: translateY(-1px);
}

.btn-block { width: 100%; }

.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ============================================================
   SEKTIONEN
   ============================================================ */
.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: #f0ece4;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-top: calc(-1 * var(--navbar-height));
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  filter: brightness(.7);
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.2));
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,.4);
  margin-bottom: 1.5rem;
}

.subtitle p {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  margin-bottom: .75rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,.3);
  color: rgba(255,255,255,.95);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-buttons .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.hero-buttons .btn-primary:hover { background-color: var(--accent-dark); border-color: var(--accent-dark); }

.hero-buttons .btn-secondary {
  background-color: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.8);
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.hero-buttons .btn-secondary:hover { background-color: rgba(255,255,255,.3); }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--dark-color);
  font-family: var(--font-primary);
  font-weight: 600;
}

.feature p { color: var(--text-color-light); font-size: .9rem; margin: 0; }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-section { margin-top: 3rem; }

.gallery-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  padding: 1rem .75rem .5rem;
  font-size: .85rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform .3s ease;
}

.gallery-item:hover .image-caption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox[hidden] { display: none; }

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-nav:hover { background: rgba(255,255,255,.25); }

.lightbox-caption {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  margin-top: 1rem;
  text-align: center;
}

/* ============================================================
   UMGEBUNG
   ============================================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.activity-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.activity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-heavy); }

.activity-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.activity-content { padding: 1.5rem; }

.activity-content h3 {
  font-size: 1.1rem;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: .5rem;
}

.activity-content p { color: var(--text-color-light); font-size: .9rem; margin: 0; }

/* ============================================================
   BEWERTUNGEN
   ============================================================ */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.review-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent-color);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-heavy); }

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-stars { color: #f5b100; font-size: 1.1rem; }

.review-date { color: var(--text-color-light); font-size: .85rem; }

.review-content h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.review-content p { color: var(--text-color-light); font-size: .9rem; font-style: italic; margin: 0; }

.review-author {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
  color: var(--text-color-light);
  font-size: .85rem;
}

/* ============================================================
   BUCHUNG & PREISE
   ============================================================ */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.availability-info { }

.availability-info h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.calendar-container {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.calendar-container h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.price-info {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.price-info h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.price-info ul { list-style: none; }
.price-info li { padding: .35rem 0; font-size: .95rem; }

.small-note {
  font-size: .85rem;
  color: var(--text-color-light);
  margin-top: .5rem;
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}

.price-calculator {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.price-calculator h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Buchungsformular */
.booking-form {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.booking-form h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* ============================================================
   FORMULARE (Booking & Kontakt)
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 500;
  font-size: .9rem;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: .95rem;
  color: var(--text-color);
  background: #fff;
  transition: var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45,80,22,.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.form-group.checkbox input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.form-group.checkbox label { font-weight: 400; margin: 0; cursor: pointer; }

.form-text {
  display: block;
  font-size: .8rem;
  color: var(--text-color-light);
  margin-top: .25rem;
}

/* Honeypot versteckt */

/* Feedback-Meldungen */
.form-feedback {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  font-size: .95rem;
  display: none;
}
.form-feedback.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}
.form-feedback.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}
.form-feedback.loading {
  background: #cce5ff;
  color: #004085;
  border: 1px solid #b8daff;
  display: block;
}

/* ============================================================
   KONTAKT-BEREICH
   ============================================================ */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--primary-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  color: #fff;
}

.contact-info h3 {
  color: var(--accent-color);
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-details p {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .95rem;
}

.contact-details i {
  color: var(--accent-color);
  width: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-form {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* OpenStreetMap */
.map-container {
  margin-top: 3rem;
}

.map-container h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

#map {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

/* ============================================================
   COOKIE BANNER (ersetzt durch Complianz, bleibt für Fallback)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(26,26,26,.97);
  color: #fff;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform .4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-content { max-width: var(--container-max); margin: 0 auto; }

.cookie-content h3 { color: var(--accent-color); margin-bottom: .75rem; font-size: 1.1rem; }

.cookie-buttons {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cookie-small { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: .5rem; }
.cookie-small a { color: var(--accent-color); }

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal[hidden] { display: none; }

.cookie-modal-content {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-setting { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-light); }
.cookie-setting-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.cookie-setting-header h4 { font-size: 1rem; }
.cookie-required { font-size: .8rem; color: var(--success-color); }

.switch { position: relative; display: inline-block; width: 50px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  inset: 0;
  background: var(--gray-light);
  border-radius: 26px;
  cursor: pointer;
  transition: .3s;
}
.slider::before {
  content: '';
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}
.switch input:checked + .slider { background: var(--primary-color); }
.switch input:checked + .slider::before { transform: translateX(24px); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark-color);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p { font-size: .9rem; color: rgba(255,255,255,.7); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-color); }

.social-links { display: flex; gap: .75rem; margin-top: 1rem; }
.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--accent-color); transform: translateY(-2px); }

.payment-methods { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.payment-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .5rem .75rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--border-radius);
  font-size: .8rem;
}
.payment-icon i { font-size: 1.5rem; color: var(--accent-color); }
.payment-label { font-size: .7rem; color: rgba(255,255,255,.7); }

.payment-info, .security-info { font-size: .85rem; color: rgba(255,255,255,.7); }
.security-info p { margin-bottom: .25rem; }
.security-info i, .payment-info i { color: var(--accent-color); margin-right: .4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.6); margin: 0; }
.footer-note a { color: rgba(255,255,255,.5); font-size: .85rem; margin: 0 .5rem; transition: var(--transition); }
.footer-note a:hover { color: var(--accent-color); }

/* ============================================================
   INTRO-TEXT & ALLGEMEIN
   ============================================================ */
.intro-text { text-align: center; margin-bottom: 2.5rem; }
.intro-text p { font-size: 1.1rem; max-width: 800px; margin: 0 auto; color: var(--text-color-light); }

/* Ladeanimation */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--gray-light);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE: TABLET (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
  .booking-container,
  .contact-container { grid-template-columns: 1fr; }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0; right: 0;
    background: rgba(255,255,255,.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateY(-110%);
    transition: transform .3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    z-index: 999;
  }

  .nav-menu.open { transform: translateY(0); }
  .menu-toggle { display: block; }
}

/* ============================================================
   RESPONSIVE: MOBIL (≤ 576px)
   ============================================================ */
@media (max-width: 576px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .navbar, .cookie-banner, .lightbox, .hero-buttons, footer { display: none; }
  body { padding-top: 0; }
  .section { padding: 2rem 0; }
}

/* ============================================================
   KALENDER – Stile (v2.0 – Einzelmonat + Navigation)
   ============================================================ */
.ag-cal { font-family:var(--font-primary); font-size:14px; background:#fff;
           border-radius:var(--border-radius-lg); padding:1.25rem;
           box-shadow:var(--shadow); }

.ag-cal-nav-row { display:flex; align-items:center; justify-content:space-between;
                   margin-bottom:1rem; }

.ag-cal-btn { background:none; border:1.5px solid var(--gray-light);
               border-radius:50%; width:34px; height:34px; cursor:pointer;
               font-size:1rem; display:flex; align-items:center; justify-content:center;
               color:var(--primary-color); transition:var(--transition); }
.ag-cal-btn:hover:not(:disabled) { background:var(--primary-color); color:#fff; border-color:var(--primary-color); }
.ag-cal-btn:disabled { cursor:default; }

.ag-cal-title { font-weight:600; font-size:1rem; color:var(--primary-color); }

.ag-cal-weekdays { display:grid; grid-template-columns:repeat(7,1fr);
                    gap:2px; margin-bottom:4px; }
.ag-wday { text-align:center; font-size:.75rem; font-weight:600;
            color:var(--text-color-light); padding:4px 0; }

.ag-cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:2px; }

.ag-cell { text-align:center; padding:6px 2px; border-radius:4px;
            font-size:.85rem; line-height:1; min-height:30px;
            display:flex; align-items:center; justify-content:center; }
.ag-empty  { }
.ag-past   { color:#ccc; }
.ag-booked { background:#dc3545; color:#fff; border-radius:4px; cursor:not-allowed; }
.ag-pending{ background:#ffc107; color:#333; border-radius:4px; cursor:not-allowed; }
.ag-free   { cursor:pointer; border-radius:4px; transition:background .15s,color .15s; }
.ag-free:hover { background:var(--primary-color); color:#fff; }

/* Ausgewählte Daten */
.ag-ci    { background:var(--primary-color) !important; color:#fff !important;
             border-radius:4px 0 0 4px; font-weight:700; }
.ag-co    { background:var(--primary-color) !important; color:#fff !important;
             border-radius:0 4px 4px 0; font-weight:700; }
.ag-range { background:rgba(45,80,22,.15) !important; color:var(--primary-color);
             border-radius:0; }

/* Status-Zeile unter Kalender */
.ag-cal-info { margin-top:.75rem; padding:.6rem .75rem; font-size:.85rem;
                border-radius:var(--border-radius); background:#f8f9fa;
                color:var(--text-color-light); min-height:36px; }
.ag-info-error   { background:#f8d7da; color:#721c24; }
.ag-info-success { background:#d4edda; color:#155724; }

/* Legende */
.ag-cal-legend { display:flex; gap:1rem; margin-top:.75rem; font-size:.8rem;
                  color:var(--text-color-light); flex-wrap:wrap; }
.ag-dot { display:inline-block; width:10px; height:10px;
           border-radius:50%; margin-right:3px; vertical-align:middle; }
.ag-dot-free   { background:var(--primary-color); }
.ag-dot-booked { background:#dc3545; }
.ag-dot-sel    { background:var(--primary-color); opacity:.5; }

/* ============================================================
   CHECKBOX FIX (Bug 3) – Sichtbarkeit + Klickbarkeit
   ============================================================ */
.form-group.checkbox {
    display:flex; gap:.75rem; align-items:flex-start;
    position:relative; z-index:1;
}
.form-group.checkbox input[type="checkbox"] {
    position:relative !important;
    z-index:99 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
    opacity:1 !important;
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    min-height:20px !important;
    flex-shrink:0;
    margin-top:1px;
    accent-color:var(--primary-color);
    -webkit-appearance:checkbox;
    appearance:checkbox;
}
.form-group.checkbox label {
    cursor:pointer;
    pointer-events:auto;
    user-select:none;
    line-height:1.5;
    font-weight:400;
    margin:0;
}
/* Verstecktes Honeypot-Feld – KEIN display:none (bricht Checkbox-Layout) */
.hp-field {
    position:absolute !important;
    left:-9999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    pointer-events:none !important;
}

/* ============================================================
   FIXES v3.0 – Security, Performance, Mobile, Kalender
   ============================================================ */

/* FIX: hp-field korrekt verstecken (überschreibt alte Regel) */
.hp-field,
.hp-field * {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    z-index: -999 !important;
    tab-size: 0 !important;
}

/* FIX: Kalender-Legende – Quadrate statt Kreise, pending Farbe */
.ag-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px !important;  /* QUADRATE, nicht Kreise */
    margin-right: 4px;
    vertical-align: middle;
}
.ag-dot-free    { background: var(--primary-color); }
.ag-dot-booked  { background: #dc3545; }
.ag-dot-pending { background: #ffc107; }
.ag-dot-sel     { display: none !important; }  /* "Gewählt" ausblenden */

/* FIX: Mobil – oberer Streifen nicht abgeschnitten */
@media (max-width: 768px) {
    :root { --navbar-height: 60px; }

    .navbar { padding: .6rem 0; }
    .logo { font-size: 1.3rem; }
    .logo-image { height: 30px; }

    body { padding-top: var(--navbar-height); }

    .hero {
        height: 100svh;           /* svh = small viewport height (iOS Fix) */
        min-height: 600px;
    }
}

/* FIX: iOS Safari – volle Höhe ohne URL-Bar Überlappung */
@supports (height: 100svh) {
    .hero { height: 100svh; }
}

/* IMAGE PROTECTION – Bilder vor Download schützen */
.gallery-item img,
.activity-image,
.hero-slide {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    pointer-events: none !important;
}
/* Aber Galerie-Item muss klickbar bleiben! */
.gallery-item {
    pointer-events: auto !important;
    cursor: pointer;
}
.gallery-item img {
    pointer-events: none;
}

/* PERFORMANCE: Font-Awesome als non-render-blocking */
.fa, .fas, .far, .fab, .fal, .fad {
    /* Fallback bis Fonts geladen */
    font-display: swap;
}

/* PERFORMANCE: Bilder-Rendering optimieren */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Kalender Pending-Zellen CSS sicherstellen */
.ag-pending {
    background: #ffc107 !important;
    color: #333 !important;
    cursor: not-allowed;
}

/* Mobile: Buchungscontainer untereinander */
@media (max-width: 768px) {
    .booking-container { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-container  { grid-template-columns: 1fr; gap: 1.5rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .activities-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FIXES v4.0 – Layout, Kalender, Cookie
   ============================================================ */

/* FIX Bug2: Desktop-Layout erzwingen – Buchung + Kontakt nebeneinander */
@media (min-width: 993px) {
    .booking-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
        align-items: start !important;
    }
    .contact-container {
        display: grid !important;
        grid-template-columns: 1fr 1.5fr !important;
        gap: 3rem !important;
        align-items: start !important;
    }
}

/* FIX Bug4: Kalender – Zellen-Styling über CSS nicht überschreiben (JS macht es inline) */
.ag-cell {
    min-height: 34px;
    font-size: .88rem;
    border-radius: 4px;
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 2px;
}

/* Freie Zellen: Grün beim Hover */
.ag-cell:not([style*="background"]):not(.ag-empty):hover {
    background: #4CAF50 !important;
    color: #fff !important;
    cursor: pointer;
}

/* FIX: Legende Quadrate (nicht Kreise) */
.ag-cal-legend {
    display: flex;
    gap: 1rem;
    margin-top: .75rem;
    font-size: .82rem;
    color: var(--text-color-light);
    flex-wrap: wrap;
    align-items: center;
}

/* FIX Bug6: Cookie-Einstellungen Link */
.ag-cookie-settings-btn,
.cmplz-manage-consent {
    cursor: pointer;
    color: rgba(255,255,255,.5);
    font-size: .85rem;
    margin: 0 .5rem;
    background: none;
    border: none;
    text-decoration: underline;
    transition: color .3s;
}
.ag-cookie-settings-btn:hover,
.cmplz-manage-consent:hover {
    color: var(--accent-color);
}

/* Mobile Verbesserungen (Design bleibt erhalten) */
@media (max-width: 992px) {
    .booking-container,
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .reviews-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    .ag-cal { font-size: 13px; }
    .ag-cell { min-height: 30px; font-size: .8rem; }
}

/* FIX: iOS Safari – Navbar-Höhe korrekt */
@supports (height: 100svh) {
    .hero {
        height: 100svh;
        min-height: 600px;
    }
}

@media (max-width: 768px) {
    :root { --navbar-height: 60px; }
    .navbar { padding: .6rem 0; }
    .logo { font-size: 1.3rem; }
    .logo-image { height: 32px; }
}

/* ============================================================
   SECURITY + PERFORMANCE FIXES v5.0
   ============================================================ */

/* Honeypot – absolut unsichtbar (Inline-Style ist primär, CSS als Backup) */
.hp-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    z-index: -9999 !important;
}

/* Kontaktformular: Felder mit Labels korrekt layouten */
.contact-form .form-group label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 500;
    font-size: .9rem;
    color: var(--dark-color);
}

/* E-Mail Link unauffällig */
.ag-email-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,.5);
}
.ag-email-link:hover {
    border-bottom-color: var(--accent-color);
    color: var(--accent-color);
}

/* Performance: Font-Display Swap für externe Fonts */
@font-face {
    font-display: swap;
}

/* Bilder: Aspect-Ratio reservieren (verhindert Layout-Shift = besserer CLS Score) */
.gallery-item img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.activity-image {
    aspect-ratio: 2 / 1;
    width: 100%;
    object-fit: cover;
}

/* ============================================================
   SECURITY v4.0 – Honeypot + E-Mail Schutz
   ============================================================ */

/* Honeypot-Feld: sowohl div als auch alle Kinder KOMPLETT unsichtbar */
div.hp-field {
    display: none !important;
}
/* Doppelt sichern – für den Fall dass display:none überschrieben wird */
div.hp-field * {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    tab-index: -1 !important;
}
