  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, video, svg { max-width: 100%; display: block; }
  button { cursor: pointer; font: inherit; border: none; background: none; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  input, select, textarea { font: inherit; }

  :root {
    --navy:     #1a1a2e;
    --navy-2:   #0f0f1e;
    --navy-3:   #16213e;
    --gold:     #c9a84c;
    --gold-l:   #e8d49a;
    --cream:    #f8f5ee;
    --text-1:   #1a1a2e;
    --text-2:   #4b5563;
    --text-3:   #9ca3af;
    --bg-0:     #ffffff;
    --bg-1:     #f8f5ee;
    --bg-2:     #f0ece0;
    --border:   rgba(0,0,0,0.09);
    --serif:    'Playfair Display', Georgia, serif;
    --sans:     'Inter', system-ui, -apple-system, sans-serif;
    --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --max-w:    1100px;
    --nav-h:    60px;
    --r:        6px;
    --r-lg:     10px;
  }
  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }
  body {
    font-family: var(--sans);
    color: var(--text-1);
    background: var(--bg-0);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip; /* clip statt hidden: sonst bleibt die Navigation auf dem Handy nicht oben kleben */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  html { overflow-x: hidden; overflow-x: clip; scroll-padding-top: 68px; }
  @media (max-width: 1024px) { html { scroll-padding-top: 120px; } }
  h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
  }

/* ═══════════════════════════════════════════
   VIEW TRANSITIONS
═══════════════════════════════════════════ */
  .skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:9999;background:#fff;color:#000;padding:8px 16px;font-size:14px;font-weight:600;border-radius:4px;text-decoration:none}
  .skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;overflow:visible;box-shadow:0 2px 12px rgba(0,0,0,.2)}
  ::view-transition-old(root) { animation: 380ms var(--ease) both vt-out; }
  ::view-transition-new(root) { animation: 380ms var(--ease) 80ms both vt-in; }
  @keyframes vt-out { to   { opacity: 0; transform: scale(0.97); } }
  @keyframes vt-in  { from { opacity: 0; transform: scale(1.03); } }

/* ═══════════════════════════════════════════
   WEICHE – Split Screen Landing
═══════════════════════════════════════════ */
.weiche {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 20;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

html[data-view="vermietung"] .weiche,
html[data-view="loge"] .weiche,
html[data-view="impressum"] .weiche,
html[data-view="datenschutz"] .weiche {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}
.weiche { display: none; }
.page-l { display: none !important; }
.p-back { display: none; }

/* Mobile: stacked */
@media (max-width: 639px) {
  .weiche { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
}

.w-half {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  overflow: hidden;
  cursor: pointer;
  outline-offset: -3px;
  /* smooth hover expand only on desktop */
  transition: flex 0.55s var(--ease);
  flex: 1;
}

@media (min-width: 640px) {
  .w-half:hover { flex: 1.18; }
  .w-half:focus-visible { outline: 2px solid var(--gold); }
}

/* Parallax bg image */
.w-half::before {
  content: '';
  position: absolute;
  inset: -8%;
  background: var(--bg-img) center/cover no-repeat;
  opacity: 0.18;
  transition: opacity 0.4s var(--ease), transform 0.7s var(--ease);
  will-change: transform;
}

.w-half:hover::before {
  opacity: 0.26;
  transform: scale(1.06);
}

.w-v {
  background: var(--navy-2);
  --bg-img: url('https://www.freimaurer-wilhelmshaven.de/s/cc_images/teaserbox_11867307.jpg');
}

.w-l {
  background: #0c0b1a;
  --bg-img: url('https://www.freimaurer-wilhelmshaven.de/s/cc_images/teaserbox_11867307.jpg');
}

/* Vertical gold rule between halves (desktop) */
.w-rule {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.35) 30%, rgba(201,168,76,0.35) 70%, transparent);
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 639px) {
  .w-rule { left: 0; right: 0; top: 50%; bottom: auto; width: 100%; height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.35) 30%, rgba(201,168,76,0.35) 70%, transparent); }
}

/* Center emblem */
.w-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.w-emblem {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 50%;
  background: rgba(15,15,30,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.w-emblem svg { width: 28px; height: 28px; }

.w-title-small {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  background: rgba(15,15,30,0.7);
  padding: 4px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* Half content */
/* Logo wrapper on Weiche halves */
.w-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.w-wzsa-img {
  height: clamp(52px, 9vw, 72px);
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(201,168,76,0.3)) brightness(1.08);
  border-radius: 2px;
}
.w-logo-name {
  font-family: var(--serif);
  font-size: clamp(10px, 1.5vw, 13px);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

.w-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.w-heading {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.w-heading em { font-style: italic; color: var(--gold); }

.w-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  text-align: center;
  max-width: 230px;
  position: relative;
  z-index: 1;
  font-weight: 300;
  line-height: 1.5;
}

.w-cta {
  margin-top: 1.5rem;
  padding: 11px 26px;
  border: 1px solid rgba(201,168,76,0.4);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r);
  position: relative;
  z-index: 1;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.w-half:hover .w-cta, .w-half:focus-visible .w-cta {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══════════════════════════════════════════
   PAGES – base
═══════════════════════════════════════════ */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.5s var(--ease-out) 0.18s, transform 0.5s var(--ease-out) 0.18s;
}

html[data-view="vermietung"] .page-v,
html[data-view="loge"]       .page-l,
html[data-view="impressum"]  .page-legal.page-impressum,
html[data-view="datenschutz"] .page-legal.page-datenschutz {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

/* Shared nav */
.p-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.p-nav-v {
  background: rgba(255,255,255,0.92);
  border-bottom: 0.5px solid var(--border);
}

.p-nav-l {
  background: rgba(12,11,26,0.92);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.p-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  min-height: 44px;
  padding: 0 4px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.p-back:hover { opacity: 0.55; }
.p-nav-v .p-back { color: var(--text-2); }
.p-nav-l .p-back { color: rgba(255,255,255,0.5); }

.p-nav-brand {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  /* hide on very small screens */
}
@media (max-width: 400px) { .p-nav-brand { display: none; } }
.p-nav-v .p-nav-brand { color: var(--navy); }
.p-nav-l .p-nav-brand { color: var(--gold); }

.p-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r);
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.p-nav-v .p-nav-cta { background: var(--navy); color: var(--gold); }
.p-nav-v .p-nav-cta:hover { background: var(--navy-3); }
.p-nav-l .p-nav-cta { background: var(--gold); color: var(--navy); }
.p-nav-l .p-nav-cta:hover { background: var(--gold-l); }

/* Shared helpers */
.kicker {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.section-eye { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.section-rule { width: 34px; height: 2px; background: var(--gold); margin: 10px 0 1rem; }
.section-lead { font-size: 16px; color: var(--text-2); max-width: 560px; font-weight: 300; }

.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2.5rem); }
.sec  { padding-block: clamp(3rem, 8vw, 5rem); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.20s; }

/* Buttons */
.btn-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy);
  padding: 13px 28px; font-size: 14px; font-weight: 500;
  border-radius: var(--r); border: none; min-height: 48px;
  transition: background 0.2s; white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-l); }

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: rgba(255,255,255,0.8);
  padding: 12px 28px; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--r); min-height: 48px;
  transition: border-color 0.2s, color 0.2s; white-space: nowrap;
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--gold);
  padding: 12px 28px; font-size: 13px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: var(--r); min-height: 48px;
  transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn-ghost-gold:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }

/* ═══════════════════════════════════════════
   LOGOS
═══════════════════════════════════════════ */

/* Vermietung nav – Haus der Freundschaft wordmark */
.hdf-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.hdf-logo svg { flex-shrink: 0; }
.hdf-logo-text {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.hdf-logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-style: normal;
}

/* Loge nav – WzSA logo */
.wzsa-nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.wzsa-nav-logo img {
  height: 34px; width: auto;
  filter: brightness(1.05) drop-shadow(0 0 5px rgba(201,168,76,0.25));
}
.wzsa-nav-logo span {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
@media (max-width: 400px) { .wzsa-nav-logo span { display: none; } }

/* Loge hero logo */
.l-logo-wrap {
  margin-bottom: 2rem;
  display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 1;
}
.l-logo-wrap img {
  width: clamp(90px, 16vw, 130px);
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(201,168,76,0.35)) brightness(1.08);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   VERMIETUNG PAGE
═══════════════════════════════════════════ */

/* Hero */
.v-hero {
  background: var(--navy);
  min-height: min(70vh, 580px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 2.5rem);
}
.v-hero-bg {
  position: absolute; inset: 0;
  background: url('/assets/img/kaisersaal_hero.jpg') center/cover;
  opacity: 0.38;
}
.v-hero-content { position: relative; z-index: 1; max-width: 620px; }
.v-hero h1 { font-size: clamp(2rem, 5.5vw, 3rem); color: #fff; margin-bottom: 1rem; }
.v-hero h1 em { color: var(--gold-l); font-style: italic; }
.v-hero p  { color: rgba(255,255,255,0.5); font-size: 16px; font-weight: 300; margin-bottom: 2rem; }
.v-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Kennzahlen-Bar */
.v-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  background: var(--navy-2);
  gap: 1px;
  background-color: rgba(201,168,76,0.12);
}
.v-stat {
  background: var(--navy-2);
  padding: 1.2rem 1rem;
  text-align: center;
}
.v-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--gold);
  font-weight: 400;
}
.v-stat span {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Räume */
.raeume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.5rem);
}

.raum-card {
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-0);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.raum-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.raum-img {
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: rgba(201,168,76,0.35);
  font-family: var(--serif);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
}

.raum-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.raum-body h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.raum-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 12px; color: var(--text-3); margin-bottom: 0.75rem;
}
.raum-desc { font-size: 14px; color: var(--text-2); font-weight: 300; flex: 1; margin-bottom: 1rem; line-height: 1.6; }
.raum-desc p { margin: 0 0 .6em; } .raum-desc p:last-child { margin-bottom: 0; }
[style*="border-left:2px solid rgba(201,168,76,.45)"] p { margin: 0; }
.raum-preis { font-size: 13px; color: var(--navy); font-weight: 500; padding-top: 0.75rem; border-top: 0.5px solid var(--border); }

/* ── Galerie-Button auf Raumkarte ── */
.raum-img { position: relative; }
.raum-gallery-btn {
  position: absolute; bottom: .75rem; right: .75rem;
  background: rgba(8,8,18,.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,.35); color: var(--gold);
  font-size: .74rem; font-family: var(--sans); font-weight: 500;
  letter-spacing: .07em; padding: .38rem 1rem;
  border-radius: 4px; cursor: pointer;
  display: flex; align-items: center; gap: .5rem;
  transition: background .2s, border-color .2s, transform .15s;
}
.raum-gallery-btn:hover {
  background: rgba(201,168,76,.14); border-color: var(--gold);
  transform: translateY(-1px);
}
.raum-gallery-btn .gal-cnt {
  background: rgba(201,168,76,.22); padding: 0 .38rem;
  border-radius: 3px; font-size: .68rem;
}

/* ── Galerie-Overlay ── */
.gal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: #070710;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity .28s;
}
.gal-overlay.open { opacity: 1; pointer-events: auto; }
.gal-topbar {
  flex-shrink: 0; height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  gap: 1rem;
}
.gal-topbar-info { min-width: 0; }
.gal-topbar-title { font-family: var(--serif); font-size: 1.05rem; color: rgba(255,255,255,.92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-topbar-sub { font-size: .72rem; color: rgba(255,255,255,.35); margin-top: 2px; letter-spacing: .04em; }
.gal-close-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14); background: transparent; cursor: pointer;
  color: rgba(255,255,255,.65); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.gal-close-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.gal-main {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #0a0a16;
}
.gal-hero {
  max-width: 100%; max-height: 100%; object-fit: contain;
  display: block; user-select: none;
  transition: opacity .18s;
}
.gal-hero-ph {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .9rem;
  color: rgba(201,168,76,.22); font-family: var(--sans);
  width: 100%; height: 100%;
}
.gal-hero-ph svg { opacity: .55; }
.gal-hero-ph .ph-label {
  font-size: 1rem; color: rgba(255,255,255,.25);
  letter-spacing: .1em; text-transform: uppercase;
}
.gal-hero-ph .ph-note {
  font-size: .75rem; color: rgba(255,255,255,.13);
  letter-spacing: .08em;
}
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(8,8,24,.55); backdrop-filter: blur(8px);
  cursor: pointer; color: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; z-index: 10;
  transition: background .18s, border-color .18s, transform .13s;
}
.gal-arrow:hover {
  background: rgba(201,168,76,.13); border-color: rgba(201,168,76,.45);
  transform: translateY(-50%) scale(1.06);
}
.gal-arrow:disabled { opacity: .18; cursor: default; pointer-events: none; }
.gal-arrow-prev { left: 1.25rem; }
.gal-arrow-next { right: 1.25rem; }
.gal-counter {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  font-size: .72rem; color: rgba(255,255,255,.35);
  font-family: var(--sans); letter-spacing: .1em;
  background: rgba(8,8,24,.65); backdrop-filter: blur(8px);
  padding: .28rem .85rem; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.06); white-space: nowrap;
}
.gal-thumbs-wrap {
  flex-shrink: 0; height: 90px;
  background: rgba(0,0,0,.5); border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; gap: 6px;
  padding: 0 1.5rem; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin; scrollbar-color: rgba(201,168,76,.3) transparent;
}
.gal-thumbs-wrap::-webkit-scrollbar { height: 3px; }
.gal-thumbs-wrap::-webkit-scrollbar-thumb { background: rgba(201,168,76,.3); border-radius: 2px; }
.gal-thumb {
  flex-shrink: 0; width: 118px; height: 68px; border-radius: 4px;
  overflow: hidden; border: 2px solid transparent; cursor: pointer;
  opacity: .45; transition: border-color .18s, opacity .18s;
  position: relative;
}
.gal-thumb.active { border-color: var(--gold); opacity: 1; }
.gal-thumb:hover { opacity: .82; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gal-thumb.is-ph {
  background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 3px; color: rgba(255,255,255,.18);
}
.gal-thumb.is-ph span { font-size: 8.5px; letter-spacing: .04em; text-align: center; padding: 0 4px; line-height: 1.3; }
@media (max-width: 640px) {
  .gal-arrow { width: 38px; height: 38px; font-size: 1rem; }
  .gal-arrow-prev { left: .5rem; }
  .gal-arrow-next { right: .5rem; }
  .gal-thumbs-wrap { height: 70px; }
  .gal-thumb { width: 90px; height: 52px; }
}

/* Preise */
/* ── Veranstaltungsrechner ── */
.v-calc-sec { background: var(--navy); }
.v-calc-sec .section-eye { color: var(--gold); }
.v-calc-sec .section-rule { background: var(--gold); }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 2.5rem);
}
@media (max-width: 720px) { .calc-grid { grid-template-columns: 1fr; } }

.calc-block { margin-bottom: 1.5rem; }
.calc-block-label {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}

/* Room tabs */
.room-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.rtab {
  padding: 8px 14px; font-size: 13px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  min-height: 40px;
}
.rtab:hover { border-color: rgba(201,168,76,0.4); color: rgba(255,255,255,0.8); }
.rtab.active { background: rgba(201,168,76,0.12); border-color: var(--gold); color: var(--gold); }
.rtab-pkg { border-style: dashed; }
.rtab-pkg.active { border-style: solid; }
.calc-room-hint { font-size: 12px; color: rgba(255,255,255,0.28); margin-top: 8px; font-style: italic; min-height: 18px; }

/* Range slider */
.calc-range {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--gold) var(--pct, 43%), rgba(255,255,255,0.1) var(--pct, 43%));
  outline: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2); cursor: pointer;
}
.calc-range::-moz-range-thumb {
  width: 18px; height: 18px; border: none;
  border-radius: 50%; background: var(--gold); cursor: pointer;
}
.calc-num { font-family: var(--serif); font-size: 1.3rem; color: #fff; }

/* Services */
.svc-list { display: flex; flex-direction: column; gap: 6px; }
.svc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.svc-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.svc-item.on { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.3); }
.svc-tog {
  width: 36px; height: 20px; border-radius: 10px;
  background: rgba(255,255,255,0.1); flex-shrink: 0;
  position: relative; transition: background 0.2s;
}
.svc-tog::after {
  content: ''; position: absolute; left: 2px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.3);
  transition: transform 0.2s, background 0.2s;
}
.svc-item.on .svc-tog { background: var(--gold); }
.svc-item.on .svc-tog::after { transform: translateX(16px); background: var(--navy); }
.svc-name { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 400; }
.svc-price { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 1px; }
.svc-item-catering { cursor: default; }
.svc-item-catering:hover { background: transparent; }
.svc-item-catering.on { cursor: pointer; }
.svc-subopts { margin-top: .6rem; display: flex; flex-direction: column; gap: 2px; }
.svc-subopt {
  display: flex; justify-content: space-between; align-items: center;
  padding: .32rem .55rem; border-radius: 4px; cursor: pointer;
  font-size: .76rem; color: rgba(255,255,255,.4);
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.svc-subopt:hover { background: rgba(201,168,76,.08); color: rgba(255,255,255,.75); }
.svc-subopt.active {
  background: rgba(201,168,76,.14); border-color: rgba(201,168,76,.4);
  color: rgba(255,255,255,.9);
}
.svc-subopt-price { font-weight: 600; color: rgba(201,168,76,.55); white-space: nowrap; margin-left: .5rem; }
.svc-subopt.active .svc-subopt-price { color: var(--gold); }

/* Result box */
.calc-result-wrap { position: sticky; top: calc(var(--nav-h) + 1rem); }
.calc-result {
  background: #fff; border-radius: var(--r-lg); padding: 1.75rem;
}
.calc-result-label {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.calc-breakdown { display: flex; flex-direction: column; gap: 6px; min-height: 40px; }
.calc-brow { display: flex; justify-content: space-between; font-size: 13px; }
.calc-brow span:first-child { color: var(--text-2); }
.calc-brow span:last-child { color: var(--text-1); font-weight: 500; }
.calc-divider { height: 1px; background: var(--border); margin: .75rem 0; }
.calc-total-row { display: flex; justify-content: space-between; align-items: baseline; }
.calc-total-row > span:first-child { font-size: 13px; color: var(--text-2); }
.calc-total { font-family: var(--serif); font-size: 2rem; color: var(--navy); font-weight: 400; }
.calc-pp { font-size: 12px; color: var(--gold); text-align: right; margin-top: 3px; font-weight: 500; min-height: 18px; }
.calc-note { margin-top: .9rem; padding: .7rem; background: var(--bg-1); border-radius: 5px; font-size: 12px; color: var(--text-2); line-height: 1.6; }

/* Room badges */
.raum-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 2px 8px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
  white-space: nowrap;
}
.raum-badge-blue {
  background: rgba(100,140,220,0.1);
  color: #7ba7e8;
  border-color: rgba(100,140,220,0.25);
}

/* Raeume extras (USPs + Ausstattung) */
.raeume-extras {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.raeume-extras-usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}
.re-usp {
  display: flex; align-items: flex-start; gap: .75rem;
}
.re-usp-icon {
  font-size: 1.1rem; color: var(--gold); flex-shrink: 0;
  margin-top: 1px; line-height: 1;
}
.re-usp strong {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--navy); margin-bottom: 2px;
}
.re-usp span {
  font-size: .78rem; color: var(--text-2); line-height: 1.55;
}
.raeume-extras-note {
  font-size: .82rem; color: var(--text-2); line-height: 1.7;
  background: var(--bg-1); border-left: 3px solid rgba(201,168,76,.4);
  border-radius: 0 6px 6px 0; padding: .9rem 1.2rem;
}
.raeume-extras-note strong { color: var(--text-1); }

.preise-bg { background: var(--bg-1); }

.preise-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-0);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 0.5px solid var(--border);
  margin-top: clamp(2rem, 4vw, 2.5rem);
}
.preise-table thead th {
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 400;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.preise-table td {
  padding: 0.9rem 1.25rem;
  border-top: 0.5px solid var(--border);
  color: var(--text-1);
  vertical-align: middle;
}
.preise-table tr:hover td { background: var(--bg-1); }

/* mobile table scroll */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }

/* Highlights / USPs */
.usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.5rem);
}
.usp {
  padding: 1.25rem;
  background: var(--bg-1);
  border-radius: var(--r-lg);
  border: 0.5px solid var(--border);
}
.usp-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; font-family: var(--serif); }
.usp h3 { font-family: var(--serif); font-size: 1rem; color: var(--navy); margin-bottom: 4px; font-weight: 400; }
.usp p { font-size: 13px; color: var(--text-2); font-weight: 300; line-height: 1.55; }

/* Kontakt dark */
.v-kontakt-bg { background: var(--navy); }

.v-kontakt-inner { max-width: 660px; margin-inline: auto; }
.v-kontakt-inner .kicker { border-color: rgba(201,168,76,0.25); color: var(--gold-l); }
.v-kontakt-inner h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.75rem; }
.v-kontakt-inner > p { color: rgba(255,255,255,0.45); margin-bottom: 2rem; font-weight: 300; }

.form-grid { display: grid; gap: 1rem; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.fld label {
  display: block; font-size: 11px;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 6px;
}
.fld input, .fld select, .fld textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 11px 14px;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s;
  min-height: 48px;
}
.fld input::placeholder, .fld textarea::placeholder { color: rgba(255,255,255,0.18); }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none;
  border-color: rgba(201,168,76,0.55);
  background: rgba(255,255,255,0.07);
}
.fld select { appearance: none; }
.fld textarea { resize: vertical; min-height: 110px; }

/* ── Floating Sidebar Nav ── */
.v-sidenav {
  position: fixed;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  background: rgba(10,10,22,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: .45rem .3rem;
}
[data-view="vermietung"] .v-sidenav { opacity: 1; pointer-events: auto; }
@media (max-width: 1024px) { .v-sidenav { display: none; } }

.v-sidenav a {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: rgba(255,255,255,.35);
  font-size: .72rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .32rem .6rem .32rem .4rem;
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.v-sidenav a:hover { color: rgba(255,255,255,.7); border-left-color: rgba(201,168,76,.4); }
.v-sidenav a.active { color: var(--gold); border-left-color: var(--gold); }
.v-sidenav a .dot { display: none; }
.v-sidenav a .label { opacity: 1; transform: none; }

/* Logen-Hinweisbalken */
.loge-hint {
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,.15);
  text-align: center;
  padding: .45rem 1rem;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}
.loge-hint a { color: var(--gold); text-decoration: none; }
.loge-hint a:hover { text-decoration: underline; }

.v-footer {
  padding: 1.5rem clamp(1rem, 5vw, 2.5rem);
  border-top: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 12px; color: var(--text-3);
}

/* ═══════════════════════════════════════════
   LOGE PAGE
═══════════════════════════════════════════ */
.page-l { background: var(--navy-2); color: #fff; }
.page-l .section-lead { color: rgba(255,255,255,0.4); }

.l-hero {
  min-height: min(72vh, 600px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 2.5rem);
  background: var(--navy);
}

.l-ornament {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.045; pointer-events: none;
}
.l-ornament svg { width: min(85vw, 520px); height: auto; fill: none; stroke: var(--gold); }

.l-hero-content { position: relative; z-index: 1; max-width: 580px; }
.l-hero .kicker { border-color: rgba(201,168,76,0.22); color: var(--gold-l); }
.l-hero h1 { font-size: clamp(2rem, 5.5vw, 3rem); color: #fff; margin-bottom: 1rem; }
.l-hero h1 em { color: var(--gold); font-style: italic; }
.l-hero p { color: rgba(255,255,255,0.45); font-size: 16px; font-weight: 300; max-width: 440px; margin-inline: auto; }

/* Loge sections */
.l-sec { padding-block: clamp(3rem, 8vw, 5rem); }
.l-sec .section-eye { color: var(--gold); }
.l-sec h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 4px; }
.l-sec .section-rule { background: var(--gold); }
.l-sec-border { border-top: 0.5px solid rgba(255,255,255,0.05); }

/* Gästeabend */
.l-gasteabend {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 639px) {
  .l-gasteabend { grid-template-columns: 1fr; }
}
.l-ga-date-block {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  min-width: 160px;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.l-ga-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.l-ga-date {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  color: #fff;
  line-height: 1.2;
  font-weight: 400;
}
.l-ga-weekday {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.l-ga-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 4px;
  font-weight: 400;
}

/* Werte */
.l-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.5rem);
}
.l-value {
  padding: 1.5rem;
  border: 0.5px solid rgba(201,168,76,0.1);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s, background 0.25s;
}
.l-value:hover { border-color: rgba(201,168,76,0.25); background: rgba(255,255,255,0.03); }
.l-value-sym { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; line-height: 1; }
.l-value h3 { font-family: var(--serif); font-size: 1.05rem; color: #fff; margin-bottom: 6px; font-weight: 400; }
.l-value p { font-size: 13px; color: rgba(255,255,255,0.38); font-weight: 300; line-height: 1.6; }

/* Timeline */
.l-timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: clamp(2rem, 4vw, 2.5rem);
}
.l-timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.25) 15%, rgba(201,168,76,0.25) 85%, transparent);
}
.tl-item {
  position: relative;
  margin-bottom: 1.75rem;
  padding-left: 0.75rem;
}
.tl-item::before {
  content: '';
  position: absolute; left: -2.1rem; top: 5px;
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold); opacity: 0.65;
}
.tl-year { font-size: 11px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 3px; }
.tl-text { font-size: 14px; color: rgba(255,255,255,0.48); font-weight: 300; line-height: 1.6; }
.tl-text strong { color: rgba(255,255,255,0.78); font-weight: 500; }

/* Loge CTA box */
.l-cta-box {
  background: rgba(201,168,76,0.04);
  border: 0.5px solid rgba(201,168,76,0.14);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-top: clamp(2rem, 4vw, 2.5rem);
}
.l-cta-box h3 { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; font-weight: 400; }
.l-cta-box p  { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 1.75rem; font-weight: 300; max-width: 420px; margin-inline: auto; }

.l-footer {
  padding: 1.5rem clamp(1rem, 5vw, 2.5rem);
  border-top: 0.5px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 12px; color: rgba(255,255,255,0.2);
  background: var(--navy-2);
}

/* ══════════════════════════════════════════════
   MOBILE OPTIMIERUNGEN
══════════════════════════════════════════════ */

/* Mobile horizontal section nav */
.mobile-sec-nav {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-sec-nav {
    display: flex;
    overflow-x: auto;
    position: sticky;
    top: var(--nav-h);
    z-index: 45;
    background: rgba(8, 8, 18, 0.97);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 6px;
    flex-shrink: 0;
  }
  .mobile-sec-nav::-webkit-scrollbar { display: none; }
  .mobile-sec-nav a {
    flex-shrink: 0;
    padding: 10px 13px;
    font-size: 11.5px;
    font-family: var(--sans);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    text-transform: uppercase;
  }
  .mobile-sec-nav a:hover { color: rgba(255,255,255,0.8); }
  .mobile-sec-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

  /* Scroll offset for nav + mobile-sec-nav */
  html { scroll-padding-top: 106px; }
}

@media (max-width: 640px) {

  /* 1. Nav-Logo: Text ausblenden → verhindert Overflow */
  .hdf-logo-text { display: none; }

  /* 2. Nav-CTA: etwas schmaler */
  .p-nav-cta { padding: 9px 13px; font-size: 12px; }

  /* 3. Zurück-Button kleiner */
  .p-back { font-size: 12px; padding: 0 2px; }

  /* 4. Calc-Result: kein sticky auf schmalen Screens */
  .calc-result-wrap { position: static; }

  /* 5. Section-Padding */
  .sec { padding-block: clamp(2.5rem, 7vw, 3.5rem); }

  /* 6. Hero-Buttons: Spalte statt Zeile */
  .v-hero-btns { flex-direction: column; align-items: center; gap: 10px; }
  .v-hero-btns .btn-gold,
  .v-hero-btns .btn-ghost-light {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* 7. Room tabs */
  .rtab { font-size: 12px; padding: 7px 11px; }

  /* 8. Formular: font-size ≥ 16px verhindert iOS-Auto-Zoom */
  .fld input, .fld select, .fld textarea { font-size: 16px; }

  /* 9. Preistabelle: etwas weniger Padding */
  .preise-table thead th,
  .preise-table td { padding: 0.7rem 0.85rem; }

  /* 10. Footer der Vermietungsseite */
  .v-footer-inner { flex-direction: column; gap: 1rem; }
}




  /* ── Impressum / Datenschutz ──────────────────────────────── */
.legal-wrap {
  max-width: 780px; margin: 0 auto; padding: 60px 24px 80px;
  color: var(--text-1); font-size: .93rem; line-height: 1.75;
}
.legal-wrap h1 { font-size: 1.9rem; color: var(--navy); margin-bottom: 6px; }
.legal-wrap h2 {
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  margin: 2.2rem 0 .4rem; border-bottom: 2px solid var(--gold);
  padding-bottom: .25rem;
}
.legal-wrap h3 { font-size: .95rem; font-weight: 700; margin: 1.2rem 0 .2rem; }
.legal-wrap p  { margin: .5rem 0; }
.legal-wrap ul { padding-left: 1.4rem; margin: .4rem 0; }
.legal-wrap li { margin: .2rem 0; }
.legal-wrap a  { color: var(--gold); }
.legal-wrap .legal-meta {
  font-size: .8rem; color: var(--text-3); margin-bottom: 2rem;
}
.legal-back {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold); font-size: .85rem; cursor: pointer;
  background: none; border: none; padding: 0; margin-bottom: 2rem;
  font-family: inherit;
}
.legal-back:hover { text-decoration: underline; }
.legal-placeholder {
  background: #fff3cd; border: 1px solid #ffc107;
  padding: 2px 6px; border-radius: 3px; font-weight: 700;
  font-size: .85em; color: #856404;
}
.legal-footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  text-align: center; padding: 16px 20px; font-size: .78rem;
}
.legal-footer a { color: var(--gold); text-decoration: none; }
