/* ============================================
   Ferienwohnung Mittendrin – Stylesheet
   Design orientiert an fewo-bautzen.de
   Akzentfarbe: Blau statt Orange
   ============================================ */

:root {
  --primary:      #1A3F6F;
  --primary-dark: #122D52;
  --secondary:    #2E86C1;
  --accent:       #5DADE2;
  --accent-light: #AED6F1;
  --bg-light:     #F4F7FA;
  --bg-gray:      #F4F6F9;
  --dark:         #1C2833;
  --text:         #333333;
  --text-light:   #777777;
  --white:        #FFFFFF;
  --border:       #E0E0E0;
  --shadow:       rgba(0,0,0,.08);
  --shadow-md:    rgba(0,0,0,.14);
  --success:      #1E8449;
  --danger:       #C0392B;
  --warning:      #F39C12;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  line-height: 1.3;
}

/* ============================================
   NAVIGATION – weißer Hintergrund wie Referenz
   ============================================ */

.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 1px 6px var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo a {
  color: var(--primary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-logo a:hover { color: var(--secondary); }

.nav-subtitle {
  display: block;
  color: var(--text-light);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -2px;
  font-family: 'Open Sans', sans-serif;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu a {
  color: #555;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 6px 12px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

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

.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
  background: none;
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* ============================================
   HERO – Fullscreen Slider
   ============================================ */

.hero {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 420px;
  overflow: hidden;
  background: #111;
}

/* Einzelne Slides */
.slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  z-index: 0;
}
.slide.active { opacity: 1; }

/* Slider-Pfeile */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.slider-btn:hover { background: rgba(0,0,0,.5); border-color: #fff; }
.slider-prev { left: 22px; }
.slider-next { right: 22px; }

/* Navigationspunkte */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 3;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 2px solid rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.dot.active {
  background: #fff;
  transform: scale(1.25);
}


.hero-textbox {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  width: 290px;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  z-index: 2;
  border-top: 5px solid var(--primary);
}

.hero-textbox-inner {
  padding: 26px 28px 22px;
}

.hero-textbox-location {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.hero-textbox h1 {
  font-size: 1.55rem;
  color: var(--primary);
  line-height: 1.25;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0;
}

.hero-textbox-divider {
  width: 40px;
  height: 2px;
  background: var(--secondary);
  margin: 14px 0 0;
}

.hero-tagline {
  background: var(--primary);
  color: var(--white);
  padding: 13px 28px;
  font-size: .88rem;
  font-style: italic;
  letter-spacing: .02em;
}

/* ============================================
   QUICK ACCESS – Kreis-Icons + Linie (Referenz)
   ============================================ */

.quick-access {
  background: var(--white);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.quick-access-grid {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
  color: inherit;
  transition: opacity .2s;
}

.quick-item:last-child { border-right: none; }
.quick-item:hover { opacity: .8; }

.quick-icon-circle {
  width: 72px;
  height: 72px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: background .2s, color .2s;
}

.quick-item:hover .quick-icon-circle {
  background: var(--primary);
  color: var(--white);
}

.quick-item-line {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 12px auto 14px;
}

.quick-item h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.quick-item p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 56px 0; }

.section-title {
  text-align: center;
  margin-bottom: 44px;
}

.section-title h2 { font-size: 1.9rem; margin-bottom: 12px; }

.section-title .divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto 14px;
  border-radius: 2px;
}

.section-title p { color: var(--text-light); font-size: 1rem; }

/* ============================================
   HIGHLIGHTS / FAKTEN – ohne Emojis
   ============================================ */

.highlights-section { background: var(--bg-light); }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.highlight-card {
  background: var(--white);
  border-radius: 4px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow);
  border-top: 3px solid var(--primary);
  transition: transform .2s, box-shadow .2s;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--shadow-md);
}

.highlight-card .hi-icon {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.highlight-card h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.highlight-card p { font-size: .82rem; color: var(--text-light); }

/* ============================================
   WELCOME / INTRO
   ============================================ */

.welcome-section { background: var(--white); }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.welcome-text h2 { font-size: 1.7rem; margin-bottom: 18px; }
.welcome-text p { margin-bottom: 14px; color: var(--text); line-height: 1.85; }

.welcome-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 24px var(--shadow-md);
  background: var(--bg-light);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
}

.welcome-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   PREISE
   ============================================ */

.preise-section { background: var(--bg-light); }

.preise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.preis-card {
  background: var(--white);
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  border-top: 3px solid var(--primary);
}

.preis-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.preis-card .size { color: var(--text-light); font-size: .88rem; margin-bottom: 20px; }
.preis-card .price { font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1; }
.preis-card .price-unit { font-size: .82rem; color: var(--text-light); margin-bottom: 8px; }
.preis-card .extra { font-size: .82rem; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; }

/* ============================================
   BELEGUNGSKALENDER
   ============================================ */

.calendar-section { background: var(--white); }

.calendar-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.calendar-month {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 12px var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.calendar-header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-header h3 { font-family: 'Open Sans', sans-serif; font-size: .95rem; font-weight: 600; color: var(--white); }

.cal-nav-btn {
  background: rgba(255,255,255,.2);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.cal-nav-btn:hover { background: rgba(255,255,255,.35); }

.calendar-grid { padding: 14px; }

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.cal-day-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 4px 0;
}

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

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 500;
  cursor: default;
  transition: background .15s;
}

.cal-day.empty     { background: transparent; }
.cal-day.today     { font-weight: 700; border: 2px solid var(--secondary); }
.cal-day.available { background: #D5F5E3; color: #1E8449; }
.cal-day.occupied  { background: #b03a2e; color: #fff; cursor: not-allowed; }
.cal-day.past      { color: #BDC3C7; background: transparent; cursor: default; }

/* Halbtages-Zustände – diagonal geteilt */
.cal-day.checkout,
.cal-day.checkin,
.cal-day.checkinout {
  border-radius: 0;
  cursor: not-allowed;
  padding: 0;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(0,0,0,.85), 0 0 4px rgba(0,0,0,.85);
  position: relative;
  z-index: 0;
}
/* Abreisetag: oben-links rot (belegt Vm.), unten-rechts grün (frei Nm.) */
.cal-day.checkout {
  background: linear-gradient(135deg, #b03a2e 50%, #D5F5E3 50%);
}
/* Anreisetag: oben-links grün (frei Vm.), unten-rechts rot (belegt Nm.) */
.cal-day.checkin {
  background: linear-gradient(135deg, #D5F5E3 50%, #b03a2e 50%);
}
/* An- & Abreisetag: rot mit diagonalem grünem Streifen in der Mitte */
.cal-day.checkinout {
  background: linear-gradient(135deg,
    #b03a2e 0%,
    #b03a2e 38%,
    #D5F5E3 38%, #D5F5E3 62%,
    #b03a2e 62%,
    #b03a2e 100%);
}

.cal-day.admin-cal-day { cursor: pointer !important; }
.cal-day.admin-cal-day:hover { opacity: .75; }

.calendar-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px 0 8px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-light);
}

.legend-dot { width: 22px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.legend-dot.available   { background: #D5F5E3; border: 1px solid #1E8449; }
.legend-dot.occupied    { background: #b03a2e; }
.legend-dot.checkout    { background: linear-gradient(135deg, #b03a2e 50%, #D5F5E3 50%); border: 1px solid var(--border); }
.legend-dot.checkin     { background: linear-gradient(135deg, #D5F5E3 50%, #b03a2e 50%); border: 1px solid var(--border); }
.legend-dot.checkinout  { background: linear-gradient(135deg, #b03a2e 0%, #b03a2e 38%, #D5F5E3 38%, #D5F5E3 62%, #b03a2e 62%, #b03a2e 100%); border: 1px solid var(--border); }
.legend-dot.today       { background: var(--white); border: 2px solid var(--secondary); }

/* ============================================
   BUCHUNGSFORMULAR
   ============================================ */

.form-section { background: var(--bg-light); }

.form-card {
  background: var(--white);
  border-radius: 4px;
  padding: 40px 48px;
  box-shadow: 0 2px 12px var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }

label { font-size: .86rem; font-weight: 600; color: var(--primary); }
label .required { color: var(--danger); margin-left: 2px; }

input, select, textarea {
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46,134,193,.12);
}

textarea { resize: vertical; min-height: 110px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .86rem;
  color: var(--text);
}

.checkbox-group input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 2px; flex-shrink: 0; cursor: pointer;
}

.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn { padding: 13px 40px; font-size: .95rem; }

.alert { padding: 13px 18px; border-radius: 3px; margin-bottom: 18px; font-size: .9rem; }
.alert-success { background: #D5F5E3; color: var(--success); border-left: 4px solid var(--success); }
.alert-error   { background: #FADBD8; color: var(--danger); border-left: 4px solid var(--danger); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
  border: none;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.15); }

.btn-primary   { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }

.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.85);
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: var(--white); }

/* ============================================
   AUSSTATTUNG
   ============================================ */

.ausstattung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.ausstattung-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  padding: 4px 0;
}

.ausstattung-item i {
  color: var(--primary);
  font-size: .9rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* ============================================
   INFO CARDS (Bautzen)
   ============================================ */

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-md);
}

.info-card-image {
  height: 190px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
  font-size: .88rem;
}

.info-card-image img { width: 100%; height: 100%; object-fit: cover; }
.info-card-body { padding: 18px; }
.info-card-body h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card-body p { font-size: .85rem; color: var(--text-light); line-height: 1.6; }

/* ============================================
   GALERIE
   ============================================ */

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

.gallery-item {
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
  font-size: .85rem;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: min(90vw, 1200px);
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  box-shadow: 0 12px 48px rgba(0,0,0,.6);
  transition: opacity .18s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-img.fading { opacity: 0; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.13);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1;
}
.lightbox-btn:hover { background: rgba(255,255,255,.28); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: .06em;
  pointer-events: none;
}
.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-family: 'Open Sans', sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 480px) {
  .lightbox-btn { width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-caption { font-size: .78rem; }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.78);
  padding: 48px 0 0;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.75fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

.footer-col p, .footer-col li { font-size: .85rem; line-height: 1.9; }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  background: rgba(0,0,0,.2);
  text-align: center;
  padding: 14px 24px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

/* ============================================
   ADMIN STYLES
   ============================================ */

.admin-body { background: var(--bg-gray); }

.admin-nav {
  background: var(--primary-dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.admin-nav-title { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1rem; }

.admin-nav-links { display: flex; gap: 4px; }

.admin-nav-links a {
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  padding: 5px 13px;
  border-radius: 3px;
  font-weight: 600;
  transition: background .2s;
}

.admin-nav-links a:hover, .admin-nav-links a.active {
  background: var(--secondary);
  color: var(--white);
}

.admin-container { max-width: 1100px; margin: 36px auto; padding: 0 24px; }

.admin-card {
  background: var(--white);
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 24px;
}

.admin-card h2 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-light);
  border-radius: 4px;
  padding: 18px;
  text-align: center;
  border-left: 3px solid var(--secondary);
}

.stat-card .stat-num   { font-size: 1.9rem; font-weight: 700; color: var(--secondary); }
.stat-card .stat-label { font-size: .78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

.anfragen-list { display: flex; flex-direction: column; gap: 14px; }

.anfrage-item {
  background: var(--bg-light);
  border-radius: 4px;
  padding: 18px;
  border-left: 3px solid var(--secondary);
}

.anfrage-item.neu { border-left-color: var(--warning); }

.anfrage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  font-size: .83rem;
}

.anfrage-meta strong { color: var(--primary); }

.anfrage-meta .badge {
  background: var(--warning);
  color: var(--white);
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.anfrage-nachricht { font-size: .85rem; color: var(--text); background: var(--white); padding: 9px 13px; border-radius: 3px; }

/* Login Page */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: var(--white);
  border-radius: 4px;
  padding: 44px 36px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
  text-align: center;
}

.login-card h1 { font-size: 1.4rem; margin-bottom: 4px; }
.login-card .subtitle { color: var(--text-light); font-size: .88rem; margin-bottom: 28px; }
.login-card .form-group { text-align: left; margin-bottom: 18px; }
.login-card .btn { width: 100%; padding: 11px; font-size: .95rem; margin-top: 6px; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   RESPONSIVE – Tablet ≤ 900px
   ============================================ */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-image { min-height: 240px; order: -1; }
  .preise-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE – Mobil ≤ 768px
   ============================================ */
@media (max-width: 768px) {
  /* Navbar */
  .nav-toggle { display: flex; }
  .nav-container { height: 64px; padding: 0 18px; }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    padding: 8px 0 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    gap: 0;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { list-style: none; }
  .nav-menu a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid var(--border);
    border-left: 4px solid transparent;
    font-size: .92rem;
    color: var(--text);
  }
  .nav-menu a:hover,
  .nav-menu a.active {
    background: var(--bg-light);
    border-left-color: var(--primary);
    color: var(--primary);
  }

  /* Hero */
  .hero {
    height: calc(100vh - 64px);
    min-height: 280px;
  }
  .hero-textbox {
    left: 18px;
    right: 18px;
    width: auto;
    max-width: 100%;
    top: auto;
    bottom: 56px;
    transform: none;
    border-top-width: 4px;
  }
  .hero-textbox-inner { padding: 18px 20px 14px; }
  .hero-textbox h1 { font-size: 1.25rem; }
  .hero-textbox-location { font-size: .68rem; margin-bottom: 6px; }
  .hero-textbox-divider { margin-top: 10px; }
  .hero-tagline { padding: 10px 20px; font-size: .82rem; }

  .slider-btn { width: 38px; height: 38px; font-size: .95rem; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .slider-dots { bottom: 16px; }

  /* Sections */
  section { }
  .section-title h2 { font-size: 1.45rem; }
  .section-title p { font-size: .88rem; }

  /* Quick access */
  .quick-access { padding: 32px 0 28px; }
  .quick-access-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
  .quick-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }
  .quick-item:last-child { border-bottom: none; }

  /* Welcome */
  .welcome-section { padding: 32px 0; }
  .welcome-grid { grid-template-columns: 1fr; gap: 20px; }
  .welcome-image { min-height: 200px; order: -1; }

  /* Highlights */
  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .highlight-card { padding: 18px 12px; }
  .hi-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 10px; }

  /* Prices */
  .preise-grid { grid-template-columns: 1fr; gap: 16px; }
  .preise-section { padding: 32px 0; }

  /* Calendar */
  .calendar-wrapper { grid-template-columns: 1fr; gap: 20px; }
  .calendar-section { padding: 28px 0; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Info cards */
  .info-cards { grid-template-columns: 1fr; }
  .info-card-image { height: 160px; }

  /* Ausstattung */
  .ausstattung-grid { grid-template-columns: repeat(2, 1fr); }

  /* Form */
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ============================================
   RESPONSIVE – Klein-Mobil ≤ 480px
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .nav-logo a { font-size: 1.1rem; }

  .hero { min-height: 240px; }
  .hero-textbox { bottom: 48px; left: 14px; right: 14px; }
  .hero-textbox h1 { font-size: 1.1rem; }
  .slider-btn { display: none; }

  .section-title h2 { font-size: 1.3rem; }

  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .highlight-card h4 { font-size: .88rem; }
  .highlight-card p { font-size: .78rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  .ausstattung-grid { grid-template-columns: repeat(2, 1fr); }
  .ausstattung-item { font-size: .82rem; }

  .info-cards { grid-template-columns: 1fr; }

  .preise-grid { grid-template-columns: 1fr; }
  .preis-card { padding: 24px 18px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { font-size: .78rem; }
}
