/* Startseite "Gezeiten": Kapitel als Farbfelder, je tiefer desto dunkler. */

.ct-front { overflow-x: clip; }
.ct-front *, .ct-front *::before, .ct-front *::after { box-sizing: border-box; }
.ct-ch { position: relative; padding-inline: var(--m); }
@media (min-width: 1024px) { .ct-ch:not(.ct-hero), .ct-foot { padding-right: calc(var(--m) + 150px); } }

.ct-display { font-weight: 900; letter-spacing: -.04em; line-height: .9; }

/* ---------- Echolot ---------- */
.ct-gauge {
	position: fixed;
	right: var(--m);
	top: 50%;
	z-index: 40;
	transform: translateY(-50%);
	display: grid;
	justify-items: end;
	gap: 10px;
	color: var(--bone);
	transition: color .3s;
	text-align: right;
}
html[data-ink="dark"] .ct-gauge { color: var(--ink-dark); }
.ct-gauge__line { width: 6px; height: 34svh; background: currentColor; opacity: .25; position: relative; }
.ct-gauge__fill { position: absolute; inset: 0 0 auto 0; height: calc(var(--g, 0) * 100%); background: var(--accent); }
.ct-gauge__depth { font-size: var(--step-lead); font-weight: 500; font-variant-numeric: tabular-nums; }
.ct-gauge__zone { font-size: var(--step-small); }
/* Handy/Tablet: Echolot in der Kopfzeile, links neben dem Burger-Knopf */
@media (max-width: 1023px) {
	.ct-gauge { right: calc(var(--m) + 56px); left: auto; top: calc(var(--bar) / 2); transform: translateY(-50%); z-index: 60; justify-items: end; text-align: right; gap: 0; transition: color .3s, opacity .2s; }
	.admin-bar .ct-gauge { top: calc(46px + var(--bar) / 2); }
	.ct-gauge__line { display: none; }
	.ct-gauge__depth { font-size: var(--step-small); }
	.ct-gauge__zone { font-size: var(--step-small); }
	.ct-menu-open .ct-gauge { opacity: 0; }
}
@media (min-width: 861px) and (max-width: 1023px) { .ct-gauge { right: auto; left: 40%; } }

/* ---------- Hero: Himmel oben, Meer unten, Titel ueber der Wasserlinie ---------- */
/* --seam: Wasserlinie in Ruhe; --lift (0..1, von GSAP beim Abtauchen) laesst das Wasser ueber den Titel steigen */
@property --lift { syntax: "<number>"; inherits: true; initial-value: 0; }
.ct-hero {
	--seam: 80svh;
	--lift: 0;
	--water: calc(var(--seam) * (1 - var(--lift)));
	--cut: calc(1.45 * var(--f) - var(--lift) * var(--seam)); /* Wasserlinie im Titel: unteres Drittel von "voraus." */
	--f: clamp(52px, 7vw, 116px);
	height: 100svh;
	padding: 0;
	background: var(--sea);
	overflow: hidden;
}
.ct-hero__sky { position: absolute; inset: 0 0 auto 0; height: var(--water); background: var(--sky-top); overflow: hidden; }
/* Video fuellt den ganzen Bildschirm; die steigende See (.ct-hero__sea) schiebt sich von unten darueber */
.ct-hero__video { position: absolute; left: 0; top: var(--bar); width: 100%; height: calc(100svh - var(--bar)); object-fit: cover; object-position: 50% 30%; transform-origin: 50% 70%; }
.admin-bar .ct-hero__video { top: calc(var(--bar) + 32px); height: calc(100svh - var(--bar) - 32px); }
.ct-hero__sea { position: absolute; inset: var(--water) 0 0 0; }
.ct-hero__waves { position: absolute; left: 0; top: -2.6vw; width: 100%; height: 5.5vw; object-fit: cover; }
.ct-hero__lead {
	position: absolute;
	left: 50%;
	top: calc(100svh - var(--water) - 56px);
	transform: translate(-50%, -100%);
	width: min(90vw, 40ch);
	text-align: center;
	font-size: var(--step-lead);
	line-height: 1.3;
	color: var(--bone);
}
/* Abtauch-Video: blendet ein, wenn das Wasser ueber dem Titel steht, und spult mit dem Scrollen */
.ct-hero__dive { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; pointer-events: none; display: none; }
.ct-motion .ct-hero__dive { display: block; }
/* Ende des Abtauchens: blendet in die Farbe des Gezeiten-Kapitels, damit keine Kante entsteht */
.ct-hero__fade { position: absolute; inset: 0; z-index: 4; background: #08131e; opacity: 0; visibility: hidden; pointer-events: none; }
.ct-hero__title {
	position: absolute;
	left: 50%;
	top: calc(var(--seam) - 1.45 * var(--f));
	transform: translateX(-50%);
	width: max-content;
	font-size: var(--f);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: .86;
	text-align: center;
}
.ct-hero__t { display: block; }
.ct-hero__title { z-index: 2; }
/* Wellenfoermige Wasserlinie im Wort: zwei sich ergaenzende Masken (oben hell, unten dunkel), Welle laeuft langsam seitlich */
@property --wx { syntax: "<length>"; inherits: false; initial-value: 0px; }
.ct-hero__t--top, .ct-hero__t--low {
	-webkit-mask-repeat: repeat-x;
	mask-repeat: repeat-x;
	-webkit-mask-size: 3em 40em;
	mask-size: 3em 40em;
	-webkit-mask-position: var(--wx) calc(var(--cut) - 20em);
	mask-position: var(--wx) calc(var(--cut) - 20em);
	animation: ct-wave 5s linear infinite;
}
.ct-hero__t--top {
	color: var(--bone);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 4000' preserveAspectRatio='none'%3E%3Cpath d='M0 2000 Q75 1985 150 2000 T300 2000 V0 H0 Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 4000' preserveAspectRatio='none'%3E%3Cpath d='M0 2000 Q75 1985 150 2000 T300 2000 V0 H0 Z'/%3E%3C/svg%3E");
}
.ct-hero__t--low {
	position: absolute;
	inset: 0;
	color: var(--sea-ink);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 4000' preserveAspectRatio='none'%3E%3Cpath d='M0 2000 Q75 1985 150 2000 T300 2000 V4000 H0 Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 4000' preserveAspectRatio='none'%3E%3Cpath d='M0 2000 Q75 1985 150 2000 T300 2000 V4000 H0 Z'/%3E%3C/svg%3E");
}
@keyframes ct-wave { to { --wx: 3em; } }
@media (prefers-reduced-motion: reduce) { .ct-hero__t--top, .ct-hero__t--low { animation: none; } }
@media (max-width: 700px) {
	.ct-hero { --seam: 78svh; --f: 12.5vw; }
	.ct-hero__lead { font-size: 16px; max-width: 28ch; top: calc(100svh - var(--water) - 40px); }
	.ct-hero__waves { top: -4vw; height: 9vw; }
}

/* ---------- Veroeffentlichungen: CD gleitet aus der Huelle; mit Bewegung waagerecht von CD zu CD ---------- */
/* z-index 2: beim Anheften (position fixed) sonst unter der Partikel-Ebene */
.ct-release.ct-ch { padding: 0; background: var(--rel-now, #08131e); position: relative; z-index: 2; }
.ct-release__tabs { display: none; }
.ct-rel {
	display: grid;
	/* Luecke so breit, dass die herausgeglittene CD nicht in den Text ragt */
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	column-gap: clamp(150px, 14vw, 210px);
	row-gap: 32px;
	overflow: hidden;
	align-items: center;
	min-height: 88svh;
	padding: 120px var(--m);
	background: var(--rel-bg);
}
@media (min-width: 1024px) { .ct-rel { padding-right: calc(var(--m) + 150px); } }

/* Huelle (Cover) und CD dahinter; --out schiebt die CD heraus (ohne Bewegung halb draussen) */
.ct-rel__media { position: relative; aspect-ratio: 1; width: 100%; --out: 34%; }
.ct-rel__sleeve { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.ct-rel__disc {
	position: absolute;
	inset: 3%;
	z-index: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #111;
	transform: translateX(var(--out));
}
.ct-rel__disc img { width: 100%; height: 100%; object-fit: cover; animation: ct-spin 9s linear infinite; }
@keyframes ct-spin { to { transform: rotate(360deg); } }
/* Mittelloch mit Ring */
.ct-rel__disc::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 15%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--rel-bg);
	border: 3px solid rgb(237 238 234 / .55);
}
/* Platzhalter, bis die echten Cover da sind */
.ct-rel--halloween .ct-rel__ph { background: var(--ink-dark); }
.ct-rel--halloween .ct-rel__ph::before { content: ""; position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--bone); top: 16%; left: 24%; }
.ct-rel--halloween .ct-rel__disc { background: #1b1f1d; }
.ct-rel--space .ct-rel__ph { background: #050608; }
.ct-rel--space .ct-rel__ph::before { content: ""; position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--bone); top: 22%; left: 28%; }
.ct-rel--space .ct-rel__disc { background: #0d0f11; }

.ct-rel__title { font-size: clamp(2.5rem, 1rem + 3.6vw, 4.5rem); font-weight: 900; letter-spacing: -.04em; line-height: .9; }
.ct-rel__meta { margin-top: 16px; color: var(--muted-dark); }
.ct-rel__desc { margin-top: 40px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; }
.ct-rel__actions { display: grid; grid-template-columns: 1fr 1fr; max-width: 560px; margin-top: 48px; }
.ct-cell { display: flex; align-items: center; padding: 0 24px; min-height: 72px; text-decoration: none; font-weight: 500; transition: transform .15s var(--ease), filter .2s; }
.ct-cell:hover { filter: brightness(1.12); }
.ct-cell:active { transform: scale(.98); }
.ct-cell--ink { background: var(--bone); color: var(--ink-dark); }
.ct-cell--tone { background: rgb(237 238 234 / .12); color: var(--bone); }

/* Mit Bewegung: Kapitel steht, Spur faehrt waagerecht; Hintergrund faerbt der Abschnitt selbst (--rel-now) */
.ct-motion .ct-release { height: 100svh; overflow: hidden; }
.ct-motion .ct-release__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.ct-motion .ct-rel { flex: none; width: 100vw; height: 100%; min-height: 0; background: transparent; padding-top: calc(var(--bar) + 96px); }
.ct-motion .ct-rel__media { --out: 0%; }
.ct-motion .ct-release.ct-ch > .ct-release__tabs { display: flex; position: absolute; z-index: 3; left: var(--m); top: calc(var(--bar) + 32px); gap: 28px; flex-wrap: wrap; }
.ct-release__tabs button { all: unset; cursor: pointer; font-size: var(--step-body); font-weight: 500; color: var(--muted-dark); transition: color .2s; }
.ct-release__tabs button:hover, .ct-release__tabs button[aria-selected="true"] { color: var(--bone); }
.ct-release__tabs button[aria-selected="true"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--accent); }
.ct-release__tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 860px) {
	/* oben ausrichten: bei hohem Inhalt (Gezeiten mit Knoepfen) rutscht die CD sonst unter die Reiter */
	.ct-rel { grid-template-columns: 1fr; gap: 28px; padding-block: 96px 56px; align-content: start; }
	.ct-rel__media { width: min(58vw, 36svh); }
	.ct-motion .ct-rel { padding-top: calc(var(--bar) + 72px); }
	.ct-motion .ct-release.ct-ch > .ct-release__tabs { gap: 18px; top: calc(var(--bar) + 20px); }
	.ct-release__tabs button { font-size: var(--step-small); }
	.ct-rel__desc { margin-top: 16px; font-size: var(--step-body); }
	.ct-rel__actions { grid-template-columns: 1fr 1fr; margin-top: 20px; }
	.ct-cell { min-height: 52px; padding: 0 14px; font-size: var(--step-small); }
}
@media (prefers-reduced-motion: reduce) { .ct-rel__disc img { animation: none; } }

/* ---------- Tiefenprofil: Songs als Echolot-Aufzeichnung ---------- */
.ct-sonar.ct-ch { position: relative; z-index: 2; } /* angeheftet sonst unter der Partikel-Ebene */
.ct-sonar { --scan: 1; background: #0a1822; padding-block: 120px 96px; min-height: 100svh; display: flex; flex-direction: column; }
.ct-sonar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; flex-wrap: wrap; }
.ct-sonar__title { font-size: var(--step-head); font-weight: 900; letter-spacing: -.04em; line-height: .9; }
.ct-sonar__lead { max-width: 38ch; color: var(--bone-soft); }
.ct-sonar__chart { position: relative; flex: 1; min-height: 420px; max-height: 600px; margin-top: 48px; }
.ct-sonar__svg, .ct-sonar__songs, .ct-sonar__scan { position: absolute; top: 0; bottom: 0; left: 96px; right: 0; }
.ct-sonar__svg { width: calc(100% - 96px); height: 100%; overflow: visible; clip-path: inset(0 calc((1 - var(--scan)) * 100%) 0 0); }
.ct-sonar__bed { fill: #10293a; }
.ct-sonar__line { fill: none; stroke: #6f9e8c; stroke-width: 3; stroke-linejoin: round; }
.ct-sonar__axis { position: absolute; left: 0; top: 0; bottom: 0; width: 84px; margin: 0; }
.ct-sonar__axis span { position: absolute; left: 0; top: var(--y); transform: translateY(-50%); font-size: var(--step-small); color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.ct-sonar__scan { right: auto; width: 4px; margin-left: -2px; left: calc(96px + (100% - 96px) * var(--scan)); background: var(--accent); opacity: 0; transition: opacity .3s; }
.ct-motion .ct-sonar.is-scanning .ct-sonar__scan { opacity: 1; }
.ct-sonar__songs { margin: 0; padding: 0; list-style: none; }
.ct-ping { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.ct-ping__hit { position: absolute; left: 0; top: 0; display: grid; justify-items: center; width: 150px; transform: translate(-50%, calc(-100% + 8px)); text-align: center; text-decoration: none; color: var(--bone); transition: opacity .4s; }
/* Beschriftung auf Grundfarbe, damit die Profillinie sie nicht kreuzt */
.ct-ping__name { order: 1; font-weight: 500; font-size: var(--step-small); line-height: 1.2; background: #0a1822; padding: 2px 6px 0; }
.ct-ping__depth { order: 2; font-size: var(--step-small); color: var(--muted-dark); font-variant-numeric: tabular-nums; margin-bottom: 6px; background: #0a1822; padding: 0 6px 2px; }
.ct-ping__dot { order: 3; width: 16px; height: 16px; border-radius: 50%; background: var(--bone); transition: transform .3s var(--ease), background-color .3s; }
.ct-ping__note { position: absolute; top: 100%; left: 50%; width: max-content; max-width: 220px; transform: translate(-50%, 10px); font-size: var(--step-small); color: var(--bone-soft); opacity: 0; transition: opacity .2s; pointer-events: none; }
.ct-ping__hit:hover .ct-ping__dot, .ct-ping__hit:focus-visible .ct-ping__dot, .ct-ping.is-playing .ct-ping__dot { transform: scale(1.5); background: var(--accent); }
.ct-ping__hit:hover .ct-ping__note, .ct-ping__hit:focus-visible .ct-ping__note { opacity: 1; }
/* Mit Bewegung: Punkte erscheinen, wenn die Abtastlinie sie erreicht */
.ct-motion .ct-ping:not(.is-lit) .ct-ping__hit { opacity: .12; }
.ct-motion .ct-ping.is-lit .ct-ping__dot { animation: ct-ping .9s var(--ease); }
@keyframes ct-ping { 0% { transform: scale(2.2); background: var(--accent); } 100% { transform: scale(1); } }
@media (max-width: 860px) {
	.ct-sonar__svg, .ct-sonar__axis, .ct-sonar__scan { display: none; }
	.ct-sonar__chart { flex: none; min-height: 0; max-height: none; }
	.ct-sonar__songs { position: static; display: grid; gap: 22px; }
	.ct-ping { position: static; width: auto; height: auto; }
	.ct-ping__hit { position: static; transform: none; width: auto; grid-template-columns: 1fr auto; justify-items: start; text-align: left; column-gap: 12px; }
	.ct-ping__name { order: 0; font-size: var(--step-body); padding: 0; background: none; }
	.ct-ping__depth { order: 0; margin: 0; padding: 0; background: none; }
	.ct-ping__dot { display: none; }
	.ct-ping__note { position: static; transform: none; opacity: 1; grid-column: 1 / -1; max-width: none; }
	/* Tiefenbalken: je tiefer, desto laenger */
	.ct-ping__hit::after { content: ""; grid-column: 1 / -1; order: 5; height: 6px; width: calc(4% + var(--d) * 96%); margin-top: 8px; background: #6f9e8c; }
	.ct-motion .ct-ping:not(.is-lit) .ct-ping__hit { opacity: 1; }
}

/* Spotify-Overlay */
.ct-player { width: min(560px, calc(100vw - 32px)); max-width: none; margin: auto; padding: 0; border: 0; background: transparent; color: var(--bone); }
.ct-player::backdrop { background: rgb(4 7 9 / .85); }
.ct-player__box { position: relative; background: #0a1822; padding: 28px 24px 20px; }
.ct-player__title { font-size: var(--step-lead); font-weight: 900; letter-spacing: -.02em; margin: 0 56px 16px 0; }
.ct-player__frame iframe { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
.ct-player__frame.is-album iframe { height: 352px; }
.ct-player__note { margin-top: 12px; font-size: var(--step-small); color: var(--muted-dark); }
.ct-player .ct-player__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 20px; }

/* ---------- Die Band: Text mit Markierungen ---------- */
.ct-story { background: var(--c-story); padding-block: 120px; min-height: 90svh; display: grid; align-items: center; overflow: hidden; }
/* Daemmerzone: Lichtstrahlen und Fischschwarm leise hinter dem Text */
.ct-ch > .ct-bgvid { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
/* Band-Kapitel: Video laeuft unten aus, damit der Verlauf zur Crew ohne Kante beginnt */
.ct-story > .ct-bgvid { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); } /* taste-skill-ignore */
.ct-story__text {
	columns: 2;
	column-gap: 32px;
	text-align: justify;
	hyphens: auto;
	font-size: clamp(22px, 2.1vw, 32px);
	line-height: 1.18;
	color: var(--bone-soft);
}
.ct-story__text b { color: var(--bone); font-weight: 900; }
.ct-story mark { padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ct-story .hl-a { background: var(--sea); color: var(--bone); }
.ct-story .hl-b { background: var(--bone); color: var(--ink-dark); }
.ct-story .hl-c { background: #2c5a6b; color: var(--bone); }
/* Mit Bewegung: Markierungen leuchten erst beim Lesen auf */
.ct-story mark { transition: background-color .6s var(--ease), color .6s var(--ease); }
.ct-motion .ct-story mark:not(.is-lit) { background-color: transparent; color: inherit; }
@media (max-width: 860px) {
	.ct-story__text { columns: 1; text-align: left; font-size: 20px; line-height: 1.25; }
}

/* ---------- Crew: Liste mit Fotos als Aufzaehlungszeichen ---------- */
.ct-crew { background: var(--c-crew); color: var(--ink-dark); padding-block: calc(45svh + 40px) 120px; min-height: 90svh; }
/* Weicher Uebergang vom Band-Text (Petrol) ins Hellgrau, auf Wunsch der Band statt harter Kante */
.ct-crew::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 45svh; background: linear-gradient(var(--c-story), var(--c-crew)); pointer-events: none; } /* taste-skill-ignore */
.ct-crew__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 64px; }
.ct-crew__title { font-size: var(--step-head); font-weight: 900; letter-spacing: -.04em; line-height: .9; }
.ct-crew__count { font-size: var(--step-body); }
.ct-crew__film { margin-bottom: 72px; }
.ct-crew__film video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky); }
.ct-crew__film figcaption { margin-top: 12px; font-size: var(--step-small); color: #33403f; }
@media (max-width: 860px) { .ct-crew__film video { aspect-ratio: 4 / 3; } .ct-crew__film { margin-bottom: 48px; } }
.ct-crew__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 56px; }
.ct-mate { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start; }
.ct-mate__pic { width: 132px; height: 132px; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.08); transition: filter .4s; }
.ct-mate:hover .ct-mate__pic { filter: grayscale(0); } /* taste-skill-ignore: Filter, kein scale */
.ct-mate__line { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.ct-mate__name { font-size: var(--step-lead); font-weight: 900; letter-spacing: -.02em; }
/* Ganze Karte fuehrt zur Seite des Mitglieds (inc/crew.php) */
.ct-mate { position: relative; }
.ct-mate__name a { text-decoration: none; }
.ct-mate__name a::after { content: ""; position: absolute; inset: 0; }
.ct-mate__name a span { display: inline-block; font-weight: 500; transition: transform .2s var(--ease); }
.ct-mate:hover .ct-mate__name a span { transform: translateX(6px); }
.ct-mate:hover .ct-mate__name a { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.ct-mate__name a:focus-visible { outline: none; }
.ct-mate:has(a:focus-visible) { outline: 3px solid var(--ink-dark); outline-offset: 8px; }
.ct-mate__role { font-weight: 500; color: #7d2a1f; white-space: nowrap; }
.ct-mate__text { margin-top: 8px; max-width: 38ch; color: #33403f; }
@media (max-width: 860px) {
	.ct-crew__list { grid-template-columns: 1fr; row-gap: 36px; }
	.ct-mate { grid-template-columns: 84px 1fr; gap: 16px; }
	.ct-mate__pic { width: 84px; height: 84px; }
	.ct-mate__line { flex-direction: column; gap: 2px; }
}

/* ---------- Videos: Quallen frei sichtbar, darunter drei gleich grosse Videos ---------- */
.ct-videos.ct-ch { position: relative; z-index: 2; } /* angeheftet sonst unter der Partikel-Ebene */
.ct-videos { background: var(--c-videos); padding-block: 120px 96px; min-height: 160svh; overflow: hidden; display: flex; flex-direction: column; }
.ct-videos > .ct-bgvid { opacity: .85; }
.ct-videos__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.ct-videos__title { font-size: var(--step-display); font-weight: 900; letter-spacing: -.04em; line-height: .9; }
.ct-videos__all { font-size: var(--step-small); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* Freie Flaeche fuer die Quallen: die Videos stehen unten */
.ct-videos__window { margin-top: auto; }
.ct-videos__move { padding-top: 48svh; }
.ct-videos__wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* Mit Bewegung (front.js setzt .is-pinned-wall): Kapitel = ein Bildschirm, angeheftet. Unter der Ueberschrift liegt ein
   Fenster (--win-top aus front.js); darin wandern die Videos von unten nach oben, ohne die Ueberschrift zu verdecken. */
.ct-videos.is-pinned-wall { height: 100svh; min-height: 0; padding-bottom: 0; }
.ct-videos.is-pinned-wall.ct-ch > .ct-videos__window { position: absolute; z-index: 2; left: var(--m); right: var(--m); top: var(--win-top, 40%); bottom: 0; margin: 0; overflow: hidden; }
@media (min-width: 1024px) { .ct-videos.is-pinned-wall.ct-ch > .ct-videos__window { right: calc(var(--m) + 150px); } }
.ct-videos.is-pinned-wall .ct-videos__move { padding: 0 0 32px; will-change: transform; }
.ct-vid__play { all: unset; cursor: pointer; position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.ct-vid__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .85; }
.ct-vid__play:hover img { transform: scale(1.04); opacity: 1; }
.ct-vid__btn { position: absolute; left: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); transition: transform .2s var(--ease); }
.ct-vid__btn::after { content: ""; position: absolute; left: 22px; top: 17px; border: 11px solid transparent; border-left: 16px solid #fff; border-right: 0; }
.ct-vid__play:hover .ct-vid__btn { transform: scale(1.08); }
.ct-vid__play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ct-vid iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
.ct-vid figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; font-size: var(--step-small); }
.ct-vid figcaption b { font-weight: 500; font-size: var(--step-body); }
.ct-vid figcaption span { color: var(--muted-dark); }
.ct-videos__note { margin-top: 24px; font-size: var(--step-small); color: var(--muted-dark); }
@media (max-width: 860px) {
	.ct-videos { min-height: 0; }
	.ct-videos__wall { grid-template-columns: 1fr; gap: 28px; }
	.ct-videos__move { padding-top: 55svh; }
	.ct-videos.is-pinned-wall .ct-videos__move { padding-top: 0; }
	.ct-videos__title { font-size: 17vw; }
}

/* ---------- Live: Fotos durch Bullaugen ---------- */
.ct-live { background: var(--c-live); padding-block: 140px 160px; overflow: hidden; }
.ct-live__head { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; flex-wrap: wrap; }
.ct-live__title { font-size: var(--step-display); font-weight: 900; letter-spacing: -.04em; line-height: .9; }
.ct-live__lead { max-width: 36ch; font-size: var(--step-lead); line-height: 1.35; color: var(--bone-soft); }
.ct-live__all { display: inline-flex; gap: 10px; margin-top: 14px; color: var(--bone); font-weight: 500; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ct-live__all span { transition: transform .3s var(--ease); }
.ct-live__all:hover span { transform: translateX(6px); }
/* Naechste Haefen: Termine als Zeilen mit feiner Linie, Datum gross links */
.ct-dates { display: grid; grid-template-columns: minmax(200px, 3fr) 9fr; gap: 16px clamp(24px, 4vw, 64px); margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid rgb(237 238 234 / .16); }
.ct-dates__title { font-size: var(--step-lead); font-weight: 900; letter-spacing: -.02em; }
.ct-dates__none { display: grid; gap: 8px; color: var(--bone-soft); }
.ct-dates__none a { color: var(--bone); text-underline-offset: 4px; }
.ct-dates__calm { font-size: clamp(28px, 3vw, 44px); font-weight: 900; letter-spacing: -.035em; line-height: 1; color: var(--bone); }
.ct-dates__list { margin: 0; padding: 0; list-style: none; }
.ct-date { display: grid; grid-template-columns: clamp(130px, 13vw, 200px) minmax(0, 1fr) minmax(0, 12em); justify-items: start; align-items: center; gap: 12px 32px; padding: 20px 0; border-bottom: 1px solid rgb(237 238 234 / .16); }
.ct-date:first-child { padding-top: 0; }
.ct-date__when time { display: grid; }
.ct-date__when b { font-size: clamp(36px, 3.6vw, 56px); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
.ct-date__when span, .ct-date__what span { font-size: var(--step-small); color: var(--muted-dark); }
.ct-date__what { display: grid; gap: 4px; }
.ct-date__what b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.ct-date__go { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; border: 2px solid rgb(237 238 234 / .35); border-radius: 999px; font-weight: 500; text-decoration: none; white-space: nowrap; justify-self: end; transition: border-color .2s, background-color .2s, color .2s; }
.ct-date__go:hover { border-color: var(--bone); background: var(--bone); color: var(--ink-dark); }
.ct-port__rows { margin-top: 80px; display: grid; gap: clamp(24px, 4vw, 56px); margin-inline: calc(var(--m) * -1); }
@media (min-width: 1024px) { .ct-port__rows { margin-right: calc((var(--m) + 150px) * -1); } }
.ct-port__row { display: flex; align-items: center; gap: clamp(28px, 4.5vw, 72px); width: max-content; padding-left: var(--m); will-change: transform; }
.ct-port__row + .ct-port__row { padding-left: 14vw; }
.ct-port { --d: min(23vw, 340px); position: relative; flex: none; width: var(--d); }
.ct-port--l { --d: min(31vw, 460px); }
.ct-port--s { --d: min(17vw, 250px); }
.ct-port:nth-child(even) { margin-top: 6vw; }
/* Glas mit dickem Eisenring */
.ct-port__glass {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	border: clamp(9px, 1.15vw, 17px) solid #26332f;
	background: #0b1214;
	cursor: zoom-in;
	transition: border-color .3s;
}
.ct-port__glass::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%; border: 2px solid rgb(237 238 234 / .3); pointer-events: none; }
.ct-port__glass img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.28) translateX(var(--px, 0px)); transition: filter .4s; filter: brightness(.9); }
.ct-port__glass:hover { border-color: #3a4a45; }
.ct-port__glass:hover img { filter: brightness(1.05); }
.ct-port__glass:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
/* Nieten auf dem Ring (SVG, 12 Stueck) */
.ct-port::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	aspect-ratio: 1;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%238f9b94'%3E%3Ccircle cx='98' cy='50' r='1.4'/%3E%3Ccircle cx='91.6' cy='74' r='1.4'/%3E%3Ccircle cx='74' cy='91.6' r='1.4'/%3E%3Ccircle cx='50' cy='98' r='1.4'/%3E%3Ccircle cx='26' cy='91.6' r='1.4'/%3E%3Ccircle cx='8.4' cy='74' r='1.4'/%3E%3Ccircle cx='2' cy='50' r='1.4'/%3E%3Ccircle cx='8.4' cy='26' r='1.4'/%3E%3Ccircle cx='26' cy='8.4' r='1.4'/%3E%3Ccircle cx='50' cy='2' r='1.4'/%3E%3Ccircle cx='74' cy='8.4' r='1.4'/%3E%3Ccircle cx='91.6' cy='26' r='1.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	z-index: 2;
}
@media (max-width: 860px) {
	.ct-live { padding-block: 110px 120px; }
	.ct-live__lead { font-size: var(--step-body); }
	.ct-port { --d: 46vw; }
	.ct-port--l { --d: 60vw; }
	.ct-port--s { --d: 36vw; }
	.ct-port__rows { margin-top: 48px; }
	.ct-dates { grid-template-columns: 1fr; }
	.ct-date { grid-template-columns: auto 1fr; gap: 12px 20px; }
	.ct-date__go { grid-column: 1 / -1; justify-self: start; }
}


/* ---------- Anheuern: Kontakt in grossen Zeilen ---------- */
.ct-hire { background: var(--c-hire); padding: 160px 0 0; }
@media (min-width: 1024px) { .ct-hire.ct-ch { padding-right: 150px; } }
.ct-row {
	display: flex;
	align-items: flex-end;
	min-height: 150px;
	padding: 0 20px 28px;
	font-size: clamp(44px, 6vw, 88px);
	line-height: 1;
	letter-spacing: -.02em;
}
/* Das Wrack liegt unter den Zeilen; Grund dunkel genug fuer die helle Schrift */
.ct-hire { overflow: hidden; }
.ct-hire > .ct-bgvid { opacity: .5; object-position: 50% 70%; }
.ct-row a { text-decoration: none; transition: color .2s; }
.ct-row a:hover { color: var(--muted-dark); }
.ct-hire__title { font: inherit; font-weight: 900; letter-spacing: -.03em; }
/* Runder Pfeil mit hellem Ring */
.ct-round { display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; border: 2px solid currentColor; font-size: .8em; line-height: 1; transition: transform .2s var(--ease), background-color .2s, color .2s; }
/* Logbuch (Newsletter): grosse Eingabezeile mit Unterstrich und rundem Pfeil */
.ct-row--nl { display: block; min-height: 0; padding-top: 56px; padding-bottom: 120px; font-size: clamp(28px, 3vw, 44px); }
.ct-nl { display: grid; gap: 14px; max-width: 900px; }
.ct-nl__label { font-weight: 900; letter-spacing: -.03em; }
.ct-nl__field { display: flex; align-items: center; gap: 18px; border-bottom: 2px solid rgb(237 238 234 / .45); transition: border-color .2s; }
.ct-nl__field:focus-within { border-color: var(--bone); }
.ct-nl__input { flex: 1; min-width: 0; padding: 10px 0 12px; border: 0; background: transparent; color: var(--bone); font: inherit; font-size: .7em; letter-spacing: -.01em; }
.ct-nl__input::placeholder { color: var(--muted-dark); opacity: 1; }
.ct-nl__input:focus { outline: none; }
.ct-nl__go { flex: none; padding: 0; border: 0; background: none; color: var(--bone); font-size: inherit; cursor: pointer; }
.ct-nl__go:hover .ct-round, .ct-nl__go:focus-visible .ct-round { transform: translateX(6px); background: var(--bone); color: var(--ink-dark); }
.ct-nl__go:disabled { opacity: .5; cursor: wait; }
.ct-nl__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-nl__note { max-width: 60ch; font-size: var(--step-small); line-height: 1.5; letter-spacing: 0; color: var(--bone-soft); }
.ct-nl__note a { text-decoration: underline; text-underline-offset: 3px; }
.ct-nl__msg { font-size: var(--step-body); line-height: 1.4; letter-spacing: 0; font-weight: 500; color: #f0b3ad; }
.ct-nl__msg:empty { display: none; }
.ct-nl__msg.is-ok { color: var(--bone); }
@media (max-width: 860px) {
	.ct-row { min-height: 84px; padding: 0 16px 18px; font-size: 9.6vw; }
	.ct-row--nl { padding-top: 40px; padding-bottom: 80px; font-size: 7vw; }
	.ct-nl__input { font-size: 18px; }
	.ct-nl__go .ct-round { width: 44px; height: 44px; font-size: 20px; }
	.ct-row--mail { font-size: 6.6vw; }
}

/* ---------- Tiefsee-Partikel (meer.js) ---------- */
/* Liegt ueber den Farbflaechen der Kapitel, aber unter ihren Inhalten (z-index 2) */
.ct-meer { position: fixed; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.ct-meer:not(.is-on) { display: none !important; } /* Three.js setzt display:block inline */
.ct-ch:not(.ct-hero) > :not(.ct-bgvid, dialog), .ct-foot > * { position: relative; z-index: 2; }

