/* Questrial, selbst gehostet.
   Vorher wurde die Schrift bei jedem Seitenaufruf von fonts.googleapis.com
   geladen — damit ging die IP jedes Besuchers ungefragt an Google in die USA,
   und der Seitenaufbau wartete auf eine fremde Domain. Jetzt liegt sie hier.
   Lizenz: SIL Open Font License 1.1, siehe fonts/LICENSE.txt */
@font-face{
  font-family:'Questrial';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/questrial-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Questrial';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/questrial-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;
}

/* ==========================================================================
   Lang Vergnügungsbetriebe — fluid, responsive build
   Reference breakpoint (pixel-accurate to Figma): 1280px
   Fluid scaling range: 375px (mobile) → 1280px (desktop)
   ========================================================================== */

/* ==========================================================================
   Eine Regel vorweg, weil sie hier mehrfach verletzt wurde:

   Steht ein Text allein in einem Panel, das die ganze Breite einnimmt, dann
   bekommt er KEIN max-width in ch oder em. Sonst endet er auf halber Strecke
   und daneben bleibt eine leere Flaeche — das sieht nach Fehler aus, nicht
   nach Satzspiegel. Betroffen waren der Hinweiskasten der Attraktionsseiten,
   der Hinweis unter den technischen Daten und die Blogtexte.

   Eine Begrenzung ist nur dort richtig, wo der Text ohnehin in einer Spalte
   neben etwas anderem steht (.about__text, .story__text, .attractions__intro)
   — dort ist die Spalte die Begrenzung, nicht die Zeilenlaenge.
   ========================================================================== */

:root{
  /* the light blue out of the logo — it carries the hero panel, the Pratercard
     card and every accent surface that used to be mint */
  --color-sky: #C0E3F2;
  /* the logo's deeper blue, for the one button that used to be black */
  --color-blue: #4694B3;
  /* Dasselbe Blau eine Stufe tiefer, fuer alles, was Kontrast schuldet:
     --color-blue traegt weissen Text nur mit 3,4:1 und bleibt damit unter
     WCAG AA, hier sind es 6,2:1. Bewusst ein zweites Token statt eines
     dunkleren --color-blue — die Fokusringe auf hellen Flaechen sollen die
     helle Logofarbe behalten, dort genuegen 3,4:1 fuer 1.4.11. */
  --color-blue-deep: #31687D;
  --color-offwhite: #FAFAFA;
  /* Das Gelb kommt aus dem Logo (das Boot), nicht aus einem eigenen Wert.
     Vorher stand hier #FBFE66, ein blasses Limettengelb, das neben der
     Marke immer leicht daneben lag. Schwarz darauf hat Kontrast 15:1. */
  --color-yellow: #FBD916;
  --color-gray: #707070;
  --color-black: #000000;
  --color-white: #ffffff;

  --radius-card: 26px;
  --radius-pill: 40px;
  --radius-pill-sm: 30px;

  /* hero shape system — all values from the Figma frame (panel 1245×797 r20,
     media 874×669 r40, logo notch 207×84) expressed fluidly */
  --r-panel: clamp(2rem, 1.7rem + 0.75vw, 2.75rem);   /* deutlich runder als die Figma-20 */
  --r-media: clamp(1.7rem, 1.45rem + 2.4vw, 3.5rem);
  /* Das Logo ist quadratisch und sitzt mittig im weissen Feld. Damit es auf
     derselben Linie beginnt wie jeder Text darunter, ist links und rechts
     davon genau der Innenabstand der blauen Flaeche frei — dann liegt die
     linke Kante des Zeichens auf --container-pad. */
  /* Anteil des grossen Bildes an der Galeriespur. script.js rechnet mit
     demselben Wert (MAIN_SHARE) — wird er dort geaendert, hier mit. */
  --atc-haupt-anteil: .46;
  /* Das Feld und das Zeichen darin sind gegenueber dem Entwurf um rund ein
     Achtel gewachsen: die Marke soll praesenter stehen, ohne die Kopfzeile
     zu dominieren. Die Luft waechst dabei langsamer als das Feld, dadurch
     fuellt das Zeichen es etwas besser aus. */
  --logo-notch-h: clamp(4.9rem, 3rem + 5.45vw, 7.4rem);
  /* Luft zwischen Zeichen und Feldkante, oben wie unten gleich viel */
  --logo-luft: clamp(10px, 1.15vw, 18px);
  --logo-hoehe: calc(var(--logo-notch-h) - var(--logo-luft) * 2);
  /* Das Seitenverhaeltnis des Logos steht hier und nur hier. Vorher war der
     Faktor 1.05 fest eingetragen — der stammte vom vorigen Logo. Das jetzige
     ist 26.46 : 23.99 breit, also 1.103, und war damit breiter als das Feld
     fuer es reserviert hat. Wird das Logo getauscht, aendert sich diese
     eine Zahl. */
  --logo-verhaeltnis: 1.103;
  --logo-breite: calc(var(--logo-hoehe) * var(--logo-verhaeltnis));
  --logo-notch-w: calc(var(--logo-breite) + var(--hero-panel-pad) * 2);
  /* a joint patch is meant to land exactly on its flat-edged neighbours, but
     browsers round each element's fractional position independently — a fixed
     bleed into the neighbour's own (same-colour) territory hides the hairline */
  --joint-bleed: 1px;

  --shadow-card: 0 4px 14px rgba(136,136,136,0.25);
  --shadow-pill: 0 4px 14px rgba(127,127,127,0.25);

  /* One page edge for everything. The sections used to have a wider gutter AND
     a 1280 cap that centred them, so past 1280 they drifted further inward
     while the hero stayed put — at 1440 the panels started 102px right of the
     hero's edge. Both now follow the hero: same gutter, no cap. Line length is
     held where it belongs instead, on the text blocks themselves. */
  --container-max: none;
  --hero-pad: clamp(10px, calc(4.82px + 1.38vw), 22.5px);
  /* and half again from the panel to the hero's own content */
  /* Innenabstand der blauen Flaeche. Er bestimmt zugleich --container-pad,
     also wo jeder Inhalt der Seite beginnt und wo die Sticky-Pille rechts
     endet — so liegt das Logo in seinem Feld auf derselben Linie wie der
     Text darunter und der Burger auf der Gegenseite. */
  --hero-panel-pad: clamp(16px, 2.9vw, 48px);
  /* the page's edge is where the hero's TEXT begins, not where its panel does:
     the eyebrow, the headline and the buttons all start here, so everything
     below lines up with them rather than with the mint edge behind them */
  --container-pad: calc(var(--hero-pad) + var(--hero-panel-pad));
  /* the side padding every .section-panel carries — named, because the
     attractions head measures against it */
  --panel-pad-x: clamp(20px, 0.6rem + 2.2vw, 44px);
  /* the one token every section-to-section gap is built from — cut to two
     thirds of the Figma rhythm, so tightening the whole page is one edit
     rather than a pass over every section */
  --section-pad-y: clamp(32px, calc(17.63px + 3.83vw), 66.67px);
  --gap-lg: clamp(20px, calc(11.98px + 2.21vw), 40px);
  --gap-md: clamp(14px, calc(9.86px + 1.10vw), 24px);
  --gap-sm: clamp(10px, calc(7.24px + 0.66vw), 16px);

  /* fluid type scale */
  --fs-hero:      clamp(32px, calc(23.71px + 2.21vw), 52px);
  --fs-heading:   clamp(26px, calc(19.37px + 1.77vw), 42px);
  --fs-title-lg:  clamp(22px, calc(17.86px + 1.10vw), 32px);
  --fs-title:     clamp(19px, calc(17.76px + 0.33vw), 22px);
  --fs-stat:      clamp(28px, calc(22.20px + 1.55vw), 42px);
  --fs-body:      clamp(14px, calc(13.59px + 0.11vw), 15px);
  --fs-eyebrow:   clamp(13px, calc(11.76px + 0.33vw), 16px);
  --fs-nav:       clamp(11px, calc(10.38px + 0.17vw), 12.5px);
  /* the header's links one step up from --fs-nav, which the footer keeps */
  --fs-nav-top:   clamp(12.5px, calc(11.86px + 0.17vw), 14px);
  --fs-btn:       clamp(12px, calc(11.59px + 0.11vw), 13px);
  --fs-label-lg:  clamp(22px, calc(17.44px + 1.22vw), 33px);
  --fs-label-sm:  clamp(17px, calc(14.93px + 0.55vw), 22px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  /* die geparkte Schublade liegt rechts ausserhalb; ohne das waechst der
     Ur-Container mit und schiebt die fixe Pille aus dem Bild */
  overflow-x: clip;
  scroll-behavior: smooth;
  /* the gutter is always reserved, so locking the scroll for the open drawer
     neither widens the page nor nudges the fixed dock sideways */
  scrollbar-gutter: stable;
}
body{
  margin: 0;
  font-family: 'Questrial', 'Segoe UI', Arial, sans-serif;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto gehoert zwingend dazu, sobald die Bilder width/height im
   Markup tragen: ohne das behielte ein auf 100% gestauchtes Bild seine
   Originalhoehe und waere verzerrt. */
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
p{ margin: 0; }
h1,h2,h3{ margin: 0; font-weight: 400; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin:0; padding:0; list-style:none; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--color-yellow); color:var(--color-black); padding:10px 18px; border-radius:0 0 10px 0;
}
.skip-link:focus{ left:0; }

/* Der Fokusring folgt der Form des Elements. Das feste border-radius: 4px
   hat vorher jeden runden Knopf und jede Pille beim Fokussieren eckig
   gemacht — der Ring gehoerte sichtbar nicht zum Element. */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
}

.section-heading{
  font-size: var(--fs-heading);
  line-height: 1.18;
  font-weight: 400;
  color: var(--color-black);
}
/* its own line, so the second half of the sentence reads as one phrase instead
   of breaking wherever the first half happens to end */
.section-heading .muted{ color: var(--color-gray); display: block; }

/* ---------- buttons ---------- */
.btn{
  /* space-between, not center: with the shared min-width the content is
     narrower than the pill, and centring left the arrow floating mid-button
     instead of sitting in its own even inset at the right edge */
  display:inline-flex; align-items:center; justify-content:space-between; gap: 0.9em;
  font-size: var(--fs-btn);
  /* right padding matches the vertical one, so the arrow badge sits in an even
     inset from the top, bottom and right edge (Figma: 9/9/10 on a 42px pill) */
  padding: 0.75em 0.75em 0.75em 1.6em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  border: none;
  /* one length for every button on the page, whatever its label — capped at
     100% so a narrow column can still shrink it instead of overflowing */
  min-width: min(11.35rem, 100%);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
}
/* a real lift: rises, grows slightly and casts a shadow, and the arrow leads
   the way. The old version also faded the fill, which read as weaker rather
   than more alive — the colour now stays at full strength. */
.btn:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 24px rgb(0 0 0 / .18);
}
.btn:active{
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 5px 12px rgb(0 0 0 / .16);
}
.btn--yellow{ background: var(--color-yellow); color: var(--color-black); }
/* Der Klassenname ist vom alten schwarzen Knopf geblieben, die Flaeche ist das
   tiefe Blau: auf dem hellen --color-blue stand die weisse Beschriftung mit
   3,4:1 unter WCAG AA. Die Umbenennung zu .btn--blue zieht index.html mit und
   steht deshalb noch aus. */
.btn--black{ background: var(--color-blue-deep); color: var(--color-white); }
.btn--sky{ background: var(--color-sky); color: var(--color-black); }
.btn--sm{ padding: 0.7em 0.7em 0.7em 1.4em; }
.btn__arrow{
  display:inline-flex; align-items:center; justify-content:center;
  width: 2em; height: 2em; border-radius: 50%;
  background: rgba(255,255,255,.9);
  flex-shrink: 0;
  transition: transform .28s cubic-bezier(.16,1,.3,1), background-color .28s ease;
}
.btn:hover .btn__arrow{
  transform: translateX(3px);
  background: var(--color-white);
}
.btn--black .btn__arrow{ background: var(--color-white); }
.btn__arrow .chevron{ color: var(--color-black); }

.btn-row{ display:flex; flex-direction:column; gap: 14px; align-items:flex-start; }

/* CSS-drawn chevron (right-pointing by default) */
.chevron{
  display:inline-block;
  width: 0.42em; height: 0.42em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}
.chevron--left{ transform: rotate(-135deg) translate(-1px, 1px); }
.chevron--lg{ width: 9px; height: 9px; border-width: 2px; }

.circle-btn{
  width: clamp(40px, calc(34px + 2vw), 72px);
  height: clamp(40px, calc(34px + 2vw), 72px);
  border-radius: 50%;
  border: 1px solid var(--color-black);
  /* outline only — on the panel's own off-white a white fill read as a second,
     competing surface next to the heading */
  background: transparent;
  display:flex; align-items:center; justify-content:center;
  transition: background-color .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
}
.circle-btn:hover{ background: var(--color-sky); transform: scale(1.06); }

.dot-btn{
  position:relative;
  width: 28px; height: 28px; border-radius: 50%;
  border: none; background: var(--color-yellow);
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.dot-btn:hover,
.dot-btn:focus-visible{ transform: scale(1.18); }
.dot-btn:active{ transform: scale(1.06); }

/* ==========================================================================
   Logo
   ========================================================================== */
/* only the wordmark scales — the white badge it sits in is part of the panel's
   cut-out geometry and must not move. Anchored left so it grows into the
   badge's own padding instead of pushing past its right edge. */
.logo{
  display:flex; align-items:center; gap: 12px;
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.logo-badge:hover .logo,
.logo-badge:focus-visible .logo{ transform: scale(1.05); }
/* the badge logo as one drawing — height-driven, and it fills the notch's
   height minus a hairline of white so it reads as a sticker, not a stamp */
.logo__full{
  display:block;
  height: var(--logo-hoehe);
  width: var(--logo-breite);
}
/* im Footer darf die Marke groesser stehen als in der Kopfzeile */
.site-footer .logo__full{ height: clamp(72px, calc(54px + 2.4vw), 104px); }

/* ==========================================================================
   Inverted-corner primitive
   A square patch sized to the corner radius, positioned so ONE of its own
   corners sits on the reflex point where two surfaces meet. The gradient
   centre sits at the OPPOSITE corner of the box, so the curve is tangent to
   both straight edges instead of reading as a bulge.
   ========================================================================== */
.inverted-corner{
  position:absolute;
  width: calc(var(--notch-size, 1.5rem) + var(--joint-bleed));
  height: calc(var(--notch-size, 1.5rem) + var(--joint-bleed));
  pointer-events:none;
  z-index: 3;
  /* the arc is drawn by a circle's own box-shadow, and the square clips it */
  overflow: hidden;
}
/* A radial-gradient's colour stop is rasterised in the gradient pass, which
   does not antialias a curve — feathering the stop only blurred the steps
   instead of removing them, and at 2× they were still visible. A circle's
   box-shadow goes through the same path rasteriser as border-radius, so the
   arc comes out as clean as any rounded corner, at any zoom.
   The circle itself paints nothing: its spread fills everything OUTSIDE it,
   leaving the quarter-disc inside the square transparent. */
.inverted-corner::after{
  content:"";
  position:absolute;
  width: calc(var(--notch-size) * 2);
  height: calc(var(--notch-size) * 2);
  border-radius: 50%;
  box-shadow: 0 0 0 calc(var(--notch-size) + var(--joint-bleed)) var(--notch-color);
}
/* the circle's centre lands on the reflex point — the corner of the square
   that sits where the two surfaces meet */
.inverted-corner--tl::after{
  right: calc(-1 * var(--notch-size));
  bottom: calc(-1 * var(--notch-size));
}
.inverted-corner--br::after{
  left: calc(-1 * var(--notch-size));
  top: calc(-1 * var(--notch-size));
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  min-height: 100svh;
  padding: var(--hero-pad);
  display:flex;
  background: var(--color-white);
  /* the closed drawer is parked one width to the right of the panel — clipped
     here so it can never widen the document */
  overflow: clip;
}
.hero__panel{
  position:relative;
  flex:1;
  display:flex;
  flex-direction:column;
  background: var(--color-sky);
  border-radius: var(--r-panel);
  /* bottom matches the sides, so the gallery ends up with the same gap below
     it as it has to the right */
  padding: 0 var(--hero-panel-pad) var(--hero-panel-pad);
  min-height: calc(100svh - (var(--hero-pad) * 2));
}

/* Logo notch — a rectangle subtracted from the panel's top-left corner,
   filled with the page background. Its own bottom-right radius IS the
   concave corner, so no joint patch is needed here. */
.logo-badge{
  /* above the topbar, whose box stretches across the whole row and so covers
     everything but the badge's leftmost strip — the badge only caught the
     pointer there. The topbar's own content starts well to the right of the
     badge, so nothing is shadowed in return. */
  position:absolute; top:0; left:0; z-index:6;
  width: var(--logo-notch-w);
  height: var(--logo-notch-h);
  display:flex; align-items:center; justify-content:center;
  /* centred rather than pushed against the left edge — the old padding was cut
     for the wide lockup, and the new mark left 73px of white on its right */
  padding-inline: clamp(12px, calc(10px + 0.5vw), 18px);
}
.logo-badge__body{
  position:absolute; inset:0; z-index:-1;
  background: var(--color-white);
  border-radius: var(--r-panel) 0 var(--r-panel) 0;
}
/* Where the notch's own edges run into the panel's outer edges, the panel is
   left with two convex corners of its own — Figma rounds both. A plain
   border-radius on the notch can't make them: it would cut the notch's corner
   off, which bends the curve the wrong way. These are the same patches the
   photo's joints use, filled with the page background instead. */
.logo-badge__joint-b,
.logo-badge__joint-r{
  --notch-size: var(--r-panel);
  --notch-color: var(--color-white);
  z-index: -1;
}
.logo-badge__joint-b{   /* panel's corner under the notch's bottom edge */
  left: calc(-1 * var(--joint-bleed));
  top: calc(100% - var(--joint-bleed));
}
.logo-badge__joint-r{   /* panel's corner right of the notch's right edge */
  left: calc(100% - var(--joint-bleed));
  top: calc(-1 * var(--joint-bleed));
}
.hero__topbar{
  /* above the drawer, so the burger stays clickable as its close button */
  position: relative; z-index: 5;
  display:flex; align-items:center; justify-content: space-between;
  gap: var(--gap-md);
  /* the logo floats independently in the panel's notch, so reserve its
     footprint here — tied to the same variable the notch itself uses, so the
     two can never drift apart. Height matches the notch so the nav row sits
     vertically centred against the logo. */
  padding-left: calc(var(--logo-notch-w) - var(--hero-panel-pad) + var(--gap-md));
  /* the utility cluster is fixed, so its footprint is reserved here instead —
     3 buttons + their gaps + the burger's own width. Without it the nav, which
     centres itself in what is left of the row, would slide to the right. */
  padding-right: calc((3 * 42px) + (3 * 10px) + 16px + 1.6rem);
  min-height: var(--logo-notch-h);
  /* kept tight so the gallery below can start as high as possible */
  margin-bottom: clamp(14px, calc(4px + 1.6vw), 26px);
}
.nav{
  display:flex; align-items:center; gap: clamp(6px, 1vw, 10px);
  font-size: var(--fs-nav-top);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}
.nav{ position: relative; }
/* one shared pill that glides under whichever link is active/hovered, instead
   of every link owning its own background */
.nav__indicator{
  position:absolute; left:0; top:50%;
  height: 2.9em; width: 0;
  transform: translateY(-50%);
  border-radius: var(--radius-pill-sm);
  background: var(--color-white);
  box-shadow: var(--shadow-pill);
  transition: transform .4s cubic-bezier(.65,0,.35,1), width .4s cubic-bezier(.65,0,.35,1);
  z-index: 0;
  pointer-events: none;
}
.nav a{
  position:relative; z-index:1;
  opacity:.75; padding: 0.6em 1em; border-radius: var(--radius-pill-sm);
  transition: opacity .2s ease;
}
.nav a:hover, .nav a.nav__active{ opacity:1; }

/* The header's own controls, and the only set on the page — they simply stay
   put instead of a second copy taking over further down. Fixed rather than
   sticky, because sticky is bounded by its parent and the topbar is only one
   row tall. The topbar reserves their width below, so lifting them out of the
   flow doesn't move the nav that shares the row. */
.hero__utility{
  position: fixed;
  top: calc(var(--hero-pad) + (var(--logo-notch-h) - 42px) / 2);
  right: var(--container-pad);
  z-index: 130;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
/* the pictograms keep a little distance from the burger, not a gulf */
.hero__utility .icon-btn:last-of-type{ margin-right: 16px; }

/* The logo joins the bar once it floats, and since the bar is anchored right,
   making room for it grows the pill leftwards on its own. Width is what opens,
   so the pill's own box follows without being told. */
.hero__utility-logo{
  display: flex; align-items: center;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .55s cubic-bezier(.16,1,.3,1),
              margin-right .55s cubic-bezier(.16,1,.3,1),
              opacity .3s ease;
}
.hero__utility-logo img{
  display: block;
  height: clamp(28px, calc(20px + 1.1vw), 40px);
  width: auto; max-width: none;
}
.hero__utility.is-floating .hero__utility-logo{
  max-width: 5rem;
  margin-right: clamp(10px, 1.2vw, 20px);
  opacity: 1;
  transition-delay: .08s;
}

/* The box that slides in behind them once the page is scrolled. Nothing else
   moves — the controls are already where they belong, so the only thing left
   to animate is the surface that appears under them. */
.hero__utility::before{
  content: "";
  position: absolute;
  inset: -12px -20px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  box-shadow: 0 10px 34px rgb(0 0 0 / .13);
  z-index: -1;
  transform: scaleX(.55);
  transform-origin: right center;
  opacity: 0;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
.hero__utility.is-floating::before{ transform: scaleX(1); opacity: 1; }
/* while the drawer is out it already provides the surface — a white pill on
   top of the yellow would just be a second one */
.hero__panel:has(.mobile-nav.is-open) .hero__utility::before{ opacity: 0; }
/* on the white pill the icons would otherwise disappear into it */
.hero__utility.is-floating .icon-btn{
  box-shadow: 0 2px 7px rgb(0 0 0 / .10);
}
.icon-btn{
  width: 42px; height: 42px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--color-white);
  flex-shrink: 0;
  /* Eine Liste, nicht zwei Regeln: transition ist nicht additiv, die zweite
     Angabe hatte Schatten und Hover-Gelb aus der ersten wieder verworfen —
     beide sprangen hart, waehrend die Pille darunter weich lief. */
  transition: transform .25s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease, background-color .25s ease;
}
.icon-btn:hover{ transform: scale(1.06); background: var(--color-yellow); }
.icon-btn img{ width: 40%; }

/* burger — absolutely-positioned bars (not flex children) so they can share
   one centre line and rotate through each other into a clean X */
.burger{
  position:relative;
  width: 1.6rem; height: 1.05rem;
  border:none; background:none; padding:0;
  flex-shrink:0;
}
/* 26x17 trifft kein Daumen — die Flaeche waechst, das Zeichen bleibt */
.burger::after,
.dot-btn::after{
  content:"";
  position:absolute; left:50%; top:50%;
  width:44px; height:44px;
  transform: translate(-50%, -50%);
}
.burger span{
  position:absolute; left:0; display:block;
  height: 2px; width: 100%;
  background: var(--color-black);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .35s cubic-bezier(.65,0,.35,1), width .3s ease,
              opacity .2s ease, top .35s cubic-bezier(.65,0,.35,1);
}
.burger span:nth-child(1){ top: 0; }
.burger span:nth-child(2){ top: 50%; margin-top:-1px; width: 72%; left:auto; right:0; }
.burger span:nth-child(3){ top: 100%; margin-top:-2px; }
.burger:not([aria-expanded="true"]):hover span:nth-child(1){ width: 115%; }
.burger:not([aria-expanded="true"]):hover span:nth-child(2){ width: 100%; }
.burger:not([aria-expanded="true"]):hover span:nth-child(3){ width: 85%; }
.burger[aria-expanded="true"] span:nth-child(1){ top:50%; margin-top:-1px; width:100%; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; transform: scale(0); }
.burger[aria-expanded="true"] span:nth-child(3){ top:50%; margin-top:-1px; width:100%; transform: rotate(-45deg); }

/* Desktop: copy and gallery share one grid cell and overlap, exactly as in
   Figma — the notch cut into the shape's top-left corner is what keeps the
   headline clear, so the photo can claim its full width behind it. Below
   900px they stop overlapping and stack (see the breakpoint further down). */
.hero__content{
  position:relative; z-index:2;
  flex: 1;
  display:grid;
  grid-template-columns: 1fr;
  /* an explicit row, so the children's own `height: min(100%, …)` has a
     definite height to resolve against — with an auto row that percentage is
     circular and silently falls back to content height */
  grid-template-rows: minmax(0, 1fr);
  /* copy and gallery share one height, so the two columns line up edge to edge */
  /* fills what the panel has, capped — but the cap has to follow a very tall
     screen, or the shape stops growing at 54rem and leaves a widening band of
     mint above it. Past that point the cap tracks the viewport instead, so the
     gap over the photo stays about as deep as the one under it. */
  --hero-media-h: min(100%, max(54rem, 100svh - 11.5rem));
  /* where the hero shape's lower-left block starts — i.e. how far down the
     top-left cut-out reaches (316/669 in the Figma frame). One source of truth:
     the shape's own --sy and the headline's box are both derived from it, so
     the headline can't drift out of the cut-out it's meant to sit in. */
  --hero-split: 0.4724;
  /* bottom-aligned, not centred: centring splits the leftover height above
     and below, which is what left the gallery a much bigger gap underneath
     than it has at its sides. Now the panel's own bottom padding is the only
     thing under the gallery, so that gap matches the side one. */
  align-items:end;
}
.hero__content > .hero__copy,
.hero__content > .hero__gallery{ grid-area: 1 / 1; }

.hero__copy{
  position:relative; z-index:2;
  justify-self: start;
  /* a near-constant column, NOT a share of the container: the headline keeps
     its own size and line breaks as the window changes, and the photo beside
     it absorbs the difference instead of everything shrinking together */
  width: clamp(19rem, 18rem + 13.8vw, 30rem);
  /* two clusters — eyebrow + headline up top, paragraph + buttons at the
     bottom — with the spare height opening up between them instead of
     pushing the headline down. Capped well below the gallery's own height so
     that gap stays a deliberate pause rather than ballooning on a tall
     screen; bottom-anchored so the buttons keep their footing. */
  align-self: end;
  height: var(--hero-media-h);
  display:flex; flex-direction:column; justify-content:space-between;
  /* no gap: the two blocks below tile the column exactly along --hero-split,
     so their shared edge lands on the shape's step rather than beside it */
  gap: 0;
}
.hero__copy-top,
.hero__copy-bottom{
  display:flex; flex-direction:column; gap: clamp(16px,2vw,22px);
}
/* the eyebrow + headline sit centred in the shape's top-left cut-out, so the
   block is optically tied to the notch rather than to the column's own edges */
.hero__copy-top{
  height: calc(var(--hero-split) * 100%);
  /* a long headline wrap must never be clipped by that fixed box */
  min-height: max-content;
  justify-content: center;
}
/* the lower block takes the rest of the split, so the paragraph starts exactly
   on the shape's step — the top edge of the lower-left photo block — while the
   buttons stay pinned to the shape's bottom edge */
.hero__copy-bottom{
  height: calc((1 - var(--hero-split)) * 100%);
  min-height: max-content;
  justify-content: space-between;
}
.eyebrow{ font-size: var(--fs-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; }
.hero__heading{
  font-size: var(--fs-hero);
  line-height: 1.08;
  font-weight: 400;
}
/* Weiss auf dem hellblauen Hero war Kontrast 1,35:1 — bei Tageslicht
   praktisch unlesbar, WCAG verlangt selbst fuer Grosstext 3:1. Dieses
   gedeckte Blaugrau kommt auf 6,94:1 und bleibt trotzdem leiser als der
   schwarze Haupttitel, die Hierarchie bleibt also erhalten. Deckend, nicht
   halbtransparent: sonst haengt die Lesbarkeit daran, was zufaellig
   dahinterliegt. */
.hero__heading .light{
  display:block; color: #2C4A5A; font-weight: 400;
}
/* the paragraph and buttons sit BELOW the shape's top-left notch, so unlike
   the headline they have to stay clear of the photo's lower-left block —
   Figma keeps them to 274 of the copy column's own 547 */
.hero__text{ font-size: var(--fs-body); line-height: 1.8; max-width: 52%; min-width: 15em; }

.hero__gallery{
  position: relative;
  justify-self: end;

  /* NOT an aspect-ratio box. Deriving the height from the width makes the
     whole hero shrink uniformly — the thing that reads as "just scaled down".
     Instead it fills the height the panel actually has left below the topbar
     (capped, so it can't get absurd on a very tall screen), while the width
     simply takes whatever is left beside the copy column. So as the window
     narrows, the shape gets narrower and taller-looking, not smaller. */
  /* bottom-anchored, filling the height the panel has left up to a cap. Not
     `align-self: stretch` + max-height: once the cap bites, stretch falls
     back to start-alignment and the gap underneath grows again. */
  align-self: end;
  height: var(--hero-media-h);
  min-height: 20rem;
  width: calc(100% - clamp(12rem, 14rem + 5.9vw, 22rem));

  /* enables cqw AND cqh, so every edge below — and the photo's own alignment
     across the two pieces — reads from one shared coordinate system */
  container-type: size;

  /* the Figma silhouette (874×669 frame) is the union of two rounded rects:
     A = x 160→874, y 0→381   B = x 0→597, y 316→669
     Because the outer box no longer keeps a fixed ratio, these can't all be
     plain shares any more — see each one. */
  /* A's left edge. Its job is to clear the headline, whose width is itself
     near-constant, so this is near-constant too rather than a share that
     would drift left as the shape widens. */
  --sx: clamp(7rem, 20cqw, 12rem);
  --sy: calc(var(--hero-split) * 100cqh);  /* B's top edge — still a share; it tracks height */
  --card-gap: clamp(0.55rem, 0.4rem + 0.6vw, 1rem);

  /* The card notch is NOT a fixed share. A pure percentage shrinks the card
     along with the shape, and its label stops fitting long before the shape
     itself gets small. So the card gets a real minimum size of its own, and
     the notch is derived FROM the card — the cut always sits exactly where
     the card actually ends up, at any size.
     The second min() branch is the guard: the rem floor knows nothing about
     the container, so on a narrow phone it could otherwise claim more width
     than leaves --sx its own share, collapsing the lower-left block into a
     sliver. */
  /* near-constant, like the card in the reference: it holds its size while the
     shape around it grows, rather than tracking the shape's own width */
  --card-w: min(
    clamp(13rem, 11.3rem + 8.3vw, 18rem),
    calc(100cqw - var(--card-gap) - var(--sx) - 2rem)
  );
  /* built from the same values the card's own elements use below, so the
     notch and the card can never drift apart */
  --card-bar-pad-y: 8px;
  --card-bar-content-h: clamp(1.7rem, 1.5rem + 0.5vw, 1.95rem);
  --card-bar-h: calc((var(--card-bar-pad-y) * 2) + var(--card-bar-content-h));
  /* the same gap the card keeps to the shape around it, so every reveal in
     this corner follows one rule instead of the bar/photo seam being tighter */
  --card-inner-gap: var(--card-gap);
  /* capped at a share of the shape's own height: without the cap, a card that
     has hit its rem floor keeps its near-square proportion while the shape
     around it gets shorter, so on a phone the notch would swallow ~70% of the
     height and leave the upper block a thin strip. Past the cap the card's
     thumbnail simply gets flatter instead. Figma's own share is 271/669. */
  --card-h: min(
    calc(var(--card-bar-h) + var(--card-inner-gap) + (var(--card-w) / 1.243)),
    46cqh
  );

  --cx: calc(100cqw - var(--card-w) - var(--card-gap));  /* B's right edge */
  --cy: calc(100cqh - var(--card-h) - var(--card-gap));  /* A's bottom edge */

}

/* the whole shape — the two photo blocks AND the two concave-corner patches —
   goes behind the card in its own stacking context. Those patches are square
   boxes that reach up to 1.6 × the gap past the notch's corner, so at a
   breakpoint where the gap is small one would paint mint over the mini
   carousel's label and its arrows. Its own stacking context also keeps the
   pieces' internal z-order intact. */
.hero-shape{ position:absolute; inset:0; z-index:0; }

/* One moving image, not two. The shape used to be two photo blocks painting
   the same background at a shared origin — a video can't be a background, and
   two <video> elements would drift apart at the seam. So the silhouette is
   built the other way round: the video fills the whole box, and the two
   rectangles it must NOT cover are painted over it in the panel's colour.
   That union — full box minus top-left rect minus bottom-right rect — is
   exactly the old two-block union, so all the geometry variables still hold. */
.hero-shape__media{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;            /* one element, so the browser's own cover
                                   is enough — no hand-computed origin needed */
  border-radius: var(--r-media);
  display:block;
}
.hero-shape__cut{
  position:absolute;
  background: var(--color-sky);
}
/* Each cut's own inner corner is the shape's concave one, and it rounds with a
   plain border-radius: the cut keeps only what lies within r of a centre
   inset by r, which is exactly the fillet. This used to need a gradient patch,
   because back then that corner sat on the photo and mint had to be ADDED; now
   the mint is the rectangle itself, so it is taken away instead. */
.hero-shape__cut--tl{
  left:0; top:0; width:var(--sx); height:var(--sy);
  border-bottom-right-radius: var(--r-media);
}
.hero-shape__cut--br{
  left:var(--cx); top:var(--cy); right:0; bottom:0;
  /* Konzentrisch zur Karte, die in der Aussparung sitzt: .hero__mini-label
     rundet mit --radius-pill-sm und steht --card-gap von den Kanten weg, also
     ergibt Kartenradius + Abstand ein gleichmaessig breites Band rundherum.
     Der vorige gedeckelte Wert lief dagegen aus und wirkte angeschnitten. */
  border-top-left-radius: calc(var(--radius-pill-sm) + var(--card-gap));
}

/* The four corners where the video's own edge turns into a cut. Each is the
   generic patch — transparent inside the arc, mint outside — so it rounds the
   video's corner off. --tl and --br name which corner OF THE VIDEO is being
   rounded; the patch sits on that corner. */
.hero-shape__corner-a-tl,
.hero-shape__corner-a-br,
.hero-shape__corner-b-tl,
.hero-shape__corner-b-br{
  --notch-size: var(--r-media);
  --notch-color: var(--color-sky);
}
.hero-shape__corner-a-tl{ left: var(--sx); top: 0; }
.hero-shape__corner-a-br{
  left: calc(100cqw - var(--notch-size)); top: calc(var(--cy) - var(--notch-size));
}
.hero-shape__corner-b-tl{ left: 0; top: var(--sy); }
.hero-shape__corner-b-br{
  left: calc(var(--cx) - var(--notch-size)); top: calc(100cqh - var(--notch-size));
}

/* the video is decorative and carries no alt text, so the real <img> stays in
   the accessibility tree, visually hidden */
/* nur fuer Screenreader: aus dem Bild, aber nicht aus dem Baum */
.hero-shape__a11y{
  position:absolute; width:1px; height:1px;
  margin:-1px; padding:0; overflow:hidden;
  clip-path: inset(50%); white-space:nowrap; border:0;
  pointer-events:none;
}

/* the mini carousel sits inside the notch the shape cuts for it */
.hero__mini{
  position:absolute;
  z-index:1;                 /* above .hero-shape, never under a corner patch */
  left: calc(var(--cx) + var(--card-gap));
  top: calc(var(--cy) + var(--card-gap));
  right: 0; bottom: 0;
  display:flex; flex-direction:column;
  gap: var(--card-inner-gap);
}
.hero__mini-label{
  background: var(--color-white); border-radius: var(--radius-pill-sm);
  box-shadow: var(--shadow-pill);
  /* height comes from the same variables the notch was derived from, so the
     bar can never grow past the hole that was cut for it */
  height: var(--card-bar-h);
  padding: var(--card-bar-pad-y) var(--card-bar-pad-y) var(--card-bar-pad-y) 16px;
  /* die Pfeile sitzen oben auf der Zeile mit der Zaehlung, nicht mittig
     zwischen beiden Zeilen — so stehen sie ueber dem Namen */
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
}
.hero__mini-info{ display:flex; flex-direction:column; gap: 2px; min-width:0; }
.hero__mini-count{
  white-space:nowrap; font-size: clamp(8px, .9vw, 10px); color: var(--color-gray);
  display:flex; align-items:center; gap:6px;
}
/* one segment per slide instead of a single dash: the count is readable at a
   glance, and the active one stretches as you move through them. Same line,
   same height as the dash it replaces, so nothing around it shifts. */
.hero__mini-dots{ display:flex; align-items:center; gap:3px; }
.hero__mini-dots i{
  display:block;
  width: 6px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .3;
  transition: width .45s cubic-bezier(.16,1,.3,1), opacity .45s ease;
}
.hero__mini-dots i.is-on{ width: 16px; opacity: 1; background: var(--color-black); }
.hero__mini-info strong{
  font-weight:400; font-size: clamp(11px, 1.3vw, 14px);
  line-height:1.2;
}
.hero__mini-nav{ display:flex; gap: 4px; flex-shrink:0; }
.hero__mini-photo{
  border-radius: var(--radius-card); overflow:hidden;
  box-shadow: var(--shadow-card);
  flex: 1;
  min-height: 0;
}
/* the frame stays put and clips — only the photo inside scales, so the card's
   corners and its neighbours never move */
.hero__mini-photo{ display:block; }
.hero__mini-photo img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.hero__mini-photo:hover img{ transform: scale(1.07); }
/* an attraction without a page yet: still a picture, no longer a link */
.hero__mini-photo.is-inert{ cursor: default; }
.hero__mini-photo.is-inert:hover img{ transform: none; }

/* mobile nav drawer
   Pinned to the viewport, because the controls that open it are pinned too —
   it can be opened at any scroll position now. At the top of the page that
   lands it exactly on the mint panel's edges, which is where it was designed,
   and further down it simply comes along. */
.mobile-nav{
  position: fixed;
  inset: var(--hero-pad) var(--hero-pad) var(--hero-pad) auto;
  z-index: 120;
  width: min(360px, 100%);
  background: var(--color-yellow);
  border-radius: var(--r-panel);
  box-shadow: -10px 0 30px rgb(0 0 0 / .12);
  display:flex; flex-direction:column; gap: 6px;
  /* clears the topbar, tied to the notch the logo and the topbar both use */
  padding: calc(var(--logo-notch-h) + 1.25rem) clamp(24px,2.5vw,34px) clamp(24px,2.5vw,34px);
  transform: translateX(100%);
  /* parked outside the panel, it would still show through the hero's own
     padding strip — hidden outright, and only after it has slid out */
  visibility: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), visibility 0s .4s;
}
.mobile-nav.is-open{
  transform: translateX(0);
  visibility: visible;
  transition: transform .4s cubic-bezier(.16,1,.3,1), visibility 0s 0s;
}
.mobile-nav a{
  font-size: 18px; padding: 12px 0;
  border-bottom: 1px solid rgb(0 0 0 / .12);
  text-transform: uppercase; letter-spacing: .05em;
}

/* ==========================================================================
   Shared section layout
   ========================================================================== */
main > section, .banner-photo{
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---------- About / stats ---------- */
.about{
  display:flex; flex-wrap:wrap; gap: var(--gap-lg);
  padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y);
}
.about__intro{ flex:1 1 420px; display:flex; flex-direction:column; gap: clamp(20px,3vw,30px); align-items:flex-start; }
.stats{
  /* drops the stats bar and the button under it away from the heading —
     60px at the reference breakpoint, easing off where height is scarcer */
  margin-top: clamp(24px, 4.7vw, 60px);
  /* each figure now sits on its own tile inside the white box, instead of the
     three sharing one surface with hairlines between them — the separation is
     carried by the tiles themselves, so the rules are no longer needed */
  display:flex; align-items:stretch;
  background: var(--color-white);
  border-radius: clamp(22px, 1.1rem + 1vw, 34px);
  box-shadow: var(--shadow-card);
  padding: clamp(9px, .8vw, 14px);
  gap: clamp(8px, .8vw, 13px);
  /* fit-content allein liess die Leiste bei 320px auf 345px wachsen — 51px
     breiter als die Spalte. Sichtbar war das nicht als Scrollbalken, weil
     body overflow-x versteckt; die dritte Kachel war schlicht abgeschnitten.
     max-width deckelt sie an der Spalte, darunter duerfen die Kacheln
     schrumpfen statt auszubrechen. */
  width: fit-content;
  max-width: 100%;
}
/* a small lift, so the figures feel like objects rather than print */
.stats__item{
  transition: transform .3s cubic-bezier(.16,1,.3,1), background-color .3s ease;
  background: var(--color-offwhite);
  border-radius: clamp(16px, .8rem + .8vw, 26px);
  /* taller than it is wide is what makes them read as tiles rather than as
     cells of a bar — the figure needs air above and below it */
  padding: clamp(18px, 2.2vw, 34px) clamp(16px, 2vw, 30px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap: 6px;
  /* Die alte Formel 6rem + 2.4vw ergab bei 320px noch 104px je Kachel —
     drei davon passen nicht in eine 268px breite Spalte, die dritte war
     abgeschnitten. Diese waechst vom Fenster statt von einem festen Sockel:
     70px bei 320, 132px ab Desktop. */
  min-width: clamp(68px, 3rem + 7vw, 132px);
}
/* The first figure carries the highlight at rest. Hovering another hands it
   over — the :not(:first-child) in the condition is what keeps hovering the
   first one from switching its own highlight off. Never two at once. */
.stats__item:first-child{ background: var(--color-sky); }
.stats__item:hover{ transform: translateY(-4px); }
@media (hover: hover){
  .stats:has(.stats__item:not(:first-child):hover) .stats__item:first-child{
    background: var(--color-offwhite);
  }
  .stats__item:hover{ background: var(--color-sky); }
}
.stats__num{ font-size: var(--fs-stat); line-height:1; }
.stats__label{ font-size: var(--fs-btn); color:var(--color-black); }

.about__text{
  flex: 1 1 460px;
  /* the page no longer caps its own width, so the measure is held here —
     which is where it belongs anyway */
  max-width: 64ch;
  display:flex; flex-direction:column; gap: var(--gap-sm);
  font-size: var(--fs-body); line-height: 1.8; color: var(--color-black);
}

/* ---------- History cards ---------- */
.history-cards{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  padding-bottom: var(--section-pad-y);
}
.card{
  position:relative; border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.4vw, 34px);
  display:flex; flex-direction:column;
  min-height: clamp(260px, 30vw, 374px);
  overflow:hidden;
}
/* The row's height comes from here. This spacer is as tall as the card is
   wide, divided by Figma's card proportion, so the photo card can never
   flatten into a letterbox as the page grows — and because the grid stretches,
   the other two columns follow it. Putting the ratio on the card itself fought
   with its min-height and blew the card 13px past its own grid column. */
.card--photo{ justify-content:flex-end; padding:0; background:#eee; }
.card--photo::before{ content:""; display:block; aspect-ratio: 395 / 373; }
/* the card already clips, so only the photo moves — the label and the card's
   own corners stay exactly where they are */
.card__bg-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  /* anchored to the top, as in Figma. Centred, a card wider than the photo's
     own 1.26 proportion trims equally from both edges and takes the man's head
     with it — on a 1920 screen that was 85px off the top. */
  object-position: 58% top;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.card--photo:hover .card__bg-photo{ transform: scale(1.06); }
/* die Bildkarte verlinkt auf praterdynastien.at — sie bleibt optisch eine
   Karte, bekommt aber Linkverhalten: kein Unterstrich, sichtbarer Fokusring */
.card--link{ text-decoration:none; color:inherit; cursor:pointer; }
.card--link:focus-visible{
  outline: 3px solid var(--color-blue); outline-offset: 3px;
}
.card--link .card__label{ transition: box-shadow .3s ease, transform .3s ease; }
.card--link:hover .card__label{
  box-shadow: 0 8px 24px rgb(0 0 0 / .18); transform: translateY(-2px);
}
/* out of flow, so only the spacer above sets the card's height */
.card__label{
  position:absolute; z-index:1;
  left: clamp(16px,2vw,24px); bottom: clamp(16px,2vw,24px);
  background: var(--color-white); border-radius: 16px;
  padding: 16px 20px;
  max-width: 78%;
}
.card__eyebrow{ font-size: var(--fs-title-lg); line-height:1.1; }
.card__caption{ font-size: clamp(13px,1.4vw,16px); color: var(--color-black); margin-top:4px; }

.card--light{ background: var(--color-offwhite); gap: clamp(10px,1.6vw,16px); }
/* pictogram left, portrait right — one row, as in Figma */
.card__top{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap: var(--gap-md);
  /* no margin of its own — the card's own gap is the only spacing here, so
     the headline sits close under the pictogram and the card stays square */
  margin-bottom: 0;
}
.card__avatar{
  width: clamp(52px, 4.8vw, 76px); height: clamp(52px, 4.8vw, 76px);
  border-radius:50%; object-fit:cover; flex-shrink:0;
}
/* same disc as the portrait, but holding a product shot rather than filling
   with it — hence the white ground and the contained fit */
.card__badge{
  width: clamp(52px, 4.8vw, 76px); height: clamp(52px, 4.8vw, 76px);
  border-radius:50%; background: var(--color-white);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; overflow:hidden;
}
.card__badge img{ width:76%; height:76%; object-fit:contain; }
.card__title{ font-size: var(--fs-title); line-height:1.35; font-weight:400; }
/* a label rather than a first line: it names the section the card leads to,
   so it sits below the body size while the sentence under it carries the card */
.card__title--kicker{ display:flex; flex-direction:column; gap:.25em; }
.card__kicker{
  font-size: var(--fs-eyebrow);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-gray);
}
.card__title strong{ display:block; font-size: var(--fs-title-lg); font-weight:400; line-height:1.2; }
.card__text{ font-size: var(--fs-body); line-height:1.7; flex:1; }
.card--dark .card__text{ flex:0 1 auto; line-height:1.55; }

/* The three open roles stand in for the paragraph: same block, same job as the
   copy it replaced — say what is on offer — only scannable. */
.card-jobs{
  list-style:none; margin:0; padding:0;
  flex:1; display:flex; flex-direction:column; justify-content:center;
}
.card-jobs li + li{ border-top: 1px solid rgb(0 0 0 / .08); }
.card-job{
  display:flex; align-items:center; gap: .8em;
  padding: clamp(6px, .62vw, 9px) 0;
  font-size: var(--fs-body);
  line-height:1.3;
  color: var(--color-black);
  text-decoration:none;
}
.card-job__title{ flex:1; min-width:0; }
.card-job__tag{
  flex:0 0 auto;
  font-size: var(--fs-eyebrow);
  color: var(--color-gray);
  letter-spacing: .02em;
}
.card-job__go{
  flex:0 0 auto;
  width: 1.55em; height: 1.55em; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--color-yellow);
  opacity:0; transform: translateX(-6px);
  transition: opacity .28s ease, transform .28s cubic-bezier(.16,1,.3,1);
}
@media (hover: hover){
  .card-job:hover .card-job__go{ opacity:1; transform:none; }
  .card-job:hover .card-job__tag{ color: var(--color-black); }
}
.card-job:focus-visible .card-job__go{ opacity:1; transform:none; }
.card--light .btn, .card--dark .btn{ align-self:flex-start; margin-top: 4px; }

/* In Figma the black figure bar sits BELOW the mint card, not inside it — the
   two together are as tall as the other cards. Inside, the card overflowed by
   12px once the Pratercard badge was added. */
.card-stack{
  display:flex; flex-direction:column; gap: clamp(10px, 1vw, 16px);
  height: 100%;
}
.card-stack .card{ flex:1; min-height:0; }
.card-stack .card__stat{ flex:0 0 auto; }
.card--dark{ background: var(--color-sky); justify-content:space-between; gap: clamp(10px,1.6vw,16px); }
.card__icon{ width: clamp(32px,3.6vw,48px); }
.card__stat{
  background: var(--color-black); color: var(--color-white);
  border-radius: var(--radius-pill-sm);
  padding: clamp(10px,1.2vw,14px) clamp(18px,2.4vw,28px);
  display:flex; align-items:center; justify-content:space-between;
  font-size: var(--fs-body);
}
.card__stat-num{ font-size: var(--fs-heading); }

/* ---------- Banner photo ---------- */
.banner-photo{
  padding-bottom: var(--section-pad-y);
}
/* the frame keeps the rounding and clips — only the picture inside moves, so
   the band's corners stay exactly where they are */
.banner-photo__frame{
  display:block;
  border-radius: var(--radius-card);
  overflow:hidden;
}
.banner-photo img{
  width:100%; aspect-ratio: 1238/524; object-fit:cover; display:block;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.banner-photo__frame:hover img{ transform: scale(1.04); }

/* ---------- Attractions ---------- */
/* Attraktionen, Film/Events and Lageplan each sit on their own light rounded
   panel in Figma (nodes 33:567 / 33:574 / 33:581 — all plain #FAFAFA rounded
   rects). It lives on an inner wrapper, not the section itself: the section's
   own horizontal padding is the page gutter, so a background there would run
   straight to the viewport edge. */
.section-panel{
  position:relative;
  background: var(--color-offwhite);
  border-radius: var(--radius-card);
  padding: clamp(26px, 1rem + 2.2vw, 48px) var(--panel-pad-x);
}

.attractions{ position:relative; padding-bottom: var(--section-pad-y); }
.attractions__head{
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between;
  gap: var(--gap-lg);
  margin-bottom: var(--gap-lg);
  position:relative;
  --head-pad-right: clamp(0px, 6vw, 60px);
  padding-right: var(--head-pad-right);
}
/* Der Kopf trug 40px Luft nach unten und innen 24px zwischen Pfeilen, Text und
   Knopf — zusammen stand die Ueberschrift eine halbe Bildhoehe ueber dem
   Slider. */
.attractions__head{ margin-bottom: clamp(16px, 1.8vw, 26px); }

.attractions__side{
  max-width: 100%;
  display:flex; flex-direction:column; gap: var(--gap-md);
  /* Starts exactly where the About paragraph starts. That column is not a
     percentage: it is 64ch wide and flush right, so its left edge moves with
     the page. Flush right here too, then — and since this block sits inside a
     panel, its width is those 64ch minus the two paddings that separate the
     panel's inner edge from the page's. The left edges then coincide at every
     width, without either side knowing about the other. */
  font-size: var(--fs-body);
  width: calc(64ch - var(--panel-pad-x) - var(--head-pad-right));
  margin-left: auto;
  gap: clamp(10px, 1vw, 15px);
}
.attractions__intro{
  font-size: var(--fs-body); line-height:1.7; max-width: 26em;
}
.attractions__emoji{ position:absolute; top:0; right:0; width: clamp(28px,3vw,42px); }
.attractions__actions{
  display:flex; align-items:center; justify-content:space-between;
  gap: var(--gap-md); flex-wrap:wrap;
}
.attractions__nav{ display:flex; gap: clamp(8px, 1.4vw, 18px); }

/* ---------- Attractions carousel ----------
   Every tile is absolutely positioned and its slot (x / width) is written by
   JS, so advancing is a plain transition of left+width: the tile behind slides
   left and grows into the main slot in one continuous move. Flex/grid can't do
   that — reordering there jumps, because `order` isn't animatable. */
.atc{
  --atc-gap: var(--gap-md);
  position: relative;
  /* Die Galerie rueckt unter den Kopf hinauf: links unter der Ueberschrift
     steht die Flaeche ohnehin leer, dort greift die Hauptkachel hinein.
     Skaliert mit, damit sie am Telefon nicht in den Text faehrt. */
  margin-top: max(-100px, -7vw);
  height: clamp(320px, 42vw, 530px);
  /* was rechts ansteht, bleibt verdeckt, bis es hereinfaehrt */
  overflow: hidden;
}
/* Eine durchgehende Spur statt drei Plaetzen, die sich gegenseitig ersetzen:
   alle Attraktionen stehen nebeneinander, die Spur faehrt nach links und das
   naechste Bild kommt von rechts nach — wie man es von einem Slider erwartet. */
.atc__track{
  display: flex;
  align-items: flex-end;
  gap: var(--atc-gap);
  height: 100%;
  width: max-content;
  transform: translate3d(0, 0, 0);
  transition: transform .8s cubic-bezier(.65, 0, .25, 1);
  will-change: transform;
}
.atc__item{
  position: relative;
  flex: 0 0 auto;
  padding:0; border:none; background:none;
  border-radius: var(--radius-card);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-align:left;
  width: var(--atc-thumb-w, 240px);
  height: var(--atc-thumb-h, 72%);
  transition:
    width .8s cubic-bezier(.65,0,.25,1),
    height .8s cubic-bezier(.65,0,.25,1),
    box-shadow .45s ease,
    opacity .45s ease;
  will-change: width, height;
}
.atc__item.is-main{
  width: var(--atc-main-w, 46%);
  height: 100%;
}
/* first paint (and after a resize) must not animate from a stale slot */
.atc.is-static .atc__item,
.atc.is-static .atc__track{ transition:none; }

.atc__frame{ position:absolute; inset:0; overflow:hidden; }
.atc__frame img{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.06);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
/* the main tile settles back to 1, so growing into the slot reads as a slow
   zoom-out rather than a plain resize */
.atc__item.is-main .atc__frame img{ transform: scale(1); }
.atc__item:not(.is-main):hover .atc__frame img{ transform: scale(1.12); }
.atc__item:not(.is-main):hover{ box-shadow: 0 10px 30px rgba(0,0,0,.18); }

.atc__label{
  position:absolute; left: clamp(12px,1.6vw,22px); bottom: clamp(12px,1.6vw,22px);
  right: clamp(12px,1.6vw,22px);
  display:flex; flex-direction:column; gap: 2px;
  background: var(--color-white);
  /* the preview tiles' field is a small rectangle, not a pill — a pill radius
     on that width swallowed the corners entirely */
  border-radius: 12px;
  box-shadow: var(--shadow-pill);
  padding: 12px clamp(16px,2vw,24px) 13px;
  transition: border-radius .5s ease, padding .5s ease, opacity .35s ease;
}
.atc__item.is-main .atc__label{
  right: auto;
  min-width: min(62%, 22rem);
  border-radius: 18px;
  padding: 14px clamp(20px,2.4vw,28px) 16px;
}
/* counter + progress only exist on the main tile */
.atc__meta{
  display:flex; align-items:center; gap: 12px;
  font-size: var(--fs-btn);
  color: var(--color-gray);
  max-height: 0; opacity: 0;
  overflow:hidden;
  transition: max-height .5s ease, opacity .35s ease;
}
.atc__item.is-main .atc__meta{ max-height: 2em; opacity:1; }
.atc__progress{
  flex:1; height:2px; background: rgba(0,0,0,.14); border-radius: 2px; overflow:hidden;
}
.atc__progress i{
  display:block; height:100%; width: var(--atc-progress, 0%);
  background: var(--color-black);
  transition: width .75s cubic-bezier(.65,0,.25,1);
}
.atc__title{
  font-weight:400;
  font-size: var(--fs-label-sm);
  line-height:1.15;
  transition: font-size .5s ease;
  /* a preview can get narrow enough that a long name would run past its edge */
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.atc__item.is-main .atc__title{ font-size: var(--fs-label-lg); white-space:normal; }
/* when only a sliver of the next tile is showing, its label has no room at all */
.atc.is-compact .atc__item:not(.is-main) .atc__label{ opacity:0; }

@media (prefers-reduced-motion: reduce){
  .atc__item, .atc__frame img, .atc__label, .atc__meta, .atc__title, .atc__progress i{
    transition: none;
  }
  .atc__frame img{ transform: none; }
}

/* ---------- Split cards (Filmaufnahmen / Events) ---------- */
.split-cards{ padding-bottom: var(--section-pad-y); }
/* Both cards carry a photo; only the open one shows it. The left card is open
   by default, and hovering the right one hands the extra width over — the
   panel's columns and each card's own photo column animate together, so the
   photo is drawn open like a curtain rather than fading in on top. */
.split-cards__panel{
  display:grid; grid-template-columns: 1.76fr 1fr; gap: var(--gap-md);
  align-items:stretch;
  transition: grid-template-columns .55s cubic-bezier(.65,0,.25,1);
  /* the cards measure their copy column against this, so it stays constant
     while their own widths animate */
  container-type: inline-size;
}
.split-cards__panel:has(.split-card:last-child:hover),
.split-cards__panel:has(.split-card:last-child:focus-within){
  grid-template-columns: 1fr 1.76fr;
}
.split-card{
  --card-pad: clamp(24px, 3vw, 44px);
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--card-pad);
  display:flex; flex-direction:column; gap: 14px;
}
.split-card__icon{ width: clamp(30px,3vw,42px); margin-bottom: 6px; }
.split-card p{ font-size: var(--fs-body); line-height:1.7; }
.split-card .btn{ margin-top: auto; align-self:flex-start; }

.split-card--photo{
  display:grid;
  /* The copy column is a fixed width, sized from the PANEL — which does not
     change on hover — rather than from the card, which does. So the paragraph
     wraps identically open or closed and nothing reflows or jumps; only the
     photo column, which takes whatever the card's width leaves over, wipes
     open. That also means the card itself needs no transition and no state
     rule: it simply follows the panel's own column animation.
     (100cqw - gap) / 2.76 is the narrow card's outer width, from the panel's
     1.76fr / 1fr split; the extra - gap keeps the closed photo column at 0. */
  --copy-w: calc(
    (100cqw - var(--gap-md)) / 2.76 - (2 * var(--card-pad)) - var(--gap-md)
  );
  grid-template-columns: var(--copy-w) minmax(0, 1fr);
  grid-template-areas:
    "icon icon"
    "title photo"
    "text photo"
    "cta photo";
  column-gap: var(--gap-md);
  row-gap: 14px;
  align-items:start;
}
.split-card--photo .split-card__icon{ grid-area: icon; }
.split-card--photo h2{ grid-area: title; }
.split-card--photo p{ grid-area: text; }
/* justify-self, or the grid stretches it across the whole column and it ends
   up wider than every other button on the page */
.split-card--photo .btn{ grid-area: cta; margin-top: 6px; justify-self: start; }
/* A frame that contributes NO size of its own. The image used to be the grid
   item directly, and at the column's width its aspect ratio set the three rows
   it spans — so each card's rows followed its own photo and the two ended up
   23px apart, which is the jump on hover. The image is now absolutely
   positioned inside this frame, so it cannot size anything; the rows come from
   the copy alone, which is identical in both cards. */
.split-card__media{
  grid-area: photo;
  position: relative;
  align-self: stretch;
  min-width: 0; min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.split-card__photo{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}

/* ==========================================================================
   Karriere
   The one deep surface on the page, so the section stops the scroll on its own
   instead of being a fourth off-white panel. The list is the idea: bare rows
   that the cursor lights up, with the workplace itself trailing behind it —
   a Prater is a place you have to see, not read about.
   ========================================================================== */
.jobs{ padding-bottom: var(--section-pad-y); }
.section-panel--dark{
  /* Das tiefe Blau, nicht die helle Logofarbe: auf der war kein einziger Wert
     dieses Panels ueber WCAG AA — weisser Text 3,4:1, die abgestuften
     Deckkraefte bis hinunter auf 2,2:1. Als "deep surface" ist es zugleich
     naeher an der Absicht des Abschnitts als schwarzer Text auf Hellblau. */
  background: var(--color-blue-deep);
  color: var(--color-white);
  overflow: hidden;   /* the peek image rides inside the panel's rounding */
}
.jobs__panel{ position: relative; }
/* .section-heading and .eyebrow both set their own colour for the light
   panels, so on this one they have to be told again */
.section-panel--dark .section-heading{ color: var(--color-white); }
/* .85 ist die unterste Stufe, die auf dem tiefen Blau noch AA erreicht (5,0:1);
   bei .62 waren es 2,3:1. Der Abstand zum vollweissen Text kommt jetzt aus der
   Schriftgroesse, nicht mehr aus der Deckkraft. */
.section-panel--dark .section-heading .muted{ color: rgb(255 255 255 / .85); }
/* here the grey part starts on the first line and breaks itself, so it must
   not take the block display the other headings rely on */
.jobs__heading .muted{ display: inline; }
.section-panel--dark .eyebrow{ color: rgb(255 255 255 / .85); }

/* a nod to the bulb lettering on every Prater front: a strip of lights with a
   single glow travelling along it */
.jobs__bulbs{
  position: relative;
  height: 8px;
  margin-bottom: clamp(22px, 2.6vw, 38px);
  background-image: radial-gradient(circle, rgb(255 255 255 / .32) 2px, transparent 2px);
  background-size: 22px 8px;
  background-repeat: repeat-x;
}
.jobs__bulbs::after{
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--color-yellow) 2px, transparent 2px);
  background-size: 22px 8px;
  background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, transparent 16%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, transparent 16%);
  -webkit-mask-size: 300% 100%;
          mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  animation: jobs-bulbs 5s linear infinite;
}
@keyframes jobs-bulbs{
  from{ -webkit-mask-position: -60% 0; mask-position: -60% 0; }
  to  { -webkit-mask-position: 160% 0; mask-position: 160% 0; }
}

.jobs__head{
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--gap-lg);
  align-items: end;
  margin-bottom: clamp(26px, 3vw, 46px);
}
.jobs__lead{ font-size: var(--fs-body); line-height: 1.8; color: rgb(255 255 255 / .88); }

/* ---------- the list ---------- */
.jobs__list{ list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.jobs__list li + li{ border-top: 1px solid rgb(255 255 255 / .22); }
.job{
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding: clamp(16px, 1.9vw, 26px) 0;
  color: inherit;
  transition: padding-left .45s cubic-bezier(.16,1,.3,1), color .3s ease;
}
.job__no{
  font-size: var(--fs-btn);
  color: rgb(255 255 255 / .85);
  transition: color .3s ease;
  font-variant-numeric: tabular-nums;
}
.job__title{
  font-size: clamp(18px, 12px + 1.3vw, 29px);
  line-height: 1.15;
}
.job__tags{ display: flex; gap: 8px; flex-wrap: wrap; }
.job__tags em{
  font-style: normal;
  font-size: var(--fs-btn);
  padding: .35em .9em;
  /* .6 statt .45: der Rahmen ist die ganze Begrenzung der Pille und muss die
     3:1 aus WCAG 1.4.11 halten (jetzt 3,3:1, vorher 1,8:1). */
  border: 1px solid rgb(255 255 255 / .6);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.job__go{
  width: 2.6em; height: 2.6em; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  /* wie bei den Schlagworten: der Kreis ist nur sein Rahmen */
  border: 1px solid rgb(255 255 255 / .6);
  flex-shrink: 0;
  transition: background-color .35s ease, border-color .35s ease,
              color .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
@media (hover: hover){
  .job:hover{ padding-left: clamp(10px, 1.4vw, 22px); }
  .job:hover .job__no{ color: var(--color-yellow); }
  .job:hover .job__tags em{ border-color: rgb(255 255 255 / .8); }
  .job:hover .job__go{
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    color: var(--color-black);
    transform: translateX(4px);
  }
}
.job:focus-visible{ outline: 2px solid var(--color-yellow); outline-offset: 4px; }

/* ---------- the trailing photo ---------- */

.jobs__foot{
  margin-top: clamp(24px, 2.8vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md); flex-wrap: wrap;
}
.jobs__note{ font-size: var(--fs-body); color: rgb(255 255 255 / .88); max-width: 34em; }

/* ---------- Lageplan ---------- */
.lageplan{ padding-bottom: var(--section-pad-y); }
.lageplan__head{
  display:flex; flex-wrap:wrap; align-items:flex-start; gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}
.lageplan__icon{ width: clamp(30px,3vw,42px); }
.lageplan__head h2{ flex: 1 1 260px; }
.lageplan__head p{ flex: 1 1 260px; font-size: var(--fs-body); line-height:1.7; align-self:center; }
.lageplan__map{
  position:relative;
  border-radius: var(--radius-card); overflow:hidden; box-shadow: var(--shadow-card);
  aspect-ratio: 1187/331;
}
/* wide and shallow on desktop, but a letterbox is useless on a phone */
@media (max-width: 760px){
  .lageplan__map{ aspect-ratio: 4/3; }
}

/* ---------- Footer ---------- */
/* Hellblau statt Weiss: der Footer liegt unter der Seite und taucht beim
   Scrollen darunter hervor — auf Weiss waere diese Bewegung unsichtbar
   gewesen. Es ist dieselbe Flaeche wie im Hero, die Seite faengt und
   endet damit in derselben Farbe. Schwarz auf #C0E3F2 hat Kontrast 15:1. */
/* Der Footer ist eine freistehende Box: rundum Rand, rundum Radius, eigener
   Schatten. Die Luft darunter steckt in --footer-luft, nicht in einem
   margin — der fixierte Footer haengt am Fensterboden, und script.js rechnet
   diesen Wert in die Hoehe der Huelle mit ein. */
:root{ --footer-luft: clamp(14px, 1.8vw, 34px); }
.site-footer{
  background: var(--color-sky);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 24px rgba(18,28,47,.07);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 64px) clamp(26px, 3.2vw, 58px) clamp(30px, 3.4vw, 52px);
}
/* Logo, Sitemap, Info und Partner in einer Reihe. Die Logospalte bekommt etwas
   mehr Platz als die Linklisten, bleibt aber eine Spalte wie die anderen —
   damit sitzen alle vier auf derselben Oberkante. */
.site-footer__grid{
  display:grid;
  grid-template-columns: minmax(11rem, 1.3fr) repeat(3, 1fr);
  gap: var(--gap-lg);
  align-items:stretch;
}
.site-footer__col--brand{ gap: 14px; align-items:flex-start; }
.site-footer__col{ display:flex; flex-direction:column; gap: 12px; }
.site-footer__label{
  font-size: clamp(8px, .9vw, 10px); text-transform:uppercase; letter-spacing:.08em; color: var(--color-gray);
  margin-bottom: 4px;
}
.site-footer__col a{ font-size: var(--fs-nav); text-transform:uppercase; letter-spacing:.04em; }
/* Eigennamen und Adressen bleiben in ihrer Schreibweise — "Praterdynastien.at"
   in Versalien waere falsch geschrieben, eine Mailadresse auch. */
/* Die Spezifitaet muss ueber .site-footer__col a liegen, sonst gewinnt dort
   das uppercase und "Praterdynastien.at" stuende als PRATERDYNASTIEN.AT da. */
.site-footer .site-footer__col--accent a,
.site-footer .site-footer__col a[href^="mailto:"],
.site-footer .site-footer__col a[href^="tel:"],
.site-footer a.site-footer__adresse,
.site-footer .partner-logo,
.site-footer .partner-logo__text{ text-transform: none; letter-spacing: 0; }

.partner-logo{
  display: inline-flex; align-items: center;
  margin-top: clamp(10px, 1.2vw, 18px);
  padding: .55em 1.1em;
  background: var(--color-white);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.partner-logo:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgb(18 28 47 / .14); }
.partner-logo:focus-visible{ outline: 3px solid var(--color-blue); outline-offset: 3px; }
.partner-logo__bild{ height: clamp(26px, 2.6vw, 40px); width: auto; }
.partner-logo__text{
  font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .02em;
}
.site-footer__col a:hover{ text-decoration:underline; }
/* die Partnerspalte war hellblau auf Weiss — jetzt umgekehrt, damit sie
   sich weiter abhebt */
.site-footer__col--accent{
  background: var(--color-white); border-radius: var(--radius-card);
  padding: clamp(16px, 2vw, 26px);
}

/* Der Footer steht einfach am Ende der Seite — freistehende Box mit Luft
   rundherum. Vorher hing er per clip-path und position:fixed am Fensterboden
   und wurde beim Scrollen aufgedeckt; das erzeugte an den Kanten sichtbare
   Schnitte und Schattenreste. Jetzt macht er gar nichts Besonderes mehr. */
.footer-reveal{
  position: relative;
  padding-bottom: var(--footer-luft);
}

/* ==========================================================================
   Attraction subpages
   They share the home page's hero silhouette — the same cuts and corners —
   so a subpage reads as the same site rather than a separate template. Only
   the proportions change: a subpage's hero does not have to hold the whole
   screen, because the content underneath is what the visitor came for.
   ========================================================================== */
/* a subpage's hero fills the screen like the home page's does */
.hero--sub .hero__panel{ padding-bottom: clamp(20px, 2.6vw, 40px); }

/* One grid for all four blocks rather than two stacked columns. The media
   share a row and the text under them shares another, so their edges line up
   by construction — with separate columns the photo and the map drifted apart
   by however much the title and the figures below them differed in height. */
.sub-hero{
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.52fr 1fr;
  grid-template-rows: minmax(var(--sub-media-min), 1fr) auto;
  grid-template-areas:
    "photo map"
    "title keys";
  gap: var(--gap-md);
  padding-top: clamp(12px, 1.6vw, 22px);
  --sub-media-min: clamp(12rem, 7rem + 20vw, 24rem);
}
.sub-hero__photo{ grid-area: photo; }
.sub-hero__stack{ grid-area: map; }
.sub-hero__title{ grid-area: title; }
.sub-hero__keys{ grid-area: keys; }

.sub-hero__frame{
  position: relative;
  display: block;
  min-height: 0;
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--color-offwhite);
}
.sub-hero__frame img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Mehrere Aufnahmen im Hero: sie liegen uebereinander und loesen sich hart ab.
   Kein langes Ueberblenden — ein Bild steht, dann steht das naechste. */
.sub-hero__photo[data-hero-shots] img{
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .09s linear;
}
.sub-hero__photo[data-hero-shots] img.is-on{ opacity: 1; }

/* season strip on top, map taking whatever height is left under it */
.sub-hero__stack{
  display: flex; flex-direction: column;
  gap: var(--gap-md);
  min-width: 0; min-height: 0;
}
.sub-hero__stack .sub-hero__frame{ flex: 1; }
.sub-hero__season{
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--gap-md); flex-wrap: wrap;
  background: var(--color-yellow);
  border-radius: var(--radius-card);
  padding: clamp(12px, 1.3vw, 18px) clamp(16px, 1.8vw, 26px);
}
.sub-hero__season-label{
  font-size: var(--fs-eyebrow);
  text-transform: uppercase; letter-spacing: .06em;
  /* grey would sit too close to the yellow; the black at 55% keeps the label
     quieter than the date without going muddy */
  color: rgb(0 0 0 / .55);
}
.sub-hero__season-value{ font-size: var(--fs-title); line-height: 1.2; }

/* The plan is one wide drawing and every attraction sits somewhere else on it,
   so the frame is a window onto it. --map-x / --map-y are that attraction's
   point AS A FRACTION OF THE IMAGE, and --map-zoom is the image's width as a
   multiple of the frame's. left/top put the frame's centre under the cursor,
   the translate pulls the point there — translate percentages resolve against
   the image's own box, which is exactly what makes this exact at any size. */
.sub-hero__map{ background: var(--color-offwhite); }
/* the embed fills the frame; it stays inert until the visitor taps it so a
   wheel over the map still scrolls the page instead of zooming Google */
.sub-hero__map-embed{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
/* Die Karte ist von Anfang an bedienbar — es gibt keine Vorschaltflaeche
   mehr, seit OpenStreetMap statt Google Maps eingebunden ist. */
/* top right: Google parks its place card top left and its logo, attribution
   and "larger map" link along the bottom edge */
.sub-hero__map-cta{
  position: absolute; z-index: 2;
  right: clamp(12px, 1.4vw, 18px); top: clamp(12px, 1.4vw, 18px);
  color: var(--color-black); text-decoration: none;
  display: inline-flex; align-items: center; gap: .9em;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  font-size: var(--fs-btn);
  padding: .55em .55em .55em 1.3em;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
}
.sub-hero__map-cta .btn__arrow{
  width: 2em; height: 2em; border-radius: 50%;
  background: var(--color-yellow);
  display: inline-flex; align-items: center; justify-content: center;
}
.sub-hero__map-cta:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgb(0 0 0 / .18);
}

/* ---------- Title block under the photo ---------- */
.sub-hero__title{ display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px); }
/* not the uppercase eyebrow: a path reads better in its own case */
.crumbs{ font-size: var(--fs-eyebrow); color: var(--color-gray); }
.crumbs a{ color: var(--color-black); }
.crumbs a:hover{ text-decoration: underline; }
.sub-hero__title-row{
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 40px);
}
.sub-hero__h1{
  font-size: clamp(34px, 20.6px + 3.6vw, 64px);
  line-height: 1.05;
  font-weight: 400;
}

/* ---------- Key figures under the map ---------- */
/* Vier gleich breite Spalten waren zu eng: "12 x 20 m" braucht mehr Platz
   als "16", durfte wegen white-space:nowrap aber nicht umbrechen und stand
   dann links und rechts aus der Karte heraus. Jetzt bestimmt der Inhalt die
   Breite, die Karten fuellen die Zeile gemeinsam aus und brechen um, wenn
   es eng wird. */
.sub-hero__keys{
  margin: 0;
  display: flex; flex-wrap: wrap;
  gap: clamp(8px, 1vw, 16px);
}
.sub-hero__key{
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(10px, 1.4vw, 20px) clamp(10px, 1.1vw, 18px);
  /* column-reverse, weil im Markup jetzt dt vor dd steht (so gehoert ein
     Begriff vor seine Beschreibung). Gezeigt wird weiter die grosse Zahl
     oben und das kleine Label darunter. */
  display: flex; flex-direction: column-reverse; align-items: center; gap: 2px;
  /* kein min-width:0 — sonst schrumpft die Karte unter ihren eigenen Text */
  flex: 1 1 auto;
}
.sub-hero__key dd{
  margin: 0;
  font-size: clamp(18px, 11.5px + 1.7vw, 34px);
  line-height: 1.1;
  white-space: nowrap;
}
.sub-hero__key dt{
  font-size: clamp(10px, 8.7px + 0.35vw, 13px);
  color: var(--color-gray);
}

/* ---------- Facts ---------- */
.facts__grid{
  margin-top: var(--gap-lg);
  display: grid; gap: var(--gap-md);
  /* narrow enough that all five share one row at the desktop widths, and
     wrapping on its own below that */
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.fact{
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 10px;
}
/* the first card carries the headline claim, so it gets the brand colour —
   same size as the rest, they all sit in one row */
.fact--accent{ background: var(--color-sky); }
.fact__label{
  font-size: var(--fs-eyebrow);
  text-transform: uppercase; letter-spacing: .06em;
}
.fact__text{ font-size: var(--fs-body); line-height: 1.75; color: var(--color-black); }

/* ---------- Story ---------- */
.story{
  padding-bottom: var(--section-pad-y);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap-lg);
  align-items: start;
}
/* Eigene Spalte neben dem Fliesstext, gesetzt wie die uebrigen Abschnittskoepfe.
   Der Zweig greift, sobald eine Attraktion ohne facts-Karten auskommt oder ihr
   Text noch fehlt (story_block bzw. pending_block in build-attraktionen.py). */
.story__head{ display: flex; flex-direction: column; gap: 12px; }
.story__text{
  max-width: 64ch;
  display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px);
}
.story__text p{ font-size: var(--fs-body); line-height: 1.8; }

/* ---------- Showcase: Ueberschrift, Ablauf und ein grosses Bild ----------
   Die Aufnahmen wechseln schon oben im Hero. Hier steht eine still — zwei
   laufende Galerien auf einer Seite nehmen einander die Aufmerksamkeit. */
.showcase{ padding-bottom: var(--section-pad-y); }
.showcase__head{
  display:flex; flex-wrap:wrap; align-items:baseline; gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}
.showcase__head p{ font-size: var(--fs-body); color: var(--color-gray); max-width: 48ch; }
.showcase .facts__grid{ margin-bottom: var(--gap-lg); }
.showcase__frame{
  position:relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-offwhite);
}
.showcase__frame img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* ---------- Parallaxe ----------
   Die Bildflaechen schieben ihr Motiv beim Scrollen gegen die Seite. Der
   Rahmen beschneidet, das Bild ist etwas groesser als noetig — sonst liefe
   beim Verschieben eine Kante ins Bild. --par schreibt script.js. */
[data-parallax]{ overflow: hidden; }
[data-parallax] img,
[data-parallax] video{
  transform: translate3d(0, var(--par, 0px), 0) scale(1.14);
  will-change: transform;
}

/* ---------- Technical data ----------
   A plain two-column register: the operator's own numbers, so the page can be
   read as a spec sheet without the marketing voice getting in the way. */
.specs{ padding-bottom: var(--section-pad-y); }
.specs__head{
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}
.specs__head p{ font-size: var(--fs-body); color: var(--color-gray); }
.specs__list{
  margin: 0;
  display: grid; gap: 0 var(--gap-lg);
  /* 22rem ist breiter als ein Telefon — ohne das min() steht die Spalte
     ueber dem Rand und die Werte laufen aus dem Bild */
  grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
}
.spec{
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--gap-md); flex-wrap: wrap;
  padding: clamp(10px, 1.1vw, 15px) 0;
  border-bottom: 1px solid rgb(0 0 0 / .1);
  font-size: var(--fs-body);
}
.spec dt{ color: var(--color-gray); flex: 0 0 auto; }
.spec dd{ margin: 0; text-align: right; }
/* a long answer gets the whole row rather than being squeezed into a column */
.spec--wide{ grid-column: 1 / -1; }
/* age and height limits: a rule, not a measurement, so it sits apart from the list */
.specs__note{
  margin-top: var(--gap-lg);
  font-size: var(--fs-body);
}

/* ---------- More attractions ---------- */
.more{ padding-bottom: var(--section-pad-y); }
.more > .more__head{
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md); flex-wrap: wrap;
  margin-bottom: var(--gap-lg);
}
.more__grid{
  display: grid; gap: var(--gap-md);
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}
.more__item{
  background: var(--color-offwhite);
  border-radius: var(--radius-card);
  padding: clamp(14px, 1.4vw, 20px);
  display: flex; flex-direction: column; gap: clamp(6px, .6vw, 9px);
  font-size: var(--fs-body);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease,
              background-color .28s ease;
}
.more__head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: clamp(4px, .5vw, 8px) clamp(4px, .6vw, 10px) 0;
}
.more__title{ line-height: 1.2; }
.more__go{
  width: 1.9em; height: 1.9em; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white);
  flex-shrink: 0;
  transition: background-color .28s ease, transform .28s cubic-bezier(.16,1,.3,1);
}
/* the frame clips, so only the picture inside moves on hover */
.more__media{
  display: block;
  border-radius: calc(var(--radius-card) - 6px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-white);
}
.more__media img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.more__item:hover{
  background: var(--color-sky);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgb(0 0 0 / .12);
}
.more__item:hover .more__go{ background: var(--color-yellow); transform: translateX(3px); }
.more__item:hover .more__media img{ transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px){
  .story{ grid-template-columns: 1fr; }
  .jobs__head{ grid-template-columns: 1fr; align-items: start; }
  .job{
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "no title go" ". tags tags";
    row-gap: 10px;
  }
  .job__no{ grid-area: no; }
  .job__title{ grid-area: title; }
  .job__tags{ grid-area: tags; }
  .job__go{ grid-area: go; }
  /* stacked: photo with its title, then the map with its figures */
  /* stacked, the photo keeps its title with it and the map keeps its figures */
  .sub-hero{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "photo" "title" "keys" "map";
    gap: var(--gap-md);
  }
  .sub-hero__photo{ height: clamp(13rem, 55vw, 22rem); }
  .sub-hero__stack .sub-hero__frame{ height: clamp(11rem, 44vw, 18rem); flex: 0 0 auto; }
  .sub-hero__title{ margin-bottom: var(--gap-md); }
  /* no room to overlap any more — stack, photo first */
  .hero__content{
    /* Schlagzeile und Text zuerst, dann erst das Video — gestapelt liest man
       von oben, und oben soll stehen, worum es geht */
    /* oben beginnen statt mittig: sonst haengt der Text in der Mitte der
       Flaeche und der Abstand unter dem Logo ist nicht der gesetzte */
    display:flex; flex-direction:column; justify-content:flex-start;
    /* reset the desktop grid's end-alignment — in a column flex it would
       mean "align right" and shove both blocks against the panel edge */
    align-items: stretch;
    gap: var(--gap-lg);
  }
  .hero__copy{
    width:100%; min-width:0;
    /* unter dem Logofeld standen nur 14px — zu knapp, das Feld und die
       Schlagzeile klebten aneinander */
    margin-top: clamp(30px, 11vw, 56px);
    /* gestapelt gibt es keine Bildkante mehr, an der sich oben und unten
       ausrichten muessten — sonst reisst zwischen Schlagzeile und Absatz
       eine Luecke auf, sobald die Spalte hoeher wird als ihr Inhalt */
    justify-content: flex-start;
    /* der Block erbt sonst die Hoehe der ganzen Hero-Flaeche und reisst
       zwischen Buttons und Video eine leere Bahn auf */
    flex: 0 0 auto;
    height: max-content;
  }
  /* stacked, there is no cut-out to centre against — let the blocks be their
     own size again, with the column's normal rhythm between them */
  .hero__copy{ gap: clamp(16px,2vw,22px); }
  .hero__copy-top,
  .hero__copy-bottom{ height:auto; }
  .hero__gallery{ width:100%; max-width: 560px; align-self:center; }
  .hero__text{ max-width: 34em; }

  /* Seit die Vorschau unter der Hero steht, bliebe unter dem Video eine
     leere blaue Bahn bis zur Bildschirmkante — die Flaeche endet jetzt mit
     ihrem Inhalt. */
  .hero,
  .hero__panel{ min-height: 0; }

  /* Am Telefon traegt die Silhouette nichts: die Ausschnitte fressen das Bild,
     und neben dem Video ist kein Platz mehr, in dem eine Schlagzeile stehen
     koennte. Also ein schlichtes Video im abgerundeten Rahmen. */
  .hero-shape__cut,
  .hero-shape .inverted-corner{ display:none; }
  .hero-shape{ border-radius: var(--r-media); overflow:hidden; }

  /* Die Attraktionsvorschau faellt am Telefon ganz weg: dieselben Bilder
     stehen weiter unten im Attraktionsslider, und gestapelt verdoppelte sie
     die Hero-Hoehe ohne etwas hinzuzufuegen. */
  .hero__mini{ display:none; }
  .hero__gallery{
    container-type: normal;
    display:flex; flex-direction:column; gap: var(--gap-md);
    /* gestapelt bestimmt der Inhalt die Hoehe; die Mindesthoehe und das
       Schrumpfen aus der Desktop-Regel liessen das Bild sonst herauslaufen */
    height:auto; min-height:0; flex: 0 0 auto;
  }
  .hero-shape{
    position:relative; inset:auto;
    height: clamp(14rem, 52vw, 22rem);
    flex: 0 0 auto;
  }

  /* Gestapelt steht ueber dem Slider kein leeres Feld mehr, in das er
     hineinrutschen koennte — dort faehrt er sonst in den Knopf. */
  .atc{ margin-top: 0; }

  .split-cards__panel{ grid-template-columns: 1fr; }
  /* stacked: both cards show their photo, so the open/closed columns from the
     desktop handover have to be undone at matching specificity */
  .split-card--photo,
  .split-card--photo:first-child{
    grid-template-columns: 1fr;
    column-gap: 0;
    grid-template-areas:
      "icon"
      "photo"
      "title"
      "text"
      "cta";
  }
  .split-card__media{ min-height: 220px; }
}

@media (max-width: 780px){
  .history-cards{ grid-template-columns: 1fr; }
  /* stacked, the text cards take the height their content needs — but the
     photo card still has to keep a proportion, or it flattens into a letterbox
     again and crops the man's head off the bottom */
  .card-stack{ height:auto; }
  /* stacked, the photo keeps the picture's own proportion — nothing is cropped */
  .card--photo::before{ aspect-ratio: 1402 / 1110; }
  .site-footer__grid{ grid-template-columns: 1fr 1fr; }
  .site-footer__col--brand{ grid-column: 1 / -1; }
  .site-footer__col--accent{ grid-column: 1 / -1; }
  .attractions__head{ padding-right:0; }
  /* stacked, it simply takes the row */
  .attractions__side{ width:100%; margin-left:0; }
}

@media (max-width: 640px){
  .hero__gallery{ max-width: 420px; }
  /* beide Knoepfe nebeneinander — sie teilen sich die Zeile und geben dafuer
     die gemeinsame Mindestbreite auf, die sie sonst untereinander zwingt */
  .btn-row{
    width:100%; flex-direction:row; align-items:stretch;
    gap: 10px; flex-wrap:nowrap;
  }
  .btn-row .btn{
    width:auto; flex: 1 1 0; min-width:0;
    padding-left: 1.15em;
  }
  /* 1238:524 ist am Telefon ein Schlitz von knapp 150px — hochkantiger,
     damit die Aufnahme ueberhaupt zur Geltung kommt */
  .banner-photo img{ aspect-ratio: 4 / 3; object-position: center 40%; }
  .atc{ height: clamp(300px, 86vw, 420px); }
  .attractions__actions{ width:100%; }
  /* 12px hohe Zeilen sind am Telefon nicht zu treffen */
  .site-footer__col a{ display:flex; align-items:center; min-height: 36px; }
  .site-footer__col{ gap: 0; }
  .site-footer__grid{ grid-template-columns: 1fr; }
  .site-footer__col--brand{ grid-column: auto; }
  .site-footer__col--accent{ grid-column: auto; }
}

/* ==========================================================================
   First-load entrance — pure CSS, staggered so the hero opens as one
   cascade. animation-fill-mode:both holds the hidden frame until each
   element's delay elapses, so nothing flashes before its turn.
   .hero__panel deliberately gets NO animation: a transform on it would make
   it the containing block for .logo-badge, which is absolutely positioned
   against it to reach the panel's true corner.
   ========================================================================== */
@keyframes hero-fade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes hero-fade-up{
  from{ opacity:0; transform: translateY(18px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes hero-pop-in{
  from{ opacity:0; transform: scale(.94); }
  to{ opacity:1; transform: scale(1); }
}
/* Die Einblendung des Heros.

   Der sichtbare Zustand ist der normale; nur das Warten ist ein Sonderfall.
   Deshalb traegt kein Element hier eine Startposition, aus der es sich erst
   befreien muesste — es steht normal da, und solange html die Klasse
   hero-warten traegt, ist es verschoben und durchsichtig.

   Der Umweg vorher war laenger: erst eine gewoehnliche Animation beim Laden
   (die hinter der Vorspannflaeche ablief und vorbei war, bevor man sie sah),
   dann eine pausierte (die bei Zeit null stehenblieb). Beide hatten
   dasselbe Problem: faellt etwas aus, bleibt der Inhalt unsichtbar. So
   herum nicht. */
.hero__topbar, .logo-badge, .hero__utility,
.hero__copy .eyebrow, .hero__heading, .hero__text, .btn-row,
.hero__gallery, .hero__mini{
  transition: opacity .9s cubic-bezier(.16,1,.3,1),
              transform .9s cubic-bezier(.16,1,.3,1);
}
html.hero-warten .hero__topbar,
html.hero-warten .logo-badge,
html.hero-warten .hero__utility,
html.hero-warten .hero__copy .eyebrow,
html.hero-warten .hero__heading,
html.hero-warten .hero__text,
html.hero-warten .btn-row,
html.hero-warten .hero__gallery,
html.hero-warten .hero__mini{
  opacity: 0;
  transition: none;
}
html.hero-warten .hero__copy .eyebrow,
html.hero-warten .hero__heading,
html.hero-warten .hero__text,
html.hero-warten .btn-row{ transform: translateY(18px); }
html.hero-warten .hero__gallery,
html.hero-warten .hero__mini{ transform: scale(.94); }

/* Die Reihenfolge, in der man liest: erst der Rahmen, dann die Zeile oben,
   dann Ueberschrift und Text, zuletzt Bild und Vorschau. Grosszuegiger als
   noetig — es soll nach Ankommen aussehen, nicht nach Abarbeiten. */
.logo-badge          { transition-delay: .06s; }
.hero__topbar        { transition-delay: .12s; }
.hero__utility       { transition-delay: .18s; }
.hero__copy .eyebrow { transition-delay: .26s; }
.hero__heading       { transition-delay: .34s; }
.hero__text          { transition-delay: .48s; }
.btn-row             { transition-delay: .60s; }
.hero__gallery       { transition-delay: .38s; transition-duration: 1.05s; }
.hero__mini          { transition-delay: .92s; }

@media (prefers-reduced-motion: reduce){
  html.hero-warten .hero__topbar, html.hero-warten .logo-badge,
  html.hero-warten .hero__utility, html.hero-warten .hero__copy .eyebrow,
  html.hero-warten .hero__heading, html.hero-warten .hero__text,
  html.hero-warten .btn-row, html.hero-warten .hero__gallery,
  html.hero-warten .hero__mini{ opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn, .btn__arrow, .burger span, .mobile-nav, .hero__utility::before, .nav__indicator,
  .dot-btn, .hero__mini-photo img, .logo, .card__bg-photo, .hero__mini-dots i,
  .split-cards__panel, .split-card--photo{ transition:none; }
  .banner-photo img{ transition:none; }
  .banner-photo__frame:hover img{ transform:none; }
  .dot-btn:hover, .hero__mini-photo:hover img,
  .logo-badge:hover .logo, .card--photo:hover .card__bg-photo,
  .btn:hover, .btn:hover .btn__arrow{ transform:none; }
  .hero__topbar, .logo-badge,
  .hero__copy .eyebrow, .hero__heading, .hero__text, .btn-row,
  .hero__gallery, .hero__mini{ animation: none; }
  .jobs__bulbs::after{ animation: none; opacity: .5; }

}

/* Breiter Aufbau: links die grosse Kachel ueber die volle Hoehe, rechts ueber
   den beiden Vorschauen der Kopf — Pfeile, Ueberschrift, Zeile, Knopf. Der
   Kopf liegt dafuer ueber der Galerie statt vor ihr; die Vorschauen stehen
   unten buendig und lassen den Platz darueber frei. */
/* ==========================================================================
   Textseiten: Impressum, Datenschutz, Blogartikel
   Dieselbe Kopfleiste wie ueberall, aber ein flacher Hero — hier gibt es
   kein Bild zu zeigen, der Text ist der Inhalt.
   ========================================================================== */
.hero--text{ min-height: 0; }
.hero--text .hero__panel{
  min-height: 0;
  padding-bottom: clamp(26px, 3vw, 54px);
}
.text-hero{
  margin-top: clamp(40px, 7vw, 120px);
  display: grid; gap: clamp(8px, 1vw, 14px);
}
.text-hero__h1{
  font-size: clamp(32px, 19px + 3.4vw, 60px);
  line-height: 1.06;
  font-weight: 400;
  max-width: 22ch;
}
.text-hero__lead{
  font-size: clamp(15px, 13px + .5vw, 20px);
  line-height: 1.55; color: var(--color-gray); max-width: 58ch;
}

.prosa{ padding-bottom: var(--section-pad-y); }
.prosa__panel{
  background: var(--color-white);
  border: 1px solid rgb(18 28 47 / .08);
}
/* Der Fliesstext nutzt die ganze Breite des Panels. Vorher war er auf 68
   Zeichen gedeckelt und stand dadurch als schmale Spalte links, waehrend
   rechts die halbe Flaeche leer blieb. Zwei Spalten ab der Breite, bei der
   eine einzelne Zeile sonst zu lang zum Lesen wuerde — so bleibt die
   Zeilenlaenge angenehm und die Flaeche trotzdem genutzt. */
.prosa__panel > *{ max-width: none; }
/* Zweispaltig hatte ich kurz versucht — bei Absaetzen von drei Zeilen
   zerfaellt das in zwei halbleere Spalten. Volle Breite, dafuer etwas mehr
   Zeilenabstand, damit das Auge die naechste Zeile wiederfindet. */
.prosa__panel > p{ line-height: 1.75; }
.prosa__panel h2{
  font-size: clamp(21px, 16px + 1.1vw, 30px);
  line-height: 1.2; margin: clamp(32px, 3.4vw, 52px) 0 .5em;
}
.prosa__panel > h2:first-child{ margin-top: 0; }
.prosa__panel h3{
  font-size: clamp(16px, 14px + .5vw, 20px);
  line-height: 1.3; margin: clamp(22px, 2.4vw, 34px) 0 .4em;
  /* Hoechstens 20px bei Normalgewicht ist nach WCAG kein Grosstext, also
     gelten 4,5:1: die helle Logofarbe auf Weiss schaffte nur 3,4:1. */
  font-weight: 400; color: var(--color-blue-deep);
}
.prosa__panel p{ line-height: 1.65; margin-bottom: 1em; }
.prosa__panel a{ text-decoration: underline; text-underline-offset: .18em; }
.prosa__panel a:hover{ color: var(--color-blue-deep); }
.prosa__lead{
  font-size: clamp(16px, 14px + .6vw, 21px);
  line-height: 1.5;
}
/* Impressumsangaben als Label-Wert-Paare, auf schmalen Schirmen untereinander */
.prosa__daten{
  display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr;
  gap: .55em clamp(14px, 2vw, 28px);
  margin: 0 0 1em;
}
.prosa__daten dt{ color: var(--color-gray); font-size: clamp(13px,1.2vw,15px); }
.prosa__daten dd{ margin: 0; line-height: 1.5; }
@media (max-width: 620px){
  .prosa__daten{ grid-template-columns: 1fr; gap: .15em; }
  .prosa__daten dd{ margin-bottom: .8em; }
}
/* Angaben, die der Kunde noch liefern muss. Sichtbar markiert, damit sie
   niemandem durchrutschen — ein Impressum mit sichtbarer Luecke ist
   ehrlicher als eines, das vollstaendig aussieht und es nicht ist. */
.luecke{
  background: #FFF3BF; color: #6B4E00;
  padding: .1em .5em; border-radius: 6px;
  font-size: .92em; font-style: italic;
}
.prosa__stand{
  margin-top: clamp(34px, 3.6vw, 54px);
  padding-top: clamp(16px, 1.8vw, 24px);
  border-top: 1px solid rgb(18 28 47 / .1);
  color: var(--color-gray); font-size: clamp(12px,1.2vw,14px);
}

/* ==========================================================================
   Prater-Magazin
   Die Artikel teilen sich den Textseiten-Hero und das Prosa-Panel; dazu
   kommen Aufmacherbild, Inhaltsverzeichnis, Bildstrecken, FAQ und die
   Verweise auf die Attraktionen, um die es im Text geht.
   ========================================================================== */
.text-hero__meta{
  font-size: var(--fs-eyebrow); letter-spacing:.06em;
  text-transform: uppercase; color: var(--color-gray);
}

/* Das Aufmacherbild liegt ueber dem Panel und schiebt sich halb darueber —
   dieselbe Verzahnung wie bei den Attraktionsseiten. */
.prosa__aufmacher{
  margin: 0 0 calc(-1 * clamp(30px, 4vw, 70px));
  border-radius: var(--r-media);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.prosa__aufmacher img{ width:100%; height:100%; object-fit:cover; }
.prosa .prosa__panel{ position: relative; }
.prosa__aufmacher + .prosa__panel{
  padding-top: calc(clamp(30px, 4vw, 70px) + clamp(26px, 1rem + 2.2vw, 48px));
}

.prosa__inhalt{
  background: var(--color-sky);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2vw, 28px) clamp(20px, 2.2vw, 32px);
  margin-bottom: clamp(30px, 3.4vw, 50px);
}
.prosa__inhalt-titel{
  font-size: clamp(8px,.9vw,10px); text-transform:uppercase;
  letter-spacing:.08em; color: var(--color-black); opacity:.6; margin-bottom:.8em;
}
.prosa__inhalt ol{ margin:0; padding-left: 1.3em; display:grid; gap:.4em; }
.prosa__inhalt a{ text-decoration:none; }
.prosa__inhalt a:hover{ text-decoration:underline; }

.prosa__liste{
  margin: 0 0 1.2em; padding-left: 1.3em;
  display: grid; gap: .55em; line-height:1.6;
}
.prosa__bild{
  margin: clamp(26px,3vw,44px) 0;
  border-radius: var(--r-media); overflow:hidden;
}
.prosa__bild img{ width:100%; height:auto; display:block; }
.prosa__bild figcaption{
  padding: .9em .2em 0; font-size: clamp(12px,1.2vw,14px);
  color: var(--color-gray); line-height:1.5;
}

/* Fragen, die Leute wirklich eingeben. Als <details>, damit die Liste kurz
   bleibt — der Text steht trotzdem im Quelltext und wird indexiert. */
.faq{ display:grid; gap:10px; margin-bottom: 1.5em; }
.faq__eintrag{
  background: var(--color-offwhite);
  border-radius: var(--radius-card);
  padding: clamp(14px,1.6vw,20px) clamp(16px,1.8vw,24px);
}
.faq__eintrag summary{
  cursor:pointer; list-style:none; font-size: clamp(15px,1.4vw,18px);
  display:flex; align-items:flex-start; gap:.8em;
}
.faq__eintrag summary::-webkit-details-marker{ display:none; }
.faq__eintrag summary::after{
  content:""; margin-left:auto; flex:0 0 auto;
  width:10px; height:10px; margin-top:.35em;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq__eintrag[open] summary::after{ transform: rotate(-135deg); }
.faq__eintrag summary:focus-visible{ outline:3px solid var(--color-blue); outline-offset:4px; }
.faq__eintrag > div{ padding-top:.9em; line-height:1.65; }
.faq__eintrag > div p{ margin-bottom:.7em; }

.prosa__verwandt{
  margin-top: clamp(32px,3.6vw,52px);
  background: var(--color-sky); border-radius: var(--radius-card);
  padding: clamp(18px,2vw,28px) clamp(20px,2.2vw,32px);
}
.prosa__verwandt-titel{
  font-size: clamp(8px,.9vw,10px); text-transform:uppercase;
  letter-spacing:.08em; opacity:.6; margin-bottom:.7em;
}
.prosa__verwandt ul{ margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:10px; }
.prosa__verwandt a{
  display:inline-flex; align-items:center;
  background: var(--color-white); border-radius: 999px;
  padding: .5em 1.1em; text-decoration:none;
  font-size: clamp(13px,1.3vw,15px);
}
.prosa__verwandt a:hover{ background: var(--color-yellow); }

.blog-liste{ padding-bottom: var(--section-pad-y); }
.blog-weitere{ padding-bottom: var(--section-pad-y); }
.blog-raster{
  display:grid; gap: clamp(14px, 1.6vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}
.blog-karte{
  display:grid; gap:0; text-decoration:none;
  background: var(--color-offwhite);
  border-radius: var(--radius-card); overflow:hidden;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.blog-karte:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }
.blog-karte:focus-visible{ outline:3px solid var(--color-blue); outline-offset:3px; }
.blog-karte__bild{ display:block; aspect-ratio: 3/2; overflow:hidden; }
.blog-karte__bild img{ width:100%; height:100%; object-fit:cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.blog-karte:hover .blog-karte__bild img{ transform: scale(1.05); }
.blog-karte__text{
  display:grid; gap:.45em;
  padding: clamp(16px,1.8vw,24px);
}
.blog-karte__datum{
  font-size: clamp(10px,1vw,11px); text-transform:uppercase;
  letter-spacing:.07em; color: var(--color-gray);
}
.blog-karte__text strong{
  font-weight:400; font-size: clamp(17px,1.6vw,22px); line-height:1.25;
}
.blog-karte__lead{
  font-size: clamp(13px,1.3vw,15px); line-height:1.55; color: var(--color-gray);
}
/* Der neueste Artikel bekommt die ganze Breite */
.blog-raster--liste > .blog-karte:first-child{
  grid-column: 1 / -1;
}
@media (min-width: 760px){
  .blog-raster--liste > .blog-karte:first-child{
    grid-template-columns: 1.1fr 1fr; align-items:stretch;
  }
  .blog-raster--liste > .blog-karte:first-child .blog-karte__bild{ aspect-ratio:auto; height:100%; }
  .blog-raster--liste > .blog-karte:first-child .blog-karte__text{
    align-content:center; padding: clamp(24px,3vw,46px);
  }
  .blog-raster--liste > .blog-karte:first-child .blog-karte__text strong{
    font-size: clamp(22px,2.4vw,34px);
  }
}

/* Zwischen 901 und 959 Pixeln riss die Kopfzeile: das Logofeld links und die
   vier Knoepfe rechts lassen der Navigation rund 500 Pixel, die fuenf Punkte
   brauchen aber 535 — sie brach in zwei Zeilen und zog die ganze Leiste in
   die Hoehe. Bis 959px uebernimmt das Burgermenue, das ohnehin danebensteht. */
@media (max-width: 959px){
  .nav{ display: none; }
}

/* ==========================================================================
   Vorspann

   Eine hellblaue Flaeche in derselben Farbe wie der Hero, darin das Boot aus
   dem Logo. Darunter steigt Wasser aus drei Wellenlagen, die unterschiedlich
   schnell ziehen — das ist der Unterschied zwischen "Wasser" und "blauer
   Kasten mit runder Oberkante", den die erste Fassung hatte. Das Boot reitet
   mit: es hebt sich mit dem Pegel und kippt im Takt der Wellen.

   Ist die Seite da, schiesst das Wasser ueber das Logo hinweg und die ganze
   Flaeche zieht nach oben weg. Weil Flaeche und Hero dieselbe Farbe haben,
   gibt es dabei keinen Bruch.
   ========================================================================== */
.preloader{ display: none; }

html.laedt{ overflow: hidden; }          /* waehrend des Vorspanns kein Scrollen */
html.laedt .preloader{
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 999;
  background: var(--color-sky);
  overflow: hidden;
  /* ein Satz Masse fuer alles darunter: Kachel, Kachelhoehe, Markenbreite */
  --kachel: clamp(240px, 24vw, 460px);
  --kachel-h: calc(var(--kachel) / 5);
  --marke-b: clamp(170px, 20vw, 320px);
  --welle-hell: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20220%2044%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2C22.0%20Q27.5%2C13.0%2055%2C22.0%20T110%2C22.0%20T165%2C22.0%20T220%2C22.0%20V44%20H0%20Z%27%20fill%3D%27%237FC3E4%27%2F%3E%3C%2Fsvg%3E");
  --welle-mittel: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20220%2044%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2C22.0%20Q27.5%2C13.0%2055%2C22.0%20T110%2C22.0%20T165%2C22.0%20T220%2C22.0%20V44%20H0%20Z%27%20fill%3D%27%232C93D1%27%2F%3E%3C%2Fsvg%3E");
  --welle-tief: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20220%2044%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2C22.0%20Q27.5%2C13.0%2055%2C22.0%20T110%2C22.0%20T165%2C22.0%20T220%2C22.0%20V44%20H0%20Z%27%20fill%3D%27%23256FB7%27%2F%3E%3C%2Fsvg%3E");
}
/* Waehrend des Vorspanns ist der Inhalt nur unsichtbar, nicht entfernt: so
   stehen Masse und Lagen schon fest, wenn der Hero zu spielen beginnt.

   Das ":not(.fertig)" ist der Unterschied zwischen weich und ruckartig: sobald
   der Abgang beginnt, wird der Inhalt sichtbar, obwohl die Flaeche noch davor
   liegt. Der Hero spielt sich also hinter dem Vorhang ein und steht fertig da,
   wenn der Vorhang oben ist — statt dass nach dem Vorhang kurz Weiss steht. */
html.laedt:not(.fertig) body > *:not(.preloader){ visibility: hidden; }

.preloader__buehne{
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: var(--marke-b); aspect-ratio: 1;
}

/* Das Boot steigt mit dem Pegel und kippt dabei — zwei getrennte Bewegungen,
   damit sie sich nicht ins Gehege kommen. */
.preloader__floss{
  position: relative; z-index: 2;
  display: block;
  animation: vorspann-auftreiben 1.6s cubic-bezier(.33,0,.2,1) forwards;
}
.preloader__marke{
  display: block;
  width: var(--marke-b); height: auto;
  transform-origin: 50% 88%;
  animation: vorspann-schaukeln 3.1s ease-in-out infinite;
}
@keyframes vorspann-auftreiben{
  from{ transform: translateY(calc(var(--kachel-h) * .9)); }
  to  { transform: translateY(0); }
}
@keyframes vorspann-schaukeln{
  0%, 100%{ transform: rotate(-2.6deg) translateY(0); }
  50%     { transform: rotate(2.6deg) translateY(-6px); }
}

/* Der Pegel. Die Hoehe haengt an der Logogroesse, damit die Oberflaeche
   genau am Boot steht und nicht an einem geratenen Wert. */
.preloader__wasser{
  --logo-h: calc(var(--marke-b) / 1.103 / 2);
  --pegel: calc(50vh - var(--logo-h) + var(--kachel-h) * .6);
  position: absolute; z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: 0;
  animation: vorspann-steigen 1.6s cubic-bezier(.33,0,.2,1) forwards;
}
@keyframes vorspann-steigen{
  from{ height: 0; }
  to  { height: var(--pegel); }
}

/* Jede Lage ist eine Wellenkachel oben und eine Flaeche darunter. Die Kachel
   wiederholt sich waagrecht und wandert um genau ihre Breite — dadurch laeuft
   sie endlos, ohne dass man den Ansatz sieht. Drei Lagen mit verschiedenen
   Geschwindigkeiten ergeben die Tiefe.

   Kachelbreite und -hoehe haengen an der Viewportbreite, sonst sind die Wellen
   am Monitor ein duenner Streifen und am Handy ein Gebirge. Die Keyframes
   verschieben um genau --kachel, damit der Ansatz nie sichtbar wird. */
.preloader__welle{
  position: absolute; left: 0; right: 0; bottom: 0;
  top: calc(var(--kachel-h) * -.5);
  background-repeat: repeat-x, no-repeat;
  background-position: left top, left var(--kachel-h);
  background-size: var(--kachel) var(--kachel-h), 100% calc(100% - var(--kachel-h));
  animation: vorspann-ziehen linear infinite;
  will-change: background-position;
}
.preloader__welle--tief{
  background-image: var(--welle-tief), linear-gradient(#2A78C0 0%, #1F5EA0 70%);
  animation-duration: 11s;
  top: calc(var(--kachel-h) * -.22);
}
.preloader__welle--mittel{
  background-image: var(--welle-mittel), linear-gradient(#3C9EDA 0%, #2277B8 60%);
  animation-duration: 7.5s;
  animation-direction: reverse;
  top: calc(var(--kachel-h) * -.55);
  opacity: .92;
}
.preloader__welle--hell{
  background-image: var(--welle-hell), linear-gradient(#8FCFEC 0%, #5FADDC 45%, rgba(95,173,220,0) 100%);
  animation-duration: 5s;
  top: calc(var(--kachel-h) * -.86);
  opacity: .75;
}
@keyframes vorspann-ziehen{
  from{ background-position: 0 top, left var(--kachel-h); }
  to  { background-position: var(--kachel) top, left var(--kachel-h); }
}

/* eine helle Kante auf dem Kamm — das Licht, das Wasser von Farbe unterscheidet */
.preloader__schaum{
  position: absolute; left: 0; right: 0;
  top: calc(var(--kachel-h) * -.6); height: var(--kachel-h);
  background: var(--welle-hell) repeat-x left top / var(--kachel) var(--kachel-h);
  opacity: .5;
  filter: brightness(1.6);
  animation: vorspann-ziehen 4s linear infinite reverse;
}

/* Das Ende: das Wasser schiesst ueber das Logo, dann zieht die ganze Flaeche
   nach oben weg. Wasser und Marke laufen ihr ein Stueck voraus — so sieht es
   aus, als nehme die Welle das Logo mit. */
html.laedt.fertig .preloader{
  transform: translateY(-104%);
  transition: transform .9s cubic-bezier(.72,0,.18,1) .36s;
}
html.laedt.fertig .preloader__wasser{
  animation: none;
  height: 72vh;
  transition: height .52s cubic-bezier(.4,0,.25,1);
}
html.laedt.fertig .preloader__welle{ animation-duration: 1.4s; }
html.laedt.fertig .preloader__floss{
  animation: none;
  transform: translateY(-14vh) rotate(-8deg);
  transition: transform .86s cubic-bezier(.45,0,.2,1) .06s;
}
html.laedt.fertig .preloader__marke{ animation: none; }

@media (prefers-reduced-motion: reduce){
  html.laedt .preloader,
  html.laedt body > *:not(.preloader){ animation: none !important; transition: none !important; }
  .preloader__welle, .preloader__schaum, .preloader__floss, .preloader__marke{
    animation: none !important;
  }
}

/* ---------- Pfeile im Unterseiten-Hero ---------- */
/* Die Pfeile stehen links neben der Saisonpille, auf einer Linie mit ihr. */
.sub-hero__zeile{
  display: flex; align-items: stretch;
  gap: clamp(8px, .9vw, 14px);
  flex: 0 0 auto;
}
.sub-hero__zeile .sub-hero__season{ flex: 1 1 auto; min-width: 0; }
/* Es sind dieselben Knoepfe wie bei der Galerie auf der Startseite —
   .circle-btn bringt Form, Rahmen und Hover schon mit. Hier bleibt nur,
   was die Stelle braucht: die Hoehe der Saisonpille daneben. */
.sub-hero__pfeile{ display: inline-flex; gap: clamp(6px, .7vw, 10px); flex: 0 0 auto; }
.sub-hero__pfeile .circle-btn{
  width: auto; height: auto;
  aspect-ratio: 1;
  min-width: clamp(42px, 4vw, 58px);
  text-decoration: none;
}
.sub-hero__pfeile .circle-btn:focus-visible{ outline: 3px solid var(--color-blue); outline-offset: 3px; }

/* ---------- Sicherheitshinweis auf den Attraktionsseiten ---------- */
.sicherheit{ padding-bottom: clamp(26px, 3vw, 48px); }
.sicherheit__box{
  background: var(--color-sky);
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(14px, 1.8vw, 26px);
  align-items: start;
}
.sicherheit__marke{
  flex: 0 0 auto;
  width: clamp(30px, 3vw, 40px); height: clamp(30px, 3vw, 40px);
  border-radius: 50%;
  background: var(--color-white); color: var(--color-black);
  display: grid; place-items: center;
  font-size: clamp(17px, 1.7vw, 22px); line-height: 1;
}
.sicherheit__titel{
  font-size: clamp(16px, 14px + .6vw, 21px);
  font-weight: 400; margin-bottom: .4em;
}
.sicherheit__box p{ line-height: 1.65; }
@media (max-width: 560px){
  .sicherheit__box{ grid-template-columns: 1fr; }
}

/* ---------- Vor und zurueck durch die Attraktionen ---------- */
.blaettern{
  display: grid; gap: clamp(10px, 1.2vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  padding-bottom: clamp(30px, 3.4vw, 56px);
}
.blaettern__seite{
  display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px);
  background: var(--color-offwhite);
  border-radius: var(--radius-card);
  padding: clamp(16px, 1.8vw, 26px) clamp(18px, 2vw, 28px);
  text-decoration: none;
  transition: background .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.blaettern__seite:hover{ background: var(--color-sky); }
.blaettern__seite--vor:hover{ transform: translateX(-4px); }
.blaettern__seite--zurueck:hover{ transform: translateX(4px); }
.blaettern__seite:focus-visible{ outline: 3px solid var(--color-blue); outline-offset: 3px; }
/* der zweite Knopf zieht nach rechts, damit die Pfeile aussen stehen */
.blaettern__seite--zurueck{ justify-content: flex-end; text-align: right; }
.blaettern__pfeil{
  flex: 0 0 auto;
  width: clamp(34px, 3.4vw, 44px); height: clamp(34px, 3.4vw, 44px);
  border-radius: 50%; background: var(--color-white);
  display: grid; place-items: center;
  transition: background .3s ease;
}
.blaettern__seite:hover .blaettern__pfeil{ background: var(--color-yellow); }
.blaettern__text{ display: grid; gap: 2px; min-width: 0; }
.blaettern__label{
  font-size: clamp(9px, .9vw, 11px); text-transform: uppercase;
  letter-spacing: .08em; color: var(--color-gray);
}
.blaettern__text strong{
  font-weight: 400; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.25;
}

/* ---------- Magazin-Einstieg auf der Startseite ---------- */
.magazin{ padding-bottom: var(--section-pad-y); }
.magazin__panel{ display: grid; gap: clamp(22px, 2.6vw, 40px); }
.magazin__head{
  display: grid; gap: clamp(8px, 1vw, 14px);
  justify-items: start; max-width: 46rem;
}
.magazin__head p{ font-size: var(--fs-body); line-height: 1.7; }
@media (min-width: 901px){
  .magazin__head{
    grid-template-columns: auto 1fr auto;
    align-items: center; max-width: none; gap: clamp(20px, 2.4vw, 44px);
  }
}

@media (prefers-reduced-motion: reduce){
  /* Die auffaelligste Bewegung der Seite war nicht abgedeckt: die Spur der
     Attraktionsgalerie fuhr weiterhin 0,8 Sekunden lang seitlich durchs Bild,
     samt wachsender und schrumpfender Kacheln. */
  .atc__track{ transition: none !important; }
  .atc__item{ transition: box-shadow .2s ease, opacity .2s ease !important; }
  .blog-karte, .blog-karte__bild img,
  .card__bg-photo, .more__item, .more__media img,
  .stats__item, .card--link .card__label{ transition: none !important; }
  .site-footer{ animation: none !important; }
}

/* Der Kopf steht erst ab 1280px neben der Galerie, nicht schon ab 901px.
   Darunter reicht die Hoehe nicht: die Spur ist clamp(420px, 46vw, 620px)
   hoch, ueber den Vorschaubildern bleiben davon 55% — bei 940px Fensterbreite
   also 194px, waehrend der Kopf 254 bis 321px braucht. Die Ueberschrift lag
   dort auf dem grossen Foto und der Knopf auf der Vorschau. Unterhalb von
   1280px steht der Kopf deshalb ueber der Galerie, so wie am Tablet. */
@media (min-width: 901px) and (max-width: 1279.98px){
  .attractions__head{ padding-right: 0; }
  .attractions__side{ width: 100%; margin-left: 0; }
  /* Die Galerie rueckt sonst um 7vw nach oben unter den Kopf. Am Telefon
     sind das 25px und es passt, hier waeren es bis zu 89px — die letzten
     Zeilen des Lauftexts und der Knopf verschwanden hinter dem Hauptbild.
     In diesem Band steht die Galerie deshalb einfach unter dem Kopf. */
  .atc{ margin-top: clamp(8px, 1.2vw, 18px); }
}

@media (min-width: 1280px){
  /* Der Textblock begann frei schwebend weit rechts und liess zwischen sich
     und dem grossen Bild eine Luecke von rund 200 Pixeln stehen. Jetzt haengt
     seine linke Kante an der rechten Kante des Hauptbilds: dessen Breite ist
     --atc-haupt-anteil der Spur (derselbe Wert, mit dem script.js rechnet),
     dazu ein Abstand. So wandert der Block mit, wenn sich die Spur aendert.

     Der Abstand links ist derselbe, der unten zwischen Kopf und Vorschau-
     bildern steht: script.js misst ihn und reicht ihn als --atc-kopf-luft
     herein. Fest verdrahten liesse er sich nicht, denn der untere Abstand
     haengt an der Spurhoehe und damit an der Fensterbreite — bei 1440px sind
     es 47, bei 1920px 34. Die 47px hier sind nur der Wert ohne JS.

     --atc-main-w ist die echte, von script.js gemessene Breite des
     Hauptbilds. Der Anteil dahinter ist nur die Notloesung ohne JS: er
     stimmt bei breiten Fenstern, unter 860px Spurbreite waehlt script.js
     aber einen groesseren Anteil, und dann lag der Kopf auf dem Bild. */
  .attractions__head{
    position: absolute;
    top: clamp(26px, 1rem + 2.2vw, 48px);
    left: calc(var(--panel-pad-x)
               + var(--atc-main-w, (100% - 2 * var(--panel-pad-x)) * var(--atc-haupt-anteil))
               + var(--atc-kopf-luft, 47px));
    right: var(--panel-pad-x);
    width: auto;
    margin-bottom: 0;
    padding-right: 0;
    z-index: 3;
    pointer-events: none;      /* die Galerie darunter bleibt klickbar */
  }
  .attractions__head a,
  .attractions__head button{ pointer-events: auto; }
  .attractions__side{ width: 100%; margin-left: 0; }
  .attractions__nav{ margin-bottom: clamp(10px, 1.2vw, 20px); }
  .atc{ margin-top: 0; height: clamp(420px, 46vw, 620px); }
}

/* ==========================================================================
   Druck
   Gedruckt oder als PDF war die Seite unbrauchbar: die fixierte Bedienleiste
   lag ueber dem Text, der Footer klebte am Fensterboden statt ans Ende zu
   gehen, und bei jedem Link stand nur noch die Beschriftung ohne Adresse.
   ========================================================================== */
@media print{
  .hero__utility,
  .burger,
  .mobile-nav,
  .nav,
  .hero-shape,
  .attractions__nav,
  .hero__mini,
  .skip-link,
  .jobs__bulbs{ display: none !important; }

  body{ background: #fff; color: #000; }
  .hero, .hero__panel, .site-footer{ background: #fff !important; box-shadow: none !important; }
  [data-parallax] img, [data-parallax] video{ transform: none !important; }

  /* Adressen ausschreiben — ein gedrucktes "hier" fuehrt nirgendwohin */
  main a[href^="http"]::after{ content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  main a[href^="#"]::after{ content: ""; }

  /* nichts mitten im Absatz umbrechen */
  h1, h2, h3{ break-after: avoid; }
  .fact, .sub-hero__key, .faq__eintrag, figure{ break-inside: avoid; }
  .prosa__panel{ border: 0; }
}
