/* App-Seite app.pizza-country.de — Farben wie die Store-Bilder (docs/store/panorama-2026-11-29):
   dunkler Grund #120d0b, Marken-Rot #af1313 als Fläche, #ff5252 als Schrift auf dunkel (Kontrast, siehe Shop index.css). */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/schrift/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/schrift/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --grund: #120d0b;
  --grund-2: #1d1310;
  --karte: #221714;
  --rot: #af1313;
  --rot-schrift: #ff5252;
  --creme: #f5ede0;
  --text: #e9dfd2;
  --text-leise: #b8aa9a;
  --rand: rgba(245, 237, 224, 0.1);
  --breite: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.55 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 78% 18%, rgba(175, 19, 19, 0.28), transparent 65%),
    var(--grund);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--rot-schrift); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--creme); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); text-align: center; margin-bottom: 2rem; }

/* ── Kopf ── */
.kopf {
  max-width: var(--breite);
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.kopf-logo img { width: 150px; height: 30px; }
.kopf-link {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--creme);
  border: 1px solid var(--rand);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.kopf-link:hover { border-color: var(--rot-schrift); }

/* ── Hero ── */
.hero {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.dachzeile { color: var(--rot-schrift); font-weight: 600; margin: 0 0 12px; min-height: 1.55em; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 700; }
.hero-lead { font-size: 1.15rem; color: var(--text); max-width: 34rem; margin: 18px 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-block; border-radius: 10px; transition: transform 0.15s; }
.store:hover { transform: translateY(-2px); }
.store img { height: 48px; width: auto; }
@media (min-width: 420px) { .store img { height: 54px; } }
/* Das passende Store-Abzeichen zuerst (seite.js setzt die Klasse am <html>). */
html.ist-android .store-google { order: -1; }
.qr { display: none; align-items: center; gap: 16px; margin-top: 28px; max-width: 26rem; color: var(--text-leise); font-size: 15px; }
.qr img { width: 96px; height: 96px; background: #fff; padding: 6px; border-radius: 10px; flex-shrink: 0; }
.qr p { margin: 0; }
.hero-bild { position: relative; display: flex; justify-content: center; }
/* Weicher roter Schein hinter dem Gerät (kein Band, Betreiber 04.12.2026). */
.hero-bild::before {
  content: ''; position: absolute; inset: 8% 4%;
  background: radial-gradient(closest-side, rgba(175, 19, 19, 0.45), transparent);
  filter: blur(30px);
}
.hero-bild img {
  position: relative;
  width: min(340px, 72vw);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

/* ── Galerie ── */
.galerie { padding: 56px 0 24px; }
.galerie-reihe {
  list-style: none;
  margin: 0 auto;
  padding: 0 20px 16px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  max-width: calc(var(--breite) + 40px);
  scrollbar-width: thin;
  scrollbar-color: var(--rot) transparent;
}
.galerie-reihe li { flex: 0 0 62vw; max-width: 300px; scroll-snap-align: start; }
.galerie-reihe img { width: 100%; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }

/* ── Vorteile ── */
.vorteile { max-width: var(--breite); margin: 0 auto; padding: 56px 20px; }
.vorteile-raster { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.vorteile-raster li { background: var(--karte); border: 1px solid var(--rand); border-radius: 18px; padding: 24px; }
.vorteile-raster svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--rot);
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.vorteile-raster h3 { font-size: 1.25rem; margin: 16px 0 8px; }
.vorteile-raster p { margin: 0; color: var(--text-leise); }

/* ── Im Browser ── */
.browser {
  max-width: calc(var(--breite) - 40px);
  margin: 24px 20px 64px;
  padding: 40px 24px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #8a0e0e, var(--rot) 55%, #6e0b0b);
}
@media (min-width: 1200px) { .browser { margin: 24px auto 64px; } }
.browser h2 { margin-bottom: 12px; }
.browser p { margin: 0 auto 24px; max-width: 34rem; color: #ffe9e4; }
.knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.knopf {
  display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: 12px;
  transition: transform 0.15s;
}
.knopf:hover { transform: translateY(-2px); }
.knopf-rot { background: var(--grund); color: var(--creme); }
.knopf-hell { background: var(--creme); color: var(--grund); }
.browser a:focus-visible { outline-color: #fff; }

/* ── Fuß ── */
.fuss {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 32px 20px max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rand);
  color: var(--text-leise);
  font-size: 15px;
  display: grid;
  gap: 20px;
}
.fuss-betrieb { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-start; }
.fuss address { font-style: normal; line-height: 1.7; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--creme); text-decoration: underline; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss-copy { margin: 0; font-size: 13px; }

/* Partner-Zeile wie im Shop-Fuß (shared/ui/PartnerLogos.jsx, Shop index.css .pc-partner*) */
.pc-partner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; color: #fff; --pc-partner-h: 24px; }
.pc-partner-link { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 4px; opacity: 0.85; transition: opacity 0.15s; }
.pc-partner-link:hover, .pc-partner-link:focus-visible { opacity: 1; }
.pc-partner-link:hover { text-decoration: none !important; }
.pc-partner-logo { max-width: none; object-fit: contain; flex-shrink: 0; height: var(--pc-partner-h); }
.pc-partner-x { font-size: 13px; line-height: 1; opacity: 0.6; user-select: none; }
.pc-partner-wort {
  margin-left: calc(var(--pc-partner-h) * 0.3);
  font-size: calc(var(--pc-partner-h) * 0.72);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1; white-space: nowrap;
}
.pc-partner-wort::after {
  content: ''; display: inline-block;
  width: calc(var(--pc-partner-h) * 0.16); height: calc(var(--pc-partner-h) * 0.16);
  margin-left: calc(var(--pc-partner-h) * 0.05); margin-top: calc(var(--pc-partner-h) * 0.04);
  border-radius: 50%; background: #00c9a7; vertical-align: top;
}

/* ── Breitere Bildschirme ── */
@media (min-width: 640px) {
  .vorteile-raster { grid-template-columns: repeat(2, 1fr); }
  .galerie-reihe li { flex-basis: 260px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; padding-top: 48px; padding-bottom: 64px; }
  .vorteile-raster { grid-template-columns: repeat(3, 1fr); }
  .fuss { grid-template-columns: 1fr auto; align-items: start; }
  .fuss-copy, .pc-partner { grid-column: 1 / -1; }
}
/* QR-Code nur, wo eine Maus ist und Platz: am Computer. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .qr { display: flex; }
}
@media (min-width: 1200px) {
  .galerie-reihe { justify-content: center; overflow-x: visible; }
  .galerie-reihe li { flex: 0 0 212px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store, .knopf { transition: none; }
}

/* ── Geräte-Varianten (Klassen aus geraet.js) ── */
.nur-android { display: none; }
html.ist-android .nur-android { display: block; }
html.ist-android ul.nur-android { display: flex; }
html.ist-android .nur-nicht-android { display: none; }
html.ist-android .nur-apple, html.ist-ios .nur-google { display: none; }

/* ── Zahlarten im Hero: offizielle Marken unverändert, alle gleich hoch (Apple: nicht kleiner als andere Marken) ── */
.zahlung { margin-top: 28px; }
.zahlung-titel { margin: 0 0 10px; font-size: 14px; color: var(--text-leise); }
.zahlung-marken { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zahlung-marken li { height: 32px; display: flex; align-items: center; }
.zahlung-marken img { height: 32px; width: auto; }
.zahlung-marken .kachel-weiss { background: #fff; border-radius: 5px; padding: 0 9px; }
.zahlung-marken .kachel-weiss img { height: 14px; }
.zahlung-marken .kachel-karte {
  gap: 6px; padding: 0 10px; border-radius: 5px; border: 1px solid rgba(245, 237, 224, 0.35);
  font-size: 13px; font-weight: 600; color: var(--creme);
}
.kachel-karte svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.zahlung-powered { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.zahlung-powered img { height: 24px; width: auto; }
.zahlung-powered a { text-decoration: none; opacity: 0.85; transition: opacity 0.15s; }
.zahlung-powered a:hover { opacity: 1; }
.powered-arenja { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 12px; --pc-partner-h: 18px; }
.powered-arenja img { height: 18px; }
.powered-arenja .pc-partner-wort { margin-left: 0; }
/* Die Google-Pay-Datei trägt ihren Schutzraum im Bild (Kachel = 400 von 742 Einheiten Höhe): größer zeichnen,
   damit die Kachel so hoch ist wie die übrigen Marken; ein Teil des Schutzraums bleibt seitlich frei. */
.zahlung-marken .nur-google img { height: 59.4px; margin: -13.7px -6px; }
