/* ============================================================
   IBIZA CASA XLVIII · Porto Colom · Mallorca
   Tier-1 capital GmbH — Corporate Design
   Farben: Mint #36dfb5 · Türkis #00c5cd · Lime #a7e76f
           Dunkelgrün #044131 · Tinte #021612 · Papier #f7f9f6
   ============================================================ */

:root {
  --mint: #36dfb5;
  --cyan: #00c5cd;
  --lime: #a7e76f;
  --deep: #044131;
  --ink: #021612;
  --paper: #f7f9f6;
  --grey: #f3f4f6;
  --text: #1d2b27;
  --muted: #5d6f69;
  --white: #ffffff;
  --maxw: 1280px;
  --radius: 18px;
  --shadow: 0 30px 80px -20px rgba(2, 22, 18, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--mint); color: var(--ink); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity .8s var(--ease), visibility .8s;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader img { width: 150px; opacity: .95; animation: pulse 2.2s ease-in-out infinite; }
#preloader .bar {
  width: 180px; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; border-radius: 2px;
}
#preloader .bar i {
  display: block; height: 100%; width: 40%; background: var(--mint);
  animation: load 1.4s ease-in-out infinite;
}
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes pulse { 0%, 100% { opacity: .95; } 50% { opacity: .55; } }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
header .logo img { height: 44px; transition: height .5s var(--ease); }
header .logo .logo-dark { display: none; }
header.scrolled {
  background: rgba(247, 249, 246, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px clamp(20px, 4vw, 56px);
  box-shadow: 0 1px 0 rgba(2, 22, 18, .07);
}
header.scrolled .logo img { height: 36px; }
header.scrolled .logo .logo-white { display: none; }
header.scrolled .logo .logo-dark { display: block; }
nav { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
nav a {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); opacity: .85; transition: opacity .3s, color .3s;
  position: relative;
}
nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--mint); transition: width .35s var(--ease);
}
nav a:hover { opacity: 1; }
nav a:hover::after { width: 100%; }
header.scrolled nav a { color: var(--ink); }
nav a.cta {
  border: 1px solid var(--mint); color: var(--mint); padding: 10px 22px; border-radius: 99px;
  transition: background .35s, color .35s;
}
nav a.cta:hover { background: var(--mint); color: var(--ink); }
nav a.cta::after { display: none; }
header.scrolled nav a.cta { color: var(--deep); border-color: var(--deep); }
header.scrolled nav a.cta:hover { background: var(--deep); color: var(--white); }
#nav-toggle { display: none; }

/* ---------- Hero ---------- */
#hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  background: var(--ink);
}
#hero .media {
  position: absolute; inset: 0; will-change: transform;
}
#hero video, #hero .media img {
  width: 100%; height: 100%; object-fit: cover;
}
#hero .media img { position: absolute; inset: 0; animation: kenburns 18s var(--ease) infinite alternate; }
@keyframes kenburns { 0% { transform: scale(1); } 100% { transform: scale(1.12); } }
#hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,22,18,.42) 0%, rgba(2,22,18,.06) 38%, rgba(2,22,18,.16) 62%, rgba(2,22,18,.72) 100%);
}
#hero .inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 72px) clamp(72px, 11vh, 130px);
  color: var(--white);
}
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 18px;
}
#hero h1 {
  font-size: clamp(44px, 7.4vw, 110px);
  font-weight: 300; line-height: 1.02; letter-spacing: .01em;
  max-width: 13ch;
}
#hero h1 strong { font-weight: 800; }
#hero .sub {
  margin-top: 22px; font-size: clamp(15px, 1.4vw, 19px); font-weight: 400;
  color: rgba(255,255,255,.85); max-width: 56ch;
}
#hero .hero-meta {
  display: flex; gap: clamp(18px, 3vw, 44px); margin-top: 34px; flex-wrap: wrap;
}
#hero .hero-meta span {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 10px;
}
#hero .hero-meta span::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
}
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-hint i {
  width: 1px; height: 44px; background: linear-gradient(180deg, var(--mint), transparent);
  display: block; animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.sound-toggle {
  position: fixed; bottom: 26px; right: 26px; z-index: 920;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(2, 22, 18, .55); backdrop-filter: blur(10px);
  border: 1px solid rgba(54, 223, 181, .5);
  color: var(--mint); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s;
}
.sound-toggle:hover { transform: scale(1.08); background: rgba(4, 65, 49, .8); }
.sound-toggle svg { width: 22px; height: 22px; }
.sound-toggle .on { display: none; }
.sound-toggle.playing .on { display: block; }
.sound-toggle.playing .off { display: none; }
.sound-toggle .eq { position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(54,223,181,.35); opacity: 0; }
.sound-toggle.playing .eq { animation: ripple 1.6s ease-out infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- Allgemeine Sektionen ---------- */
section { position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section-pad { padding: clamp(80px, 12vh, 150px) 0; }

.label {
  font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cyan); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.label::before { content: ''; width: 38px; height: 1px; background: var(--mint); }
.dark .label { color: var(--mint); }

h2 {
  font-size: clamp(32px, 4.6vw, 62px); font-weight: 300; line-height: 1.08;
  color: var(--ink); letter-spacing: -.01em; max-width: 22ch;
}
h2 strong { font-weight: 800; }
.dark h2 { color: var(--white); }
.lead { font-size: clamp(16px, 1.5vw, 20px); color: var(--muted); max-width: 62ch; margin-top: 24px; }
.dark .lead { color: rgba(255,255,255,.72); }

/* Reveal-Animationen */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.reveal-img.in img { transform: scale(1); }
[data-delay="1"] { transition-delay: .12s; }
[data-delay="2"] { transition-delay: .24s; }
[data-delay="3"] { transition-delay: .36s; }
[data-delay="4"] { transition-delay: .48s; }

/* ---------- Scroll-Fortschritt (nach 21st.dev "Scroll Progress") ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 960;
  background: linear-gradient(90deg, var(--cyan), var(--mint), var(--lime));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* ---------- Stats / Intro ---------- */
#intro { background: var(--paper); }
#intro .statement { max-width: 900px; }

/* Text-Reveal beim Scrollen (nach 21st.dev "Text Reveal") */
.tr-track { height: 220vh; }
.tr-sticky {
  position: sticky; top: 0; min-height: 100vh;
  display: flex; align-items: center; width: 100%;
}
[data-words] .w { opacity: .13; transition: opacity .12s linear; }
.static-mode [data-words] .w { opacity: 1 !important; }
@media (max-width: 680px), (prefers-reduced-motion: reduce) {
  .tr-track { height: auto; }
  .tr-sticky { position: static; min-height: 0; display: block; padding: 0; }
  [data-words] .w { opacity: 1; }
}
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: rgba(2,22,18,.08); border-radius: var(--radius); overflow: hidden;
  margin-top: clamp(48px, 7vh, 80px);
  box-shadow: 0 20px 60px -30px rgba(2,22,18,.18);
}
.stat {
  background: var(--white); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .4s;
}
.stat:hover { background: #effaf6; }
.stat b {
  font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; color: var(--deep); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat b small { font-size: .45em; font-weight: 700; color: var(--cyan); margin-left: 4px; }
.stat span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Architektur-Galerie (Panels) ---------- */
#architektur { background: var(--white); }
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px);
  align-items: center; margin-top: clamp(70px, 10vh, 120px);
}
.panel:nth-child(even) .panel-text { order: -1; }
.panel-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  position: relative; aspect-ratio: 4 / 3;
}
.panel-img.tall { aspect-ratio: 3 / 4; }
.panel-img img {
  width: 100%; height: 118%; object-fit: cover; will-change: transform;
}
.panel-text h3 {
  font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; color: var(--ink); line-height: 1.15;
  margin-bottom: 16px;
}
.panel-text p { color: var(--muted); max-width: 46ch; }
.panel-text .num {
  font-size: 76px; font-weight: 200; color: transparent;
  -webkit-text-stroke: 1px rgba(0, 197, 205, .5);
  line-height: 1; margin-bottom: 12px; display: block;
}

/* ---------- Innendesign: Horizontal-Scroll (nach 21st.dev "Horizontal Scroll Carousel") ---------- */
#innendesign { background: var(--white); }
.hs-track { position: relative; }
.hs-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 30px;
  padding: 90px 0 30px;
  box-sizing: border-box;
}
.hs-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  width: 100%;
}
.hs-note { font-size: 14px; color: var(--muted); max-width: 34ch; text-align: right; }
.hs-row {
  display: flex; gap: clamp(16px, 2vw, 28px); align-items: stretch;
  padding: 0 clamp(20px, 4vw, 48px);
  will-change: transform; width: max-content;
}
.hs-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: min(58vh, 560px); flex-shrink: 0;
  box-shadow: 0 26px 60px -28px rgba(2, 22, 18, .35);
  background: var(--grey); cursor: zoom-in;
}
.hs-card img { height: 100%; width: auto; object-fit: cover; display: block; }
.hs-card.tall img { max-width: 38vw; }
.hs-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 22px 18px;
  background: linear-gradient(0deg, rgba(2,22,18,.62), transparent);
  color: var(--white); font-size: 12.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.hs-progress {
  margin: 0 clamp(20px, 4vw, 48px);
  height: 2px; background: rgba(2,22,18,.1); border-radius: 2px; overflow: hidden;
  max-width: 320px;
}
.hs-progress i {
  display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--mint));
  transform-origin: 0 50%; transform: scaleX(0);
}
/* Touch/Mobile-Fallback: nativ horizontal wischen */
.hs-native .hs-track { height: auto !important; }
.hs-native .hs-sticky { position: static; height: auto; padding: clamp(80px, 12vh, 150px) 0 60px; }
.hs-native .hs-row {
  overflow-x: auto; width: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hs-native .hs-row::-webkit-scrollbar { display: none; }
.hs-native .hs-card { scroll-snap-align: center; height: min(52vh, 460px); }
.hs-native .hs-progress { display: none; }
.static-mode .hs-track { height: auto !important; }
.static-mode .hs-sticky { position: static; height: auto; padding: 60px 0; }
@media (max-width: 680px) {
  .hs-head { flex-direction: column; align-items: flex-start; }
  .hs-note { text-align: left; }
  .hs-card { height: 46vh; }
}

/* ---------- Grundrisse ---------- */
#grundrisse { background: var(--paper); }
.plan-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.plan-tabs button {
  font-family: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: transparent; color: var(--muted);
  border: 1px solid rgba(2, 22, 18, .18); border-radius: 99px;
  padding: 11px 20px; cursor: pointer; transition: all .35s var(--ease);
}
.plan-tabs button:hover { border-color: var(--cyan); color: var(--deep); }
.plan-tabs button.active { background: var(--deep); border-color: var(--deep); color: var(--white); }
.plan-stage {
  position: relative; margin-top: 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(2, 22, 18, .08);
  box-shadow: 0 30px 70px -40px rgba(2, 22, 18, .3);
  padding: clamp(16px, 2.5vw, 36px);
}
.plan-stage img { width: 100%; height: auto; border-radius: 6px; }
.plan-stage figcaption {
  padding: 18px 4px 2px; font-size: 13px; letter-spacing: .08em; color: var(--muted);
  text-transform: uppercase; font-weight: 600;
}
.plan-zoom {
  position: absolute; top: 18px; right: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--deep); color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(4, 65, 49, .5);
  transition: transform .3s, background .3s;
}
.plan-zoom:hover { transform: scale(1.1); background: var(--ink); }
.plan-zoom svg { width: 21px; height: 21px; }

/* ---------- 360° Sektion ---------- */
#erlebnis360 { background: var(--ink); color: var(--white); }
#erlebnis360 .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.pano-stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: clamp(420px, 72vh, 760px); background: #06231c;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.6);
}
#panorama { width: 100%; height: 100%; }
.pano-stage .pnlm-container { background: #06231c !important; }
.pano-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5;
  background: rgba(2,22,18,.62); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.92); border: 1px solid rgba(54,223,181,.35);
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: 10px 20px; border-radius: 99px; pointer-events: none;
  display: flex; gap: 10px; align-items: center;
  transition: opacity .6s;
}
.pano-hint.hidden { opacity: 0; }
.pano-hint svg { width: 17px; height: 17px; }
.scene-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.scene-bar button {
  font-family: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: transparent; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.22); border-radius: 99px;
  padding: 11px 20px; cursor: pointer; transition: all .35s var(--ease);
}
.scene-bar button:hover { border-color: var(--mint); color: var(--mint); }
.scene-bar button.active { background: var(--mint); border-color: var(--mint); color: var(--ink); }

/* ---------- Film / Cinematic ---------- */
#film { background: var(--ink); color: var(--white); }
#film .wrap-wide { max-width: 1500px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.film-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: 48px; }
.film-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #06231c; cursor: pointer;
}
.film-card video { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .5s, transform 1.2s var(--ease); }
.film-card:hover video { opacity: 1; transform: scale(1.035); }
.film-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 26px 20px;
  background: linear-gradient(0deg, rgba(2,22,18,.78), transparent);
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
  display: flex; align-items: center; gap: 10px;
}
.film-card .cap::before { content: ''; width: 22px; height: 1px; background: var(--mint); }
.film-card.big { grid-column: span 12; aspect-ratio: 21 / 9; }
.film-card.half { grid-column: span 6; aspect-ratio: 16 / 10; }
.film-card.third { grid-column: span 4; aspect-ratio: 3 / 4; }

/* ---------- Meerzugang (Parallax-Vollbild) ---------- */
.sea-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.sea-video {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 100px -25px rgba(0,0,0,.6);
  aspect-ratio: 9 / 16; max-width: 380px; justify-self: end;
  border: 1px solid rgba(255,255,255,.18);
}
.sea-video video { width: 100%; height: 100%; object-fit: cover; background: url('../img/poster-meer-unterwasser.jpg') center / cover no-repeat; }
.sea-video-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 16px;
  background: linear-gradient(0deg, rgba(2,22,18,.7), transparent);
  color: rgba(255,255,255,.92); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
#meerzugang { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
#meerzugang .bg { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
#meerzugang .bg img { width: 100%; height: 100%; object-fit: cover; }
#meerzugang .tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2,22,18,.78) 0%, rgba(2,22,18,.38) 55%, rgba(2,22,18,.12) 100%); }
#meerzugang .wrap { position: relative; z-index: 2; color: var(--white); }
#meerzugang h2 { color: var(--white); }
#meerzugang .lead { color: rgba(255,255,255,.82); }
.sea-points { display: flex; flex-direction: column; gap: 0; margin-top: 44px; max-width: 560px; }
.sea-points .pt {
  display: flex; gap: 20px; align-items: flex-start; padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.sea-points .pt:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.sea-points .pt svg { width: 26px; height: 26px; color: var(--mint); flex-shrink: 0; margin-top: 2px; }
.sea-points .pt b { display: block; font-size: 16px; font-weight: 700; }
.sea-points .pt span { font-size: 14.5px; color: rgba(255,255,255,.72); }

/* ---------- Ausstattung ---------- */
#ausstattung { background: var(--white); }
.amenity-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(16px, 2vw, 26px); margin-top: 54px;
}
.amenity {
  border: 1px solid rgba(2,22,18,.1); border-radius: var(--radius);
  padding: 30px 26px; background: var(--paper);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
  position: relative; overflow: hidden;
}
.amenity:hover {
  transform: translateY(-6px); border-color: var(--mint);
  box-shadow: 0 24px 50px -24px rgba(4, 65, 49, .35);
}
/* Spotlight-Effekt (nach 21st.dev "Magic/Spotlight Card") */
.amenity::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(54, 223, 181, .16), transparent 65%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.amenity:hover::before { opacity: 1; }
.amenity > * { position: relative; }
.amenity svg { width: 30px; height: 30px; color: var(--cyan); margin-bottom: 18px; }
.amenity b { display: block; font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.amenity span { font-size: 14px; color: var(--muted); }

/* ---------- Porto Colom Fakten ---------- */
#portocolom { background: var(--deep); color: var(--white); overflow: hidden; }
#portocolom .grid2 {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: start;
}
#portocolom .fakten-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.55);
  position: sticky; top: 110px;
}
#portocolom .fakten-img img { width: 100%; height: auto; }
#portocolom .fakten-img figcaption {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55);
  padding: 14px 4px 0;
}
.fact-list { display: flex; flex-direction: column; margin-top: 30px; }
.fact {
  padding: 26px 0; border-top: 1px solid rgba(255,255,255,.14);
  display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: flex-start;
}
.fact:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.fact .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(54,223,181,.1); border: 1px solid rgba(54,223,181,.3);
  display: flex; align-items: center; justify-content: center;
}
.fact .ico svg { width: 22px; height: 22px; color: var(--mint); }
.fact b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.fact p { font-size: 14.5px; color: rgba(255,255,255,.72); max-width: 52ch; }

.distanz-band { margin-top: clamp(60px, 9vh, 100px); }
.distanz-band h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 26px;
}
.distanz-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden;
}
.distanz {
  background: var(--deep); padding: 26px 22px; transition: background .35s;
}
.distanz:hover { background: #055741; }
.distanz b { display: block; font-size: 26px; font-weight: 800; color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums; }
.distanz b small { font-size: .55em; font-weight: 700; color: var(--mint); margin-left: 3px; }
.distanz span { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }

/* ---------- Mosaik-Galerie ---------- */
#galerie { background: var(--paper); }
.mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px);
  margin-top: 54px;
}
.mosaic { perspective: 1200px; }
.mosaic figure {
  position: relative; border-radius: calc(var(--radius) - 4px); overflow: hidden;
  cursor: zoom-in; background: var(--grey);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), box-shadow .35s;
}
/* 3D-Tilt + Glare (nach 21st.dev "3D/Glare Card") */
.mosaic figure.tilting {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.015);
  box-shadow: 0 30px 60px -28px rgba(2, 22, 18, .45);
  transition: box-shadow .35s;
}
.mosaic figure .glare {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.mosaic figure.tilting .glare { opacity: 1; }
.mosaic figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px;
  background: linear-gradient(0deg, rgba(2,22,18,.66), transparent);
  color: var(--white); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s;
}
.mosaic figure:hover figcaption { opacity: 1; transform: none; }
.m-6 { grid-column: span 6; aspect-ratio: 4 / 3; }
.m-4 { grid-column: span 4; aspect-ratio: 3 / 3.4; }
.m-8 { grid-column: span 8; aspect-ratio: 16 / 9.2; }
.m-3 { grid-column: span 3; aspect-ratio: 3 / 4; }
.m-12 { grid-column: span 12; aspect-ratio: 21 / 9; }

/* ---------- Lightbox ---------- */
#lightbox {
  position: fixed; inset: 0; z-index: 990; background: rgba(2, 22, 18, .94);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s;
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox img {
  max-width: 92vw; max-height: 86vh; border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  transform: scale(.94); transition: transform .45s var(--ease);
}
#lightbox.open img { transform: scale(1); }
#lightbox .lb-cap {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
}
#lightbox button {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  transition: background .3s, border-color .3s;
}
#lightbox button:hover { background: rgba(54,223,181,.18); border-color: var(--mint); }
#lightbox .lb-close { top: 26px; right: 26px; }
#lightbox.no-nav .lb-prev, #lightbox.no-nav .lb-next { display: none; }
#lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- Marquee (nach 21st.dev "Marquee / Infinite Slider") ---------- */
.marquee {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden; padding: 30px 0; position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 38px; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 14px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.55); white-space: nowrap;
}
.marquee-track i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.static-mode .marquee-track, .static-mode .btn-solid::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .mosaic figure.tilting { transform: none; }
}

/* ---------- Kontakt / CTA ---------- */
#kontakt { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
#kontakt .glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(54,223,181,.16), transparent 65%);
  top: -260px; right: -160px; pointer-events: none;
}
#kontakt .inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
#kontakt h2 { color: var(--white); margin: 0 auto; }
#kontakt .lead { margin-left: auto; margin-right: auto; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 38px; border-radius: 99px; transition: all .35s var(--ease);
}
.btn-solid { background: var(--mint); color: var(--ink); position: relative; overflow: hidden; }
.btn-solid:hover { background: var(--lime); transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(54,223,181,.5); }
/* Glanz-Sweep (nach 21st.dev "Shiny Button") */
.btn-solid::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes shine { 0% { left: -80%; } 38% { left: 130%; } 100% { left: 130%; } }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-3px); }
#kontakt .contact-meta {
  margin-top: 54px; display: flex; gap: clamp(24px, 5vw, 70px); justify-content: center; flex-wrap: wrap;
  color: rgba(255,255,255,.72); font-size: 15px;
}
#kontakt .contact-meta b { color: var(--white); display: block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 6px; color: var(--mint); }

footer {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.1);
  padding: 34px clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: rgba(255,255,255,.55); font-size: 13.5px;
}
footer img { height: 30px; opacity: .9; }
footer .links { display: flex; gap: 26px; }
footer a { transition: color .3s; }
footer a:hover { color: var(--mint); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .panel { grid-template-columns: 1fr; }
  .panel:nth-child(even) .panel-text { order: 0; }
  #portocolom .grid2 { grid-template-columns: 1fr; }
  #portocolom .fakten-img { position: relative; top: 0; }
  .film-card.half { grid-column: span 12; }
  .film-card.third { grid-column: span 4; }
  .sea-grid { grid-template-columns: 1fr; }
  .sea-video { justify-self: start; max-width: 320px; }
  .m-6, .m-4, .m-8, .m-3 { grid-column: span 6; }
}
@media (max-width: 680px) {
  nav { display: none; }
  nav.open {
    display: flex; position: fixed; inset: 0; background: rgba(2,22,18,.96);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  }
  nav.open a { color: var(--white) !important; font-size: 17px; }
  #nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
    z-index: 950; padding: 8px;
  }
  #nav-toggle i { width: 26px; height: 2px; background: currentColor; display: block; transition: all .35s; border-radius: 2px; }
  header #nav-toggle { color: var(--white); }
  header.scrolled #nav-toggle { color: var(--ink); }
  body.nav-open #nav-toggle { color: var(--white) !important; }
  body.nav-open #nav-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open #nav-toggle i:nth-child(2) { opacity: 0; }
  body.nav-open #nav-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .m-6, .m-4, .m-8, .m-3, .m-12 { grid-column: span 12; aspect-ratio: 4 / 3; }
  .film-card.third { grid-column: span 12; aspect-ratio: 3 / 4; }
  .stat { padding: 26px 20px; }
  #hero .hero-meta { gap: 14px; }
  .pano-stage { height: 70vh; }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img img { transition: none; opacity: 1; transform: none; }
  #hero .media img { animation: none; }
}

/* Statischer Modus (?static=1) — für Tests/Screenshots */
.static-mode { scroll-behavior: auto; }
.static-mode .reveal, .static-mode .reveal-img { opacity: 1 !important; transform: none !important; transition: none !important; }
.static-mode .reveal-img img { transform: none !important; transition: none !important; }
.static-mode #hero .media img { animation: none; }
.static-mode #preloader { display: none; }
.static-mode #hero { height: 860px; min-height: 0; }
.static-mode #meerzugang { min-height: 900px; }
.static-mode .pano-stage { height: 700px; }
.static-mode .tr-track { height: auto; }
.static-mode .tr-sticky { position: static; min-height: 0; display: block; }
