/* autotechpars.at – Design „Prüfprotokoll“.
   Asphalt, Papier, Signalrot. Schriften lokal (OFL): Big Shoulders Display, Barlow, IBM Plex Mono.
   Animationen nur mit html.anim (JS setzt sie nur, wenn der Nutzer keine reduzierte Bewegung wünscht). */

/* Schriften: je Familie „latin“ + „latin-ext“ (Türkisch: ğ ş İ …), per unicode-range lädt der Browser nur, was die Seite braucht.
   Vazirmatn (OFL) nur für Farsi: steht nur in den Schrift-Listen von html[lang="fa"], wird also nur dort geladen. */
@font-face { font-family: "Big Shoulders Display"; src: url(../fonts/big-shoulders-display-latin-wght-normal.woff2?v=70aa853b56) format("woff2"); font-weight: 100 900; 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: "Big Shoulders Display"; src: url(../fonts/big-shoulders-display-latin-ext-wght-normal.woff2?v=2949af9257) format("woff2"); font-weight: 100 900; 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: "Barlow"; src: url(../fonts/barlow-latin-400-normal.woff2?v=4f0f26f139) 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: "Barlow"; src: url(../fonts/barlow-latin-ext-400-normal.woff2?v=496c894648) 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: "Barlow"; src: url(../fonts/barlow-latin-500-normal.woff2?v=ad8e9490a9) 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: "Barlow"; src: url(../fonts/barlow-latin-ext-500-normal.woff2?v=278f01dbfb) 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: "Barlow"; src: url(../fonts/barlow-latin-600-normal.woff2?v=800311e32d) 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: "Barlow"; src: url(../fonts/barlow-latin-ext-600-normal.woff2?v=a016855326) 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: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2?v=bb87500e32) 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: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2?v=4af8cef522) 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: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2?v=d32f0e0701) 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: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-ext-500-normal.woff2?v=3e942f428e) 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: "Vazirmatn"; src: url(../fonts/vazirmatn-arabic-wght-normal.woff2?v=55397bc2e5) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }

:root {
  --ink: #0c0d0f;
  --ink-2: #15171a;
  --line: #2b2e33;
  --paper: #e8e4da;
  --paper-2: #d8d3c6;
  --pink: #141414;
  --fg: #ece9e1;
  --red: #e1262d;
  --red-d: #b81a20;
  --red-l: #ff6b70;
  --mut: #a2a7af;
  --mut-p: #55534c;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --w: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --hh: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --cut: 14px;
}

@media (min-width: 1800px) { :root { --w: 1480px; } }
@media (min-width: 2300px) { :root { --w: 1720px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hh); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-l); outline-offset: 3px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.wrap { width: min(var(--w), 100% - 2 * var(--pad)); margin-inline: auto; }

/* feines Korn über der ganzen Seite (nur Desktop, nur mit Bewegung) */
@media (min-width: 701px) { .anim body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url(../img/grain.svg?v=1cfe2b9d2a); opacity: .07; mix-blend-mode: overlay; } }

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Schrift-Bausteine ---------- */
.lbl { display: flex; align-items: center; gap: .9em; margin-bottom: 1.4rem; color: var(--red-l); }
.lbl::before { content: ""; width: 2.6rem; height: 2px; background: currentColor; }
.paper .lbl { color: var(--red-d); }
.h-xl { font: 700 clamp(3.4rem, min(8.6vw, 14.5vh), 9rem)/.84 var(--display); text-transform: uppercase; letter-spacing: -.004em; }
.h-xl .red, .red-t { color: var(--red); }
.ln { display: block; overflow: hidden; padding: .16em 0 .02em; margin: -.16em 0 -.02em; }
.ln > span { display: block; }
.paper .h-xl .red { color: var(--red-d); }
.ln.uml { margin-top: .12em; }
.h-md { font-size: clamp(3rem, min(6.4vw, 12vh), 6.2rem); line-height: 1; }
.h-md .ln { padding-top: .2em; margin-top: -.2em; }

/* ---------- Buttons (mit Schrägschnitt wie im Logo) ---------- */
.btn { --c: var(--cut); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: 1rem 1.7rem; border: 0; background: var(--red); color: #fff; font: 600 1rem/1.1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); transition: color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover { color: var(--pink); }
.btn:hover::before { transform: none; }
.btn:focus-visible { clip-path: none; outline: 3px solid var(--red-l); outline-offset: 3px; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 2px rgba(236, 233, 225, .55); color: var(--fg); }
.btn-line::before { background: var(--fg); }
.btn-wa { background: #1fa855; color: #06140b; }
.btn-sm { padding: .7rem 1.15rem; font-size: .88rem; --c: 10px; }

/* ---------- Kopfzeile ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hh); transition: box-shadow .35s; }
/* Hintergrund + Weichzeichnung im Pseudo-Element: ein backdrop-filter direkt auf .hdr würde das fixe Handy-Menü
   (Kind von .hdr) auf die Höhe der Kopfzeile begrenzen statt auf das ganze Fenster. */
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background-color .35s; }
.hdr.solid { box-shadow: 0 1px 0 var(--line); }
.hdr.solid::before { background: rgba(12, 13, 15, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr-in { width: min(var(--w), 100% - 2 * var(--pad)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.logo { margin-inline-end: auto; position: relative; z-index: 60; }
/* Logo: Auto-Linie (SVG) + Schrift, gestochen scharf und auf Dunkel gut lesbar */
.brand { display: inline-grid; justify-items: start; text-decoration: none; line-height: 1; color: var(--fg); }
.brand-sw { width: 5.4rem; height: auto; margin: 0 0 -.35rem .1rem; }
.brand-t { font: 800 1.6rem/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.brand-t b { color: var(--red); font-weight: 800; }
.brand-s { margin-top: .22rem; font: 500 .52rem/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--mut); }
.brand-foot { margin-bottom: 1.2rem; }
.brand-foot .brand-sw { width: 6.6rem; }
.brand-foot .brand-t { font-size: 2rem; }
.nav { display: flex; gap: 1.8rem; }
.nav a, .hdr-cta { white-space: nowrap; }
.nav a { position: relative; padding: .5rem 0; font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #cfd2d6; transition: color .2s; }
.nav a i { font-style: normal; color: var(--red-l); margin-inline-end: .5em; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: none; }
.burger { display: none; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 60; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- Sprachwahl (<details>: geht auch ohne JS) ---------- */
.lang { position: relative; z-index: 60; }
.lang summary { display: flex; align-items: center; gap: .45em; padding: .6rem .1rem; list-style: none; cursor: pointer; font: 500 .78rem/1 var(--mono); letter-spacing: .12em; color: #cfd2d6; transition: color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: .4em; height: .4em; margin-inline-start: .1em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); transition: transform .25s; }
.lang[open] summary::after { transform: translateY(.1em) rotate(225deg); }
.lang summary:hover, .lang[open] summary { color: #fff; }
.lang .icon { width: 1.15rem; height: 1.15rem; }
.lang ul { position: absolute; top: calc(100% + .45rem); inset-inline-end: 0; min-width: 11rem; padding: .35rem 0; background: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.lang a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; font: 500 1rem/1.2 var(--body); text-decoration: none; color: #cfd2d6; }
.lang a:hover { background: var(--ink-2); color: #fff; }
.lang a[aria-current] { color: #fff; }
.lang a[aria-current]::after { content: ""; width: .45rem; height: .45rem; flex: none; background: var(--red); transform: rotate(45deg); }
.foot-lang a[aria-current] { color: #fff; }

/* ---------- Strecken-Anzeige links (nur große Bildschirme) ---------- */
.rail { display: none; }
@media (min-width: 1440px) {
  .rail { display: block; position: fixed; z-index: 30; left: 26px; top: 50%; height: 42vh; width: 2px; transform: translateY(-50%); background: rgba(140, 140, 140, .4); }
  .rail-fill { position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: top; }
  .rail-car { position: absolute; left: -5px; top: 0; width: 12px; height: 12px; background: var(--red); transform: translateY(-50%) rotate(45deg); }
  .rail-n { position: absolute; left: 16px; top: 0; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; color: #fff; transform: translateY(-50%); }
  .rail.on-paper .rail-n { color: var(--pink); }
  .rail.on-red { background: rgba(255, 255, 255, .45); }
  .rail.on-red .rail-fill, .rail.on-red .rail-car { background: #fff; }
}

/* ---------- Start ---------- */
.hero { position: relative; isolation: isolate; min-height: max(100svh, 660px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-photo { position: absolute; z-index: -3; top: 0; right: 0; width: 72%; height: 100%; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 58%; filter: grayscale(1) contrast(1.3) brightness(.74); transform-origin: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(12, 13, 15, .9) 0, rgba(12, 13, 15, 0) 200px), linear-gradient(90deg, var(--ink) 0%, rgba(12, 13, 15, .82) 34%, rgba(12, 13, 15, 0) 70%), linear-gradient(0deg, var(--ink) 0%, rgba(12, 13, 15, 0) 30%); }
.hero-swoosh { position: relative; display: block; width: min(calc(var(--fs) * 2.1), 44vw); height: auto; margin: 0 0 .6rem .5vw; }
.hero-in { --fs: max(4.2rem, min(16.6vw, calc((100vh - 350px) / 2.15), 21rem)); width: min(var(--w), 100% - 2 * var(--pad)); margin-inline: auto; padding: calc(var(--hh) + 2.2rem) 0 clamp(4.5rem, 8vh, 6rem); }
.hero-kick { margin: 1.2rem 0 0; color: var(--fg); display: flex; flex-wrap: wrap; gap: .4em 1.2em; }
.hero-kick b { color: var(--red-l); font-weight: 500; }
.hero-rate { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.hero-rate .icon { width: 1.05em; height: 1.05em; color: var(--red-l); }
.hero-rate:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.hero-h1 { font: 800 var(--fs)/.8 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin-left: -.04em; }
.hero-h1 .red { color: var(--red); }
.hero-lead { max-width: 33rem; margin: 1rem 0 1.7rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d4d1c9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-scroll { position: absolute; right: var(--pad); bottom: clamp(4.5rem, 9vh, 7rem); display: flex; flex-direction: column; align-items: center; gap: .9rem; color: #cfd2d6; writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; width: 1px; height: 56px; background: currentColor; }

/* ---------- Lauftext-Band ---------- */
.tape-box { position: relative; z-index: 4; overflow: hidden; margin-top: -3.2rem; padding: 2.4rem 0 2.6rem; pointer-events: none; }
.tape { transform: rotate(-1.8deg); margin-inline: -4vw; background: var(--red); color: #fff; border-block: 3px solid var(--ink); }
.tape-track { display: flex; width: max-content; }
.tape-set { display: flex; align-items: center; flex: none; }
.tape-set span { padding: .55em 0; font: 800 clamp(1.4rem, 3vw, 2.3rem)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.tape-set svg { width: 1.2rem; height: 1.2rem; margin-inline: 1.3rem; fill: var(--ink); }

/* ---------- Abschnitte ---------- */
.sec { position: relative; padding: clamp(4rem, min(8vw, 14vh), 8rem) 0; }
.paper { background: var(--paper); color: var(--pink); }
.dark2 { background: var(--ink-2); }
.red-sec { background: var(--red); color: #fff; }
.paper .lead, .paper .mut { color: var(--mut-p); }
.lead { max-width: 30rem; margin-top: 1.8rem; color: var(--mut); font-size: 1.15rem; }
.lead-0 { margin-top: 0; }

/* ---------- 01 Leistungen als Protokoll ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sticky { position: static; }
@media (min-width: 1021px) and (min-height: 700px) { .sticky { position: sticky; top: calc(var(--hh) + 2.2rem); } }
.proto { border-top: 2px solid var(--pink); counter-reset: r; }
.row { position: relative; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 2.6rem; gap: 1rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid rgba(20, 20, 20, .28); isolation: isolate; transition: color .35s, padding .5s var(--ease); }
.row::before { content: ""; position: absolute; z-index: -1; inset: 0 -1.2rem; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.row .n { align-self: start; padding-top: .55rem; color: var(--red-d); font: 500 .85rem/1 var(--mono); letter-spacing: .1em; transition: color .35s; }
.row-b { all: unset; display: inline; }
.row h3 { font: 800 clamp(1.6rem, 2.8vw, 2.3rem)/.98 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.row p { margin-top: .5rem; max-width: 34rem; color: var(--mut-p); transition: color .35s; }
.tick { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--red-d); stroke-width: 2.6; stroke-linecap: square; stroke-linejoin: miter; transition: stroke .35s; }
.tick path { stroke-dasharray: 32; stroke-dashoffset: 0; }
@media (hover: hover) {
  .row:hover { color: var(--paper); padding-inline: 1.2rem; }
  .row:hover::before { transform: none; }
  .row:hover p { color: #b9b5aa; }
  .row:hover .n, .row:hover .tick { color: var(--red-l); stroke: var(--red-l); }
}
.anim .row .tick path { stroke-dashoffset: 32; transition: stroke-dashoffset .7s var(--ease) calc(var(--d, 0ms) + .25s); }
.anim .row.in .tick path { stroke-dashoffset: 0; }

/* Foto links neben der Liste: klein, ruhig, verdeckt keinen Text */
.shot { margin-top: 2rem; width: min(100%, 300px, 36vh); aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); border: 2px solid var(--pink); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .5s var(--ease); }
.shot.on { opacity: 1; transform: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.contain img { object-fit: contain; padding: 10px; }
@media (hover: none), (pointer: coarse), (max-width: 1020px) { .shot { display: none; } }

/* ---------- 02 Pickerl-Check ---------- */
.pk { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
#pickerl { padding-block: clamp(3rem, min(6vw, 8vh), 6.5rem); }
#pickerl .h-xl { font-size: clamp(3.2rem, min(7vw, 11vh), 7.5rem); }
.pk .lead { margin: 1.3rem 0 1.4rem; }
html:not(.js) .js-only { display: none; }
.pk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 30rem; }
.pk-form label { display: grid; gap: .45rem; color: var(--mut); }
.pk-form select { width: 100%; height: 3.4rem; padding: 0 1rem; border: 2px solid var(--line); border-radius: 0; background: var(--ink-2); color: var(--fg); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.pk-form select:hover { border-color: #555a62; }
.pk-out { max-width: 30rem; margin-top: 1.4rem; min-height: 9.5rem; }
.pk-msg { font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.pk-msg small { display: block; margin-top: .7rem; font: 400 1rem/1.5 var(--body); text-transform: none; letter-spacing: 0; color: var(--mut); }
.pk-msg.ok { color: #7fdc9f; }
.pk-msg.soon { color: #ffd166; }
.pk-msg.late { color: var(--red-l); }
.pk-msg.tol { color: #ffa45c; }
.pk-msg.idle { font: 400 1rem/1.5 var(--body); text-transform: none; letter-spacing: 0; color: var(--mut); }
.pk-out .btn { margin-top: 1.2rem; }
.pk-note { margin-top: 1.1rem; font-size: .86rem; color: #7d828a; }
.wheel { width: min(100%, 520px, 70vh); aspect-ratio: 1; margin-inline: auto; }
.wheel svg { width: 100%; height: 100%; overflow: visible; }
.w-perf { fill: none; stroke: #3a3e44; stroke-width: 6; stroke-dasharray: 2 9.4; transform-box: fill-box; transform-origin: center; }
.anim .w-perf { animation: spin 120s linear infinite; }
.w-ring { fill: none; stroke: var(--line); stroke-width: 2; }
.w-seg { fill: transparent; stroke: var(--line); stroke-width: 2; cursor: pointer; transition: fill .25s; }
.w-seg:hover { fill: rgba(225, 38, 45, .28); }
.w-seg.on { fill: var(--red); }
.w-num { font: 800 30px var(--display); fill: var(--fg); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.w-hole { fill: var(--ink); stroke: var(--fg); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.w-hole.on { opacity: 1; animation: punch .45s var(--ease); }
.w-core { fill: var(--ink-2); stroke: var(--line); stroke-width: 2; }
.w-c1 { font: 500 17px var(--mono); letter-spacing: .12em; fill: var(--mut); text-anchor: middle; }
.w-c2 { font: 800 56px var(--display); fill: var(--fg); text-anchor: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes punch { from { transform: scale(2.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 03 Werkstatt ---------- */
.shop-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.checks { display: grid; gap: .55rem; margin-top: 1.6rem; }
.checks li { display: flex; align-items: center; gap: .8rem; font: 600 1rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.checks li::before { content: ""; width: 1.05rem; height: .6rem; border-left: 3px solid var(--red-l); border-bottom: 3px solid var(--red-l); transform: rotate(-45deg) translateY(-2px); flex: none; }
.collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.8rem, 2vw, 1.6rem); align-items: start; }
.ph { position: relative; margin: 0; display: flex; flex-direction: column; }
.ph .fr { overflow: hidden; background: var(--ink-2); flex: 1 1 auto; min-height: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { margin-top: .7rem; color: var(--mut); }
.ph figcaption b { color: var(--red-l); font-weight: 500; margin-inline-end: .6em; }
/* 1 groß links oben, 2 hoch rechts über beide Reihen, 3 + 4 darunter: keine leeren Flächen */
.collage { align-items: stretch; }
.ph-1 { grid-area: 1 / 1 / 2 / 8; }
.ph-1 .fr { aspect-ratio: 16 / 10; }
.ph-2 { grid-area: 1 / 8 / 3 / 13; }
.ph-2 img { object-position: 88% 50%; }   /* Mechaniker steht rechts im Bild */
.ph-3 { grid-area: 2 / 1 / 3 / 5; }
.ph-3 .fr { aspect-ratio: 1; }
.ph-4 { grid-area: 2 / 5 / 3 / 8; }
/* darunter eine Reihe mit vier gleich hohen Hochformaten */
.ph-5 { grid-area: 3 / 1 / 4 / 4; }
.ph-6 { grid-area: 3 / 4 / 4 / 7; }
.ph-7 { grid-area: 3 / 7 / 4 / 10; }
.ph-8 { grid-area: 3 / 10 / 4 / 13; }
.ph-5 .fr, .ph-6 .fr, .ph-7 .fr, .ph-8 .fr { aspect-ratio: 3 / 4; }
.anim .ph:not(.in) .fr { clip-path: inset(0 0 100% 0); }
.anim .ph .fr { clip-path: inset(0); transition: clip-path 1.1s var(--ease) var(--d, 0ms); }
.anim .ph:not(.in) img { transform: scale(1.18); }
.anim .ph img { transition: transform 1.6s var(--ease) var(--d, 0ms), filter 1.4s ease calc(var(--d, 0ms) + .5s); }
.anim .ph:not(.in) img { filter: grayscale(1) contrast(1.2); }

.tread { height: 40px; margin-top: clamp(3rem, 6vw, 5rem); background: url(../img/tread.svg?v=8e86c6ef59) repeat-x 0 0 / 48px 40px; opacity: .9; }

/* ---------- 04 Bewertungen ---------- */
.q-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.q { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; transition: height .35s var(--ease); }
.q::-webkit-scrollbar { display: none; }
.q-i { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; padding: 3.2rem 0 0; padding-inline-end: 2rem; }
.stars { display: flex; gap: .3rem; color: var(--red-d); margin-bottom: 1.4rem; }
.stars .icon { width: 1.4rem; height: 1.4rem; }
.q-i blockquote { font: 800 clamp(1.9rem, min(4.2vw, 7vh), 3.7rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: .005em; max-width: 30ch; }
.q-i.long blockquote { font-size: clamp(1.45rem, min(3vw, 5.4vh), 2.5rem); line-height: 1.1; max-width: 44ch; }
.q-who { margin-top: 1.6rem; color: var(--mut-p); }
.q-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; margin-top: 2rem; }
.q-btn { width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border: 2px solid var(--pink); background: transparent; color: var(--pink); cursor: pointer; transition: background-color .25s, color .25s; }
.q-btn:hover { background: var(--pink); color: var(--paper); }
.q-btn .icon { width: 1.4rem; height: 1.4rem; }
.q-btn.prev .icon { transform: rotate(180deg); }
.q-count { font: 500 .9rem/1 var(--mono); letter-spacing: .1em; min-width: 4.5rem; text-align: center; }
.q-ctl a { margin-inline-start: auto; font: 500 .8rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pink); text-underline-offset: 5px; }
.q-ctl a:hover { color: var(--red-d); }
.no-js-q .q-btn { display: none; }
/* Google-Gesamtnote. Beim Ändern der Note auch die Breite von .rate-fill anpassen:
   Breite = (volle Sterne * (24 + 4) + Rest * 24) / 136, bei 4,4: (4 * 28 + 0,4 * 24) / 136 = 89,4 % */
.rate { display: flex; align-items: center; gap: 1.1rem; }
.rate-n { font: 700 clamp(3.6rem, min(6vw, 10vh), 5.4rem)/.8 var(--display); }
.rate-stars { position: relative; width: max-content; color: var(--red-d); }
.rate-stars > span { display: flex; gap: 4px; }
.rate-stars .icon { width: 24px; height: 24px; }
.rate-bg { opacity: .22; }
.rate-fill { position: absolute; inset: 0 auto 0 0; width: 89.4%; overflow: hidden; }
.rate-t { margin-top: .55rem; display: grid; gap: .2rem; font: 500 .78rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.rate-t a { color: var(--pink); text-underline-offset: 4px; }
.rate-t a:hover { color: var(--red-d); }
.rate-t span { color: var(--mut-p); }
@media (min-width: 1021px) {
  .q { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3.2rem 2.4rem; overflow: visible; height: auto !important; }
  .q-i { grid-column: span 2; padding: 1.6rem 0 0; border-top: 2px solid var(--pink); }
  .q-i:nth-child(-n+2) { grid-column: span 3; }
  .q-i blockquote, .q-i.long blockquote { font-size: clamp(1.5rem, 1.9vw, 2.1rem); line-height: 1.05; max-width: none; }
  .q-i.long blockquote { font-size: clamp(1.25rem, 1.45vw, 1.6rem); line-height: 1.15; }
  .q-i:nth-child(n+3) blockquote { font-size: clamp(1.35rem, 1.6vw, 1.75rem); }
  .stars { margin-bottom: 1rem; }
  .q-who { margin-top: 1.2rem; }
  .q-btn, .q-count { display: none; }
  .q-ctl { margin-top: 3rem; }
}

/* ---------- 05 Kontakt ---------- */
.red-sec .lbl { color: #fff; }
.red-sec .h-xl { color: var(--ink); font-size: clamp(3.8rem, min(11vw, 19vh), 11.5rem); }
.red-sec .h-xl .w { color: #fff; }
.red-sec .lead { color: #ffe3e4; max-width: 32rem; }
.hours { margin-top: 1.6rem; }
.hours .mono { color: #ffe3e4; }
.hours dl { display: grid; grid-template-columns: max-content auto; gap: .2rem 1.4rem; margin: .6rem 0 0; font: 600 1.25rem/1.3 var(--body); }
.hours dd { margin: 0; white-space: nowrap; }
.hours dt:nth-of-type(2), .hours dd:nth-of-type(2) { opacity: .75; font-weight: 500; }
.now { display: inline-flex; align-items: center; gap: .55rem; margin-top: .6rem; padding: .45rem .9rem .45rem .75rem; background: var(--ink); color: #fff; font: 500 .95rem/1.2 var(--body); }
.now b { font: 700 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.now i { position: relative; width: .62rem; height: .62rem; border-radius: 50%; flex: none; background: #7fdc9f; }
.now.is-closed i { background: transparent; box-shadow: inset 0 0 0 2px var(--red-l); }
.now.is-closed b { color: var(--red-l); }
.now.is-soon i { background: #ffd166; }
.anim .now.is-open i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
.langs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.1rem; margin-top: 1.6rem; font: 600 1.25rem/1.3 var(--body); }
.langs .mono { width: 100%; color: #ffe3e4; }
.langs [lang="fa"] { font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
@media (min-width: 1021px) {
  .ct { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  .red-sec .ct .h-xl { font-size: clamp(3.8rem, min(8.4vw, 16vh), 9.5rem); }
  .ct .links { margin-top: 0; }
}
.links { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 2px solid rgba(255, 255, 255, .55); }
.links a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .55); text-decoration: none; isolation: isolate; transition: padding .5s var(--ease), color .3s; }
.links a::before { content: ""; position: absolute; z-index: -1; inset: 0 -1.2rem; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.links .k { display: block; margin-bottom: .35rem; font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.links .v { font: 800 clamp(1.6rem, 3.6vw, 2.8rem)/1 var(--display); text-transform: uppercase; word-break: break-word; }
.links .icon { width: clamp(1.6rem, 3vw, 2.4rem); height: auto; aspect-ratio: 1; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .links a:hover { padding-inline: 1.2rem; }
  .links a:hover::before { transform: none; }
  .links a:hover .icon { transform: translateX(.5rem); color: var(--red-l); }
}

.loc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: stretch; }
.loc h2 { font: 700 clamp(2.4rem, 4.6vw, 3.8rem)/.9 var(--display); text-transform: uppercase; margin-bottom: 1.6rem; }
.loc address { font-style: normal; font-size: 1.35rem; line-height: 1.5; margin-bottom: 1.6rem; }
.loc-h { margin: -.4rem 0 1.6rem; line-height: 1.6; }
.loc-h .mono { display: block; margin-bottom: .3rem; color: var(--red-l); }
.loc address strong { display: block; font: 800 1.9rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.link-u { font: 500 .8rem/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-underline-offset: 6px; color: var(--red-l); }
.map { position: relative; min-height: 380px; display: grid; place-items: center; padding: 2rem; text-align: center; background: var(--ink-2); border: 2px solid var(--line); overflow: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-c { max-width: 24rem; padding: 1.6rem; background: var(--ink); border: 2px solid var(--line); }
.map-c p { margin-bottom: 1.2rem; color: var(--mut); font-size: .95rem; }
.map-c p a { color: var(--fg); }
.map-c .link-u { display: block; margin-top: 1rem; color: var(--mut); }

/* ---------- Fuß ---------- */
.foot { position: relative; overflow: hidden; padding: 4rem 0 0; background: #08090a; color: var(--mut); font-size: .95rem; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 2rem 5rem; justify-content: space-between; }
.foot address { font-style: normal; }
.foot ul { display: grid; gap: .4rem; align-content: start; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-word { margin-top: 2.5rem; font: 800 min(17.6vw, 15rem)/.8 var(--display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px #2b2e33; text-align: center; transform: translateY(18%); user-select: none; }
.copy { margin-top: 2.2rem; font-size: .85rem; }

/* ---------- Schnellleiste (Handy) ---------- */
.quick { display: none; }

/* ---------- Rechtstexte ---------- */
.legal { background: var(--paper); color: var(--pink); padding: calc(var(--hh) + 4rem) 0 6rem; min-height: 70vh; }
.legal .wrap { max-width: 840px; }
.legal h1 { font: 700 clamp(3rem, 8vw, 5.6rem)/.86 var(--display); text-transform: uppercase; margin-bottom: 1rem; }
.legal .stand { margin-bottom: 3rem; color: var(--mut-p); }
.legal h2 { margin: 2.8rem 0 .7rem; font: 800 1.9rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.legal p, .legal li, .legal dd { color: #2a2a28; }
.legal p { margin-bottom: 1em; }
.legal ul { list-style: square; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--red-d); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 2rem; margin: 0 0 1em; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.hdr.on-paper { background: rgba(12, 13, 15, .96); }
.todo { background: #ffe58a; color: #3a2d00; padding: 1px 6px; outline: 1px dashed #9a7a00; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Animationen (nur html.anim) ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.anim [data-reveal].in { opacity: 1; transform: none; }
.anim [data-lines] .ln > span { transform: translateY(112%); transition: transform 1s var(--ease); }
.anim [data-lines] .ln:nth-child(2) > span { transition-delay: .09s; }
.anim [data-lines] .ln:nth-child(3) > span { transition-delay: .18s; }
.anim [data-lines].in .ln > span { transform: none; }
.anim .hero-swoosh { clip-path: inset(0 100% 0 0); transition: clip-path 1.9s cubic-bezier(.6, .1, .2, 1) .5s; }
.anim .hero.ready .hero-swoosh { clip-path: inset(0); }
.anim .hero-photo { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path 1.4s var(--ease) .1s; }
.anim .hero.ready .hero-photo { clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.anim .hero-kick, .anim .hero-lead, .anim .hero-cta, .anim .hero-scroll { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.anim .hero.ready .hero-kick { opacity: 1; transform: none; transition-delay: .15s; }
.anim .hero.ready .hero-lead { opacity: 1; transform: none; transition-delay: .85s; }
.anim .hero.ready .hero-cta { opacity: 1; transform: none; transition-delay: 1s; }
.anim .hero.ready .hero-scroll { opacity: 1; transform: none; transition-delay: 1.4s; }
.anim .hero-h1 .ln > span { transform: translateY(112%); transition: transform 1.1s var(--ease); }
.anim .hero.ready .hero-h1 .ln > span { transform: none; }
.anim .hero.ready .hero-h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.anim .tape-track { animation: tape 46s linear infinite; }
.anim .tape-box:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.anim .hero-scroll::after { animation: drop 2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 1120px) { .nav { gap: 1.2rem; } .hdr-cta { display: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .split, .pk, .shop-head, .loc { grid-template-columns: 1fr; }
  .sticky { position: static; margin-bottom: 1rem; }
  .wheel { width: min(100%, 400px); }
}

/* ---------- Handy-Menü ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .hdr-cta { display: none; }
  .js .nav { position: fixed; z-index: 55; inset: 0; flex-direction: column; justify-content: center; gap: .2rem; padding: calc(var(--hh) + 1rem) var(--pad) 3rem; background: var(--ink); transform: translateY(-101%); transition: transform .6s var(--ease); visibility: hidden; }
  .js .nav.open { transform: none; visibility: visible; }
  .js .nav a { padding: .5rem 0; font: 700 clamp(2.8rem, 13vw, 5.4rem)/1 var(--display); letter-spacing: 0; color: var(--fg); }
  .js .nav a::after { display: none; }
  .js .nav a i { font: 500 .85rem/1 var(--mono); vertical-align: top; margin-inline-end: .8rem; position: relative; top: .5em; }
  .js .nav { counter-reset: n; }
  html.menu-open { overflow: hidden; }
  .nav { gap: .9rem 1.4rem; flex-wrap: wrap; }
  .hdr-in { gap: 1rem; }
  .hero-photo { width: 100%; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .anim .hero-photo { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  .anim .hero.ready .hero-photo { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .hero::before { background: linear-gradient(0deg, var(--ink) 4%, rgba(12, 13, 15, .72) 55%, rgba(12, 13, 15, .45) 100%); }
  .hero-in { padding-top: calc(var(--hh) + 1.8rem); }
  .hero-swoosh { width: min(78vw, 46vh); }
  .hero-h1 { font-size: min(21.5vw, 24vh); }
  .hero-scroll { display: none; }
  .hero-kick { flex-direction: column; gap: .35em; }
  .hero-kick b { display: none; }
}

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .row { grid-template-columns: 2.6rem minmax(0, 1fr) 2rem; gap: .6rem; padding: 1.4rem 0; }
  .tick { width: 1.8rem; height: 1.8rem; }
  .js .row { padding: 1.05rem 0; cursor: pointer; }
  .js .row p { display: none; }
  .js .row.open p { display: block; }
  .js .row .tick { display: none; }
  .js .row::after { content: "+"; grid-column: 3; grid-row: 1; justify-self: center; align-self: start; font: 400 1.9rem/1 var(--mono); color: var(--red-d); transition: transform .35s var(--ease); }
  .js .row.open::after { transform: rotate(45deg); }
  .row-b { all: unset; display: block; cursor: pointer; }
  .row-b::after { content: ""; position: absolute; inset: 0; }
  .row-b:focus-visible { outline: 3px solid var(--red-d); outline-offset: 4px; }
  .pk-form { grid-template-columns: 1fr; }
  .collage { grid-template-columns: repeat(2, 1fr); }
  .ph-1, .ph-2, .ph-3, .ph-4, .ph-5, .ph-6, .ph-7, .ph-8 { grid-area: auto; }
  .ph-1, .ph-8 { grid-column: 1 / span 2; }
  .ph-1 .fr, .ph-8 .fr { aspect-ratio: 3 / 2; }
  .ph-2 .fr, .ph-3 .fr, .ph-4 .fr, .ph-5 .fr, .ph-6 .fr, .ph-7 .fr { aspect-ratio: 4 / 5; }
  .q-i { padding: 1.4rem 0 0; }
  .q-head { margin-bottom: 1rem; }
  .q-ctl a { margin-inline-start: 0; width: 100%; }
  .foot-word { -webkit-text-stroke-width: 1.5px; }
  .quick { position: fixed; z-index: 65; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .quick a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem .5rem; font: 600 .95rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
  .quick a:first-child { background: #1fa855; color: #06140b; }
  .quick a:last-child { background: var(--red); color: #fff; }
  .legal dl { grid-template-columns: 1fr; gap: .1rem; }
  .legal dd { margin-bottom: .8rem; }
}

@media (max-width: 900px) and (max-height: 700px) {
  .hero { min-height: 100svh; }
  .hero-in { padding-top: calc(var(--hh) + .8rem); padding-bottom: 6rem; }
  .hero-swoosh { width: min(66vw, 34vh); }
  .hero-h1 { font-size: min(19vw, 19vh); }
  .hero-kick { margin-top: .8rem; }
  .hero-lead { margin: .6rem 0 1rem; font-size: 1rem; }
}

@media (max-width: 900px) and (max-height: 600px) { .hero-kick { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-track, .w-perf, .hero-scroll::after { animation: none !important; }
}

/* ---------- Rechts nach links (Farsi, html dir="rtl") ----------
   Grundsätzlich spiegelt der Browser Flex/Grid selbst. Hier nur, was fest „links/rechts“ ist. */
html[dir="rtl"] .brand { direction: ltr; }                  /* Logo-Schriftzug bleibt lateinisch */
html[dir="rtl"] .rate-stars { direction: ltr; }             /* Teil-Füllung der Sterne liegt über den Sternen */
html[dir="rtl"] .hero-scroll { right: auto; left: var(--pad); }
html[dir="rtl"] .rail { left: auto; right: 26px; }
html[dir="rtl"] .rail-car { left: auto; right: -5px; }
html[dir="rtl"] .rail-n { left: auto; right: 16px; }
html[dir="rtl"] .nav a::after { transform-origin: right; }
html[dir="rtl"] .links a::before { transform-origin: right; }
html[dir="rtl"] .btn::before { transform: translateX(101%); }
html[dir="rtl"] .btn:hover::before { transform: none; }
html[dir="rtl"] .q-btn.prev .icon { transform: none; }
html[dir="rtl"] .q-btn.next .icon { transform: rotate(180deg); }
html[dir="rtl"] .links .icon { transform: scaleX(-1); }
@media (hover: hover) { html[dir="rtl"] .links a:hover .icon { transform: scaleX(-1) translateX(.5rem); } }
html[dir="rtl"] .pk-form select { background-position: 14px 50%, 20px 50%; }
html[dir="rtl"] blockquote[lang="de"] { direction: ltr; text-align: right; }
html[dir="rtl"].anim .tape-track { animation-name: tape-rtl; }
@keyframes tape-rtl { to { transform: translateX(50%); } }
@media (min-width: 901px) {
  html[dir="rtl"] .hero-photo { right: auto; left: 0; clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%); }
  html[dir="rtl"].anim .hero-photo { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  html[dir="rtl"].anim .hero.ready .hero-photo { clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%); }
  html[dir="rtl"] .hero::before { background: linear-gradient(180deg, rgba(12, 13, 15, .9) 0, rgba(12, 13, 15, 0) 200px), linear-gradient(270deg, var(--ink) 0%, rgba(12, 13, 15, .82) 34%, rgba(12, 13, 15, 0) 70%), linear-gradient(0deg, var(--ink) 0%, rgba(12, 13, 15, 0) 30%); }
}

/* ---------- Farsi: Schrift Vazirmatn, keine Großbuchstaben-Abstände, mehr Zeilenhöhe ----------
   Arabische Schrift verträgt kein letter-spacing (Buchstaben sind verbunden) und braucht Platz nach oben/unten.
   Big Shoulders bleibt vorne in der Liste: lateinische Teile (Logo, Zahlen, §57a) sehen aus wie auf Deutsch. */
html[lang="fa"] {
  --display: "Big Shoulders Display", "Vazirmatn", Tahoma, sans-serif;
  --body: "Barlow", "Vazirmatn", Tahoma, system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Vazirmatn", Tahoma, ui-monospace, monospace;
}
html[lang="fa"] :not(.brand-t, .brand-t *, .hero-h1, .hero-h1 *, .foot-word, .rate-n, .w-num, .w-c2) { letter-spacing: 0; }
html[lang="fa"] .h-xl { font-size: clamp(2.6rem, min(6vw, 10.5vh), 6.4rem); line-height: 1.22; font-weight: 800; }
html[lang="fa"] .h-md, html[lang="fa"] #pickerl .h-xl { font-size: clamp(2.4rem, min(5vw, 9vh), 5rem); line-height: 1.25; }
html[lang="fa"] .red-sec .h-xl, html[lang="fa"] .red-sec .ct .h-xl { font-size: clamp(2.8rem, min(7vw, 12vh), 7rem); }
html[lang="fa"] .ln { padding: .06em 0 .22em; margin: -.06em 0 -.22em; }
html[lang="fa"] .ln.uml { margin-top: 0; }
html[lang="fa"] .tape-set span { font-size: clamp(1.1rem, 2.2vw, 1.7rem); padding: .75em 0; font-weight: 700; }
html[lang="fa"] .row h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; }
html[lang="fa"] .pk-msg { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; }
html[lang="fa"] .links .v { font-size: clamp(1.25rem, 2.6vw, 2rem); line-height: 1.35; }
html[lang="fa"] .loc h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.3; }
html[lang="fa"] .now b { font-size: .95rem; line-height: 1.3; }
html[lang="fa"] .checks li { font-size: 1.05rem; }
html[lang="fa"] .brand-s { letter-spacing: 0; font-size: .62rem; }
html[lang="fa"] .mono { font-size: .85rem; }
html[lang="fa"] body { line-height: 1.8; }
@media (max-width: 900px) { html[lang="fa"] .js .nav a { font-size: clamp(1.9rem, 8vw, 3.2rem); line-height: 1.5; padding: .2rem 0; } }
