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

:root {
  --green: #2d5a3d;
  --green-light: #3d7a54;
  --green-pale: #eef4f0;
  --gold: #b8986a;
  --gold-light: #d4b47a;
  --dark: #1a1f1c;
  --gray: #6b7280;
  --gray-light: #f4f6f4;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--dark); background: var(--white); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition);
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-nav { background: var(--gold); color: var(--white); padding: 10px 22px; font-size: 14px; border-radius: 6px; }
.btn-nav:hover { background: var(--gold-light); }
.btn-booking { background: #003580; color: var(--white); padding: 10px 18px; font-size: 13px; border-radius: 6px; border-color: #003580; }
.btn-booking:hover { background: #00296b; border-color: #00296b; }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: background var(--transition), box-shadow var(--transition); }
.nav.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a:not(.btn-nav):not(.btn-booking) { color: var(--dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.nav-logo { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--white); transition: color var(--transition); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); transition: color var(--transition); }
.nav-links a:hover:not(.btn-nav):not(.btn-booking) { color: var(--gold-light); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav.scrolled .nav-burger span { background: var(--dark); }
.nav-mobile { display: none; flex-direction: column; background: var(--white); padding: 16px 32px 24px; border-top: 1px solid #eee; }
.nav-mobile a { padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--dark); border-bottom: 1px solid #f0f0f0; }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,30,18,0.78) 0%, rgba(10,30,18,0.45) 60%, rgba(10,30,18,0.2) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 0 32px 0 80px; }
.hero-sub { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(44px, 6vw, 76px); font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 24px; }
.hero-text { font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.7; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 40px; left: 80px; display: flex; align-items: center; gap: 16px; z-index: 2; }
.hero-scroll span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: scrollLine 2s ease infinite; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== HIGHLIGHTS ===== */
.highlights { background: var(--white); box-shadow: var(--shadow-lg); position: relative; z-index: 3; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight-item { display: flex; align-items: center; gap: 16px; padding: 28px 28px; border-right: 1px solid #eee; transition: background var(--transition); }
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: var(--green-pale); }
.highlight-icon { font-size: 28px; flex-shrink: 0; }
.highlight-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.highlight-item span { font-size: 12px; color: var(--gray); }

/* ===== ONLINE CHECK-IN ===== */
.section-checkin { padding: 56px 0; background: var(--green-pale); }
.checkin-card { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 32px 36px; box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.checkin-icon { font-size: 46px; line-height: 1; }
.checkin-body h2 { font-family: var(--font-serif); font-size: clamp(23px, 2.6vw, 32px); font-weight: 600; color: var(--dark); margin-bottom: 10px; line-height: 1.2; }
.checkin-body p { font-size: 15px; color: var(--gray); line-height: 1.7; }
.checkin-action { min-width: 230px; text-align: center; }
.checkin-note { display: block; font-size: 12px; color: var(--gray); margin-top: 10px; }
@media (max-width: 768px) {
  .checkin-card { grid-template-columns: 1fr; text-align: center; gap: 16px; padding: 28px 22px; }
  .checkin-action { min-width: 0; }
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-light); }

.section-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-split.reverse { direction: rtl; }
.section-split.reverse > * { direction: ltr; }

.label { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.label-light { color: var(--gold-light); }

.section-text h2 { font-family: var(--font-serif); font-size: clamp(30px, 3.5vw, 44px); font-weight: 600; color: var(--dark); line-height: 1.2; margin-bottom: 20px; }
.section-text p { color: var(--gray); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }

.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { font-size: 15px; color: var(--dark); }

.section-image { position: relative; }
.image-card { border-radius: var(--radius-lg); overflow: hidden; height: 500px; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-badge { position: absolute; bottom: 24px; right: -20px; background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-lg); text-align: center; }
.image-badge strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark); }
.image-badge span { font-size: 11px; color: var(--gray); }

/* ===== GALLERY ===== */
.section-gallery { padding: 0 0 96px; background: var(--gray-light); }
.section-gallery .section-head { padding-top: 96px; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-item { overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-large { grid-row: 1 / 3; }

/* ===== SECTION HEAD ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(30px, 3.5vw, 44px); font-weight: 600; color: var(--dark); margin-bottom: 16px; }
.section-intro { font-size: 16px; color: var(--gray); line-height: 1.7; }

/* ===== ROOMS ===== */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.room-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-img { height: 210px; overflow: hidden; position: relative; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-img img { transform: scale(1.05); }
.room-badge { position: absolute; top: 12px; left: 12px; background: rgba(45,90,61,0.92); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0.4px; padding: 5px 11px; border-radius: 20px; }
.room-photos { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.55); color: var(--white); font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 20px; }
.room-info { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.room-info h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.25; }
.room-cap { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.btn-room { margin-top: auto; width: 100%; background: var(--green-pale); color: var(--green); border: none; border-radius: 8px; padding: 11px 14px; font-family: var(--font-sans); font-size: 14px; font-weight: 600; cursor: pointer; transition: background var(--transition), color var(--transition); }
.btn-room:hover { background: var(--green); color: var(--white); }

.rooms-cta { text-align: center; margin-top: 48px; }
.rooms-cta p { font-size: 15px; color: var(--gray); margin-bottom: 16px; }

/* ===== ROOM LIGHTBOX ===== */
.lightbox-box { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 28px; max-width: 860px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.3); }
.lightbox-box h3 { font-family: var(--font-serif); font-size: 22px; color: var(--dark); margin-bottom: 16px; padding-right: 40px; }
.lightbox-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #0d120f; }
.lightbox-stage img { width: 100%; max-height: 60vh; object-fit: contain; display: block; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: var(--dark); font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.lb-nav:hover { background: var(--white); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lightbox-thumbs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.lightbox-thumbs img { width: 74px; height: 56px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.55; border: 2px solid transparent; transition: opacity var(--transition), border-color var(--transition); }
.lightbox-thumbs img.active, .lightbox-thumbs img:hover { opacity: 1; border-color: var(--gold); }
.lb-book { margin-top: 20px; }
.room-modal .lb-nav.hidden { display: none; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq-col { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--dark);
  text-align: left; gap: 16px; transition: color var(--transition);
}
.faq-q:hover { color: var(--green); }
.faq-icon { font-size: 22px; color: var(--green); flex-shrink: 0; transition: transform var(--transition); font-weight: 300; line-height: 1; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; }
.faq-a.open { display: block; }
.faq-a p { font-size: 14px; color: var(--gray); line-height: 1.75; }
.faq-a a { color: var(--green); text-decoration: underline; }

/* ===== LOCATION ===== */
.location-items { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.location-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border-radius: 10px; }
.loc-icon { font-size: 22px; }
.location-item strong { display: block; font-size: 14px; font-weight: 600; }
.location-item span { font-size: 13px; color: var(--gray); }
.address-box { padding: 16px 20px; background: var(--green-pale); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; font-size: 15px; line-height: 1.9; }
.address-box a { color: var(--green); font-weight: 500; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 480px; box-shadow: var(--shadow-lg); }

/* ===== ANFRAGE ===== */
.section-anfrage { background: linear-gradient(160deg, #1a3a28 0%, #2d5a3d 100%); }
.anfrage-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.anfrage-info h2 { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 42px); font-weight: 600; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.anfrage-info p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; color: rgba(255,255,255,0.85); font-size: 15px; }
.c-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.booking-alt p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.btn-booking-dark { display: inline-block; background: #003580; color: var(--white); padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: background var(--transition); }
.btn-booking-dark:hover { background: #00296b; }

.anfrage-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { grid-column: 1 / -1; margin-bottom: 16px; }

label { font-size: 13px; font-weight: 600; color: var(--dark); letter-spacing: 0.3px; }

input, select, textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--dark);
  background: var(--gray-light); border: 2px solid transparent; border-radius: 8px;
  padding: 12px 14px; outline: none; transition: border-color var(--transition), background var(--transition); width: 100%;
}
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--green); }
input.error, select.error, textarea.error { border-color: #e05555; }
textarea { resize: vertical; min-height: 100px; }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--gray); line-height: 1.5; font-weight: 400; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--green); margin-top: 1px; padding: 0; }
.link-btn { background: none; border: none; color: var(--green); text-decoration: underline; cursor: pointer; font-size: inherit; font-family: inherit; padding: 0; }

.form-success, .form-error { display: none; padding: 14px 16px; border-radius: 8px; margin-top: 14px; font-size: 14px; }
.form-success { background: #e8f5ec; color: #2d5a3d; border: 1px solid #b8dcc5; }
.form-error { background: #fde8e8; color: #8b2020; border: 1px solid #f5c0c0; }
.form-error a { color: #8b2020; font-weight: 600; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer a:hover { color: var(--gold-light); }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer li { font-size: 14px; color: rgba(255,255,255,0.45); }

.btn-booking-footer { display: inline-block; margin-top: 12px; background: #003580; color: var(--white) !important; padding: 10px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: background var(--transition); }
.btn-booking-footer:hover { background: #00296b; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 24px; }
.link-btn-footer { background: none; border: none; color: rgba(255,255,255,0.3); cursor: pointer; font-size: 13px; font-family: inherit; padding: 0; transition: color var(--transition); }
.link-btn-footer:hover { color: rgba(255,255,255,0.7); }

/* ===== MODALS ===== */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.modal-box {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 48px; max-width: 680px; width: 100%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.modal-close { position: absolute; top: 20px; right: 20px; background: var(--gray-light); border: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.modal-close:hover { background: #ddd; }
.modal-box h2 { font-family: var(--font-serif); font-size: 28px; color: var(--dark); margin-bottom: 24px; }
.modal-box h3 { font-size: 16px; font-weight: 600; color: var(--dark); margin: 24px 0 8px; }
.modal-box p { font-size: 14px; color: var(--gray); line-height: 1.75; margin-bottom: 8px; }
.modal-box a { color: var(--green); text-decoration: underline; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-item:nth-child(2) { border-right: none; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .anfrage-wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery-large { grid-row: 1 / 2; grid-column: 1 / 3; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 16px 20px; }
  .hero-content { padding: 0 20px 0 24px; }
  .hero-scroll { display: none; }
  .section { padding: 64px 0; }
  .section-gallery { padding: 0 0 64px; }
  .section-gallery .section-head { padding-top: 64px; }
  .section-split, .section-split.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .image-badge { right: 0; }
  .map-embed { height: 300px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .anfrage-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .modal-box { padding: 32px 24px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-large { grid-row: auto; grid-column: auto; }
  .gallery-item { height: 220px; }
}

@media (max-width: 768px) {
  .lightbox-box { padding: 18px; }
  .lightbox-box h3 { font-size: 18px; }
  .lightbox-stage img { max-height: 50vh; }
  .lb-nav { width: 38px; height: 38px; font-size: 22px; }
  .lightbox-thumbs img { width: 60px; height: 46px; }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-item { border-right: none; border-bottom: 1px solid #eee; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .rooms-grid { grid-template-columns: 1fr; }
}
