/* Startseite: eine Lotung. Oberfläche, drei Tiefen, Grund, wieder hoch, an Deck. */

/* ------------------------------------------------------------- Oberfläche -- */
.hero { position: relative; height: 250svh; background: var(--deep-0); }
.hero__stage { position: sticky; top: var(--bar-h); height: calc(100svh - var(--bar-h)); overflow: hidden; isolation: isolate; }
.hero__world {
  position: absolute; left: 50%; top: 0; z-index: 1;
  width: max(100%, calc((100svh - var(--bar-h)) * 1.62)); aspect-ratio: 3 / 2;
  transform: translate3d(-50%, var(--wy, 0px), 0) scale(var(--ws, 1)); transform-origin: 42% 44.6%;
  will-change: transform;
}
.hero__plate, .hero__plate img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero__plate img { object-fit: cover; }
.hero__boat { position: absolute; left: 37%; width: 29%; top: 44.6%; height: 0; }
.hero__bob {
  position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 900 / 434;
  transform: translate3d(var(--bx, 0px), 15%, 0) rotate(var(--br, 0deg)); transform-origin: 50% 85%;
  will-change: transform;
}
.hero__hull { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; clip-path: inset(0 0 15% 0); }
.hero__hull--under { clip-path: inset(85% 0 0 0); opacity: .42; filter: blur(1.2px) saturate(.5) brightness(.9) hue-rotate(-12deg); transform: translateY(2%) scaleX(1.01); }
.hero__line { position: absolute; left: 93.2%; top: 29%; width: 3px; height: var(--len, 60%); overflow: visible; }
.hero__line line { stroke: rgb(235 240 238 / .75); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

.hero__snow { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.hero__copy, .hero__sub {
  position: absolute; z-index: 3; left: max(var(--gutter), env(safe-area-inset-left, 0px));
  width: min(44rem, calc(100% - 2 * var(--gutter)));
  transform: translate3d(0, var(--cy, 0px), 0); opacity: var(--co, 1); will-change: transform, opacity;
}
.hero__copy { top: clamp(1.25rem, 5vh, 3.5rem); }
.hero__copy h1 { font-size: clamp(2.4rem, min(calc((var(--wl, 520px) - 9vh) / 3.25), 6.2vw), 6.2rem); line-height: .9; text-transform: uppercase; letter-spacing: -.012em; color: var(--ink); max-width: 11ch; }
.hero__sub { top: calc(var(--wl, 520px) + clamp(1.25rem, 3.5vh, 2.5rem)); }
.hero__sub p { font-size: var(--t-lg); line-height: 1.38; color: #F1F7F7; max-width: 32ch; margin: 0; text-shadow: 0 1px 2px rgb(4 30 38 / .55), 0 2px 18px rgb(4 30 38 / .45); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.4rem !important; }
.hero__actions .link-arrow { color: #F3F8F9; border-color: var(--falu-light); }
.hero__dive {
  position: absolute; z-index: 3; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 30%;
  margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--t-2xl); line-height: .95;
  color: var(--sea-ink); max-width: 9ch; text-align: right; opacity: var(--do, 0); transform: translate3d(0, var(--dy, 30px), 0);
  text-shadow: 0 2px 18px rgb(4 17 26 / .5);
}
.hero__kelp {
  position: absolute; z-index: 5; left: 50%; bottom: 0; width: max(100%, 1000px); max-width: none; height: auto;
  transform: translate3d(-50%, var(--ky, 70%), 0); will-change: transform; pointer-events: none;
}
.hero__stage::after { content: ""; position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(to bottom, transparent, var(--deep-0)); opacity: var(--fo, 0); pointer-events: none; }

/* Hochkant: die Platte füllt nur den oberen Teil, die Schrift steht im Wasser darunter */
.hero__world::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26%; background: linear-gradient(to bottom, transparent, var(--deep-0)); }
@media (max-aspect-ratio: 1/1) {
  .hero { height: 220svh; }
  .hero__world { width: 175%; transform: translate3d(-40%, var(--wy, 0px), 0) scale(var(--ws, 1)); transform-origin: 30% 44.6%; }
  .hero__boat { left: 26%; width: 34%; }
  .hero__copy { top: calc(var(--wl, 300px) + 1.4rem); }
  .hero__copy h1 { color: #F3F8F9; font-size: clamp(2.5rem, 11.5vw, 4.2rem); max-width: 10ch; text-shadow: 0 2px 16px rgb(4 30 38 / .4); }
  .hero__sub { top: auto; bottom: clamp(1.25rem, 4svh, 2.5rem); }
  .hero__sub p { font-size: 1.1rem; max-width: 28ch; }
  .hero__dive { bottom: auto; top: 58%; font-size: 2.1rem; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 600px) {
  .hero__sub p { display: none; }
}

/* --------------------------------------------------------------- Säule -- */
.column { position: relative; color: var(--sea-ink); }
.column .link-arrow { border-color: var(--falu-light); }
.column .link-arrow:hover { color: var(--falu-light); }
.depth { position: relative; padding: clamp(5rem, 11vw, 10rem) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.depth--a { background: linear-gradient(var(--deep-0), var(--deep-1)); padding-top: clamp(3rem, 7vw, 6rem); }
.depth--sink { background: linear-gradient(var(--deep-1), var(--deep-2)); min-height: 60svh; display: grid; place-items: center; }
.depth--sink p, .depth--quiet p { font-family: var(--display); font-weight: 700; font-size: var(--t-xl); color: var(--sea-ink-soft); text-transform: uppercase; margin: 0; letter-spacing: .02em; text-align: center; max-width: 22ch; }
.depth--b { background: linear-gradient(var(--deep-2), var(--deep-3)); }
.depth--quiet { background: linear-gradient(var(--deep-3), var(--deep-4)); min-height: 70svh; display: grid; place-items: center; }
.depth--deep { background: var(--deep-4); min-height: 90svh; display: grid; align-items: center; overflow: hidden; }
.deep__fig { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: -.12em; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 22vw, 22rem); line-height: .8; color: color-mix(in oklab, var(--sea-ink) 7%, var(--deep-4)); pointer-events: none; font-variant-numeric: tabular-nums; }
.deep__grid { position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.deep__text { position: relative; }
.deep__specimens { position: relative; display: grid; min-width: 0; }
.spec { margin: 0; position: relative; }
.spec img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 100%); }
.spec figcaption { position: absolute; left: 12%; bottom: 10%; font-family: var(--label); font-weight: 600; font-size: .95rem; letter-spacing: .03em; color: var(--sea-ink-soft); }
.spec figcaption i { font-family: var(--text); font-size: 1.02rem; color: var(--sea-ink); }
.spec--rot { width: 72%; justify-self: end; z-index: 1; }
.spec--leng { width: 92%; margin-top: -16%; z-index: 2; }
@media (max-width: 900px) { .deep__grid { grid-template-columns: minmax(0, 1fr); } .spec--rot { width: 80%; } .spec--leng { width: 100%; margin-top: -10%; } }
.depth__mark { position: absolute; top: 1.5rem; right: max(var(--gutter), env(safe-area-inset-right, 0px)); font-family: var(--label); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sea-ink-soft); padding-top: .4rem; border-top: 1px solid currentColor; }
.depth__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.depth__grid--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.depth__text { min-width: 0; padding-left: clamp(1rem, 4vw, 3rem); }
.depth__text h2 { font-size: var(--t-3xl); text-transform: uppercase; line-height: .9; margin-bottom: 1.4rem; color: #F3F8F9; }
.depth__text p { line-height: 1.7; letter-spacing: .005em; max-width: 52ch; color: var(--sea-ink); }
.depth__text .links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 1.6rem; }
.depth__pic { margin: 0; min-width: 0; }
.depth__pic img { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 30px 60px -30px rgb(2 10 16 / .7); }
.depth__pic figcaption { font-family: var(--label); font-size: .95rem; color: var(--sea-ink-soft); margin-top: .7rem; max-width: 46ch; }
.depth__grid > .depth__pic:first-child { margin-left: calc(-1 * clamp(0rem, 3vw, 3rem)); }
@media (max-width: 900px) {
  .depth__grid, .depth__grid--flip { grid-template-columns: minmax(0, 1fr); }
  .depth__text { padding-left: 1rem; }
  .depth__grid--flip .depth__pic { order: 2; }
}

/* Leine: hängt während der Tiefen am linken Rand */
.leine { position: fixed; z-index: 40; top: var(--bar-h); left: calc(max(var(--gutter), 1rem) * .42); height: 56svh; width: 1px; pointer-events: none;
  background: linear-gradient(to bottom, rgb(227 237 239 / 0), rgb(227 237 239 / .6)); opacity: 0; transition: opacity 300ms var(--ease); }
.leine__jig { position: absolute; left: -4px; bottom: -36px; width: 9px; height: 36px; border-radius: 45% 45% 40% 40% / 20% 20% 60% 60%;
  background: linear-gradient(90deg, #8E9DA4, #F4F7F8 45%, #A7B5BB 60%, #5F6E75); box-shadow: 0 0 0 .5px rgb(0 0 0 / .3); }
.leine__jig::after { content: ""; position: absolute; left: 2px; bottom: -7px; width: 5px; height: 7px; border: 1.5px solid #C9D2D6; border-top: 0; border-radius: 0 0 5px 5px; }
.line-on .leine { opacity: 1; }
.leine { animation: sway 6s ease-in-out infinite alternate; transform-origin: top center; }
@keyframes sway { from { transform: rotate(.35deg); } to { transform: rotate(-.35deg); } }

/* ----------------------------------------------------------------- Grund -- */
.grund { position: relative; height: 330svh; background: var(--deep-2); }
.grund__stage { position: sticky; top: var(--bar-h); height: calc(100svh - var(--bar-h)); overflow: hidden; transform: translate3d(var(--jx, 0px), var(--jy, 0px), 0); }
.grund__fish { position: absolute; left: 50%; bottom: -4%; width: min(1500px, 150%); transform: translate3d(-50%, 0, 0) scale(var(--fs, 1.08));
  opacity: var(--fo, 0); filter: brightness(var(--fb, .4)); transition: none;
  -webkit-mask-image: radial-gradient(ellipse 48% 56% at 50% 62%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 48% 56% at 50% 62%, #000 45%, transparent 100%); }
.grund__fish img { width: 100%; height: auto; max-width: none; }
.grund__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.grund__line path { fill: none; stroke: rgb(227 237 239 / .7); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.grund__jig { position: absolute; left: 50%; top: var(--jt, -10%); width: 11px; height: 44px; margin-left: -5.5px; border-radius: 45% 45% 40% 40% / 20% 20% 60% 60%;
  background: linear-gradient(90deg, #7F8E95, #F4F7F8 45%, #A7B5BB 60%, #4F5E65); box-shadow: 0 0 22px 4px rgb(200 225 230 / var(--glow, .08)); }
.grund__bite { position: absolute; left: 50%; top: 38%; margin: 0; transform: translate(-50%, -50%) scale(var(--bs, .96)); opacity: var(--bo, 0);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(5rem, 3rem + 14vw, 15rem); line-height: .85; color: var(--falu-light); letter-spacing: -.01em; pointer-events: none; }
.grund__copy { position: absolute; z-index: 3; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: clamp(1.5rem, 7vh, 5rem); width: min(36rem, calc(100% - 2 * var(--gutter)));
  opacity: var(--go, 0); transform: translate3d(0, var(--gy, 20px), 0); }
.grund__copy::before { content: ""; position: absolute; z-index: -1; inset: -3rem -4rem -3rem -40vw; background: radial-gradient(ellipse at 20% 70%, rgb(14 47 61 / .9) 30%, transparent 72%); }
.grund__copy h2 { font-size: var(--t-3xl); text-transform: uppercase; line-height: .9; color: #F3F8F9; margin-bottom: 1rem; }
.grund__copy p { line-height: 1.68; color: var(--sea-ink); }

/* -------------------------------------------------- Auftauchen, Kalender -- */
.auf { background: linear-gradient(var(--deep-4), var(--deep-2) 60%, var(--deep-1)); }
.auf__stage { height: calc(100svh - var(--bar-h)); top: var(--bar-h); display: grid; grid-template-rows: auto 1fr; gap: 1.5rem; padding-block: clamp(1.5rem, 5vh, 3.5rem) 2rem; overflow: hidden; }
.auf__head { padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: minmax(0, auto) minmax(0, 38ch); gap: .5rem 3rem; align-items: end; }
.auf__head h2 { font-size: var(--t-3xl); text-transform: uppercase; line-height: .9; color: #F3F8F9; grid-row: span 2; }
.auf__head p { margin: 0; color: var(--sea-ink); }
.auf__rail { gap: 0; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); align-items: stretch; min-height: 0; }
.month { flex: 0 0 clamp(15rem, 24vw, 21rem); padding: 1.2rem 1.6rem 1.2rem 1.2rem; border-left: 1px solid color-mix(in oklab, var(--sea-ink) 22%, transparent); display: flex; flex-direction: column; gap: .7rem; min-height: 0; }
.month h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); text-transform: uppercase; color: #F3F8F9; }
.month__light { font-family: var(--label); font-weight: 600; font-size: .98rem; color: var(--sea-ink-soft); margin: 0; letter-spacing: .02em; }
.month ul { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .35rem; }
.month li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--label); font-weight: 600; font-size: 1.08rem; border-bottom: 1px solid color-mix(in oklab, var(--sea-ink) 12%, transparent); padding-bottom: .3rem; }
.lv { display: block; height: 6px; width: 60px; border-radius: 1px; background: linear-gradient(90deg, currentColor var(--w), color-mix(in oklab, var(--sea-ink) 14%, transparent) var(--w)); color: var(--sea-ink-soft); flex: none; }
.lv1 { --w: 33%; } .lv2 { --w: 66%; color: #8FC7D3; } .lv3 { --w: 100%; color: var(--falu-light); }
.month__tip { margin-top: auto; font-size: 1rem; line-height: 1.5; color: var(--sea-ink); }
@media (max-width: 760px) {
  .auf__head { grid-template-columns: minmax(0, 1fr); }
  .auf__head h2 { grid-row: auto; }
}

/* --------------------------------------------------------------- An Deck -- */
.deck { background: var(--chart); padding-block: clamp(5rem, 10vw, 9rem); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); border-top: 6px solid var(--falu); }
.deck__in { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.deck__intro h2 { font-size: var(--t-2xl); text-transform: uppercase; line-height: .92; margin-bottom: 1.2rem; }
.deck__intro p { color: var(--ink-soft); max-width: 40ch; }
.deck__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.deck__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.05; transition: color 150ms var(--ease), padding 0ms; }
.deck__list a::after { content: ""; flex: none; width: 22px; height: 2px; background: var(--falu); transform: translateY(-.35em); transition: transform 180ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .deck__list a:hover { color: var(--falu); } .deck__list a:hover::after { transform: translate(6px, -.35em); } }
.deck__guide { max-width: var(--maxw); margin: clamp(5rem, 10vw, 8rem) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.deck__pic { margin: 0 0 0 calc(-1 * clamp(0rem, 4vw, 4rem)); }
.deck__pic img { width: 100%; height: auto; border-radius: 2px; }
.deck__guidetext h2 { font-size: var(--t-2xl); text-transform: uppercase; line-height: .92; margin-bottom: 1.2rem; }
.deck__guidetext p { max-width: 50ch; }
@media (max-width: 900px) { .deck__in, .deck__guide { grid-template-columns: minmax(0, 1fr); } .deck__pic { margin: 0; } }

/* ------------------------------------------------------------- Fangbuch -- */
.close { background: var(--chart-2); padding-block: clamp(4rem, 9vw, 8rem); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.close__in { max-width: var(--maxw); margin: 0 auto; }
.close h2 { font-size: var(--t-3xl); text-transform: uppercase; line-height: .9; max-width: 14ch; }
.close__lede { font-size: var(--t-lg); line-height: 1.4; max-width: 46ch; margin: 1.2rem 0 clamp(2rem, 5vw, 3.5rem); }

/* ---------------------------------------------------------------- Echolot -- */
.sonar { position: fixed; z-index: 50; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: max(1rem, env(safe-area-inset-bottom, 0px)); width: 248px; height: 156px;
  background: #061219; border: 1px solid #1D3542; border-radius: 4px; box-shadow: 0 2px 4px rgb(0 0 0 / .3), 0 18px 32px -12px rgb(0 0 0 / .6); overflow: hidden;
  opacity: 0; transform: translateY(12px); transition: opacity 260ms var(--ease), transform 260ms var(--ease); pointer-events: none; }
.in-water .sonar { opacity: 1; transform: none; }
.sonar__screen { position: absolute; inset: 0; width: 100%; height: 100%; }
.sonar__read { position: absolute; left: .7rem; top: .4rem; font-family: var(--display); color: #E8F2F4; display: flex; align-items: baseline; gap: .2rem; text-shadow: 0 1px 0 #061219; }
.sonar__read b { font-size: 2.1rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sonar__read span { font-family: var(--label); font-weight: 700; font-size: .9rem; }
.sonar__fish { position: absolute; left: .7rem; right: .7rem; bottom: .35rem; margin: 0; font-family: var(--label); font-weight: 600; font-size: .82rem; letter-spacing: .03em; color: #9DB8C1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .sonar { left: 0; right: 0; bottom: 0; width: auto; height: calc(54px + env(safe-area-inset-bottom, 0px)); border-radius: 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .sonar__screen { left: auto; width: 46%; height: 54px; }
  .sonar__read { top: .5rem; }
  .sonar__read b { font-size: 1.8rem; }
  .sonar__fish { left: 5.5rem; right: 48%; bottom: auto; top: 1.15rem; white-space: normal; line-height: 1.15; }
  .leine { height: 50svh; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; top: 0; height: min(92svh, 60rem); }
  .grund { height: auto; }
  .grund__stage { position: relative; top: 0; height: auto; min-height: 90svh; padding-bottom: 2rem; }
  .grund__fish { opacity: 1; filter: none; position: relative; bottom: auto; transform: translateX(-50%); }
  .grund__bite, .grund__jig, .grund__line { display: none; }
  .grund__copy { position: relative; opacity: 1; transform: none; bottom: auto; margin-top: -8rem; }
  .leine { animation: none; }
}

/* Karten-Teaser an Deck */
.deck__map { max-width: var(--maxw); margin: clamp(5rem, 10vw, 8rem) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.deck__maptext h2 { font-size: var(--t-2xl); text-transform: uppercase; line-height: .92; margin-bottom: 1.2rem; }
.deck__maptext p { max-width: 44ch; }
.deck__map .lmap { margin: 0; }
@media (max-width: 900px) { .deck__map { grid-template-columns: minmax(0, 1fr); } }
