/* =========================================================
   Finja Nitschke – Sportfotografie · Design System v1.0
   Dunkle Galerie-Bühne (Bilder leuchten) + helle "Paper"-Seiten
   für Shop, Formulare und Rechtliches.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}

/* ---------- Tokens ---------- */
/* Hell-/Dunkelmodus: Standard = dunkel. Ohne Wahl folgt die Seite dem System (prefers-color-scheme),
   der Umschalter im Header setzt data-theme="light|dark" auf <html> und merkt sich die Wahl. */
:root {
  color-scheme: dark;
  /* Rollen „Bühne“ (Home, Portfolio, Galerien, About) */
  --ink: #0B0B0C;          /* Seitenhintergrund */
  --ink-2: #141416;        /* Flächen */
  --ink-3: #1D1D20;        /* erhöhte Flächen */
  --line: #2B2B2F;         /* Linien */
  --bone: #F3EEE6;         /* Text */
  --stone: #A19C94;        /* Sekundärtext (≈7:1) */
  /* Rollen „Papier“ (Shop, Formulare, Rechtliches) – im Dunkelmodus ebenfalls dunkel */
  --paper: #0B0B0C;
  --paper-2: #141416;
  --charcoal: #F3EEE6;
  --graphite: #A19C94;
  --line-light: #2B2B2F;
  --card: #141416;         /* Karten, Formularfelder */
  --band: #141416;         /* abgesetzte Bänder (Prints-Teaser) */
  /* Akzent – "Sand/Apricot" aus Finjas Bildwelt */
  --sand: #E2A866;
  --sand-hover: #EDBB80;
  --sand-deep: #E2A866;
  --sunset: #D9662B;
  --ok: #5DB07E; --err: #E0615A;
  /* Header & Details */
  --header-bg: rgba(11, 11, 12, .74);
  --ghost-bd: rgba(243, 238, 230, .35);
  --ghost-hover: rgba(243, 238, 230, .06);
  --beach-end: #16110C;
  --focus-ring: rgba(226, 168, 102, .28);
  --shadow-canvas: #3a342c;
  --btn-strong: #E2A866; --btn-strong-fg: #0B0B0C; --btn-strong-hover: #EDBB80;

  /* Typografie */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --fs-display: clamp(2.9rem, 1.4rem + 6.2vw, 7.25rem);
  --fs-display-sm: clamp(2.4rem, 1.5rem + 3.9vw, 5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.6rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  /* Abstände (4er-Raster) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: clamp(72px, 10vw, 160px);
  --gutter: clamp(16px, 3.2vw, 44px);
  --maxw: 1440px;

  /* Form */
  --radius: 2px;
  --radius-btn: 999px;
  --shadow-pop: 0 30px 80px -20px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms; --t: 420ms; --t-slow: 900ms;
  --header-h: 76px;
}

/* Hell */
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #F6F2EB; --ink-2: #EDE6DB; --ink-3: #E4DCCF; --line: #D9D0C2;
  --bone: #1A1918; --stone: #5E5952;
  --paper: #F6F2EB; --paper-2: #EDE6DB; --charcoal: #1A1918; --graphite: #5E5952; --line-light: #D9D0C2;
  --card: #FFFFFF; --band: #EDE6DB;
  --sand: #8A4E12; --sand-hover: #6E3D0C; --sand-deep: #8A4E12;
  --ok: #2F7A4D; --err: #B3362F;
  --header-bg: rgba(246, 242, 235, .84);
  --ghost-bd: rgba(26, 25, 24, .28); --ghost-hover: rgba(26, 25, 24, .05);
  --beach-end: #EFE3CF; --focus-ring: rgba(138, 78, 18, .2); --shadow-canvas: #d8cfc0;
  --btn-strong: #1A1918; --btn-strong-fg: #F6F2EB; --btn-strong-hover: #8A4E12;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --ink: #F6F2EB; --ink-2: #EDE6DB; --ink-3: #E4DCCF; --line: #D9D0C2;
    --bone: #1A1918; --stone: #5E5952;
    --paper: #F6F2EB; --paper-2: #EDE6DB; --charcoal: #1A1918; --graphite: #5E5952; --line-light: #D9D0C2;
    --card: #FFFFFF; --band: #EDE6DB;
    --sand: #8A4E12; --sand-hover: #6E3D0C; --sand-deep: #8A4E12;
    --ok: #2F7A4D; --err: #B3362F;
    --header-bg: rgba(246, 242, 235, .84);
    --ghost-bd: rgba(26, 25, 24, .28); --ghost-hover: rgba(26, 25, 24, .05);
    --beach-end: #EFE3CF; --focus-ring: rgba(138, 78, 18, .2); --shadow-canvas: #d8cfc0;
  --btn-strong: #1A1918; --btn-strong-fg: #F6F2EB; --btn-strong-hover: #8A4E12;
  }
}
/* Bereiche über Fotos bleiben immer dunkel (CTA-Band, Lightbox) */
.cta-band, .lb {
  color-scheme: dark;
  --ink: #0B0B0C; --ink-2: #141416; --line: #2B2B2F; --bone: #F3EEE6; --stone: #A19C94;
  --sand: #E2A866; --sand-hover: #EDBB80; --ghost-bd: rgba(243, 238, 230, .35); --ghost-hover: rgba(243, 238, 230, .06);
}

/* ---------- Basis ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 var(--fs-body)/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-light { background: var(--paper); color: var(--charcoal); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: -.015em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.is-light :focus-visible { outline-color: var(--sand-deep); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sand); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(32px, 5vw, 72px); }
.center { text-align: center; }
.muted { color: var(--stone); }
.is-light .muted { color: var(--graphite); }

/* ---------- Typo-Rollen ---------- */
.display { font-size: var(--fs-display); font-weight: 800; font-stretch: 112%; line-height: .95; letter-spacing: -.03em; }
.display-sm { font-size: var(--fs-display-sm); font-weight: 800; font-stretch: 110%; line-height: .98; letter-spacing: -.025em; }
.h2 { font-size: var(--fs-h2); font-weight: 750; font-stretch: 108%; letter-spacing: -.02em; }
.h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.2; letter-spacing: -.005em; }
.display em, .display-sm em, .h2 em { color: var(--sand); font-size: 1.04em; }
.is-light .display-sm em, .is-light .h2 em { color: var(--sand-deep); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--stone); max-width: 38em; }
.is-light .lead { color: var(--graphite); }
.narrow { margin-inline: auto; }
.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 600; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: .2em; color: var(--sand); margin-bottom: var(--s5);
}
.is-light .eyebrow { color: var(--sand-deep); }
.label { font-size: var(--fs-eyebrow); font-stretch: 125%; text-transform: uppercase; letter-spacing: .2em; color: var(--stone); margin-bottom: var(--s5); font-weight: 600; }
.hint { font-size: var(--fs-small); color: var(--stone); }
.is-light .hint { color: var(--graphite); }

/* ---------- Buttons & Links ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.6em; border-radius: var(--radius-btn);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 600 .95rem/1 var(--font); font-stretch: 108%; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { --bg: var(--sand); --fg: var(--ink); --bd: var(--sand); }
.btn-accent:hover { --bg: var(--sand-hover); --bd: var(--sand-hover); }
.is-light .btn-accent { --bg: var(--btn-strong); --fg: var(--btn-strong-fg); --bd: var(--btn-strong); }
.is-light .btn-accent:hover { --bg: var(--btn-strong-hover); --bd: var(--btn-strong-hover); }
.btn-ghost { --bd: var(--ghost-bd); }
.btn-ghost:hover { --bd: var(--bone); --bg: var(--ghost-hover); }
.is-light .btn-ghost { --bd: var(--line-light); }
.is-light .btn-ghost:hover { --bd: var(--charcoal); --bg: transparent; }
.btn-lg { min-height: 56px; padding: 0 2em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.link-arrow { display: inline-flex; gap: .5em; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.pill { display: inline-block; padding: 1px 8px; border: 1px solid currentColor; border-radius: 99px; font-size: .75em; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: transform var(--t) var(--ease), border-color var(--t), background var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.is-light .site-header.is-scrolled { border-bottom-color: var(--line-light); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s6); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { white-space: nowrap; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }
.brand-sub { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--sand); margin-top: 3px; }
.is-light .brand-sub { color: var(--sand-deep); }
.brand-lg .brand-name { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); }
.brand-lg .brand-sub { font-size: 1.3rem; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s6); }
.main-nav ul { list-style: none; display: flex; gap: var(--s6); margin: 0; padding: 0; }
.main-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.nav-sports { display: none; }
.nav-cta { min-height: 42px; padding: 0 1.2em; font-size: .88rem; }
.header-tools { display: flex; align-items: center; gap: var(--s4); }
.lang { text-decoration: none; font-weight: 600; font-size: .8rem; font-stretch: 125%; letter-spacing: .12em; padding: 8px; }
.cart-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--sunset); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.burger span:not(.sr-only) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform var(--t) var(--ease), top var(--t) var(--ease); }
.burger span:nth-child(2) { top: 18px; } .burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .brand-name { font-size: .92rem; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: var(--s6);
    background: var(--ink); padding: var(--s6) var(--gutter) var(--s8); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  }
  .is-light .main-nav { background: var(--paper); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul > li > a:not(.btn) { display: block; font-size: 2rem; font-weight: 750; font-stretch: 110%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .is-light .main-nav ul > li > a:not(.btn) { border-color: var(--line-light); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-sports { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: var(--s5); }
  .nav-sports a { font-size: 1rem !important; font-weight: 500 !important; color: var(--stone); border-bottom: 0 !important; padding: 4px 0 !important; }
  .nav-cta { min-height: 56px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 96px) clamp(64px, 8vw, 128px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(86vh, 900px); }
.hero-copy .lead { margin-top: var(--s6); }
.hero-media { position: relative; height: 100%; min-height: 560px; }
.hm { position: absolute; margin: 0; overflow: hidden; background: var(--ink-2); }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-1 { right: 18%; top: 0; width: 62%; aspect-ratio: 2 / 3; z-index: 2; }
.hm-2 { right: 0; top: 34%; width: 34%; aspect-ratio: 2 / 3; z-index: 3; outline: 10px solid var(--ink); }
.hm-3 { left: 0; bottom: 0; width: 30%; aspect-ratio: 2 / 3; z-index: 1; opacity: .9; }
.hero-shutter { position: absolute; right: 0; bottom: 0; font-size: .72rem; font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 4.2; }
  .hm-1 { right: 22%; width: 66%; }
  .hm-2 { width: 38%; top: 30%; outline-width: 6px; }
  .hm-3 { width: 30%; }
}

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(32px, 5vw, 64px); max-width: 52rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-top: var(--s5); }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: var(--s5); flex-wrap: wrap; }

/* ---------- Sport-Index (Startseite) ---------- */
.sports { border-top: 1px solid var(--line); }
.sport-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sport-row {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1.3fr) auto 40px; align-items: center; gap: var(--s5);
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.sport-no { font-size: .8rem; font-stretch: 125%; color: var(--stone); letter-spacing: .1em; }
.sport-name { font-size: clamp(1.7rem, 1rem + 3vw, 3.6rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; line-height: 1; transition: color var(--t-fast), transform var(--t) var(--ease); }
.sport-line { color: var(--stone); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.sport-count { font-size: .8rem; color: var(--stone); font-stretch: 115%; letter-spacing: .06em; text-transform: uppercase; }
.sport-arrow { font-size: 1.4rem; transition: transform var(--t) var(--ease); }
.sport-peek { position: absolute; right: 12%; top: 50%; width: 150px; transform: translate(0, -50%) rotate(-3deg) scale(.9); opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); z-index: 2; box-shadow: var(--shadow-pop); }
.sport-row:hover .sport-name { color: var(--sand); transform: translateX(8px); }
.sport-row:hover .sport-arrow { transform: translateX(6px); }
@media (hover: hover) { .sport-row:hover .sport-peek { opacity: 1; transform: translate(0, -50%) rotate(-3deg) scale(1); } }
@media (max-width: 800px) {
  .sport-row { grid-template-columns: 36px 1fr 24px; gap: var(--s3); }
  .sport-line { grid-column: 2; font-size: 1rem; }
  .sport-count { grid-column: 2; }
  .sport-arrow { grid-row: 1; grid-column: 3; }
  .sport-peek { display: none; }
}

/* ---------- Intro ---------- */
.intro-grid, .beach-grid, .about-grid, .story-grid, .booking-grid, .prints-grid, .photo-grid, .checkout-grid, .cart-grid, .faq-wrap {
  display: grid; gap: clamp(32px, 6vw, 96px);
}
.intro-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.intro-copy .h2 { margin-bottom: var(--s6); }
.intro-copy p { color: var(--stone); font-size: var(--fs-lead); max-width: 34em; }
.frame { margin: 0; overflow: hidden; background: var(--ink-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .intro-media { max-width: 520px; } }

/* ---------- Masonry / Tiles ---------- */
.masonry { columns: 3 300px; column-gap: clamp(10px, 1.4vw, 20px); }
.tile { break-inside: avoid; margin: 0 0 clamp(10px, 1.4vw, 20px); position: relative; overflow: hidden; background: var(--ink-2); }
.is-light .tile { background: var(--paper-2); }
.tile a { display: block; position: relative; aspect-ratio: var(--ar); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease), filter var(--t); }
.tile-meta { position: absolute; inset: auto 0 0 0; display: flex; align-items: end; gap: var(--s3); padding: 48px 16px 14px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); opacity: 0; transform: translateY(6px); transition: opacity var(--t), transform var(--t) var(--ease); }
.tile-ref { font-size: .72rem; letter-spacing: .14em; font-stretch: 125%; }
.tile-cap { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.tile-sale { margin-left: auto; color: var(--sand); }
@media (hover: hover) {
  .tile a:hover img, .tile a:focus-visible img { transform: scale(1.035); }
  .tile a:hover .tile-meta, .tile a:focus-visible .tile-meta { opacity: 1; transform: none; }
}
@media (hover: none) { .tile-meta { opacity: 1; transform: none; padding-top: 32px; } .tile-cap { display: none; } }

/* ---------- Beach ---------- */
.beach { background: linear-gradient(180deg, var(--ink) 0%, var(--beach-end) 100%); }
.beach-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.beach-copy .h2 { margin-bottom: var(--s6); }
.beach-copy > p { color: var(--stone); font-size: var(--fs-lead); }
.pillars { display: grid; gap: 0; margin: var(--s7) 0; border-top: 1px solid var(--line); }
.pillars div { display: grid; grid-template-columns: 11rem 1fr; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.pillars dt { font-weight: 700; font-stretch: 112%; }
.pillars dd { margin: 0; color: var(--stone); }
.beach-strip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.beach-strip .frame { aspect-ratio: 2 / 3; }
.beach-strip .frame:nth-child(2) { margin-top: 22%; }
@media (max-width: 900px) { .beach-grid { grid-template-columns: 1fr; } .pillars div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Prints Teaser ---------- */
.prints-teaser { background: var(--band); color: var(--charcoal); }
.prints-teaser .eyebrow { color: var(--sand-deep); }
.prints-teaser .h2 em { color: var(--sand-deep); }
.prints-teaser .lead { color: var(--graphite); }
.prints-teaser .btn-accent { --bg: var(--btn-strong); --fg: var(--btn-strong-fg); --bd: var(--btn-strong); }
.prints-teaser .btn-accent:hover { --bg: var(--btn-strong-hover); --bd: var(--btn-strong-hover); }
.materials { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); margin-bottom: var(--s9); }
.material { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: center; text-decoration: none; padding: clamp(16px, 2.5vw, 32px); background: var(--card); border: 1px solid var(--line-light); transition: border-color var(--t), transform var(--t) var(--ease); }
.material:hover { border-color: var(--charcoal); transform: translateY(-3px); }
.material-visual { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--paper-2); }
.material-visual img { width: 100%; height: 100%; object-fit: cover; }
/* Leinwand: Spiegelkante + Textur-Andeutung · Alu: Glanzkante */
.material-canvas .material-visual { box-shadow: 6px 6px 0 -1px var(--shadow-canvas), 10px 10px 18px rgba(0,0,0,.18); }
.material-canvas .material-visual img { filter: saturate(.95) contrast(.97); }
.material-alu .material-visual { box-shadow: 0 0 0 1px #c9c9c9, 0 14px 24px -10px rgba(0,0,0,.35); position: relative; }
.material-alu .material-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 35%); }
.material-name { display: block; font-size: var(--fs-h3); font-weight: 750; font-stretch: 110%; margin-bottom: var(--s2); }
.material-desc { display: block; color: var(--graphite); margin-bottom: var(--s4); }
.material-price { display: inline-block; font-weight: 600; color: var(--sand-deep); }
.steps { list-style: none; margin: 0 0 var(--s8); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); counter-reset: s; }
.steps li { border-top: 1px solid var(--charcoal); padding-top: var(--s5); }
.steps h3 { font-size: var(--fs-h3); margin: var(--s3) 0 var(--s2); }
.steps p { color: var(--graphite); margin: 0; }
.step-no { font-size: .75rem; font-stretch: 125%; letter-spacing: .2em; color: var(--sand-deep); font-weight: 600; }
.is-dark .step-no, body:not(.is-light) .values .step-no, body:not(.is-light) .services .step-no { color: var(--sand); }
@media (max-width: 800px) { .materials, .steps { grid-template-columns: 1fr; } .material { grid-template-columns: 110px 1fr; } }

/* ---------- Trust ---------- */
.trust-grid { list-style: none; margin: 0 0 var(--s7); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trust-grid.three { grid-template-columns: repeat(3, 1fr); }
.trust-grid li { background: var(--ink); padding: clamp(20px, 2.5vw, 36px); }
.trust-grid h3 { font-size: var(--fs-h3); margin: var(--s3) 0 var(--s3); }
.trust-grid p { color: var(--stone); margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .trust-grid, .trust-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust-grid, .trust-grid.three { grid-template-columns: 1fr; } }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(96px, 14vw, 220px); background: var(--ink-2); color: var(--bone); isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(.2) brightness(.42); }
.cta-inner { text-align: center; }
.cta-inner .display-sm { max-width: 14em; margin: 0 auto var(--s6); }
.cta-inner .display-sm em { color: var(--sand); }
.cta-inner .lead { margin: 0 auto var(--s7); color: rgba(243,238,230,.8); }
.is-light .cta-band .btn-accent { --bg: var(--sand); --fg: var(--ink); --bd: var(--sand); }

/* ---------- Pagehead ---------- */
.pagehead { padding-block: clamp(48px, 8vw, 120px) clamp(24px, 4vw, 56px); }
.pagehead .lead { margin-top: var(--s6); }
.pagehead .display-sm { max-width: 16em; }
.crumb { font-size: var(--fs-small); color: var(--stone); margin-bottom: var(--s5); }
.is-light .crumb { color: var(--graphite); }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }

/* ---------- Portfolio ---------- */
.sport-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.sport-card { position: relative; display: block; aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--ink-3); text-decoration: none; color: #fff; isolation: isolate; }
.sport-card-media { position: absolute; inset: 0; z-index: -1; }
.sport-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease), filter var(--t); filter: brightness(.72); }
.sport-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0) 55%); z-index: -1; }
.sport-card-name { position: absolute; left: 16px; right: 16px; bottom: 44px; font-size: clamp(1.1rem, .8rem + 1vw, 1.7rem); font-weight: 800; font-stretch: 115%; line-height: 1; }
.sport-card-line { position: absolute; left: 16px; right: 16px; bottom: 16px; font-family: var(--serif); font-style: italic; font-size: .95rem; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sport-card:hover img { transform: scale(1.05); filter: brightness(.85); }
@media (max-width: 1000px) { .sport-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .sport-cards { grid-template-columns: 1fr 1fr; } .sport-card:first-child { grid-column: span 2; aspect-ratio: 16 / 11; } }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.gcard a { display: block; text-decoration: none; }
.gcard-media { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); margin-bottom: var(--s4); }
.gcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.gcard a:hover img { transform: scale(1.04); }
.gcard-lock { color: var(--stone); }
.gcard-body { display: grid; gap: 4px; }
.gcard-sport { font-size: .72rem; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.gcard-title { font-size: 1.3rem; font-weight: 700; font-stretch: 106%; line-height: 1.2; }
.gcard-meta { font-size: var(--fs-small); color: var(--stone); }
.sport-tabs { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s5); }
.sport-tabs a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; }
.sport-tabs a[aria-current] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.gallery-info { display: flex; gap: var(--s5); flex-wrap: wrap; font-size: var(--fs-small); color: var(--stone); margin-bottom: var(--s5); }
.empty { color: var(--stone); font-size: var(--fs-lead); padding: var(--s8) 0; }

/* ---------- Locked / einfache Box ---------- */
.locked { padding-block: clamp(80px, 14vw, 200px); }
.narrow-box { max-width: 640px; }
.narrow-box .h3 { margin: var(--s6) 0 var(--s3); }
.narrow-box .btn { margin-top: var(--s5); }
.code-row { display: flex; gap: var(--s3); flex-wrap: wrap; }
.code-row input { flex: 1 1 220px; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label { font-size: .9rem; font-weight: 550; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: inherit; width: 100%;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.is-light input, .is-light select, .is-light textarea { border-color: var(--line-light); background: var(--card); }
input:hover, select:hover, textarea:hover { border-color: var(--stone); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px var(--focus-ring); }
.is-light input:focus, .is-light select:focus, .is-light textarea:focus { border-color: var(--sand-deep); box-shadow: 0 0 0 3px var(--focus-ring); }
input[disabled] { opacity: .6; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: .92rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--sand-deep); }
.hp { position: absolute; left: -9999px; }
.alert { background: rgba(200,66,59,.1); border-left: 3px solid var(--err); padding: 12px 16px; margin: 0; }
.success { background: rgba(62,142,94,.12); border-left: 3px solid var(--ok); padding: 16px 18px; font-weight: 500; }
.note { background: var(--paper-2); padding: 16px 18px; border-left: 3px solid var(--sand-deep); }
body:not(.is-light) .note { background: var(--ink-2); border-color: var(--sand); }
.form-card { background: var(--card); border: 1px solid var(--line-light); padding: clamp(20px, 3vw, 44px); }
.form-card .h3 { margin-bottom: var(--s5); }

/* ---------- Booking / Rights ---------- */
.booking-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.services { display: grid; gap: var(--s6); }
.service { border-top: 1px solid var(--charcoal); padding-top: var(--s5); }
.service .h3 { margin: var(--s3) 0 var(--s2); }
.service p { color: var(--graphite); margin: 0; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }

/* ---------- Photo / Konfigurator ---------- */
.photo-page { padding-block: clamp(24px, 4vw, 64px) var(--section); }
.photo-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: start; }
.photo-frame { aspect-ratio: var(--ar); width: min(100%, calc(84vh * var(--ar))); margin-inline: auto; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-panel { position: sticky; top: calc(var(--header-h) + 24px); }
.photo-panel .h2 { margin-bottom: var(--s3); }
.configurator { margin-top: var(--s6); display: grid; gap: var(--s6); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: var(--fs-eyebrow); font-stretch: 125%; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; margin-bottom: var(--s3); color: var(--graphite); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-light); border-radius: 99px; padding: 4px; background: var(--card); }
.seg-opt { position: relative; }
.seg-opt input, .size-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; margin: 0; }
.seg-opt span { display: block; text-align: center; padding: 11px 12px; border-radius: 99px; cursor: pointer; font-weight: 600; transition: background var(--t-fast), color var(--t-fast); }
.seg-opt input:checked + span { background: var(--charcoal); color: var(--paper); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--sand-deep); outline-offset: 2px; }
.mat-info { font-size: var(--fs-small); color: var(--graphite); margin: var(--s3) 0 0; }
.sizes { display: grid; gap: 8px; }
.size-opt { position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 14px 16px; border: 1px solid var(--line-light); background: var(--card); cursor: pointer; font-weight: 500; transition: border-color var(--t-fast); }
.size-opt:has(input:checked) { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.size-opt:has(input:focus-visible) { outline: 2px solid var(--sand-deep); outline-offset: 2px; }
.size-price { font-weight: 700; }
.buy-row { display: flex; gap: var(--s3); }
.qty input { width: 84px; text-align: center; }
.buy-row .btn { flex: 1; }
.added-msg a { font-weight: 600; color: var(--ok); }
.report { margin-top: var(--s7); font-size: var(--fs-small); color: var(--graphite); border-top: 1px solid var(--line-light); padding-top: var(--s4); }
@media (max-width: 1000px) { .photo-grid { grid-template-columns: 1fr; } .photo-panel { position: static; } .photo-frame { width: min(100%, calc(72vh * var(--ar))); } }

/* ---------- Prints-Seite ---------- */
.prints-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.compare .h3 { margin-bottom: var(--s4); }
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-bottom: var(--s7); }
.compare-cols h3 { font-size: 1.1rem; margin-bottom: var(--s2); }
.compare-cols p { color: var(--graphite); }
table { width: 100%; border-collapse: collapse; margin: var(--s4) 0; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line-light); }
thead th { font-size: var(--fs-eyebrow); letter-spacing: .16em; text-transform: uppercase; font-stretch: 125%; color: var(--graphite); }
td { text-align: right; } thead th:not(:first-child) { text-align: right; }
@media (max-width: 900px) { .prints-grid, .compare-cols { grid-template-columns: 1fr; } }

/* ---------- Warenkorb / Kasse ---------- */
.cart-grid, .checkout-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); align-items: start; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line-light); }
.cart-item img { width: 88px; height: 110px; object-fit: cover; }
.cart-item h3 { font-size: 1rem; font-weight: 650; margin-bottom: 4px; }
.cart-item .ref { font-size: var(--fs-small); color: var(--graphite); }
.cart-item .price { font-weight: 700; text-align: right; }
.cart-item button { background: none; border: 0; padding: 4px 0; color: var(--graphite); text-decoration: underline; cursor: pointer; font: inherit; font-size: var(--fs-small); }
.cart-item .qtyline { display: flex; gap: var(--s3); align-items: center; margin-top: 6px; }
.cart-item .qtyline input { width: 64px; min-height: 36px; padding: 4px 8px; }
.cart-summary { background: var(--card); border: 1px solid var(--line-light); padding: clamp(20px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s4); }
.cart-summary dl { margin: 0; display: grid; gap: 8px; }
.cart-summary dl div { display: flex; justify-content: space-between; }
.cart-summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-summary .total { border-top: 1px solid var(--charcoal); padding-top: 10px; margin-top: 4px; font-weight: 750; font-size: 1.15rem; }
.mini-items .cart-item { grid-template-columns: 56px 1fr auto; }
.mini-items .cart-item img { width: 56px; height: 70px; }
.cart-empty { grid-column: 1 / -1; }
#paypal-buttons { margin-top: var(--s4); min-height: 1px; }
@media (max-width: 900px) { .cart-grid, .checkout-grid { grid-template-columns: 1fr; } .cart-summary { position: static; } }

/* ---------- About ---------- */
.about-hero { padding-block: clamp(40px, 7vw, 110px) var(--s8); }
.about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; }
.about-copy .lead { margin-top: var(--s6); }
.about-portrait { aspect-ratio: 4 / 5; }
.portrait-ph { display: grid; place-items: center; height: 100%; text-align: center; color: var(--stone); font-family: var(--serif); font-style: italic; font-size: 1.6rem; border: 1px dashed var(--line); }
.portrait-ph small { font-family: var(--font); font-style: normal; font-size: .8rem; }
.story { border-top: 1px solid var(--line); }
.story-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; }
.story-side { display: grid; gap: clamp(10px, 1.4vw, 20px); position: sticky; top: calc(var(--header-h) + 24px); }
.story-side .frame { aspect-ratio: 2 / 3; }
.story-side .frame:nth-child(2) { margin-left: 22%; }
.story-side .frame:nth-child(3) { display: none; }
.values .h2 { margin-bottom: var(--s7); }
.gear { margin-top: var(--s8); }
@media (max-width: 900px) { .about-grid, .story-grid { grid-template-columns: 1fr; } .story-side { position: static; grid-template-columns: 1fr 1fr; } .story-side .frame:nth-child(2) { margin: 20% 0 0; } }

/* ---------- Prose (Story, Rechtliches) ---------- */
.prose { max-width: 42rem; font-size: 1.08rem; }
.prose h2 { font-size: var(--fs-h3); font-weight: 700; margin: 2.2em 0 .7em; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: inherit; }
.story-text { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.65; }
.story-text h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); color: var(--sand); letter-spacing: 0; }
.story-text p:first-of-type::first-letter { float: left; font-size: 4.2em; line-height: .82; font-weight: 800; font-stretch: 115%; margin: .06em .1em 0 0; color: var(--sand); }
.legal { font-size: 1rem; }
.legal a { color: var(--sand-deep); }

/* ---------- FAQ ---------- */
.faq-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); align-items: start; }
.faq { border-top: 1px solid var(--charcoal); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s5); align-items: center; padding: 22px 0; cursor: pointer; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 18px; height: 18px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1.5px; background: currentColor; transition: transform var(--t) var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 0 24px; color: var(--graphite); max-width: 44rem; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s4); justify-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bone); border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 112px) var(--s6); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.footer-brand p { color: var(--stone); max-width: 26em; margin: var(--s5) 0; }
.footer-h { font-size: var(--fs-eyebrow); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: var(--s4); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { text-decoration: none; color: var(--bone); opacity: .88; }
.footer-list a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s9); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: .8rem; color: var(--stone); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 9, .97); display: grid; grid-template-rows: auto 1fr auto; color: var(--bone); opacity: 0; transition: opacity var(--t) var(--ease); }
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }
.lb-top, .lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 14px var(--gutter); }
.lb-count { font-size: .8rem; font-stretch: 125%; letter-spacing: .14em; color: var(--stone); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 96px); touch-action: pan-y; }
.lb-stage { overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity var(--t-fast); }
.lb-btn { background: none; border: 1px solid transparent; color: inherit; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.lb-btn:hover { border-color: var(--line); background: rgba(255,255,255,.04); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(4px, 2vw, 24px); } .lb-next { right: clamp(4px, 2vw, 24px); }
.lb-cap { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.lb-ref { font-size: .75rem; letter-spacing: .14em; color: var(--stone); font-stretch: 125%; }
.lb-actions { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: flex-end; }
.lb-actions .btn { min-height: 42px; font-size: .88rem; }
.lb-report { font-size: .82rem; color: var(--stone); }
body.lb-open { overflow: hidden; }
@media (max-width: 700px) { .lb-stage img { max-height: calc(100dvh - 250px); } .lb-prev, .lb-next { display: none; } .lb-bottom { flex-direction: column; align-items: stretch; } .lb-actions { justify-content: stretch; } .lb-actions .btn { flex: 1; } }

/* ---------- Bewegung ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: 80ms; } .js .hero .reveal:nth-child(3) { transition-delay: 160ms; } .js .hero .reveal:nth-child(4) { transition-delay: 240ms; }
.js .hm { opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
.js .hm.is-in { opacity: 1; transform: none; }
.js .hm-3.is-in { opacity: .9; }
.js .hm-2 { transition-delay: .25s; } .js .hm-3 { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hm { opacity: 1 !important; transform: none !important; }
}

/* ---------- Druck ---------- */
@media print { .site-header, .site-footer, .cta-band { display: none; } body { background: #fff; color: #000; } }

/* Footer ist immer dunkel – auch auf hellen Seiten */
.site-footer .brand-sub { color: var(--sand); }
.site-footer .btn-ghost { color: var(--bone); }

/* backdrop-filter würde das fixierte Mobilmenü auf Headerhöhe einsperren → beim Öffnen abschalten */
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); transform: none; }
body.is-light.nav-open .site-header { background: var(--paper); }

/* ---------- Theme-Umschalter ---------- */
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: none; border: 1px solid transparent; color: inherit; cursor: pointer; transition: border-color var(--t-fast); }
.theme-toggle:hover { border-color: var(--line); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-toggle .i-sun { display: block; } :root:not([data-theme]) .theme-toggle .i-moon { display: none; } }
@media (max-width: 420px) { .header-tools { gap: 4px; } .lang { padding: 8px 4px; } }
