/* Soča layer for the ana site (Alpin Adventures, Čezsoča).
   Loaded after style.min.css and cms-blocks.css; overrides only.

   Direction (unslop pass, 2026-11-16):
   - Character: clear, cold, unhurried.
   - World: the Soča riverbed. Warm limestone neutrals, ink text, one deep
     river-teal for actions. The orange lives only in the logo image.
   - Moments: the hero aerial photo and the activity photo strip carry all
     the colour; the chrome around them stays quiet.
   - Signature: the live river reading from the Log Čezsoški gauge
     (php/river.php), shown in the hero. No other decoration.

   Colours resolve through var(--cms-*, fallback) so the CMS theme
   (site_themes.ana) stays authoritative. --cms-brand is the action colour;
   frontend/src/lib/cms/textPairs.ts SITE_DEFAULTS.ana mirrors these
   fallbacks. Layout/craft rules adapted from unslop by Damir Sokolovsky
   (@heydamir), CC BY 4.0. */

@font-face {
  font-family: 'Kanit';
  src: url('../fonts/Kanit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Kanit';
  src: url('../fonts/Kanit-Medium.ttf') format('truetype');
  font-weight: 500 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
/* :root:root outranks style.css :root and design-tokens.css, which
   index.php/preise.php link after this file. */
:root:root {
  /* Neutral ramp, warm limestone */
  --soca-stone: var(--cms-surface, #F2EFE9);      /* page: sand */
  --soca-card: #FFFFFF;
  --soca-raised: #EFE9DF;
  --soca-mist: var(--cms-secondary-soft, #DFE9E4); /* alternate sections: 12% teal on sand */
  --soca-ink: var(--cms-ink, #074B59);             /* primary text: petrol, 8.5:1 on sand */
  --soca-text-2: color-mix(in srgb, var(--soca-ink) 80%, #fff); /* secondary */
  --soca-muted: color-mix(in srgb, var(--soca-ink) 68%, #fff);  /* meta, 4.6:1 on stone */
  --soca-line: color-mix(in srgb, var(--soca-ink) 10%, transparent);
  --soca-line-strong: color-mix(in srgb, var(--soca-ink) 22%, transparent);

  /* Accent: deep river teal, actions and links only */
  --soca-water: var(--cms-secondary, #0AA6A6);     /* accent only, never text (2.6:1 on sand) */
  --soca-cta: var(--cms-brand, #074B59);
  --soca-cta-hover: color-mix(in srgb, var(--soca-cta) 82%, #000);
  /* Booking only: logo orange, darkened to 5.2:1 under white text */
  --soca-book: #FF8F00;                            /* palette 2026-11-21 */
  --soca-book-hover: color-mix(in srgb, var(--soca-book) 90%, #000);
  --soca-book-ink: #05343E;                        /* text on the orange, 5.9:1 */
  --soca-amber: #FFB000;                           /* stars and prices only */
  --soca-deep: color-mix(in srgb, var(--soca-ink) 92%, #000); /* footer */

  /* Type */
  --soca-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --soca-display: 'Kanit', var(--soca-font);

  /* Rhythm (4px grid) */
  --soca-section: 96px;
  --soca-intro-gap: 48px;
  --soca-radius-control: 10px;
  --soca-radius-card: 16px;

  /* Depth and motion */
  --soca-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --soca-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --soca-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --soca-fast: 160ms;

  /* Legacy names in style.css / design-tokens.css */
  --orange: var(--soca-cta);
  --green: var(--soca-cta);
  --green-dark: var(--soca-cta-hover);
  --link-color: var(--soca-cta);
  --link-hover-color: var(--soca-cta-hover);
  --mood-color: var(--soca-cta);
  --aka-color-brand: var(--soca-cta);
  --aka-color-brand-hover: var(--soca-cta-hover);
  --aka-color-brand-strong: var(--soca-cta);
  --aka-color-secondary: var(--soca-water);
  --aka-color-secondary-soft: var(--soca-mist);
  --aka-color-secondary-strong: var(--soca-cta);
  --aka-color-bg: var(--soca-stone);
  --aka-color-bg-alt: var(--soca-mist);
  --aka-color-text: var(--soca-ink);
  --aka-color-text-muted: var(--soca-muted);
  --aka-color-border: var(--soca-line-strong);
  --aka-color-link: var(--soca-cta);
  --aka-color-link-hover: var(--soca-cta-hover);
}
@media (max-width: 768px) {
  :root:root {
    --soca-section: 64px;
    --soca-intro-gap: 32px;
  }
}

/* ---------- Base type ---------- */
body {
  background-color: var(--soca-stone);
  color: var(--soca-ink);
}
body, p, a, span, li, label, input, textarea, select, button, option {
  font-family: var(--soca-font);
}
p { color: var(--soca-text-2); }

/* Hierarchy from size and colour, not weight: Kanit 500, sentence case. */
h1, h2, h3, h4,
.hero-fs .hero-content h1 {
  font-family: var(--soca-display);
  font-weight: 500;
  color: var(--soca-ink);
  text-transform: none;
}
h1, h2 { letter-spacing: -0.01em; }
h3, h4 { letter-spacing: 0; }

:focus-visible {
  outline: 2px solid var(--soca-cta);
  outline-offset: 2px;
}

/* Section labels: sentence case, quiet, no tracking, no ornament. */
.above-header,
#hero .above-header,
#angebote .section-intro .above-header {
  font-family: var(--soca-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--soca-muted);
  margin-bottom: 8px;
}
.footer-nav-col h6,
.blog-toc h3,
.trip-meta-label,
.aka-partners-heading,
.ana-prices-page .content-hero .overline,
.ana-prices .ana-price-group-title {
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Navigation (akade style) ----------
   Solid white bar with ink text by default. On the homepage (a page with the
   full-bleed .hero-fs photo) it starts transparent with white text and a
   larger logo, and turns solid once js/navbar-scroll.js adds .scrolled.
   Mark-only logo, an outline CTA and the live river pill, like akade. */
:root:root { --soca-nav-h: 72px; }
.site-nav {
  background: color-mix(in srgb, #fff 94%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  transition: background-color 300ms var(--soca-ease), box-shadow 300ms var(--soca-ease);
}
.nav-inner {
  height: var(--soca-nav-h);
  max-width: 1240px;
  transition: height 300ms var(--soca-ease);
}
.nav-logo img { height: 44px; transition: height 300ms var(--soca-ease); }
.nav-logo:hover img { opacity: 1; }
.nav-menu { gap: 4px; }
.nav-menu > li > a {
  font-family: var(--soca-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--soca-ink);
  padding: 8px 14px;
  border-radius: 8px;
  background: none;
}
.nav-menu > li > a:hover,
.nav-menu > li > a:focus-visible { color: var(--soca-cta); background: none; }
/* Dropdown also opens for keyboard users, not only on hover. */
.nav-has-dropdown:focus-within .nav-mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-right { gap: 12px; }
.site-nav .nav-cta {
  background: transparent;
  color: var(--soca-cta);
  border: 1.5px solid var(--soca-cta);
  padding: 9px 20px;
  font-size: 15px;
}
.site-nav .nav-cta:hover { background: var(--soca-cta); color: #fff; }
.nav-toggle span { background: var(--soca-ink); }

/* backdrop-filter makes .site-nav the containing block of the fixed mobile
   panel (.nav-mobile), clipping it to the bar. Drop it while the menu is
   open so the panel can cover the screen. */
.site-nav:has(.nav-mobile.open) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #fff;
}

/* Dropdown: neutral icon tiles, tighter rows. */
.nav-mega-dropdown { padding: 8px; border-radius: var(--soca-radius-card); border: 1px solid var(--soca-line); box-shadow: var(--soca-shadow); }
.mega-item { padding: 10px 12px; gap: 12px; align-items: center; border-radius: var(--soca-radius-control); }
.mega-item:hover { background: var(--soca-raised); }
.mega-item i { background: var(--soca-raised); color: var(--soca-ink); margin: 0; flex-shrink: 0; }
.mega-item:hover i { background: var(--soca-card); color: var(--soca-ink); }
.mega-item strong { display: block; font-family: var(--soca-font); font-weight: 500; font-size: 15px; line-height: 20px; color: var(--soca-ink); }
.mega-item span { display: block; font-size: 13px; line-height: 18px; color: var(--soca-muted); }

/* Live river pill (components/river-pill, php/river.php) on the solid bar */
@media (max-width: 1180px) { .nav-river { display: none; } }

/* Transparent state over the homepage hero */
body:has(.hero-fs) { --soca-nav-h: 96px; }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-logo img { height: 60px; }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-menu > li > a { color: #fff; }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-menu > li > a:hover { color: color-mix(in srgb, #fff 75%, transparent); }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-cta { color: #fff; border-color: color-mix(in srgb, #fff 70%, transparent); }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-cta:hover { background: #fff; color: var(--soca-ink); border-color: #fff; }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-toggle span { background: #fff; }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-right .lang-switch { color: #fff; }
body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-river {
  --river-pill-bg: var(--river-pill-dark-bg);
  --river-pill-line: color-mix(in srgb, var(--river-pill-white) 14%, transparent);
  --river-pill-fg: color-mix(in srgb, var(--river-pill-white) 70%, transparent);
  --river-pill-strong: var(--river-pill-white);
}
.site-nav.scrolled { --soca-nav-h: 72px; }
.site-nav.scrolled .nav-inner { height: 72px; }
/* The river pill moved into the nav; keep the hero line only where the nav
   hides the pill (narrow screens). */
@media (min-width: 1181px) {
  .hero-fs .hero-river,
  .hero-text-inner .hero-river { display: none; }
}
@media (max-width: 991px) {
  body:has(.hero-fs) { --soca-nav-h: 72px; }
  body:has(.hero-fs) .site-nav:not(.scrolled):not(:has(.nav-mobile.open)) .nav-logo img { height: 48px; }
}

/* ---------- Buttons: one radius, no lift, no coloured shadow ---------- */
.btn3, .nav-cta, .hero-fs .hero-ctas a, .btn-whatsapp,
.btn-outline, .btn-outline-light, .btn2 {
  font-family: var(--soca-font);
  border-radius: var(--soca-radius-control);
  box-shadow: none;
  transform: none;
  font-weight: 500;
  transition: background-color var(--soca-fast) var(--soca-ease),
              border-color var(--soca-fast) var(--soca-ease),
              color var(--soca-fast) var(--soca-ease);
}
.btn3, .nav-cta, .hero-fs .cta-primary, .btn-whatsapp {
  background: var(--soca-cta);
  color: #fff;
}
.btn3:hover, .nav-cta:hover, .hero-fs .cta-primary:hover, .btn-whatsapp:hover {
  background: var(--soca-cta-hover);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.btn3:active, .nav-cta:active, .hero-fs .hero-ctas a:active { transform: scale(0.98); }
.nav-cta { padding: 8px 20px; font-family: var(--soca-font); }
/* Booking CTAs are orange with dark petrol text (white fails on #FF8F00);
   every other action stays petrol. */
.hero-fs .cta-primary, a.btn3[href="#booking"], .btn3.btn-book, #bookingForm button[type="submit"] {
  background: var(--soca-book);
  color: var(--soca-book-ink);
}
.hero-fs .cta-primary:hover, a.btn3[href="#booking"]:hover, .btn3.btn-book:hover, #bookingForm button[type="submit"]:hover {
  background: var(--soca-book-hover);
  color: var(--soca-book-ink);
}
/* On the solid bar the nav CTA is filled: orange text on sand is unreadable. */
.site-nav.scrolled .nav-cta, body:not(:has(.hero-fs)) .site-nav .nav-cta {
  background: var(--soca-book);
  color: var(--soca-book-ink);
  border-color: var(--soca-book);
}
.site-nav.scrolled .nav-cta:hover, body:not(:has(.hero-fs)) .site-nav .nav-cta:hover {
  background: var(--soca-book-hover);
  color: var(--soca-book-ink);
  border-color: var(--soca-book-hover);
}
.hero-fs .hero-ctas a { padding: 14px 24px; font-weight: 500; }
.btn-outline {
  border: 1px solid var(--soca-line-strong);
  color: var(--soca-ink);
  background: var(--soca-card);
}
.btn-outline:hover {
  background: var(--soca-raised);
  color: var(--soca-ink);
}
.btn-outline-light:hover, .btn2:hover { transform: none; }

/* ---------- Permit notice: compact info bar in the ink, scrolls away ---------- */
.permit-banner {
  position: absolute;
  top: var(--soca-nav-h);
  background: var(--soca-ink);
  padding: 4px 16px;
}
/* Over the photo (homepage) the bar is a dark glass strip, so it belongs to
   the transparent nav instead of cutting the hero in two. */
body:has(.hero-fs) .permit-banner {
  background: rgba(10, 20, 21, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.permit-banner[hidden] { display: none; }
.permit-banner-inner { gap: 4px 12px; }
.permit-banner-inner span,
.permit-banner-inner a { font-size: 14px; }
.permit-banner-title { font-weight: 500; }
.permit-banner-more,
.permit-banner-close {
  background: none;
  border: 0;
  color: #fff;
  font: 500 14px/1 var(--soca-font);
  cursor: pointer;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.permit-banner-more:hover,
.permit-banner-close:hover { background: color-mix(in srgb, #fff 12%, transparent); }
.permit-banner-more i { font-size: 11px; transition: transform var(--soca-fast) var(--soca-ease); }
.permit-banner.expanded .permit-banner-more i { transform: rotate(180deg); }
.permit-banner-close { min-width: 32px; justify-content: center; opacity: 0.8; }
.permit-banner-text {
  display: none;
  max-width: 880px;
  margin: 4px auto 8px;
  color: color-mix(in srgb, #fff 86%, transparent);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.permit-banner.expanded .permit-banner-text { display: block; }
@media (max-width: 576px) {
  .permit-banner { padding: 4px 12px; }
  .permit-banner-inner { gap: 0 8px; }
  .permit-banner-inner span, .permit-banner-inner a,
  .permit-banner-more, .permit-banner-text { font-size: 13px; }
  .permit-banner-inner .fa-exclamation-triangle { display: none; }
  /* Close pinned right so it never wraps onto a line of its own. */
  .permit-banner-inner { position: relative; padding-right: 36px; }
  .permit-banner-close { position: absolute; right: 0; top: 0; }
}

/* ---------- Hero ---------- */
/* No sine-line pattern over the photo; the photo is the moment. The left
   side gets a soft shade so the headline sits on calm, readable ground
   instead of on the busy part of the image. */
.hero-fs::after {
  opacity: 1;
  background: linear-gradient(90deg, rgba(8, 18, 19, 0.7) 0%, rgba(8, 18, 19, 0.4) 35%, rgba(8, 18, 19, 0) 60%);
}
.hero-fs .hero-content { padding: 0 64px 80px; max-width: 880px; }
.hero-fs .hero-content h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 8.5em;
  text-wrap: balance;
  color: #fff;
}
.hero-fs .hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 28rem;
  text-wrap: pretty;
  margin-top: 20px;
  color: color-mix(in srgb, #fff 88%, transparent);
  letter-spacing: 0;
}
.hero-fs .hero-ctas { margin-top: 32px; gap: 12px; }
.hero-fs .cta-secondary {
  background: color-mix(in srgb, #fff 10%, transparent);
  border: 1px solid color-mix(in srgb, #fff 45%, transparent);
  color: #fff;
}
.hero-fs .cta-secondary:hover { background: color-mix(in srgb, #fff 20%, transparent); }
.hero-fs .hero-scroll-indicator { display: none; }
@media (max-width: 768px) {
  /* Narrow screens: text spans the photo, so shade from the bottom up. */
  .hero-fs::after {
    background: linear-gradient(0deg, rgba(8, 18, 19, 0.75) 0%, rgba(8, 18, 19, 0.45) 50%, rgba(8, 18, 19, 0) 80%);
  }
  .hero-fs .hero-content { padding: 0 20px 48px; }
  .hero-fs .hero-subtitle { font-size: 16px; }
}

/* Signature: the live river reading (php/river.php -> components/river-pill). */
.hero-river { margin: 0 0 16px; font-size: 14px; }
.hero-text-inner .hero-river {
  --river-pill-bg: transparent;
  --river-pill-line: var(--soca-line-strong);
  --river-pill-fg: var(--soca-text-2);
  --river-pill-strong: var(--soca-ink);
}

/* Inner-page heroes (kayak, rafting, canyoning) */
#hero, .hero-text, .trip-section, .blog-grid-section { background: var(--soca-stone); }
#hero h1::after { display: none; }
#hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }

/* ---------- Section rhythm and surfaces ---------- */
#angebote, .activities-header, #reviews, #blog-preview, #gallery { background: var(--soca-stone); }
#why-us, #contact, #our-base, .included-section, .faq-section, .blog-hero { background: var(--soca-mist); }
#reviews, #why-us, #blog-preview, #gallery, #contact {
  padding-top: var(--soca-section);
  padding-bottom: var(--soca-section);
}
.activities-header { padding: var(--soca-section) 0 var(--soca-intro-gap); }
#reviews .section-intro, #why-us .section-intro, #blog-preview .section-intro,
#gallery .section-intro, #contact .section-intro {
  margin-bottom: var(--soca-intro-gap);
}

/* ---------- Activity photo strip (a moment: keep it rich, keep the chrome off it) ---------- */
.activity-panel::before {
  background: linear-gradient(transparent 40%, rgba(8, 18, 19, 0.72) 100%);
}
.activity-panel-content { padding: 40px 24px; }
.activity-panel-content h3 { color: #fff; font-size: 28px; text-shadow: none; }
.activity-panel-price { font-family: var(--soca-font); font-weight: 500; font-variant-numeric: tabular-nums; }
/* On the photos the booking button is white; the teal stays for the page. */
.activity-panel-content .btn3 {
  background: #fff;
  color: var(--soca-ink);
}
.activity-panel-content .btn3:hover { background: var(--soca-raised); color: var(--soca-ink); }
.btn-outline-light { border-width: 1px; }
/* Both tile buttons: same font, size and width (style.css gives the outline
   one Kanit); they wrap to full width when the tile is too narrow. */
.activity-panel-buttons { gap: 10px; }
.activity-panel-buttons a,
.activity-panel-buttons .btn3 {
  flex: 1 1 140px;
  max-width: 200px;
  padding: 11px 12px;
  font-family: var(--soca-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}
.activity-panel-buttons .fa-external-link-alt { margin-left: 4px; font-size: 0.75em; opacity: 0.8; }

/* Everything a guest needs is visible at rest: description, facts line and
   buttons no longer wait for :hover (which never fires on phones). Tiles keep
   their width on hover: a widening tile moved its buttons away from the
   pointer. Hover only deepens the shade. */
.activity-panel::before { background: linear-gradient(transparent 25%, rgba(8, 18, 19, 0.82) 100%); }
.activity-panel,
.activity-panel:hover { flex: 1; transition: none; }
/* Photo framing per tile: the CMS "Bildposition" field may set --tile-size /
   --tile-pos (desktop) and --tile-size-m / --tile-pos-m (phones), e.g.
   "--tile-size: auto 190%; --tile-pos: 42% 100%;". Plain background-position
   values in that field keep working (inline style wins). */
.activity-panel {
  background-size: var(--tile-size, cover);
  background-position: var(--tile-pos, center);
}
.activity-panel:hover::before { background: linear-gradient(transparent 15%, rgba(8, 18, 19, 0.88) 100%); }
.activity-panel-content p,
.activity-panel-price,
.activity-panel-buttons { opacity: 1; transform: none; }
.activity-panel-content p { margin-bottom: 12px; }
.activity-panel-content .activity-panel-facts {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.activity-panel-facts span { opacity: 0.6; padding: 0 2px; }
.activity-panel-facts .activity-panel-price { display: inline; margin: 0; opacity: 1; padding: 0; font: inherit; color: var(--soca-amber); }
@media (max-width: 768px) {
  /* Phones: one swipeable row of cards instead of four stacked columns. */
  .activity-panels {
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .activity-panels::-webkit-scrollbar { display: none; }
  .activity-panel {
    background-size: var(--tile-size-m, var(--tile-size, cover));
    background-position: var(--tile-pos-m, var(--tile-pos, center));
  }
  .activity-panel,
  .activity-panel:hover {
    flex: 0 0 82%;
    min-height: 440px;
    border-radius: var(--soca-radius-card);
    scroll-snap-align: start;
  }
}

/* ---------- Blog post end CTA: booking primary (orange), blog secondary ---------- */
.blog-cta-box.blog-cta-end {
  background: var(--soca-mist);
  border: 1px solid var(--soca-line);
  border-radius: var(--soca-radius-card);
  padding: 32px;
  margin: 40px 0 0;
}
.blog-cta-end h3 {
  font-family: var(--soca-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--soca-ink);
  margin: 0 0 8px;
}
.blog-article-body .blog-cta-end p {
  font-size: 15px !important;
  color: var(--soca-text-2);
  margin: 0 0 20px !important;
}
.blog-cta-end .blog-cta-buttons { justify-content: flex-start; margin-top: 0; }
.blog-cta-end .blog-cta-buttons a { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 576px) {
  .blog-cta-box.blog-cta-end { padding: 24px; }
  .blog-cta-end .blog-cta-buttons a { flex: 1 1 100%; justify-content: center; }
}

/* ---------- FAQ accordion (php/utilities/faq_list.php) ----------
   Same component on activity pages and blog posts. Height animates via
   grid rows, so long answers are never clipped (old max-height: 400px). */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  transition: grid-template-rows 300ms var(--soca-ease);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; max-height: none; }
.faq-answer-inner { overflow: hidden; min-height: 0; }
.faq-list .faq-answer p {           /* beats .blog-article-body p */
  font-size: 15px;
  line-height: 1.75;
  color: var(--soca-text-2);
  margin: 0 28px;
  padding: 16px 0 22px;
}
.faq-question:focus:not(:focus-visible) { outline: none; }
.faq-question:focus-visible { outline: 2px solid var(--soca-cta); outline-offset: -2px; }
.blog-article-body .faq-list { margin: 8px 0 32px; }
@media (max-width: 768px) {
  .faq-list .faq-answer p { margin: 0 22px; padding: 14px 0 18px; }
}

/* ---------- Cards: hairline, one radius, quiet hover ---------- */
.why-feature, .blog-card, .contact-card, .review-card, .faq-item {
  background: var(--soca-card);
  border: 1px solid var(--soca-line);
  border-radius: var(--soca-radius-card);
  box-shadow: none;
  transition: border-color var(--soca-fast) var(--soca-ease), box-shadow var(--soca-fast) var(--soca-ease);
}
.why-feature:hover, .blog-card:hover, .review-card:hover {
  transform: none;
  border-color: var(--soca-line-strong);
  box-shadow: var(--soca-shadow);
}
.why-feature { padding: 28px; }
.contact-card { padding: 32px; }
.review-card { padding: 28px; }
.why-icon {
  width: auto;
  height: auto;
  background: none;
  color: var(--soca-muted);
  font-size: 18px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.contact-card .contact-item i,
.base-details li i,
.trip-trust-item i,
.trip-badge i,
.booking-field label i,
.mega-item i { color: var(--soca-muted); }

/* Blog: the tag is a quiet label, not an orange badge. */
.blog-card-tag, .blog-article-tag {
  background: var(--soca-card);
  color: var(--soca-ink);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  border-radius: 6px;
}
.blog-card-link { color: var(--soca-cta); }

/* ---------- Reviews (server-rendered, php/reviews.php) ---------- */
.review-card::before { display: none; }
.review-text { font-style: normal; color: var(--soca-text-2); }
.review-stars i { color: var(--soca-amber); }
.review-cards__star { fill: var(--soca-amber); }
.review-readmore { color: var(--soca-cta); }
/* Google returns 0-5 reviews; the old fixed 5-column grid left gaps. */
@media (min-width: 769px) {
  .review-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1240px;
    padding: 0 32px;
  }
}
.reviews-summary {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--soca-ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.reviews-summary > span:last-child { white-space: nowrap; color: var(--soca-muted); }
.reviews-summary:hover { color: var(--soca-ink); text-decoration: underline; }
.reviews-summary .review-stars { display: inline-flex; gap: 2px; margin: 0; }
.reviews-summary .review-stars i { font-size: 15px; }
.reviews-summary strong { font-size: 18px; font-weight: 500; }

/* No reviews available: one link card to Google, not an error message. */
.reviews-fallback {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  background: var(--soca-card);
  border: 1px solid var(--soca-line);
  border-radius: var(--soca-radius-card);
  color: var(--soca-ink);
  transition: border-color var(--soca-fast) var(--soca-ease), box-shadow var(--soca-fast) var(--soca-ease);
}
.reviews-fallback:hover {
  color: var(--soca-ink);
  border-color: var(--soca-line-strong);
  box-shadow: var(--soca-shadow);
}
.reviews-fallback-icon {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--soca-raised);
  color: var(--soca-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reviews-fallback-icon i { color: inherit; font-size: 20px; line-height: 1; }
.reviews-fallback-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.reviews-fallback-text strong { font-family: var(--soca-display); font-weight: 500; font-size: 18px; }
.reviews-fallback-text span { color: var(--soca-muted); font-size: 15px; }
.reviews-fallback-cta { flex: 0 0 auto; font-weight: 500; color: var(--soca-cta); white-space: nowrap; }
#reviews:has(.reviews-fallback) { padding-bottom: 80px; }
#reviews:has(.reviews-fallback) .section-intro { margin-bottom: 32px; }
@media (max-width: 576px) {
  .reviews-fallback { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
}

/* ---------- Booking band ---------- */
#booking {
  background-image: linear-gradient(rgba(8, 18, 19, 0.55), rgba(8, 18, 19, 0.7)), url('../img/slideshow/8.webp');
}
#booking .above-header { color: color-mix(in srgb, #fff 80%, transparent); }
/* style.css forces these with !important; on the photo they stay white. */
#booking .fa-check-circle { color: #fff !important; }
.btn-whatsapp i, .btn-whatsapp .fab { color: inherit; }
/* Buttons inherit style.css's dark -webkit-text-fill-color from the form. */
.btn3, .nav-cta, .btn-whatsapp, .btn-outline, .btn-outline-light, .hero-fs .hero-ctas a {
  -webkit-text-fill-color: currentColor;
}
.jumping-dots { display: none; }

/* ---------- Gallery ---------- */
.gallerySwiper { padding-bottom: 0; }
.gallerySwiper .swiper-slide { border-radius: var(--soca-radius-card); transition: none; }
.gallerySwiper .swiper-slide-active { transform: none; box-shadow: none; }
.gallerySwiper .swiper-pagination { position: static; margin-top: 24px; }
.gallerySwiper .swiper-pagination-bullet { background: var(--soca-line-strong); }
.gallerySwiper .swiper-pagination-bullet-active { background: var(--soca-ink); }
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
  color: var(--soca-ink);
  box-shadow: var(--soca-shadow-sm);
  transition: background-color var(--soca-fast) var(--soca-ease);
}
.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover { transform: translateY(-50%); }

/* ---------- Floating WhatsApp: shared components/wa-float ---------- */
/* Keep the hero CTA row clear of the fixed stack on phones. */
@media (max-width: 768px) {
  .hero-fs .hero-ctas,
  #hero .hero-buttons { padding-right: 76px; }
  /* Two equal buttons side by side instead of a ragged stack. */
  .hero-fs .hero-ctas,
  #hero .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-fs .hero-ctas a,
  #hero .hero-buttons a {
    margin: 0;
    padding: 14px 12px;
    text-align: center;
    white-space: nowrap;
  }
}

/* ---------- Footer: plain ink ---------- */
footer { background: var(--soca-deep); color: color-mix(in srgb, #fff 72%, transparent); }
.footer-nav-col h6 { color: #fff; font-weight: 500; }
footer a:hover,
.footer-nav-col ul li a:hover,
.footer-impressum a:hover { color: #fff; }
.footer-divider { background: color-mix(in srgb, #fff 12%, transparent); }

/* ---------- Content hero (Preise, info pages) ---------- */
/* `body` prefix: page-hero.css is linked after this file on those pages. */
body .content-hero { background-color: var(--soca-ink); }
body .content-hero .overline { color: color-mix(in srgb, #fff 75%, transparent); }

/* ---------- Motion: nothing loops, nothing bounces ---------- */
.scroll-arrow, .scroll-arrow-2, .jumping-dots span { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Late-loading or more specific legacy rules (ana-prices.css, impressum's
   inline <style>, .booking-card-header h3) re-add caps and heavy weights. */
body .booking-card-header h3,
body .imprint-page .imprint-title,
body .imprint-page h2,
body .imprint-page h4 { font-family: var(--soca-display); font-weight: 500; }
body.ana-prices-page .content-hero .overline,
body .ana-prices .ana-price-group-title { text-transform: none; letter-spacing: 0; }

/* ==========================================================================
   Family layer (2026-11-21): shared grid and components with akade.
   Structure and data are shared (components/*, vendored from akade);
   voice and colour stay ana's (Kanit, limestone, teal).
   ========================================================================== */

/* Shared grid: 1240px container, section heads left-aligned like akade. */
@media (min-width: 1200px) {
  .container { max-width: var(--aka-container, 1240px); }
}
.section-intro,
.activities-header .container,
#angebote .section-intro,
#reviews .section-intro,
#why-us .section-intro,
#blog-preview .section-intro,
#gallery .section-intro,
.faq-section .section-intro,
.included-section .section-intro { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
.section-intro p,
.activities-header p { max-width: 62ch; margin-left: 0; margin-right: 0; }
.activities-header h2,
.section-intro h2 { text-align: left; }

/* Fact strip under the hero: limestone, ana display face for nothing but
   the headings, figures in the shared data face. */
.fact-strip { background: var(--soca-card); border-bottom-color: var(--soca-line); }
.fact-strip__label { color: var(--soca-text-2); }
.fact-strip__value { color: var(--soca-ink); }
a.fact-strip__item .fact-strip__value { color: var(--soca-cta); }

/* Reviews: shared cards on limestone. */
#reviews .review-cards { margin-top: var(--soca-intro-gap); }
.review-cards__card { background: var(--soca-card); border-color: var(--soca-line); }
.reviews-summary { display: inline-flex; gap: 8px; margin-top: 12px; color: var(--soca-cta); }

/* Warum + Basis: two CMS blocks in one layout. Base photo left (sticky on
   desktop), the reasons as a plain list and the base details right. */
.why-base {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "photo why" "photo base";
  align-items: start;
  background: var(--soca-mist);
}
.why-base > #why-us,
.why-base > #our-base { display: contents; }
.why-base #why-us > .container { grid-area: why; max-width: none; padding: var(--soca-section) 48px 0; }
.why-base .base-image {
  grid-area: photo;
  align-self: stretch;
  clip-path: none;
  margin: 0;
  min-height: 560px;
}
.why-base .base-image img { position: sticky; top: 0; height: 100%; min-height: 560px; }
.why-base .base-content {
  grid-area: base;
  max-width: none;
  padding: 40px 48px var(--soca-section);
  border-top: 1px solid var(--soca-line);
  margin: 40px 48px 0;
  padding-left: 0; padding-right: 0;
}
.why-base .base-content h2 { font-size: 24px; margin-bottom: 12px; }
.why-base .section-intro { margin-bottom: 32px; }
.why-base .why-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.why-base .why-feature {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.why-base .why-feature:hover { box-shadow: none; }
.why-base .why-feature h3 { font-size: 18px; margin: 0 0 6px; }
.why-base .why-feature p { font-size: 15px; margin: 0; }
.why-base .why-icon { margin-bottom: 10px; color: var(--soca-cta); }
@media (max-width: 991px) {
  .why-base { grid-template-columns: 1fr; grid-template-areas: "why" "photo" "base"; }
  .why-base #why-us > .container { padding: var(--soca-section) 20px 32px; }
  .why-base .base-image, .why-base .base-image img { min-height: 280px; position: static; }
  .why-base .base-content { margin: 0 20px; padding: 32px 0 var(--soca-section); border-top: 0; }
  .why-base .why-features { grid-template-columns: 1fr; gap: 20px; }
}

/* Gallery: shared masonry grid replaces the carousel. */
#gallery .masonry-gallery { margin-top: var(--soca-intro-gap); padding-inline: 15px; }
.masonry-gallery { --masonry-radius: var(--soca-radius-card); }

/* Booking: the contact line replaces the separate Kontakt section. */
.booking-contact,
#booking p#contact {
  padding: 0;
  background: none;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, #fff 85%, transparent);
  scroll-margin-top: 120px;
}
.booking-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.booking-contact span { opacity: 0.6; padding: 0 4px; }

/* Footer sister row on the deep-teal footer. */
.site-footer .sister-link,
footer .sister-link { color: color-mix(in srgb, #fff 85%, transparent); }

/* Activity pages: straight split hero (akade's course-hero geometry, ana's
   colours) instead of the diagonal cut. */
#hero .hero-image { clip-path: none; margin-left: 0; }
#hero .hero-split { align-items: stretch; }

/* "Was ist inklusive": one checklist panel instead of six cards. */
.included-section .why-features {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  padding: 36px 40px;
  background: var(--soca-card);
  border: 1px solid var(--soca-line);
  border-radius: var(--soca-radius-card);
}
.included-section .why-feature {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 14px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.included-section .why-feature:hover { box-shadow: none; border: 0; }
.included-section .why-icon { grid-row: span 2; margin: 2px 0 0; color: var(--soca-cta); font-size: 18px; }
.included-section .why-feature h3 { font-size: 17px; margin: 0 0 4px; }
.included-section .why-feature p { font-size: 15px; margin: 0; }
@media (max-width: 768px) {
  .included-section .why-features { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
}

/* ---------- Soča landscape: hero -> activities ---------- */
/* The activities rise out of the hero photo as the Soča valley: snowy
   Julian Alps, forested hills with pines and the turquoise river running
   out onto the sand. One illustration (img/soca-landscape.svg, generated),
   scaled by width so the trees never stretch; its ground is the sand. Low
   on the left, where the hero text sits. */
:root {
  --landscape-ratio: 1440 / 230;
  --landscape-max-h: 260px;
  --landscape-h: min(calc(100vw / (1440 / 230)), var(--landscape-max-h));
  --landscape-h-sm: 120px;
  --landscape-focus-sm: 80% 100%;
}
.hero-fs ~ #angebote, .hero-fs ~ .landscape-top { position: relative; z-index: 3; overflow: visible; overflow-x: clip; }
.hero-fs ~ #angebote::before,
.hero-fs ~ .landscape-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: var(--landscape-h);
  pointer-events: none;
  background: url("../img/soca-landscape.svg") 50% 100% / cover no-repeat;
}

/* Hero: photo and text lift clear of the landscape. The photo is extended
   above the hero and shifted up, so the kayaks sit higher and its bottom
   still reaches under the peaks. */
:root { --hero-lift: 260px; }
.hero-fs .hero-bg-img {
  top: calc(-1 * var(--hero-lift));
  height: calc(100% + var(--hero-lift));
}
.hero-fs .hero-content { padding-bottom: calc(var(--landscape-h) + var(--aka-space-6)); }
@media (min-width: 1200px) {
  .hero-fs .hero-content { padding-bottom: calc(var(--landscape-h) + var(--aka-space-6)); }
}
@media (max-width: 991px) {
  /* Keep the hero buttons above the peaks. */
  .hero-fs .hero-content { padding-bottom: calc(var(--landscape-h-sm) + var(--aka-space-6)); }
  .hero-fs ~ #angebote::before,
  .hero-fs ~ .landscape-top::before {
    height: var(--landscape-h-sm);
    background-position: var(--landscape-focus-sm);
  }
}

/* Facts: a quiet row on the sand under the activity cards (no box). */
#angebote + .fact-strip {
  background: var(--soca-stone);
  border-bottom: 0;
  padding-top: 0;
  padding-bottom: var(--soca-section);
}
#angebote + .fact-strip .fact-strip__item { border-inline-start-color: var(--soca-line-strong); }

/* ---------- Activity cards ---------- */
/* White cards on the sand: photo on top (the tile's own background image,
   shown above the white body), title, line, facts, buttons. */
:root {
  --card-photo-h: 220px;
  --card-gap: 24px;
}
#angebote { padding-bottom: var(--soca-intro-gap); }
#angebote .activities-header > .container { max-width: 1320px; margin-inline: auto; padding-inline: 15px; }
@media (max-width: 768px) {
  #angebote .activities-header > .container { padding-inline: 20px; }
}
#angebote .activity-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
  min-height: 0;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}
#angebote .activity-panel,
#angebote .activity-panel:hover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: 0 0;
  background-repeat: no-repeat;
  background-color: var(--soca-card);
  border-radius: var(--soca-radius-card);
  box-shadow: var(--soca-shadow);
  overflow: hidden;
  transition: transform var(--soca-fast) var(--soca-ease), box-shadow var(--soca-fast) var(--soca-ease);
}
#angebote .activity-panel:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); }
#angebote .activity-panel::before { display: none; }
/* The photo: a pseudo-element inheriting the tile's own background image and
   CMS position, cropped to the photo area (the tile itself was framed for a
   full-height panel). */
#angebote .activity-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--card-photo-h);
  background-image: inherit;
  background-position: inherit;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.4s var(--soca-ease);
}
#angebote .activity-panel:hover::after { transform: scale(1.04); }
#angebote .activity-panel-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: var(--card-photo-h);
  padding: 22px 22px 24px;
  background: var(--soca-card);
}
#angebote .activity-panel-content h3 { color: var(--soca-ink); font-size: 24px; margin-bottom: 6px; }
#angebote .activity-panel-content p { color: var(--soca-text-2); font-size: 15px; }
#angebote .activity-panel-content .activity-panel-facts { color: var(--soca-ink); margin-top: auto; }
#angebote .activity-panel-facts .activity-panel-price { color: var(--soca-cta); font-weight: 700; }
#angebote .activity-panel-buttons { flex-wrap: wrap; }
#angebote .activity-panel-buttons a { max-width: none; }
#angebote .activity-panel-buttons .btn-outline-light {
  color: var(--soca-ink);
  border-color: var(--soca-line-strong);
  background: transparent;
}
#angebote .activity-panel-buttons .btn-outline-light:hover { border-color: var(--soca-ink); background: var(--soca-raised); }
#angebote .activity-panel-content .btn3 { background: var(--soca-book); color: var(--soca-book-ink); }
#angebote .activity-panel-content .btn3:hover { background: var(--soca-book-hover); }
@media (max-width: 1100px) {
  #angebote .activity-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  #angebote .activity-panels {
    display: flex;
    padding: 0 20px 8px;
  }
  #angebote .activity-panel,
  #angebote .activity-panel:hover { flex: 0 0 82%; min-height: 0; }
}

/* ---------- Section rhythm (same beat as alpinkayakacademy) ---------- */
/* Light, light, DARK, light, DARK, light, footer: every light section sits
   on the same sand; the two dark bands (Warum + Basis, Buchen) are deep
   petrol and open/close with a mountain ridge instead of a straight edge,
   the way akade's navy bands open/close with halftone dots. The ridge is a
   mask (img/ridge-edge.svg) painted in the sand colour inside the dark
   band, so the band never spills into its neighbours. */
:root {
  --ridge-edge-h: 110px;
  --ridge-edge-h-sm: 56px;
  --soca-dark: var(--soca-ink);
  --soca-dark-text: color-mix(in srgb, #fff 78%, transparent);
  --soca-dark-muted: color-mix(in srgb, #fff 62%, transparent);
  --soca-dark-line: color-mix(in srgb, #fff 14%, transparent);
  --soca-dark-accent: color-mix(in srgb, var(--soca-water) 55%, #fff);
  --ridge-solid: linear-gradient(#000 0 0);
}
#angebote, .activities-header, #gallery, #blog-preview { background: var(--soca-stone); }

.why-base,
#booking,
.ana-dark {
  position: relative;
  background: var(--soca-dark);
  background-image: none;
  color: var(--soca-dark-text);
}
.why-base::before, .why-base::after,
#booking::before, #booking::after,
.ana-dark::before, .ana-dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: var(--ridge-edge-h);
  pointer-events: none;
  background: var(--soca-stone);
}
/* Top: petrol peaks rise into the sand above (sand = inverted ridge). */
.why-base::before, #booking::before, .ana-dark::before {
  top: 0;
  -webkit-mask: url("../img/ridge-edge.svg") 0 0 / 100% 100% no-repeat, var(--ridge-solid);
  -webkit-mask-composite: xor;
  mask: url("../img/ridge-edge.svg") 0 0 / 100% 100% no-repeat, var(--ridge-solid);
  mask-composite: exclude;
}
/* Bottom: sand peaks rise into the petrol, mirrored so the two edges differ. */
.why-base::after, #booking::after, .ana-dark::after {
  bottom: 0;
  transform: scaleX(-1);
  -webkit-mask: url("../img/ridge-edge.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../img/ridge-edge.svg") 0 0 / 100% 100% no-repeat;
}

/* Warum + Basis on petrol. */
.why-base #why-us, .why-base #our-base { background: transparent; }
.why-base #why-us > .container { padding-top: calc(var(--soca-section) + var(--ridge-edge-h)); }
.why-base .base-content { padding-bottom: calc(var(--soca-section) + var(--ridge-edge-h)); border-top-color: var(--soca-dark-line); }
.why-base h2, .why-base h3, .why-base .why-feature h3 { color: #fff; }
.why-base p, .why-base .why-feature p, .why-base .base-details li,
.why-base #why-us .section-intro p, .why-base .base-content > p { color: var(--soca-dark-text); }
.why-base .above-header { color: var(--soca-dark-accent); }
.why-base .why-icon, .why-base .base-details li i { color: var(--soca-dark-accent); }
.why-base .base-details li i { background: var(--soca-dark-line); }
.why-base .btn3 { background: #fff; color: var(--soca-dark); }
.why-base .btn3:hover { background: var(--soca-dark-accent); color: var(--soca-dark); }

/* Footer: closes the page with one more petrol ridge. */
footer { position: relative; padding-top: calc(var(--aka-space-8) + var(--ridge-edge-h)); }
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ridge-edge-h);
  pointer-events: none;
  background: var(--soca-stone);
  -webkit-mask: url("../img/ridge-edge.svg") 0 0 / 100% 100% no-repeat, var(--ridge-solid);
  -webkit-mask-composite: xor;
  mask: url("../img/ridge-edge.svg") 0 0 / 100% 100% no-repeat, var(--ridge-solid);
  mask-composite: exclude;
  transform: scaleX(-1);
}

/* Buchen straight above the footer (activity pages): one petrol block, no
   sand ribbon between two ridges. */
#booking:has(+ footer)::after,
#booking + footer::before { display: none; }
#booking + footer { padding-top: var(--aka-space-8); }

/* Buchen on petrol (was a forest photo). */
#booking { padding-top: calc(var(--soca-section) + var(--ridge-edge-h)); padding-bottom: calc(var(--soca-section) + var(--ridge-edge-h)); }
#booking:has(+ footer) { padding-bottom: var(--soca-section); }
#booking:has(+ footer) + footer { border-top: var(--partners-border-width, 1px) solid var(--soca-dark-line); }
#booking .above-header { color: var(--soca-dark-accent); }

@media (max-width: 768px) {
  .why-base::before, .why-base::after,
  #booking::before, #booking::after,
  .ana-dark::before, .ana-dark::after { height: var(--ridge-edge-h-sm); }
  .why-base #why-us > .container { padding-top: calc(var(--soca-section) + var(--ridge-edge-h-sm)); }
  .why-base .base-content { padding-bottom: calc(var(--soca-section) + var(--ridge-edge-h-sm)); }
  #booking { padding-top: calc(var(--soca-section) + var(--ridge-edge-h-sm)); padding-bottom: calc(var(--soca-section) + var(--ridge-edge-h-sm)); }
}

/* ---------- Über uns page ---------- */
/* Hero: the base photo full screen, framed on the building. Short text on
   the sand under the landscape, the base again large on petrol, then a
   booking call. */
:root {
  --about-hero-focus: 35% 75%;
  --about-measure: 62ch;
  --about-photo-ratio: 4 / 3;
}
.about-hero .hero-bg-img { object-position: var(--about-hero-focus); }
.about-hero .above-header { color: color-mix(in srgb, #fff 85%, transparent); margin-bottom: 12px; }
.about-hero .hero-subtitle { color: color-mix(in srgb, #fff 88%, transparent); max-width: 44ch; margin-top: 18px; font-size: 18px; }

#about-intro { background: var(--soca-stone); padding: var(--soca-section) 0; }
.about-intro-inner { max-width: 1320px; margin: 0 auto; padding: 0 15px var(--soca-intro-gap); }
.about-intro-inner p { max-width: var(--about-measure); font-size: 18px; line-height: 1.65; color: var(--soca-text-2); }
#about-intro .fact-strip { background: transparent; border-bottom: 0; padding-top: 0; padding-bottom: 0; justify-content: start; max-width: 1320px; margin: 0 auto; padding-inline: 15px; }
#about-intro .fact-strip__item { border-inline-start-color: var(--soca-line-strong); }

#about-base { padding: calc(var(--soca-section) + var(--ridge-edge-h)) 0; }
.about-base-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}
.about-base-photo { margin: 0; border-radius: var(--soca-radius-card); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.about-base-photo img { display: block; width: 100%; aspect-ratio: var(--about-photo-ratio); object-fit: cover; }
.about-base-text h2 { color: #fff; }
.about-base-text p { color: var(--soca-dark-text); font-size: 17px; line-height: 1.65; }
.about-base-text .above-header { color: var(--soca-dark-accent); }
.about-base-details { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.about-base-details li { margin: 0; display: flex; align-items: center; gap: 14px; color: #fff; }
.about-base-details i {
  display: inline-grid; place-items: center; flex: 0 0 36px; height: 36px; margin: 0; font-size: 15px;
  border-radius: var(--soca-radius-control); background: var(--soca-dark-line); color: var(--soca-dark-accent);
}
.about-base-details a { color: #fff; }
.about-base-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.about-base-ctas .btn3 { background: #fff; color: var(--soca-dark); }
.about-base-ctas .btn3:hover { background: var(--soca-dark-accent); color: var(--soca-dark); }
.about-base-ctas a { padding: 12px 22px; }

#about-cta { background: var(--soca-stone); padding: var(--soca-section) 15px; text-align: center; }
#about-cta p { color: var(--soca-text-2); font-size: 18px; }
.about-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.about-cta-buttons a { padding: 12px 24px; }
#about-cta .btn-book { background: var(--soca-book); color: var(--soca-book-ink); }
#about-cta .btn-book:hover { background: var(--soca-book-hover); }

@media (max-width: 991px) {
  .about-base-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .about-intro-inner, #about-intro .fact-strip { padding-inline: 20px; }
  #about-base { padding: calc(var(--soca-section) + var(--ridge-edge-h-sm)) 0; }
}

/* ---------- Warum + Basis: compact on the home page ---------- */
/* The full story lives on ueber-uns.php ("Mehr über uns"); here the texts
   are cut to a few lines, spacing is tighter and the photo is framed on
   the building instead of the sky. */
:root {
  --why-clamp-intro: 3;
  --why-clamp-feature: 3;
  --why-pad: 64px;
}
.why-base #why-us > .container { padding-top: calc(var(--why-pad) + var(--ridge-edge-h)); }
.why-base .base-content { padding-bottom: calc(var(--why-pad) + var(--ridge-edge-h)); margin-top: 28px; padding-top: 28px; }
.why-base .section-intro { margin-bottom: 28px; }
.why-base #why-us .section-intro p,
.why-base .base-content > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--why-clamp-intro);
  overflow: hidden;
}
.why-base .why-features { gap: 20px 32px; }
.why-base .why-icon { margin-bottom: 6px; }
.why-base .why-feature h3 { font-size: 17px; margin-bottom: 4px; }
.why-base .why-feature p {
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--why-clamp-feature);
  overflow: hidden;
}
.why-base .base-details { margin: 16px 0 20px; }
.why-base .base-details li { margin: 0; padding: 5px 0; }
.why-base .base-details li i { margin: 0 14px 0 0; }
.why-base .base-content .btn3 { display: inline-block; width: auto; align-self: flex-start; padding: 12px 24px; }
.why-base .base-image,
.why-base .base-image img { min-height: 0; }
.why-base .base-image img { object-position: 30% 85%; }
@media (max-width: 991px) {
  .why-base #why-us > .container { padding-top: calc(var(--why-pad) + var(--ridge-edge-h-sm)); }
  .why-base .base-content { padding-bottom: calc(var(--why-pad) + var(--ridge-edge-h-sm)); margin-top: 0; }
  .why-base .base-image, .why-base .base-image img { min-height: 240px; }
}

/* Language switcher (nav-right + mobile menu). Inherits the nav text colour so
   it works on the transparent hero nav and the solid scrolled nav. */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.lang-switch a {
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
  padding: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.lang-switch a:hover, .lang-switch a.active { opacity: 1; }
.lang-switch a.active { font-weight: 700; }
.lang-switch--mobile { gap: 8px; font-size: 15px; padding: 8px 0; }
/* Desktop: dropdown. Trigger inherits the nav colour (white on the hero nav);
   the list is a light card like the activities mega dropdown. */
/* Reset the global FAQ details/summary styles (style.css "DETAILS / FAQ"). */
.lang-switch--menu, .lang-switch--menu:hover, .lang-switch--menu[open] {
  position: relative;
  display: block;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 13px;
  text-align: left;
}
.lang-switch--menu summary { color: inherit; justify-content: flex-start; }
.lang-switch--menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1.5px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.lang-switch--menu summary::-webkit-details-marker { display: none; }
.lang-switch--menu summary::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.15s ease;
}
.lang-switch--menu[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.lang-switch--menu summary:hover, .lang-switch--menu[open] summary {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.lang-switch--menu summary:focus-visible { outline: 2px solid var(--soca-cta); outline-offset: 2px; }
.lang-switch-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--soca-ink) 20%, transparent);
  z-index: 1001;
}
.lang-switch--menu .lang-switch-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--soca-ink);
  opacity: 1;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.lang-switch-list .lang-code { width: 1.75em; font-size: 0.85em; font-weight: 700; letter-spacing: 0.04em; opacity: 0.55; }
.lang-switch--menu .lang-switch-list a:hover { background: color-mix(in srgb, var(--soca-cta) 8%, transparent); }
.lang-switch--menu .lang-switch-list a.active { font-weight: 700; }
.lang-switch--menu .lang-switch-list a.active::after {
  content: "";
  margin-left: auto;
  width: 0.35em;
  height: 0.7em;
  border-right: 2px solid var(--soca-cta);
  border-bottom: 2px solid var(--soca-cta);
  transform: rotate(45deg) translateY(-15%);
}
@media (max-width: 991px) { .nav-right .lang-switch { display: none; } }
@media (min-width: 992px) { .lang-switch--mobile { display: none; } }
@media (max-width: 991px) { .why-scroll-hint { display: none; } }

/* ---------- Warum + Basis: wide photo, scrollable text column ---------- */
/* Desktop: the section has a fixed height; the base photo fills the left
   60% (absolutely placed, so it is out of the scroll box) and the texts
   scroll inside the right column, under the ridge edges. Phones: plain
   stacked flow as before. The full texts show (no line cut-off): the
   column scrolls instead. */
:root {
  --why-photo-w: 60%;
  --why-h: clamp(640px, 92vh, 860px);
  --why-veil-h: calc(var(--ridge-edge-h) * 1.6);
}
@media (min-width: 992px) {
  .why-base { display: block; height: var(--why-h); overflow: hidden; }
  .why-base .base-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--why-photo-w);
    min-height: 0;
  }
  .why-base .base-image img { position: static; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
  .why-base-scroll {
    height: 100%;
    margin-left: var(--why-photo-w);
    overflow-y: auto;
    /* No overscroll containment: at the end of the column the wheel carries
       on down the page instead of getting stuck in the box. */
    scrollbar-width: thin;
    scrollbar-color: var(--soca-dark-line) transparent;
  }
  /* Text fades out before it reaches the ridges instead of showing through
     between the peaks: petrol veils that stay pinned to the top and bottom
     of the scroll box. (A mask on the box would also hide the photo.) */
  .why-base-scroll::before,
  .why-base-scroll::after {
    content: "";
    position: sticky;
    z-index: 1;
    display: block;
    height: var(--why-veil-h);
    pointer-events: none;
  }
  .why-base-scroll::before { top: 0; margin-bottom: calc(-1 * var(--why-veil-h)); background: linear-gradient(var(--soca-dark) 62%, transparent); }
  .why-base-scroll::after { bottom: 0; margin-top: calc(-1 * var(--why-veil-h)); background: linear-gradient(transparent, var(--soca-dark) 38%); }
  .why-base { position: relative; }
  .why-scroll-hint {
    position: absolute;
    z-index: 2;
    left: calc(var(--why-photo-w) + (100% - var(--why-photo-w)) / 2);
    bottom: calc(var(--ridge-edge-h) + 12px);
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--soca-dark-line);
    border-radius: 999px;
    background: var(--soca-dark);
    color: #fff;
    font: 600 14px var(--soca-font);
    cursor: pointer;
  }
  .why-scroll-hint[hidden] { display: none; }
  .why-scroll-hint:hover { border-color: #fff; }
  .why-scroll-hint i { animation: why-nudge 1.6s ease-in-out infinite; }
  @keyframes why-nudge { 50% { transform: translateY(3px); } }
  @media (prefers-reduced-motion: reduce) { .why-scroll-hint i { animation: none; } }
  .why-base-scroll #why-us > .container { padding: calc(var(--why-pad) + var(--ridge-edge-h)) 48px 0; }
  .why-base-scroll .base-content { margin: 32px 48px 0; padding: 32px 0 calc(var(--why-pad) + var(--ridge-edge-h)); }
  .why-base .why-features { grid-template-columns: 1fr; gap: 22px; }
  .why-base #why-us .section-intro p,
  .why-base .base-content > p,
  .why-base .why-feature p { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

/* Activity pages: no hero, the trips section opens the page (h1 in its intro)
   under the solid nav. */
main > .trip-section:first-child { padding-top: calc(var(--soca-nav-h) + 64px); }
.trip-section .section-intro h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin-bottom: 16px; }
