/* =========================================================================
   myMarchesi — Romeo Andrea Marchesi
   Gestalterische Hommage an einen Schweizer Eishockey-Sender.
   Eigenes Wortzeichen, eigener Rotton, keine fremden Assets.
   ========================================================================= */

:root {
  --rot:        #b81d24;   /* eigenes Rot, bewusst dunkler als das Vorbild */
  --rot-dunkel: #8f1319;
  --flaeche:    #f6f5f4;
  --karte:      #ffffff;
  --text:       #1f1f1f;
  --gedaempft:  #717070;
  --linie:      #d6d5d4;
  --fuss:       #3d3935;
  --zebra:      #f4ecea;

  --schatten: 0 8px 24px rgba(31,31,31,.14);
  --schatten-hover: 0 14px 34px rgba(31,31,31,.2);

  --r-hero: 20px; --r-gruppe: 16px; --r-karte: 12px; --r-kachel: 8px;
  --r-badge: 4px; --r-pill: 999px;

  --inhalt: 1320px; --gutter: 32px; --gap: 32px; --kopf: 80px;
  --schrift: "Figtree", -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--flaeche); color: var(--text);
  font-family: var(--schrift); font-size: 16px; font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.015em; line-height: 1.08; }
p { margin: 0; }
::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }

.shell { width: 100%; max-width: calc(var(--inhalt) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 760px) { :root { --gutter: 18px; --gap: 16px; } }

[id] { scroll-margin-top: calc(var(--kopf) + 20px); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--text); color: #fff; padding: 12px 18px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------- Hinweisleiste */
.hinweis { background: var(--text); color: #e6e4e2; font-size: .78rem; line-height: 1.4; }
.hinweis .shell { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; padding-block: 8px; }
.hinweis__punkt { width: 7px; height: 7px; flex: none; background: var(--rot); border-radius: 50%; }
.hinweis p { margin: 0; }
.hinweis strong { color: #fff; font-weight: 700; }
.hinweis a { margin-left: auto; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); white-space: nowrap; }
.hinweis a:hover { color: #ff8a84; border-bottom-color: #ff8a84; }
@media (max-width: 620px) {
  .hinweis a { margin-left: 0; padding-block: 14px 13px; border-bottom: 0;
              text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }
  .hinweis .shell { padding-block: 6px 2px; }
  .hinweis__punkt { display: none; }
}

/* ------------------------------------------------------------- Kopf */
.kopf { position: sticky; top: 0; z-index: 90; background: var(--flaeche); }
.kopf__in { height: var(--kopf); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__wort { font-size: 1.42rem; letter-spacing: -.02em; line-height: 1; }
.logo__wort i { font-style: normal; font-weight: 400; color: var(--gedaempft); }
.logo__wort b { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--rot); }
.nav a[aria-current="page"] { color: var(--rot); border-bottom-color: var(--rot); }
@media (max-width: 1000px) { .nav { display: none; } }

.kopf__rechts { display: flex; align-items: center; gap: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rot); color: #fff; border: 0; cursor: pointer;
  font-family: var(--schrift); font-size: 1rem; font-weight: 600; line-height: 1.2;
  padding: 10px 20px; border-radius: var(--r-pill); text-decoration: none;
  transition: background-color .18s ease;
}
.pill:hover { background: var(--rot-dunkel); color: #fff; }
.pill svg { width: 9px; height: 11px; fill: currentColor; }
.pill--gross { padding: 13px 26px; }
.pill--hell { background: #fff; color: var(--text); box-shadow: var(--schatten); }
.pill--hell:hover { background: #fff; color: var(--rot); }

.menue-knopf { display: none; background: none; border: 0; cursor: pointer; color: var(--text); font-family: var(--schrift); font-size: .9rem; font-weight: 600; align-items: center; gap: 8px; padding: 8px 0; }
.menue-knopf i { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
@media (max-width: 1000px) { .menue-knopf { display: inline-flex; } }
@media (max-width: 460px) {
  .kopf__in { gap: 12px; }
  .kopf__rechts { gap: 10px; }
  .kopf .pill { padding: 10px 13px; }
  .kopf .pill__text { position: absolute; left: -9999px; }
}
@media (max-width: 380px) {
  .logo__wort { font-size: 1.18rem; }
  .logo__mark { width: 26px; height: 26px; }
}

.menue { position: fixed; inset: 0; z-index: 150; background: var(--flaeche); padding: 90px var(--gutter) 40px; overflow-y: auto; display: none; }
.menue[data-offen="true"] { display: block; }
.menue a { display: block; padding: 16px 0; border-top: 1px solid var(--linie); font-size: 1.45rem; font-weight: 700; letter-spacing: -.015em; text-decoration: none; }
.menue a:last-child { border-bottom: 1px solid var(--linie); }
.menue__zu { position: absolute; top: 24px; right: var(--gutter); background: none; border: 0; cursor: pointer; font-family: var(--schrift); font-size: .9rem; font-weight: 600; }

/* ------------------------------------------------------------- Hero */
.hero { position: relative; border-radius: var(--r-hero); overflow: hidden; margin-top: 8px; background: #111; }
.hero__bild { width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; }
.hero__text {
  position: absolute; inset: auto 0 0 0; padding: clamp(20px, 4vw, 48px);
  background: linear-gradient(to top, rgba(10,10,10,.92), rgba(10,10,10,.45) 55%, rgba(10,10,10,0));
  color: #fff;
}
.hero__kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #ff8a84; }
.hero h1 { margin: 12px 0 0; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.02em; line-height: 1; max-width: 16em; }
.hero__lead { margin-top: 16px; max-width: 42em; font-size: clamp(1rem, 1.3vw, 1.12rem); color: #e6e4e2; }
.hero__knoepfe { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
/* Schmal: Text unter das Bild statt darauf. Als Overlay wird der Block
   hoeher als das Bild und liegt dann quer ueber dem Gesicht. */
@media (max-width: 860px) {
  .hero__bild { aspect-ratio: 5 / 4; object-position: 20% 50%; }
  .hero__text { position: static; background: none; padding: 22px 20px 26px; }
  .hero h1 { margin-top: 10px; }
}


/* --------------------------------------------------------- Abschnitte */
.abschnitt { padding-block: clamp(32px, 4vw, 48px); }
.abschnitt__kopf { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.abschnitt h1, .abschnitt h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); }
.abschnitt h2 b { font-weight: 800; }
.abschnitt__note { font-size: .875rem; color: var(--gedaempft); }

/* ------------------------------------------------------------ Karten */
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .raster { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px) { .raster, .raster--2 { grid-template-columns: 1fr; } }

.karte {
  position: relative; display: flex; flex-direction: column;
  background: var(--karte); border-radius: var(--r-karte); overflow: hidden;
  box-shadow: var(--schatten); transition: box-shadow .2s ease, transform .2s ease;
}
.karte--klick { cursor: pointer; }
.karte--klick:hover { box-shadow: var(--schatten-hover); transform: translateY(-2px); }
.karte__medium { position: relative; aspect-ratio: 16 / 9; background: var(--linie); overflow: hidden; }
.karte__medium img, .karte__medium iframe, .karte__medium video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.karte__medium--portraet { aspect-ratio: 1 / 1; }
.karte__play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  background: var(--rot); border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .18s ease, background-color .18s ease;
}
.karte__play svg { width: 15px; height: 18px; fill: #fff; margin-left: 3px; }
.karte--klick:hover .karte__play { transform: scale(1.08); background: var(--rot-dunkel); }
.karte__badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: var(--rot); color: #fff; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; padding: 4px 8px; border-radius: var(--r-badge);
}
.karte__badge--hell { background: #fff; color: var(--text); }
.karte__koerper { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.karte__kicker { font-size: .875rem; font-weight: 600; color: var(--rot); margin-bottom: 8px; }
.karte h3 { font-size: 1.25rem; line-height: 1.12; }
.karte__lead { margin-top: 10px; font-size: 1rem; color: var(--text); }
.karte__meta { margin-top: 14px; font-size: .875rem; color: var(--gedaempft); }
.karte__cta { margin-top: auto; padding-top: 24px; font-size: .875rem; font-weight: 600; color: var(--rot); }
.karte__cta::after { content: " ›"; }

/* --------------------------------------------------------- Textseiten */
.text { max-width: 760px; }
.text h1, .text h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.text h3 { font-size: 1.2rem; margin: 32px 0 10px; }
.text p { margin-bottom: 16px; font-size: 1.06rem; }
.text p:last-child { margin-bottom: 0; }
.text a { color: var(--rot); text-decoration: none; border-bottom: 1px solid currentColor; }

.zitat { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--rot);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }

/* ------------------------------------------------------- Listen/Tabelle */
.liste { list-style: none; margin: 0; padding: 0; background: var(--karte);
  border: 1px solid var(--linie); border-radius: var(--r-gruppe); overflow: hidden; }
.liste li { display: grid; grid-template-columns: 13rem 1fr; gap: 6px 24px; padding: 14px 20px; border-top: 1px solid var(--linie); }
.liste li:first-child { border-top: 0; }
.liste li:nth-child(even) { background: var(--zebra); }
.liste b { font-weight: 700; }
.liste span { color: var(--gedaempft); }
@media (max-width: 680px) { .liste li { grid-template-columns: 1fr; } }

.spalten { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
@media (max-width: 860px) { .spalten { grid-template-columns: 1fr; } }
.spalten h3 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--rot); padding-bottom: 10px; border-bottom: 2px solid var(--rot); margin-bottom: 4px; }
.spalten ul { list-style: none; margin: 0; padding: 0; }
.spalten li { padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: .98rem; }

/* -------------------------------------------------------- Abschlussblock */
.schluss { background: linear-gradient(170deg, var(--rot), #c44d14); color: #fff;
  border-radius: var(--r-hero); padding: clamp(28px, 4vw, 56px); margin-block: 24px; }
.schluss h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); max-width: 18em; }
.schluss p { margin-top: 16px; max-width: 48em; font-size: 1.06rem; }
.schluss .pill { margin-top: 24px; background: #fff; color: var(--rot); }
.schluss .pill:hover { background: #1f1f1f; color: #fff; }

/* -------------------------------------------------------------- Fuss */
.fuss { background: var(--fuss); color: var(--flaeche); margin-top: 32px; padding-block: 36px 44px; font-size: .95rem; }
.fuss__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-bottom: 20px; }
.fuss__nav a { display: inline-block; text-decoration: none; opacity: .85; padding-block: 11px; }
.fuss__nav a:hover { opacity: 1; color: #ff8a84; }
.fuss hr { border: 0; border-top: 1px solid var(--linie); opacity: .25; margin: 0 0 20px; }
.recht { max-width: 860px; }
.recht h2 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #ff8a84; margin-bottom: 12px; }
.recht p { font-size: .85rem; line-height: 1.55; color: #cfccc8; margin-bottom: 11px; }
.recht strong { color: #fff; font-weight: 700; }
.recht a { color: #fff; }

/* ------------------------------------------------------------ Reveal */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .rv.ein { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

@media print {
  .hinweis, .kopf, .menue, .karte__play { display: none !important; }
  body { background: #fff; }
  .karte, .liste { box-shadow: none; border: 1px solid #ccc; }
}

/* ------------------------------------------------ Showreel im Vollbild */
.reel { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,10,.96);
  display: grid; place-items: center; padding: clamp(10px, 3vw, 40px); }
.reel__rahmen { position: relative; width: min(100%, calc((100vh - 110px) * 16 / 9)); aspect-ratio: 16/9; background: #000; border-radius: var(--r-karte); overflow: hidden; }
.reel__rahmen:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; }
.reel__video { width: 100%; height: 100%; object-fit: contain; cursor: pointer; background: #000; }
.reel__gross { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border: 0; border-radius: 50%; background: var(--rot); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.45); transition: transform .15s ease, opacity .2s ease; }
.reel__gross svg { width: 24px; height: 28px; fill: #fff; margin-left: 5px; }
.reel__gross:hover { transform: scale(1.06); background: var(--rot-dunkel); }
.reel__rahmen.laeuft .reel__gross { opacity: 0; pointer-events: none; }
.reel__leiste { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 26px 16px 12px; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); transition: opacity .25s ease; }
.reel__rahmen.ruht .reel__leiste { opacity: 0; }
.reel__rahmen.ruht { cursor: none; }
.reel__knopf { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; padding: 0; }
.reel__knopf svg { width: 15px; height: 15px; fill: currentColor; }
.reel__knopf:hover { color: #ff8a84; }
.reel__zeit { flex: none; color: #fff; font-size: .82rem; font-variant-numeric: tabular-nums; }
.reel__schieber { --p: 0%; flex: 1; min-width: 60px; height: 4px; margin: 0; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(to right, var(--rot) var(--p), rgba(255,255,255,.3) var(--p)); border-radius: 2px; outline-offset: 6px; }
.reel__schieber::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.reel__schieber::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.reel__zu { position: absolute; top: clamp(10px,2vw,22px); right: clamp(10px,2vw,22px); background: var(--rot); color: #fff; border: 0;
  cursor: pointer; font-family: var(--schrift); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; border-radius: var(--r-pill); }
.reel__zu:hover { background: var(--rot-dunkel); }
@media (max-width: 620px) { .reel__gross { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .reel__leiste { gap: 6px; padding: 20px 8px 8px; } }

/* Telefon: Tippziele auf mindestens 44 px, Bilder kompakter */
@media (max-width: 680px) {
  .kopf .pill { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .menue-knopf { min-height: 44px; }
  .fuss__nav { gap: 0 22px; }
  .logo { padding-block: 9px; }
  .karte__medium--portraet { aspect-ratio: 4 / 3; }
  .karte__medium--portraet img { object-position: 50% 22%; }
  .einsatz { grid-template-columns: 1fr 1fr; }
  .einsatz img:first-child { grid-column: 1 / -1; }
  .einsatz img:not(:first-child) { aspect-ratio: 1 / 1 !important; }
}
