/* Google Fonts: Plus Jakarta Sans (All Typography) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors - Premium Boutique Theme */
  --primary: #0F2C59; /* Navy */
  --primary-light: #1c427d;
  --secondary: #5DA2D5; /* Light Blue */
  --secondary-light: #85C1E9;
  --accent: #38A3A5; /* Cyan/Turquoise */
  --bg-white: #FFFFFF;
  --bg-light: #F0F4F8; /* Cool Light Blue-Grey */
  --text-dark: #2c3e50;
  --text-light: #718096;
  --border-color: rgba(15, 44, 89, 0.1);
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
  --shadow-floating: 0 25px 50px -12px rgba(15, 44, 89, 0.15);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

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

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-xl) 0;
}

@media (min-width: 993px) {
  #suiten {
    padding-top: calc(var(--space-xl) + 60px);
  }
}

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

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; }

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

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo img {
  max-height: 90px;
  margin-right: 10px;
  transition: max-height 0.3s ease, filter 0.3s ease;
}

.header.scrolled .logo img {
  max-height: 55px;
}

.header:not(.scrolled) .logo {
  color: var(--bg-white);
}

.header:not(.scrolled) .nav-links a {
  color: var(--bg-white);
}

.header:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary);
  color: var(--bg-white) !important;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn i {
  margin-left: 0.5rem;
}

.btn:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

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

.btn-outline {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg-white) !important;
}

.btn-outline:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white) !important;
}

/* Hero Section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax */
  color: var(--bg-white);
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 44, 89, 0.7) 0%, rgba(15, 44, 89, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero-subtitle {
  display: block;
  font-size: 0.4em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 0.2em;
  opacity: 0.9;
}

.hero h1 {
  color: var(--bg-white);
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-lg);
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

/* Floating Booking Bar */
.booking-bar {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-floating);
  z-index: 10;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.booking-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.booking-input-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.booking-input-group input,
.booking-input-group select {
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.booking-input-group input:focus,
.booking-input-group select:focus {
  border-bottom-color: var(--secondary);
}

.booking-bar .btn {
  padding: 16px 32px;
  height: 100%;
}

/* Section 2: Suiten */
.suite-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.suite-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.suite-img-wrapper {
  overflow: hidden;
  position: relative;
  height: 350px;
}

/* Image Slider */
.suite-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.suite-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  object-fit: cover;
  z-index: 0;
}

.suite-slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
}

.suite-img-wrapper:hover .slider-btn {
  opacity: 1;
}

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

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.suite-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

.suite-content {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suite-logo-ellipse {
  position: absolute;
  top: -50px;
  right: 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
  padding: 8px;
  border: 4px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: #fff;
  z-index: 10;
}

.suite-content .btn {
  margin-top: auto;
}

.suite-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.suite-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.suite-features span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.suite-features i {
  color: var(--secondary);
}

.suite-desc {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* Section 3: Service */
.service-icon-box {
  text-align: center;
  padding: 2rem 1rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition);
  border-top: 1px solid var(--border-color);
}

.service-icon-box:hover {
  transform: translateY(-5px);
  border-top-color: var(--secondary);
}

.service-icon-box i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  opacity: 0.85;
  transition: var(--transition);
}

.service-icon-box:hover i {
  transform: scale(1.1);
  color: var(--primary);
  opacity: 1;
}

.service-icon-box h4 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Section 4: Über Zingst Split-Screen */
.split-screen {
  display: flex;
  align-items: stretch;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.split-content {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--primary);
  color: var(--bg-white);
}

.split-content h2 {
  color: var(--secondary);
  font-size: 2.5rem;
}

.split-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.widget-container {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(5px);
}

/* Section 5: Anreise */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 600px;
  position: relative;
}

.map-tabs {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 90%;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  width: max-content;
}

.map-tab {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}

.map-tab.active, .map-tab:hover {
  background: var(--secondary);
  color: var(--bg-white);
}

/* Section 6: Buchen */
.booking-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(93, 162, 213, 0.2);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--bg-light);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer h4 {
  color: var(--secondary);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.8rem;
  display: block;
  font-size: 0.95rem;
}

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

.footer a.footer-contact-link {
  display: inline;
  margin-bottom: 0;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer-logos img {
  height: 40px;
  opacity: 0.8;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

.footer-logos img:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: left;
  font-size: 0.85rem;
  color: #fff;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero { flex-direction: column; justify-content: center; }
  .hero h1 { font-size: 3rem; }
  .booking-bar { display: none; }
  .booking-input-group { width: 100%; margin-bottom: 1rem; }
  .booking-bar .btn { width: 100%; }
  .split-screen { flex-direction: column; }
  .split-image { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.burger-menu {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.header:not(.scrolled) .burger-menu {
  color: var(--bg-white);
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
  .logo img {
    max-height: 50px !important;
  }
  
  .header.scrolled .logo img {
    max-height: 40px !important;
  }

  .burger-menu {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    gap: 1.5rem;
    align-items: center;
  }

  .nav-links.nav-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header:not(.scrolled) .nav-links a {
    color: var(--primary);
  }

  .hero h1 { font-size: 2.2rem !important; text-align: center !important; }
  .hero p { font-size: 1rem !important; padding: 0 1rem !important; text-align: center !important; }
  
  .section { padding: 4rem 0; }
  h2, h3, .section-header h2, .split-content h2 { font-size: 2.2rem !important; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  
  .footer-grid ul li {
    justify-content: center;
  }
  
  .footer-logos {
    justify-content: center;
  }
  
  .footer-grid > div > img {
    margin: 0 auto 1.5rem auto !important;
  }
  
  .footer-contact-link {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    justify-content: center !important;
    text-align: center !important;
    gap: 1rem !important;
  }
  
  .footer-bottom > div {
    justify-content: center !important;
    flex-wrap: wrap;
  }
  
  .booking-bar {
    display: none !important;
  }
  
  .split-content {
    padding: 2rem 1rem;
  }
}
