/* Für M. — Website styles */

/* ---------- Fonts: Bricolage Grotesque (variable, self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #203259;
  --navy-hover: #35456B;
  --cream: #FBF4F0;
  --blush: #F6E8E3;
  --rose: #E69D89;
  --rose-light: #ecd2cb;
  --green: #9AC3A2;
  --green-dark: #579871;
  --yellow: #F5BA4F;
  --rust: #C3482C;
  --muted: #3E4C6E;
  --line: rgba(32, 50, 89, .16);
  --gutter: clamp(20px, 4vw, 48px);
  --gap-wide: clamp(24px, 4vw, 64px);

  /* Theme: page background and text colour. Dark buttons and active states use them inverted
     (background --text, text --bg). Navy blocks, colour cards and chips on photos keep their brand colours. */
  color-scheme: light dark;
  --bg: var(--cream);
  --text: var(--navy);
  --text-hover: var(--navy-hover);
  --blush-hover: #F0DCD4;
  --link-hover: var(--rust);
  --green-text: var(--green-dark);
  --scrim: rgba(32, 50, 89, .4);
}

/* Dark mode follows the system setting. The pale tints (blush, rose-light) become dark tints. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131B30;
    --text: var(--cream);
    --text-hover: #EADDD6;
    --blush: #0c1221;
    --blush-hover: #1b2337;
    --rose-light: #0c1221;
    --muted: #AFB6C8;
    --line: rgba(251, 244, 240, .16);
    --link-hover: var(--rose);
    --green-text: var(--green);
    --scrim: rgba(5, 8, 18, .6);
  }
}

/* ---------- Base ---------- */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--text);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--link-hover);
}

*:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
}

p {
  font-size: 17px;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

/* Anchor targets (e.g. from the menu) stop below the sticky header */
:where([id]) {
  scroll-margin-top: 90px;
}

.contents {
  display: contents;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* Reveal on scroll: add class "reveal" to any element; it fades in the first time it enters the viewport
   (app.js adds is-revealed). Hidden from the first paint via html.reveal-on, set by a one-line script in
   snippets/layout.php. Uses `translate`, so an element's own `transform` stays untouched. Without JS or
   with reduced motion everything is simply visible; if app.js never runs, a fallback shows it after 3s. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal:not(.is-revealed) {
    opacity: 0;
    translate: 0 40px;
  }

  .reveal-on:not(.reveal-ready) .reveal {
    animation: reveal-fallback 0s 3s forwards;
  }

  .reveal-on .reveal.is-revealing {
    transition: opacity 1.1s ease, translate 1.1s cubic-bezier(.2, .7, .2, 1);
  }
}

@keyframes reveal-fallback {
  to {
    opacity: 1;
    translate: none;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.page-section {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}

.page-section--tight {
  gap: clamp(24px, 3vw, 40px);
}

.page-section--loose {
  gap: clamp(40px, 5vw, 72px);
}

.page-section--compact {
  gap: 24px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col, 300px)), 1fr));
}

.cols-190 {
  --col: 190px;
}

.cols-200 {
  --col: 200px;
}

.cols-280 {
  --col: 280px;
}

.cols-300 {
  --col: 300px;
}

.cols-320 {
  --col: 320px;
}

.cols-340 {
  --col: 340px;
}

.cols-360 {
  --col: 360px;
}

.gap-6 {
  gap: 6px;
}

.gap-8 {
  gap: 8px;
}

.gap-10 {
  gap: 10px;
}

.gap-12 {
  gap: 12px;
}

.gap-14 {
  gap: 14px;
}

.gap-16 {
  gap: 16px;
}

.gap-18 {
  gap: 18px;
}

.gap-20 {
  gap: 20px;
}

.gap-24 {
  gap: 24px;
}

.gap-wide {
  gap: var(--gap-wide);
}

.items-start {
  align-items: start;
}

.items-end {
  align-items: end;
}

.items-center {
  align-items: center;
}

.measure {
  max-width: 62ch;
}

.measure--wide {
  max-width: 70ch;
}

.nopadding,
.card .nopadding {
  padding: 0 !important;
}

/* ---------- Colour surfaces ---------- */
.bg-navy {
  background: var(--navy);
  color: var(--cream);
}

.bg-rose {
  background: var(--rose-light);
}

.bg-blush {
  background: var(--blush);
}

.bg-green {
  background: var(--green);
  color: var(--navy);
}

.bg-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.bg-cream {
  background: var(--cream);
  color: var(--navy);
}

.text-yellow {
  color: var(--yellow);
}

.text-green {
  color: var(--green-text);
}

/* ---------- Typography ---------- */
.display {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.h-xl {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -.01em;
}

.h-lg {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
}

.h-md {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}

.h-station {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08;
}

.h-card {
  font-size: 28px;
  line-height: 1.1;
}

.h-card-sm {
  font-size: 26px;
  line-height: 1.1;
}

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.kicker {
  font-weight: 700;
  font-size: 19px;
}

.text-lg {
  font-size: 18px;
}

.text-sm {
  font-size: 16px;
  line-height: 1.5;
}

.text-xs {
  font-size: 15px;
}

.strong {
  font-weight: 700;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prose p {
  font-size: 18px;
}

/* Subheadings and lists in longer texts (e.g. Impressum, Datenschutz) */
.prose h2 {
  margin-top: 18px;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
}

.prose h3 {
  font-size: 19px;
  line-height: 1.3;
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.55;
}

.prose li + li {
  margin-top: 6px;
}

.list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
  line-height: 1.45;
}

.link-strong {
  font-weight: 700;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  justify-self: start;
  border: 2px solid transparent;
  padding: 14px 24px;
  font-weight: 800;
  font-size: 17px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn--primary:hover {
  background: var(--text-hover);
  border-color: var(--text-hover);
  color: var(--bg);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--rose {
  background: var(--rose);
  color: var(--navy);
  border-color: var(--rose);
}

.btn--rose:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 15px;
  min-height: 44px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-weight: 800;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-link--md {
  font-size: 16px;
}

.bg-navy .text-link:hover {
  color: var(--yellow);
}

/* ---------- Badges, chips, cards ---------- */
.badge {
  align-self: flex-start;
  padding: 7px 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chip {
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
}

.card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card--roomy {
  padding: clamp(24px, 3vw, 40px);
}

/* ---------- Site header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-right: var(--gutter);
}

.logo {
  position: relative;
  align-self: flex-start;
  flex-shrink: 0;
  width: clamp(124px, 12vw, 160px);
  height: clamp(86px, 8.4vw, 108px);
  margin-bottom: -30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--rose);
}

.logo__mark {
  position: relative;
  height: 56%;
  width: auto;
  display: block;
  margin: -8% 10% 0 0;
}

/* Start page: logo 20 % larger, shrinks to normal size after 200px scrolling (class set in app.js) */
.site-header--home .logo {
  transform: scale(1.6);
  transform-origin: 0 0;
  transition: transform .3s ease;
}

.site-header--home.is-scrolled .logo {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header--home .logo {
    transition: none;
  }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-group {
  position: relative;
}

.nav-btn {
  background: none;
  border: 0;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  text-align: left;
}

.nav-btn:hover {
  color: var(--text);
}

.nav-btn[aria-current="page"],
.nav-btn.is-active {
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
}

.nav-btn:not(.is-active):not([aria-current]):hover {
  background: var(--blush);
}

/* Inline-SVG icons (snippets/icon.php): sized by font-size, drawn in currentColor */
.icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon__fill {
  fill: currentColor;
  stroke: none;
}

.nav-caret {
  font-size: 14px;
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 230px;
}

.nav-sub__panel {
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -12px rgba(32, 50, 89, .28);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 0 0 28px 0;
}

.nav-toggle {
  display: none;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  border: 0;
  padding: 12px 20px 12px 16px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  border-radius: 999px;
  min-height: 44px;
}

/* Hamburger icon, turns into an X while the menu is open */
.nav-toggle__icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.nav-toggle__icon path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon path:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon path:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon path:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__icon path {
    transition: none;
  }
}

/* Mobile: the menu button floats at the bottom right, the menu opens above it as a sheet from the bottom */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px var(--gutter) 88px;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 0 0 100vmax var(--scrim);
  animation: sheet-up .2s ease-out;
}

@keyframes sheet-up {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    animation: none;
  }
}

.mob-btn {
  display: block;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  padding: 14px 0;
}

.mob-btn:hover {
  color: var(--text);
  text-decoration: underline;
}

.mob-btn[aria-current="page"] {
  text-decoration: underline;
}

.mob-btn--sub {
  font-weight: 700;
  font-size: 20px;
  padding: 12px 0 12px 20px;
}

@media (max-width: 1039px) {
  /* No visible bar on mobile: only the logo stays at the top, the page shows through (and stays clickable) around it */
  .site-header {
    background: none;
    border-bottom: 0;
    pointer-events: none;
  }

  .logo,
  .nav-toggle,
  .mobile-menu {
    pointer-events: auto;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    box-shadow: 0 10px 30px -12px rgba(32, 50, 89, .4);
  }

  .mobile-menu:not([hidden]) {
    display: flex;
  }

  /* Leave room for the quick exit button, which sits above the menu button */
  body[data-quick-exit] .mobile-menu {
    padding-bottom: 144px;
  }
}

/* ---------- Page hero: full-width photo with the page title on top ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 58vh, 620px);
  background: var(--navy);
  overflow: hidden;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 50, 89, .55) 0%, rgba(32, 50, 89, 0) 55%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 70vw;
  margin: 0;
  padding: 96px var(--gutter) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-title {
  max-width: 100%;
  padding: 18px 28px;
  font-size: clamp(27px, 4vw, 52px);
  line-height: 1.05;
  /* text-wrap: balance; */
  border-radius: 1rem;
  hyphens: auto;
}

.hero-back {
  background: var(--cream);
  color: var(--navy);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Start page ---------- */
.home-hero {
  padding-top: clamp(32px, 6vw, 72px);
  padding-block-end: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

@media (max-width: 955px) {
  .home-hero {
    padding-top: clamp(32px, 30vw, 172px);
  }
}

.home-hero__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: clamp(8px, 4vw, 64px);
}

.home-hero__lead {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.4;
  max-width: 30ch;
}

.home-hero__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  justify-self: center;
  display: block;
}

/* Dark mode: the navy line illustration turns light */
@media (prefers-color-scheme: dark) {
  .home-hero__img {
    filter: brightness(0) invert(1);
  }
}

.home-video-band {
  padding-top: clamp(40px, 8vw, 200px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.home-video {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-video__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(16px, 4vw, 64px);
  align-items: end;
}

.video-teaser {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--navy);
  overflow: hidden;
}

.video-teaser__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-teaser__label {
  position: absolute;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: var(--cream);
  padding: 14px 22px 14px 16px;
  font-weight: 800;
  font-size: clamp(16px, 1.6vw, 20px);
  border-radius: 100vh;
}

.video-teaser__icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 100vh;
}

@media (max-width: 600px) {
  .video-teaser__label {
    left: 12px;
    bottom: 12px;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    font-size: 15px;
  }

  .video-teaser__icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

.video-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  display: block;
}

.home-teasers {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.teaser {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  color: var(--text);
  text-decoration: none;
  border-radius: 1rem;
}

.teaser:hover {
  color: var(--text);
}

.teaser h2 {
  font-size: 28px;
  line-height: 1.08;
}

.teaser p {
  flex: 1;
  line-height: 1.5;
}

.teaser__more {
  font-weight: 800;
  font-size: 16px;
}

.teaser--blush {
  background: var(--blush);
}

.teaser--blush:hover {
  background: var(--blush-hover);
}

.teaser--rose,
.teaser--rose:hover {
  background: var(--rose);
  color: var(--navy);
}

.teaser--rose:hover {
  background: #E08E78;
}

.teaser--navy,
.teaser--navy:hover {
  background: var(--navy);
  color: var(--cream);
}

.teaser--navy:hover {
  background: #2B3E68;
}

.teaser--navy p {
  color: var(--yellow);
}

.home-who {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.full-photo {
  margin: 0;
  height: 50vh;
  min-height: 240px;
}

.full-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}

.photo-slider .swiper-slide {
  margin: 0;
  height: 100%;
}

.photo-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: var(--cream);
  color: var(--navy);
  font-weight: 800;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px -8px rgba(32, 50, 89, .5);
}

.photo-slider__arrow:hover {
  background: var(--navy);
  color: var(--cream);
}

.photo-slider__prev {
  left: var(--gutter);
}

.photo-slider__next {
  right: var(--gutter);
}

.photo-slider__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
  --swiper-pagination-color: var(--cream);
  --swiper-pagination-bullet-inactive-color: var(--cream);
  --swiper-pagination-bullet-inactive-opacity: .5;
  --swiper-pagination-bullet-size: 10px;
}

@media (max-width: 600px) {
  .photo-slider__arrow {
    display: none;
  }
}

.band {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.vision-quote {
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  color: var(--yellow);
  text-wrap: balance;
}

/* ---------- Über die Ausstellung ---------- */
.stat {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 1rem;
}

.stat__value {
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--yellow);
}

.stat__label {
  font-weight: 700;
  font-size: 17px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}

.gallery .img-pos-upper {
  object-position: 50% 40%;
}

/* ---------- Rundgang ---------- */
.station {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  background: var(--blush);
}

.station__body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.station__body > p {
  text-wrap: pretty;
}

.station__media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.placeholder {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.placeholder .chip {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
}

.myth {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.myth .badge {
  padding: 6px 12px;
}

.myth__quote {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  color: var(--yellow);
}

.myth p:last-child {
  font-size: 16px;
  line-height: 1.5;
}

.trigger {
  background: var(--bg);
  border: 2px solid var(--text);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trigger .badge {
  padding: 6px 12px;
}

.trigger > p {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
}

.story {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story p {
  font-size: 16px;
}

.callout {
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  align-items: center;
}

/* ---------- Buchung ---------- */
.tariff {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tariff h3 {
  font-size: 22px;
}

.tariff__price {
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.01em;
}

.tariff__unit {
  font-size: 17px;
  font-weight: 700;
}

.tariff__gross {
  font-size: 15px;
}

.tariff__note {
  font-size: 16px;
  line-height: 1.5;
  border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  padding-top: 12px;
}

.bg-navy .tariff__price {
  color: var(--yellow);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.step {
  background: var(--blush);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step:first-child {
  border-radius: 1rem 0 0 1rem;
}

.step:last-child {
  border-radius: 0 1rem 1rem 0;
}

.step__num {
  width: 40px;
  height: 40px;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  border-radius: 100vw;
}

.step h3 {
  font-size: 20px;
}

.step p {
  font-size: 16px;
  line-height: 1.45;
}

/* ---------- Forms ---------- */
.form {
  background: var(--blush);
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
}

.form input:not([type="checkbox"]),
.form select,
.form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--text);
  border-radius: 1rem;
  background: var(--bg);
  font-weight: 500;
  font-size: 17px;
}

.form textarea {
  resize: vertical;
}

.field--sub {
  gap: 4px;
  font-weight: 500;
  font-size: 14px;
}

.form .field--sub input {
  padding: 11px 12px;
  font-size: 16px;
}

.fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fieldset legend {
  font-weight: 700;
  font-size: 15px;
  padding: 0;
  margin-bottom: 6px;
}

.fieldset__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 16px;
  min-height: 32px;
}

.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--text);
  margin: 0;
}

/* Error hint above the submit button (validation, sending failed) */
.form__error {
  padding: 12px 16px;
  border-radius: 1rem;
  background: var(--rust);
  color: var(--cream);
  font-weight: 700;
  font-size: 16px;
}

/* Honeypot field against spam bots (Uniform): off-screen, must stay empty */
.uniform__potty {
  position: absolute;
  left: -9999px;
}

/* Booking form: two columns on wider screens (E-Mail/Telefon join the grid, .form__wide spans both) */
@media (min-width: 816px) {
  .form--cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    align-items: start;
  }

  .form--cols .form__pair {
    display: contents;
  }

  .form--cols .form__wide {
    grid-column: 1 / -1;
  }
}

.thanks {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- Unternehmens-Edition ---------- */
.video-placeholder {
  aspect-ratio: 16/9;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-placeholder .chip {
  padding: 10px 16px;
  font-size: 16px;
}

.big-stat {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.big-stat__value {
  font-weight: 800;
  font-size: clamp(56px, 7vw, 88px);
  line-height: .95;
  letter-spacing: -.02em;
}

.big-stat__text {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
}

.offer {
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.offer__price {
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--yellow);
}

.offer__price .tariff__unit {
  font-size: 18px;
}

.disclaimer {
  font-size: 14px;
  /* max-width: 80ch; */
  color: var(--muted);
}

/* ---------- Team ---------- */
.person {
  background: var(--blush);
  display: flex;
  flex-direction: column;
}

.person__photo {
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.person__photo .chip {
  padding: 6px 10px;
  font-size: 13px;
}

.person__photo--image {
  padding: 0;
  overflow: hidden;
}

.person__photo--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.person h2 {
  font-size: 24px;
  line-height: 1.1;
}

.person__role {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
}

.person__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Katalog ---------- */
.notice {
  max-width: 720px;
}

.notice p {
  font-size: 19px;
}

/* ---------- Hilfe & Beratung, Kooperationspartner*innen ---------- */
.helpline {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.helpline h3 {
  font-size: 21px;
  line-height: 1.2;
}

.helpline p {
  font-size: 16px;
  line-height: 1.5;
}

.helpline__number {
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
}

.helpline__number--text {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

.helpline .helpline__hours {
  font-weight: 700;
  line-height: 1.4;
}

.helpline .link-strong {
  font-size: 16px;
}

/* ---------- Kontakt ---------- */
.mail-box {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 1rem;
}

.mail-box__label {
  font-weight: 700;
  font-size: 15px;
}

.mail-box__link {
  color: var(--yellow);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 30px);
  text-decoration: none;
}

.mail-box__link:hover {
  color: var(--cream);
}

/* ---------- Footer ---------- */
.site-footer__grid {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 32px;
}

.site-footer__logo {
  height: 64px;
  width: auto;
  align-self: flex-start;
}

.site-footer__claim {
  font-size: 15px;
  line-height: 1.45;
  max-width: 30ch;
}

.eyebrow {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow);
}

.site-footer__small {
  font-size: 14px;
}

.site-footer__phone {
  color: var(--cream);
  font-weight: 800;
  font-size: 28px;
  text-decoration: none;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.site-footer__link {
  padding: 6px 0;
  color: var(--cream);
  /* font-weight:700; */
  font-size: 16px;
  text-decoration: none;
}

.site-footer__phone:hover,
.site-footer__link:hover {
  color: var(--yellow);
}

.site-footer__bottom {
  padding-top: 16px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(251, 244, 240, .2);
  font-size: 13px;
}

.quick-exit {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--navy);
  padding: 12px 18px;
  font-size: 15px;
  min-height: 44px;
  box-shadow: 0 10px 30px -12px rgba(32, 50, 89, .4);
}

/* Mobile: quick exit sits above the floating menu button, the footer leaves room for both */
@media (max-width: 1039px) {
  .quick-exit {
    bottom: 72px;
  }

  .site-footer__bottom {
    padding-bottom: 88px;
  }

  body[data-quick-exit] .site-footer__bottom {
    padding-bottom: 144px;
  }
}

/* ---------- Rundgang-Karussell (Swiper, Über die Ausstellung) ---------- */
.tour {
  display: flex;
  flex-direction: column;
  gap: 20px;
  --swiper-pagination-color: var(--text);
  --swiper-pagination-bullet-inactive-color: var(--text);
  --swiper-pagination-bullet-inactive-opacity: .25;
  --swiper-pagination-bullet-size: 10px;
}

.tour__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.tour__nav {
  display: flex;
  gap: 8px;
}

.tour__arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid var(--text);
  background: transparent;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour__arrow:hover {
  background: var(--text);
  color: var(--bg);
}

.tour__arrow.swiper-button-disabled {
  opacity: .3;
  cursor: default;
  background: transparent;
  color: var(--text);
}

#rundgang {
  scroll-margin-top: 72px;
}

.tour-band {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.tour__swiper {
  width: 100%;
}

.tour__slide {
  height: auto;
}

.tour__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.tour__slide {
  min-height: clamp(360px, 32vw, 440px);
}

.tour__slide .station__media {
  min-height: 300px;
  contain: size;
}

/* photo fills the slide instead of dictating its height */
@media (max-width: 815px) {
  .tour__slide {
    min-height: 0;
    grid-template-rows: auto 1fr;
  }

  .tour__slide .station__media {
    order: -1;
    height: clamp(220px, 56vw, 340px);
    min-height: 0;
  }
}

.station--navy {
  background: var(--navy);
  color: var(--cream);
}

.station--navy .badge {
  background: var(--yellow);
  color: var(--navy);
}

/* ---------- FAQ (Startseite, Buchung, Kontakt: site/snippets/faq.php) ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: var(--gap-wide);
  align-items: start;
}

/* Directly after a page section, its bottom padding is enough space */
.page-section + .faq {
  padding-top: 0;
}

.faq > h2 {
  grid-column: 1;
  grid-row: 1 / span 4;
  position: sticky;
  top: 110px;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
}

.faq > section {
  grid-column: 2;
}

.faq > section + section {
  margin-top: clamp(36px, 4vw, 56px);
}

.faq h3 {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.3;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

.faq summary:hover::after {
  background: var(--rose);
  color: var(--navy);
}

.faq details[open] > summary::after {
  content: "–";
  background: var(--text);
  color: var(--bg);
}

.faq details > :not(summary) {
  margin: 0 0 14px;
  max-width: 62ch;
}

.faq details > :last-child {
  margin-bottom: 24px;
}

.faq details ul,
.faq details ol {
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.55;
}

.faq details li + li {
  margin-top: 6px;
}

.faq details a {
  font-weight: 700;
}

@media (max-width: 815px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq > h2 {
    grid-column: auto;
    grid-row: auto;
    position: static;
    margin-bottom: 28px;
  }

  .faq > section {
    grid-column: auto;
  }
}

.uniform__potty {
    position: absolute;
    left: -9999px;
}