/* ============================================
   FLEXBOX24 — Global Styles
   ============================================ */

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Variable.woff2') format('woff2-variations'), url('fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


:root {
  --navy: #042C53;
  --blue: #185FA5;
  --light-blue: #E6F1FB;
  --accent: #2176C7;
  --off-white: #F7F6F2;
  --text: #1A1A2E;
  --text-muted: #5F5E5A;
  --white: #FFFFFF;
  --success: #1A7F4B;
  --border: #D8E4F0;
  --shadow: 0 2px 16px rgba(4,44,83,0.10);
  --shadow-lg: 0 8px 40px rgba(4,44,83,0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(4,44,83,0.07);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links a:hover { color: var(--navy); background: var(--light-blue); }

.nav-links .btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-links .btn-nav:hover { background: var(--blue) !important; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover { background: var(--light-blue); }

.btn-lg { padding: 16px 36px; font-size: 16px; }

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

section { padding: 80px 24px; }

.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0A4A7C 100%);
  padding: 0;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-label span { width: 6px; height: 6px; background: #4DBFFF; border-radius: 50%; display: inline-block; }

.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: #4DBFFF;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 460px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-img-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  background: var(--off-white);
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--light-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================
   CONTAINER CARDS
   ============================================ */

.container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.container-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}

.container-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.container-card.selected {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4,44,83,0.12), var(--shadow-lg);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.card-img {
  height: 180px;
  background: linear-gradient(135deg, #E6F1FB 0%, #C8DCEF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

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

.card-body { padding: 24px; }

.card-size {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.card-volume {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-specs { margin-bottom: 20px; }

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--text-muted); }
.spec-val { font-weight: 600; color: var(--text); }

.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.card-btn {
  width: 100%;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.card-btn:hover { background: var(--blue); }

/* ============================================
   CONTAINER MAP / GRID SELECTOR
   ============================================ */

.booking-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  display: none;
}

.booking-section.active { display: block; }

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

.booking-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 88px;
}

.summary-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-label { color: var(--text-muted); }
.summary-val { font-weight: 600; }

.summary-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.duration-select { margin-top: 20px; }

.duration-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.duration-options { display: flex; flex-direction: column; gap: 8px; }

.duration-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.duration-opt:hover { border-color: var(--blue); }
.duration-opt.active { border-color: var(--navy); background: var(--light-blue); }

.duration-name { font-weight: 600; font-size: 14px; }
.duration-price { font-size: 13px; color: var(--text-muted); }
.duration-discount { font-size: 11px; font-weight: 700; color: var(--success); background: #E8F7EF; padding: 2px 8px; border-radius: 100px; }

.map-area { }

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

.map-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.map-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-item { display: flex; align-items: center; gap: 6px; }

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-free { background: var(--light-blue); border: 1.5px solid var(--blue); }
.legend-taken { background: #FEECEA; border: 1.5px solid #E05252; }
.legend-selected { background: var(--navy); }

.container-map {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow-x: auto;
}

.map-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.map-unit {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  border: 2px solid transparent;
}

.map-unit.free {
  background: var(--light-blue);
  color: var(--blue);
  border-color: #B8D4EC;
}

.map-unit.free:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: scale(1.05);
}

.map-unit.taken {
  background: #FEECEA;
  color: #E05252;
  border-color: #F5C1BF;
  cursor: not-allowed;
}

.map-unit.selected {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4,44,83,0.2);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.steps { background: var(--off-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.6% + 16px);
  right: calc(16.6% + 16px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   FEATURES / VORTEILE
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--blue);
  background: var(--light-blue);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  color: white;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

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

.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0A4A7C 100%);
  text-align: center;
  padding: 80px 24px;
}

.cta-section .section-title { color: var(--white); margin-bottom: 12px; }
.cta-section .section-sub { color: rgba(255,255,255,0.7); margin: 0 auto 40px; }

/* ============================================
   CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.contact-info h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-val { font-size: 15px; font-weight: 600; color: var(--navy); }


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

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

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

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

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-placeholder { height: 280px; }
  .container-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .booking-inner { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 48px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 16px; }
  .nav-logo img { height: 38px; }
  .nav-links .nav-text { display: none; }
  .nav-links a:not(.btn-nav) { font-size: 13px; padding: 6px 10px; }
  .btn-nav { font-size: 13px; padding: 8px 14px; white-space: nowrap; }
  footer { padding: 24px 16px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer-brand { font-size: 13px; }
  .footer-brand span { font-size: 11px; }
  .footer-links { gap: 16px; justify-content: center; }
  .footer-links a { font-size: 12px; }
}

/* ============================================
   BOOKING FLOW (Step-by-step)
   ============================================ */

.booking-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  align-items: center;
}

.booking-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.booking-step-dot.active { background: var(--navy); color: white; }
.booking-step-dot.done { background: var(--success); color: white; }

.booking-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background 0.2s;
}

.booking-step-line.done { background: var(--success); }

/* Form */
.booking-form { margin-top: 24px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  font-family: inherit;
}

.form-group input:focus { border-color: var(--navy); }

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

