/* Kreativbeads Homepage 2.0 – gemeinsame Gestaltung aller Seiten (SP007A)
   Basis: freigegebenes Design B2 (Tag design-freeze-b2, unverändert übernommen aus public/variante-b2/style.css).
   Ergänzt nur: Navigation mit Unterseiten ("Navigation SP007A" unten) und Menü-Aufbau auf Smartphone.
   Seitenspezifische Effekte liegen in eigenen Dateien (zum Beispiel textilien.css). */

@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage-grotesque-wdth-var.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

:root {
  --night: #0F1116;
  --ink: #171A21;          /* Anthrazit, Markenanker */
  --ink-2: #1F232C;
  --ink-3: #2A2F3A;
  --paper: #F5F0E7;        /* helles, warmes Editorial */
  --sand: #EAE1D2;
  --fog: #E8E5DF;
  --orange: #FF6A1F;       /* Markenanker, Akzent und große Farbfläche */
  --orange-hi: #FF8247;
  --muted: #A9ADB6;        /* Text auf dunkel (7.9:1 auf #0F1116) */
  --muted-ink: #55514A;    /* Text auf hellem Grund (7.0:1 auf #F5F0E7) */
  --pad: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --cut: 4.2vw;            /* durchgehender Schrägschnitt zwischen allen Bereichen */
  --hdr: 74px;
  --f: "Bricolage Grotesque", "Arial Narrow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--f); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 12px 16px; border-radius: 6px; font-weight: 700; transition: top .15s; }
.skip:focus { top: 12px; }

/* ---------- Prototyp-Leiste (gehört nicht zum Design) ---------- */
.proto { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding: 8px var(--pad); background: #000; color: #C9CCD3; font-size: .8125rem; line-height: 1.3; }
.proto nav { display: flex; gap: 6px; }
.proto a { text-decoration: none; padding: 4px 10px; border-radius: 99px; color: #C9CCD3; }
.proto a:hover { background: #262A33; }
.proto a[aria-current] { background: var(--orange); color: var(--ink); font-weight: 700; }

/* ---------- Typografie ---------- */
.mega, .mega-s, .mega-xl { font-weight: 800; font-stretch: 75%; letter-spacing: -.025em; line-height: .86; text-wrap: balance; }
.mega { font-size: clamp(3.5rem, 10.8vw, 11.6rem); }
.mega-s { font-size: clamp(3.2rem, 8.4vw, 8rem); }
.mega-xl { font-size: clamp(4.2rem, 16.5vw, 17rem); }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.55; color: #D4D6DC; max-width: 42ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border-radius: 6px; font: 700 1.0625rem/1 var(--f); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-hi); }
.btn-line { border-color: #4B505C; color: var(--paper); }
.btn-line:hover { border-color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--night); }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: var(--paper); }
.textlink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: currentColor; padding: 10px 0; width: max-content; }

/* ---------- Kopfbereich ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 17, 22, .86); backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bar { display: flex; align-items: center; gap: 28px; min-height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-stretch: 80%; font-size: 1.6rem; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 38px; height: auto; filter: brightness(0) invert(1); }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 0; border-bottom: 3px solid transparent; transition: border-color .2s; }
.nav a:hover { border-bottom-color: var(--orange); }
.bar-cta { min-height: 46px; padding: 0 22px; }
.menu-btn { display: none; }

/* ---------- Navigation SP007A: Unterseiten, noch nicht fertige Ziele ---------- */
.nav { align-items: center; }
.nav-item { position: relative; }
.nav-item.has-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.nav-item.has-sub:hover > a::after, .nav-item.has-sub:focus-within > a::after { transform: translateY(0) rotate(225deg); }
.subnav { position: absolute; left: -20px; top: calc(100% + 14px); min-width: 340px; padding: 10px; background: var(--ink); border: 1px solid #2B303A; border-top: 4px solid var(--orange); border-radius: 0 0 14px 14px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s .25s; }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 18px; }
.nav-item:hover .subnav, .nav-item:focus-within .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.subnav li + li { border-top: 1px solid #2B303A; }
.subnav a { display: block; padding: 13px 14px; border: 0; border-radius: 8px; font-weight: 700; }
.subnav a:hover { background: var(--ink-3); }
.soon { color: var(--muted); font-weight: 600; cursor: default; }
.subnav .soon { display: block; padding: 13px 14px; }
.soon small { display: inline-block; margin-left: 8px; padding: 1px 9px; border: 1.5px dashed currentColor; border-radius: 99px; font-size: .6875rem; font-weight: 700; line-height: 1.5; vertical-align: 2px; white-space: nowrap; }
.menu-sub { display: none; }

/* ---------- Aktive Seite im Menue (SP007G-FIX): dezent, ohne Geometrieaenderung ---------- */
.nav > a[aria-current="page"],
.nav-item.has-sub:has(.subnav [aria-current="page"]) > a { border-bottom-color: var(--orange); }
.subnav a[aria-current="page"] { color: var(--orange); }

/* ---------- 1 Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--night); padding-block: clamp(28px, 4vw, 56px) clamp(56px, 6vw, 96px); }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); grid-template-rows: auto auto auto auto auto; }
.hero-kicker { grid-column: 1 / -1; grid-row: 1; color: var(--paper); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.2; margin-bottom: clamp(18px, 3vw, 40px); max-width: 30ch; }
.mega { grid-column: 1 / -1; grid-row: 2 / span 2; position: relative; z-index: 3; align-self: start; pointer-events: none; }
.ln { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.05em; }
.ln > span { display: block; }
.ln1 > span { color: transparent; -webkit-text-stroke: clamp(1.5px, .2vw, 3px) var(--paper); }
.ln2 > span { color: var(--paper); }
.ln3 > span { color: var(--orange); }
@supports not (-webkit-text-stroke: 1px #000) { .ln1 > span { color: var(--paper); } }

.stage { grid-column: 6 / -1; grid-row: 2 / span 3; z-index: 1; margin-top: clamp(40px, 7vw, 112px); position: relative; align-self: start; aspect-ratio: 1600 / 995; background: var(--ink); overflow: hidden; border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); touch-action: pan-y; }
.stage-media, .layer { position: absolute; inset: 0; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.layer.base img { filter: grayscale(1) contrast(1) brightness(2.2); } /* SP008C: aufgehellte Ausgangsebene (vorher contrast(1.2) brightness(.68)) */
.blueprint { position: absolute; inset: 0; background:
  linear-gradient(rgba(255, 106, 31, .28) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255, 106, 31, .28) 1px, transparent 1px) 0 0 / 44px 44px; mix-blend-mode: screen; }
.layer.top { clip-path: inset(0 0 0 calc(var(--pos) * 1%)); }
.ph-note { position: absolute; top: 14px; z-index: 2; max-width: 42%; padding: 5px 12px; border-radius: 14px; font-size: .8125rem; font-weight: 600; line-height: 1.3; pointer-events: none; }
.ph-draft { left: 14px; background: rgba(15, 17, 22, .86); color: var(--paper); border: 1.5px dashed var(--orange); }
.ph-final { right: 14px; background: var(--orange); color: var(--ink); }
.handle { position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 0; z-index: 3; pointer-events: none; }
.handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--orange); }
.knob { position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--orange); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.knob::before, .knob::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 0 3px 3px; margin-top: -4.5px; }
.knob::before { left: 14px; transform: rotate(45deg); }
.knob::after { right: 14px; transform: rotate(-135deg); }
.end { position: absolute; bottom: 14px; z-index: 3; font-weight: 700; font-size: .9375rem; background: rgba(15, 17, 22, .78); color: var(--paper); padding: 5px 12px; border-radius: 99px; pointer-events: none; }
.end-l { left: 14px; }
.end-r { right: 14px; background: var(--orange); color: var(--ink); }
.range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.stage:has(.range:focus-visible) .knob { box-shadow: 0 0 0 4px var(--night), 0 0 0 8px var(--paper); }
.stage-note { margin-top: 12px; font-size: .8125rem; color: var(--muted); max-width: 70ch; }
.hero-inner .stage-note { grid-column: 6 / -1; grid-row: 5; }
.hero-bottom { grid-column: 1 / span 5; grid-row: 4 / span 2; z-index: 3; align-self: end; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: clamp(24px, 3vw, 40px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--orange); width: max-content; max-width: 100%; }

/* Einmaliger, gezielter Moment: die Zeilen fahren hoch */
.js-motion .ln > span { transform: translateY(108%); }
.js-motion.is-ready .ln > span { animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.js-motion.is-ready .ln2 > span { animation-delay: .1s; }
.js-motion.is-ready .ln3 > span { animation-delay: .2s; }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- Durchgehender Schrägschnitt (alle Übergänge, dieselbe Neigung) ---------- */
.sec { position: relative; z-index: 0; margin-top: calc(var(--cut) * -1); }
.sec::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.partners::before, .services::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--cut) + 5px); background: var(--orange); clip-path: polygon(0 var(--cut), 100% 0, 100% 5px, 0 calc(var(--cut) + 5px)); pointer-events: none; }

/* ---------- 2 Wegweiser ---------- */
.scope { background: var(--night); padding-block: clamp(48px, 6vw, 96px) calc(var(--cut) + clamp(72px, 8vw, 128px)); }
.scope-inner { display: grid; gap: clamp(32px, 4vw, 56px); }
.scope .mega-s { max-width: 14ch; }

.scale { position: relative; max-width: 1120px; padding-bottom: 44px; }
.scale-track { position: relative; height: 56px; }
.scale-track::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 4px; background: var(--ink-3); border-radius: 4px; }
.scale-fill { position: absolute; left: 0; top: 26px; height: 4px; width: calc(var(--i) * 50%); background: var(--orange); border-radius: 4px; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.scale-knob { position: absolute; top: 4px; left: calc(var(--i) * 50%); width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; background: var(--orange); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); transition: left .45s cubic-bezier(.2, .8, .2, 1); }
.scale-knob::before, .scale-knob::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 0 3px 3px; margin-top: -4px; }
.scale-knob::before { left: 12px; transform: rotate(45deg); }
.scale-knob::after { right: 12px; transform: rotate(-135deg); }
.scale-tick { position: absolute; top: 20px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--night); border: 3px solid var(--ink-3); }
.scale-tick.t0 { left: 0; } .scale-tick.t1 { left: 50%; } .scale-tick.t2 { left: 100%; }
.scale-range { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 56px; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
.scale-range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 48px; }
.scale-range::-moz-range-thumb { width: 2px; height: 48px; border: 0; }
.scale:has(.scale-range:focus-visible) .scale-knob { box-shadow: 0 0 0 4px var(--night), 0 0 0 8px var(--paper); }
.scale-labels { position: relative; height: 32px; margin-top: 10px; }
.scale-labels li { position: absolute; top: 0; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .25s; }
.scale-labels .l0 { left: 0; } .scale-labels .l1 { left: 50%; transform: translateX(-50%); } .scale-labels .l2 { right: 0; }
.scale[style*="--i: 0"] .l0, .scale[style*="--i: 1"] .l1, .scale[style*="--i: 2"] .l2 { color: var(--orange); }

.scope-out { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 28px; align-items: center; }
.shirts { grid-column: 1 / span 5; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 1vw, 14px); }
.shirts svg { width: 100%; aspect-ratio: 1; fill: var(--ink-3); transition: fill .4s, transform .5s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--k, 0) * 28ms); transform: scale(.82); }
.shirts svg.on { fill: var(--orange); transform: scale(1); }
.scope-copy { grid-column: 7 / span 6; display: grid; gap: 18px; justify-items: start; }
.sc[hidden] { display: none; }
.sc-title { font-weight: 800; font-stretch: 75%; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.02em; color: var(--orange); }
.sc-text { margin-top: 14px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: #D4D6DC; max-width: 46ch; }
.js-motion .sc.in { animation: swap .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 3 Arbeiten (hell, warm) ---------- */
.work { --bg: var(--paper); color: var(--ink); padding-block: calc(var(--cut) + clamp(88px, 10vw, 150px)) calc(var(--cut) + clamp(56px, 7vw, 100px)); overflow-x: clip; }
.tape { position: absolute; left: -4%; width: 108%; top: calc(var(--cut) / 2 - 24px); z-index: 4; transform: rotate(-2.4deg); background: var(--orange); color: var(--ink); overflow: hidden; padding-block: 10px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.tape-shift { transform: translateX(var(--tx, 0px)); }
.tape-track { display: flex; gap: clamp(18px, 2vw, 30px); width: max-content; white-space: nowrap; font-weight: 800; font-stretch: 75%; font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.1; animation: tape 54s linear infinite; }
.tape-track i { font-style: normal; opacity: .55; }
@keyframes tape { to { transform: translateX(-33.333%); } }

.work-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 20px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.work-head .mega-s { grid-column: 1 / span 5; }
.work-head p { grid-column: 6 / span 5; color: var(--muted-ink); max-width: 52ch; }
.rail-ctrl { grid-column: 11 / span 2; display: flex; gap: 10px; justify-content: flex-end; }
.rc { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.rc:hover { background: var(--ink); color: var(--paper); }
.rc svg { width: 24px; height: 24px; }

.rail { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); padding: 8px var(--pad) 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 auto; width: clamp(270px, 32vw, 480px); scroll-snap-align: start; }
.card.c1 { width: clamp(280px, 34vw, 520px); }
.card.c2, .card.c4 { width: clamp(300px, 46vw, 700px); }
.card.c6 { width: clamp(250px, 24vw, 380px); }
.card.c7 { width: clamp(260px, 26vw, 400px); }
.card.c8 { width: clamp(290px, 36vw, 540px); }
.card.c2 { margin-top: clamp(24px, 5vw, 80px); }
.card.c4 { margin-top: clamp(12px, 2.4vw, 36px); }
.card.c6 { margin-top: clamp(32px, 6vw, 100px); }
.card.c8 { margin-top: clamp(16px, 3vw, 48px); }
.card-img { overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; border-radius: 4px; }
.c2 .card-img, .c4 .card-img { aspect-ratio: 3 / 2; }
.c3 .card-img { aspect-ratio: 4 / 3; }
.c5 .card-img { aspect-ratio: 1; }
.c8 .card-img { aspect-ratio: 3 / 2; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--px, 0px), 0, 0) scale(1.14); will-change: transform; }
.card h3 { margin-top: 14px; font-weight: 800; font-stretch: 75%; font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.02em; line-height: .9; }
.card p { margin-top: 6px; color: var(--muted-ink); }
.badge { display: inline-block; margin-left: 10px; padding: 2px 10px; border: 1.5px solid var(--ink); border-radius: 99px; font-size: .75rem; font-weight: 700; line-height: 1.5; vertical-align: 2px; color: var(--ink); }
.ph-box { display: grid; place-items: center; text-align: center; padding: 20px; border: 2px dashed var(--muted-ink); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(23, 26, 33, .05) 12px 24px); color: var(--muted-ink); font-weight: 700; font-size: 1.1rem; }
.progress { height: 3px; background: rgba(23, 26, 33, .16); margin: 18px var(--pad) 0; }
.progress span { display: block; height: 100%; width: 20%; background: var(--orange); transition: width .1s linear; }

/* ---------- 4 Partner (hell, sandfarben) ---------- */
.partners { --bg: var(--sand); color: var(--ink); padding-block: calc(var(--cut) + clamp(72px, 8vw, 120px)) calc(var(--cut) + clamp(48px, 6vw, 88px)); }
.partners-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 20px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.partners-head .mega-s { grid-column: 1 / span 6; }
.partners-head .pcopy { grid-column: 8 / span 5; }
.partners-head .pcopy p { color: var(--muted-ink); max-width: 52ch; }
.partners-head .pcopy p + p { margin-top: 12px; }
.pgroup { margin-top: clamp(28px, 4vw, 48px); }
.pgroup h3 { font-weight: 800; font-stretch: 75%; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.01em; line-height: 1; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.prow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 16px; align-items: center; padding-block: clamp(20px, 3vw, 34px); border-bottom: 1px solid rgba(23, 26, 33, .22); transition: background-color .25s, padding-left .25s; }
.prow:hover { background: rgba(255, 255, 255, .35); padding-left: 14px; }
.pinfo { grid-column: 1 / span 6; }
.pinfo strong { display: block; font-weight: 800; font-stretch: 75%; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .9; letter-spacing: -.02em; }
.pinfo span { display: block; margin-top: 8px; font-weight: 700; color: var(--muted-ink); }
.pinfo p { margin-top: 10px; color: var(--muted-ink); max-width: 46ch; }
.prow-add .pinfo strong { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.pslot { grid-column: 8 / span 5; min-height: clamp(150px, 16vw, 220px); display: grid; place-content: center; gap: 4px; text-align: center; border: 2px dashed var(--muted-ink); border-radius: 4px; color: var(--muted-ink); background: rgba(255, 255, 255, .4); }
.pslot span { font-weight: 800; font-stretch: 75%; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.pslot em { font-style: normal; font-size: .9rem; }
.pslot-s { min-height: 96px; }
/* Echtes Herstellerlogo (ID Identity): Containergroesse bleibt, nur Platzhalterrahmen entfaellt; Logo unverzerrt (quadratisch) */
.pslot.has-logo { border-color: transparent; background: none; }
.pslot.has-logo img { display: block; width: auto; height: calc(clamp(150px, 16vw, 220px) - 32px); max-width: 100%; object-fit: contain; }
/* Herstellerpartner Roly (horizontales Logo): niedrigerer Slot, Logo unverzerrt */
.pslot.pslot-h { min-height: clamp(120px, 12vw, 160px); }
.pslot.pslot-h.has-logo img { height: clamp(52px, 5.6vw, 72px); }
/* Hinweis auf bekannte Sportmarken (nur Text, keine Logos) */
.psport { margin-top: clamp(20px, 3vw, 32px); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--ink); max-width: 62ch; }
.psport strong { font-weight: 800; }
.psport + .psport { margin-top: 12px; }

/* ---------- 5 Leistungen (dunkel, gestapelte Karten) ---------- */
.services { --bg: var(--night); padding-block: calc(var(--cut) + clamp(72px, 8vw, 120px)) calc(var(--cut) + clamp(56px, 7vw, 100px)); }
.services-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 20px; align-items: end; margin-bottom: clamp(32px, 5vw, 72px); }
.services-head .mega-s { grid-column: 1 / span 6; }
.services-head p { grid-column: 8 / span 5; color: var(--muted); max-width: 46ch; }

.stack { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; display: grid; gap: 0; }
.panel { --n: 0; --cover: 0; position: sticky; top: calc(var(--hdr) + 22px + var(--n) * 18px); display: grid; grid-template-columns: 1fr 1fr; min-height: min(68vh, 560px); margin-bottom: 26px; border-radius: 22px; overflow: hidden; box-shadow: 0 -18px 40px -20px rgba(0, 0, 0, .55); transform-origin: 50% 0; transform: scale(calc(1 - var(--cover) * .05)); filter: brightness(calc(1 - var(--cover) * .38)); }
.p1 { --n: 0; background: var(--ink-2); color: var(--paper); }
.p2 { --n: 1; background: var(--orange); color: var(--ink); }
.p3 { --n: 2; background: var(--paper); color: var(--ink); }
.p4 { --n: 3; background: var(--ink-3); color: var(--paper); }
.panel-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: clamp(28px, 4vw, 64px); }
.panel h3 { font-weight: 800; font-stretch: 75%; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: .94; letter-spacing: -.02em; text-wrap: balance; }
.panel p { max-width: 42ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.p1 p, .p4 p { color: #D4D6DC; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 2px solid currentColor; border-radius: 99px; padding: 5px 15px; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.panel-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.panel-img { position: relative; min-height: 220px; }
.panel-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p1 .panel-img::after, .p2 .panel-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 40%); }
.fit-badge { display: none; position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--ink); color: var(--orange); font-weight: 700; font-size: .8125rem; padding: 6px 14px; border-radius: 99px; border: 2px solid var(--orange); }
.panel.is-fit .fit-badge { display: block; }

.path { margin-top: clamp(40px, 6vw, 88px); display: grid; gap: 8px; }
.path-title { color: var(--muted); }
.path-line { font-weight: 800; font-stretch: 75%; font-size: clamp(2rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.path-line i { font-style: normal; color: var(--orange); }

/* ---------- 6 Kontakt (orange) ---------- */
.contact { --bg: var(--orange); overflow-x: clip; color: var(--ink); padding-block: calc(var(--cut) + clamp(64px, 8vw, 120px)) clamp(64px, 8vw, 120px); }
.contact :focus-visible { outline-color: var(--ink); }
.contact-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact .mega-xl { grid-column: 1 / -1; }
.cw { display: inline-block; transform: translateX(var(--cw, 0px)); }
.contact-side { grid-column: 1 / span 5; display: grid; gap: 22px; }
.lead-ink { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 34ch; font-weight: 500; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions .btn { width: 100%; }
.small-ink { font-size: .9375rem; }
.form-ph { grid-column: 7 / span 6; background: var(--ink); color: var(--paper); border-radius: 14px; padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.form-ph-title { color: var(--orange); font-weight: 700; font-size: .9375rem; margin-bottom: 4px; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-chips span { border: 2px solid #4B505C; border-radius: 99px; padding: 5px 14px; font-weight: 600; font-size: .9375rem; color: #C9CCD3; }
.fp-chips span:first-child { border-color: var(--orange); color: var(--orange); }
.fp-field { border: 2px solid #3A404C; border-radius: 6px; padding: 14px 16px; color: #9CA0AB; }
.fp-area { min-height: 104px; }
.fp-btn { background: var(--orange); color: var(--ink); font-weight: 700; padding: 16px; text-align: center; border-radius: 6px; opacity: .55; }
/* Anfrageablauf statt Formular (SP019C, Startseite und Textilien; Format wie auf den uebrigen Unterseiten) */
.contact-flow { grid-column: 7 / span 6; display: grid; gap: 20px; align-self: center; color: var(--ink); }
.cf-title { font-weight: 800; font-stretch: 75%; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1; }
.cf-steps { display: grid; gap: 14px; max-width: 46ch; list-style: none; padding: 0; margin: 0; }
.cf-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.4; }
.cf-steps strong { font-weight: 800; }
.cf-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--orange); font-weight: 800; }

.site-footer { background: var(--night); color: #9A9EA8; padding-block: 28px 36px; font-size: .875rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; }
.site-footer p { max-width: 62ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: #E4E6EB; }
/* Einheitlicher Footer (alle sieben Seiten): Marke und Kontakt links, Symbole rechts, darunter die Navigation; Staging-Block getrennt */
.foot-top { align-items: center; }
.foot-name { color: #C9CCD3; }
.foot-name strong { color: #E4E6EB; font-weight: 700; }
.foot-contact { margin-top: 4px; }
.site-footer .foot-bottom { margin-top: 20px; padding-top: 18px; border-top: 1px solid #262A33; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 24px; font-size: .8125rem; color: #7E828D; }
.foot-bottom p { max-width: none; }
.foot-claim { display: flex; align-items: center; gap: 12px; justify-self: center; color: #B4B8C2; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.claim-dots { display: inline-flex; align-items: center; gap: 6px; }
.claim-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; }
.claim-dots i:nth-child(1) { background: #111111; box-shadow: inset 0 0 0 1.5px rgba(245, 240, 231, .72); }
.claim-dots i:nth-child(2) { background: #DD202B; }
.claim-dots i:nth-child(3) { background: #FFCC00; }
.site-footer .foot-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 22px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; color: #D4D6DC; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.foot-legal a:hover, .foot-legal a:focus-visible { color: var(--orange); }
.foot-legal a[aria-current="page"] { color: var(--orange); }
.foot-social { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid #3A404C; border-radius: 50%; color: #E4E6EB; transition: color .2s, border-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.foot-social a:hover, .foot-social a:focus-visible { color: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.foot-social svg { width: 20px; height: 20px; }
.dock { display: none; }

/* ---------- Arbeiten: Hinweis auf Instagram und Facebook ---------- */
.social { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 24px; align-items: end; margin-top: clamp(36px, 5vw, 72px); padding-top: clamp(24px, 3vw, 38px); border-top: 3px solid var(--ink); }
.social::before { content: ""; position: absolute; left: 0; top: -3px; height: 3px; width: clamp(72px, 12vw, 160px); background: var(--orange); }
.social-copy { grid-column: 1 / span 6; }
.social h3 { font-weight: 800; font-stretch: 75%; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: .95; letter-spacing: -.02em; }
.social p { margin-top: 14px; color: var(--muted-ink); max-width: 62ch; }
.social-links { grid-column: 8 / span 5; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; background: var(--ink-3); border-radius: 8px; overflow: hidden; }
.soc { position: relative; display: flex; align-items: center; gap: clamp(10px, 1vw, 14px); padding: 18px clamp(14px, 1.6vw, 20px); background: var(--ink); color: var(--paper); text-decoration: none; transition: background-color .25s; }
.soc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.soc-ic { flex: none; display: grid; place-items: center; width: clamp(40px, 3.2vw, 46px); height: clamp(40px, 3.2vw, 46px); border-radius: 50%; background: var(--orange); color: var(--ink); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.soc-ic svg { width: 24px; height: 24px; }
.soc-txt { flex: 1; min-width: 0; display: grid; }
.soc-txt b { font-weight: 800; font-stretch: 75%; font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1; letter-spacing: -.01em; }
.soc-txt small { margin-top: 5px; color: var(--muted); font-size: .8125rem; line-height: 1.2; }
.soc-go { flex: none; color: var(--orange); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.soc-go svg { display: block; width: clamp(22px, 1.8vw, 26px); height: clamp(22px, 1.8vw, 26px); }
.soc svg, .foot-social svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soc:hover, .soc:focus-visible { background: var(--ink-2); }
.soc:hover::after, .soc:focus-visible::after { transform: scaleX(1); }
.soc:hover .soc-ic, .soc:focus-visible .soc-ic { transform: rotate(-8deg) scale(1.07); }
.soc:hover .soc-go, .soc:focus-visible .soc-go { transform: translate(4px, -4px); }
.soc:focus-visible { outline: 3px solid var(--orange); outline-offset: -5px; border-radius: 0; }
.soc:active { background: var(--night); }
/* sanftes Erscheinen beim Scrollen (nur mit Bewegung; Auslöser in js/site.js) */
.js-motion .social::before { width: 0; transition: width 1s cubic-bezier(.2, .8, .2, 1) .15s; }
.js-motion .social.is-in::before { width: clamp(72px, 12vw, 160px); }
.js-motion .social-copy, .js-motion .social-links { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js-motion .social-links { transition-delay: .12s; }
.js-motion .social.is-in .social-copy, .js-motion .social.is-in .social-links { opacity: 1; transform: none; }
@media (min-width: 1000px) and (max-width: 1439px) { .social-links { grid-column: 7 / span 6; } }
@media (max-width: 519px) { .social-links { grid-auto-flow: row; } }

/* ---------- Tablet und Smartphone ---------- */
@media (max-width: 999px) {
  :root { --cut: 7vw; --hdr: 66px; }
  html { scroll-padding-top: 72px; }
  /* SP019B (F-12): Die feste Schnellkontakt-Leiste (unten, 66 px hoch plus 12 px Abstand) darf per Tastatur fokussierte Elemente nicht verdecken */
  html { scroll-padding-bottom: 88px; }
  .nav, .bar-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 6px; border: 2px solid #4B505C; background: transparent; color: var(--paper); font: 700 1rem/1 var(--f); cursor: pointer; }
  .menu-icon { display: grid; gap: 5px; width: 20px; }
  .menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .25s; }
  .menu-btn[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu { position: fixed; inset: 0; z-index: 40; background: var(--orange); color: var(--ink); padding: calc(var(--hdr) + 28px) var(--pad) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; }
  .menu[hidden] { display: none; }
  .menu :focus-visible { outline-color: var(--ink); }
  .menu nav { display: grid; }
  .menu nav > a, .menu nav > .soon { font-weight: 800; font-stretch: 75%; font-size: clamp(2.7rem, 13.5vw, 5rem); line-height: 1; letter-spacing: -.02em; text-decoration: none; border-bottom: 3px solid var(--ink); padding: 8px 0; }
  .menu nav > .soon { color: rgba(23, 26, 33, .6); border-bottom-style: dashed; }
  .menu nav > .soon small { font-size: .8125rem; font-stretch: 100%; letter-spacing: 0; vertical-align: 6px; }
  .menu-sub { display: grid; padding: 4px 0 10px 4px; border-bottom: 3px solid var(--ink); }
  .menu-sub li { border-top: 1px solid rgba(23, 26, 33, .28); }
  .menu .menu-sub a, .menu-sub .soon { display: block; padding: 11px 0; font-weight: 700; font-size: 1.125rem; line-height: 1.25; text-decoration: none; }
  .menu-sub .soon { color: rgba(23, 26, 33, .6); }
  .menu-sub .soon small { font-size: .75rem; vertical-align: 1px; }
  .menu-actions { display: grid; gap: 10px; }
  .menu .btn { width: 100%; }
  /* Aktive Seite: kleiner Punkt im Seitenrand, keine Aenderung von Groesse oder Abstaenden */
  .menu nav > a, .menu .menu-sub a { position: relative; }
  .menu nav > a[aria-current="page"]::before,
  .menu nav > a:has(+ .menu-sub [aria-current="page"])::before,
  .menu .menu-sub a[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink); }
  /* Entwurfsleiste (nur Staging) stoert das Smartphone-Menue: auf Smartphones/Tablets ausblenden */
  .proto { display: none; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .hero-inner > .hero-kicker, .hero-inner > .mega, .hero-inner > .stage, .hero-inner > .stage-note, .hero-inner > .hero-bottom { grid-column: 1; grid-row: auto; }
  .hero .mega { font-size: clamp(2.9rem, 14.2vw, 8.4rem); margin-bottom: 20px; }
  .stage { margin-top: 0; width: calc(100% + 2 * var(--pad)); margin-inline: calc(var(--pad) * -1); border-radius: 0; aspect-ratio: 4 / 3.3; }
  .ph-note { font-size: .75rem; max-width: 78%; }
  .hero-bottom { padding-top: 28px; }
  .stage-note { margin-top: 10px; }

  .scope .mega-s { max-width: none; }
  .scale { padding-bottom: 36px; }
  .scope-out { grid-template-columns: minmax(0, 1fr); }
  .shirts, .scope-copy { grid-column: 1; }
  .shirts { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 420px; }

  .work-head, .partners-head, .services-head { grid-template-columns: minmax(0, 1fr); }
  .work-head .mega-s, .work-head p, .rail-ctrl, .partners-head .mega-s, .partners-head .pcopy, .services-head .mega-s, .services-head p { grid-column: 1; }
  .rail-ctrl { justify-content: flex-start; }
  .card { width: 76vw; }
  .card.c1, .card.c7 { width: 72vw; }
  .card.c2, .card.c4, .card.c8 { width: 84vw; }
  .card.c6 { width: 66vw; }

  .prow { grid-template-columns: minmax(0, 1fr); }
  .pinfo, .pslot { grid-column: 1; }
  .panel { grid-template-columns: minmax(0, 1fr); min-height: 0; top: calc(var(--hdr) + 14px + var(--n) * 10px); }
  .panel-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .panel-body { padding: 24px 22px 28px; gap: 14px; }

  .contact-side, .form-ph, .contact-flow { grid-column: 1 / -1; }
  .social { grid-template-columns: minmax(0, 1fr); }
  .social-copy, .social-links { grid-column: 1; }
  .foot-social { margin-left: 0; }
  .site-footer .foot-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; }
  .foot-bottom .foot-claim { order: 1; margin-top: 4px; }
  .site-footer .foot-legal { order: 2; justify-content: center; }
  .foot-bottom .foot-copy { order: 3; }

  .site-footer { padding-bottom: 96px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; padding: 8px; background: rgba(15, 17, 22, .96); border: 1px solid #2B303A; border-radius: 12px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
  .dock a { display: grid; place-items: center; min-height: 48px; border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--paper); border: 2px solid #3A404C; }
  .dock a:first-child { background: var(--orange); color: var(--ink); border-color: var(--orange); }
  .menu-open .dock { display: none; }
}
@media (max-width: 560px) {
  .proto p { font-size: .75rem; }
  .tape { top: calc(var(--cut) / 2 - 18px); }
  .scale-labels li { font-size: .95rem; }
}

/* Sehr schmale Ansichten (SP019B, F-06): Wortmarke und Menue-Schaltflaeche beruehren sich sonst unter ca. 335 px; ab 350 px unveraendert.
   Vorher nur lokal in firmenkleidung.css (SP014B), jetzt fuer alle Seiten. */
@media (max-width: 349px) {
  .brand { font-size: 1.4rem; gap: 8px; }
  .brand img { width: 32px; }
  .bar { gap: 12px; }
  .menu-btn { padding: 0 12px; gap: 8px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .tape-track { animation: none; flex-wrap: wrap; width: auto; white-space: normal; padding-inline: var(--pad); }
  .tape-shift, .cw { transform: none; }
  .js-motion .ln > span { transform: none; }
  .card-img img { transform: scale(1.06); }
  .panel { transform: none; filter: none; }
  .soc:hover .soc-ic, .soc:focus-visible .soc-ic, .soc:hover .soc-go, .soc:focus-visible .soc-go, .foot-social a:hover, .foot-social a:focus-visible { transform: none; }
}
