/* Bow2Go – Bogensport Schäfer. Tokens aus dem Design System „Bow2Go Schäfer“. */
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --blue-300: #6a7fb8;
  --blue-400: #3f5aa3;
  --blue-500: #203c86; /* Logo-Marineblau */
  --blue-600: #203c86;
  --blue-700: #182f6c;
  --blue-900: #142654;
  --banner-blue: #0093c9;
  --cyan-500: #00b6db;
  --cyan-300: #5dc6e3;
  --sky-300: #99cce9;
  --sky-400: #81c6e5;
  --sky-100: #eaf5fb;
  --grey-700: #555555;
  --ink: #262626;
  --surface: #ffffff;
  --surface-alt: #f3f8fc;
  --line: #d5e3ec;
  --line-strong: #6a7fb8;
  --on-brand: #ffffff;
  --on-dark-muted: #c7dcea;
  --notice-bg: #fff3e0;
  --notice-ink: #8a4b00;
  --open: #1d7a46;
  --focus: var(--blue-900);
  --shadow-card: 0 1px 2px rgba(20, 38, 84, .08), 0 6px 20px rgba(20, 38, 84, .08);
  --shadow-lift: 0 2px 4px rgba(20, 38, 84, .08), 0 18px 48px rgba(20, 38, 84, .16);
  --shadow-header: 0 2px 12px rgba(20, 38, 84, .12);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-xl: 40px; --radius-pill: 999px;
  --container-max: 1200px;
  --gutter: var(--space-8);
  --text-max: 70ch;
  --header-height: 88px;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section-y: var(--space-24);
}
@media (max-width: 860px) {
  :root { --gutter: var(--space-4); --header-height: 64px; --section-y: var(--space-16); }
}

/* Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--space-4)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/27px var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue-600); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 150ms ease-out; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--sky-300); color: var(--blue-900); }
figure { margin: 0; }
address { font-style: normal; }
.icon { flex: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--blue-900); color: var(--on-brand); padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); }
.skip-link:focus { top: var(--space-4); color: var(--on-brand); }

.container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.h2 { font-size: clamp(28px, 2.4vw + 12px, 40px); line-height: 1.15; font-weight: 700; color: var(--blue-700); letter-spacing: -.01em; margin-bottom: var(--space-6); }
.h3 { font-size: 21px; line-height: 28px; font-weight: 600; color: var(--blue-700); margin-bottom: var(--space-3); }
.lead { font-size: 20px; line-height: 31px; }
.section-head { max-width: var(--text-max); margin-bottom: var(--space-12); }
.section-head .h2 { margin-bottom: var(--space-3); }
.section-head p { color: var(--grey-700); }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: var(--space-6); max-width: calc(var(--container-max) + 2 * var(--gutter)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: var(--space-3) var(--space-6); border-radius: var(--radius-md); border: 2px solid transparent; font: 600 16px/20px var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-600); color: var(--on-brand); }
.btn--primary:hover { background: var(--blue-700); color: var(--on-brand); box-shadow: 0 6px 18px rgba(20, 38, 84, .25); }
.btn--secondary { background: var(--surface); color: var(--blue-700); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--blue-700); color: var(--blue-700); }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-pill); border: 2px solid var(--line-strong); background: var(--surface); color: var(--blue-700); cursor: pointer; transition: background-color 150ms ease-out, border-color 150ms ease-out; }
.icon-btn:hover { border-color: var(--blue-700); background: var(--sky-100); }
.icon-btn:disabled { opacity: .4; cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sky-300); transition: box-shadow 200ms ease-out, background-color 200ms ease-out; }
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.site-header__inner { max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-height); display: flex; align-items: center; gap: var(--space-6); transition: height 250ms var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.site-header__logo { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--blue-900); margin-right: auto; }
.site-header__logo img { height: 52px; width: auto; transition: height 250ms var(--ease-out); }
.site-header.is-scrolled .site-header__logo img { height: 42px; }
.site-header__logo:hover { color: var(--blue-900); }
.site-nav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); font: 600 16px/24px var(--font-sans); color: var(--ink); text-decoration: none; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 2px; height: 2px; background: var(--blue-900); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--blue-900); }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.status-pill { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px var(--space-3) 6px 10px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: 600 14px/20px var(--font-sans); text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(20, 38, 84, .12); }
.status-pill:hover { color: var(--blue-900); }
.status-pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grey-700); position: relative; }
.status-pill--open .status-pill__dot { background: var(--open); }
.status-pill--soon .status-pill__dot { background: var(--blue-500); }
.status-pill--exception { background: var(--notice-bg); color: var(--notice-ink); }
.status-pill--exception .status-pill__dot { background: var(--notice-ink); }
.motion .status-pill--open .status-pill__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--open); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

@media (max-width: 1060px) {
  .site-nav a { padding: var(--space-2); }
}
@media (max-width: 860px) {
  .site-header__inner { gap: var(--space-3); }
  .site-header__logo img, .site-header.is-scrolled .site-header__logo img { height: 38px; }
  .site-header.is-scrolled .site-header__inner { height: var(--header-height); }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 2px solid var(--blue-900); color: var(--blue-900); border-radius: var(--radius-md); cursor: pointer; }
  .site-nav { position: fixed; inset: var(--header-height) 0 auto 0; background: var(--sky-300); box-shadow: var(--shadow-header); padding: var(--space-2) var(--gutter) var(--space-6); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 200ms ease-out, transform 250ms var(--ease-out), visibility 0s linear 250ms; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { font-size: 20px; line-height: 28px; padding: var(--space-3) 0; border-bottom: 1px solid rgba(20, 38, 84, .15); border-radius: 0; }
  .site-nav a::after { display: none; }
  .status-pill { padding: 6px 10px; }
}
@media (max-width: 480px) {
  .status-pill { font-size: 13px; }
}

/* Hero */
.hero { position: relative; background: var(--sky-300); padding-top: var(--space-16); isolation: isolate; overflow-x: clip; }
.hero__bands { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
@media (min-width: 861px) { .hero .hero__bands { display: none; } }
.hero__band { position: absolute; width: 200px; height: 1100px; border-radius: var(--radius-xl); transform: rotate(45deg); }
.hero__band--1 { right: 34%; top: -520px; background: var(--sky-400); }
.hero__band--2 { right: 4%; top: -260px; background: var(--cyan-300); width: 150px; }
.hero__band--3 { right: -14%; top: -120px; background: var(--blue-500); }
.hero__inner { position: relative; max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: var(--space-8); }
.hero__copy { padding-bottom: var(--space-12); }
.hero__title { font-size: clamp(42px, 5vw + 8px, 76px); line-height: 1; font-weight: 800; letter-spacing: -.025em; color: var(--blue-900); margin-bottom: var(--space-6); }
.hero__line { display: block; }
.hero__line--accent { color: var(--surface); text-shadow: 0 2px 0 rgba(20, 38, 84, .08); }
.hero__lead { font-size: 20px; line-height: 31px; max-width: 34em; margin-bottom: var(--space-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__actions .btn--secondary { border-color: var(--surface); }
/* Banner-Bänder als Grafik, der Pfeil steckt im blauen Band */
.hero__art { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: end; }
.hero__art svg { width: 100%; height: 100%; overflow: visible; display: block; }
.hero__art-band--a { fill: var(--sky-400); }
.hero__art-band--b { fill: var(--cyan-300); }
.hero__art-band--c { fill: var(--blue-500); }
.hero__art-arrow line { stroke: var(--blue-900); }
.hero__art-tip { fill: var(--blue-900); }
.hero__art-fl1 { fill: var(--surface); }
.hero__art-fl2 { fill: var(--cyan-500); }
.hero__art-arrow { filter: drop-shadow(0 1.5px 1.2px rgba(20, 38, 84, .25)); }

/* Hero: Einstieg. Inhalt ist ohne JS/ohne Motion sofort sichtbar. */
.motion .hero__band { animation: band-in 1100ms var(--ease-out) both; }
.motion .hero__band--1 { animation-delay: 60ms; }
.motion .hero__band--2 { animation-delay: 160ms; }
.motion .hero__band--3 { animation-delay: 260ms; }
@keyframes band-in { from { transform: rotate(45deg) translateY(110%); } }
.motion .hero__line { animation: line-in 900ms var(--ease-out) both; }
.motion .hero__line:nth-child(1) { animation-delay: 120ms; }
.motion .hero__line:nth-child(2) { animation-delay: 240ms; }
.motion .hero__line:nth-child(3) { animation-delay: 1080ms; animation-name: line-hit; animation-duration: 700ms; }
@keyframes line-in { from { opacity: 0; transform: translateY(.35em); filter: blur(8px); } }
@keyframes line-hit { 0% { opacity: 0; transform: scale(1.12); filter: blur(10px); } 60% { opacity: 1; filter: blur(0); } 100% { transform: none; } }
.motion .hero__lead, .motion .hero__actions { animation: fade-up 800ms var(--ease-out) both; animation-delay: 420ms; }
.motion .hero__actions { animation-delay: 520ms; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.motion .hero__art-band { animation: art-band-in 1100ms var(--ease-out) both; }
.motion .hero__art-band--b { animation-delay: 120ms; }
.motion .hero__art-band--c { animation: art-band-in 1100ms var(--ease-out) 240ms both, thud 420ms ease-out 1120ms; }
@keyframes art-band-in { from { transform: translateY(130px); opacity: 0; } 40% { opacity: 1; } }
@keyframes thud { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(1.6px); } 60% { transform: translateX(-.6px); } }
.motion .hero__art-arrow { animation: arrow-fly 620ms cubic-bezier(.3, .7, .2, 1) 560ms both; }
@keyframes arrow-fly { from { transform: translateX(-220px); opacity: 0; } 20% { opacity: 1; } to { transform: translateX(0); } }

/* Öffnungszeiten-Karte: überlappt Hero und nächsten Abschnitt */
.hours-card { position: relative; z-index: 3; max-width: var(--container-max); margin: 0 auto -88px; width: calc(100% - 2 * var(--gutter)); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.2fr) minmax(0, 1.1fr); overflow: hidden; }
.hours-card__now { padding: var(--space-8); background: var(--blue-900); color: var(--on-brand); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.hours-card__now::before { content: ""; position: absolute; width: 90px; height: 420px; right: -40px; top: -60px; border-radius: var(--radius-xl); background: var(--blue-500); transform: rotate(45deg); opacity: .55; }
.hours-card__now--open { background: var(--open); }
.hours-card__now--open::before { background: #2f9a5d; }
.hours-card__now--exception { background: var(--notice-bg); color: var(--notice-ink); }
.hours-card__now--exception::before { background: #ffe1b3; }
.hours-card__state { position: relative; font-size: 28px; line-height: 32px; font-weight: 700; margin-bottom: var(--space-2); }
.hours-card__detail { position: relative; font-size: 17px; line-height: 25px; opacity: .92; }
.hours-card__week, .hours-card__closures { padding: var(--space-8); }
.hours-card__closures { background: var(--notice-bg); color: var(--notice-ink); }
.hours-card__title { font-size: 21px; line-height: 28px; font-weight: 600; color: var(--blue-700); margin-bottom: var(--space-3); }
.hours-card__subtitle { display: flex; align-items: center; gap: var(--space-2); font-size: 17px; line-height: 24px; font-weight: 700; margin-bottom: var(--space-3); }
.hours-card__note { margin-top: var(--space-4); font-size: 15px; line-height: 22px; color: var(--grey-700); }
.hours-list { margin: 0; display: grid; gap: var(--space-1); }
.hours-list__row { display: flex; justify-content: space-between; gap: var(--space-4); padding: 6px var(--space-3); margin: 0 calc(-1 * var(--space-3)); border-radius: var(--radius-md); font-variant-numeric: tabular-nums; }
.hours-list__row dt { font-weight: 600; }
.hours-list__row dd { margin: 0; }
.hours-list__row.is-today { background: var(--sky-100); color: var(--blue-900); }
.hours-list__row.is-closed { color: var(--grey-700); }
.hours-list__row.is-closed dt { font-weight: 400; }
.closure-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.closure-list li { display: grid; gap: 2px; padding-bottom: var(--space-3); border-bottom: 1px solid rgba(138, 75, 0, .18); }
.closure-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.closure-list__days { font-weight: 700; font-variant-numeric: tabular-nums; }
.closure-list__note { font-size: 15px; line-height: 22px; }
.hours-card:not(:has(.hours-card__closures)) { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
#zeiten.hours-card--stack { grid-template-columns: 1fr; margin: 0; width: 100%; box-shadow: var(--shadow-card); }
.hours-card--stack .hours-card__now, .hours-card--stack .hours-card__week, .hours-card--stack .hours-card__closures { padding: var(--space-6); }

/* Laden */
.hero__inner { padding-bottom: var(--space-16); }
.laden__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: center; }
.laden__copy p { max-width: 34em; }
.brands { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.brands__label { font-size: 14px; line-height: 21px; color: var(--grey-700); margin-bottom: var(--space-3); }
.brands__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.brands__list li { height: 56px; padding: var(--space-2) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-md); display: grid; place-items: center; background: var(--surface); }
.brands__list li:first-child { background: #000; border-color: #000; }
.brands__list img { max-height: 30px; max-width: 100%; width: auto; }
.brands__list li:nth-child(3) img { max-height: 44px; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 200px 200px 220px; gap: var(--space-4); }
.mosaic__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--sky-100); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic__item:nth-child(2) { grid-column: 3 / 7; grid-row: 1 / 2; }
.mosaic__item:nth-child(3) { grid-column: 3 / 7; grid-row: 2 / 3; }
.mosaic__item:nth-child(2) img { object-position: 50% 35%; }
.mosaic__item:nth-child(3) img { object-position: 50% 30%; }
.mosaic__item--wide { grid-column: 1 / 7; grid-row: 3 / 4; }
.mosaic__item figcaption, .service__photo figcaption { position: absolute; left: var(--space-3); bottom: var(--space-3); background: var(--surface); color: var(--blue-900); font: 600 14px/20px var(--font-sans); padding: 6px var(--space-3); border-radius: var(--radius-md); }

/* Bild-Wipe entlang der 45°-Banner-Diagonale (nur mit JS + Motion) */
.motion .reveal-wipe { clip-path: polygon(0 0, 0 0, 0 0, 0 0); transition: clip-path 1100ms var(--ease-out); }
.motion .reveal-wipe.is-in { clip-path: polygon(0 0, 200% 0, 0 200%, 0 0); }
.motion .reveal-wipe:nth-child(2) { transition-delay: 90ms; }
.motion .reveal-wipe:nth-child(3) { transition-delay: 180ms; }
.motion .reveal-wipe:nth-child(4) { transition-delay: 270ms; }

/* Bogenservice */
.service { background: var(--blue-900); color: var(--on-brand); overflow: hidden; }
.service__bands span { position: absolute; width: 160px; height: 900px; border-radius: var(--radius-xl); transform: rotate(45deg); opacity: .5; }
.service__bands span:nth-child(1) { left: -220px; top: -300px; background: var(--blue-700); }
.service__bands span:nth-child(2) { left: -40px; top: -420px; background: var(--blue-500); opacity: .25; }
.service .h2 { color: var(--on-brand); }
.service .lead { color: var(--on-dark-muted); max-width: 34em; }
.service__grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-16); align-items: center; }
.price-table { width: 100%; border-collapse: collapse; margin-top: var(--space-8); font-variant-numeric: tabular-nums; }
.price-table thead th { font: 700 13px/18px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); text-align: left; padding: 0 0 var(--space-3); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th { text-align: left; font-weight: 600; padding: var(--space-4) var(--space-6) var(--space-4) 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.price-table tbody th span { font-weight: 400; color: var(--on-dark-muted); }
.price-table td { text-align: right; white-space: nowrap; font-size: 21px; font-weight: 700; padding: var(--space-4) 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: var(--sky-300); }
.price-table tbody tr { transition: background-color 150ms ease-out; }
.price-table tbody tr:hover { background: rgba(255, 255, 255, .04); }
.service__photos { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.service__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.service__photo img { width: 100%; height: 100%; object-fit: cover; }
.service__photo--a { grid-column: 1 / 3; aspect-ratio: 16 / 9; }

/* Über uns */
.about { background: var(--surface-alt); }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-16); align-items: center; }
.about__portrait { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.about__portrait img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* Statement von Christine und Rüdiger: „auf den Punkt“ wird von einem Pfeil unterstrichen */
.statement { margin: 0 0 var(--space-8); }
.statement__quote { margin: 0; position: relative; padding-top: var(--space-12); }
.statement__quote::before { content: "„"; position: absolute; top: -66px; left: -.04em; font: 800 120px/1 var(--font-sans); color: var(--cyan-300); }
.statement__quote p { font-size: clamp(24px, 1.4vw + 14px, 32px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--blue-900); text-wrap: pretty; margin: 0; }
.statement__quote p::after { content: "“"; }
.statement__hit { position: relative; white-space: nowrap; color: var(--blue-600); transition: color 300ms ease-out 600ms; }
.statement__hit::after { content: ""; position: absolute; left: 0; right: 6px; bottom: .02em; height: 3px; border-radius: 2px; background: var(--cyan-500); transform-origin: left center; transition: transform 650ms var(--ease-out); }
.statement__head { position: absolute; left: calc(100% - 10px); bottom: calc(.02em - 5.5px); width: 12px; height: 14px; color: var(--cyan-500); transition: left 650ms var(--ease-out), opacity 150ms ease-out; }
.motion .statement:not(.is-in) .statement__hit { color: var(--blue-900); }
.motion .statement:not(.is-in) .statement__hit::after { transform: scaleX(0); }
.motion .statement:not(.is-in) .statement__head { left: -12px; opacity: 0; }
.statement__by { display: grid; gap: 2px; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; color: var(--grey-700); }
.statement__by strong { font-size: 17px; color: var(--blue-900); }
.track__title { margin-top: var(--space-24); margin-bottom: var(--space-8); }
.track { position: relative; }
.track__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; overflow: visible; }
.track__base { stroke: var(--line); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.track__progress { stroke: var(--blue-600); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--track, 1)); }
.track__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
.track__stop { padding-top: 56px; position: relative; }
.track__stop::before { content: ""; position: absolute; top: 12px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-alt); border: 4px solid var(--blue-600); transition: background-color 300ms ease-out, transform 300ms var(--ease-out); }
.track__stop.is-reached::before { background: var(--blue-600); transform: scale(1.15); }
.track__stop--goal::before { width: 24px; height: 24px; top: 8px; border-color: var(--blue-900); }
.track__stop--goal.is-reached::before { background: var(--cyan-500); }
.track__year { display: block; font-size: 28px; line-height: 32px; font-weight: 800; color: var(--blue-900); margin-bottom: var(--space-2); font-variant-numeric: tabular-nums; }
.track__text { font-size: 16px; line-height: 24px; }

/* Aktuelles */
.news__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.post[hidden] { display: none; }
.post--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.post__media { position: relative; background: var(--sky-100); aspect-ratio: 3 / 2; overflow: hidden; }
.post--lead .post__media { aspect-ratio: 3 / 2; }
.post__media a { display: block; height: 100%; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__count { position: absolute; right: var(--space-3); top: var(--space-3); background: rgba(20, 38, 84, .85); color: var(--on-brand); font: 600 13px/18px var(--font-sans); padding: 4px 10px; border-radius: var(--radius-pill); }
.post__credit { position: absolute; left: var(--space-3); bottom: var(--space-3); font-size: 12px; line-height: 16px; color: var(--on-brand); background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: var(--radius-sm); }
.post__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.post--lead .post__body { padding: var(--space-8) var(--space-12) var(--space-8) var(--space-8); justify-content: center; }
.post__date { font-size: 14px; line-height: 21px; color: var(--grey-700); font-variant-numeric: tabular-nums; }
.post__title { font-size: 21px; line-height: 28px; font-weight: 600; color: var(--blue-700); }
.post--lead .post__title { font-size: 28px; line-height: 34px; }
.post__text { position: relative; }
.post__text.is-clamped { max-height: 9.6em; overflow: hidden; }
.post__text.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface)); }
.post__more { align-self: flex-start; background: none; border: 0; padding: 0; font: 600 16px/24px var(--font-sans); color: var(--blue-600); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.post__more:hover { color: var(--blue-700); }
.post__thumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2); flex-wrap: wrap; }
.post__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-md); }
.post__link { margin-top: auto; padding-top: var(--space-2); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.news__more { margin-top: var(--space-8); }
.news__empty { color: var(--grey-700); }
.tip { margin-top: var(--space-12); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-6); align-items: start; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--sky-100); }
.tip__badge { font: 700 12px/20px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; background: var(--surface); color: var(--blue-900); padding: 2px var(--space-3); border-radius: var(--radius-pill); white-space: nowrap; }
.tip__small { font-size: 14px; line-height: 21px; color: var(--grey-700); }

/* Galerie */
.gallery { background: var(--surface-alt); overflow: hidden; }
.gallery__nav { display: flex; gap: var(--space-2); }
.gallery__track { list-style: none; margin: 0; padding: 0 var(--gutter) var(--space-4); padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2)); display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2)); scrollbar-width: thin; scrollbar-color: var(--blue-300) transparent; cursor: grab; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track::-webkit-scrollbar { height: 6px; }
.gallery__track::-webkit-scrollbar-thumb { background: var(--blue-300); border-radius: 3px; }
.gallery__item { flex: none; height: clamp(260px, 34vw, 420px); aspect-ratio: 1; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--sky-100); }
.gallery__item--tall { aspect-ratio: 3 / 4.4; }
.gallery__item a { display: block; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out), filter 300ms ease-out; -webkit-user-drag: none; user-select: none; }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__item:last-child { margin-right: var(--gutter); }

/* Kontakt */
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy card" "photo card"; column-gap: var(--space-16); row-gap: var(--space-8); align-items: start; }
.contact__copy { grid-area: copy; }
.contact__grid #zeiten { grid-area: card; position: sticky; top: calc(var(--header-height) + var(--space-6)); }
.contact__photo { grid-area: photo; }
.contact__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-8) 0; }
.contact__item { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: border-color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out; overflow-wrap: anywhere; }
.contact__item .icon { color: var(--blue-600); margin-top: 2px; }
.contact__item strong { color: var(--blue-900); }
.contact__item:hover { border-color: var(--line-strong); background: var(--sky-100); color: var(--ink); }
.contact__side { display: contents; }
.contact__photo { border-radius: var(--radius-lg); overflow: hidden; }
.contact__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact__hours { background: var(--sky-100); border-radius: var(--radius-lg); padding: var(--space-6); }
.contact__hours .h3 { color: var(--blue-900); }
.notice { margin-top: var(--space-4); background: var(--notice-bg); color: var(--notice-ink); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 15px; line-height: 22px; display: grid; gap: 2px; }

/* Footer */
.site-footer { background: var(--blue-900); color: var(--on-brand); padding: var(--space-16) 0 var(--space-8); position: relative; overflow: hidden; }
.site-footer__inner { max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-8); }
.site-footer p, .site-footer li { font: 400 15px/24px var(--font-sans); color: var(--on-dark-muted); margin: 0; }
.site-footer__brand p { max-width: 28em; margin-top: var(--space-4); }
.site-footer__logo { height: 56px; width: auto; }
.site-footer__h { font: 700 13px/18px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-brand); margin: 0 0 var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.site-footer a { color: var(--on-brand); text-decoration: none; }
.site-footer a:hover { color: var(--on-brand); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--on-brand); }
.site-footer__legal { max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: var(--space-12) auto 0; padding: var(--space-6) var(--gutter) 0; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }
.site-footer__legal ul { display: flex; gap: var(--space-6); }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(3, 30, 50, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-16) var(--space-16) var(--space-8); width: 100%; min-width: 0; box-sizing: border-box; }
.lightbox__figure img { max-width: min(1100px, 100%); max-height: calc(100dvh - 180px); min-width: 0; width: auto; height: auto; border-radius: var(--radius-md); view-transition-name: lightbox-img; }
.lightbox__figure figcaption { color: var(--on-dark-muted); font-size: 15px; text-align: center; }
.lightbox__btn, .lightbox__close { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--on-brand); cursor: pointer; transition: background-color 150ms ease-out; }
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn--prev { left: var(--space-4); top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: var(--space-4); top: 50%; translate: 0 -50%; }
.lightbox__close { right: var(--space-4); top: var(--space-4); }
.lightbox :focus-visible { outline-color: var(--on-brand); }
.motion .lightbox[open] .lightbox__figure img { animation: lb-in 380ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }

/* Unterseiten (Impressum, Datenschutz) */
.legal-hero { background: var(--sky-300); padding: var(--space-16) 0 var(--space-12); position: relative; overflow: hidden; }
.legal-hero h1 { font-size: clamp(36px, 3vw + 16px, 52px); line-height: 1.05; font-weight: 800; color: var(--blue-900); letter-spacing: -.02em; }
.legal-hero a { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); font-weight: 600; color: var(--blue-900); }
.legal { max-width: var(--text-max); }
.legal h2 { font-size: 24px; line-height: 30px; color: var(--blue-700); margin: var(--space-12) 0 var(--space-3); }
.legal h3 { font-size: 19px; line-height: 26px; color: var(--blue-700); margin: var(--space-6) 0 var(--space-2); }
.legal ul { padding-left: 1.2em; }

/* Responsive */
@media (max-width: 1060px) {
  .hours-card, .hours-card:not(:has(.hours-card__closures)) { grid-template-columns: 1fr 1fr; }
  .hours-card__now { grid-column: 1 / -1; padding: var(--space-6) var(--space-8); }
  .track__list { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-8); }
  .track__line { display: none; }
}
@media (max-width: 860px) {
  .hero { padding-top: var(--space-12); }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: var(--space-12); }
  .hero__title { margin-bottom: var(--space-4); }
  .hero__lead { font-size: 18px; line-height: 28px; margin-bottom: var(--space-6); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .hero__art { display: none; }
  .hero__band { width: 120px; }
  .hero__band--1 { right: 50%; }
  .hours-card, .hours-card:not(:has(.hours-card__closures)) { grid-template-columns: 1fr; }
  .hours-card__now, .hours-card__week, .hours-card__closures { padding: var(--space-6); }
  .hours-card__state { font-size: 24px; line-height: 30px; }
  .laden__grid, .service__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact__grid { grid-template-areas: "copy" "card" "photo"; }
  .contact__grid #zeiten { position: static; }
  .mosaic { grid-template-rows: 150px 150px 180px; gap: var(--space-3); }
  .post--lead { grid-template-columns: 1fr; }
  .post--lead .post__media { min-height: 0; aspect-ratio: 3 / 2; }
  .post--lead .post__body { padding: var(--space-6); }
  .news__list { grid-template-columns: 1fr; }
  .tip { grid-template-columns: 1fr; padding: var(--space-6); gap: var(--space-3); }
  .tip__badge { justify-self: start; }
  .track__title { margin-top: var(--space-16); }
  .track__list { grid-template-columns: 1fr; gap: 0; }
  .track__stop { padding: 0 0 var(--space-6) var(--space-12); }
  .track__stop::before { top: 4px; left: 4px; }
  .track__stop--goal::before { left: 0; top: 2px; }
  .track__stop:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
  .contact__list { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .section-head--row { align-items: start; flex-direction: column; }
  .gallery__nav { display: none; }
  .gallery .section-head { margin-bottom: var(--space-6); }
  .lightbox__figure { padding: var(--space-16) var(--space-2) var(--space-16); }
  .lightbox__btn { top: auto; bottom: var(--space-4); translate: none; }
}
@media (min-width: 861px) and (max-width: 1060px) {
  .news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  /* Ohne .motion-Klasse laufen keine Einstiegs- und Scroll-Animationen; Farb- und Zustandswechsel bleiben. */
  .mosaic__item img, .gallery__item img { transition: none; }
  .mosaic__item:hover img, .gallery__item a:hover img { transform: none; }
}

/* Seite hinter der Großansicht nicht mitscrollen */
body:has(.lightbox[open]) { overflow: hidden; }
