/* ============================================================
   HOTEL ZITTLAU — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Farben — Olive Grove, modern, weiß-luxuriös */
  --c-bg:           #F2F4EF;
  --c-white:        #FFFFFF;
  --c-forest:       #1E2F1F;
  --c-green:        #3A5C37;
  --c-sage:         #6B9468;
  --c-gold:         #B8915A;
  --c-sand:         #C5CEC0;
  --c-cream:        #E5EBE0;
  --c-text:         #1C1C1C;
  --c-text-light:   #5C6358;
  --c-border:       #CFD5CA;
  --c-error:        #9B3A3A;

  /* Typografie */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, -apple-system, sans-serif;

  /* Layout — Mobile-first */
  --section-pad: 80px;
  --side-pad:    24px;
  --max-w:       480px;

  /* Effekte */
  --radius:    4px;
  --radius-lg: 12px;
  --shadow:    0 2px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.10);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Grain-Textur: Luxus-Finish über die ganze Seite */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  filter: url(#grain-filter);
  opacity: 0.15;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* Mobile-only Container: max 480px, voller Innenabstand */
.container-mobile {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.divider-center { margin: 0 auto 28px; }

.section-text-center { margin: 0 auto; }

/* Zimmer-Bereich: Bild oben, Text unten */
.room-text {
  margin-top: 36px;
}

.room-text .features-grid {
  margin-top: 28px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.07);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color var(--transition);
}

.nav.scrolled .nav-logo,
.nav.nav-dark .nav-logo {
  color: var(--c-forest);
}

.nav.nav-dark {
  background: #FFFFFF;
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
}

.nav-cta.btn {
  padding: 10px 22px;
  font-size: 0.72rem;
}

.nav-cta.btn-outline-dark {
  background: transparent;
  color: var(--c-forest);
  border: 1px solid var(--c-forest);
}

.nav-cta.btn-outline-dark:hover {
  background: var(--c-forest);
  color: var(--c-white);
}

.nav-cta.btn-outline-hero {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.4);
}

.nav-cta.btn-outline-hero:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: white;
}

.nav.scrolled .nav-cta.btn-outline-hero {
  color: var(--c-forest);
  border-color: var(--c-forest);
}

.nav.scrolled .nav-cta.btn-outline-hero:hover {
  background: var(--c-forest);
  color: white;
}


/* ============================================================
   HERO — Foto mit Overlay-System
   ============================================================ */

.hero {
  /* Volle Bildschirmhöhe, Inhalt unten (über dem dunkelsten Bereich) */
  height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

/* Das Foto */
.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Oberes Drittel betonen: Baumkronen + Weg sichtbar */
  object-position: center 20%;
  display: block;
  /* Leichte Entsättigung für edeleres, ruhigeres Bild */
  filter: saturate(0.85) contrast(1.04);
}

/* Basis-Layer für alle Overlays */
.hero-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/*
 * Layer 1 — Rand-Vignette
 * Dunkelt die Bildränder ab, Fokus bleibt auf dem Weg in der Mitte.
 * Erzeugt cineastische Tiefe.
 */
.hero-vignette {
  background: radial-gradient(
    ellipse at 50% 42%,
    transparent 20%,
    rgba(2, 6, 2, 0.70) 100%
  );
}

.hero-top {
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 2, 0.88) 0%,
    rgba(2, 6, 2, 0.40) 20%,
    transparent 45%
  );
}

.hero-bottom {
  background: linear-gradient(
    to top,
    rgba(2, 6, 2, 1.00) 0%,
    rgba(2, 6, 2, 0.97) 8%,
    rgba(2, 6, 2, 0.88) 20%,
    rgba(2, 6, 2, 0.60) 38%,
    rgba(2, 6, 2, 0.20) 58%,
    transparent 72%
  );
}

.hero-grade {
  background: linear-gradient(
    to bottom,
    rgba(28, 18, 6, 0.12) 0%,
    transparent 35%,
    rgba(2, 6, 2, 0.10) 100%
  );
}

/* Inhalt */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: 0 28px 52px;
}

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

/* Einzelne Hero-Elemente animieren (gestaffelt) */
.hero-eyebrow {
  animation: fadeUp 0.6s ease 0.15s both;
}

.hero-word {
  display: block;
  animation: fadeUp 0.75s ease both;
}

.hero-title span.hero-word { animation-delay: 0.28s; }
.hero-title em.hero-word   { animation-delay: 0.52s; }

.hero-divider {
  animation: fadeUp 0.5s ease 0.72s both;
}

.hero-subtitle {
  animation: fadeUp 0.5s ease 0.85s both;
}

.hero-content .btn-gold {
  animation: fadeUp 0.55s ease 1.05s both;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #DDB876;
  margin-bottom: 18px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 18vw, 6rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  display: block;
}

.hero-subtitle {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.1em;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-divider {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  margin: 0 auto 36px;
}


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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  line-height: 1;
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-white);
}

.btn-gold:hover {
  background: #9E7A46;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184, 145, 90, 0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-forest {
  background: var(--c-forest);
  color: var(--c-white);
}

.btn-forest:hover {
  background: var(--c-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 47, 31, 0.25);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-full {
  width: 100%;
  justify-content: center;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: var(--section-pad) var(--side-pad);
}

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--c-forest);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

.section-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--c-text-light);
  max-width: 500px;
  line-height: 1.85;
}

.divider-line {
  width: 36px;
  height: 1px;
  background: var(--c-gold);
  margin-bottom: 28px;
}


/* ============================================================
   FEATURE GRID
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

.feature-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 18px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition: box-shadow var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(184, 145, 90, 0.05) 0%, var(--c-white) 100%);
}

.feature-item:hover .feature-icon {
  transform: rotate(8deg) scale(1.1);
  color: #9E7A46;
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-forest);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--c-text-light);
  font-weight: 300;
  line-height: 1.55;
}


/* ============================================================
   ROOM IMAGE
   ============================================================ */

.room-image-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(184, 145, 90, 0.3), 0 12px 40px rgba(0, 0, 0, 0.10);
}

.room-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 47, 31, 0);
  transition: background 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.room-image-wrap:hover::after {
  background: rgba(30, 47, 31, 0.10);
}

.room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.65s ease;
}

.room-image-wrap:hover .room-image {
  transform: scale(1.04);
}


/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  background: var(--c-forest);
  padding: var(--section-pad) var(--side-pad);
  text-align: center;
}

.cta-section .section-title {
  color: var(--c-white);
}

.cta-section .section-text {
  color: rgba(255, 255, 255, 0.6);
}

.cta-divider {
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 28px;
}

.cta-text {
  margin: 0 auto 36px;
}


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

.footer {
  background: #141F14;
  color: rgba(255, 255, 255, 0.45);
  padding: 52px var(--side-pad) 40px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.footer-location {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.footer-divider {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 20px;
}

.footer-note {
  font-size: 0.75rem;
  opacity: 0.4;
  font-style: italic;
}


/* ============================================================
   PAGE HEADER (Innenseiten)
   ============================================================ */

.page-header {
  background: var(--c-forest);
  padding: 80px var(--side-pad) 60px;
  text-align: center;
}

.page-header-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 300;
  color: var(--c-white);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-header-title em {
  font-style: italic;
}

.page-header-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ============================================================
   KALENDER
   ============================================================ */

.calendar-wrapper {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px 24px;
  user-select: none;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.calendar-month-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--c-forest);
  letter-spacing: 0.03em;
}

.calendar-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-border);
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-text-light);
  transition: all var(--transition);
  flex-shrink: 0;
}

.calendar-nav-btn:hover:not(:disabled) {
  border-color: var(--c-forest);
  color: var(--c-forest);
  background: var(--c-cream);
}

.calendar-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0; /* row-gap only; no column gap so range highlights connect cleanly */
}

.calendar-day-name {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-light);
  padding: 6px 0 14px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 400;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.12s ease, color 0.12s ease;
  position: relative;
  color: var(--c-text);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day:hover:not(.blocked):not(.past):not(.empty) {
  background: var(--c-cream);
  color: var(--c-forest);
}

.calendar-day.today {
  font-weight: 600;
  color: var(--c-gold);
}

.calendar-day.today::before {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-gold);
}

.calendar-day.past,
.calendar-day.blocked {
  color: var(--c-sand);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--c-sand);
}

.calendar-day.past {
  text-decoration: none;
}

.calendar-day.in-range {
  background: var(--c-cream);
  color: var(--c-forest);
  border-radius: 0;
}

.calendar-day.range-start {
  background: var(--c-forest);
  color: white;
  border-radius: 50% 0 0 50%;
}

.calendar-day.range-end {
  background: var(--c-forest);
  color: white;
  border-radius: 0 50% 50% 0;
}

.calendar-day.range-start.range-end {
  border-radius: 50%;
}

/* Ersten/letzten Tag einer Reihe abrunden */
.calendar-day.in-range:nth-child(7n+2) {
  border-radius: 50% 0 0 50%;
}
.calendar-day.in-range:nth-child(7n+1) {
  border-radius: 0 50% 50% 0;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}

.calendar-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--c-text-light);
  letter-spacing: 0.04em;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}


/* ============================================================
   DATUM ANZEIGE (unter Kalender)
   ============================================================ */

.date-range-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.date-range-col {
  flex: 1;
  text-align: center;
}

.date-range-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin-bottom: 5px;
}

.date-range-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-forest);
}

.date-range-value.placeholder {
  color: var(--c-sand);
  font-style: italic;
  font-size: 0.85rem;
}

.date-range-arrow {
  color: var(--c-gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.7;
}


/* ============================================================
   FORMULAR
   ============================================================ */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--c-forest);
  box-shadow: 0 0 0 3px rgba(30, 47, 31, 0.08);
}

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

.form-select-wrapper {
  position: relative;
}

.form-select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--c-text-light);
  pointer-events: none;
}

.form-error {
  font-size: 0.78rem;
  color: var(--c-error);
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

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


/* ============================================================
   BOOKING LAYOUT
   ============================================================ */

.booking-section {
  padding: 56px var(--side-pad) 80px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.booking-form-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: 36px 32px;
}

.booking-form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--c-forest);
  margin-bottom: 6px;
}

.booking-form-sub {
  font-size: 0.82rem;
  color: var(--c-text-light);
  font-weight: 300;
  margin-bottom: 28px;
}

.booking-hint {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--c-text-light);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 24px;
}

.booking-hint strong {
  font-weight: 500;
  color: var(--c-text);
}


/* ============================================================
   ERFOLGSSEITE
   ============================================================ */

.success-section {
  display: none;
  padding: 80px var(--side-pad);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.success-section.visible {
  display: block;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--c-forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: white;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--c-forest);
  margin-bottom: 16px;
  line-height: 1.1;
}

.success-text {
  font-size: 0.95rem;
  color: var(--c-text-light);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 36px;
}


/* ============================================================
   ADMIN — PASSWORD OVERLAY
   ============================================================ */

.admin-overlay {
  position: fixed;
  inset: 0;
  background: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--side-pad);
}

.admin-overlay.hidden {
  display: none;
}

.admin-login-box {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.admin-login-logo {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.admin-login-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-forest);
  margin-bottom: 32px;
  line-height: 1.2;
}

.admin-login-error {
  color: var(--c-error);
  font-size: 0.82rem;
  margin-top: 10px;
  display: none;
}

.admin-login-error.visible {
  display: block;
}


/* ============================================================
   ADMIN — DASHBOARD
   ============================================================ */

.admin-panel {
  display: none;
  min-height: 100vh;
  background: var(--c-bg);
}

.admin-panel.visible {
  display: block;
}

.admin-topbar {
  background: var(--c-forest);
  color: var(--c-white);
  padding: 18px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-topbar-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.admin-topbar-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}

.btn-logout {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-logout:hover {
  background: rgba(255,255,255,0.18);
  color: white;
}

.admin-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px var(--side-pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.admin-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: 32px;
}

.admin-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-forest);
  margin-bottom: 6px;
}

.admin-card-sub {
  font-size: 0.82rem;
  color: var(--c-text-light);
  font-weight: 300;
  margin-bottom: 28px;
}

.admin-notice {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--c-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Blockierungsliste */
.blocked-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blocked-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--c-bg);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  gap: 12px;
}

.blocked-item-info {
  flex: 1;
  min-width: 0;
}

.blocked-item-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--c-text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blocked-item-dates {
  font-size: 0.78rem;
  color: var(--c-text-light);
  letter-spacing: 0.03em;
}

.blocked-item-note {
  font-size: 0.75rem;
  color: var(--c-text-light);
  font-style: italic;
  margin-top: 2px;
}

.btn-delete {
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-text-light);
  padding: 7px 13px;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.btn-delete:hover {
  border-color: var(--c-error);
  color: var(--c-error);
  background: rgba(155, 58, 58, 0.05);
}

.empty-state {
  text-align: center;
  color: var(--c-text-light);
  font-size: 0.85rem;
  padding: 36px;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1rem;
}

.loading-state {
  text-align: center;
  color: var(--c-text-light);
  font-size: 0.82rem;
  padding: 28px;
  letter-spacing: 0.08em;
}


/* ============================================================
   SCROLL-ANIMATIONEN
   ============================================================ */

.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Divider-Linien: ziehen sich von links nach rechts auf */
.divider-line.animate-in {
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.65s ease, opacity 0.35s ease;
}

.divider-center.animate-in,
.cta-divider.animate-in {
  transform-origin: center center;
}

.divider-line.animate-in.is-visible {
  transform: scaleX(1);
  opacity: 1;
}

/* Feature-Cards: gestaffeltes Einblenden */
.feature-item.animate-in:nth-child(1) { transition-delay: 0s; }
.feature-item.animate-in:nth-child(2) { transition-delay: 0.12s; }
.feature-item.animate-in:nth-child(3) { transition-delay: 0.24s; }

/* Eyebrow: Letter-Spacing öffnet sich beim Einblenden */
.section-eyebrow.animate-in {
  letter-spacing: 0.08em;
  transition: opacity 0.6s ease, transform 0.6s ease, letter-spacing 0.8s ease;
}

.section-eyebrow.animate-in.is-visible {
  letter-spacing: 0.22em;
}


/* ============================================================
   MOBILE HERO — Ken Burns statt Parallax
   ============================================================ */

@keyframes heroBreathe {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0);  }
}

/* Nur auf Touch-Geräten: langsamer Zoom statt JS-Parallax */
@media (hover: none) and (pointer: coarse) {
  /* hero-bg braucht kein will-change mehr, JS läuft nicht */
  .hero-bg {
    will-change: auto;
  }

  .hero-img {
    will-change: transform;
    transform-origin: center 20%;
    animation: heroBreathe 14s ease-in-out infinite alternate;
  }

  /* Nav-Übergang etwas langsamer → kein harter Weiss-Flash */
  .nav {
    transition: background 0.5s ease, box-shadow 0.5s ease;
  }
}


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

@media (max-width: 768px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .booking-form-card {
    padding: 24px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-login-box {
    padding: 40px 28px;
  }

  .admin-card {
    padding: 24px 20px;
  }

  .blocked-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-delete {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
}
