/* The Lobby 6 – Gestaltung */

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

:root {
  --rot: #721c1c;
  --rot-dunkel: #5a1414;
  --weiss: #fff;
  --linie: rgba(255, 255, 255, .85);
  --linie-leicht: rgba(255, 255, 255, .35);
  --sans: 'Manrope', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 3.4vw, 48px);
  --max: 1500px;
  --sec: clamp(104px, 11vw, 168px); /* ein Abstandsmass für alle Abschnitte */
  --sec-halb: clamp(36px, 4vw, 56px); /* zwischen Titel und Inhalt */
  --sec-liste: clamp(56px, 6.5vw, 96px); /* zwischen Titel und aufklappbarer Liste */
  --ease: cubic-bezier(.19, 1, .22, 1);
  --titel: clamp(40px, 6.96vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--rot); color: var(--weiss);
  font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.5;
  letter-spacing: .07em; text-transform: uppercase;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--weiss); color: var(--rot); }
:focus-visible { outline: 1px solid var(--weiss); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 600; padding: 10px 16px; background: var(--weiss); color: var(--rot); text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

main, .header, .footer, .band { position: relative; z-index: 1; }

/* ---------- Lichtverlauf im Hintergrund ---------- */
.schimmer { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.schimmer span {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, 0) 68%);
  will-change: transform;
}
.schimmer span:nth-child(1) { left: -25vmax; top: -30vmax; animation: wandern-a 38s ease-in-out infinite alternate; }
.schimmer span:nth-child(2) { right: -30vmax; top: 20vh; width: 60vmax; height: 60vmax; animation: wandern-b 46s ease-in-out infinite alternate; }
.schimmer span:nth-child(3) { left: 10vw; bottom: -40vmax; width: 80vmax; height: 80vmax; opacity: .8; animation: wandern-c 54s ease-in-out infinite alternate; }
@keyframes wandern-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(45vw, 25vh, 0) scale(1.15); } 100% { transform: translate3d(70vw, 5vh, 0) scale(.9); } }
@keyframes wandern-b { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-40vw, 30vh, 0) scale(.85); } 100% { transform: translate3d(-65vw, -15vh, 0) scale(1.1); } }
@keyframes wandern-c { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(30vw, -35vh, 0) scale(1.1); } 100% { transform: translate3d(-20vw, -20vh, 0) scale(.95); } }

/* ---------- Intro und Vorhang ---------- */
.intro { display: none; }
.js .intro { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; background: var(--rot); }
/* Intro nur beim allerersten Besuch – nie über dem Vorhang (sonst blitzt es beim Seitenwechsel) */
.curtain-on .intro, .intro-gesehen .intro { display: none; }
.intro__logo { width: clamp(110px, 12vw, 150px); height: auto; color: var(--weiss); }
.curtain { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--rot); pointer-events: none; clip-path: inset(100% 0% 0% 0%); }
.curtain__logo { width: 110px; height: auto; }
.curtain-on .curtain { clip-path: inset(0% 0% 0% 0%); }

/* ---------- Header ---------- */
.header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 32px var(--pad) 0;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 1.1em; padding-top: 22px; }
.nav a, .footer a, .menu a { text-decoration: none; }
.nav a, .lnk {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.logo { display: block; width: clamp(92px, 8.4vw, 121px); }
.logo svg { width: 100%; height: auto; overflow: visible; }
/* Fenster im Logo: leuchten beim Drüberfahren im Takt */
.fenster > * { fill: #fff; opacity: 0; }
.social { display: flex; gap: 14px; justify-content: flex-end; padding-top: 24px; }
.social a { display: block; width: 21px; height: 21px; transition: opacity .3s, transform .5s var(--ease); }
.social a:hover { opacity: .7; transform: translateY(-2px); }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.burger { display: none; }

/* ---------- Grosse Titel ---------- */
.titel {
  font-size: var(--titel); font-weight: 500; line-height: .98; letter-spacing: -.02em;
  text-transform: uppercase; text-align: center;
}
.titel em { font-style: italic; }

/* Optisch mittig: Ober- und Unterlänge abschneiden, damit Grossbuchstaben genau zwischen den Abständen sitzen */
.titel, .footer__titel, .partner__titel, .band__spur span, .band__spur i, .liste__kopf span, .knopf span, .about__text, .hero__unter { text-box: trim-both cap alphabetic; }

/* ---------- Startseite ---------- */
.hero { display: grid; place-items: center; min-height: clamp(380px, 62vh, 620px); padding: var(--sec-halb) var(--pad); }
.hero .titel { max-width: 12.5em; }
.hero--404 { gap: 28px; align-content: center; }
.hero__unter { text-align: center; }

.about { max-width: 1060px; margin: 0 auto; padding: var(--sec) var(--pad); text-align: center; }
.about__text { margin: var(--sec-halb) auto 0; max-width: 54em; font-size: clamp(15px, 1.28vw, 18.5px); line-height: 1.5; }
.knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; margin-top: var(--sec-halb); }
.knopf {
  position: relative; display: inline-grid; place-items: center; min-width: 188px; height: 52px; padding: 0 21px;
  border: 1px solid var(--weiss); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.knopf::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--weiss); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.knopf:hover, .knopf:focus-visible { color: var(--rot); }
.knopf:hover::before, .knopf:focus-visible::before { transform: scaleY(1); }

/* ---------- Laufband ---------- */
.band { overflow: hidden; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: 13px 0; white-space: nowrap; }
.band__spur { display: inline-flex; align-items: center; will-change: transform; }
.band__spur span, .band__spur i { flex: none; font-style: normal; }
.band__spur span { padding: 0 2.2em; }
.band__spur i { font-size: .9em; }
.band--fuss { margin-top: 0; }

/* ---------- Programm ---------- */
.programm { padding: var(--sec) var(--pad); }
.titel--programm { max-width: 9em; margin: 0 auto; }
.liste { max-width: 640px; margin: var(--sec-liste) auto 0; border-top: 1px solid var(--linie); }
.liste__item { border-bottom: 1px solid var(--linie); }
.liste__kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
  padding: 20px 0; text-align: left; font-size: clamp(16px, 1.28vw, 18.5px);
}
.liste__kopf span { transition: transform .6s var(--ease); }
.liste__kopf:hover span { transform: translateX(6px); }
.plus { position: relative; flex: none; width: 15px; height: 15px; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 7px; width: 15px; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.plus::after { transform: rotate(90deg); }
[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
[aria-expanded="true"] .plus::before { transform: rotate(180deg); }
.liste__inhalt { overflow: hidden; }
.liste__inhalt[hidden] { display: none; }
.liste__text { padding: 0 0 26px; max-width: 34em; }
.liste__text strong { font-weight: 700; }
.liste__text a { text-decoration: underline; text-underline-offset: 3px; }
.liste__text a:hover { text-decoration-thickness: 2px; }
.liste__meldung { padding: 28px 0; text-align: center; }
.liste__lade i { display: block; height: 66px; border-bottom: 1px solid var(--linie-leicht); position: relative; overflow: hidden; }
.liste__lade i::after { content: ''; position: absolute; left: 0; top: 26px; width: 40%; height: 14px; background: rgba(255, 255, 255, .12); animation: laden 1.4s ease-in-out infinite; }
@keyframes laden { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* ---------- Unterseiten ---------- */
.seite { padding: var(--sec) var(--pad); }
.titel--seite { max-width: 11em; margin: 0 auto; }
.seite > .liste { margin-top: var(--sec-liste); }
.seite > .formular { margin-top: var(--sec-halb); }
.seite--kopf { padding-bottom: 0; }
.liste__text--lang { max-width: none; }
.liste__text--lang p + p, .liste__text--lang p + ul, .liste__text--lang ul + p { margin-top: 1.1em; }
.liste__text--lang ul { margin: .5em 0 0; padding-left: 1.2em; }
.liste__text--lang li + li { margin-top: .25em; }
.liste__text--lang u { text-decoration: none; }

/* Formular (Booking) */
.formular { display: grid; gap: 30px; max-width: 640px; margin: 0 auto; }
.formular__gruppe { margin: 0; padding: 0; border: 0; min-width: 0; }
.formular__gruppe legend { padding: 0; margin-bottom: 12px; }
.formular__zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { display: grid; gap: 10px; align-content: start; }
.feld > span { font-size: 14px; }
.feld small { font-size: 12px; opacity: .7; margin-left: .3em; }
.feld__hilfe { font-style: normal; font-size: 13px; line-height: 1.5; opacity: .85; }
.feld__hinweis { font-style: normal; font-size: 13px; line-height: 1.5; padding: 10px 14px; border: 1px solid var(--linie); max-width: 420px; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid transparent; border-radius: 0;
  background: var(--weiss); color: #111; font: inherit; font-size: 16px; letter-spacing: .03em; text-transform: none;
}
.feld select { appearance: none; background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23721c1c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 44px; }
.feld textarea { resize: vertical; min-height: 120px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--weiss); outline-offset: 3px; }
.feld--kurz input, .feld--kurz select { max-width: 240px; }
.feld [aria-invalid="true"] { border-color: #ffb3a8; box-shadow: 0 0 0 2px #ffb3a8; }
.haken { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; margin-top: -14px; }
.haken input { width: 18px; height: 18px; margin: 0; accent-color: var(--weiss); }
.formular .knopf { justify-self: start; }
.formular__fehler:empty { display: none; }
.formular__danke { max-width: 640px; margin: var(--sec-halb) auto 0; padding: 32px; border: 1px solid var(--linie); text-align: center; font-size: clamp(16px, 1.4vw, 20px); }

/* Partner */
.partner { padding: calc(var(--sec) * .5) var(--pad) 0; text-align: center; }
.partner:last-child { padding-bottom: var(--sec); }
.partner__titel { font-size: clamp(16px, 1.28vw, 18.5px); }
.partner__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: var(--sec-halb) auto 0; }
.partner__raster--haupt { grid-template-columns: minmax(0, 386px); justify-content: center; }
.partner__logo { position: relative; margin: 0; perspective: 900px; }
.partner__karte { position: relative; transform-style: preserve-3d; will-change: transform; }
.partner__logo img { width: 100%; height: auto; }
/* 3D-Neigung (nur mit Maus): Logo kippt zur Maus, Glanzpunkt folgt. Rahmen ist Teil des Bildes, darum nie vergrössern oder abschneiden */
.partner__glanz { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 58%); }
.partner__logo.is-kipp .partner__glanz { opacity: 1; }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: 1.15fr 1fr .5fr; gap: 48px var(--pad);
  max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--pad);
}
.footer__titel { font-size: 27px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px; }
.footer__titel--klein { font-size: 23.4px; margin-bottom: 26px; }
.footer__news > p { margin-bottom: 30px; }
.footer__ort p + p { margin-top: 24px; }
.footer__ort a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer__ort a:hover { text-decoration-thickness: 2px; }
.footer__rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.social--fuss { padding-top: 6px; }
.footer__imprint { text-decoration: underline !important; text-underline-offset: 3px; }

.news { display: grid; gap: 22px; max-width: 360px; }
.news input[type="email"] {
  width: 100%; height: 56px; padding: 0 20px; border: 0; border-radius: 0;
  background: var(--weiss); color: #111; font: inherit; letter-spacing: .07em; text-transform: none;
}
.news input::placeholder { color: #7a7a7a; text-transform: uppercase; }
.news .knopf { justify-self: start; min-width: 0; padding: 0 22px; }
.news__falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.news__meldung:empty { display: none; }
.news.is-fertig input, .news.is-fertig .knopf { display: none; }

/* ---------- Pfeil nach oben ---------- */
.totop { position: fixed; z-index: 80; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 50%; background: var(--weiss); color: var(--rot); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s, background-color .4s, color .4s; }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 100%; height: 100%; fill: none; }
.totop__track { stroke: rgba(114, 28, 28, .15); stroke-width: 1.5; }
.totop__ring { stroke: var(--rot); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transform: rotate(-90deg); transform-origin: 50% 50%; }
.totop__arrow { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.totop:hover { background: var(--rot-dunkel); color: var(--weiss); }
.totop:hover .totop__ring { stroke: var(--weiss); }
.totop:hover .totop__arrow { transform: translateY(-3px); }

/* ---------- Text-Animation ---------- */
.line-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em; margin: 0 -.06em -.1em; }
.line-inner { display: inline-block; will-change: transform; }

/* ---------- Handy-Menü ---------- */
.menu { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; padding: 24px var(--pad) calc(32px + env(safe-area-inset-bottom)); background: var(--rot); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__top { display: flex; justify-content: space-between; align-items: flex-start; }
.menu__logo img { width: 70px; height: auto; }
.menu__close { position: relative; width: 44px; height: 44px; }
.menu__close span { position: absolute; left: 10px; top: 21px; width: 24px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu__close span + span { transform: rotate(-45deg); }
.menu__nav { display: grid; gap: 6px; margin: auto 0; padding: 40px 0; }
.menu__nav a { font-size: clamp(34px, 10vw, 56px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.menu__nav a[aria-current="page"] { font-style: italic; }
.menu__social { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }

/* ---------- Handy ---------- */
@media (max-width: 900px) {
  .header { grid-template-columns: 44px 1fr 44px; align-items: center; padding-top: 20px; }
  .header .nav, .header .social { display: none; }
  .logo { grid-column: 2; justify-self: center; width: 84px; }
  .burger { display: block; grid-column: 3; position: relative; width: 44px; height: 44px; }
  .burger span { position: absolute; left: 10px; width: 24px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
  .burger span:first-child { top: 17px; }
  .burger span:last-child { top: 26px; }
  .footer { grid-template-columns: 1fr; gap: 48px; }
  .footer__rechts { flex-direction: row; align-items: center; justify-content: space-between; }
  .news { max-width: none; }
  .totop { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .hero { min-height: clamp(320px, 56vh, 520px); }
  .knopf { min-width: 150px; }
}
@media (max-width: 640px) {
  .partner__raster { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partner__raster--haupt { grid-template-columns: minmax(0, 300px); }
  .formular__zwei { grid-template-columns: 1fr; }
  .feld--kurz input, .feld--kurz select { max-width: none; }
}
@media (max-width: 420px) {
  .knoepfe { gap: 12px; }
  .knoepfe .knopf { min-width: 0; flex: 1; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .schimmer span { animation: none; }
  .liste__lade i::after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
