/* =====================================================================
   StachMat – wygląd (05.12.2026, wg „Website Sammlung V2”)
   Jasno i pozytywnie, biel + czerwień; układ i ruch jak Lauri,
   nagłówki jak Cossu, postacie jak Freshtorge.
   Czcionki (licencja OFL) ładowane z naszego serwera – bez Google.
   ===================================================================== */
@font-face { font-family: "Anton"; src: url("/assets/fonts/anton.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --rot: #d7192f;
  --rot-dunkel: #b01326;
  --tinte: #1b1516;
  --grau: #5f5658;
  --hell: #fff6f4;      /* ciepłe tło sekcji „alt” */
  --linie: #eee4e1;
  --weiss: #fff;
  --radius: 18px;
  --schatten: 0 18px 40px rgba(27, 21, 22, .10);
  --kopf: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--tinte); background: var(--weiss); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 400; line-height: 1.02; text-transform: uppercase; letter-spacing: .005em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.8rem, 5.6vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.schmal { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .85rem; color: var(--grau); }
.abstand { margin-top: 56px; }
section { padding: 88px 0; }
section.alt { background: var(--hell); }
.kicker { display: block; font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rot); margin: 0 0 14px; }
.lead { font-size: 1.25rem; color: var(--tinte); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--rot); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--rot); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(215, 25, 47, .28); }
.btn-gross { font-size: 1.1rem; padding: 18px 34px; text-transform: uppercase; letter-spacing: .04em; }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-outline { background: transparent; color: var(--rot); }
.btn-outline:hover { color: #fff; }
.btn-hell { background: #fff; color: var(--rot); border-color: #fff; }
.btn-hell:hover { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 28px 0; }
.mehr { font-weight: 700; color: var(--rot); text-decoration: none; }
a.mehr:hover { text-decoration: underline; }

/* ---------- Menu: logo | pozycje na środku | Shop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; }
.logo img { height: 31px; width: auto; }
.nav { display: flex; gap: 6px; justify-content: center; }
.nav a { text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; padding: 10px 16px; border-radius: 999px; }
.nav a:hover { color: var(--rot); }
.nav a[aria-current="page"] { background: var(--hell); color: var(--rot); }
.btn-shop { justify-self: end; }

/* ---------- Strona główna: góra ---------- */
.hero { padding: 48px 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: end; }
.hero-text { padding-bottom: 56px; }
.hero h1 .akzent { color: var(--rot); display: block; }
.hero-mehr { color: var(--grau); max-width: 560px; font-size: 1rem; }
.follower-badge { font-size: .95rem; color: var(--grau); }
.follower-badge strong { font-family: var(--kopf); font-weight: 400; font-size: 1.6rem; color: var(--tinte); margin-right: 4px; letter-spacing: .02em; }
/* trzy postacie obok siebie jak u Freshtorge, zdjęcia na białym tle wtapiają się w stronę */
.figuren { display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 560px; align-self: stretch; }
.figur { width: auto; mix-blend-mode: multiply; flex: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.figur-1 { height: 74%; max-height: 470px; }
.figur-2 { height: 100%; max-height: 620px; }
.figur-3 { height: 76%; max-height: 480px; }

/* ---------- Pas przewijający się (ruch jak u Lauri) ---------- */
.laufband { background: var(--rot); color: #fff; overflow: hidden; padding: 16px 0; }
.laufband-spur { display: flex; width: max-content; gap: 28px; animation: laufen 32s linear infinite; font-family: var(--kopf); font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.laufband-spur .stern { opacity: .6; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Filmy w ramkach telefonów ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); justify-content: center; gap: 36px; margin-top: 36px; }
.video { margin: 0; text-align: center; }
.phone { border: 9px solid var(--tinte); border-radius: 38px; overflow: hidden; background: #000; box-shadow: var(--schatten); aspect-ratio: 9 / 16; transition: transform .25s; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.video:hover .phone { transform: translateY(-6px) rotate(-1deg); }
.video-label { display: inline-block; margin-top: 16px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--rot); }
.video-partner { display: block; margin-top: 16px; font-family: var(--kopf); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; }
.video-zahlen { list-style: none; padding: 0; margin: 6px 0 8px; color: var(--grau); font-size: .95rem; }
.video-zahlen li:first-child { color: var(--tinte); font-weight: 700; font-size: 1.05rem; }

/* ---------- Logo partnerów ---------- */
.logo-kachel { display: grid; place-items: center; width: 150px; height: 104px; padding: 12px; background: #fff; border: 1px solid var(--linie); border-radius: 14px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.logo-kachel:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.logo-kachel img { max-width: 100%; max-height: 78px; object-fit: contain; }
.logo-kachel span { font-weight: 700; text-align: center; line-height: 1.25; font-size: .85rem; overflow-wrap: anywhere; }
.logo-raster { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.partner-start { padding-bottom: 72px; }
.logoband { overflow: hidden; padding: 24px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logoband-spur { display: flex; gap: 16px; width: max-content; animation: laufen 40s linear infinite; }
.logoband-spur .dup { display: contents; }
.logoband:hover .logoband-spur { animation-play-state: paused; }

/* ---------- Karty ---------- */
.karten, .kontakt-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.kontakt-karten { margin-top: 40px; }
.karte { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--linie);
  text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.karte h3 { font-size: 2.4rem; margin-top: auto; }
.karte p { color: var(--grau); }
.karte-bild { color: #fff; border: 0; background: linear-gradient(0deg, rgba(27, 21, 22, .88), rgba(27, 21, 22, .05) 70%), var(--bild) center 25% / cover; }
.karte-bild p { color: rgba(255, 255, 255, .85); }
.karte-bild .kicker, .karte-bild .mehr { color: #fff; }

/* ---------- Podstrony: nagłówek ---------- */
.seitenkopf { padding: 72px 0 80px; }
.fliesstext { font-size: 1.1rem; }
.angebot { list-style: none; padding: 0; margin: 28px 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.angebot li { background: var(--hell); color: var(--rot); font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.frage { font-weight: 700; font-size: 1.2rem; margin: 24px 0 28px; }

/* ---------- Opinie ---------- */
.zitate { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; }
.zitat { margin: 0; background: #fff; border-radius: var(--radius); padding: 32px; position: relative; box-shadow: 0 6px 20px rgba(27, 21, 22, .05); }
.zitat::before { content: "“"; position: absolute; top: -12px; left: 24px; font-family: var(--kopf); font-size: 5rem; line-height: 1; color: var(--rot); }
.zitat p { font-size: 1.1rem; }
.zitat .zitat-original { font-size: .9rem; color: var(--grau); font-style: italic; }
.zitat footer { color: var(--grau); }
.zitat footer strong { color: var(--tinte); }

/* ---------- Doku ---------- */
.doku { display: inline-flex; gap: 16px; align-items: center; padding: 18px 24px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; }
.doku:hover { box-shadow: var(--schatten); }
.doku-play { width: 52px; height: 52px; border-radius: 50%; background: var(--rot); color: #fff; display: grid; place-items: center; flex: none; }

/* ---------- Liczby ---------- */
.gesamt { background: var(--tinte); color: #fff; border-radius: var(--radius); padding: 36px 40px; margin: 28px 0 40px; }
.gesamt strong { display: block; font-family: var(--kopf); font-weight: 400; font-size: clamp(3.5rem, 9vw, 6.5rem); line-height: 1; color: #ff5c4d; }
.gesamt span { font-weight: 700; font-size: 1.3rem; }
.zg-titel { font-size: 2rem; }
.zg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.zg-karte { background: var(--hell); border-radius: var(--radius); padding: 24px 26px; }
.zg-karte h3 { font-family: var(--text); text-transform: none; font-weight: 700; font-size: 1.2rem; }
.zg-zeile { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.zg-balken { height: 7px; background: #f0e3df; border-radius: 9px; margin-top: 6px; }
.zg-balken span { display: block; height: 100%; background: var(--rot); border-radius: 9px; }
.profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 32px 0 12px; align-items: start; }
.profil { border: 1px solid var(--linie); border-radius: 14px; background: #fff; }
.profil summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-weight: 700; }
.profil summary::-webkit-details-marker { display: none; }
.profil summary::after { content: "+"; color: var(--rot); font-size: 1.4rem; margin-left: 10px; }
.profil[open] summary::after { content: "–"; }
.profil summary strong { margin-left: auto; font-family: var(--kopf); font-weight: 400; font-size: 1.4rem; }
.profil-inhalt { padding: 0 20px 16px; }
.profil-inhalt .mehr { display: inline-block; margin-top: 12px; }

/* ---------- Zaproszenie / newsletter ---------- */
.cta-band, .newsletter { background: var(--rot); color: #fff; }
.cta-band h2, .newsletter h2 { color: #fff; }
.newsletter p { font-size: 1.2rem; max-width: 640px; margin: 0 auto 28px; }
.nl-kopf { margin-bottom: 24px; }
.nl-kopf img { margin: 0 auto; border-radius: var(--radius); }
.nl-titel { font-family: var(--kopf); font-size: clamp(3rem, 8vw, 5.5rem); text-transform: uppercase; line-height: 1; }

/* ---------- Live ---------- */
.live-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.live-figur { max-height: 560px; margin-inline: auto; mix-blend-mode: multiply; }
.termine { list-style: none; padding: 0; margin: 24px 0 0; }
.termine li { display: grid; grid-template-columns: 130px 1fr 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.t-datum { font-weight: 700; }
.badge { background: #fff; border: 1px solid var(--linie); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 700; }
.leer-hinweis { font-size: 1.1rem; color: var(--grau); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--tinte); color: #fff; padding: 56px 0 40px; }
.footer-inner { display: grid; gap: 16px; justify-items: center; text-align: center; }
.footer-logo { height: 31px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer .small { color: rgba(255, 255, 255, .5); }

/* ---------- Strony prawne i stare podstrony ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.legal h2 { font-family: var(--text); text-transform: none; font-weight: 700; font-size: 1.25rem; margin-top: 2em; }
.hinweis { background: #fff4d6; border-left: 4px solid #e0a800; padding: 12px 16px; border-radius: 8px; }
.produkte[hidden] { display: none; }

/* ---------- Ruch: łagodne wjeżdżanie ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .laufband-spur, .logoband-spur { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Telefon ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .header-inner { grid-template-columns: 1fr auto; row-gap: 4px; padding: 10px 0 6px; }
  .nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; justify-content: center; }
  .nav a { padding: 8px 12px; font-size: .82rem; }
  .site-header { position: static; }
  .hero { padding-top: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 6px; }
  .btn-row { margin: 18px 0; }
  .hero-text { padding-bottom: 0; }
  .hero-text { display: contents; }  /* telefon: przycisk wysoko, postacie, potem dłuższy tekst */
  .figuren { order: 2; }
  .hero-mehr { order: 3; padding: 28px 0 8px; }
  .figuren { min-height: 0; height: 380px; }
  .live-inner { grid-template-columns: 1fr; }
  .live-figur { max-height: 380px; }
  .videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; justify-content: start; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin-inline: -20px; padding-inline: 20px; }
  .video { scroll-snap-align: center; }
  .logo-kachel { width: 128px; height: 90px; }
  .termine li { grid-template-columns: 1fr auto; }
  .t-ort { grid-column: 1; color: var(--grau); }
  .gesamt { padding: 28px; }
}

/* ---------- 05.12: wersja 1:1 z dokumentem ---------- */
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero h1 .trenner { color: var(--rot); }
.hero-bild { display: flex; justify-content: center; align-self: end; }
.hero-bild img { max-height: 600px; width: auto; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.hero-text p:not(.lead) { color: var(--grau); }
.hero-text { padding-bottom: 48px; align-self: center; }
.kontakt-karten .karte { min-height: 180px; }
.kontakt-karten .karte h3 { margin-top: 0; }
.lead a { color: var(--rot); font-weight: 700; }
@media (max-width: 860px) {
  .hero-text { display: contents; }
  .hero-bild { order: 2; }
  .hero-text [data-text] { order: 3; padding-top: 24px; }
  .hero-bild img { max-height: 380px; }
}

/* ---------- Strona główna: skrót liczb ---------- */
.kurz-gesamt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 8px 0 24px; }
.kurz-gesamt strong { font-family: var(--kopf); font-weight: 400; font-size: clamp(3.4rem, 8vw, 5.5rem); line-height: 1; color: var(--rot); }
.kurz-gesamt span { font-weight: 700; font-size: 1.2rem; }
.kurz-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.kurz-profil { display: block; text-decoration: none; padding: 20px 22px; border: 1px solid var(--linie); border-radius: 14px; transition: transform .15s, box-shadow .15s; }
.kurz-profil:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.kurz-profil strong { display: block; font-family: var(--kopf); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.kurz-profil span { color: var(--grau); }
.kurz-herkunft { margin: 20px 0 28px; font-size: 1.1rem; }
.kurz-herkunft strong { color: var(--rot); }
.partner-start h2 { margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.kontakt-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.kontakt-karten .karte { min-height: 0; gap: 6px; }
.kontakt-karten .karte .btn { align-self: flex-start; margin-top: 14px; text-transform: none; }
.kontakt-figur { max-height: 460px; width: auto; margin-inline: auto; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@media (max-width: 860px) { .kontakt-inner { grid-template-columns: 1fr; } .kontakt-figur { max-height: 320px; } }
/* karty kontaktu równo: ten sam układ, przyciski w jednej linii */
.kontakt-karten { align-items: stretch; }
.kontakt-karten .karte p { min-height: 3.2em; margin: 0; }
.kontakt-karten .karte .btn { margin-top: auto; }
.kontakt-karten .karte h3 { margin-bottom: .3em; }
.profile-reihe { margin: 32px 0 12px; }
