/* ============================================================
   Malta Magic im Advent — styles.css
   Source of truth: design-system.md (tokens §8, components §4,
   shared elements §5). Do not hard-code values that exist as tokens.
   ============================================================ */

/* ---------- 1 · Tokens (:root) ---------- */
:root {
  /* Color */
  --color-primary: #A81F28;
  --color-primary-hover: #8C1620;
  --color-primary-active: #7A121B;
  --color-night: #10233B;
  --color-night-deep: #0B1A2E;
  --color-night-lift: #1B3350;
  --color-gold: #C9862B;
  --color-gold-light: #E8BC6E;
  --color-sea: #1C6B72;
  --color-limestone: #F7F1E6;
  --color-white: #FFFFFF;
  --color-neutral-50: #FAF8F4;
  --color-neutral-100: #F2EEE6;
  --color-neutral-200: #E8E3D9;
  --color-neutral-300: #D8D3C9;
  --color-neutral-600: #6B7178;
  --color-neutral-700: #4A4F55;
  --color-neutral-800: #2E3134;
  --color-neutral-900: #16181A;
  --color-on-dark-body: rgba(255, 255, 255, 0.82);
  --color-on-dark-divider: rgba(255, 255, 255, 0.14);
  --color-success: #2F6B3A;
  --color-warning: #B4761A;
  --color-error: #A81F28;

  /* Gradients */
  --gradient-night: linear-gradient(160deg, #0B1A2E 0%, #10233B 55%, #1B3350 100%);
  --gradient-gold: linear-gradient(140deg, #E8BC6E 0%, #C9862B 100%);
  --gradient-scrim: linear-gradient(to top, rgba(11, 26, 46, 0.78) 0%, rgba(11, 26, 46, 0) 70%);
  --ornament-bokeh:
    radial-gradient(circle 3px at 12% 22%, rgba(232, 188, 110, .9) 0%, rgba(232, 188, 110, 0) 70%),
    radial-gradient(circle 5px at 78% 14%, rgba(232, 188, 110, .55) 0%, rgba(232, 188, 110, 0) 70%),
    radial-gradient(circle 2px at 34% 68%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle 4px at 62% 82%, rgba(232, 188, 110, .45) 0%, rgba(232, 188, 110, 0) 70%),
    radial-gradient(circle 2px at 88% 58%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle 3px at 24% 44%, rgba(232, 188, 110, .4) 0%, rgba(232, 188, 110, 0) 70%);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(38px, 6.2vw, 76px);
  --fs-h2: clamp(30px, 3.4vw, 46px);
  --fs-h3: clamp(21px, 1.7vw, 26px);
  --fs-h4: 19px;
  --fs-lead: clamp(17px, 1.3vw, 20px);
  --fs-body: 16px;
  --fs-body-sm: 15px;
  --fs-meta: 14px;
  --fs-micro: 12px;
  --fs-eyebrow: 13px;
  --fs-price-lg: clamp(30px, 3vw, 40px);
  --fs-price-sm: 22px;
  --lh-hero: 1.04;
  --lh-h2: 1.12;
  --lh-h3: 1.25;
  --lh-h4: 1.35;
  --lh-lead: 1.6;
  --lh-body: 1.68;
  --lh-body-sm: 1.6;
  --lh-meta: 1.5;
  --lh-micro: 1.45;
  --lh-eyebrow: 1.2;
  --measure-body: 68ch;
  --measure-lead: 58ch;
  --measure-disclaimer: 38ch;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --container-max: 1200px;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --header-h-lg: 72px;
  --header-h-md: 64px;
  --header-h-base: 56px;
  --mobile-cta-h: 64px;
  --video-max-w: 960px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Borders */
  --border-hairline: 1px solid var(--color-neutral-200);
  --border-strong: 1.5px solid var(--color-night);
  --border-gold: 1px solid rgba(201, 134, 43, .45);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(16, 35, 59, .06);
  --shadow-md: 0 10px 28px rgba(16, 35, 59, .10);
  --shadow-lg: 0 18px 48px rgba(16, 35, 59, .16);
  --shadow-gold: 0 10px 30px rgba(201, 134, 43, .35);
  --shadow-header: 0 6px 24px rgba(11, 26, 46, .28);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 520ms;
  --reveal-delay: 0ms;
}

/* ---------- 2 · Base / reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-optical-sizing: auto;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-neutral-700);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img,
video { max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--color-neutral-900);
  hyphens: auto;
  overflow-wrap: break-word;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon--fill { fill: currentColor; stroke: none; }

.icon-sprite { display: none; }

/* Focus (global) */
:focus-visible {
  outline: 3px solid var(--color-gold-light);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  background: var(--color-white);
  color: var(--color-night);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Anchor offset */
[id] {
  scroll-margin-top: 72px;
}

/* ---------- 3 · Sections & rhythm ---------- */
.section { padding-block: 56px; }
.section--feature { padding-block: 64px; }

.section--night {
  background: var(--gradient-night);
  color: var(--color-on-dark-body);
  position: relative;
}

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

/* Candlelight bokeh ornament (static, decorative) */
.section--night::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ornament-bokeh);
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: .55;
}

.section--night > .container { position: relative; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: -0.015em;
  margin-top: var(--space-4);
}

.section--night .section-head h2 { color: var(--color-white); }

.section-head .lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  max-width: var(--measure-lead);
  margin-top: var(--space-5);
  color: var(--color-neutral-700);
}

.section--night .section-head .lead { color: var(--color-on-dark-body); }

.section-head--center {
  text-align: center;
  align-items: center;
  margin-inline: auto;
}

.section-head--center .lead { margin-inline: auto; }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: var(--lh-eyebrow);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.eyebrow--night { color: var(--color-gold-light); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Stagger: children of reveal groups fade in one after another (script.js
   assigns --reveal-delay per direct child) */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
}

[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

/* ---------- 4 · Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.btn--lg { height: 52px; padding-inline: 28px; font-size: var(--fs-body); }
.btn--md { height: 44px; padding-inline: 22px; font-size: 15px; }
.btn--sm { height: 40px; padding-inline: 18px; font-size: 14px; }

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

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(168, 31, 40, .32);
}

.btn--primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
  box-shadow: none;
}

.btn--ghost-dark {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.btn--ghost-dark:hover {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
}

.btn--ghost-dark:active { background: rgba(232, 188, 110, .10); }

/* ---------- 5 · Phone link ---------- */
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--color-primary);
}

.tel-link--night { color: var(--color-gold-light); }

.tel-link:hover,
.tel-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* ---------- 6 · Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-meta);
  font-weight: 600;
}

.chip--night {
  background: rgba(255, 255, 255, .10);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, .18);
}

.chip--light {
  background: var(--color-limestone);
  color: var(--color-neutral-800);
  border: 1px solid var(--color-neutral-200);
}

.chip--best {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-night);
  vertical-align: middle;
  margin-left: var(--space-2);
}

/* ---------- 7 · Price medallion ---------- */
.price-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 26px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  color: var(--color-night);
  box-shadow: var(--shadow-gold);
}

.price-badge__pre {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.price-badge__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-price-lg);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.price-badge__sub { font-size: var(--fs-micro); font-weight: 500; }

/* ---------- 8 · Icon plate ---------- */
.icon-plate {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-limestone);
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ---------- 9 · Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--color-neutral-200);
}

.site-header.is-scrolled { box-shadow: var(--shadow-header); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--header-h-base);
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.brand__star {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  display: block;
}

.brand__logo {
  width: 78px;
  height: 36px;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--color-night);
}

.brand__tld { color: var(--color-primary); }

.brand__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
  display: none;
}

/* Anchor nav — desktop only */
.site-nav {
  display: none;
  gap: var(--space-6);
  align-items: center;
}

.site-nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-neutral-700);
  text-decoration: none;
  padding: 8px 2px;
  position: relative;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-gold);
  opacity: 0;
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--color-night); }

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { opacity: 1; }

/* Actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.site-header__tel {
  display: none;
  /* Light header: primary red passes contrast on neutral-50 (≈6.8:1) */
  color: var(--color-primary);
}

.site-header__cta .site-header__cta-short { display: none; }

/* Burger */
.site-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(16, 35, 59, .25);
  border-radius: var(--radius-sm);
  color: var(--color-night);
  cursor: pointer;
}

.icon--burger-close { display: none; }

.site-header__burger[aria-expanded="true"] .icon--burger-open { display: none; }
.site-header__burger[aria-expanded="true"] .icon--burger-close { display: block; }

/* Mobile nav drawer */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--color-neutral-200);
  box-shadow: var(--shadow-header);
  padding: var(--space-4) 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 20px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-neutral-800);
  text-decoration: none;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  background: rgba(16, 35, 59, .06);
  color: var(--color-primary);
}

.mobile-nav__tel {
  /* Spec §6: phone row in the drawer is a below-768px-only feature */
  display: none;
  margin: var(--space-2) 20px 0;
  padding-block: var(--space-2);
}

/* ---------- 10 · Hero (full-bleed image) ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

/* Dark-to-transparent scrim: strongest bottom/left (text zone),
   lighter top-right so the harbour stays visible. Keeps white text ≥4.5:1. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 26, 46, .82) 0%, rgba(11, 26, 46, .5) 55%, rgba(11, 26, 46, .3) 100%),
    linear-gradient(to right, rgba(11, 26, 46, .6) 0%, rgba(11, 26, 46, .35) 60%, rgba(11, 26, 46, .05) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-5);
  min-height: clamp(480px, 70vh, 640px);
  padding-block: var(--space-16);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-shadow: 0 2px 24px rgba(11, 26, 46, .45);
}

.hero__lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--color-on-dark-body);
  max-width: var(--measure-lead);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

.hero__media {
  position: relative;
  z-index: 1;
}

/* ---------- 11 · Highlight cards ---------- */
.hl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.hl-card {
  background: var(--color-white);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hl-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: -0.01em;
}

.hl-card p {
  font-size: var(--fs-body);
  color: var(--color-neutral-700);
}

.hl-card__tag {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--color-sea);
  margin-top: auto;
}

@media (hover: hover) {
  .hl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* GAP-1 (NEW): 3-up argument band reusing the .hl-card visual language */
.args-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* ---------- 14 · Itinerary accordion ---------- */
.itin { max-width: var(--measure-body); }

.itin__item {
  border-bottom: 1px solid var(--color-neutral-300);
}

.itin__item:first-child { border-top: 1px solid var(--color-neutral-300); }

.itin__head {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: var(--space-5);
  align-items: center;
  font-family: inherit;
}

.itin__day {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-night);
  color: var(--color-gold-light);
  display: grid;
  place-content: center;
  text-align: center;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.itin__day-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.itin__day-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.itin__item.is-open .itin__day {
  background: var(--color-primary);
  color: var(--color-white);
}

.itin__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: -0.01em;
  color: var(--color-neutral-900);
}

.itin__chevron {
  color: var(--color-neutral-600);
  transition: transform var(--dur-base) var(--ease-inout);
}

.itin__item.is-open .itin__chevron { transform: rotate(180deg); }

.itin__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-inout);
}

.itin__item.is-open .itin__panel { grid-template-rows: 1fr; }

.itin__panel-inner {
  overflow: hidden;
  padding-bottom: 0;
}

.itin__item.is-open .itin__panel-inner { padding-bottom: 26px; }

.itin__panel-inner p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-neutral-700);
  max-width: var(--measure-body);
}

.itin__fak {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.itin__head:focus-visible {
  outline: 3px solid var(--color-gold-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- 15 · Ausflugspaket ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.pkg-grid__col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.check-list .icon {
  color: var(--color-sea);
  margin-top: 2px;
}

.check-list span {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-neutral-700);
}

/* ---------- 13 · Hotel ---------- */
.hotel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

.hotel-grid__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: var(--measure-body);
}

.hotel-grid__text > p { font-size: var(--fs-body); }

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-8);
}

.feature-row li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-neutral-800);
}

.feature-row .icon { color: var(--color-primary); }

.hotel-grid__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-neutral-100);
}

.hotel-grid__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.photo-card__caption {
  background: var(--color-white);
  padding: 14px 18px;
  font-size: var(--fs-meta);
  color: var(--color-neutral-700);
}

/* ---------- 14 · Video block ---------- */
.video-block {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-night-lift);
  box-shadow: var(--shadow-lg);
  max-width: var(--video-max-w);
  margin-inline: auto;
}

.video-block__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-block__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--color-primary);
  display: grid;
  place-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.video-block__play[hidden] { display: none; }

.video-block__play:hover {
  background: var(--color-white);
  transform: scale(1.06);
}

.video-block__play:active { transform: scale(1); }

.video-block__play:focus-visible { outline-offset: 3px; }

.video-block__caption {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--color-on-dark-body);
  text-align: center;
  margin-top: var(--space-4);
  max-width: var(--measure-lead);
  margin-inline: auto;
}

/* ---------- 15 · Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.gallery__tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-neutral-100);
  aspect-ratio: 4 / 3;
}

.gallery__tile--wide { aspect-ratio: 4 / 3; }

.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-base) var(--ease-out);
}

.gallery__tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: var(--gradient-scrim);
  pointer-events: none;
}

.gallery__tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-4);
  font-size: var(--fs-meta);
  font-weight: 600;
  color: var(--color-white);
  z-index: 1;
}

@media (hover: hover) {
  .gallery__tile:hover img { transform: scale(1.03); }
}

/* ---------- 16 · Termine & Preise ---------- */
.dates {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.dates__row {
  display: grid;
  /* minmax(0,1fr): let the date track shrink below its min-content — the
     Bestpreis chip otherwise forces 320px+ overflow on small screens */
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--color-neutral-50);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.dates__row:nth-child(even) { background: var(--color-white); }

.dates__row:hover { background: var(--color-neutral-100); }

.dates__row--best {
  background: var(--color-limestone);
  border-left: 3px solid var(--color-gold);
  padding-left: 17px;
}

.dates__row--best:hover { background: var(--color-limestone); }

.dates__date {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-neutral-800);
  font-variant-numeric: tabular-nums;
}

.dates__date .icon { color: var(--color-primary); }

.dates__duration {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--color-neutral-600);
  grid-column: 1;
}

.dates__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-price-sm);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  grid-row: 1 / span 2;
  grid-column: 2;
  text-align: right;
}

.dates__price-pre {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-meta);
  color: var(--color-neutral-600);
}

.termine__callouts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.callout {
  display: flex;
  gap: var(--space-4);
  background: var(--color-limestone);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
}

.callout .icon { color: var(--color-warning); margin-top: 2px; }

.callout p {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-neutral-800);
  max-width: var(--measure-body);
}

.termine__footnote {
  font-size: var(--fs-micro);
  line-height: var(--lh-micro);
  letter-spacing: .02em;
  color: var(--color-neutral-600);
  margin-top: var(--space-6);
  max-width: var(--measure-body);
}

/* ---------- 17 · Anfrage-CTA band ---------- */
.cta-band { text-align: center; }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.cta-band__hours {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--color-on-dark-body);
}

/* ---------- 18 · Footer ---------- */
.site-footer {
  background: var(--color-night);
  color: var(--color-on-dark-body);
  border-top: 1px solid var(--color-on-dark-divider);
  position: relative;
  padding: 48px 0 32px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ornament-bokeh);
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: .35;
}

.site-footer > .container { position: relative; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

.site-footer__col h4 {
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: var(--lh-h4);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.site-footer__brand .brand__sub { display: block; }

.site-footer__brand .brand {
  margin-bottom: var(--space-5);
}

.site-footer__disclaimer {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-on-dark-body);
  max-width: var(--measure-disclaimer);
}

.site-footer__col > .tel-link,
.site-footer__contact-link {
  display: inline-flex;
  margin-bottom: var(--space-3);
}

.site-footer__contact-link,
.site-footer__hours {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-on-dark-body);
  text-decoration: none;
}

.site-footer__hours { margin-bottom: 0; }

.site-footer__list {
  display: grid;
  gap: 10px;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-on-dark-body);
}

.site-footer__cta p {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  margin-bottom: var(--space-5);
}

.site-footer__bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-on-dark-divider);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  align-items: center;
  justify-content: space-between;
}

.site-footer__legal p {
  font-size: var(--fs-micro);
  line-height: var(--lh-micro);
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .6);
}

.site-footer__footnote { max-width: var(--measure-body); }

.site-footer__links {
  display: flex;
  gap: var(--space-6);
}

.site-footer__links a {
  font-size: var(--fs-micro);
  line-height: var(--lh-micro);
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .72);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible { color: var(--color-gold-light); }

/* ---------- 19 · Sticky mobile CTA bar ---------- */
.mobile-cta {
  display: none;
}

/* ============================================================
   Breakpoints — mobile-first min-width (exceptions: mobile CTA
   bar & hamburger nav use max-width per design-system §2.3)
   ============================================================ */

/* ---------- ≥640px (sm) ---------- */
@media (min-width: 640px) {
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- <768px: mobile CTA bar + body padding ---------- */
@media (max-width: 767.98px) {
  body { padding-bottom: var(--mobile-cta-h); }

  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--mobile-cta-h);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0 16px;
    background: var(--color-night);
    border-top: 2px solid var(--color-gold);
  }

  .mobile-cta__call { flex: 0 0 42%; }
  .mobile-cta__cta { flex: 1; justify-content: center; }

  /* Drawer phone link: below 768px only */
  .mobile-nav__tel { display: inline-flex; }

  /* Dates row: tighter gap/padding so 320px stays overflow-free */
  .dates__row {
    gap: var(--space-2) var(--space-4);
    padding: 14px 16px;
  }
}

/* ---------- <640px: compact accordion + play button ---------- */
@media (max-width: 639.98px) {
  .itin__head {
    grid-template-columns: 44px 1fr 20px;
    gap: var(--space-4);
  }

  .itin__day {
    width: 44px;
    height: 44px;
  }

  .itin__day-num { font-size: 17px; }

  .itin__chevron { width: 20px; height: 20px; }

  .video-block__play {
    width: 60px;
    height: 60px;
  }
}

/* ---------- ≥768px (md) ---------- */
@media (min-width: 768px) {
  .container { padding-inline: 32px; }

  .section { padding-block: 72px; }
  .section--feature { padding-block: 88px; }

  .section-head { margin-bottom: var(--space-12); }

  .brand__star { width: 22px; height: 22px; }
  .brand__wordmark { font-size: 18px; }

  .site-header__inner { height: var(--header-h-md); }

  .site-header__tel { display: inline-flex; }

  /* GAP-1 (NEW): 3-up band switches to 3 columns at ≥768px */
  .args-grid { grid-template-columns: repeat(3, 1fr); }

  .pkg-grid { grid-template-columns: repeat(2, 1fr); }

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

  .site-footer { padding: 64px 0 40px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }

  [id] { scroll-margin-top: 80px; }
}

/* ---------- <1024px: hamburger nav ---------- */
@media (max-width: 1023.98px) {
  .site-nav { display: none; }
  .site-header__burger { display: inline-flex; }
}

/* ---------- ≥1024px (lg) ---------- */
@media (min-width: 1024px) {
  .section { padding-block: 96px; }
  .section--feature { padding-block: 112px; }

  .site-header__inner { height: var(--header-h-lg); }

  .site-nav { display: flex; }
  .site-header__burger { display: none; }
  .mobile-nav { display: none; }

  .brand__sub { display: block; }

  .hero__inner { min-height: clamp(560px, 78vh, 900px); }

  /* Medallion over the hero image, bottom-right (bottom-left collides with
     the CTA row on short viewports); tilted per design system. */
  .hero__media {
    position: absolute;
    right: var(--space-6);
    bottom: var(--space-10);
  }

  .hero__badge { transform: rotate(-3deg); }

  .hl-grid { grid-template-columns: repeat(4, 1fr); }

  .hotel-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-6);
  }

  .hotel-grid__text { grid-column: 1 / span 7; }
  .hotel-grid__photo { grid-column: 8 / span 5; max-width: 560px; justify-self: end; }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }

  .gallery__tile--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  .dates__row {
    grid-template-columns: 1fr auto auto;
    gap: var(--space-5);
  }

  .dates__duration { grid-column: auto; grid-row: auto; }
  .dates__price { grid-row: auto; grid-column: auto; }

  .termine__callouts { grid-template-columns: repeat(2, 1fr); }

  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }

  [id] { scroll-margin-top: 88px; }
}

/* ---------- ≥1280px (xl) ---------- */
@media (min-width: 1280px) {
  .container { padding-inline: 40px; }
}

/* ---------- ≥420px: header CTA label ---------- */
@media (max-width: 419.98px) {
  .site-header__cta-full { display: none; }
  .site-header__cta-short { display: inline; }
  .site-header__cta { font-size: 13px; height: 36px; padding-inline: 14px; }
}

/* ---------- Reduced motion (mandatory) ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  html { scroll-behavior: auto; }
}
