/* Nils Herber Portfolio - v4 (Hero neu, 10.10.2026)
   Systemschrift (SF Pro auf Apple-Geräten), keine externen Fonts/Requests.
   Radius-Regel: Buttons, Tabs = Pille; Karten = 24px; Handy-Rahmen im Hero = 34px. */

:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --surface-2: #1a1a1e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f4;
  --muted: #9b9ba3;
  --accent: #2f8bff;
  --accent-hover: #4a9bff;
  --radius: 24px;
  --radius-phone: 34px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --slow: 1.2s;
  --max: 1440px;
  --gutter: clamp(16px, 4vw, 64px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
video { display: block; width: 100%; height: 100%; object-fit: cover; }
ol { list-style: none; }
section[id] { scroll-margin-top: 84px; }
.wrap { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Filmkorn: feste Ebene, keine Klicks, kaum sichtbar */
.grain {
  position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Logo (NH-Glyphe, Farbe per CSS) ---------- */
.logo {
  display: block; width: 34px; height: 34px; color: #d9d9de;
  background: currentColor;
  -webkit-mask: url("logo.svg") center / contain no-repeat; mask: url("logo.svg") center / contain no-repeat;
  transition: color 0.6s var(--ease);
}
.logo:hover { color: #fff; }
.logo-sm { width: 28px; height: 28px; color: var(--muted); }

/* ---------- Glas (Web-Annäherung) ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)), rgba(20,20,24,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 20px 50px rgba(0,0,0,0.35);
}
@media (prefers-reduced-transparency: reduce) { .glass { background: #1b1b1f; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Navigation: schlichte Leiste, Inhalt auf 1200 px, am Handy Menü ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30; height: 68px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2));
  background: linear-gradient(180deg, rgba(11,11,13,0.85), rgba(11,11,13,0));
}
.nav-links { display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color 0.5s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.nav > :last-child { grid-column: 3; }
/* Sprache: zeigt nur die jeweils andere Sprache, klein */
.lang { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.5s var(--ease); }
.lang:hover { color: var(--text); }
html[lang="de"] .lang [data-lang="de"], html[lang="en"] .lang [data-lang="en"] { display: none; }
.menu-btn { display: none; font-size: 15px; font-weight: 500; }

/* Menü am Handy: ganze Fläche, große Links, Sprache unten */
.sheet {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 104px var(--gutter) 40px; background: rgba(11,11,13,0.97);
  opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.sheet.open { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.sheet a { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.3; }
.sheet .sheet-lang { margin-top: auto; font-size: 15px; }
.sheet-close { position: absolute; top: 22px; right: var(--gutter); font-size: 15px; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: background-color 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.8s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 10px 40px rgba(47,139,255,0.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.18); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); }

/* ---------- Abschnittsköpfe ---------- */
.section-head h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; }
.section-head p { margin-top: 16px; max-width: 52ch; color: var(--muted); font-size: 19px; }
.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Spotlight-Karten: Lichtfleck folgt der Maus ---------- */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(47,139,255,0.16), transparent 60%);
  transition: opacity 0.8s var(--ease);
}
.spot:hover::before { opacity: 1; }

/* ================= HERO ================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100dvh; padding: 112px var(--gutter) 32px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-copy { text-align: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 5.4vw, 84px); line-height: 1.04; letter-spacing: -0.05em; font-weight: 600; text-wrap: balance; }
.hero-sub { margin: 22px auto 0; max-width: min(780px, 100%); font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); text-wrap: pretty; }
.hero-ctas { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* weicher Schein von oben */
.glow {
  position: absolute; inset: 0 0 auto; height: 75%; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 62% at 50% 0%, rgba(150,180,255,0.16), transparent 72%);
}

/* Kennzahlen groß unter den Handys, noch im ersten Bild */
.stats { list-style: none; position: relative; z-index: 6; width: min(1100px, 100%); margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stats li { display: flex; flex-direction: column; gap: 2px; }
.stats strong { font-size: clamp(32px, 3.4vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stats span { color: var(--muted); font-size: 15px; }

/* Fünfer-Fächer, endlos (main.js setzt je Karte --tx, --r, --s, --o). Höhe aus der Restfläche. */
.reels {
  position: relative; flex: 1 1 auto; width: min(1320px, 100%); min-height: 280px; max-height: 540px; margin-top: 36px;
  --step-ratio: 0.62; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.reels.is-dragging { cursor: grabbing; }
.reels.is-dragging .reel { pointer-events: none; }
.reel-data { display: none; }
.reel {
  position: absolute; bottom: 0; left: 50%; height: 100%; aspect-ratio: 9 / 16; padding: 0;
  border-radius: var(--radius-phone); overflow: hidden; background: var(--surface);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  transform-origin: 50% 100%;
  transform: translateX(calc(-50% + var(--tx, 0px))) rotate(var(--r, 0deg)) scale(var(--s, 1));
  opacity: var(--o, 1); will-change: transform, opacity;
}
.reel video { pointer-events: none; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .reel:hover video { transform: scale(1.035); } }
.reel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ================= LEISTUNGEN: gestapelte Karten ================= */
.services { padding-top: 120px; padding-bottom: 80px; }
.stack { margin-top: 64px; display: flex; flex-direction: column; gap: 32px; }
.stack-card {
  position: sticky; top: calc(104px + var(--n) * 14px);
  min-height: min(600px, 74dvh);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
  padding: 56px clamp(28px, 5vw, 80px); border-radius: var(--radius);
  background: radial-gradient(120% 140% at 0% 0%, #1d1d22 0%, var(--surface) 55%);
  border: 1px solid var(--line);
  box-shadow: 0 -20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  transform-origin: center top;
}
.stack-copy h3 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
.stack-copy p { margin-top: 20px; max-width: 40ch; color: var(--muted); font-size: 19px; }
.stack-media { justify-self: center; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--surface-2); }
.media-v { aspect-ratio: 9 / 16; height: min(500px, 62dvh); }
.media-h { aspect-ratio: 16 / 9; width: 100%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stack-card:not(:last-child) { animation: recede linear both; animation-timeline: view(); animation-range: exit-crossing 0% exit-crossing 100%; }
    @keyframes recede { to { scale: 0.92; filter: brightness(0.55); } }
  }
}

/* ================= ARBEITEN ================= */
.work { padding-top: 120px; padding-bottom: 140px; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.tabs { position: relative; display: flex; padding: 5px; border-radius: var(--radius-pill); }
.tabs button { position: relative; z-index: 1; padding: 10px 20px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; color: var(--muted); transition: color 0.6s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tab-pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: var(--radius-pill); background: rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); transition: transform 0.8s var(--ease), width 0.8s var(--ease); }

.panel { display: grid; gap: 24px; }
.panel[hidden] { display: none; }
/* Drei Hochkant-Karten: so breit, dass eine ganze Karte ins Fenster passt; Ränder bündig mit Überschrift und Tabs */
.panel-short { grid-template-columns: repeat(3, minmax(0, max(300px, calc((100dvh - 240px) * 9 / 16)))); justify-content: space-between; }
.panel-wide { grid-template-columns: repeat(2, 1fr); }
.panel.is-entering .card { opacity: 0; transform: translateY(18px); }
.panel .card { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.panel .card:nth-child(2) { transition-delay: 0.06s; }
.panel .card:nth-child(3) { transition-delay: 0.12s; }
.panel .card:nth-child(4) { transition-delay: 0.18s; }

.card { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.card-media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transform: translateZ(0);
  transition: transform 1.2s var(--ease), border-color 0.8s var(--ease), box-shadow 1.2s var(--ease);
}
.card-v .card-media { aspect-ratio: 9 / 16; }
.card-h .card-media { aspect-ratio: 16 / 9; }
.card-media video { transition: transform 1.6s var(--ease), filter 1.2s var(--ease); filter: saturate(0.92) brightness(0.9); }
.card-cap { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.35; }
.card-cap strong { font-weight: 500; }
.card-cap span { color: var(--muted); }
@media (hover: hover) {
  .card:hover .card-media { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
  .card:hover .card-media video { transform: scale(1.03); filter: none; }
}
.card:focus-visible { outline: none; }
.card:focus-visible .card-media { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ================= ABLAUF: Karten ================= */
.process { padding-top: 40px; padding-bottom: 140px; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  min-height: 300px; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color 0.8s var(--ease), transform 1s var(--ease);
}
.step:hover { border-color: rgba(255,255,255,0.16); }
.step-num {
  font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(180deg, rgba(47,139,255,0.9), rgba(47,139,255,0.15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-top: 56px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); }

/* ================= ÜBER MICH ================= */
.about { padding-top: 40px; padding-bottom: 140px; display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.about-copy h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; }
.about-copy p { margin-top: 20px; max-width: 48ch; color: var(--muted); font-size: 19px; }

/* ================= FAQ ================= */
.faq { max-width: 980px; padding-top: 40px; padding-bottom: 140px; }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.6s var(--ease), background-color 0.6s var(--ease); interpolate-size: allow-keywords; }
.faq details[open] { border-color: rgba(255,255,255,0.14); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 0.7s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 26px 24px; color: var(--muted); max-width: 60ch; }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.7s var(--ease), content-visibility 0.7s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* ================= KONTAKT: schlichtes Band mit langsam wanderndem Lichtrand ================= */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.contact { padding-bottom: 120px; }
.contact-band {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 40px clamp(24px, 4vw, 56px); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.contact-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle), rgba(255,255,255,0.08) 0deg, rgba(47,139,255,0.9) 60deg, rgba(255,255,255,0.08) 140deg, rgba(255,255,255,0.08) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.contact-text h2 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.contact-text p { margin-top: 8px; color: var(--muted); font-size: 17px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .contact-band::before { animation: orbit 14s linear infinite; }
  @keyframes orbit { to { --angle: 360deg; } }
}

/* ================= FOOTER ================= */
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 32px; padding-bottom: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a:hover { color: var(--text); }

/* ================= RECHTLICHES (Impressum, Datenschutz) ================= */
.legal { max-width: calc(760px + 2 * var(--gutter)); padding-top: 148px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 40px; }
.legal h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p { color: #c4c4cb; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(47,139,255,0.4); transition: text-decoration-color 0.5s var(--ease); }
.legal a:hover { text-decoration-color: var(--accent); }
.legal .legal-note { color: var(--muted); font-size: 15px; margin-top: 40px; }
.legal h1 + .legal-note { margin: -24px 0 0; }
.footer-inner nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 560px) { .legal { padding-top: 120px; } }

/* ================= GROSSES VIDEO (Lightbox) ================= */
.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden;
}
.lightbox::backdrop { background: rgba(8,8,10,0.6); backdrop-filter: blur(28px) saturate(120%); -webkit-backdrop-filter: blur(28px) saturate(120%); }
.lightbox-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 72px 16px 92px; }
.lightbox video { width: auto; height: auto; max-width: min(92vw, 1100px); max-height: calc(100dvh - 176px); border-radius: 18px; background: #000; object-fit: contain; box-shadow: 0 40px 120px rgba(0,0,0,0.6); }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-size: 15px; color: var(--muted); }
.lightbox-cap strong { color: var(--text); font-weight: 500; }
.lightbox-close { position: absolute; top: 18px; right: var(--gutter); height: 40px; padding: 0 18px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.1); font-size: 15px; transition: background-color 0.5s var(--ease); }
.lightbox-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.1); font-size: 20px; text-align: center; transition: background-color 0.5s var(--ease); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: var(--gutter); }
.lightbox-next { right: var(--gutter); }
@media (max-width: 700px) { .lightbox-nav { display: none; } }

/* ================= BEWEGUNG (langsam, kleine Amplitude) ================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: rise var(--slow) var(--ease) forwards; animation-delay: calc(0.2s + var(--i, 0) * 0.14s); }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .reels { opacity: 0; transform: translateY(110px); animation: reels-in 2s var(--ease) 0.5s forwards; }
  @keyframes reels-in { to { opacity: 1; transform: none; } }
  .lightbox[open] { animation: lb-in 0.7s var(--ease); }
  .lightbox[open]::backdrop { animation: lb-fade 0.7s var(--ease); }
  @keyframes lb-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
  @keyframes lb-fade { from { opacity: 0; } }

  .reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: calc(var(--d, 0) * 0.09s); }
  .reveal-on-scroll.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-media, .card-media video, .panel .card, .reel video { transition: none; }
}


/* Niedrige Laptop-Bildschirme: alles bleibt im ersten Bild */
@media (min-width: 901px) and (max-height: 880px) {
  .hero { padding-top: 92px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(40px, 4.6vw, 70px); }
  .hero-sub { margin-top: 14px; }
  .hero-ctas { margin-top: 22px; }
  .reels { margin-top: 24px; min-height: 220px; }
  .stats { margin-top: 18px; padding-top: 14px; }
  .stats strong { font-size: clamp(28px, 2.8vw, 44px); }
}

/* ================= MOBIL ================= */
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; height: 60px; }
  .nav > :last-child { grid-column: 2; }
  .nav-links, .has-menu .nav-right .lang { display: none; }
  .menu-btn { display: block; }
  .nav-right { gap: 18px; }
  .hero { padding-top: 104px; }
  .stats strong { font-size: 30px; }
  .stats span { font-size: 13px; }
  .reels { flex: none; height: 400px; margin-top: 44px; }
  .stack-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; top: calc(88px + var(--n) * 10px); min-height: 0; }
  .media-v { height: 340px; }
  .work { padding-top: 80px; }
  .panel-short { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .panel-short::-webkit-scrollbar { display: none; }
  .panel-short .card { scroll-snap-align: start; }
  .panel-wide { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { min-height: 240px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 420px; }
  .contact-band { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .reels { height: 340px; }
  .hero-ctas { gap: 8px; }
  .hero-ctas .btn { height: 46px; padding: 0 16px; font-size: 15px; }
  .steps { grid-template-columns: 1fr; }
  .tabs button { padding: 9px 14px; }
}
