/* ==========================================================================
   Terezia Appartements – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --ink: #16323f;
  --ink-2: #24495a;
  --ink-soft: #4f6670;
  --sun: #f3b33d;
  --sun-deep: #d99418;
  --cream: #f7f3ec;
  --sand: #efe7da;
  --paper: #fffdf9;
  --line: rgba(22, 50, 63, .12);
  --shadow-sm: 0 1px 2px rgba(22, 50, 63, .06), 0 4px 14px rgba(22, 50, 63, .06);
  --shadow-md: 0 2px 6px rgba(22, 50, 63, .06), 0 18px 40px -12px rgba(22, 50, 63, .22);
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --header-h: 76px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "opsz" 72; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: .6em 1em; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

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

/* ---------- Typo-Helfer ---------- */
.kicker { font: 700 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--sun-deep); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .7em; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--light { color: var(--sun); }
.h-display { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.h-small { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.65; color: var(--ink-2); }
.lead--center { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.lead--rich strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, rgba(243, 179, 61, .35) 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-2); box-shadow: var(--shadow-md); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #f6c25e; box-shadow: 0 12px 30px -10px rgba(243, 179, 61, .7); }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow svg { width: 1.1em; height: 1.1em; fill: currentColor; transition: transform .3s var(--ease); }
a:hover > .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(247, 243, 236, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.site-header.is-overlay { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.is-overlay::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10, 25, 32, .55), transparent); pointer-events: none; transition: opacity .35s; }
.site-header.is-scrolled { position: fixed; inset: 0 0 auto 0; background: rgba(247, 243, 236, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); color: var(--ink); box-shadow: 0 6px 30px -18px rgba(22, 50, 63, .5); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
body:not(.is-home):not(.is-legal):not(.is-apt) main { margin-top: 0; }

.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { position: relative; display: block; width: 136px; flex: none; }
.brand-logo { width: 100%; height: auto; transition: opacity .3s; }
.brand-logo--color { position: absolute; inset: 0; opacity: 0; }
.site-header:not(.is-overlay) .brand-logo--light, .site-header.is-scrolled .brand-logo--light { opacity: 0; }
.site-header:not(.is-overlay) .brand-logo--color, .site-header.is-scrolled .brand-logo--color { opacity: 1; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list a { display: block; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55em .85em; border-radius: 999px; transition: background .2s, color .2s; }
.nav-list > li > a:hover, .nav-list > li.is-active > a, .nav-list > li > a[aria-current="page"] { background: rgba(127, 127, 127, .14); }
.nav-list > li > a[aria-current="page"], .nav-list > li.is-active > a { box-shadow: inset 0 -2px 0 var(--sun); border-radius: 999px 999px 999px 999px; }
.sub-toggle { display: none; }
.sub {
  list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 8px); left: 50%; min-width: 230px;
  background: var(--paper); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { border-radius: 9px; font-weight: 600; padding: .6em .9em; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--cream); }
.sub a[aria-current="page"] { color: var(--sun-deep); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid currentColor; border-color: rgba(127, 127, 127, .4); }
.lang-switch a { text-decoration: none; font: 700 .78rem/1 var(--font-body); letter-spacing: .06em; padding: .55em .75em; border-radius: 999px; opacity: .75; transition: background .2s, opacity .2s, color .2s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { background: var(--sun); color: var(--ink); opacity: 1; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; z-index: 3; }
.menu-toggle__bars { position: absolute; left: 12px; right: 12px; top: 50%; height: 14px; transform: translateY(-50%); }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 66px; }
  .brand { width: 112px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 2; margin: 0; padding: calc(var(--header-h) + 16px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: var(--cream); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; gap: 1.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .site-header { color: var(--ink); background: var(--cream); }
  .menu-open .site-header::before { opacity: 0; }
  .menu-open .brand-logo--light { opacity: 0; }
  .menu-open .brand-logo--color { opacity: 1; }
  .header-actions { position: relative; z-index: 3; margin-left: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav-list > li > a { font: 500 1.6rem/1.2 var(--font-display); padding: .55em 0; border-radius: 0; background: none !important; box-shadow: none !important; }
  .nav-list > li > a[aria-current="page"] { color: var(--sun-deep); }
  .menu-open .nav-list > li { animation: navIn .5s var(--ease) both; }
  .menu-open .nav-list > li:nth-child(2) { animation-delay: .04s; }
  .menu-open .nav-list > li:nth-child(3) { animation-delay: .08s; }
  .menu-open .nav-list > li:nth-child(4) { animation-delay: .12s; }
  .menu-open .nav-list > li:nth-child(5) { animation-delay: .16s; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: rgba(22, 50, 63, .06); border-radius: 50%; cursor: pointer; }
  .sub-toggle span { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
  .sub-toggle[aria-expanded="true"] span { transform: translateY(2px) rotate(-135deg); }
  .sub { grid-column: 1 / -1; position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 .25rem; min-width: 0; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { transform: none; }
  .sub > li { overflow: hidden; min-height: 0; }
  .sub { display: block; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s; }
  .has-sub.is-open > .sub { max-height: 420px; padding-bottom: .75rem; }
  .sub a { font-size: 1.05rem; padding: .55em .5em; }
  .nav-mobile-extra { display: grid; gap: .6rem; margin-top: auto; }
  .nav-mobile-extra .btn { width: 100%; font-size: .95rem; }
  .nav-mobile-extra .btn span { overflow-wrap: anywhere; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__slides, .hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.12); transform-origin: var(--pos, 50% 50%); }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.0) translate3d(0, -1%, 0); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 32, .2) 0%, rgba(10, 25, 32, 0) 30%, rgba(10, 25, 32, .25) 55%, rgba(10, 25, 32, .78) 100%); }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(88px, 14vh, 140px); }
.hero__title { margin: 0 0 1rem; }
.hero__title img { width: clamp(240px, 46vw, 520px); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .35)); animation: rise 1.1s var(--ease) .1s both; }
.hero__tagline { font: 500 clamp(1rem, .9rem + .5vw, 1.25rem)/1.4 var(--font-body); letter-spacing: .08em; margin: 0 0 2rem; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); animation: rise 1.1s var(--ease) .25s both; }
.hero__content .kicker { animation: rise 1s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; animation: rise 1.1s var(--ease) .4s both; }
.hero__cta .btn svg { width: 1.1em; }
.hero__dots { position: absolute; right: var(--gutter); bottom: clamp(36px, 6vh, 60px); display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .4); cursor: pointer; position: relative; overflow: hidden; }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots button[aria-selected="true"]::after { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 640px) {
  .hero__scroll { display: none; }
  .hero__dots { left: var(--gutter); right: auto; bottom: 28px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Unterseiten-Hero
   ========================================================================== */
.page-hero { position: relative; min-height: clamp(380px, 62vh, 620px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); }
.page-hero--small { min-height: clamp(320px, 46vh, 460px); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 32, .45) 0%, rgba(10, 25, 32, .05) 35%, rgba(10, 25, 32, .75) 100%); }
.page-hero__content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 7vw, 72px); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.25rem); max-width: 16ch; margin: 0; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); animation: rise 1s var(--ease) .1s both; }
.page-hero .kicker { color: var(--sun); animation: rise 1s var(--ease) both; }
.page-hero__lead { max-width: 60ch; margin-top: 1rem; font-size: 1.1rem; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--first { padding-top: clamp(40px, 6vw, 72px); }
.section--tint { background: var(--sand); }
.section-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--left { text-align: left; max-width: 720px; }
.section-head .lead { margin-top: .5rem; }

/* Willkommen */
.welcome__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
.welcome__text p:not(.lead) { color: var(--ink-soft); }
.stack { position: relative; padding-bottom: 22%; }
.stack img { border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; }
.stack__a { width: 88%; aspect-ratio: 4 / 5; }
.stack__b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 6px solid var(--cream); }
@media (max-width: 899px) {
  .welcome__grid { grid-template-columns: 1fr; }
  .welcome__media { max-width: 520px; }
}

/* Fakten */
.facts { list-style: none; padding: 0; margin: clamp(3rem, 7vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 1.6rem 1rem; text-align: center; display: grid; gap: .35rem; align-content: start; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font: 500 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--font-display); color: var(--ink); }
.facts small { font: 700 .9rem var(--font-body); margin-left: .2em; color: var(--sun-deep); }
.facts span { font-size: .9rem; color: var(--ink-soft); line-height: 1.35; }
.facts--compact { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .facts:not(.facts--compact) li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .facts--compact { grid-template-columns: repeat(3, 1fr); }
  .facts--compact li { border-top: 0 !important; }
  .facts--compact li + li { border-left: 1px solid var(--line) !important; }
}

/* Appartement-Karten */
.apt-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(2, 1fr); }
.apt-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .apt-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .apt-grid, .apt-grid--3 { grid-template-columns: 1fr; } }
.apt-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.apt-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.apt-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.apt-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.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.06); }
.apt-card__badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: .4em; padding: .45em .8em; border-radius: 999px; background: rgba(255, 253, 249, .92); backdrop-filter: blur(6px); font: 700 .82rem/1 var(--font-body); color: var(--ink); }
.apt-card__badge svg { width: 1.1em; height: 1.1em; fill: var(--sun-deep); }
.apt-card__body { padding: clamp(1.25rem, 3vw, 1.75rem); display: flex; flex-direction: column; flex: 1; }
.apt-card__floor { font: 700 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); margin-bottom: .6rem; }
.apt-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: .75rem; }
.apt-card__list { list-style: none; margin: 0 0 1.25rem; padding: 0; color: var(--ink-soft); font-size: .97rem; }
.apt-card__list li { position: relative; padding-left: 1.2em; margin-bottom: .3em; line-height: 1.5; }
.apt-card__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.apt-card .link-arrow { margin-top: auto; }

/* Saison-Karten */
.season-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .season-grid { grid-template-columns: 1fr; } }
.season-card { position: relative; display: block; min-height: clamp(360px, 46vw, 520px); border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-sm); }
.season-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.season-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 25, 32, 0) 15%, rgba(10, 25, 32, .55) 50%, rgba(10, 25, 32, .9)); }
.season-card:hover > img { transform: scale(1.06); }
.season-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.5rem, 4vw, 2.5rem); }
.season-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); margin-bottom: 1rem; }
.season-card__icon svg { width: 26px; height: 26px; fill: var(--sun); }
.season-card--winter .season-card__icon svg { fill: #fff; }
.season-card h3 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); margin-bottom: .35rem; }
.season-card p { color: rgba(255, 255, 255, .88); max-width: 46ch; }
.season-card .link-arrow { color: var(--sun); }

/* Region-Links */
.region-links { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .region-links { grid-template-columns: 1fr; } }
.region-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; border-radius: var(--radius-sm); background: var(--paper); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.region-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.region-links__name { font: 500 1.5rem/1.1 var(--font-display); }
.region-links__host { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; color: var(--ink-soft); }
.region-links__host svg { width: 1em; height: 1em; fill: currentColor; }

/* Bildstreifen */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); height: clamp(180px, 26vw, 340px); }
.strip div { overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .strip { grid-template-columns: 1fr 1fr; } .strip div:last-child { display: none; } }

/* Aktivitäten */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: clamp(2.5rem, 6vw, 4rem); }
@media (max-width: 1000px) { .activity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .activity-grid { grid-template-columns: 1fr; } }
.activity { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.activity:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.activity__media { aspect-ratio: 4 / 3; overflow: hidden; }
.activity__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.activity:hover .activity__media img { transform: scale(1.06); }
.activity__body { padding: 1.4rem 1.5rem 1.6rem; }
.activity h2 { font-size: 1.55rem; margin-bottom: .4rem; }
.activity p { color: var(--ink-soft); font-size: .98rem; margin-bottom: .8rem; }
.season-switch { text-align: center; margin: clamp(2.5rem, 6vw, 4rem) 0 0; }

/* Preise */
.price-table { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; padding: 1.4rem 1.5rem; font: 500 1.6rem/1.1 var(--font-display); border-bottom: 1px solid var(--line); }
.price-table th, .price-table td { padding: 1rem 1.25rem; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.price-table thead th { font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); background: var(--cream); }
.price-table thead th a { text-decoration: none; }
.price-table thead th a:hover { color: var(--sun-deep); }
.price-table th:first-child { text-align: left; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody tr { transition: background .2s; }
.price-table tbody tr:hover { background: rgba(243, 179, 61, .08); }
.price-table td { font-weight: 700; font-size: 1.1rem; }
.price-month { display: block; font-weight: 700; }
.price-dates { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 680px) {
  .price-table { background: transparent; box-shadow: none; overflow: visible; }
  .price-table caption { padding: 0 0 1rem; border: 0; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tbody { display: grid; gap: .9rem; }
  .price-table tbody tr { background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
  .price-table tbody th { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; background: var(--ink); color: #fff; padding: .9rem 1.1rem; border: 0; }
  .price-table tbody th .price-dates { color: rgba(255, 255, 255, .75); }
  .price-table td { text-align: left; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
  .price-table td:nth-child(even) { border-right: 1px solid var(--line); }
  .price-table tbody tr td:nth-last-child(-n+2) { border-bottom: 0; }
  .price-table td::before { content: attr(data-label); display: block; font: 700 .7rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .2rem; }
}
.extras { margin-top: clamp(2.5rem, 6vw, 4rem); }
.extras dl { margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.extras dl > div { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.1rem 1.3rem; background: var(--paper); border-radius: var(--radius-sm); border-left: 4px solid var(--sun); }
.extras dt { font-weight: 600; }
.extras dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 560px) { .extras dd { text-align: left; } }
.terms { margin-top: 1.5rem; color: var(--ink-soft); }
.terms a { color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.5rem, 4vw, 2.75rem); }
.contact-card__name { font: 500 clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem)/1.1 var(--font-display); margin-bottom: .5rem; }
.contact-card address { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1.75rem; }
.contact-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contact-actions a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--cream); text-decoration: none; font-weight: 700; transition: background .25s, transform .25s var(--ease); overflow-wrap: anywhere; }
.contact-actions a:hover { background: var(--sand); transform: translateX(4px); }
.contact-actions small { display: block; font: 700 .7rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.ci { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); }
.ci svg { width: 20px; height: 20px; fill: var(--sun); }
.contact-media { border-radius: var(--radius); overflow: hidden; min-height: 300px; box-shadow: var(--shadow-sm); }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }
.map-consent { margin-top: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); overflow: hidden; min-height: 380px; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 30% 20%, rgba(243, 179, 61, .18), transparent 50%), repeating-linear-gradient(45deg, var(--sand) 0 18px, #ebe2d3 18px 36px); }
.map-consent__inner { max-width: 520px; padding: 2rem var(--gutter); }
.map-consent__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); margin-bottom: 1rem; }
.map-consent__icon svg { width: 28px; height: 28px; fill: var(--sun); }
.map-consent p { color: var(--ink-soft); font-size: .95rem; }
.map-consent p a { color: var(--ink); }
.map-consent iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-consent.is-loaded { display: block; }

/* Appartement-Detail */
.is-apt main { padding-top: 0; }
.apt-hero { padding-top: calc(var(--header-h) + 0px); }
.apt-hero__media { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; height: clamp(320px, 62vh, 640px); }
.apt-hero__media button { border: 0; padding: 0; margin: 0; cursor: zoom-in; overflow: hidden; background: var(--ink); display: block; width: 100%; height: 100%; }
.apt-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .3s; }
.apt-hero__media button:hover img { transform: scale(1.04); }
.apt-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; position: relative; min-height: 0; }
.apt-hero__side > button { min-height: 0; }
.apt-hero__all { position: absolute !important; right: 14px; bottom: 14px; width: auto !important; height: auto !important; display: inline-flex !important; align-items: center; gap: .5em; padding: .65em 1em !important; border-radius: 999px; background: rgba(255, 253, 249, .95) !important; color: var(--ink); font: 700 .88rem/1 var(--font-body); box-shadow: var(--shadow-md); cursor: pointer !important; }
.apt-hero__all svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.apt-hero__img { animation: fadeIn .9s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.apt-hero__info { padding-top: clamp(1.75rem, 5vw, 3rem); }
.apt-hero__info h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); margin-bottom: 1rem; animation: rise .9s var(--ease) .1s both; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li { display: inline-flex; align-items: center; gap: .5em; padding: .6em 1em; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .95rem; }
.pill-list svg { width: 1.2em; height: 1.2em; fill: var(--sun-deep); }
@media (max-width: 760px) {
  .apt-hero__media { grid-template-columns: 1fr; height: auto; }
  .apt-hero__img { aspect-ratio: 4 / 3; }
  .apt-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 30vw; min-height: 110px; position: static; }
  .apt-hero__media { position: relative; }
  .apt-hero__all { top: auto; bottom: calc(30vw + 18px) !important; }
}
@media (max-width: 380px) { .apt-hero__all { bottom: 128px !important; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.feature__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; background: var(--sand); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.06); }
.feature__media--empty { display: grid; place-items: center; cursor: default; background: linear-gradient(135deg, var(--ink), var(--ink-2)); }
.feature__media--empty svg { width: 56px; height: 56px; fill: var(--sun); opacity: .9; }
.feature__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .35em; padding: .4em .7em; border-radius: 999px; background: rgba(10, 25, 32, .65); color: #fff; font: 700 .8rem/1 var(--font-body); backdrop-filter: blur(6px); }
.feature__count svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.feature__body { padding: 1.25rem 1.4rem 1.5rem; }
.feature h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.feature p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 18, 24, .96); display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; align-items: center; color: #fff; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { animation: fadeIn .25s ease both; }
.lightbox__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: max(12px, env(safe-area-inset-top)) 16px 8px; font-weight: 700; font-size: .9rem; }
.lightbox__close { width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__stage { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 0 max(20px, env(safe-area-inset-bottom)); min-width: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 6px; transition: opacity .25s, transform .25s; user-select: none; -webkit-user-drag: none; }
.lightbox__stage img.is-swapping { opacity: 0; transform: scale(.98); }
.lightbox__stage figcaption { margin-top: .9rem; font-size: .92rem; color: rgba(255, 255, 255, .78); text-align: center; padding-inline: 16px; }
.lightbox__nav { width: 56px; height: 56px; margin: 0 12px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .lightbox__stage { grid-row: 2; }
  .lightbox__nav { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); margin: 0; width: 50px; height: 50px; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__stage { padding-bottom: 80px; }
  .lightbox__stage img { max-height: calc(100dvh - 200px); border-radius: 0; }
}
body.no-scroll { overflow: hidden; }

/* Rechtstexte */
.legal-head { padding: calc(var(--header-h) + clamp(24px, 6vw, 72px)) 0 0; }
.is-legal .site-header, .is-apt .site-header { position: fixed; inset: 0 0 auto 0; }
.legal-head h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); margin: 0; }
.section--legal { padding-top: clamp(24px, 4vw, 40px); }
.prose { font-size: 1rem; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); margin: 2.2em 0 .6em; }
.prose p { color: var(--ink-2); overflow-wrap: anywhere; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-note { font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }

/* CTA + Footer */
.cta-band { background: var(--sun); color: var(--ink); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); flex-wrap: wrap; }
.cta-band__title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn--sun { background: var(--ink); color: #fff; }
.cta-band .btn--sun:hover { background: var(--ink-2); box-shadow: var(--shadow-md); }
@media (max-width: 560px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } .cta-band__actions .btn span { overflow-wrap: anywhere; } }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: clamp(3rem, 7vw, 5rem) 0 calc(1.5rem + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand img { width: 170px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 34ch; }
.footer-h { font: 700 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: 1rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--sun); }
.site-footer address a { overflow-wrap: anywhere; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-bottom { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* Mobile Schnellzugriff */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(22, 50, 63, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .45);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: .7rem .25rem; color: #fff; text-decoration: none; font: 700 .72rem/1 var(--font-body); letter-spacing: .02em; }
  .quickbar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
  .quickbar svg { width: 20px; height: 20px; fill: var(--sun); }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .menu-open .quickbar, .no-scroll .quickbar { transform: translateY(140%); }
}

/* Scroll-Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
