/* ==========================================================================
   Orphia · Ferienwohnung Kallithea, Chalkidiki
   Stylesheet · Design-Tokens aus dem Handoff
   ========================================================================== */

/* --- Schriften (selbst gehostet, DSGVO-konform) -------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --bg: #FBF9F5;
  --sand: #F0E9DE;
  --sand-deep: #EBE2D4;
  --accent: #D89B72;
  --accent-dark: #c98a60;
  --sage: #9CA68C;
  --sea: #8FB3BF;
  --ink: #3A3531;

  --ink-74: rgba(58, 53, 49, .74);
  --ink-66: rgba(58, 53, 49, .66);
  --ink-55: rgba(58, 53, 49, .55);
  --ink-48: rgba(58, 53, 49, .48);
  --ink-22: rgba(58, 53, 49, .22);
  --ink-20: rgba(58, 53, 49, .2);
  --ink-14: rgba(58, 53, 49, .14);
  --ink-10: rgba(58, 53, 49, .1);
  --ink-08: rgba(58, 53, 49, .08);

  --light: #FBF9F5;
  --light-90: rgba(251, 249, 245, .9);
  --light-66: rgba(251, 249, 245, .66);

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);
  /* Weiches Auslaufen ohne Nachschwingen, wie in Apple-Oberflächen */
  --ease-apple: cubic-bezier(.16, 1, .3, 1);

  --header-h: 74px;
  --pad-x: clamp(20px, 5vw, 60px);
  --pad-y: clamp(72px, 11vw, 150px);
  --wrap: 1280px;
  --radius: 6px;
}

/* --- Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
/* Browser geben figure von Haus aus 40 px Rand links und rechts.
   Das würde einzelne Bildflächen schmaler machen als die daneben. */
figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--light); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 50%; top: 8px;
  transform: translate(-50%, -200%);
  z-index: 1300;
  background: var(--ink);
  color: var(--light);
  font-family: var(--sans);
  font-size: 13px;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.icon {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--fill { fill: currentColor; stroke: none; }

/* --- Typografie ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 22px;
}
.eyebrow--sea { color: var(--sea); }
.eyebrow--accent { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: .005em;
}
.h3 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; }

.lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--ink-74);
  margin: 24px 0 0;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--light); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn--ghost-light {
  background: rgba(251, 249, 245, .08);
  color: var(--light);
  border-color: rgba(251, 249, 245, .55);
}
.btn--ghost-light:hover { background: rgba(251, 249, 245, .18); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(58, 53, 49, .3);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--pill {
  border-radius: 40px;
  font-size: 11.5px;
  letter-spacing: .14em;
  padding: 13px 26px;
}

.btn--block { width: 100%; padding: 18px; font-size: 13px; }

/* --- Intro-Ladeanimation ------------------------------------------------- */
@keyframes introWrap { 0%, 68% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes introLogo {
  0%   { opacity: 0; transform: translateY(14px); letter-spacing: .55em; }
  34%  { opacity: 1; transform: translateY(0);    letter-spacing: .34em; }
  72%  { opacity: 1; letter-spacing: .34em; }
  100% { opacity: 0; letter-spacing: .4em; }
}
@keyframes introLine { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  pointer-events: none;
  animation: introWrap 2.6s var(--ease-io) forwards;
}
.intro__logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 76px);
  text-transform: uppercase;
  letter-spacing: .34em;
  padding-left: .34em;
  animation: introLogo 2.5s var(--ease-io) forwards;
}
.intro__line {
  width: 64px; height: 1px;
  background: var(--accent);
  transform-origin: center;
  animation: introLine 2.5s var(--ease-io) forwards;
}

/* --- Header -------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* Liegt bewusst über dem mobilen Menü, damit Wortmarke und Burger
     sichtbar bleiben und der Burger sich zum X drehen kann. */
  z-index: 950;
  background: rgba(251, 249, 245, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-08);
  transition: background .5s ease, border-color .5s ease;
}
.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .22em;
  padding-left: .22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: color .5s ease, text-shadow .5s ease;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 30px); }
.nav__link {
  position: relative;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  opacity: .92;
  transition: color .5s ease, opacity .4s ease, text-shadow .5s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .55s var(--ease);
}
.nav__link:hover { color: var(--accent); opacity: 1; }
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }

/* Sprachumschalter: sitzt am Ende der Navigation, abgesetzt durch einen Strich.
   Der Innenabstand steht in einer Variablen, weil der Unterstrich aus .nav__link
   sonst über die leere Fläche bis zum Trenner läuft und doppelt so lang wirkt
   wie die zwei Buchstaben. */
.nav__link--lang {
  --lang-pad: clamp(14px, 1.6vw, 26px);
  position: relative;
  margin-left: 4px;
  padding-left: var(--lang-pad);
  opacity: .7;
}
.nav__link--lang::after { left: var(--lang-pad); }
.nav__link--lang::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 11px;
  margin-top: -5.5px;
  background: currentColor;
  opacity: .3;
}
.nav__link--lang:hover { opacity: 1; }

.mobile-menu__lang {
  font-size: clamp(19px, 4.5vw, 24px) !important;
  color: var(--accent) !important;
  border-bottom: none !important;
  margin-top: 10px;
}

/* Header über dem Hero (nur Desktop, ganz oben) */
.header--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.header--transparent .brand,
.header--transparent .nav__link {
  color: var(--light);
  text-shadow: 0 1px 12px rgba(20, 17, 14, .75);
}
.header--transparent .nav__link:hover { color: var(--accent); }
.header--transparent .burger span { background: var(--light); }

.burger {
  display: none;
  position: relative;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .55s var(--ease-apple), width .55s var(--ease-apple),
              opacity .3s var(--ease-apple), background .5s ease;
}
.burger span:nth-child(1) { top: 8px;    width: 24px; }
.burger span:nth-child(2) { top: 14.5px; width: 18px; }
.burger span:nth-child(3) { top: 21px;   width: 24px; }

/* Beim Öffnen wandern die äußeren Striche zur Mitte und kreuzen sich,
   der mittlere verschwindet. Abstand der Mitten ist 13 px, also 6,5 px je Strich. */
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; width: 6px; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Mobiles Menü -------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .45s var(--ease-apple),
              transform .55s var(--ease-apple),
              visibility 0s linear .5s;
}
.mobile-menu[data-open='true'] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .5s var(--ease-apple),
              transform .6s var(--ease-apple),
              visibility 0s linear 0s;
}
.mobile-menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 clamp(28px, 8vw, 60px);
}
.mobile-menu__nav a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 7vw, 38px);
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(58, 53, 49, .06);
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity .55s var(--ease-apple),
              transform .7s var(--ease-apple),
              filter .55s var(--ease-apple),
              color .3s ease;
}
.mobile-menu[data-open='true'] .mobile-menu__nav a {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(1) { transition-delay: .10s; }
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(2) { transition-delay: .16s; }
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(3) { transition-delay: .22s; }
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(4) { transition-delay: .28s; }
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(5) { transition-delay: .34s; }
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(6) { transition-delay: .40s; }
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(7) { transition-delay: .46s; }
.mobile-menu[data-open='true'] .mobile-menu__nav a:nth-child(8) { transition-delay: .52s; }
.mobile-menu__nav a:active { color: var(--accent); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__bg { position: absolute; inset: -6% 0 0 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil-v,
.hero__veil-d { position: absolute; inset: 0; pointer-events: none; }
.hero__veil-v {
  background: linear-gradient(180deg,
    rgba(20, 17, 14, .58) 0%, rgba(20, 17, 14, .2) 26%, rgba(20, 17, 14, .3) 46%,
    rgba(20, 17, 14, .68) 70%, rgba(20, 17, 14, .9) 88%, rgba(20, 17, 14, .94) 100%);
}
.hero__veil-d {
  background: linear-gradient(100deg,
    rgba(20, 17, 14, .72) 0%, rgba(20, 17, 14, .46) 32%,
    rgba(20, 17, 14, .12) 58%, transparent 78%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(60px, 9vh, 120px);
  color: var(--light);
}
.hero__col { max-width: 680px; }
.hero__eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: rgba(251, 249, 245, .95);
  text-shadow: 0 1px 14px rgba(20, 17, 14, .6);
}
.hero h1 {
  font-size: clamp(54px, 10vw, 116px);
  line-height: .98;
  letter-spacing: .01em;
  margin: 0 0 26px;
  color: var(--light);
  text-shadow: 0 2px 30px rgba(20, 17, 14, .5), 0 1px 8px rgba(20, 17, 14, .35);
}
.hero__text {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 38px;
  color: rgba(251, 249, 245, .96);
  text-shadow: 0 1px 16px rgba(20, 17, 14, .65);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- Sektionen ----------------------------------------------------------- */
.section {
  scroll-margin-top: var(--header-h);
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
}
.section--sand { background: var(--sand); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap--narrow { max-width: 900px; }

.section__head { max-width: 680px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section__head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__head--split > div { max-width: 620px; }
.section__head--split .lead { max-width: 340px; margin: 0; }

/* --- Unterkunft: aufklappende Kacheln (Desktop) -------------------------- */
.tiles {
  display: flex;
  gap: 14px;
  height: min(70vh, 600px);
}
.tile {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: flex-grow .85s var(--ease);
}
.tile > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 2s var(--ease);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(22, 19, 16, .95) 0%, rgba(22, 19, 16, .82) 12%, rgba(22, 19, 16, .46) 28%,
    rgba(22, 19, 16, .12) 44%, transparent 60%);
  pointer-events: none;
}
.tile__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 30px 28px;
  color: var(--light);
}
.tile__body h3 {
  font-size: 23px;
  margin: 0;
  color: var(--light);
  white-space: nowrap;
  text-shadow: 0 1px 18px rgba(34, 30, 27, .55);
}
.tile__text {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .85s var(--ease), opacity .7s ease;
}
.tile__text p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(251, 249, 245, .88);
  margin: 14px 0 0;
  width: 280px;
  max-width: 100%;
}

/* Erste Kachel ist offen, bis eine andere angesteuert wird. */
.tiles > .tile:first-child { flex-grow: 3.2; }
.tiles > .tile:first-child .tile__text { max-height: 180px; opacity: 1; }
.tiles:hover > .tile:first-child,
.tiles:focus-within > .tile:first-child { flex-grow: 1; }
.tiles:hover > .tile:first-child .tile__text,
.tiles:focus-within > .tile:first-child .tile__text { max-height: 0; opacity: 0; }

.tiles > .tile:hover,
.tiles > .tile:focus-within { flex-grow: 3.2; }
.tiles > .tile:hover .tile__text,
.tiles > .tile:focus-within .tile__text { max-height: 180px; opacity: 1; }
.tiles > .tile:hover > img,
.tiles > .tile:focus-within > img { transform: scale(1.05); }

.tile__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.tiles-hint {
  text-align: center;
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(58, 53, 49, .42);
}

/* --- Unterkunft: Karussell (Mobil) --------------------------------------- */
.carousel { display: none; }
.carousel__stage {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}
.carousel__stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.carousel__stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(22, 19, 16, .95) 0%, rgba(22, 19, 16, .82) 12%, rgba(22, 19, 16, .46) 28%,
    rgba(22, 19, 16, .12) 44%, transparent 60%);
  pointer-events: none;
}
.carousel__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 30px 26px;
  color: var(--light);
}
.carousel__body h3 {
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--light);
  text-shadow: 0 1px 18px rgba(34, 30, 27, .5);
}
.carousel__body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--light-90);
  margin: 0;
}
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.dots { display: flex; gap: 9px; }
.dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--ink-22);
  cursor: pointer;
  transition: background .35s ease;
}
.dots button[aria-current='true'] { background: var(--accent); }

.circle-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(58, 53, 49, .18);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  transition: border-color .3s ease, background .4s ease, color .4s ease;
}
.circle-btn:hover { border-color: var(--accent); }
.circle-btn--rail { background: transparent; border-color: var(--ink-20); font-size: 22px; }
.circle-btn--rail:hover { background: var(--accent); color: var(--light); border-color: var(--accent); }

/* --- Raum-Navigator ------------------------------------------------------ */
.rooms {
  display: grid;
  grid-template-columns: minmax(180px, 230px) 1fr;
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(60px, 8vw, 110px);
}
.rooms__nav { display: flex; flex-direction: column; flex-wrap: wrap; gap: 4px; }
.rooms__nav button {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 10px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 2.1vw, 27px);
  letter-spacing: .06em;
  color: var(--ink-55);
  opacity: .75;
  transition: color .5s var(--ease), opacity .5s ease;
}
.rooms__nav button::after {
  content: '';
  position: absolute;
  left: 0; right: 18%; bottom: 6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.rooms__nav button:hover { color: var(--accent); opacity: 1; }
.rooms__nav button[aria-selected='true'] { color: var(--ink); opacity: 1; }
.rooms__nav button[aria-selected='true']::after { transform: scaleX(1); }

.rooms__stage {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}
/* Alle Raumbilder liegen übereinander. Gewechselt wird über die Deckkraft,
   nicht über display, damit das Bild schon geladen ist, wenn es dran ist.
   Die z-index-Staffelung ist zwingend: ohne sie liegt immer das im Quelltext
   zuletzt stehende Bild oben, egal welcher Raum gewählt ist. */
.rooms__stage img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .55s var(--ease), transform .62s var(--ease);
}
.rooms__stage img.is-active { opacity: 1; transform: none; z-index: 1; }
.rooms__stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top,
    rgba(22, 19, 16, .62) 0%, rgba(22, 19, 16, .28) 14%, transparent 38%);
  pointer-events: none;
}
.rooms__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: clamp(18px, 2.4vw, 26px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.rooms__caption p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--light-90);
  margin: 0;
  max-width: 420px;
  text-shadow: 0 1px 12px rgba(22, 19, 16, .5);
}
.rooms__counter {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(251, 249, 245, .75);
  white-space: nowrap;
}
.rooms__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.rooms__thumbs button {
  flex: 0 0 104px;
  aspect-ratio: 4/3;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--ink-14);
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  opacity: .5;
  transition: opacity .45s ease, border-color .45s ease;
}
.rooms__thumbs button:hover { opacity: 1; }
.rooms__thumbs button[aria-current='true'] { opacity: 1; border-color: var(--accent); }
.rooms__thumbs img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

@keyframes fadeA { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes fadeB { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
.fade-a { animation: fadeA .62s var(--ease) both; }
.fade-b { animation: fadeB .62s var(--ease) both; }

/* --- Ausstattung --------------------------------------------------------- */
.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: clamp(36px, 4.5vw, 58px) 14px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.amenities li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.amenities .icon { font-size: 29px; color: var(--accent); stroke-width: 1.2; }
.amenities b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 5px;
}
.amenities span {
  display: block;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-48);
}

/* --- Lage: Karte und Entfernungen ---------------------------------------- */
.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.map {
  position: relative;
  min-height: 360px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ink-10);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(.9);
}
.map__consent {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sand), var(--sand-deep));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 32px;
}
.map__consent .icon { font-size: 40px; color: var(--sage); }
.map__consent h3 { font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.map__consent p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-66);
  margin: 0;
  max-width: 340px;
}
.map__chip,
.map__external {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  color: var(--ink);
  background: var(--bg);
  border-radius: 40px;
  box-shadow: 0 3px 14px rgba(58, 53, 49, .16);
  text-decoration: none;
}
.map__chip {
  top: 14px; left: 14px;
  letter-spacing: .06em;
  padding: 8px 14px;
  max-width: calc(100% - 28px);
}
.map__chip .icon { font-size: 15px; color: var(--accent); }
.map__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map__external {
  bottom: 14px; right: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 15px;
  transition: color .3s ease;
}
.map__external:hover { color: var(--accent); }

.distances h3 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 18px; }
.distances dl { margin: 0; }
.distances dl > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--ink-10);
}
.distances dt { font-weight: 400; font-size: 14.5px; flex: 1; }
.distances dd {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  white-space: nowrap;
}

/* --- Filter und Empfehlungskarten ---------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px);
}
.filters button {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 40px;
  cursor: pointer;
  border: 1px solid var(--ink-20);
  background: transparent;
  color: var(--ink);
  transition: all .45s var(--ease);
}
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--light);
}

.rail-outer { position: relative; margin-bottom: clamp(56px, 7vw, 96px); }
.rail {
  display: flex;
  gap: clamp(16px, 2vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 22px 6px 30px;
  margin: -14px -6px 0;
  scroll-padding-left: 6px;
}
.rail::-webkit-scrollbar { display: none; }

.card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 84vw, 336px);
  background: var(--bg);
  border: 1px solid var(--ink-08);
  border-radius: 12px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .5s ease, transform .5s ease;
}
.card:hover {
  box-shadow: 0 14px 40px rgba(58, 53, 49, .09);
  transform: translateY(-3px);
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__cat {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.card__cat[data-cat='einkauf'], .card__cat[data-cat='ausflug'] { color: var(--sage); }
.card__cat[data-cat='essen'] { color: var(--accent); }
.card__cat[data-cat='bar'], .card__cat[data-cat='beach'] { color: var(--sea); }
.card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 12px;
}
.card__rating .icon { font-size: 15px; color: var(--accent); }
.card h3 { font-weight: 600; font-size: 24px; line-height: 1.1; margin: 0 0 4px; }
.card__dist { font-weight: 400; font-size: 12.5px; color: var(--sage); letter-spacing: .02em; }
.card p { font-size: 13.5px; line-height: 1.62; color: var(--ink-66); margin: 0; flex: 1; }
.card__action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: none;
  padding: 2px 0 0;
  margin-top: 2px;
  cursor: pointer;
  transition: gap .4s ease;
}
.card__action:hover { gap: 11px; }
.card__action .icon { font-size: 16px; }

.rail-nav { display: flex; justify-content: center; gap: 14px; margin-top: 22px; }

@media (min-width: 760px) {
  .card { flex-basis: calc((100% - 2 * clamp(16px, 2vw, 22px)) / 3); }
}
@media (min-width: 1100px) {
  .card { flex-basis: calc((100% - 3 * clamp(16px, 2vw, 22px)) / 4); }
}

/* --- Außenbereich -------------------------------------------------------- */
.media-wide {
  aspect-ratio: 16/8;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 0 clamp(18px, 2.5vw, 28px);
}
.media-wide img { width: 100%; height: 100%; object-fit: cover; }
.media-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.media-trio > figure {
  margin: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
}
.media-trio img { width: 100%; height: 100%; object-fit: cover; }

/* --- Galerie ------------------------------------------------------------- */
/* Einheitliche Kacheln statt Masonry. Gemischte Zeilenspannen liessen bei
   21 Motiven Löcher im Raster, weil die Anzahl nicht aufgeht. Gleiche Größe
   für alle ist ruhiger und passt zu den festen Bildformaten der übrigen
   Abschnitte. Das data-span im HTML bleibt wirkungslos stehen. */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }

/* --- Formular ------------------------------------------------------------ */
.form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(58, 53, 49, .07);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(58, 53, 49, .6);
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-22);
  padding: 10px 0;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(58, 53, 49, .4); }
.field--message { margin-bottom: 28px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 30px;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.consent span { font-size: 13px; line-height: 1.6; color: rgba(58, 53, 49, .7); }

.form__note {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-48);
  text-align: center;
}
.form__error {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-radius: 4px;
  background: rgba(216, 155, 114, .12);
  border: 1px solid rgba(216, 155, 114, .5);
  font-size: 13.5px;
  color: var(--ink);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.thanks {
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(48px, 7vw, 80px) 32px;
  text-align: center;
  border: 1px solid rgba(156, 166, 140, .4);
}
.thanks .icon { font-size: 54px; color: var(--sage); stroke-width: 1.2; }
.thanks h3 { font-size: clamp(26px, 3.4vw, 38px); margin: 22px 0 14px; }
.thanks p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(58, 53, 49, .72);
  max-width: 440px;
  margin: 0 auto 30px;
}

/* --- Footer -------------------------------------------------------------- */
.footer {
  scroll-margin-top: var(--header-h);
  background: var(--ink);
  color: var(--light);
  padding: clamp(64px, 9vw, 120px) var(--pad-x) 50px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(251, 249, 245, .14);
}
.footer__brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: .2em;
  padding-left: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--light-66);
  max-width: 280px;
  margin: 0;
}
.footer h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, .5);
  margin: 0 0 20px;
}
.footer__list { display: flex; flex-direction: column; gap: 14px; }
.footer__list--tight { gap: 11px; }
.footer__list a,
.footer__list div {
  font-size: 15px;
  color: rgba(251, 249, 245, .86);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color .3s ease;
}
.footer__list--tight a { font-size: 14px; color: rgba(251, 249, 245, .7); }
.footer__list a:hover { color: var(--accent); }
.footer__list .icon { font-size: 19px; color: var(--accent); }
.footer__bottom {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(251, 249, 245, .45);
}
.footer__bottom a { text-decoration: none; transition: color .3s ease; }
.footer__bottom a:hover { color: var(--accent); }

/* --- Cookie-Banner ------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  padding: clamp(14px, 2vw, 26px);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie[hidden] { display: none; }
.cookie__card {
  pointer-events: auto;
  width: 100%;
  max-width: 760px;
  background: var(--bg);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(58, 53, 49, .16);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie__head { display: flex; align-items: flex-start; gap: 16px; }
.cookie__head .icon { font-size: 26px; color: var(--accent); margin-top: 2px; }
.cookie__card h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 8px;
}
.cookie__card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(58, 53, 49, .7);
  margin: 0;
}
.cookie__card a { color: var(--accent); }
.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie__actions .btn--outline { border-color: var(--ink-22); }
.cookie__actions .btn--outline:hover { border-color: var(--ink); color: var(--ink); }

/* --- Rechtstexte (Impressum, Datenschutz) -------------------------------- */
.legal {
  padding: calc(var(--header-h) + clamp(48px, 8vw, 100px)) var(--pad-x) clamp(64px, 9vw, 120px);
  max-width: 820px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 40px; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 48px 0 14px;
}
.legal h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .04em;
  margin: 28px 0 8px;
}
.legal p, .legal li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-74);
}
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); }
.legal .todo {
  background: rgba(216, 155, 114, .14);
  border-left: 3px solid var(--accent);
  padding: 3px 8px;
  font-weight: 500;
  color: var(--ink);
}
.legal__back {
  display: inline-block;
  margin-top: 56px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

/* --- Scroll-Reveal ------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.05s var(--ease-apple), transform 1.05s var(--ease-apple);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Überschriften laufen innerhalb ihres Blocks zeitversetzt ein und schärfen
   sich dabei aus dem Unscharfen heraus. Kein Nachschwingen, kein Zoom. */
[data-reveal] .eyebrow,
[data-reveal] .h2,
[data-reveal] .h3,
[data-reveal] .lead,
.hero [data-reveal] {
  filter: blur(6px);
  transition: opacity .95s var(--ease-apple),
              transform 1.05s var(--ease-apple),
              filter .9s var(--ease-apple);
}
[data-reveal] .eyebrow,
[data-reveal] .h2,
[data-reveal] .h3,
[data-reveal] .lead {
  opacity: 0;
  transform: translateY(20px);
}
[data-reveal].is-visible .eyebrow,
[data-reveal].is-visible .h2,
[data-reveal].is-visible .h3,
[data-reveal].is-visible .lead,
.hero [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
[data-reveal].is-visible .eyebrow { transition-delay: .04s; }
[data-reveal].is-visible .h2,
[data-reveal].is-visible .h3 { transition-delay: .13s; }
[data-reveal].is-visible .lead { transition-delay: .26s; }

/* Der Kopfblock selbst bewegt sich nicht. Sonst überlagert seine eigene
   Blende die Staffelung der Kinder und der Versatz verpufft. Er dient nur
   noch als Auslöser für Eyebrow, Überschrift und Fließtext. */
.section__head[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Muss zuletzt stehen: die Blöcke darüber setzen transition als Kurzschreibweise
   und würden eine früher notierte Verzögerung wieder auf 0 zurücksetzen. */
[data-reveal][style*='--d'] { transition-delay: var(--d); }

/* --- Kleine Schirme: Buttons über die volle Breite ------------------------ */
@media (max-width: 640px) {
  .hero__actions { gap: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .thanks .btn { width: 100%; }
}

/* --- Breakpoint 900 px --------------------------------------------------- */
@media (max-width: 899px) {
  .nav { display: none; }
  .burger { display: block; }
  .header--transparent {
    background: rgba(251, 249, 245, .86);
    border-bottom-color: var(--ink-08);
  }
  .header--transparent .brand,
  .header--transparent .nav__link { color: var(--ink); text-shadow: none; }
  .header--transparent .burger span { background: var(--ink); }

  .tiles, .tiles-hint { display: none; }
  .carousel { display: block; }

  .rooms { grid-template-columns: 1fr; }
  .rooms__nav { flex-direction: row; gap: 8px 18px; }
  .rooms__nav button { font-size: 19px; padding: 4px 0 10px; }
  .rooms__nav button::after { right: 0; bottom: 2px; }
  .rooms__stage { aspect-ratio: 4/3; }
  .rooms__thumbs button { flex-basis: 84px; }

  .section__head--split .lead { max-width: none; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions .btn { flex: 1; }
}

/* --- Reduzierte Bewegung ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal],
  [data-reveal] .eyebrow,
  [data-reveal] .h2,
  [data-reveal] .h3,
  [data-reveal] .lead,
  .mobile-menu__nav a {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .tile > img, .gallery img { transition: none; }
}

/* --- Druck --------------------------------------------------------------- */
@media print {
  .header, .cookie, .rail-nav, .carousel__controls, .intro { display: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  body { background: #fff; }
}
