/* ============================================================================
   MARKE · gemeinsame Huelle aller oeffentlichen Seiten (08.10.2026)
   Laufband, Kopf mit Navigation und Warenkorb, Menue, Leiste "Alles von
   The Assaulter" und Fuss im Shop-Raster. Markup wie auf der Startseite
   (index.html), Vorlage fuer Blog und Hub-Seiten in redaktion/vorlage.mjs.
   Gegenstueck: assets/js/marke.js. Startseitenteile bleiben in start.css.

   Eigene Werte (--mk-*): Die Seiten bringen unterschiedliche Grundstile mit
   (legal.css, content.css, beitrag.css, Inline-Stile); die Huelle sieht auf
   allen gleich aus. Kein Kaufbereich, kein Formular wird hier beruehrt.
   ============================================================================ */
:root{
  --st-hdr-h:60px; --st-ann-h:34px;
  --st-gutter:clamp(16px, 3.4vw, 48px);
  --st-max:1400px;
  --mk-ink:#0A0A0B; --mk-ink-deep:#050506; --mk-tile:#15161A; --mk-tile-2:#1B1D21;
  --mk-cream:#F5F1EA; --mk-cream-dim:#C9C4BB; --mk-steel:#A8B0B5; --mk-muted:#9AA1A6;
  --mk-blood:#D9342B; --mk-blood-ui:#C22C24; --mk-blood-hi:#F0564B;
  --mk-line:rgba(168,176,181,.13); --mk-line-2:rgba(168,176,181,.26); --mk-line-3:rgba(168,176,181,.4);
  --mk-display:'Playfair Display', 'Times New Roman', serif;
  --mk-body:'Inter Tight', system-ui, sans-serif;
  --mk-mono:'JetBrains Mono', ui-monospace, Menlo, monospace;
  --mk-ease:cubic-bezier(.2,.7,.1,1); --mk-ease-out:cubic-bezier(.16,1,.3,1);
}
@media (min-width:900px){ :root{ --st-hdr-h:72px; } }

/* sticky Kopf: body darf kein eigener Scrollbereich sein (overflow-x:hidden waere einer) */
body{ overflow-x:clip; }
@supports not (overflow:clip){ body{ overflow-x:hidden; } }

/* Verborgen heisst verborgen */
.st-menu[hidden], [data-st-shop][hidden]{ display:none !important; }

/* Grundstile der Seiten (legal.css: a, p, ul, li) wirken nicht in die Huelle */
:where(.st-laufband, .st-hdr, .st-fuss, .mk-alles) a{ color:inherit; text-decoration:none; border:0; }
:where(.st-laufband, .st-hdr, .st-fuss, .mk-alles) a:hover{ color:inherit; }
:where(.st-laufband, .st-hdr, .st-fuss, .mk-alles) :is(ul, ol){ margin:0; padding:0; list-style:none; }
:where(.st-laufband, .st-hdr, .st-fuss, .mk-alles) li{ margin:0; max-width:none; }
:where(.st-laufband, .st-hdr, .st-fuss, .mk-alles) p{ max-width:none; }
:where(.st-laufband, .st-hdr, .st-fuss, .mk-alles) button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }

.st-skip{ position:absolute; left:12px; top:-60px; z-index:99985; background:var(--mk-cream); color:var(--mk-ink); padding:10px 14px; font:500 13px var(--mk-body); border:0; }
.st-skip:focus{ top:12px; }

:where(.st-hdr, .st-laufband, .st-menu, .st-fuss, .mk-alles) :focus-visible{
  outline:2px solid var(--mk-blood-hi); outline-offset:3px; }

/* =========================================================================
   LAUFBAND (wie shop.css .announce)
   ========================================================================= */
.st-laufband{ position:relative; z-index:46; height:var(--st-ann-h); display:flex; align-items:stretch; border-bottom:1px solid var(--mk-line); background:var(--mk-ink-deep); }
.st-laufband-fenster{ flex:1 1 auto; min-width:0; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
          mask-image:linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); }
.st-laufband-spur{ display:flex; width:max-content; height:100%; animation:st-lauf 56s linear infinite; }
.st-laufband-liste{ display:flex; align-items:center; gap:40px; margin:0; padding:0 20px; list-style:none; }
.st-laufband li{ display:flex; align-items:center; gap:10px; font:400 10.5px/1 var(--mk-mono); letter-spacing:.16em; text-transform:uppercase; color:var(--mk-steel); white-space:nowrap; }
.st-laufband li::before{ content:""; width:5px; height:5px; background:var(--mk-blood); transform:rotate(45deg); flex:0 0 auto; }
.st-laufband:hover .st-laufband-spur, .st-laufband:focus-within .st-laufband-spur, .st-laufband.is-halt .st-laufband-spur{ animation-play-state:paused; }
@keyframes st-lauf{ to{ transform:translateX(-50%); } }
.st-laufband-halt{ flex:0 0 auto; width:40px; display:grid; place-items:center; color:var(--mk-steel); border-left:1px solid var(--mk-line); background:var(--mk-ink-deep); cursor:pointer; }
.st-laufband-halt:hover{ color:var(--mk-cream); }
.st-laufband-halt svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.st-laufband-halt .st-s{ display:none; fill:currentColor; stroke:none; }
.st-laufband.is-halt .st-laufband-halt .st-p{ display:none; }
.st-laufband.is-halt .st-laufband-halt .st-s{ display:inline; }

/* =========================================================================
   KOPF (wie shop.css .hdr)
   ========================================================================= */
.st-hdr{ position:sticky; top:0; z-index:47; height:var(--st-hdr-h); background:rgba(10,10,11,.86);
  -webkit-backdrop-filter:saturate(1.2) blur(14px); backdrop-filter:saturate(1.2) blur(14px);
  border-bottom:1px solid transparent; transition:border-color .3s ease, background .3s ease; }
.st-hdr.is-gescrollt{ border-bottom-color:var(--mk-line); background:rgba(10,10,11,.96); }
.st-hdr-in{ position:relative; height:100%; max-width:var(--st-max); margin:0 auto; padding:0 var(--st-gutter); display:flex; align-items:center; justify-content:space-between; gap:16px; }
.st-marke{ display:inline-flex; align-items:center; gap:12px; font:900 19px/1 var(--mk-display); letter-spacing:.02em; color:var(--mk-cream); white-space:nowrap; }
.st-marke .accent{ color:var(--mk-blood); }
.st-marke-tag{ font:500 10px/1 var(--mk-mono); letter-spacing:.22em; text-transform:uppercase; color:var(--mk-steel); padding:4px 6px; border:1px solid var(--mk-line-2); }
.st-hdr-nav{ position:absolute; left:50%; top:0; height:100%; transform:translateX(-50%); display:flex; align-items:center; gap:2px; }
.st-hdr-nav a{ position:relative; height:100%; display:flex; align-items:center; padding:0 13px; font:500 11px/1 var(--mk-mono); letter-spacing:.18em; text-transform:uppercase; color:var(--mk-cream-dim); white-space:nowrap; transition:color .2s; }
.st-hdr-nav a::after{ content:""; position:absolute; left:13px; right:13px; bottom:calc(50% - 14px); height:1px; background:var(--mk-blood); transform:scaleX(0); transform-origin:left; transition:transform .3s cubic-bezier(.2,.7,.1,1); }
.st-hdr-nav a:hover, .st-hdr-nav a[aria-current="page"]{ color:var(--mk-cream); }
.st-hdr-nav a:hover::after, .st-hdr-nav a[aria-current="true"]::after, .st-hdr-nav a[aria-current="page"]::after{ transform:scaleX(1); }
.st-hdr-aktionen{ display:flex; align-items:center; gap:8px; }
.st-hdr-cta{ display:inline-flex; align-items:center; height:44px; padding:0 16px; font:500 11px/1 var(--mk-mono); letter-spacing:.18em; text-transform:uppercase;
  color:#fff; background:var(--mk-blood-ui); border:1px solid var(--mk-blood-ui); white-space:nowrap; transition:background .25s, box-shadow .3s; }
.st-hdr-cta:hover{ background:var(--mk-blood); border-color:var(--mk-blood); color:#fff; box-shadow:0 12px 28px -12px rgba(217,52,43,.75); }
body.wartung-aktiv .st-hdr-cta{ display:none; }
.st-korb{ position:relative; display:inline-flex; align-items:center; gap:10px; height:44px; padding:0 14px; border:1px solid var(--mk-line-2); color:var(--mk-cream);
  font:500 11px/1 var(--mk-mono); letter-spacing:.18em; text-transform:uppercase; transition:border-color .25s, background .25s; }
.st-korb:hover{ border-color:var(--mk-cream); background:rgba(245,241,234,.05); color:var(--mk-cream); }
.st-korb svg{ width:20px; height:20px; flex:0 0 auto; }
.st-korb-zahl{ min-width:22px; height:22px; padding:0 6px; border-radius:11px; display:inline-grid; place-items:center; background:var(--mk-tile-2); color:var(--mk-steel);
  font:600 11px/1 var(--mk-body); letter-spacing:0; font-variant-numeric:tabular-nums; transition:background .25s, color .25s; }
.st-korb-zahl.is-voll{ background:var(--mk-blood-ui); color:#fff; }
.st-hdr-menu{ display:none; position:relative; width:44px; height:44px; place-items:center; color:var(--mk-cream); margin-left:-10px; }
.st-hdr-menu svg{ width:22px; height:22px; }
/* offen: Kreuz statt drei Striche (zweiter Pfad im Knopf, Vorlage redaktion/vorlage.mjs huelleKopf) */
.st-hdr-menu path{ transition:opacity .2s ease; }
.st-hdr-menu .st-hdr-menu-zu, .st-hdr-menu[aria-expanded="true"] path{ opacity:0; }
.st-hdr-menu[aria-expanded="true"] .st-hdr-menu-zu{ opacity:1; }
@media (max-width:1359px){ .st-korb{ padding:0; width:44px; justify-content:center; } .st-korb-lbl{ display:none; }
  .st-korb .st-korb-zahl:not(.is-voll){ display:none; }
  .st-korb .st-korb-zahl{ position:absolute; top:3px; right:2px; min-width:18px; height:18px; padding:0 5px; font-size:10.5px; } }
@media (max-width:1199px){ .st-marke-tag{ display:none; } .st-hdr-nav a[href$="#autoren"], .st-hdr-nav a[href="/blog"]{ display:none; } }
@media (max-width:959px){
  .st-hdr-menu{ display:grid; }
  .st-hdr-nav{ display:none; }
  .st-marke{ position:absolute; left:50%; transform:translateX(-50%); font-size:18px; }
  .st-korb{ border:0; margin-right:-10px; }
}
@media (max-width:599px){ .st-hdr-cta{ display:none; } }

/* Menue (Handy und schmale Fenster) */
.st-menu{ position:absolute; left:0; right:0; top:100%; max-height:calc(100svh - var(--st-hdr-h)); overflow:auto; overscroll-behavior:contain;
  background:var(--mk-ink-deep); border-bottom:1px solid var(--mk-line-2); box-shadow:0 30px 60px -20px rgba(0,0,0,.85); }
.st-menu-in{ max-width:var(--st-max); margin:0 auto; padding:18px var(--st-gutter) 24px; display:grid; gap:18px; }
.st-menu ul{ list-style:none; margin:0; padding:0; }
.st-menu-haupt{ display:grid; border-top:1px solid var(--mk-line); }
.st-menu-haupt li{ border-bottom:1px solid var(--mk-line); }
.st-menu-haupt a{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:14px 0; }
.st-menu-haupt b{ font:800 24px/1.1 var(--mk-display); color:var(--mk-cream); }
.st-menu-haupt span{ font:400 10.5px/1.3 var(--mk-mono); letter-spacing:.12em; text-transform:uppercase; color:var(--mk-muted); text-align:right; }
.st-menu-haupt a:hover b, .st-menu-haupt a[aria-current] b{ color:var(--mk-blood-hi); }
.st-menu-neben{ display:grid; gap:12px; }
.st-menu-neben a{ font-size:15px; color:var(--mk-cream-dim); }
.st-menu-neben a:hover{ color:var(--mk-blood-hi); }
/* Knopf im Menue: gleiche Werte wie .btn der Startseite, damit er ueberall gleich aussieht */
.st-menu .st-menu-cta{ display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:16px 32px; font:500 12px/1 var(--mk-mono); letter-spacing:.22em; text-transform:uppercase;
  background:var(--mk-blood-ui); color:#fff; border:1px solid var(--mk-blood-ui); cursor:pointer; transition:all .25s var(--mk-ease); }
/* Kontrast AA: weiss auf --mk-blood-ui (5:1), beim Zeigen weiss auf --mk-blood (4,7:1) */
.st-menu .st-menu-cta:hover{ background:var(--mk-blood); border-color:var(--mk-blood); color:#fff; box-shadow:0 12px 28px -12px rgba(217,52,43,.75); }
.st-menu .st-menu-cta .arrow{ transition:transform .25s var(--mk-ease); }
.st-menu .st-menu-cta:hover .arrow{ transform:translateX(4px); }
.st-menu.is-auf{ animation:st-menu-auf .35s var(--mk-ease-out) both; }
/* Menue offen: Seite darunter abgedunkelt (unter dem Kopf). Ein Tipp darauf trifft nichts darunter,
   sondern schliesst nur das Menue (marke.js: click auf body) */
body:has(#stMenu:not([hidden]))::after{ content:""; position:fixed; inset:0; z-index:45; background:rgba(5,5,6,.66); animation:mk-abdunkeln .3s ease both; }
@keyframes mk-abdunkeln{ from{ opacity:0; } to{ opacity:1; } }
@keyframes st-menu-auf{ from{ opacity:0; transform:translateY(-8px); } to{ opacity:1; transform:none; } }

/* =========================================================================
   LEISTE "Alles von The Assaulter" (ueber dem Fuss, nicht auf der Startseite)
   ========================================================================= */
.mk-alles{ position:relative; border-top:1px solid var(--mk-line); background:
  radial-gradient(60% 120% at 100% 0%, rgba(217,52,43,.09), transparent 62%), var(--mk-ink); font-family:var(--mk-body); }
.mk-alles-in{ max-width:var(--st-max); margin:0 auto; padding:clamp(40px, 6vw, 72px) var(--st-gutter); }
.mk-alles-kopf{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px 24px; flex-wrap:wrap; margin:0 0 22px; }
.mk-alles-kick{ display:flex; align-items:center; gap:10px; margin:0 0 10px; font:500 11px/1.4 var(--mk-mono); letter-spacing:.2em; text-transform:uppercase; color:var(--mk-steel); }
.mk-alles-kick::before{ content:""; width:22px; height:1px; background:var(--mk-blood); }
.mk-alles-titel{ margin:0; font:800 clamp(28px, 3.4vw, 44px)/1.02 var(--mk-display); letter-spacing:-.02em; color:var(--mk-cream); }
.mk-alles-titel em{ font-style:italic; color:var(--mk-blood-hi); }
.mk-alles-sub{ margin:0; font:400 11px/1.6 var(--mk-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--mk-muted); }
.mk-alles-liste{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0, 1fr); gap:0; border-top:1px solid var(--mk-line); border-left:1px solid var(--mk-line); }
.mk-alles-liste li[hidden]{ display:none; }
.mk-alles-liste li{ display:flex; background:var(--mk-ink-deep); border-right:1px solid var(--mk-line); border-bottom:1px solid var(--mk-line); }
.mk-alles-liste a{ position:relative; display:flex; flex-direction:column; gap:6px; width:100%; min-height:148px; padding:20px 20px 18px; color:var(--mk-cream-dim);
  transition:background .3s var(--mk-ease); }
.mk-alles-liste a::before{ content:""; position:absolute; left:0; right:0; top:-1px; height:2px; background:var(--mk-blood); transform:scaleX(0); transform-origin:left; transition:transform .45s var(--mk-ease-out); }
.mk-alles-liste a:hover{ background:rgba(217,52,43,.07); color:var(--mk-cream-dim); }
.mk-alles-liste a:hover::before, .mk-alles-liste a[aria-current]::before{ transform:scaleX(1); }
.mk-alles-nr{ font:500 10px/1 var(--mk-mono); letter-spacing:.12em; color:var(--mk-blood-hi); }
.mk-alles-liste svg{ width:26px; height:26px; margin:4px 0 6px; color:var(--mk-steel); fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; transition:color .3s, transform .45s var(--mk-ease-out); }
.mk-alles-liste a:hover svg{ color:var(--mk-cream); transform:translateY(-2px); }
.mk-alles-liste b{ font:800 19px/1.15 var(--mk-display); color:var(--mk-cream); }
.mk-alles-liste span.mk-alles-t{ font:400 10.5px/1.45 var(--mk-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--mk-muted); }
.mk-alles-pfeil{ position:absolute; right:18px; bottom:16px; font:400 16px/1 var(--mk-body); color:var(--mk-muted); transition:transform .3s var(--mk-ease), color .3s; }
.mk-alles-liste a:hover .mk-alles-pfeil{ transform:translateX(4px); color:var(--mk-blood-hi); }
.mk-alles-hier{ position:absolute; right:14px; top:14px; padding:4px 6px; font:500 9.5px/1 var(--mk-mono); letter-spacing:.14em; text-transform:uppercase; color:#fff; background:var(--mk-blood-ui); }
@media (max-width:1023px){ .mk-alles-liste{ grid-auto-flow:row; grid-template-columns:repeat(3, minmax(0, 1fr)); } }
@media (max-width:640px){
  .mk-alles-liste{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .mk-alles-liste a{ min-height:128px; padding:16px 14px 16px; }
  .mk-alles-liste b{ font-size:17px; }
  .mk-alles-liste li:last-child:nth-child(odd){ grid-column:1 / -1; }
}
/* Band "Assault is a lifestyle." ueber der Leiste (laeuft langsam, steht bei reduzierter Bewegung) */
.mk-alles-band{ overflow:hidden; border-bottom:1px solid var(--mk-line); padding:clamp(14px, 2vw, 22px) 0;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image:linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.mk-alles-spur{ display:flex; width:max-content; animation:st-lauf 48s linear infinite; }
.mk-alles-spur span{ flex:0 0 auto; padding:0 .45em; font:italic 800 clamp(36px, 5.4vw, 80px)/1 var(--mk-display); letter-spacing:-.02em; white-space:nowrap;
  color:transparent; -webkit-text-stroke:1px rgba(245,241,234,.22); }
.mk-alles-spur span:nth-child(3n+2){ color:rgba(217,52,43,.9); -webkit-text-stroke:0; }

/* =========================================================================
   FUSS im Shop-Raster (wie shop.css .ftr)
   ========================================================================= */
footer.st-fuss{ position:relative; background:var(--mk-ink-deep); border-top:1px solid var(--mk-line); padding:clamp(44px, 6vw, 76px) 0 28px; color:var(--mk-cream); font-family:var(--mk-body); }
.st-fuss > .wrap{ width:100%; max-width:var(--st-max); margin:0 auto; padding:0 clamp(20px, 4vw, 56px); }
.st-fuss .footer-grid{ display:grid; grid-template-columns:1.4fr repeat(4, minmax(0,1fr)); gap:40px 28px; margin:0 0 44px; }
.st-fuss .footer-brand{ font-family:var(--mk-display); font-weight:900; font-size:22px; letter-spacing:.02em; color:var(--mk-cream); margin-bottom:14px; }
.st-fuss .footer-brand .accent{ color:var(--mk-blood); }
.st-fuss .footer-tag{ font-family:var(--mk-mono); font-size:11px; line-height:1.8; letter-spacing:.14em; text-transform:uppercase; color:var(--mk-muted); max-width:32ch; }
.st-fuss .footer-col h4{ margin:0 0 16px; font-family:var(--mk-mono); font-size:11px; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--mk-blood-hi); }
.st-fuss .footer-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; }
.st-fuss .footer-col a{ font-size:14px; color:var(--mk-cream-dim); transition:color .2s var(--mk-ease); }
.st-fuss .footer-col a:hover{ color:var(--mk-blood-hi); }
.st-fuss .footer-col li{ font-size:14px; color:var(--mk-cream-dim); }
.st-fuss .footer-bottom{ padding-top:32px; border-top:1px solid var(--mk-line); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
  font-family:var(--mk-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--mk-muted); }
.st-fuss .footer-bottom a{ color:var(--mk-cream-dim); transition:color .2s var(--mk-ease); }
.st-fuss .footer-bottom a:hover{ color:var(--mk-blood); }
@media (max-width:1023px){ .st-fuss .footer-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:32px 20px; } .st-fuss .footer-grid > :first-child{ grid-column:1 / -1; } }
/* Platz fuer den Knopf "Ton" (fest unten rechts, 16 px Rand + 44 px): die letzte Zeile des Fusses
   steht am Seitenende darueber. Nur, wenn es den Knopf gibt (Musik an im Admin). */
body:has(.ta-musik-dock) footer.st-fuss{ padding-bottom:84px; }
@media (max-width:640px){ body:has(.ta-musik-dock) footer.st-fuss{ padding-bottom:76px; } }
/* Spalten blenden ein, sobald der Fuss ins Bild kommt (nur mit Skript, siehe marke.js) */
.mk-js .st-fuss .footer-col, .mk-js .st-fuss .footer-brand{ opacity:0; transform:translateY(12px); transition:opacity .8s var(--mk-ease), transform .8s var(--mk-ease); }
.mk-js .st-fuss.is-in .footer-col, .mk-js .st-fuss.is-in .footer-brand{ opacity:1; transform:none; }
.mk-js .st-fuss.is-in .footer-col:nth-child(2){ transition-delay:.05s; }
.mk-js .st-fuss.is-in .footer-col:nth-child(3){ transition-delay:.12s; }
.mk-js .st-fuss.is-in .footer-col:nth-child(4){ transition-delay:.18s; }

/* Reduzierte Bewegung: Laufband steht, Menue ohne Einflug, kein Seitenwechsel-Effekt */
@media (prefers-reduced-motion:reduce){
  .st-laufband-spur, .mk-alles-spur{ animation:none !important; transform:none !important; }
  .st-laufband-halt{ display:none; }
  .st-menu.is-auf{ animation:none; }
  body:has(#stMenu:not([hidden]))::after{ animation:none; }
  .mk-js .st-fuss .footer-col, .mk-js .st-fuss .footer-brand{ opacity:1; transform:none; transition:none; }
}
@media print{
  .st-laufband, .st-hdr, .mk-alles{ display:none !important; }
}
