/* PIZZA SLICE CLUB – statische Website (ohne WordPress/Elementor) */

/* ---------- Schriften (lokal, woff2) ---------- */
@font-face { font-family: "Mono"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/RedHatMono-Light.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/RedHatMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/RedHatMono-Medium.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/RedHatMono-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/RedHatMono-Bold.woff2") format("woff2"); }
@font-face { font-family: "Saund"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Soundgarden-Badmotorfont.woff2") format("woff2"); }

/* ---------- Farben & Maße ---------- */
:root {
  --creme: #FDF5EE;
  --creme-gelb: #FCFBD6;
  --beige: #E7DBD2;
  --schwarz: #1C1C1C;
  --tief: #141414;
  --rot: #D84228;
  --rot-hell: #EB4F27;
  --mono: "Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display: "Saund", Impact, "Arial Narrow", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --section: clamp(56px, 6vw, 96px);
  --radius: 15px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--schwarz);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; }
::selection { background: var(--rot); color: var(--creme); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 1000; background: var(--creme); padding: 8px 12px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.display { font-family: var(--display); text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em; }
.kicker { font-size: 16px; letter-spacing: 2px; line-height: 1.1; margin-top: 6px; }

/* ---------- Pills & Buttons ---------- */
.pill {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 16px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
  margin: 0;
}
.pill--rot { background: var(--rot); color: var(--creme); font-size: 16px; }
.pill--rot li + li::before { content: "·"; margin-right: 16px; opacity: .7; }
.pill--outline { border: 1px solid var(--schwarz); }
.pill--rating { background: var(--creme); color: var(--schwarz); border: 1px dotted #333; gap: 6px; text-decoration: none; }
.pill--rating svg { width: 18px; height: 18px; fill: var(--rot); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--schwarz);
  background: var(--creme);
  border: 1px solid var(--schwarz);
  border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--schwarz); color: var(--creme); }
.btn--rot { background: var(--rot); border-color: var(--creme); color: var(--creme); border-radius: 20px; padding: 13px 20px; letter-spacing: .8px; }
.btn--rot:hover { background: var(--creme); color: var(--rot); border-color: var(--rot); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; padding: 30px 30px 10px; }
.site-header__inner { display: flex; align-items: flex-start; justify-content: space-between; }
.site-header__logo { display: block; padding: 10px; }
.site-header__logo img { width: 150px; }
.site-header__nav { display: flex; align-items: center; gap: 20px; padding: 20px 10px; }
.insta { display: block; width: 36px; height: 36px; color: var(--creme); }
.insta svg { width: 100%; height: 100%; fill: currentColor; }
.insta:hover { color: var(--rot-hell); }

/* kompakter Header, erscheint beim Scrollen */
.sticky-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--pad);
  background: rgba(28, 28, 28, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--creme);
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar__logo { font-size: 15px; letter-spacing: 2px; text-decoration: none; }
.sticky-bar__nav { display: flex; align-items: center; gap: 16px; }
.sticky-bar .insta { width: 26px; height: 26px; }
.sticky-bar .btn--rot { padding: 10px 16px; font-size: 13px; }

/* Unterseiten: Header auf hellem Grund */
.page .site-header { position: relative; background: var(--schwarz); padding-bottom: 20px; }
.page .site-header__logo img { width: 110px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(100vh, 640px);
  min-height: max(100svh, 640px);
  background: var(--schwarz) url("../img/hero.webp") center / cover no-repeat;
  color: var(--creme);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 20px;
  padding: 0 40px 10px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero__claim { font-size: 20px; letter-spacing: 2px; line-height: 1.1; margin: 0 0 20px; text-align: right; }

/* ---------- Intro ---------- */
.intro { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.intro h1 { font-size: clamp(76px, 10vw, 144px); letter-spacing: -2px; line-height: 1.1; }
.intro__left .kicker { margin: 20px 0; }
.intro__right { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.intro__text { font-size: clamp(19px, 1.75vw, 25px); font-weight: 300; line-height: 1.5; max-width: 30em; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: var(--section); }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }

/* ---------- Dunkler Block ---------- */
.dark { background: var(--schwarz); color: var(--creme); }
.dark__head { text-align: center; padding-top: var(--section); }
.dark__head h2 { font-size: clamp(64px, 10vw, 144px); line-height: 1.5; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 20px; padding-bottom: var(--section); }
.feature { padding: clamp(24px, 4.4vw, 63px); }
.feature svg { width: 30px; height: 30px; fill: var(--creme); margin-bottom: 20px; }
.feature h3 { font-size: 27px; font-weight: 500; line-height: 1.1; margin-bottom: 20px; }
.feature__text { font-size: 18px; font-weight: 300; line-height: 1.5; }
.feature__text strong { font-weight: 500; }

/* ---------- Abschnitte mit Titel links ---------- */
.split { display: grid; grid-template-columns: 1fr 3fr; gap: 20px; padding-top: var(--section); padding-bottom: var(--section); }
.split__title { position: sticky; top: 100px; align-self: start; }
.split__title h2 { font-size: clamp(64px, 5.7vw, 82px); line-height: 1.1; }
.cards { display: grid; gap: 20px; max-width: 760px; }
.card { border: 1px dashed var(--schwarz); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 38px); }
.card h3 { font-size: clamp(30px, 3.1vw, 45px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.card p { letter-spacing: 1.5px; line-height: 1.55; }

.setup { grid-template-columns: 1fr 2fr 2.2fr; align-items: center; }
.setup__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.setup__text p { font-size: 18px; letter-spacing: 2px; line-height: 1.4; }
.setup img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }

/* ---------- Referenzen ---------- */
.refs { background: var(--tief); color: var(--creme); padding-top: 72px; padding-bottom: var(--section); }
.refs__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 64px; }
.refs__head h2 { font-size: clamp(64px, 5.7vw, 82px); line-height: 1.1; }
.refs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; align-items: center; }
.ref { display: flex; align-items: center; gap: 16px; }
.ref__logo { flex: 0 0 150px; height: 120px; display: grid; place-items: center; }
.ref__logo img { max-height: 120px; width: auto; max-width: 150px; object-fit: contain; }
.ref p { font-size: 14px; line-height: 1.5; margin: 0; }
.ref--more { justify-content: center; text-align: center; }
.ref--more a { text-underline-offset: 4px; }
.ref--more a:hover { color: var(--rot-hell); }

/* ---------- Abschluss-CTA ---------- */
.cta { background: var(--rot); color: var(--creme); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding-top: 72px; padding-bottom: 100px; align-items: start; }
.cta__logo img { width: 250px; }
.cta__text { font-size: 20px; font-weight: 300; line-height: 1.5; }
.cta__btn { display: flex; justify-content: flex-end; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tief); color: var(--beige); padding: 72px 0; }
.site-footer__inner { border-top: 1px dashed var(--beige); padding-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; text-align: center; }
.site-footer a { color: var(--creme-gelb); text-decoration: none; }
.site-footer a:hover { color: var(--rot-hell); }

/* ---------- Unterseiten ---------- */
.page-main { padding-top: var(--section); padding-bottom: var(--section); }
.legal { max-width: 860px; font-size: 16px; line-height: 1.6; text-transform: none; }
.legal h1 { font-family: var(--display); font-size: clamp(64px, 8vw, 110px); text-transform: uppercase; line-height: 1.05; margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 600; text-transform: uppercase; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal a { color: var(--rot); word-break: break-word; }
.faq .card h3 { font-size: clamp(22px, 2vw, 29px); }
.faq details { border: 1px dashed var(--schwarz); border-radius: var(--radius); padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: clamp(20px, 2.6vw, 38px); display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.15; }
.faq summary::after { content: "+"; font-size: 32px; line-height: .8; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 clamp(20px, 2.6vw, 38px) clamp(20px, 2.6vw, 38px); letter-spacing: 1px; line-height: 1.6; }
.faq .cta-row { margin-top: 32px; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .intro { grid-template-columns: 1fr; }
  .intro__right { align-items: flex-start; text-align: left; }
  .gallery { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__title { position: static; }
  .setup { grid-template-columns: 1fr; }
  .refs__grid { grid-template-columns: 1fr 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 767px) {
  .site-header { padding: 18px 10px; }
  .site-header__logo img { width: 103px; }
  .site-header__nav { padding: 12px 10px; gap: 14px; }
  .insta { width: 30px; height: 30px; }
  .hero { padding: 0 19px 24px; align-items: stretch; }
  .hero__claim { font-size: 15px; }
  .hero .pill--rating { align-self: flex-end; }
  .intro h1 { font-size: clamp(64px, 26vw, 110px); line-height: 1.15; }
  .pill--rot { font-size: 12px; gap: 2px 8px; padding: 5px 12px; }
  .pill--rot li + li::before { margin-right: 8px; }
  .intro__right .pill--rot { align-self: flex-start; }
  .setup__text p { font-size: 16px; letter-spacing: 1px; }
  .dark__head { text-align: left; }
  .dark__head h2 { font-size: clamp(56px, 21vw, 80px); line-height: 1.2; margin-bottom: 16px; }
  .feature { padding: 24px 0; }
  .feature h3 { font-size: 26px; }
  .feature__text { font-size: 16px; }
  .refs__head { align-items: center; text-align: center; }
  .refs__grid { grid-template-columns: 1fr; gap: 32px; }
  .ref { flex-direction: column; text-align: center; }
  .ref__logo { flex-basis: auto; height: 100px; }
  .ref__logo img { max-height: 100px; }
  .cta__logo img { width: 180px; }
  .cta__btn { justify-content: flex-start; }
  .sticky-bar__logo { font-size: 13px; }
}

/* =====================================================================
   REFRESH 2026 – leichte Modernisierung (überschreibt die Basis oben)
   ===================================================================== */
:root { --radius: 22px; --radius-l: 32px; }

/* Buttons: Pill-Form, Hauptbutton gefüllt */
.btn { border-radius: 999px; padding: 14px 26px; letter-spacing: .5px; }
.btn--dark { background: var(--schwarz); color: var(--creme); border-color: var(--schwarz); }
.btn--dark:hover { background: var(--rot); border-color: var(--rot); color: var(--creme); }
.btn--rot { border-radius: 999px; }
.pill { border-radius: 999px; }

/* Header: weicher Verlauf für bessere Lesbarkeit */
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 220px; background: linear-gradient(rgba(0,0,0,.35), transparent); pointer-events: none; z-index: 0; }
.hero__claim { font-size: clamp(16px, 1.5vw, 22px); }

/* Schwebende Leiste beim Scrollen */
.sticky-bar {
  inset: 12px var(--pad) auto;
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.45);
  transform: translateY(calc(-100% - 20px));
}

/* Galerie */
.gallery img { border-radius: var(--radius); }

/* Laufband */
.ticker { background: var(--rot); color: var(--creme); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { white-space: nowrap; font-size: 15px; letter-spacing: 2px; padding-right: 28px; }
.ticker__track span::after { content: "✦"; margin-left: 28px; opacity: .8; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Dunkler Block: Feature-Karten */
.features { gap: 20px; }
.feature {
  background: rgba(253,245,238,.035);
  border: 1px solid rgba(253,245,238,.12);
  border-radius: var(--radius);
  transition: border-color .3s, background-color .3s;
}
.feature:hover { border-color: rgba(253,245,238,.3); background: rgba(253,245,238,.06); }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--rot); margin-bottom: 24px; }
.feature__icon svg { width: 28px; height: 28px; margin: 0; }

/* Event-Karten: Nummer + Hover */
.card { position: relative; background: transparent; }
.card__num { position: absolute; top: clamp(24px, 2.6vw, 38px); right: clamp(24px, 2.6vw, 38px); font-size: 13px; letter-spacing: 2px; color: var(--rot); }

.setup img { border-radius: var(--radius); }

/* Referenzen: Logo-Kacheln, abgerundeter Übergang */
.refs { border-radius: var(--radius-l) var(--radius-l) 0 0; padding-bottom: calc(var(--section) + var(--radius-l)); }
.ref {
  background: #1c1c1c;
  border: 1px solid rgba(253,245,238,.07);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  transition: background-color .25s, transform .25s;
}
.ref:hover { background: #222; transform: translateY(-2px); }
.ref--more { border-style: dashed; border-color: rgba(253,245,238,.3); background: transparent; }
.refs__grid { gap: 20px; align-items: stretch; }

/* Abschluss-CTA überlappt weich */
.cta { position: relative; margin-top: calc(var(--radius-l) * -1); border-radius: var(--radius-l) var(--radius-l) 0 0; }
.cta .btn:hover { background: var(--schwarz); border-color: var(--schwarz); }

/* FAQ */
.faq details { transition: background-color .25s, border-color .25s; }
.faq details[open] { background: #fff; border-style: solid; border-color: var(--rot); }
.faq summary:hover h2 { color: var(--rot); }

/* Unterseiten-Header etwas schlanker */
.page .site-header { border-radius: 0 0 var(--radius-l) var(--radius-l); }

@media (max-width: 767px) {
  .sticky-bar { inset: 8px 8px auto; padding: 6px 6px 6px 16px; }
  .feature { padding: 26px 22px; }
  .ticker { padding: 12px 0; }
  .ticker__track span { font-size: 13px; }
  .ref { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ticker__track { animation-duration: 160s; } }
.ref__logo img[src$=".svg"] { width: 150px; }
@media (max-width: 767px) {
  .refs__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ref { padding: 16px 12px; gap: 12px; }
  .ref__logo { height: 80px; }
  .ref__logo img { max-height: 80px; max-width: 120px; }
  .ref__logo img[src$=".svg"] { width: 120px; }
  .ref p { font-size: 12px; }
}

/* Unterseiten: kompakte Leiste von Anfang an */
.sticky-bar--static { position: sticky; inset: auto; top: 12px; margin: 12px var(--pad) 0; transform: none; }
.sticky-bar__logo { letter-spacing: 1.5px; }
/* Galerie: auf kleinen Bildschirmen schlichte, feste Kacheln ohne Bewegung */
.gallery__grid { align-items: start; }
.gallery__grid img, .gallery > img { transform: none; }
@media (max-width: 767px) {
  .sticky-bar--static { top: 8px; margin: 8px 8px 0; }
  .gallery { gap: 10px; }
  .gallery__grid { gap: 10px; }
  .gallery .reveal { opacity: 1; transform: none; transition: none; }
}
