/* Startseite: „Drei Welten. Ein Schnippsl.“ – Triptychon oben, darunter drei getrennte Kapitel (lädt nur auf der Startseite). */
/* Kopfzeile auf der Startseite heller verglast, damit die drei Welten kräftig durchscheinen */
.kopf { background: linear-gradient(180deg, rgba(14, 14, 18, .34), rgba(14, 14, 18, .2)); }
.s-start { --musik: #C77DFF; --meer: #5FB3E0; --mint: #7FE0BF; background: #07070A; }
.s-start h2 { margin: 0; }

/* ---------- Triptychon ---------- */
/* Unter die gläserne Kopfzeile gezogen: dort scheinen von Anfang an die drei Welten durch statt Grau */
.s-hero { position: relative; display: flex; flex-direction: column; margin-top: calc(var(--kopf) * -1); height: 100svh; min-height: calc(620px + var(--kopf)); max-height: calc(1100px + var(--kopf)); overflow: hidden; background: #07070A; color: var(--weiss); }
.s-hero-grund { display: none; }
.s-hero-kopf { position: absolute; inset: 0 0 auto; z-index: 3; padding: calc(var(--kopf) + clamp(28px, 7vh, 72px)) var(--rand) 0; text-align: center; pointer-events: none; animation: s-auf 1.1s .2s cubic-bezier(.2, .8, .2, 1) both; }
.s-eyebrow { margin: 0 0 14px; font-size: .75rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; opacity: .85; }
.s-hero h1 { margin: 0; font-size: clamp(2.4rem, 7.2vw, 5.6rem); font-weight: 600; line-height: 1; letter-spacing: -.035em; text-shadow: 0 8px 50px rgba(0, 0, 0, .55); }
.s-verlauf { white-space: nowrap; background: linear-gradient(100deg, var(--musik) 0%, var(--meer) 50%, var(--mint) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .45)); }

.s-welten { display: flex; flex: 1; gap: 2px; min-height: 0; }
.s-welt { --ton: rgba(7, 7, 10, .8); --akzent: var(--weiss); position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; color: var(--weiss); text-decoration: none; transition: flex-grow .8s cubic-bezier(.2, .8, .2, 1); animation: s-auf 1s cubic-bezier(.2, .8, .2, 1) both; }
.s-welt:nth-child(2) { animation-delay: .12s; }
.s-welt:nth-child(3) { animation-delay: .24s; }
.s-welt-musik { --ton: rgba(74, 16, 120, .9); --akzent: var(--musik); }
.s-welt-vermietung { --ton: rgba(8, 48, 78, .9); --akzent: var(--meer); }
.s-welt-mode { --ton: rgba(10, 70, 52, .9); --akzent: var(--mint); }
.s-welt img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; scale: 1.08; translate: 0 var(--py, 0px); filter: saturate(.9) brightness(.82); transition: scale 1.4s cubic-bezier(.2, .8, .2, 1), filter .7s; }
.s-welt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 7, 10, .15) 0%, rgba(7, 7, 10, .55) 15%, rgba(7, 7, 10, .12) 36%, transparent 48%, var(--ton) 100%); transition: opacity .7s; }
/* feine Lichtkante oben, Farbe der Welt */
.s-welt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--akzent); transform: scaleX(.18); transform-origin: left; opacity: .9; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.s-welt-text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px clamp(20px, 3vw, 44px) clamp(30px, 6vh, 60px); }
.s-nr { color: var(--akzent); font-size: .8125rem; font-weight: 600; letter-spacing: .24em; }
.s-welt-titel { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.s-welt-satz { max-width: 32ch; margin-bottom: 10px; color: rgba(255, 255, 255, .86); font-size: .9375rem; line-height: 1.5; }
.s-pfeil {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07)); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 30px rgba(0, 0, 0, .25); font-size: .9375rem; font-weight: 500;
}
.s-pfeil svg { width: 18px; height: 18px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }


@media (min-width: 900px) {
  .s-welt-satz { max-height: 0; margin-bottom: 0; overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s, max-height .6s cubic-bezier(.2, .8, .2, 1), margin .6s; }
  .s-welt:hover .s-welt-satz, .s-welt:focus-visible .s-welt-satz { max-height: 6em; margin-bottom: 10px; }
  .s-welt .s-pfeil { opacity: .85; }
  /* Die Welt unter der Maus wächst, die anderen treten zurück */
  .s-welten:hover .s-welt { flex-grow: .78; }
  .s-welten .s-welt:hover, .s-welten .s-welt:focus-visible { flex-grow: 1.7; }
  .s-welt:hover img, .s-welt:focus-visible img { scale: 1.02; filter: saturate(1.08) brightness(.95); }
  .s-welten:hover .s-welt:not(:hover) img { filter: saturate(.5) brightness(.5); }
  .s-welt:hover::after, .s-welt:focus-visible::after { transform: scaleX(1); }
  .s-welt:hover .s-welt-satz, .s-welt:focus-visible .s-welt-satz { opacity: 1; transform: none; transition-delay: .15s; }
  .s-welt:hover .s-pfeil { opacity: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .14)); }
  .s-welt:hover .s-pfeil svg { transform: translateX(4px); }
}
@media (max-width: 899px) {
  .s-hero-grund { display: grid; }
  .s-hero { height: auto; max-height: none; min-height: 0; }
  .s-hero-kopf { position: relative; isolation: isolate; padding: calc(var(--kopf) + 36px) var(--rand) 28px; }
  /* Handy: die drei Weltbilder als farbiger Hintergrund hinter Kopfzeile und Überschrift */
  .s-hero-grund { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .s-hero-grund span { background: center / cover no-repeat; filter: saturate(1.25) brightness(.62); }
  .s-hero-grund span:nth-child(1) { background-image: url("../bilder/musik/dj-schnippsl-buehne-800.webp"); background-position: 50% 30%; }
  .s-hero-grund span:nth-child(2) { background-image: url("../bilder/vermietung/titel-strandkoerbe-800.webp"); background-position: 60% 60%; }
  .s-hero-grund span:nth-child(3) { background-image: url("../bilder/mode/titel-backstein-800.webp"); background-position: 40% 40%; }
  .s-hero-grund::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 10, .15) 0%, rgba(7, 7, 10, .55) 55%, #07070A 100%); }
  .s-welten { flex-direction: column; }
  .s-welt { flex: none; height: max(230px, 30svh); }
  .s-welt::before { background: linear-gradient(90deg, var(--ton) 0%, rgba(7, 7, 10, .25) 70%, transparent 100%); }
  .s-welt-text { top: 0; justify-content: center; padding: 20px var(--rand); }
  .s-welt-satz { max-width: 26ch; margin-bottom: 4px; font-size: .875rem; }
  .s-pfeil { padding: 8px 14px; font-size: .875rem; }
}

/* ---------- Kapitel ---------- */
.s-kapitel { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 150px) var(--rand); }
.s-kapitel-innen { position: relative; max-width: var(--breite); margin: 0 auto; }
.s-kapitel-kopf { position: relative; display: grid; justify-items: center; gap: 14px; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.s-kapitel-kopf > * { position: relative; z-index: 1; }
.s-kapitel-kopf h2 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.s-kapitel-kopf p { margin: 0; max-width: 58ch; font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.6; opacity: .85; }
.s-nr-gross { position: absolute !important; top: -.42em; left: 50%; z-index: 0 !important; transform: translateX(-50%); font-size: clamp(8rem, 24vw, 17rem); font-weight: 700; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--nr-linie); pointer-events: none; user-select: none; }
.s-marke { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px; border: 1px solid var(--marke-rand); border-radius: 999px; background: var(--marke-grund); font-size: .75rem !important; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: 1 !important; }
.s-marke span { width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 12px var(--akzent); }
.s-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }

/* 01 Musik – dunkel, violettes Leuchten */
.s-kapitel-musik { --akzent: var(--musik); --nr-linie: rgba(199, 125, 255, .28); --marke-rand: rgba(199, 125, 255, .35); --marke-grund: rgba(199, 125, 255, .1);
  background: radial-gradient(60% 50% at 50% 0%, rgba(140, 50, 220, .32), transparent 70%), radial-gradient(40% 40% at 90% 90%, rgba(255, 61, 139, .14), transparent 70%), #08070C; color: var(--weiss); }
.s-kapitel-musik .event-rahmen { box-shadow: 0 30px 90px rgba(120, 40, 200, .35), 0 0 0 1px rgba(255, 255, 255, .08); }

/* 02 Vermietung – hell, Ostsee */
.s-kapitel-vermietung { --akzent: #1C78AD; --nr-linie: rgba(14, 59, 87, .16); --marke-rand: rgba(14, 59, 87, .2); --marke-grund: rgba(255, 255, 255, .7);
  background: radial-gradient(55% 45% at 50% 0%, rgba(95, 179, 224, .3), transparent 70%), linear-gradient(180deg, #F3F8FB 0%, #F6F1E9 100%); color: var(--schwarz); }
.s-kapitel-vermietung .s-marke { color: #0E3B57; }
.s-kapitel-vermietung .kontakt-leiste { margin-top: clamp(40px, 5vw, 64px); }
.s-knopf-hell { background: linear-gradient(180deg, #FFF, #F1EEE9); color: var(--schwarz); box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .12), 0 6px 18px rgba(11, 11, 11, .08); }
.s-knopf-hell:hover { background: linear-gradient(180deg, #FFF, #E9E4DC); }

/* 03 Mode – dunkel, mint */
.s-kapitel-mode { --akzent: var(--mint); --nr-linie: rgba(127, 224, 191, .24); --marke-rand: rgba(127, 224, 191, .35); --marke-grund: rgba(127, 224, 191, .08);
  background: radial-gradient(60% 50% at 50% 0%, rgba(60, 190, 150, .24), transparent 70%), radial-gradient(40% 40% at 10% 100%, rgba(200, 70, 50, .16), transparent 70%), #070B09; color: var(--weiss); }
.s-kapitel-mode .mode-foto-bild { box-shadow: 0 30px 90px rgba(40, 160, 120, .22); }

/* ---------- Wegweiser rechts (Desktop) ---------- */
.s-leitpfad { position: fixed; top: 50%; right: 20px; z-index: 8; display: none; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px;
  background: rgba(14, 14, 18, .42); -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(.8); backdrop-filter: blur(24px) saturate(190%) brightness(.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 40px rgba(0, 0, 0, .25); transform: translate(12px, -50%); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.s-leitpfad.sichtbar { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.s-leitpfad a { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 14px; color: rgba(255, 255, 255, .7); font-size: .8125rem; font-weight: 500; text-decoration: none; transition: background .25s, color .25s; }
.s-leitpfad a span { font-size: .6875rem; letter-spacing: .14em; opacity: .7; }
.s-leitpfad a:hover { background: rgba(255, 255, 255, .1); color: var(--weiss); }
.s-leitpfad a[aria-current="true"] { background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08)); color: var(--weiss); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .4); }
@media (min-width: 1200px) { .s-leitpfad { display: flex; } }

@keyframes s-auf { from { opacity: 0; transform: translateY(24px); } }
/* ---------- Touch (Handy, iPad): ohne Maus übernimmt die Klasse „aktiv“ (gesetzt von js/start.js) ---------- */
.s-welt:active { scale: .985; transition: scale .15s; }
.s-pfeil { position: relative; overflow: hidden; }
.s-pfeil::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); opacity: 0; pointer-events: none; }
.s-touch .s-welt.aktiv .s-pfeil::before { animation: s-glanz 2.6s .4s ease-in-out infinite; }
.s-touch .s-welt.aktiv::after { transform: scaleX(1); }
.s-touch .s-welt.aktiv .s-nr { text-shadow: 0 0 14px var(--akzent); }

/* Untereinander: Bild von Anfang an 25 % größer, damit die Scroll-Bewegung nie einen Rand zeigt */
@media (max-width: 899px) {
  .s-welt img { scale: 1.25; transition: scale 5s cubic-bezier(.2, .8, .2, 1), filter .8s; }
}
/* Handy & iPad hochkant (untereinander): die Welt in der Bildschirmmitte zoomt langsam auf und leuchtet, die anderen treten zurück */
@media (max-width: 899px) {
  .s-touch .s-welt.aktiv img { scale: 1.36; filter: saturate(1.12) brightness(.96); }
  .s-touch .s-welten.hat-aktiv .s-welt:not(.aktiv) img { filter: saturate(.55) brightness(.55); }
  .s-touch .s-welt-text { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
  .s-touch .s-welt.aktiv .s-welt-text { transform: translateX(6px); }
  .s-touch .s-welten.hat-aktiv .s-welt:not(.aktiv) .s-welt-text { opacity: .75; }
}
/* iPad quer (nebeneinander, ohne Maus): die Welten gehen nacheinander von selbst auf – wie mit der Maus */
@media (min-width: 900px) {
  .s-touch .s-welten.hat-aktiv .s-welt { flex-grow: .78; }
  .s-touch .s-welten .s-welt.aktiv { flex-grow: 1.7; }
  .s-touch .s-welt.aktiv img { scale: 1.02; filter: saturate(1.08) brightness(.95); }
  .s-touch .s-welten.hat-aktiv .s-welt:not(.aktiv) img { filter: saturate(.5) brightness(.5); }
  .s-touch .s-welt.aktiv .s-welt-satz { max-height: 6em; margin-bottom: 10px; opacity: 1; transform: none; transition-delay: .15s; }
}
@keyframes s-glanz { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 45%, 100% { left: 130%; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .s-hero-kopf, .s-welt { animation: none; }
  .s-welt, .s-welt img, .s-welt::after, .s-leitpfad { transition: none; }
  .s-touch .s-welt.aktiv .s-pfeil::before { animation: none; }
}

/* Lesbarkeit (Kevin, 18.11.2026) */
.s-leitpfad a { color: rgba(255, 255, 255, .9); }
.s-leitpfad a span { opacity: .88; }
.s-touch .s-welten.hat-aktiv .s-welt:not(.aktiv) .s-welt-text { opacity: .9; }

/* Flüssig (18.11.2026): Überschrift steht beim Öffnen sofort da */
.s-hero-kopf { animation: none; }
