/* ==========================================================================
   Kocina · Apartments Schladming
   Welt: Tannenwald bei Nacht, Laternenlicht, Papier mit gerissenen Kanten.
   Radius-System: kantig (0) mit gefasten Ecken (--cut) für Bilder, Karten, Buttons.
   ========================================================================== */

:root {
  /* Helle Alpenfarben: Sand, Papier, Taupe-Holz, Kupfer.
     Dunkel bleibt nur für Fotoflächen, Karten und Footer. */
  --sand: #e8e3d6;     /* warme Grundfläche */
  --sand-2: #e1dbcb;
  --paper: #f7f5ef;    /* hellste Fläche */
  --paper-2: #efeade;
  --wood: #6a5e51;     /* Taupe für Karten */
  --wood-2: #574d42;
  --dark: #3b342c;     /* Footer, Header, Bild-Overlays */
  --ink: #3b342c;
  --ink-soft: #6a6053;
  --cream: #f7f5ef;    /* Text auf dunklen Flächen */
  /* Im hellen Kontext dunkle Werte; dunkle Bereiche überschreiben sie unten. */
  --cream-soft: rgba(59, 52, 44, 0.72);
  --cream-faint: rgba(59, 52, 44, 0.16);
  --copper: #b06025;
  --copper-hi: #c97a3a;
  --copper-ink: #9a5220;   /* Kupfer auf Hell */
  --copper-light: #eda86f; /* Kupfer auf Taupe/Foto */

  --f-display: "Marcellus", "Cormorant SC", Georgia, serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --cut: 16px;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-index Skala */
  --z-header: 50;
  --z-mobilebar: 55;
  --z-menu: 60;
  --z-lightbox: 80;
  --z-grain: 90;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Filmkorn: fixiert, nie auf scrollenden Containern */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--sand); }

:focus-visible {
  outline: 2px solid var(--copper-hi);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--copper); color: var(--sand); padding: 10px 16px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Typografie ---------- */

.display,
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0;
}

h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.08; }

p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 62ch; }
.muted { color: var(--cream-soft); }

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-ink);
  font-weight: 600;
}

.stars {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--copper-ink);
}

/* ---------- Gefaste Ecken & Ornamentrahmen ---------- */

.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 38px solid transparent;
  border-image: url("../img/frame-dark.svg") 44 / 38px stretch;
  pointer-events: none;
  z-index: 2;
}
.framed--dark::before { border-image-source: url("../img/frame-dark.svg"); }
.framed--light::before { border-image-source: url("../img/frame-light.svg"); }
.framed--copper::before { border-image-source: url("../img/frame-copper.svg"); }
.framed--tight::before { inset: -8px; border-width: 30px; border-image-width: 30px; }

/* ---------- Buttons & Links ---------- */

.btn {
  --bg: var(--copper);
  --fg: #fff8f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 28px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.35s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--copper-hi); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn i { font-size: 1.15em; }

.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--paper:hover { background: #ffffff; }

.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(59, 52, 44, 0.4);
  clip-path: none;
}
.btn--ghost:hover { background: rgba(59, 52, 44, 0.07); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
}
.link-arrow i { transition: transform 0.35s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: 76px;
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s;
}
/* deckend und gleich wie theme-color: Safari/Chrome färben die Statusleiste darüber passend ein */
.header.is-solid {
  background: #3b342c;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--cream-faint);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1480px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand__name {
  font-family: var(--f-display);
  font-size: 1.7rem;
  letter-spacing: 0.24em;
}
.brand__sub {
  margin-top: 5px;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-soft);
  transition: color 0.3s;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--copper-hi);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { color: var(--cream); }
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 20px; }

.burger {
  display: none;
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger span:nth-child(3) { top: 30px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--sand);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 40px;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.mobile-menu a:not(.btn) {
  font-family: var(--f-display);
  font-size: clamp(2rem, 9vw, 3rem);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.25;
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.mobile-menu__contact { margin-top: 32px; color: var(--cream-soft); font-size: 0.95rem; }
.mobile-menu__contact a { font-family: var(--f-body) !important; font-size: 1rem !important; text-transform: none !important; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .header { z-index: calc(var(--z-menu) + 1); background: transparent; box-shadow: none; backdrop-filter: none; }

/* Sprachumschalter DE / EN */
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cream-faint);
}
.lang a {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 32px;
  text-decoration: none;
  color: var(--cream-soft);
  transition: color 0.3s;
}
.lang a:hover { color: var(--cream); }
.lang a[aria-current="true"] { color: var(--copper-hi); }
.nav .lang { padding-left: clamp(8px, 1vw, 16px); border-left: 1px solid var(--cream-faint); }
.lang--mobile { display: none; margin-left: auto; margin-right: 6px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .lang--mobile { display: flex; }
  .lang--mobile a { min-width: 36px; min-height: 44px; }
  .brand__sub { white-space: nowrap; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.45rem; letter-spacing: 0.2em; }
  .brand__sub { font-size: 0.56rem; letter-spacing: 0.22em; }
  .header .wrap { gap: 8px; }
  .lang--mobile { margin-right: 0; gap: 2px; }
}

/* ---------- Büttenränder ----------
   Das Papier liegt immer oben auf der dunklen Fläche:
   Papier-Sektion  -> Kante ragt nach oben in die dunkle Sektion davor
   dunkle Sektion  -> die Papierkante der Sektion davor hängt herein
   Mit hellem Papierkern und zartem Schatten (in den SVGs). */

.torn-top { position: relative; }
.torn-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: clamp(20px, 2.6vw, 40px);
  pointer-events: none;
  z-index: 3;
  background: url("../img/torn-up-a.svg") center / max(100%, 1200px) 100% no-repeat;
}
.torn-top::before { bottom: calc(100% - 1px); }
.torn-top.torn-alt::before { background-image: url("../img/torn-up-b.svg"); }

.section--sand.torn-top::before,
.inquiry.torn-top::before {
  bottom: auto;
  top: -1px;
  background-image: url("../img/torn-down-a.svg");
}
.section--sand.torn-top.torn-alt::before,
.inquiry.torn-top.torn-alt::before { background-image: url("../img/torn-down-b.svg"); }

/* ---------- Sektionen ---------- */

.section { position: relative; padding-block: clamp(90px, 11vw, 160px); }
.section--paper { background: var(--paper); color: var(--ink); --torn: var(--paper); }
.section--paper .muted { color: var(--ink-soft); }
.section--paper h2 { color: var(--copper-ink); }
.section--paper .kicker { color: var(--copper-ink); }
.section--sand { background: var(--sand); --torn: var(--sand); }
.section--wood { background: var(--sand-2); --torn: var(--sand-2); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
/* Triptychon: Dependance II · Villa Florl · Dependance I */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 6px;
  background: var(--sand);
}
.hero__panel { position: relative; overflow: hidden; }
.hero__panel img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
/* Seitenhäuser treten zurück, damit die Headline frei steht */
.hero__panel--l::after,
.hero__panel--r::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(59, 52, 44, 0.34);
}
.hero__panel--l img { object-position: 72% 60%; }
.hero__panel--main img { object-position: 44% 60%; }
.hero__panel--r img { object-position: 64% 60%; }

@media (max-width: 820px) {
  .hero__media { display: block; }
  .hero__panel--l::after, .hero__panel--r::after { display: none; }
  .hero__panel { position: absolute; inset: 0; opacity: 0; animation: heroCycle 18s linear infinite; }
  .hero__panel--main { opacity: 1; z-index: 1; animation-delay: -1s; }
  .hero__panel--r { animation-delay: 5s; }
  .hero__panel--l { animation-delay: 11s; }
  .hero__panel--main img { object-position: 46% 60%; }
  .hero__panel--r img { object-position: 60% 60%; }
  .hero__panel--l img { object-position: 64% 60%; }
}
@keyframes heroCycle {
  0% { opacity: 0; }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(40, 34, 28, 0.5) 0%, rgba(40, 34, 28, 0.06) 34%, rgba(40, 34, 28, 0) 50%, rgba(40, 34, 28, 0.06) 66%, rgba(40, 34, 28, 0.48) 100%),
    linear-gradient(180deg, rgba(40, 34, 28, 0.38) 0%, rgba(40, 34, 28, 0) 20%, rgba(40, 34, 28, 0) 60%, rgba(40, 34, 28, 0.62) 100%);
}

/* Nebel: zwei langsam driftende Schichten */
.fog {
  position: absolute;
  inset: auto -20% 0;
  height: 55%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 60% at 25% 70%, rgba(226, 216, 190, 0.18), transparent 70%),
    radial-gradient(35% 50% at 70% 80%, rgba(226, 216, 190, 0.14), transparent 70%);
  filter: blur(20px);
  animation: fog 38s ease-in-out infinite alternate;
}
.fog--2 { animation-duration: 52s; animation-direction: alternate-reverse; opacity: 0.8; height: 40%; }
@keyframes fog {
  from { transform: translateX(-6%); }
  to { transform: translateX(6%); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 26vw) 1fr;
  align-items: end;
  gap: 24px;
  padding-top: 120px;
  padding-bottom: clamp(56px, 8vh, 96px);
  max-width: 1480px;
}
.hero__title {
  font-size: clamp(3rem, 5.3vw, 6rem);
  line-height: 0.92;
  white-space: nowrap;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}
.hero__left { align-self: center; padding-bottom: 10vh; }
.hero__right { align-self: center; padding-bottom: 10vh; text-align: right; }
.hero__sub {
  margin-top: 22px;
  max-width: 30ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--cream);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(40, 34, 28, 0.7), 0 2px 18px rgba(40, 34, 28, 0.75);
}
.hero__right .hero__sub { margin-left: auto; }
.hero__cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero .line > span { display: block; }

@media (max-width: 820px) {
  .hero { justify-content: flex-end; }
  .hero__media img { object-position: 46% 20%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(40, 34, 28, 0.36) 0%, rgba(40, 34, 28, 0) 22%, rgba(40, 34, 28, 0.4) 44%, rgba(40, 34, 28, 0.72) 70%, rgba(40, 34, 28, 0.85) 92%);
  }
  .hero__inner { grid-template-columns: 1fr; gap: 0; padding-top: 32vh; padding-bottom: 36px; }
  .hero__inner > div:nth-child(2) { display: none; }
  .hero__left, .hero__right { padding-bottom: 0; text-align: left; }
  .hero__right { margin-top: 18px; }
  .hero__left .hero__sub { display: none; }
  .hero__right .hero__sub { margin: 16px 0 0; }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 4rem); }
  .hero__cta { justify-content: flex-start; margin-top: 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Kennzahl-Kacheln (Detailseiten) ---------- */

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 34px;
  min-width: 230px;
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  line-height: 1;
  color: inherit;
  white-space: nowrap;
}
.stat__label {
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--cream-soft);
  max-width: 14ch;
}

@media (max-width: 640px) {
  .stat { flex-direction: column; align-items: flex-start; padding: 22px 20px; min-width: 0; gap: 8px; }
}

/* ---------- Intro / Häuser mit Charakter ---------- */

.intro { padding-bottom: 0; }
.intro__scene { overflow: hidden; }
.intro__head { text-align: center; position: relative; z-index: 2; }
.intro__head h2 { display: inline-block; text-align: left; }
.intro__head h2 .indent { display: block; padding-left: clamp(40px, 12vw, 190px); }
.intro__head .lead { margin: 34px auto 0; text-align: center; color: var(--ink-soft); }

.intro__scene {
  position: relative;
  margin-top: clamp(-40px, -3vw, -10px);
}
.intro__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--sand);
}
/* Dachstein-Panorama in voller Breite, Massiv leicht rechts; läuft unten in die Nacht aus */
.intro__bg img {
  position: absolute;
  top: 0;
  left: -34%;
  width: 150%;
  max-width: none;
  height: auto;
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 66%, transparent 99%);
}
@media (max-width: 900px) {
  .intro__bg img { width: 290%; left: -150%; }
}
.intro__bg::before,
.intro__bg::after {
  content: "";
  position: absolute; left: 0; right: 0; z-index: 1;
}
/* Papier geht in Dunst über, die Gipfel tauchen daraus auf */
.intro__bg::before {
  top: 0; height: clamp(150px, 17vw, 280px);
  background: linear-gradient(180deg, var(--paper) 10%, rgba(230, 220, 197, 0.7) 40%, rgba(230, 220, 197, 0.22) 72%, rgba(230, 220, 197, 0) 100%);
}
.intro__bg::after { bottom: 0; height: 30%; background: linear-gradient(0deg, var(--sand) 4%, rgba(17, 20, 16, 0)); }

.note-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding-top: clamp(260px, 29vw, 440px);
  padding-bottom: clamp(30px, 3vw, 50px);
  gap: 30px;
  align-items: start;
}
.note {
  position: relative;
  padding: 64px 36px 38px;
  background: var(--wood);
  color: var(--ink);
  box-shadow: 0 26px 50px -22px rgba(59, 52, 44, 0.45);
}
.note__tab {
  position: absolute;
  top: -18px; left: 30px;
  width: 64px; height: 44px;
  display: grid; place-items: center;
  background: var(--copper);
  color: #fff8f1;
  font-size: 1.5rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.note h3 { margin-bottom: 18px; }
.note p { margin: 0; color: var(--cream-soft); font-size: 0.98rem; }
/* Vier Karten, versetzt in zwei Reihen */
.note:nth-child(1) { grid-column: 1 / span 5; margin-top: 56px; }
.note:nth-child(2) { grid-column: 7 / span 5; }
.note:nth-child(3) { grid-column: 2 / span 5; margin-top: 30px; }
.note:nth-child(4) { grid-column: 8 / span 5; margin-top: 90px; }

@media (max-width: 900px) {
  .intro__scene { min-height: 0; }
  .note-grid { grid-template-columns: 1fr; padding-top: 300px; gap: 34px; }
  .note:nth-child(n) { grid-column: 1; margin-top: 0; }
  .note:nth-child(2), .note:nth-child(4) { margin-left: 8%; }
}

/* ---------- Apartments ---------- */

.apts__head { max-width: 760px; margin-bottom: clamp(70px, 8vw, 110px); }
.apts__head .lead { margin-top: 26px; }

.apt {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.apt + .apt { margin-top: clamp(90px, 10vw, 150px); }
.apt--rev { grid-template-columns: 1fr 1.15fr; }
.apt--rev .apt__media { order: 2; }

.carousel { position: relative; }
.carousel__viewport {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wood);
}
.carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}
.carousel__slide.is-active { opacity: 1; transform: scale(1); }
.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--cream-soft);
}
.carousel__nav button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--cream-faint);
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.carousel__nav button:hover { border-color: var(--copper-hi); background: rgba(176, 96, 37, 0.1); }

.apt__body h3 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 0.98; }
.apt__meta { display: flex; align-items: center; gap: 16px; margin: 14px 0 26px; flex-wrap: wrap; }
.apt__body p { color: var(--cream-soft); max-width: 52ch; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 36px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}
.facts li { display: flex; flex-direction: column; }
.facts b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.facts span { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--cream-soft); }

.apt__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--cream-faint);
}
.price { display: flex; align-items: baseline; gap: 8px; }
.price small { font-size: 0.82rem; color: var(--cream-soft); letter-spacing: 0.06em; }
.price b { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--copper-ink); }

.apt-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  margin-top: clamp(100px, 11vw, 160px);
}
.apt-card { display: flex; flex-direction: column; }
.apt-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--wood); }
.apt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.apt-card:hover .apt-card__media img { transform: scale(1.05); }
.apt-card__body { padding-top: 34px; display: flex; flex-direction: column; flex: 1; }
.apt-card__body h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.apt-card__body p { color: var(--cream-soft); margin-top: 14px; }
.apt-card .facts { margin: 12px 0 28px; }
.apt-card .apt__foot { margin-top: auto; }

@media (max-width: 900px) {
  .apt, .apt--rev { grid-template-columns: 1fr; }
  .apt--rev .apt__media { order: 0; }
  .apt-pair { grid-template-columns: 1fr; gap: 80px; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
}

/* ---------- Einblicke: dunkle Galerie-Bühne ---------- */

.insight {
  --cream-soft: rgba(247, 245, 239, 0.72);
  --cream-faint: rgba(247, 245, 239, 0.18);
  background: var(--dark);
  color: var(--cream);
}
/* Sandkante der Apartments hängt in die dunkle Fläche */
.insight::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: clamp(20px, 2.6vw, 40px);
  z-index: 3;
  pointer-events: none;
  background: url("../img/torn-down-sand.svg") center / max(100%, 1200px) 100% no-repeat;
}
.insight__head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: 28px 60px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.insight__head h2 { color: var(--cream); margin-top: 18px; }
.insight .kicker { color: var(--copper-light); }
.insight__head .lead { margin: 0; }

.show__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.show__tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.show__tab {
  position: relative;
  padding: 10px 0;
  background: none; border: 0;
  color: var(--cream-soft);
  font: 600 0.78rem/1 var(--f-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}
.show__tab::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--copper-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.show__tab:hover { color: var(--cream); }
.show__tab[aria-pressed="true"] { color: var(--cream); }
.show__tab[aria-pressed="true"]::after { transform: scaleX(1); }
.show__tab:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 4px; }

.show__count {
  display: flex; align-items: center; gap: 14px;
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--cream-soft);
  font-variant-numeric: tabular-nums;
}
.show__count [data-show-cur] { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--copper-light); line-height: 1; }
.show__sep { width: 44px; height: 1px; background: var(--cream-faint); }

.show__stage { aspect-ratio: 16 / 9; }
.show__frames { position: absolute; inset: 0; overflow: hidden; background: #2f2923; }
.show__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.show__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.07);
  transition: transform 9s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.show__slide.is-active { opacity: 1; z-index: 1; }
.show__slide.is-active img { transform: scale(1); }
/* Verlauf für die Bildunterschrift */
.show__frames::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 42%;
  z-index: 2;
  background: linear-gradient(to top, rgba(33, 28, 23, 0.72), rgba(33, 28, 23, 0));
  pointer-events: none;
}

.show__cap {
  position: absolute; left: clamp(22px, 3vw, 44px); bottom: clamp(24px, 3vw, 42px); z-index: 3;
  display: grid; gap: 8px;
  margin: 0; max-width: 70%;
  color: var(--cream);
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  line-height: 1.1;
  text-transform: uppercase;
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.show__cap.is-out { opacity: 0; transform: translateY(10px); }
.show__cat {
  font: 600 0.72rem/1 var(--f-body);
  letter-spacing: 0.24em;
  color: var(--copper-light);
}

.show__arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-top: -28px;
  background: rgba(33, 28, 23, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 245, 239, 0.28);
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s, background-color 0.3s, border-color 0.3s;
}
.show__arrow--prev { left: clamp(14px, 2vw, 28px); }
.show__arrow--next { right: clamp(14px, 2vw, 28px); }
.show__stage:hover .show__arrow,
.show__arrow:focus-visible { opacity: 1; }
.show__arrow:hover { background: rgba(176, 96, 37, 0.55); border-color: var(--copper-light); }
.show__arrow:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
@media (hover: none) { .show__arrow { opacity: 1; } }

.show__progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 2px;
  background: rgba(247, 245, 239, 0.14);
}
.show__progress i { display: block; height: 100%; width: 0; background: var(--copper-light); }

.show__thumbs {
  display: flex; gap: 12px;
  margin-top: 34px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 245, 239, 0.25) transparent;
}
.show__thumb {
  flex: 0 0 auto;
  width: clamp(92px, 9vw, 128px);
  aspect-ratio: 4 / 3;
  padding: 0;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.4s, border-color 0.4s;
}
.show__thumb img { width: 100%; height: 100%; object-fit: cover; }
.show__thumb:hover { opacity: 0.8; }
.show__thumb.is-active { opacity: 1; border-color: var(--copper-light); }
.show__thumb:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }

@media (max-width: 900px) {
  .insight__head { grid-template-columns: 1fr; }
  .show__bar { flex-direction: column; align-items: flex-start; }
  .show__tabs { gap: 4px 20px; }
  .show__stage { aspect-ratio: 4 / 3; }
  .show__arrow { width: 44px; height: 44px; margin-top: -22px; }
  .show__cap { max-width: 78%; }
}
@media (max-width: 640px) {
  .show__bar { gap: 14px; margin-bottom: 22px; }
  .show__tabs { flex-wrap: nowrap; gap: 18px; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .show__tab { flex: 0 0 auto; font-size: 0.72rem; letter-spacing: 0.16em; }
  /* Pfeile oben rechts, damit die Bildunterschrift frei bleibt */
  .show__arrow { top: 14px; margin-top: 0; width: 40px; height: 40px; font-size: 1rem; }
  .show__arrow--prev { left: auto; right: 62px; }
  .show__arrow--next { right: 14px; }
  .show__cap { max-width: none; right: 22px; }
  .show__thumbs { margin-top: 24px; }
}

/* ---------- Wellness ---------- */

.wellness__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.wellness__media { aspect-ratio: 4 / 5; }
.wellness__media .img-wrap { position: absolute; inset: 0; overflow: hidden; }
.slides__track { position: absolute; inset: 0 0 auto; height: 115%; will-change: transform; }
.slides__track img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease-out;
}
.slides__track img.is-active { opacity: 1; transform: scale(1); }
.slides__nav {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 6px;
  background: rgba(59, 52, 44, 0.55);
  backdrop-filter: blur(6px);
  color: var(--paper);
}
.slides__btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; color: inherit;
  font-size: 1.05rem; cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}
.slides__btn:hover { color: var(--copper-light); background: rgba(247, 245, 239, 0.08); }
.slides__btn:focus-visible { outline: 2px solid var(--copper-light); outline-offset: -2px; }
.slides__dots { display: flex; gap: 8px; }
.slides__dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(247, 245, 239, 0.4);
  transition: background-color 0.4s, transform 0.4s;
}
.slides__dots i.is-active { background: var(--copper-light); transform: scale(1.25); }
.wellness__body .lead { margin-top: 26px; color: var(--ink-soft); }

.saunas { list-style: none; margin: 44px 0 30px; padding: 0; display: grid; gap: 0; }
.sauna {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
}
.sauna + .sauna { border-top: 1px solid rgba(59, 52, 44, 0.16); }
.sauna__temp {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--copper-ink);
}
.sauna h3 { font-size: 1.35rem; margin-bottom: 4px; }
.sauna p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.wellness__note {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.92rem; color: var(--ink-soft);
  padding: 18px 20px;
  background: var(--paper-2);
}
.wellness__note i { color: var(--copper-ink); font-size: 1.3rem; margin-top: 1px; }

@media (max-width: 900px) {
  .wellness__grid { grid-template-columns: 1fr; }
  .wellness__media { aspect-ratio: 4 / 3.4; }
}

/* ---------- Region ---------- */

.region__head { display: grid; gap: 24px; max-width: 760px; margin-bottom: 64px; }
.seasons {
  display: flex;
  gap: 18px;
  height: clamp(520px, 62vw, 700px);
}
.season {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: flex-grow 0.9s var(--ease);
  background: var(--wood);
}
.season img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.season::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40, 34, 28, 0) 40%, rgba(40, 34, 28, 0.78) 100%);
}
.season__body { position: relative; z-index: 1; padding: clamp(26px, 3vw, 44px); max-width: 520px; }
.season__body h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.season__body p { margin: 16px 0 0; color: var(--cream-soft); }
.season__more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s var(--ease), opacity 0.6s;
}
@media (hover: hover) and (min-width: 901px) {
  .seasons:hover .season { flex-grow: 0.75; }
  .seasons .season:hover { flex-grow: 1.35; }
  .season:hover img { transform: scale(1.04); }
  .season:hover .season__more,
  .season:focus-within .season__more { max-height: 260px; opacity: 1; }
}
@media (hover: none), (max-width: 900px) {
  .season__more { max-height: none; opacity: 1; }
}
.season__more ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; font-size: 0.95rem; }
.season__more li { display: flex; gap: 10px; align-items: center; }
.season__more i { color: var(--copper-hi); }

.sommercard {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 44px;
  align-items: center;
  padding: 44px 54px;
  background: var(--wood);
}
.sommercard h3 { font-size: 1.5rem; margin-bottom: 8px; }
.sommercard p { margin: 0; color: var(--cream-soft); max-width: 60ch; }

@media (max-width: 900px) {
  .seasons { flex-direction: column; height: auto; }
  /* Liste ist hier immer offen: Karte höher, damit oben Bild bleibt, Verlauf unter dem ganzen Text */
  .season { min-height: 600px; }
  .season::after {
    background: linear-gradient(180deg, rgba(40, 34, 28, 0) 22%, rgba(40, 34, 28, 0.7) 44%, rgba(40, 34, 28, 0.88) 65%, rgba(40, 34, 28, 0.92) 100%);
  }
  .season__body { text-shadow: 0 1px 12px rgba(30, 25, 20, 0.55); }
  .season__body p { color: var(--cream); }
  .sommercard { grid-template-columns: 1fr; padding: 36px 28px; }
}

/* ---------- Gut zu wissen ---------- */

.info__head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.info__head .lead { margin: 24px auto 0; color: var(--ink-soft); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.info-tile {
  position: relative;
  padding: 36px 34px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-tile > i { font-size: 1.9rem; color: var(--copper-ink); }
.info-tile h3 { font-size: 1.3rem; color: var(--ink); }
.info-tile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-soft); font-size: 0.96rem; }
.info-tile--dark { background: var(--wood); color: var(--cream); }
.info-tile--dark h3 { color: var(--cream); }
.info-tile--dark ul { color: var(--cream-soft); }
.info-tile--dark > i { color: var(--copper-hi); }
.info-tile--img { padding: 0; overflow: hidden; min-height: 280px; }
.info-tile--img img { width: 100%; height: 100%; object-fit: cover; }
.info-tile .big { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--copper-ink); }
.info-tile--dark .big { color: var(--copper-hi); }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-3 { grid-column: span 3; }
.span-6 { grid-column: span 6; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid > * { grid-column: span 1 !important; }
  .info-grid > .wide-sm { grid-column: 1 / -1 !important; }
}
@media (max-width: 600px) {
  .info-grid { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; }
}

/* ---------- Anfrage ---------- */

.inquiry {
  position: relative;
  /* Karte startet unterhalb der Ziegenköpfe (Bild 3000x1116) */
  padding-block: calc(var(--pano-h) * 0.9) clamp(80px, 9vw, 130px);
  --pano-w: 100vw;
  --pano-h: calc(var(--pano-w) * 1116 / 3000);
  overflow: hidden;
  isolation: isolate;
  background: var(--sand);
  --torn: var(--sand);
}
.inquiry.torn-top { overflow: visible; }
.inquiry__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Ziegen-Panorama als Band oben, läuft nach unten in die Nacht aus */
.inquiry__bg img {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--pano-w);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 76%, transparent 100%);
}
@media (max-width: 900px) {
  .inquiry { --pano-w: 260vw; }
  .inquiry__bg img { left: 40%; }
}
.inquiry__layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 720px) 1fr;
}
.inquiry__card {
  grid-column: 2;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(48px, 6vw, 76px) clamp(26px, 6vw, 72px) clamp(40px, 5vw, 60px);
  box-shadow: 0 40px 80px -30px rgba(59, 52, 44, 0.35);
}
.inquiry__card h2 { color: var(--copper-ink); text-align: center; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.inquiry__card .intro-text { text-align: center; color: var(--ink-soft); margin: 18px auto 40px; max-width: 46ch; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 252, 244, 0.55);
  border: 0;
  border-bottom: 1.5px solid rgba(59, 52, 44, 0.45);
  padding: 12px 12px;
  border-radius: 0;
  transition: border-color 0.3s, background-color 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--copper-ink); background: rgba(255, 252, 244, 0.9); }
.field input::placeholder, .field textarea::placeholder { color: #6d6857; }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); }
.field .error { font-size: 0.82rem; color: #9b2a14; font-weight: 600; min-height: 0; }
.field.is-invalid input,
.field.is-invalid select { border-color: #9b2a14; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; accent-color: var(--copper-ink); margin-top: 2px; flex: none; }
.check a { color: var(--ink); }
.form__actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 10px; }
.form__error { color: #9b2a14; font-weight: 600; font-size: 0.92rem; text-align: center; margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.form__alt { font-size: 0.92rem; color: var(--ink-soft); }
.form__alt a { color: var(--ink); font-weight: 600; }
.form__success {
  display: grid; justify-items: center; text-align: center; gap: 14px;
  padding: 20px 0 10px;
}
.form__success i { font-size: 2.6rem; color: var(--copper-ink); }
.form__success h3 { color: var(--ink); }
.form__success p { color: var(--ink-soft); max-width: 44ch; margin: 0; }

.contact-row {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 16px 40px;
  flex-wrap: wrap;
  margin-top: 44px;
  color: var(--cream-soft);
  font-size: 0.96rem;
}
.contact-row a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.contact-row a:hover { color: var(--cream); }
.contact-row i { color: var(--copper-ink); font-size: 1.2rem; }

@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
  .inquiry__layout { grid-template-columns: 0 1fr 0; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--dark);
  color: var(--cream-soft);
  padding-block: 80px 34px;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 { margin: 0 0 16px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); }
.footer .brand { margin-bottom: 20px; color: var(--cream); }
.footer__partner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 30px;
  border-top: 1px solid var(--cream-faint);
}
.footer__partner-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--copper-light);
}
.footer__partner-logo {
  --cut: 8px;
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  background: #fff;
  transition: transform 0.4s var(--ease);
}
.footer__partner-logo img { height: 40px; width: auto; }
.footer__partner-logo:hover { transform: translateY(-2px); }
.footer__partner-logo:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
.footer__bottom {
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid var(--cream-faint);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__credit a { color: var(--cream); }

/* ==========================================================================
   Detailseiten
   ========================================================================== */

.dhero {
  position: relative;
  padding-top: 150px;
  padding-bottom: clamp(90px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.dhero__bg { position: absolute; inset: 0; z-index: -1; opacity: 0.32; }
.dhero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px); }
.dhero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 20, 16, 0.4), var(--sand) 92%); }
.dhero__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-soft); margin-bottom: 34px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.dhero h1 { font-size: clamp(3rem, 6.4vw, 6rem); line-height: 0.92; }
.dhero .stars { display: block; margin: 18px 0 26px; }
.dhero .lead { color: var(--cream-soft); }
.dhero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.dhero__media { aspect-ratio: 5 / 4; }
.dhero__media .img-wrap { position: absolute; inset: 0; overflow: hidden; }
.dhero__media img { width: 100%; height: 100%; object-fit: cover; }

.dfacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(60px, 7vw, 100px);
}
.dfacts .stat { justify-content: center; min-width: 0; padding: 22px 18px; }
@media (max-width: 900px) {
  .dhero__grid { grid-template-columns: 1fr; }
  .dfacts { grid-template-columns: 1fr 1fr; }
  .dfacts .stat { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.about__grid h2 { margin-bottom: 30px; }
.about__text p { color: var(--ink-soft); }
.equip { display: grid; gap: 30px; }
.equip__group h3 { font-size: 1.2rem; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.equip__group h3 i { color: var(--copper-ink); font-size: 1.5rem; }
.equip__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.equip__group li { padding: 8px 14px; background: var(--sand); font-size: 0.92rem; color: var(--ink); }
.family-note {
  margin-top: 36px; padding: 24px 26px;
  background: var(--wood); color: var(--cream);
  display: flex; gap: 16px; align-items: flex-start;
}
.family-note i { color: var(--copper-hi); font-size: 1.6rem; }
.family-note p { margin: 0; color: var(--cream-soft); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* Preise */
.prices__head { max-width: 760px; margin-bottom: 56px; }
.prices__head .lead { margin-top: 22px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab {
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--cream-faint);
  cursor: pointer;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream-soft);
  transition: all 0.3s var(--ease);
}
.tab[aria-selected="true"] { background: var(--copper); color: #fff8f1; border-color: var(--copper); }
.tab:not([aria-selected="true"]):hover { border-color: var(--cream-soft); color: var(--cream); }
.cat__meta { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-bottom: 28px; color: var(--cream-soft); }
.cat__meta span { display: inline-flex; gap: 8px; align-items: center; }
.cat__meta i { color: var(--copper-ink); }
.season-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sprice {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--wood);
  display: flex; flex-direction: column; gap: 6px;
}
.sprice__name { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-soft); font-weight: 600; }
.sprice__dates { font-size: 0.95rem; color: var(--cream); }
.sprice__val { font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: var(--copper-hi); margin-top: auto; padding-top: 16px; }
.sprice__val small { font-family: var(--f-body); font-size: 0.8rem; color: var(--cream-soft); margin-left: 4px; }
.sprice--peak { background: var(--wood-2); box-shadow: inset 0 0 0 1px rgba(222, 138, 79, 0.5); }
.sprice--peak .sprice__name { color: var(--copper-hi); }
.price-notes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px; padding-top: 30px;
  border-top: 1px solid var(--cream-faint);
  font-size: 0.92rem; color: var(--cream-soft);
}
.price-notes div { display: flex; gap: 12px; }
.price-notes i { color: var(--copper-ink); font-size: 1.3rem; flex: none; }
.price-notes strong { color: var(--cream); font-weight: 600; }
@media (max-width: 1000px) { .season-row { grid-template-columns: repeat(2, 1fr); } .season-row .sprice:last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .price-notes { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .season-row { grid-template-columns: 1fr; } }

/* Galerie */
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 50px; }
.gallery {
  columns: 3 280px;
  column-gap: 16px;
}
.gallery button {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: var(--paper-2);
  cursor: zoom-in;
  overflow: hidden;
  break-inside: avoid;
}
.gallery img { width: 100%; height: auto; transition: transform 1s var(--ease), filter 0.6s; }
.gallery button:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(43, 37, 31, 0.97);
  color: var(--ink);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(43, 37, 31, 0.92); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; object-fit: contain; }
.lightbox__btn {
  position: absolute;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: rgba(238, 229, 205, 0.08);
  border: 1px solid var(--cream-faint);
  cursor: pointer; font-size: 1.4rem;
}
.lightbox__btn:hover { border-color: var(--copper-hi); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 0.9rem; letter-spacing: 0.12em; color: var(--cream-soft); }

/* Weitere Häuser */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.other { text-decoration: none; display: block; }
.other__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wood); }
.other__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.other:hover .other__media img { transform: scale(1.05); }
.other h3 { margin-top: 22px; font-size: 1.6rem; }
.other p { margin: 6px 0 0; color: var(--cream-soft); font-size: 0.94rem; }
@media (max-width: 900px) { .others { grid-template-columns: 1fr; } }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin: 0 auto; }
.cta-band .lead { margin: 24px auto 36px; color: var(--ink-soft); }
.cta-band__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(59, 52, 44, 0.5); }
.cta-band .btn--ghost:hover { background: rgba(59, 52, 44, 0.06); }

/* ---------- Reveal-Grundzustand (nur mit JS + Motion) ---------- */

.js-motion [data-reveal] { opacity: 0; transform: translateY(34px); }
.js-motion [data-reveal="fade"] { transform: none; }
.js-motion [data-clip] { clip-path: inset(0 0 100% 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .fog { display: none; }
}

/* ==========================================================================
   Impressum & Datenschutz
   ========================================================================== */

.lhero {
  padding-top: 150px;
  padding-bottom: clamp(70px, 8vw, 110px);
  background: var(--sand);
}
.lhero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 0.95; }
.lhero .lead { margin-top: 24px; max-width: 58ch; }
.notfound__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.legal {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.4fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.legal__aside { position: sticky; top: 110px; display: grid; gap: 28px; justify-items: start; }
.legal__card { background: var(--wood); color: var(--cream); padding: 30px 30px 26px; width: 100%; }
.legal__card .brand__name { display: block; font-size: 1.4rem; margin-bottom: 16px; }
.legal__card p { margin: 0 0 12px; color: var(--cream-soft); font-size: 0.95rem; line-height: 1.6; }
.legal__card a { text-decoration: none; }
.legal__card a:hover { color: var(--cream); }
.legal-wrap .link-arrow { color: var(--ink); }

.legal__body { max-width: 72ch; color: var(--ink-soft); }
.legal__body a { color: var(--copper-ink); text-underline-offset: 3px; }
.legal__block + .legal__block { margin-top: 44px; padding-top: 40px; border-top: 1px solid rgba(59, 52, 44, 0.14); }
.legal__block h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.1; color: var(--ink); margin-bottom: 16px; }
.legal__block p { margin: 0 0 14px; }
.legal__block h3 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 28px 0 12px; }
.legal__block h2 + h3 { margin-top: 0; }
.legal__num { color: var(--copper-ink); font-weight: 600; margin-right: 4px; font-variant-numeric: tabular-nums; }
.legal__items { margin: 0 0 16px; padding-left: 1.2em; }
.legal__items li { margin-bottom: 8px; }
.legal__items li::marker { color: var(--copper-ink); }

.legal__list { margin: 0; display: grid; }
.legal__list > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 2fr;
  gap: 8px 32px;
  padding: 20px 0;
}
.legal__list > div + div { border-top: 1px solid rgba(59, 52, 44, 0.14); }
.legal__list dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); padding-top: 3px; }
.legal__list dd { margin: 0; color: var(--ink-soft); }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__aside { position: static; order: 2; }
  .legal__list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   Helles Grundthema: dunkle Inseln
   Fotoflächen, Taupe-Karten, Header und Footer tragen helle Schrift.
   Sie stellen --cream-soft / --cream-faint auf helle Werte um.
   ========================================================================== */

.header,
.mobile-menu,
.hero,
.dhero,
.lhero,
.note,
.season,
.sommercard,
.info-tile--dark,
.sprice,
.legal__card,
.family-note,
.footer,
.lightbox {
  --cream-soft: rgba(247, 245, 239, 0.76);
  --cream-faint: rgba(247, 245, 239, 0.2);
  color: var(--cream);
}

.header.is-solid { box-shadow: 0 1px 0 rgba(247, 245, 239, 0.14); }
.mobile-menu { background: var(--dark); }
.dhero .stars,
.lhero .stars { color: var(--copper-hi); }
.note__tab { color: #fff8f1; }

/* Heller Geisterbutton über Fotos (Hero) */
.btn--ghost-light {
  --bg: transparent;
  --fg: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(247, 245, 239, 0.5);
  clip-path: none;
}
.btn--ghost-light:hover { background: rgba(247, 245, 239, 0.14); }

/* Kopfbereiche der Unterseiten: warmes Dunkelbraun statt Schwarz */
.dhero { background: var(--dark); }
.dhero__bg { opacity: 0.42; }
.dhero__bg::after { background: linear-gradient(180deg, rgba(59, 52, 44, 0.45), var(--dark) 94%); }
.lhero { background: linear-gradient(180deg, #443c33, var(--dark)); }

/* Dachstein-Band läuft in die Sandfläche aus */
.intro__bg { background: var(--sand); }
.intro__bg::after { background: linear-gradient(0deg, var(--sand) 4%, rgba(232, 227, 214, 0)); }
.inquiry__bg { background: var(--sand); }

.price-notes strong { color: var(--ink); }
.tab:not([aria-selected="true"]):hover { color: var(--ink); }
.gallery button { background: var(--sand-2); }
.carousel__viewport,
.apt-card__media,
.other__media,
.season { background: var(--wood); }

/* Kupfer auf dunklen Flächen muss heller sein */
.sprice__val,
.sprice--peak .sprice__name,
.info-tile--dark > i,
.info-tile--dark .big,
.season__more i,
.family-note i,
.footer .copper,
.lightbox__btn:hover { color: var(--copper-light); }
.lightbox__btn:hover { border-color: var(--copper-light); }
.sprice--peak { box-shadow: inset 0 0 0 1px rgba(237, 168, 111, 0.5); }
