/*
Theme Name: Olas Navigator
Theme URI: https://olasnavigator.com/
Author: Olas Navigator
Description: Controlled custom theme based on the approved Version 4 Astro design.
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: olas-navigator
*/

@font-face {
  font-family: 'Archivo Olas';
  src: url('assets/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  /* Kurz auf die Schrift warten statt sofort umzuspringen; mit dem Preload ist sie meist rechtzeitig da. */
  font-display: fallback;
}

:root {
  --ink: #0b1d26;
  --ink-2: #33464f;
  --ink-3: #6b7b82;
  --paper: #f6f3ec;
  --paper-2: #ece7dc;
  --white: #fff;
  --line: rgb(11 29 38 / .12);
  --red: #e1251b;
  --red-ink: #b81a12;
  --sand: #d9c7a3;
  --green: #25d366;
  --font: 'Archivo Olas', 'Arial Narrow', Arial, sans-serif;
  --gutter: 16px;
  --max: 1320px;
  --radius: 22px;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; letter-spacing: -.006em; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

h1, h2, h3, h4 { margin: 0; color: inherit; font-weight: 700; text-wrap: balance; }
/* Von Hand geöffnetes T in „Let’s“, siehe olas_display_text(). */
.kern-t { margin-inline: .04em .06em; }
.display { font-size: clamp(3rem, 12vw, 5.8rem); font-stretch: 125%; font-weight: 900; letter-spacing: -.055em; line-height: .86; text-transform: uppercase; }
.h2 { font-size: 34px; font-stretch: 118%; font-weight: 900; letter-spacing: -.045em; line-height: .88; text-transform: uppercase; }
h3, h4 { font-stretch: 112%; font-weight: 850; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.lead { max-width: 40ch; color: var(--ink-2); font-size: 19px; line-height: 1.5; }
.copy { display: grid; gap: 20px; }
.copy p { max-width: 66ch; margin: 0; color: var(--ink-2); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 112px; } .lead { font-size: 21px; } }
/* Überschriftengrößen wie im Astro-Entwurf (34 / 48 / 60 px); vorher wuchsen sie mit der Breite bis 69 px. */
@media (min-width: 768px) { .h2 { font-size: 48px; } }
@media (min-width: 1200px) { .h2 { font-size: 60px; } }
.dark { background: var(--ink); color: var(--white); }
.dark .lead, .dark .copy p { color: rgb(255 255 255 / .72); }
.media { overflow: hidden; background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 1000; top: 8px; left: 8px; width: auto; height: auto; padding: 10px 14px; margin: 0; clip: auto; background: var(--white); color: var(--ink); }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #1c3440; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: currentColor; }
.btn-ghost.light, .dark .btn-ghost { border-color: rgb(255 255 255 / .3); color: var(--white); }
.btn-whatsapp { min-height: 54px; padding-inline: 26px; border-color: var(--green); background: var(--green); color: var(--white); font-size: 16px; }
.btn-whatsapp:hover { border-color: #1ebe5b; background: #1ebe5b; }
.btn-whatsapp svg { width: 22px; height: 22px; }

/* Header: intentionally the only navigation layer allowed to overlay scrolling content. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: var(--white); }
.admin-bar .site-header { top: 32px; }
.site-menu { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-logo img { width: 178px; height: auto; }
.desktop-nav { display: none; }
.desktop-nav ul, .mobile-menu ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.desktop-nav ul { display: flex; align-items: center; gap: 18px; }
.desktop-nav a, .mobile-menu a { font-size: 14px; font-stretch: 85%; font-weight: 800; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; }
.desktop-nav a:hover, .mobile-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu { position: relative; }
.mobile-menu summary { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .62); border-radius: 50%; cursor: pointer; list-style: none; background: rgb(11 29 38 / .12); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-icon { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .18s, transform .18s; }
.menu-icon svg { width: 21px; height: 21px; }
.menu-icon-close { opacity: 0; transform: rotate(-45deg); }
.mobile-menu[open] summary { background: var(--paper); color: var(--ink); }
.mobile-menu[open] .menu-icon-open { opacity: 0; transform: rotate(45deg); }
.mobile-menu[open] .menu-icon-close { opacity: 1; transform: rotate(0); }
.mobile-menu nav { position: absolute; top: 58px; right: 0; width: min(86vw, 330px); padding: 10px; border: 1px solid rgb(255 255 255 / .16); border-radius: 16px; background: var(--ink); box-shadow: 0 20px 48px rgb(0 0 0 / .3); }
.mobile-menu li + li { border-top: 1px solid rgb(255 255 255 / .12); }
.mobile-menu a { display: block; padding: 15px 12px; }
.floating-whatsapp { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--white); box-shadow: 0 10px 24px -10px rgb(11 29 38 / .55); }
.floating-whatsapp svg { width: 31px; height: 31px; }
@media (min-width: 1240px) { .desktop-nav { left: 2cm !important; } }
@media (min-width: 1100px) { .desktop-nav { display: block; position: relative; left: 1cm; } .mobile-menu, .floating-whatsapp { display: none; } .site-logo img { width: 216px; } }
.olas-schedule-page .floating-whatsapp { display: none; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Footer and shared CTA */
.site-footer { padding-block: 64px 28px; }
.footer-grid { display: grid; gap: 42px; }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; margin: 0; color: rgb(255 255 255 / .62); font-size: 15px; text-transform: uppercase; }
.site-footer nav ul, .footer-contact { display: grid; gap: 10px; align-content: start; }
.site-footer nav a, .footer-contact a { color: rgb(255 255 255 / .82); font-size: 15px; text-decoration: none; }
.site-footer nav li { font-size: 15px; line-height: 1.5; }
.footer-contact { gap: 12px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; flex: none; }
.copyright { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); color: rgb(255 255 255 / .5); font-size: 13px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; } }
.contact-band { padding-block: 80px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.contact-grid { display: grid; gap: 32px; align-items: end; }
.contact-grid .display { max-width: 15ch; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .contact-band { padding-block: 100px; } .contact-grid { grid-template-columns: 1fr auto; gap: 64px; } .contact-actions { justify-content: flex-end; } }

/* Homepage */
.home-hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; color: var(--white); background: var(--ink); }
.home-hero-media { position: absolute; inset: 0; z-index: 0; }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 54%; transform: scale(1.1) translate(-2.5%, -4.5%); }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(11 29 38 / .68) 0%, rgb(11 29 38 / .44) 72%, rgb(11 29 38 / .26) 100%), linear-gradient(180deg, rgb(11 29 38 / .34) 0%, rgb(11 29 38 / 0) 18%, rgb(11 29 38 / 0) 43%, rgb(11 29 38 / .84) 61%, var(--ink) 72%); }
.home-hero-inner { position: relative; z-index: 2; flex: 1; display: grid; align-content: center; justify-items: start; padding-top: 124px; padding-bottom: 24px; }
.home-hero-copy { width: min(100%, 760px); display: grid; gap: 15px; }
.home-hero-copy .display { max-width: 11ch; }
.home-hero-copy > p { max-width: 57ch; margin: 0; color: rgb(255 255 255 / .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Next-Trip-Kasten „Glass split action“: oben Daten wie im Kalender, unten Verfügbarkeit + WhatsApp. */
.next-card { width: min(100%, 330px); overflow: hidden; border: 1px solid rgb(255 255 255 / .22); border-radius: var(--radius); background: rgb(11 29 38 / .42); color: var(--white); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-variant-numeric: tabular-nums; }
.next-top { display: grid; gap: 7px; padding: 16px 18px 14px; }
.next-label { color: var(--sand); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.next-card strong { font-size: 24px; font-stretch: 110%; font-weight: 900; letter-spacing: -.015em; line-height: 1.05; text-transform: uppercase; }
.next-meta { color: rgb(255 255 255 / .7); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.next-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-top: 1px solid rgb(255 255 255 / .14); background: rgb(11 29 38 / .5); }
.next-status { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 850; }
.next-status i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #33945a; box-shadow: 0 0 0 3px rgb(51 148 90 / .25); }
.next-card[data-availability='limited'] .next-status i { background: #d9a51e; box-shadow: 0 0 0 3px rgb(217 165 30 / .25); }
.next-card[data-availability='unavailable'] .next-status i { background: var(--red); box-shadow: 0 0 0 3px rgb(218 45 37 / .25); }
/* Nur weiße Zeichen ohne Knopf; beim Darüberfahren etwas größer. */
.next-wa { display: inline-flex; gap: 7px; align-items: center; min-height: 38px; padding: 0 6px; color: var(--white); font-size: 13px; font-weight: 800; text-decoration: none; transform-origin: right center; transition: transform .2s cubic-bezier(.22, .8, .24, 1); }
.next-wa:hover, .next-wa:focus-visible { transform: scale(1.1); }
.next-wa svg { width: 17px; height: 17px; color: var(--white); }
@media (prefers-reduced-motion: reduce) { .next-wa { transition: none; } }
@media (min-width: 980px) { .home-hero-media img { object-position: center; transform: none; } .home-hero::before { background: linear-gradient(180deg, rgb(11 29 38 / .45), transparent 22%), linear-gradient(90deg, rgb(11 29 38 / .84), rgb(11 29 38 / .48) 44%, transparent 69%); } .home-hero-inner { padding-top: 144px; padding-bottom: 32px; } .home-hero-copy { width: min(100%, 820px); } .home-hero-copy .display { max-width: 15ch; font-size: clamp(4rem, 5.4vw, 4.85rem); } .home-hero-copy > p { font-size: 18px; } }
.who-grid, .boat-grid { display: grid; gap: 42px; align-items: center; }
.who-copy, .boat-copy { display: grid; gap: 27px; justify-items: start; }
.portrait-media { aspect-ratio: 4 / 5; }
.numbered-points { width: 100%; list-style: none; margin: 23px 0 0; padding: 0; border-top: 1px solid var(--line); }
.numbered-points li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.numbered-points li > span { color: var(--red); font-size: 12px; font-weight: 850; }
.numbered-points h3 { font-size: 21px; }
.numbered-points p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.boat-section, .destination-section, .home-schedule-section { padding-top: 0; }
.boat-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wide-media { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.square-media { aspect-ratio: 1; }
.boat-grid { gap: 40px; align-items: stretch; }
.boat-copy { gap: 21px; align-content: center; }
.boat-copy h3 { font-size: 17px; }
.spec-grid { display: grid; width: 100%; margin: 0; border-top: 1px solid var(--line); }
.spec-grid div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-grid dt { color: var(--ink-3); font-size: 13px; }
.spec-grid dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; }
.section-title { margin-bottom: 40px; }
.destination-grid { display: grid; gap: 12px; }
.destination-card { position: relative; min-height: 520px; display: block; overflow: hidden; isolation: isolate; color: var(--white); text-decoration: none; }
.destination-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.destination-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 28%, rgb(11 29 38 / .9)); }
.destination-card:hover > img { transform: scale(1.04); }
.destination-body { position: absolute; inset: auto 0 0; display: grid; gap: 12px; padding: 26px; }
.destination-body h3 { font-size: 29px; }
.destination-body p { margin: 0; color: rgb(255 255 255 / .78); font-size: 15px; }
.destination-body span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.destination-body svg { width: 18px; height: 18px; }
.section-head { display: grid; gap: 20px; margin-bottom: 40px; }
.story-home-grid { display: grid; gap: 48px; }
.story-copy { display: grid; gap: 20px; }
/* Nur im dunklen Startseiten-Abschnitt hell; auf der hellen Über-uns-Seite war der Text sonst fast unsichtbar. */
.dark .story-copy p { max-width: 65ch; margin: 0; color: rgb(255 255 255 / .72); }
.dark .story-copy .story-closing { color: var(--white); font-size: 20px; font-weight: 750; }
.story-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story-media .media:first-child { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
.story-media .media { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .who-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } .boat-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } .spec-grid.compact { grid-template-columns: repeat(3, 1fr); } .destination-grid { grid-template-columns: repeat(3, 1fr); } .destination-card { min-height: 570px; } .section-head { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 56px; } .section-head > :last-child { justify-self: end; } .story-home-grid { grid-template-columns: 1.08fr .92fr; gap: 72px; } }

/* Shared page heroes */
.page-hero { position: relative; min-height: 660px; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: var(--white); background: var(--ink); }
.page-hero-media { position: absolute; inset: 0; z-index: 1; background-repeat: no-repeat; background-size: cover; }
/* Sehr dezenter Schatten oben links hinter dem Logo (About: helles Wellenweiß). */
.page-hero.has-logo-shade::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 520px 300px at 0 0, rgb(11 29 38 / .3), rgb(11 29 38 / .12) 45%, transparent 75%); }
/* Nur unten abdunkeln, damit die Überschrift lesbar bleibt; obere Bildhälfte bleibt klar. */
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgb(11 29 38 / 0) 0%, rgb(11 29 38 / 0) 48%, rgb(11 29 38 / .38) 72%, rgb(11 29 38 / .74) 100%); }
.page-hero-copy { position: relative; z-index: 3; display: grid; gap: 18px; padding-top: 150px; padding-bottom: 54px; }
.page-hero-copy .display { max-width: 12ch; font-size: clamp(3.2rem, 7vw, 6.8rem); }
.page-hero-copy .lead { margin: 0; color: rgb(255 255 255 / .8); }
.plain-hero { padding: 156px 0 72px; color: var(--white); background: var(--ink); }
.plain-hero .display { max-width: 12ch; font-size: clamp(2.55rem, 7vw, 6.8rem); }
.plain-head, .terms-head { display: grid; gap: 20px; justify-items: start; }
.plain-head p, .terms-head p { max-width: 62ch; margin: 0; color: rgb(255 255 255 / .72); }
@media (min-width: 900px) { .page-hero { min-height: 760px; } .page-hero-copy { padding-bottom: 72px; } }

/* Full schedule */
.schedule-wrap { max-width: 1220px; }
.schedule-page-section { padding-top: 72px; }
.olas-schedule-page .plain-head p { max-width: 52ch; }
.year-block + .year-block { margin-top: 64px; }
.year-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin-bottom: 28px; }
.year-updated { margin: 0; color: rgb(11 29 38 / .5); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.included-grid { display: grid; gap: 52px; }
.included-grid > div { display: grid; gap: 18px; }
.included-grid ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgb(255 255 255 / .14); }
.included-grid li { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgb(255 255 255 / .14); color: rgb(255 255 255 / .72); }
.included-grid li svg { width: 19px; height: 19px; flex: none; color: var(--sand); }
.faq-grid { display: grid; gap: 45px; }
.faq-title { display: grid; gap: 18px; align-content: start; }
.faq-title p { margin: 0; color: var(--ink-2); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-3); font-size: 26px; font-weight: 400; line-height: 1; transition: transform .38s cubic-bezier(.22, .8, .24, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[data-closing] summary::after { transform: none; }
.faq details > div { max-width: 70ch; padding-bottom: 24px; color: var(--ink-2); }
.faq details p { margin: 0; }
.schedule-missing { display: grid; gap: 16px; justify-items: start; padding: 32px; background: var(--white); }
.schedule-missing p { margin: 0; color: var(--ink-2); }
@media (min-width: 800px) { .included-grid { grid-template-columns: 1fr 1fr; gap: 70px; } }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } }

/* Fahrtkarte (template-parts/trip-card.php) – wie src/versions/version-4/TripCard.astro */
.trip-list { display: grid; gap: 10px; }
.trip-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: 14px; background: var(--white); color: var(--ink); font-variant-numeric: tabular-nums; box-shadow: 0 1px 0 rgb(11 29 38 / .06), 0 0 0 1px rgb(11 29 38 / .07); }
.trip-row small { display: block; color: var(--ink-3); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.trip-row .cr-trip { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgb(11 29 38 / .1); }
.trip-row .cr-trip strong { font-size: 20px; font-weight: 900; line-height: 1; white-space: nowrap; }
.trip-row .meta { color: #4f6068; font-size: 10px; font-weight: 850; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
.trip-row .cr-journey { display: grid; grid-template-columns: auto minmax(36px, 1fr) auto; gap: 16px; align-items: center; min-width: 0; padding: 20px; }
.trip-row .cr-when { display: grid; gap: 3px; }
.trip-row .cr-when strong { font-size: 22px; font-stretch: 110%; font-weight: 900; letter-spacing: -.015em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.trip-row .cr-end { text-align: right; }
.trip-row .voyage { --stroke: #687174; display: grid; grid-template-columns: auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto; gap: 8px; align-items: center; min-width: 0; }
.trip-row .voyage .line { height: 1.5px; border-radius: 1px; background: var(--stroke); }
.trip-row .voyage .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.trip-row .boat { position: relative; margin: 0; color: var(--stroke); line-height: 0; transform: translateY(-7px); }
.trip-row .boat svg { width: 74px; height: auto; overflow: visible; stroke: currentColor; }
.trip-row .boat path, .trip-row .boat circle { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.trip-row .boat .canopy { fill: var(--white); }
.trip-row .boat .tribal path, .trip-row .boat .tribal circle { stroke-width: 1.1; }
.trip-row .boat figcaption { position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%); color: var(--stroke); font-size: 9px; font-weight: 850; letter-spacing: .16em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.trip-row .cr-side { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid rgb(11 29 38 / .1); }
/* Trip-Feld links (mobil oben) in der Farbe der Verfügbarkeit, hell getönt. */
.trip-row .cr-trip { background: #7cc794; }
.trip-row[data-availability='limited'] .cr-trip { background: #e8b93a; }
.trip-row[data-availability='unavailable'] .cr-trip { background: #e07a6c; }
/* Ausgebuchte bzw. private Fahrten: beige überzogen, der farbige Kopf bleibt frei, der Knopf ist dann kein Link. */
.trip-row[data-availability='unavailable']::after { content: ''; position: absolute; inset: 0; z-index: 2; background: rgb(236 231 220 / .62); pointer-events: none; }
.trip-row[data-availability='unavailable'] .cr-trip { position: relative; z-index: 3; }
.trip-row .trip-btn.is-disabled { cursor: default; pointer-events: none; }
/* Auf den kräftigen Tönen reicht Mittelgrau nicht, Labels und Zusatzzeilen dunkel. */
.trip-row .cr-trip small, .trip-row .cr-trip .meta { color: var(--ink); }
.trip-row .trip-status { display: grid; gap: 5px; min-width: 0; }
.trip-row .trip-status strong { display: flex; gap: 9px; align-items: center; font-size: 15px; }
.trip-row .availability-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #33945a; box-shadow: 0 0 0 3px rgb(51 148 90 / .16); }
[data-availability='limited'] .availability-dot { background: #d9a51e; box-shadow: 0 0 0 3px rgb(217 165 30 / .18); }
[data-availability='unavailable'] .availability-dot { background: var(--red); box-shadow: 0 0 0 3px rgb(218 45 37 / .16); }
.trip-row .trip-btn { width: auto; min-height: 48px; margin: 0; padding: 0 18px; border: 1px solid #1fa855; border-radius: 12px; background: #1fa855; color: var(--white); white-space: nowrap; }
.trip-row .trip-btn:hover { border-color: #178a45; background: #178a45; color: var(--white); }
.trip-row .trip-btn svg { width: 20px; height: 20px; color: var(--white); }
@media (max-width: 560px) { .trip-row .cr-side { grid-template-columns: 1fr; gap: 12px; } .trip-row .trip-btn { width: 100%; } .trip-row .cr-journey { gap: 8px; } .trip-row .voyage { gap: 4px; } .trip-row .boat { transform: translateY(-4px); } .trip-row .boat svg { width: 40px; } }
@media (min-width: 800px) {
  .trip-row { grid-template-columns: minmax(110px, .5fr) minmax(0, 1.9fr) minmax(190px, .8fr); gap: 24px; align-items: stretch; min-height: 148px; padding-left: 24px; }
  .trip-row .cr-trip { position: relative; display: grid; gap: 3px; align-content: center; justify-content: start; margin-left: -24px; padding: 0 24px; border-bottom: 0; }
  .trip-row .cr-side::before { content: ''; position: absolute; top: 18%; bottom: 18%; width: 1px; background: rgb(11 29 38 / .14); }
  .trip-row .cr-side::before { left: 0; }
  .trip-row .cr-journey { padding: 22px 0; }
  .trip-row .cr-when strong { font-size: 26px; }
  .trip-row .cr-side { grid-template-columns: 1fr; align-content: center; gap: 13px; padding: 22px; border-top: 0; }
  .trip-row .trip-btn { width: 100%; }
}

/* Boat, about, terms, contact */
.boat-intro, .equipment-grid, .story-page-grid, .reasons-grid { display: grid; gap: 42px; }
.boat-intro, .equipment-grid { gap: 40px; }
.equipment-grid > div:first-child { display: grid; gap: 18px; align-content: start; }
/* Datenliste: Bootsseite etwas größer, Startseite (compact) kleiner, wie im Entwurf. */
.boat-intro .spec-grid div { padding: 18px 0; }
.boat-intro .spec-grid dd { margin-top: 3px; font-size: 19px; font-weight: 750; }
.spec-grid.compact div { padding: 13px 0; }
.spec-grid.compact dd { font-size: 17px; font-weight: 650; }
@media (min-width: 600px) and (max-width: 899px) { .spec-grid.compact { grid-template-columns: repeat(2, 1fr); } }
.boat-intro-copy { display: grid; gap: 18px; align-content: start; }
.boat-intro-copy p { max-width: 44ch; margin: 0; color: var(--ink-2); font-size: 17px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.archive-section { padding-top: 0; }
.archive-grid { display: grid; gap: 10px; }
.gallery-grid .media, .archive-grid .media { aspect-ratio: 1; }
.equipment-photo { aspect-ratio: 1; margin-top: 20px; }
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rule-list li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rule-list svg { width: 19px; height: 19px; flex: none; color: var(--red); }
.safety { display: grid; gap: 12px; margin: 38px 0 24px; }
.safety h3 { font-size: 26px; }
.safety p { margin: 0; color: var(--ink-2); }
.story-page-grid .story-copy { font-size: 18px; }
.story-page-grid .closing { color: var(--ink); font-size: 22px; font-weight: 800; }
.reasons { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reasons li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.reasons span { color: var(--red); font-size: 12px; font-weight: 800; }
.reasons p { margin: 0; }
.contact-page-grid { display: grid; gap: 50px; }
.contact-copy { display: grid; gap: 20px; align-content: start; justify-items: start; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.contact-link svg { width: 22px; height: 22px; flex: none; }
.contact-link[data-track='whatsapp_click'] svg { color: var(--green); }
.contact-form { display: grid; gap: 18px; padding: 26px; background: var(--white); }
.contact-form label { display: grid; gap: 7px; color: var(--ink-2); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); font-size: 16px; text-transform: none; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; color: var(--ink-3); font-size: 13px; }
/* Feld nur für Bots; Menschen sehen und erreichen es nicht. */
.contact-form .form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; font-weight: 650; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red); }
.contact-form[aria-busy='true'] .btn { opacity: .6; pointer-events: none; }
.contact-form:has(.form-done) { align-content: center; }
.form-done { display: grid; gap: 12px; justify-items: center; max-width: 46ch; margin-inline: auto; text-align: center; }
.form-done h2 { margin: 0; font-size: 28px; font-stretch: 110%; font-weight: 900; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.form-done p { margin: 0; color: var(--ink-2); }
.terms-list { max-width: 1020px; }
.term-section { display: grid; gap: 22px; padding: 34px 0; border-top: 1px solid var(--line); }
.term-heading { display: grid; gap: 10px; align-content: start; }
.term-heading span { color: var(--red); font-size: 12px; font-weight: 800; }
.term-heading h2 { font-size: 24px; font-weight: 900; line-height: 1; text-transform: uppercase; }
.editorial-content { max-width: 900px; }
.editorial-content > * { max-width: 70ch; }
@media (min-width: 780px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } .archive-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .term-section { grid-template-columns: 300px 1fr; gap: 54px; padding: 46px 0; } }
@media (min-width: 900px) { .boat-intro, .equipment-grid, .story-page-grid, .reasons-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } .boat-intro, .equipment-grid { grid-template-columns: .8fr 1.2fr; } .spec-grid { grid-template-columns: repeat(2, 1fr); } .boat-intro .spec-grid div { padding-right: 24px; } .contact-page-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } .contact-form { padding: 40px; } }

/* Destination pages */
.destination-intro { display: grid; gap: 42px; align-items: start; }
.intro-copy { font-size: 18px; }
.destination-map-grid { display: grid; }
.map-copy { order: 1; display: grid; gap: 20px; align-content: center; justify-items: start; padding: 72px var(--gutter); }
.map-copy p { max-width: 58ch; margin: 0; color: rgb(255 255 255 / .74); }
.destination-map { position: relative; order: 2; aspect-ratio: 3 / 4; background: var(--ink); }
.destination-map::before { content: ''; position: absolute; inset: 0; background: var(--paper); -webkit-mask: url('assets/images/olas-region-islands.svg') center / contain no-repeat; mask: url('assets/images/olas-region-islands.svg') center / contain no-repeat; }
.destination-map > img { width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.map-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-route path { fill: none; stroke: var(--red); stroke-width: 2.5px; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map-marker { --marker-size: clamp(15px, 1.7vw, 22px); position: absolute; left: var(--marker-x); top: var(--marker-y); width: 0; height: 0; color: var(--paper); }
.map-marker i { position: absolute; width: var(--marker-size); height: var(--marker-size); border: 3px solid var(--paper); border-radius: 50%; background: var(--red); box-shadow: 0 4px 13px rgb(0 0 0 / .3); transform: translate(-50%, -50%); }
.map-marker strong { position: absolute; left: calc(var(--marker-size) / 2 + 8px); top: 0; width: max-content; max-width: 18ch; font-size: clamp(12px, 1.15vw, 17px); font-weight: 900; letter-spacing: .055em; line-height: .95; text-transform: uppercase; text-shadow: 0 2px 12px rgb(11 29 38 / .9); transform: translateY(-50%); }
.map-marker[data-marker-side='left'] strong { left: auto; right: calc(var(--marker-size) / 2 + 8px); text-align: right; }
.map-marker-port { color: var(--ink); }
.map-marker-port strong { text-shadow: none; }
.spots-head { max-width: 850px; margin-bottom: 56px; }
.spots-grid { display: flex; flex-direction: column; gap: 12px; }
.spot-column { display: contents; }
.spot-card { align-self: start; width: 100%; overflow: clip; border: 1px solid var(--line); background: var(--white); }
.spot-trigger { width: 100%; min-height: 112px; display: grid; grid-template-columns: 1fr 44px; gap: 22px; align-items: center; padding: 24px 26px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.spot-title { display: flex; flex-direction: column-reverse; gap: 9px; }
.spot-title h3 { font-size: clamp(23px, 3vw, 29px); }
.spot-title strong { color: var(--ink-3); font-size: 11px; letter-spacing: .075em; text-transform: uppercase; }
.spot-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: color .35s, background-color .35s; }
.spot-toggle svg { width: 20px; height: 20px; transition: transform .45s; }
.spot-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s, opacity .24s; }
.spot-panel-inner { min-height: 0; overflow: hidden; }
.spot-body { display: grid; gap: 14px; padding: 0 26px 28px; transform: translateY(-8px); transition: transform .45s; }
.spot-body p { margin: 0; color: var(--ink-2); font-size: 16px; }
.spot-card[data-open] .spot-panel { grid-template-rows: 1fr; opacity: 1; }
.spot-card[data-open] .spot-body { transform: none; }
.spot-card[data-open] .spot-toggle { border-color: var(--ink); background: var(--ink); color: var(--white); }
.spot-card[data-open] .spot-toggle svg { transform: rotate(180deg); }
.welcome-grid { display: grid; gap: 40px; }
@media (max-width: 899px) { .map-marker[data-marker-side='right'] strong { left: calc(var(--marker-size) / 2 + 8px); right: auto; text-align: left; } }
@media (min-width: 760px) { .spots-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; } .spot-column { display: flex; flex-direction: column; gap: 14px; } .spot-trigger { min-height: 128px; padding: 26px 30px; } .spot-body { padding: 0 30px 32px; } }
@media (min-width: 900px) { .destination-intro { grid-template-columns: 1fr 1fr; gap: 80px; } .destination-intro .intro-copy { order: 1; } .destination-intro .intro-head { order: 2; } .destination-map-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; gap: clamp(54px, 6vw, 100px); } .destination-map { order: 2; min-height: 650px; } .destination-map::before { top: -1px; } .map-copy { order: 1; padding: 112px 0 112px max(var(--gutter), calc((100vw - var(--max)) / 2)); } .welcome-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }


/* Fotoslider (Elementor-Baustein „Olas Photo Slider“): feste Bildform, wischen oder Pfeile. */
.olas-slider { --per-view: 2; display: grid; gap: 18px; }
.olas-slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.olas-slider-track::-webkit-scrollbar { display: none; }
.olas-slide { margin: 0; scroll-snap-align: start; display: grid; gap: 10px; }
.olas-slide .media { aspect-ratio: var(--slide-ratio, 3 / 2); }
.olas-slide figcaption { color: var(--ink-2); font-size: 14px; }
.dark .olas-slide figcaption { color: inherit; opacity: .75; }
.olas-slider-nav { display: flex; gap: 10px; justify-content: flex-end; }
.olas-slider-nav button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.olas-slider-nav button:first-child svg { transform: scaleX(-1); }
.olas-slider-nav svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .olas-slider-track { grid-auto-columns: calc((100% - (var(--per-view) - 1) * 14px) / var(--per-view)); } }

/* Elementor-Seiten: Olas-Bausteine laufen randlos, ohne Elementors eigene Abstände. */
.elementor .e-con:has(> .elementor-widget[class*='elementor-widget-olas-']),
.elementor .e-con:has(> .e-con-inner > .elementor-widget[class*='elementor-widget-olas-']) { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; padding: 0; }
.elementor .elementor-widget[class*='elementor-widget-olas-'] { width: 100%; margin: 0; }
.elementor .elementor-widget[class*='elementor-widget-olas-'] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-section:has(.elementor-widget[class*='elementor-widget-olas-']) .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }
/* Elementor setzt Bilder auf height: auto; in den festen Bildrahmen müssen sie den Rahmen füllen. */
.elementor .media img, .elementor .home-hero-media img, .elementor .destination-card > img, .elementor .destination-map > img { height: 100%; }
