/* Bentho Photography
   Farben aus dem Logo: Schwarz, Gold, Creme. Dritter Akzent: Petrol.
   Schrift: Poppins wie im Logo, Akzente in Instrument Serif kursiv, sparsam.
   Gestaltungsregeln nach unslop von Damir Sokolovsky (@heydamir), CC BY 4.0, https://github.com/heydamir/unslop
   Bewegung nach genjutsu von Adrien Thevon, MIT, https://github.com/AThevon/genjutsu */

@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  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;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-display: swap;
  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;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-ext-500-normal.woff2') format('woff2');
  font-weight: 500; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-display: swap;
  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;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-ext-600-normal.woff2') format('woff2');
  font-weight: 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
  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;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Schwarz aus dem Logo */
  --bg: #0c0d10;
  --surface: #15171b;
  --raised: #1f2127;
  --raised-2: #2a2d34;
  /* Creme aus dem Logo als Textfarbe */
  --text: #f4f2ed;
  --text-2: #bdb8ad;
  --text-3: #8f8b82;
  --hairline: rgb(244 242 237 / 0.09);
  /* Gold aus dem Logo */
  --gold: #c8a24a;
  --gold-ink: #14161a;
  --gold-text: #d6b462;
  --gold-soft: rgb(200 162 74 / 0.14);
  /* Dritter Akzent: Petrol */
  --petrol: #5aa9a1;
  --petrol-soft: rgb(90 169 161 / 0.16);
  --data: #2fa59a;        /* Diagramme und Karte, kräftiger als --petrol, damit Flächen nicht grau wirken */
  --data-wash: rgb(47 165 154 / 0.12);
  --focus: #5aa9a1;
  --tile: #17191e;

  --logo-ink: #f4f2ed;
  --logo-paper: #0c0d10;
  --logo-accent: #c8a24a;
  --logo-mark: #14161a;

  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.32, 1.18, 0.5, 1);
  --smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --fast: 160ms;
  --mid: 240ms;
  --slow: 520ms;

  --page: clamp(16px, 4vw, 48px);
  --max: 1560px;
  --row: 300px;
  --gap: 12px;
  --r: 24px;      /* Container: Titelbild, Kacheln, Karten, Footer */
  --r-sm: 16px;   /* kleine Flächen in Containern */
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px rgb(0 0 0 / 0.28);

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f2ed;
    --surface: #fbfaf7;
    --raised: #ebe7de;
    --raised-2: #e0dbd0;
    --text: #14161a;
    --text-2: #4a4740;
    --text-3: #67635a;
    --hairline: rgb(20 22 26 / 0.1);
    --gold-text: #876718;
    --gold-soft: rgb(200 162 74 / 0.2);
    --petrol: #2c6c66;
    --petrol-soft: rgb(44 108 102 / 0.12);
    --data: #0d8f83;
    --data-wash: rgb(13 143 131 / 0.1);
    --focus: #2c6c66;
    --tile: #e4e0d6;
    --logo-ink: #14161a;
    --logo-paper: #f4f2ed;
    --shadow: 0 1px 2px rgb(20 22 26 / 0.06), 0 12px 32px rgb(20 22 26 / 0.1);
    color-scheme: light;
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
.grid img, .viewer img, .hero img, .camera img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--gold); color: var(--gold-ink); }

/* Kursiver Akzent: *Text* in Überschriften wird zu Instrument Serif in Gold */
.rich-em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: 0.04em;
}

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink); text-decoration: none; font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--fast) var(--ease);
}
.skip:focus { transform: none; }

/* Druck-Feedback auf allem, was man antippen kann */
.pressable { transition: transform var(--fast) var(--spring), background-color var(--fast) var(--ease), color var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.pressable:active, .pressable.is-pressed { transform: scale(0.96); transition-duration: 90ms; transition-timing-function: var(--ease); }

/* Aufnahmedaten */
.readout { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.8125rem; line-height: 1.4; font-variant-numeric: tabular-nums; color: var(--text-2); }
.readout span { white-space: nowrap; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.button--gold { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25); }
.button--gold:hover { background: #d4b05a; }
.button--quiet { height: 44px; padding: 0 20px; background: var(--raised); color: var(--text); font-size: 0.875rem; }
.button--quiet:hover { background: var(--raised-2); }
.button[disabled] { opacity: 0.5; cursor: default; }

/* ---------- Navigation: schwebende Pille ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: center;
  padding: calc(12px + env(safe-area-inset-top)) var(--page) 0;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(100%, 820px); height: 60px; padding: 0 8px 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  transition: background-color var(--mid) var(--ease), border-color var(--mid) var(--ease), color var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}
.nav[data-over-hero] .nav__pill {
  color: #fff;
  background: rgb(12 13 16 / 0.28);
  border-color: rgb(255 255 255 / 0.14);
  box-shadow: none;
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; min-width: 0; }
.wordmark__badge {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 999px;
  background: #f4f2ed;
  --logo-ink: #14161a; --logo-paper: #f4f2ed; --logo-accent: #c8a24a; --logo-mark: #14161a;
}
.wordmark__mark { height: 18px; width: auto; }
/* Schriftzug wie im Logo: BENTHO | PHOTOGRAPHY */
.wordmark__text { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; line-height: 1; }
.wordmark__name { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.16em; }
.wordmark__rule { width: 1px; height: 16px; background: var(--gold); }
.wordmark__sub { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.3em; opacity: 0.75; }
@media (max-width: 380px) { .wordmark__rule, .wordmark__sub { display: none; } }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border-radius: 999px; font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--fast) var(--ease), background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav__links a:hover { opacity: 1; background: rgb(127 127 127 / 0.16); }
.nav__links a.is-active { opacity: 1; background: var(--gold-soft); color: var(--gold-text); }
.nav[data-over-hero] .nav__links a.is-active { background: rgb(255 255 255 / 0.16); color: #fff; }

/* ---------- Tab-Leiste auf dem Handy ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__pill { width: auto; padding: 0 20px 0 6px; height: 52px; }
  .nav { justify-content: flex-start; }
  .tabbar {
    position: fixed; z-index: 30;
    left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
    translate: -50% 0;
    display: flex; gap: 4px; padding: 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    -webkit-backdrop-filter: saturate(170%) blur(20px);
    backdrop-filter: saturate(170%) blur(20px);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow);
    transition: translate var(--slow) var(--spring), opacity var(--mid) var(--ease);
  }
  .tabbar.is-hidden { translate: -50% calc(100% + 32px); opacity: 0; }
  .tabbar a {
    display: grid; justify-items: center; align-content: center; gap: 2px;
    width: min(84px, calc((100vw - 64px) / 4)); height: 52px; border-radius: 999px;
    font-size: 0.6875rem; font-weight: 600; text-decoration: none; color: var(--text-3);
    transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease), transform var(--fast) var(--spring);
  }
  .tabbar a:active { transform: scale(0.92); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.is-active { color: var(--gold-text); background: var(--gold-soft); }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ---------- Titelbild: abgerundeter Rahmen, tritt beim Scrollen zurück ---------- */
.hero { padding: 8px; }
.hero__frame {
  position: relative;
  height: calc(100svh - 16px); min-height: 560px; max-height: 1180px;
  border-radius: var(--r);
  overflow: hidden;
  background: #0c0d10;
  color: #fff;
  isolation: isolate;
}
.hero__media, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { background-size: cover; background-position: center; will-change: transform; }
.hero__media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }
.hero__frame { touch-action: pan-y; }
.hero__img { object-fit: cover; opacity: 0; transition: opacity 1600ms var(--smooth); backface-visibility: hidden; }
.hero__img.is-active { opacity: 1; z-index: 1; }
/* Das alte Foto bleibt darunter stehen, bis das neue ganz eingeblendet ist: kein Abdunkeln beim Wechsel */
.hero__img.is-leaving { opacity: 1; }
/* Langsamer Zoom, solange ein Foto zu sehen ist */
@media (prefers-reduced-motion: no-preference) {
  .hero__img.is-active, .hero__img.is-leaving { animation: kenburns calc(var(--hero-ms, 7s) + 1800ms) linear both; will-change: transform, opacity; }
  @keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.06); } }
  .hero.is-paused .hero__img { animation-play-state: paused; }
}
/* Fortschritt des Titelbilds: ein Balken pro Foto */
.hero__slides {
  display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 14px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16); background: rgb(12 13 16 / 0.32);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero__progress { display: flex; gap: 2px; }
.hero__dot { display: grid; align-items: center; width: 30px; height: 44px; padding: 0 3px; border: 0; background: none; cursor: pointer; }
.hero__dot span { position: relative; display: block; height: 3px; border-radius: 999px; background: rgb(255 255 255 / 0.3); overflow: hidden; }
.hero__dot span::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.hero__dot.is-done span::after { transform: none; }
.hero__dot.is-active span::after { animation: hero-fill var(--hero-ms, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes hero-fill { to { transform: none; } }
@media (hover: hover) { .hero__dot:hover span { background: rgb(255 255 255 / 0.5); } }
.hero__pause { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.12); color: #fff; cursor: pointer; }
.hero__pause svg { width: 16px; height: 16px; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__actions .hero__slides { margin-left: auto; }
.hero__actions .hero__slides + .hero__caption { margin-left: 0; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(12 13 16 / 0.78) 0%, rgb(12 13 16 / 0.32) 34%, rgb(12 13 16 / 0) 60%),
    linear-gradient(to bottom, rgb(12 13 16 / 0.35) 0, rgb(12 13 16 / 0) 140px);
  pointer-events: none;
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; justify-items: start; gap: 18px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(28px, 7vh, 80px);
}
.hero__title {
  max-width: 13ch;
  font-size: clamp(2.5rem, 6.6vw, 6rem); line-height: 1.02; font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__title .rich-em { font-size: 1.12em; letter-spacing: -0.02em; }
.hero__sub { max-width: 36rem; font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.5; color: rgb(255 255 255 / 0.8); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; width: 100%; }
.hero__caption {
  display: grid; gap: 2px; justify-items: start; text-align: left;
  margin-left: auto; padding: 10px 18px; border-radius: var(--r);
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(12 13 16 / 0.32);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; cursor: zoom-in;
}
.hero__caption-title { font-size: 0.875rem; font-weight: 600; }
.hero__readout { color: rgb(255 255 255 / 0.72); }
@media (max-width: 760px) {
  .hero { padding: 6px; }
  .hero__frame { height: calc(100svh - 12px); border-radius: var(--r); min-height: 520px; }
  .hero__caption { display: none; }
  .hero__actions .button { width: 100%; }
  /* Platz für die Tab-Leiste unter dem Button */
  .hero__content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .section { padding-top: 56px; }
  .section__head { margin-bottom: 24px; }
}
/* Einmalige Einblendung beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise 900ms var(--ease) both; }
  .hero__content > :nth-child(1) { animation-delay: 80ms; }
  .hero__content > :nth-child(2) { animation-delay: 180ms; }
  .hero__content > :nth-child(3) { animation-delay: 280ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  /* Beim Scrollen tritt das Titelbild leicht zurück */
  @supports (animation-timeline: scroll()) {
    .hero__media { animation: hero-recede linear both; animation-timeline: scroll(root block); animation-range: 0 100svh; }
    .hero__media::after { animation: hero-dim linear both; animation-timeline: scroll(root block); animation-range: 0 100svh; }
    .hero__content { animation: hero-fade linear both; animation-timeline: scroll(root block); animation-range: 0 70svh; }
    @keyframes hero-recede { to { transform: scale(1.06); } }
    @keyframes hero-dim { to { opacity: 0.32; } }
    @keyframes hero-fade { to { opacity: 0; transform: translateY(-40px); } }
  }
}

/* ---------- Abschnitte ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--page) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 24px; margin-bottom: 32px; }
.section__title-group { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.section__title .rich-em { font-size: 1.1em; }
/* ---------- Galerie-Kopf: Titel und Diashow, darunter eine ruhige Filterleiste ---------- */
.gallery-head { margin-bottom: 28px; }
.gallery-head__top { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; }
.gallery-head__title { display: grid; gap: 10px; }
.gallery-head__eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}
.gallery-head__eyebrow .num { color: var(--petrol); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.gallery__play { gap: 8px; flex: none; padding-left: 16px; }
.gallery__play svg { width: 16px; height: 16px; color: var(--gold); }
.gallery__desc { max-width: 44rem; margin-top: 14px; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.gallery-head .filters {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hairline);
  justify-content: space-between; flex-wrap: nowrap; gap: 12px 16px;
}
.filters__end { display: flex; align-items: center; gap: 8px; flex: none; }
.swatches__label { padding: 0 6px 0 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.swatches__list { display: flex; gap: 0; }
@media (max-width: 1100px) {
  .gallery-head .filters { flex-wrap: wrap; }
  .filters__end { width: 100%; justify-content: space-between; }
}
.grid-more { display: flex; justify-content: center; margin-top: 32px; }
.section__meta {
  padding: 4px 12px; border-radius: 999px; background: var(--petrol-soft); color: var(--petrol);
  font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}

/* ---------- Filter: Pillen-Segmente mit federndem Daumen ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.segmented {
  position: relative; display: inline-flex; gap: 2px; padding: 4px;
  border-radius: 999px; background: var(--raised);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.segmented::-webkit-scrollbar { display: none; }
.segmented.has-more { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
.segmented__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: var(--gold);
  box-shadow: 0 2px 8px rgb(200 162 74 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.25);
  transition: transform 520ms var(--spring), width 520ms var(--spring);
}
.segmented button {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none;
  font-size: 0.9375rem; font-weight: 600; color: var(--text-2); cursor: pointer; white-space: nowrap;
  scroll-snap-align: center;
  transition: color var(--mid) var(--ease), transform var(--fast) var(--spring);
}
.segmented button:active { transform: scale(0.94); }
.segmented button:hover { color: var(--text); }
.segmented button[aria-checked="true"] { color: var(--gold-ink); }
.segmented button .count { font-size: 0.75rem; font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; transition: color var(--mid) var(--ease); }
.segmented button[aria-checked="true"] .count { color: rgb(20 22 26 / 0.72); }
.segmented:not(.is-ready) .segmented__thumb { transition: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px 0 18px; border-radius: 999px;
  border: 0; background: var(--petrol-soft); color: var(--petrol); cursor: pointer;
  font-size: 0.875rem; font-weight: 600;
}
.chip svg { width: 16px; height: 16px; }

/* ---------- Nach Farbe suchen ---------- */
.swatches {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--raised);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.swatches::-webkit-scrollbar { display: none; }
.swatch {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer;
}
.swatch span {
  width: 22px; height: 22px; border-radius: 999px; background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16), 0 1px 2px rgb(0 0 0 / 0.25);
  transition: transform var(--fast) var(--spring), box-shadow var(--mid) var(--ease);
}
@media (hover: hover) { .swatch:hover span { transform: scale(1.14); } }
.swatch:active span { transform: scale(0.88); }
.swatch[aria-pressed="true"] span { box-shadow: 0 0 0 3px var(--raised), 0 0 0 5px var(--gold); }
@media (max-width: 760px) {
  .section__head { align-items: start; }
  .filters { width: 100%; }
  .segmented { width: 100%; }
  .gallery-head__top { align-items: center; }
  .gallery__play span { display: none; }
  .gallery__play { width: 44px; padding: 0; justify-content: center; }
  .gallery-head .filters { margin-top: 20px; padding-top: 16px; }
  .swatches { flex: 1; }
  .swatches__list { flex: 1; justify-content: space-between; }
}

/* ---------- Galerie: ausgeglichene Reihen mit runden Kacheln ---------- */
.grid { display: flex; flex-wrap: wrap; gap: var(--gap); }
.grid::after { content: ''; flex-grow: 4; }
.tile {
  position: relative;
  flex: var(--r) 1 calc(var(--r) * var(--row));
  aspect-ratio: var(--r);
  max-height: calc(var(--row) * 1.6);
  border-radius: var(--r);
  overflow: hidden;
  background-color: var(--tile);
  isolation: isolate;
  transition: transform 380ms var(--spring), box-shadow var(--mid) var(--ease);
}
/* Unscharfe Vorschau als feste Ebene, das Foto entwickelt sich darüber */
.tile::before {
  content: ''; position: absolute; inset: -8%; z-index: -1;
  background: var(--ph) center / cover no-repeat;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.04);
}
.tile a { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; border-radius: inherit; }
.tile a:focus-visible { outline-offset: -3px; border-radius: inherit; }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease), transform 900ms var(--ease); }
.tile img.is-loaded { opacity: 1; }
.tile__caption {
  position: absolute; inset: auto 0 0 0;
  display: grid; gap: 2px;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgb(12 13 16 / 0.72), rgb(12 13 16 / 0));
  color: #fff; pointer-events: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--mid) var(--ease), transform var(--mid) var(--ease);
}
.tile__title { font-size: 0.9375rem; font-weight: 600; }
.tile__meta { font-size: 0.75rem; color: rgb(255 255 255 / 0.75); font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .tile:hover { box-shadow: var(--shadow); }
  .tile:hover img { transform: scale(1.03); }
  .tile:hover .tile__caption, .tile a:focus-visible .tile__caption { opacity: 1; transform: none; }
}
/* Touch: Kachel gibt beim Antippen sichtbar nach */
.tile.is-pressed { transform: scale(0.965); transition-duration: 120ms; transition-timing-function: var(--ease); }
/* Einblenden beim Scrollen */
.js-reveal .tile { opacity: 0; transform: translateY(28px); }
.js-reveal .tile.is-in { opacity: 1; transform: none; transition: opacity 800ms var(--ease) var(--delay, 0ms), transform 900ms var(--ease) var(--delay, 0ms); }
.js-reveal .tile.no-anim { transition: none; }
.js-reveal .tile.is-in.is-pressed { transform: scale(0.965); transition-delay: 0ms; transition-duration: 120ms; }
@media (max-width: 1100px) { :root { --row: 240px; } }
@media (max-width: 760px)  { :root { --row: 160px; --gap: 8px; } .tile { border-radius: var(--r-sm); } }
/* Handy: zwei Fotos pro Reihe statt einem */
@media (max-width: 520px)  { :root { --row: 112px; --gap: 6px; } }
.empty { padding: 64px 0; color: var(--text-3); text-align: center; }

/* ---------- Serien und Touren ---------- */
.series-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.series-card {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate;
  border-radius: var(--r); background: var(--tile); color: #fff; text-decoration: none;
}
.series-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.series-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(12 13 16 / 0.78) 0%, rgb(12 13 16 / 0.2) 45%, rgb(12 13 16 / 0) 65%);
}
.series-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 20px 22px 22px; }
.series-card__eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.78); }
.series-card__title { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.series-card__sub { font-size: 0.875rem; color: rgb(255 255 255 / 0.78); }
/* Nur eine Serie: als breite Titelkarte */
@media (min-width: 761px) {
  .series-list:has(> li:only-child) { grid-template-columns: 1fr; }
  .series-list > li:only-child .series-card { aspect-ratio: 21 / 8; }
  .series-list > li:only-child .series-card__body { padding: 32px 40px 36px; }
  .series-list > li:only-child .series-card__title { font-size: clamp(2rem, 3.6vw, 3.25rem); }
}
@media (hover: hover) { .series-card:hover img { transform: scale(1.045); } }
@media (max-width: 760px) {
  /* Auf dem Handy seitlich wischen */
  .series-list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--page) * -1); padding: 0 var(--page); scroll-padding: 0 var(--page);
  }
  .series-list::-webkit-scrollbar { display: none; }
  .series-list li { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .series-list li:only-child { flex-basis: 100%; }
  .series-card { aspect-ratio: 4 / 5; }
}

/* ---------- Kameras: Fächer aus den eigenen Fotos ---------- */
.gear { display: grid; grid-template-columns: 1fr; gap: 16px; }
/* Ab Laptopbreite zwei Karten pro Reihe: vier Geräte ergeben 2 × 2 */
@media (min-width: 1100px) { .gear { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
/* Tablet: Bild links, Daten rechts, damit keine Karte allein in einer Reihe steht */
@media (min-width: 700px) and (max-width: 1099px) {
  .camera { grid-template-rows: none; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .camera__visual { aspect-ratio: auto; height: 100%; min-height: 320px; }
}
.camera {
  display: grid; grid-template-rows: auto 1fr;
  border-radius: var(--r); overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.camera__visual {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 100%, rgb(255 255 255 / 0.05), transparent 70%),
    var(--raised);
  cursor: pointer; border: 0; padding: 0; width: 100%; color: inherit;
}
.camera__visual:disabled { cursor: default; }
.camera__fan { position: relative; width: 62%; aspect-ratio: 3 / 2; }
.camera__shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.25), 0 18px 40px rgb(0 0 0 / 0.35);
  border: 3px solid var(--surface);
  transition: transform 600ms var(--spring);
}
.camera__shot:nth-child(1) { transform: rotate(-9deg) translate(-14%, 4%); }
.camera__shot:nth-child(2) { transform: rotate(7deg) translate(14%, 3%); }
.camera__shot:nth-child(3) { transform: rotate(-1deg) translateY(-3%); }
@media (hover: hover) {
  .camera__visual:hover .camera__shot:nth-child(1) { transform: rotate(-14deg) translate(-26%, 6%); }
  .camera__visual:hover .camera__shot:nth-child(2) { transform: rotate(12deg) translate(26%, 4%); }
  .camera__visual:hover .camera__shot:nth-child(3) { transform: rotate(0) translateY(-6%) scale(1.04); }
}
.camera__visual.is-pressed .camera__shot:nth-child(1) { transform: rotate(-14deg) translate(-26%, 6%); }
.camera__visual.is-pressed .camera__shot:nth-child(2) { transform: rotate(12deg) translate(26%, 4%); }
.camera__visual.is-pressed .camera__shot:nth-child(3) { transform: rotate(0) translateY(-6%) scale(1.04); }
.camera__photo { width: 100%; height: 100%; object-fit: cover; }
/* Ohne Fotos: das Modell als große Schrift */
.camera__mono {
  font-size: clamp(4rem, 11vw, 7.5rem); line-height: 1; font-weight: 600;
  color: var(--text); opacity: 0.12; letter-spacing: -0.04em;
}
.camera__body { display: grid; align-content: start; gap: 24px; padding: clamp(20px, 3vw, 32px); }
.camera__brand { font-size: 0.875rem; font-weight: 500; color: var(--text-3); }
.camera__name { margin-top: 2px; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.camera__kind { margin-top: 8px; font-size: 0.9375rem; color: var(--text-2); }
.camera__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.camera__stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--raised); }
.camera__stats dd { margin: 0; font-size: 1.375rem; line-height: 1.2; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--petrol); }
.camera__stats dt { font-size: 0.75rem; color: var(--text-3); }
.camera__lenses h4 { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.camera__lenses li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 8px 0; font-size: 0.9375rem; }
.camera__lens-count { color: var(--text-3); font-variant-numeric: tabular-nums; }
.camera__lens-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--raised); position: relative; overflow: hidden; }
.camera__lens-bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--petrol); border-radius: 999px; }
.camera__facts { display: grid; gap: 12px; margin: 0; font-size: 0.9375rem; }
.camera__facts div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 12px; }
.camera__facts dt { color: var(--text-3); }
.camera__facts dd { margin: 0; color: var(--text-2); }
.camera__foot { display: flex; }
.camera__empty { font-size: 0.9375rem; color: var(--text-3); }
@media (max-width: 520px) { .camera__facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Über mich ---------- */
/* ---------- Über mich: Collage links, Text, Zahlen und Instagram rechts ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; aspect-ratio: 5 / 4.6; }
.about__shot {
  position: absolute; display: block; padding: 0; border: 0; overflow: hidden; cursor: zoom-in;
  border-radius: var(--r); box-shadow: 0 2px 6px rgb(0 0 0 / 0.25), 0 24px 56px rgb(0 0 0 / 0.35);
  transition: transform 700ms var(--ease), box-shadow var(--mid) var(--ease);
}
.about__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.about__shot--main { inset: 0 12% 16% 0; }
.about__shot--a { right: 0; bottom: 0; width: 38%; aspect-ratio: 1; border: 4px solid var(--bg); rotate: 3deg; }
.about__shot--b { left: 6%; bottom: 2%; width: 26%; aspect-ratio: 3 / 4; border: 4px solid var(--bg); rotate: -4deg; }
.about__tag {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: 6px 12px; border-radius: 999px; background: rgb(12 13 16 / 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 0.75rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; translate: 0 6px; transition: opacity var(--mid) var(--ease), translate var(--mid) var(--ease);
}
.about__shot--a .about__tag, .about__shot--b .about__tag { display: none; }
@media (hover: hover) {
  .about__shot:hover { z-index: 2; box-shadow: 0 2px 6px rgb(0 0 0 / 0.25), 0 32px 72px rgb(0 0 0 / 0.45); }
  .about__shot:hover img { transform: scale(1.04); }
  .about__shot--main:hover .about__tag { opacity: 1; translate: 0 0; }
  .about__shot--a:hover { transform: rotate(-3deg) scale(1.04); }
  .about__shot--b:hover { transform: rotate(4deg) scale(1.04); }
}
.about__shot:active { transform: scale(0.97); }
/* Beim Scrollen gleiten die kleinen Fotos leicht gegeneinander */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .about__shot--a { animation: about-drift-a linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .about__shot--b { animation: about-drift-b linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes about-drift-a { from { translate: 0 48px; } to { translate: 0 -32px; } }
    @keyframes about-drift-b { from { translate: 0 24px; } to { translate: 0 -56px; } }
  }
}
.about__eyebrow { margin-bottom: 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.about__body .section__title { margin-bottom: 28px; }
.about__text { display: grid; gap: 18px; max-width: 36rem; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.about__text p:first-child {
  color: var(--text); font-family: var(--serif); font-style: italic;
  font-size: clamp(1.625rem, 2.4vw, 2.125rem); line-height: 1.25; letter-spacing: -0.01em;
}
.about__stats {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px clamp(24px, 3vw, 44px);
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--hairline);
}
.about__stats div { display: grid; gap: 2px; }
.about__stats dd { margin: 0; font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; color: var(--petrol); font-variant-numeric: tabular-nums; }
.about__stats dt { font-size: 0.8125rem; color: var(--text-3); }
.insta {
  display: flex; align-items: center; gap: 16px; max-width: 26rem; margin-top: 36px;
  padding: 12px 20px 12px 12px; border-radius: 999px;
  background: var(--raised); color: var(--text); text-decoration: none;
}
.insta:hover { background: var(--raised-2); }
.insta__icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.insta__icon svg { width: 26px; height: 26px; }
.insta__text { display: grid; gap: 1px; flex: 1; min-width: 0; }
.insta__label { font-size: 0.8125rem; color: var(--text-3); }
.insta__handle { font-size: 1.0625rem; font-weight: 600; }
.insta__arrow { flex: none; width: 20px; height: 20px; color: var(--text-3); transition: translate var(--fast) var(--ease), color var(--fast) var(--ease); }
.insta:hover .insta__arrow { translate: 2px -2px; color: var(--gold-text); }
.insta[hidden], .footer__social[hidden] { display: none; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 5 / 4.4; margin-bottom: 8px; }
  .about__text p:first-child { font-size: 1.5rem; }
  .about__stats { grid-template-columns: repeat(2, auto); gap: 20px 40px; }
  .insta { max-width: none; }
}

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: clamp(88px, 12vw, 160px) auto 0; padding: 0 var(--page) 32px; }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r);
  background: #f4f2ed; color: #4a4740; font-size: 0.875rem;
  --logo-ink: #14161a; --logo-paper: #f4f2ed; --logo-accent: #c8a24a; --logo-mark: #14161a;
}
.footer__logo { height: 56px; width: auto; }
.footer__inner p { flex: 1 1 260px; }
.footer__inner .button--quiet { background: #14161a; color: #f4f2ed; }
.footer__social {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  color: #14161a; font-weight: 600; text-decoration: none; background: rgb(20 22 26 / 0.06);
}
.footer__social:hover { background: rgb(20 22 26 / 0.12); }
.footer__social svg { width: 20px; height: 20px; color: #a8852f; }
.footer__inner .button--quiet:hover { background: #2a2d34; }
.footer__legal {
  flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 4px 20px;
  margin-top: -4px; padding-top: 16px; border-top: 1px solid rgb(20 22 26 / 0.12);
}
.footer__legal a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #4a4740; text-decoration: none; font-weight: 500;
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: #14161a; text-decoration: underline; }

/* ---------- Impressum und Datenschutz ---------- */
.legal { max-width: 46rem; margin: 0 auto; padding: calc(120px + env(safe-area-inset-top)) var(--page) 0; }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 8px;
  color: var(--text-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
}
.legal__back::before { content: '←'; transition: translate var(--fast) var(--ease); }
.legal__back:hover { color: var(--text); }
.legal__back:hover::before { translate: -3px 0; }
.legal .section__title { margin-bottom: 40px; }
.legal section { padding: 28px 0; border-top: 1px solid var(--hairline); }
.legal h2 { margin-bottom: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.legal p { color: var(--text-2); line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal a:not(.legal__back) { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: var(--raised); }
.legal__lead { margin-bottom: 32px; font-size: 1.125rem; color: var(--text) !important; }
.legal__stand { padding-top: 28px; border-top: 1px solid var(--hairline); font-size: 0.875rem; color: var(--text-3) !important; }
.legal__todo { padding: 1px 6px; border-radius: 6px; background: #f5d76e; color: #14161a; font-size: 0.875rem; }

/* ---------- Fotoansicht, immer dunkel ---------- */
.viewer {
  --v-text: #f4f2ed; --v-text-2: #bdb8ad; --v-text-3: #8f8b82; --v-line: rgb(244 242 237 / 0.1);
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #000; color: var(--v-text);
  overscroll-behavior: contain;
}
.viewer::backdrop { background: #000; }
.viewer[open] { display: grid; grid-template-rows: 64px 1fr; }
.viewer__bar, .viewer__nav, .viewer__info { transition: opacity var(--mid) var(--ease); }
.viewer.is-chrome-hidden .viewer__bar,
.viewer.is-chrome-hidden .viewer__nav,
.viewer.is-chrome-hidden .viewer__info { opacity: 0; pointer-events: none; }
.viewer__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 12px 0; }
.viewer__bar > :first-child { justify-self: start; }
.viewer__actions { justify-self: end; display: flex; gap: 8px; }
.viewer__count {
  padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.08);
  font-size: 0.8125rem; font-weight: 600; color: var(--v-text-2); font-variant-numeric: tabular-nums;
}
.icon-button {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.08); cursor: pointer; color: var(--v-text);
  transition: background-color var(--fast) var(--ease), transform var(--fast) var(--spring);
}
.icon-button:hover { background: rgb(255 255 255 / 0.16); }
.icon-button:active { transform: scale(0.9); }
.icon-button[aria-pressed="true"] { background: rgb(200 162 74 / 0.22); color: #e6c776; }
.icon-button svg { width: 20px; height: 20px; }
.viewer__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 0; }
.viewer.is-info-hidden .viewer__body { grid-template-columns: minmax(0, 1fr) 0; }
.viewer.is-info-hidden .viewer__info { visibility: hidden; }
.viewer__stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; padding: 12px 72px 32px; outline: none; overflow: hidden; touch-action: pan-y pinch-zoom; }
.viewer__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: var(--r-sm);
  cursor: zoom-in; transform-origin: center; will-change: transform;
  view-transition-name: viewer-photo;
}
.viewer.is-zoomed .viewer__img { border-radius: 0; cursor: grab; }
.viewer.is-zoomed .viewer__stage { touch-action: none; }
.viewer.is-zoomed .viewer__nav { opacity: 0; pointer-events: none; }
.viewer__nav {
  position: absolute; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgb(255 255 255 / 0.1); color: var(--v-text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color var(--fast) var(--ease), opacity var(--fast) var(--ease), transform var(--fast) var(--spring);
}
.viewer__nav:hover { background: rgb(255 255 255 / 0.18); }
.viewer__nav:active { transform: scale(0.9); }
.viewer__nav[disabled] { opacity: 0; pointer-events: none; }
.viewer__nav svg { width: 20px; height: 20px; }
.viewer__nav--prev { left: 16px; }
.viewer__nav--next { right: 16px; }
.viewer__info {
  overflow-y: auto; margin: 0 12px 12px 0; padding: 24px;
  border-radius: var(--r); background: #121317;
  display: grid; align-content: start; gap: 24px;
}
.info__title { font-size: 1.25rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.info__sub { margin-top: 4px; font-size: 0.9375rem; color: var(--v-text-2); }
.info__note { font-size: 0.9375rem; line-height: 1.55; color: var(--v-text-2); }
.info__exposure { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-size: 0.9375rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #7cc4bc; }
.info__exposure span { padding: 10px 12px; border-radius: var(--r-sm); background: rgb(255 255 255 / 0.06); text-align: center; }
.info__list { display: grid; gap: 14px; margin: 0; }
.info__list div { display: grid; gap: 2px; }
.info__list dt { font-size: 0.75rem; color: var(--v-text-3); }
.info__list dd { margin: 0; font-size: 0.9375rem; }
.info__demo { font-size: 0.8125rem; line-height: 1.5; color: var(--v-text-3); }
.info__compare {
  height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgb(255 255 255 / 0.08); color: var(--v-text); font: inherit; font-size: 0.875rem; font-weight: 600;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--spring);
}
.info__compare:hover { background: rgb(255 255 255 / 0.14); }
.info__compare:active { transform: scale(0.97); }
.info__compare[aria-pressed="true"] { background: rgb(200 162 74 / 0.22); color: #e6c776; }

/* ---------- Vorher/Nachher ---------- */
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.compare {
  --pos: 50%;
  position: absolute; z-index: 2; overflow: hidden;
  border-radius: var(--r-sm); cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none;
}
.compare.is-intro { transition: --pos 760ms var(--ease); }
.compare__before {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: fill;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0); pointer-events: none;
}
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 48px; margin-left: -24px; display: grid; place-items: center; outline: none; }
.compare__handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: rgb(255 255 255 / 0.92); box-shadow: 0 0 10px rgb(0 0 0 / 0.45);
}
.compare__knob {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  background: rgb(255 255 255 / 0.94); color: #14161a; box-shadow: 0 6px 20px rgb(0 0 0 / 0.4);
  transition: transform var(--fast) var(--spring);
}
.compare__knob svg { width: 20px; height: 20px; }
.compare.is-dragging .compare__knob { transform: scale(1.12); }
.compare__handle:focus-visible .compare__knob { outline: 2px solid var(--gold); outline-offset: 3px; }
.compare__tag {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; pointer-events: none;
  background: rgb(12 13 16 / 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  transition: opacity var(--mid) var(--ease);
}
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; }
.compare.hide-before .compare__tag--before, .compare.hide-after .compare__tag--after { opacity: 0; }
.viewer.is-comparing .viewer__img { cursor: default; }
.viewer__play .i-pause, .viewer__play[aria-pressed="true"] .i-play { display: none; }
.viewer__play[aria-pressed="true"] .i-pause { display: block; }
.viewer__progress { position: absolute; top: 0; left: 0; right: 0; z-index: 5; height: 3px; pointer-events: none; opacity: 0; transition: opacity var(--mid) var(--ease); }
.viewer__progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.viewer.is-playing .viewer__progress { opacity: 1; }
.viewer.is-playing .viewer__progress span { animation: viewer-progress 5000ms linear forwards; }
@keyframes viewer-progress { to { transform: none; } }
@media (max-width: 860px) {
  .viewer[open] { grid-template-rows: auto minmax(0, 1fr); }
  .viewer__bar { padding-bottom: 8px; grid-template-columns: auto 1fr auto; gap: 8px; }
  .viewer__count { justify-self: center; }
  .viewer__actions { gap: 6px; }
  .viewer__body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .viewer.is-info-hidden .viewer__body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 0; }
  .viewer__stage { padding: 0 0 72px; }
  .viewer__img, .compare { border-radius: 0; }
  .viewer__nav { top: auto; bottom: 12px; translate: none; }
  .viewer__info { margin: 0 8px calc(8px + env(safe-area-inset-bottom)); max-height: 34dvh; padding: 20px; gap: 16px; border-radius: var(--r); }
}

/* ---------- Übergänge ---------- */
::view-transition-group(*) { animation-duration: 420ms; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
.vt-filter::view-transition-old(root) { animation: none; opacity: 0; }
.vt-filter::view-transition-new(root) { animation: none; }
.vt-filter::view-transition-group(*) { animation-duration: 560ms; animation-timing-function: var(--ease); }
.vt-filter::view-transition-old(*):only-child { animation: vt-out 260ms var(--ease) both; }
.vt-filter::view-transition-new(*):only-child { animation: vt-in 520ms var(--ease) 120ms both; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.94); } }
@keyframes vt-in { from { opacity: 0; transform: scale(0.96); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js-reveal .tile { opacity: 1; transform: none; }
}

.noscript { padding: 24px var(--page); color: var(--text-2); }

/* ---------- Serienseite: Titelfoto, dann Fotos und Texte im Wechsel ---------- */
.story__progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 3px;
  background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
@supports not (animation-timeline: scroll()) { .story__progress { display: none; } }
.story__cover { position: relative; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; background: #0c0d10; color: #fff; }
.story__cover-media, .story__cover-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__cover-media { background-size: cover; background-position: center; will-change: transform; }
.story__cover-media::after { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.story__cover-media img { object-fit: cover; }
.story__cover-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(12 13 16 / 0.85) 0%, rgb(12 13 16 / 0.35) 38%, rgb(12 13 16 / 0) 62%),
    linear-gradient(to bottom, rgb(12 13 16 / 0.4) 0, rgb(12 13 16 / 0) 160px);
}
.story__cover-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; justify-items: start; gap: 14px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--page) clamp(72px, 13vh, 136px);
}
.story__eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 255 255 / 0.78); }
.story__title { max-width: 14ch; font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: 0.98; font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
.story__title .rich-em { font-size: 1.1em; }
.story__meta { font-size: clamp(1rem, 1.4vw, 1.125rem); color: rgb(255 255 255 / 0.82); }
.story__down {
  position: absolute; left: 50%; bottom: 24px; translate: -50% 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  background: rgb(255 255 255 / 0.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff;
}
.story__down svg { width: 20px; height: 20px; }
.story { display: grid; gap: clamp(56px, 9vw, 128px); padding-top: clamp(64px, 10vw, 144px); }
.story__intro, .story__text { width: 100%; margin: 0 auto; padding: 0 var(--page); text-wrap: pretty; }
.story__intro { max-width: calc(42rem + 2 * var(--page)); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.5; }
.story__intro .rich-em { font-size: 1.12em; }
.story__text { max-width: calc(36rem + 2 * var(--page)); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.75; color: var(--text-2); }
.story__intro p + p, .story__text p + p { margin-top: 1em; }
.story__photo { display: grid; justify-items: center; gap: 16px; margin: 0; padding: 0 var(--page); }
.story__photo.is-wide { padding: 0; }
.story__frame { display: block; max-width: 100%; border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.story__frame img { width: auto; height: auto; max-width: 100%; max-height: 90svh; }
.story__photo.is-wide .story__frame { width: 100%; border-radius: 0; }
.story__photo.is-wide .story__frame img { width: 100%; max-height: 100svh; object-fit: cover; }
.story__photo figcaption { display: grid; justify-items: center; gap: 6px; padding: 0 var(--page); text-align: center; }
.story__caption-title { font-size: 0.9375rem; font-weight: 500; }
.story__caption-sub { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 400; color: var(--text-3); }
.story__photo .readout { justify-content: center; color: var(--petrol); }
.story__end { padding-bottom: 0; }
@media (max-width: 760px) {
  .story__cover-content { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .story__down { display: none; }
  .story__frame { border-radius: var(--r-sm); }
}
@media (prefers-reduced-motion: no-preference) {
  .story__cover-content > * { animation: rise 900ms var(--ease) both; }
  .story__cover-content > :nth-child(2) { animation-delay: 120ms; }
  .story__cover-content > :nth-child(3) { animation-delay: 240ms; }
  .story__down { animation: nudge 2.6s var(--ease) 1.2s infinite; }
  @keyframes nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(6px); } }
  @supports (animation-timeline: scroll()) {
    .story__progress { animation: story-progress linear both; animation-timeline: scroll(root block); }
    @keyframes story-progress { to { transform: scaleX(1); } }
    .story__cover-media { animation: hero-recede linear both; animation-timeline: scroll(root block); animation-range: 0 100svh; }
    .story__cover-media::after { animation: hero-dim linear both; animation-timeline: scroll(root block); animation-range: 0 100svh; }
  }
  /* Fotos und Texte gleiten beim Scrollen herein */
  @supports (animation-timeline: view()) {
    .story__photo, .story__text, .story__intro { animation: story-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes story-in { from { opacity: 0; transform: translateY(48px) scale(0.985); } }
  }
  .story-js-reveal .story__photo, .story-js-reveal .story__text { opacity: 0; transform: translateY(40px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
  .story-js-reveal .story__photo.is-in, .story-js-reveal .story__text.is-in { opacity: 1; transform: none; }
}


/* ---------- Histogramm in der Fotoansicht ---------- */
.hist { margin: 0; display: grid; gap: 8px; }
.hist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.75rem; color: var(--v-text-3); }
.hist__head > span:first-child { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hist__keys { display: inline-flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.hist__keys i { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 999px; background: var(--k); }
.hist__plot { width: 100%; height: 72px; display: block; border-radius: 10px; background: rgb(255 255 255 / 0.04); }
.hist__area { fill: rgb(244 242 237 / 0.16); }
.hist__line { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: 0.9; mix-blend-mode: screen; }
.hist__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 0.75rem; color: var(--v-text-3); }
.hist__foot span { white-space: nowrap; }
.hist__foot b { font-weight: 600; color: #7cc4bc; font-variant-numeric: tabular-nums; }

/* ---------- Kurze Meldung, etwa „Link kopiert“ ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  margin: 0; padding: 10px 18px; border-radius: 999px; translate: -50% 12px;
  background: #f4f2ed; color: #14161a; font-size: 0.875rem; font-weight: 600;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
  opacity: 0; pointer-events: none; transition: opacity var(--mid) var(--ease), translate var(--mid) var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Mehr entdecken: Karte und Statistik ---------- */
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .more__grid { grid-template-columns: 1fr; } }
.more-card {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--hairline); background: var(--surface);
  color: var(--text); text-decoration: none;
}
.more-card__visual { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; background: var(--raised); }
.more-card__body { display: grid; gap: 4px; padding: 20px 24px 24px; }
.more-card__eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.more-card__title { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; }
.more-card__text { color: var(--text-2); font-size: 0.9375rem; }
.more-card__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-map__land { fill: var(--surface); stroke: none; }
.mini-map__dot { fill: var(--data); stroke: var(--raised); stroke-width: 3; }
.mini-bars { position: absolute; inset: 22% 10% 18%; display: flex; align-items: end; gap: 6px; border-bottom: 1px solid var(--hairline); }
.mini-bars i { flex: 1; max-width: 24px; height: var(--h); border-radius: 4px 4px 0 0; background: var(--data); }
@media (hover: hover) {
  .more-card { transition: transform 600ms var(--ease), box-shadow var(--mid) var(--ease); }
  .more-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
}

/* ---------- Unterseiten: In Zahlen, Karte ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: calc(120px + env(safe-area-inset-top)) var(--page) 0; }
.page__head { display: grid; gap: 12px; justify-items: start; margin-bottom: 40px; }
.page__eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.page__title { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.04; font-weight: 500; letter-spacing: -0.03em; }
.page__title .rich-em { font-size: 1.1em; }
.page__lead { max-width: 40rem; color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.6; text-wrap: pretty; }
.stats__years { margin-top: 12px; }

/* Kennzahlen */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile-stat { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--hairline); }
.tile-stat__label { font-size: 0.8125rem; color: var(--text-3); }
.tile-stat__value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; color: var(--petrol); font-variant-numeric: tabular-nums; }
.tile-stat__note { font-size: 0.8125rem; color: var(--text-2); }
@media (max-width: 520px) { .tile-stat { padding: 16px; } .tile-stat__value { font-size: 1.375rem; } }

/* Diagramm-Karten */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .charts { grid-template-columns: 1fr; } }
.chart { display: grid; align-content: start; gap: 20px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--hairline); min-width: 0; }
.chart--wide { grid-column: 1 / -1; }
.chart__head { display: grid; gap: 2px; }
.chart__title { font-size: 1.0625rem; font-weight: 600; }
.chart__sub { font-size: 0.8125rem; color: var(--text-3); }
.chart__empty { color: var(--text-3); font-size: 0.9375rem; }
.chart__table summary { width: fit-content; min-height: 32px; display: inline-flex; align-items: center; cursor: pointer; font-size: 0.8125rem; color: var(--text-3); }
.chart__table summary:hover { color: var(--text); }
.chart__table table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 0.875rem; }
.chart__table th, .chart__table td { padding: 6px 0; border-bottom: 1px solid var(--hairline); text-align: left; font-weight: 400; color: var(--text-2); }
.chart__table td { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }

/* Säulen: Monate, Stunden */
.cols { position: relative; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: 180px auto; column-gap: 8px; }
.cols__grid { grid-column: 1 / -1; grid-row: 1; position: relative; }
.cols__grid span {
  position: absolute; left: 0; right: 0; bottom: var(--y); height: 0;
  font-size: 0.6875rem; line-height: 1; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap;
  translate: 0 -0.5em;
}
/* Hilfslinie rechts neben der Zahl, haarfein und zurückhaltend */
.cols__grid span::after { content: ''; position: absolute; left: 36px; right: 0; top: 0.5em; border-top: 1px solid var(--hairline); }
.cols__bars { grid-column: 2; grid-row: 1; position: relative; display: flex; align-items: end; border-bottom: 1px solid var(--text-3); }
.col { flex: 1; min-width: 0; height: 100%; display: flex; align-items: end; justify-content: center; padding: 0 1px; border: 0; background: none; cursor: default; }
.col i { position: relative; display: block; font-style: normal; width: min(24px, 100%); height: var(--h); border-radius: 4px 4px 0 0; background: var(--data); transition: filter var(--fast) var(--ease); }
.col:hover i, .col:focus-visible i { filter: brightness(1.15); }
.col b { position: absolute; left: 50%; bottom: 100%; translate: -50% -4px; font-size: 0.75rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.cols__axis { grid-column: 2; grid-row: 2; display: flex; padding-top: 6px; }
.cols__axis span { flex: 1; min-width: 0; overflow: visible; white-space: nowrap; font-size: 0.6875rem; color: var(--text-3); }

/* Balken: Kategorien mit Namen */
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; align-items: center; gap: 12px; border-radius: 8px; outline-offset: 4px; }
.hbar__label { display: grid; font-size: 0.875rem; color: var(--text); line-height: 1.25; }
.hbar__label small { font-size: 0.75rem; color: var(--text-3); }
.hbar__track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hbar__track i { display: block; flex: none; width: calc(var(--w) * 0.86); min-width: 2px; height: 16px; border-radius: 0 4px 4px 0; background: var(--data); transition: filter var(--fast) var(--ease); }
.hbar:hover i, .hbar:focus-visible i { filter: brightness(1.15); }
.hbar__value { font-size: 0.8125rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.stats__foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Tooltip */
.chart-tip {
  position: absolute; z-index: 50; margin: 0; padding: 6px 10px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.25); pointer-events: none;
  opacity: 0; transition: opacity var(--fast) var(--ease);
}
.chart-tip.is-on { opacity: 1; }

/* ---------- Karte ---------- */
.map__frame { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--hairline); background: var(--raised); }
.map__svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; max-height: 76vh; touch-action: manipulation; }
@media (max-width: 760px) { .map__svg { aspect-ratio: 4 / 5; max-height: 70vh; } }
.map__sea { fill: var(--raised); }
.map__land { fill: var(--surface); stroke: var(--hairline); }
.map__borders { fill: none; stroke: var(--text-3); stroke-opacity: 0.35; stroke-linejoin: round; }
.region, .place { cursor: pointer; outline: none; }
.region__hit, .place__hit { fill: transparent; }
.region__dot { fill: var(--data); fill-opacity: 0.88; stroke: var(--surface); transition: fill-opacity var(--mid) var(--ease); }
.region:hover .region__dot, .region:focus-visible .region__dot { fill-opacity: 1; }
.region:focus-visible .region__dot { stroke: var(--focus); }
.region.is-dim .region__dot { fill-opacity: 0.25; }
.region.is-active { display: none; }
.region__label, .place__label { fill: var(--text); font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 0.35em; stroke-linejoin: round; dominant-baseline: central; }
.region.is-dim .region__label { fill: var(--text-3); }
.place { display: none; }
.place.is-on { display: inline; }
.place__dot { fill: var(--data); stroke: var(--surface); }
.place:hover .place__dot { filter: brightness(1.15); }
.map__back {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text); font: inherit; font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow);
}
.map__back svg { width: 18px; height: 18px; }
.map__note { margin-top: 12px; font-size: 0.8125rem; color: var(--text-3); }
.map-photos { margin-top: 40px; }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.region-card {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; border-radius: var(--r);
  background: var(--raised); cursor: pointer; text-align: left; color: #fff;
}
.region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.region-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 13 16 / 0.75), rgb(12 13 16 / 0) 55%); }
.region-card__body { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 2px; }
.region-card__name { font-size: 1.0625rem; font-weight: 600; }
.region-card__count { font-size: 0.8125rem; color: rgb(255 255 255 / 0.8); }
@media (hover: hover) { .region-card:hover img { transform: scale(1.04); } }
.map-photos__head { display: grid; gap: 2px; margin-bottom: 24px; }
.map-photos__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.02em; }
.map-photos__sub { color: var(--text-3); }
.place-group { margin-bottom: 32px; scroll-margin-top: 100px; }
.place-group__title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; font-size: 1.0625rem; font-weight: 600; scroll-margin-top: 100px; }
.place-group__title span { font-size: 0.8125rem; font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; }
.place-group__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.thumb { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); color: #fff; text-decoration: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.thumb__title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: 0.8125rem; font-weight: 600;
  background: linear-gradient(to top, rgb(12 13 16 / 0.72), rgb(12 13 16 / 0));
}
@media (hover: hover) { .thumb:hover img { transform: scale(1.04); } }
