/* Vend24 Website. Farben wie in der App (mobile/src/theme.tsx). Schriften: Archivo (Text und Überschriften, breit gezogen wie ein Automatenschild),
   Doto (Punktmatrix wie die Preisanzeige am Automaten, nur für Ziffern und Fachnummern), Space Grotesk nur für die Wortmarke wie in der App. Keine externen Dienste. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/Archivo-var.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/Archivo-Italic-var.woff2") format("woff2"); }
@font-face { font-family: "Doto"; font-weight: 100 900; font-display: swap; src: url("fonts/Doto-var.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/SpaceGrotesk_700Bold.ttf") format("truetype"); }

:root {
  --navy: #253A4D; --navy-deep: #16232F; --navy-night: #111C26;
  --orange: #E9874E; --orange-soft: #F3A06A; --orange-ink: #B85A29;
  --green: #437957;
  --ink: #253A4D; --muted: #5E6C78; --paper: #FFFFFF; --canvas: #F7F9FA; --raised: #EEF2F4; --line: #E3E8EC;
  --card-shadow: 0 1px 2px rgba(22, 35, 47, .06), 0 8px 24px rgba(22, 35, 47, .06);
  --radius: 22px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EAF1F7; --muted: #A7B5BF; --paper: #192A36; --canvas: #111E28; --raised: #1E303D; --line: #2C3F4C;
    --orange-ink: #FFB78B;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --ink: #EAF1F7; --muted: #A7B5BF; --paper: #192A36; --canvas: #111E28; --raised: #1E303D; --line: #2C3F4C;
  --orange-ink: #FFB78B;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.6 "Archivo", system-ui, sans-serif; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: "Archivo", sans-serif; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h3 { font-weight: 700; font-stretch: 106%; }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: 21px; letter-spacing: -0.005em; line-height: 1.25; }
p { margin: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 700 13px/1 "Archivo", sans-serif; font-stretch: 78%; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 16px; }
.slot { /* Fachnummer wie am Automaten: Punktmatrix auf dunklem Feld */
  display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 7px; border-radius: 6px;
  background: #0E1821; color: #F3A06A; font: 800 16px/1 "Doto", monospace; letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); text-shadow: 0 0 8px rgba(243, 160, 106, .55);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40em; }

/* Wortmarke */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 27px; height: 40px; }
.wm { font: 700 27px/1 "Space Grotesk", sans-serif; letter-spacing: -0.05em; }
.wm b { color: var(--orange); font-weight: 700; }
.wm i { color: var(--orange); font-style: normal; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 16px;
  font: 700 16px/1 "Archivo", sans-serif; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: #1B140F; box-shadow: 0 8px 24px rgba(233, 135, 78, .35); }
.btn-primary:hover { background: #F09460; transform: translateY(-1px); }
.btn-ghost { background: rgba(14, 24, 33, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px;
  background: rgba(14, 24, 33, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #DCE5EC;
}
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; line-height: 1.2; color: #9DB0BF; font-weight: 600; letter-spacing: .02em; }
.store span { display: block; font: 700 15px/1.2 "Archivo", sans-serif; font-stretch: 106%; }

/* Kopfzeile */
.top { position: absolute; inset: 0 0 auto; z-index: 5; color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a.link { text-decoration: none; font-weight: 600; font-size: 15px; color: #C9D5DF; padding: 10px 12px; border-radius: 10px; }
.top nav a.link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top .btn { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 13px; }
@media (max-width: 760px) { .top nav a.link { display: none; } }

/* Hero: Automat in der Nacht */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 55% at 74% 46%, rgba(233, 135, 78, .30), rgba(233, 135, 78, 0) 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(67, 121, 87, .22), rgba(67, 121, 87, 0) 70%),
    linear-gradient(180deg, var(--navy-night) 0%, #172734 60%, var(--navy) 100%);
}
.hero::before { /* nächtlicher Stadtplan (scripts/build-streets.mjs), Pins wie leuchtende Automaten */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("img/strassen.svg?v=2") center top / max(100%, 1600px) auto no-repeat; /* fester Maßstab, auf dem Handy nicht aufgeblasen */
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
}
@media (max-width: 980px) { .hero::before { mask-image: linear-gradient(180deg, #000 0, #000 560px, transparent 960px); -webkit-mask-image: linear-gradient(180deg, #000 0, #000 560px, transparent 960px); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 136px; padding-bottom: 0; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: .98; font-weight: 850; font-stretch: 118%; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; font-weight: 800; color: var(--orange-soft); }
.hero .lead { color: #B9C7D2; margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .soon { margin-top: 28px; }
.hero .soon p { font-size: 13px; color: #8FA3B3; font-weight: 600; margin-bottom: 10px; }
.hero-copy { padding-bottom: 96px; }

.phones { position: relative; height: 640px; align-self: end; }
.phone {
  position: absolute; width: 300px; aspect-ratio: 390 / 844; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #3A4C5B, #1A2733); box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone img { /* oben Platz für die Statusleiste, damit die Kamera-Insel nichts verdeckt */
  width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px;
  padding-top: 12%; background: var(--sb, #0E1821);
}
.phone::after { /* Kamera-Insel */
  content: ""; position: absolute; top: 22px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #05090D;
}
.phone.front { right: 40px; top: 0; z-index: 2; }
.phone.back { right: 250px; top: 70px; transform: rotate(-6deg); opacity: .96; width: 270px; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 116px; }
  .hero-copy { padding-bottom: 0; }
  .phones { height: 480px; margin: 8px auto 0; width: 100%; max-width: 520px; }
  .phone { width: 230px; }
  .phone.front { right: calc(50% - 215px); }
  .phone.back { right: calc(50% - 25px); width: 210px; }
}
@media (max-width: 480px) {
  .phones { height: 420px; }
  .phone { width: 200px; border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .phone::after { top: 17px; width: 64px; height: 19px; margin-left: -32px; }
  .phone.front { right: calc(50% - 175px); }
  .phone.back { right: calc(50% - 20px); width: 180px; }
}

/* Zahlenleiste */
.facts { background: var(--navy); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding-top: 0; padding-bottom: 0; }
.fact { padding: 30px 20px 32px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.fact strong { /* Preisanzeige */ display: block; font: 800 clamp(30px, 3.8vw, 46px)/1 "Doto", monospace; letter-spacing: .01em; color: var(--orange-soft); text-shadow: 0 0 14px rgba(243, 160, 106, .45); }
.fact span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: #B9C7D2; }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: 1fr 1fr; } }

/* Abschnitte */
section.block { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }

/* Kategorien */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat {
  background: var(--paper); border-radius: 18px; padding: 18px 16px 16px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 14px; min-height: 124px;
}
.cat .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg); color: var(--fg); }
.cat .ic svg { width: 24px; height: 24px; }
.cat b { font-weight: 700; font-size: 15px; line-height: 1.3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cat .ic { background: var(--bgd); color: var(--fgd); } }
:root[data-theme="dark"] .cat .ic { background: var(--bgd); color: var(--fgd); }
@media (max-width: 980px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr 1fr; } }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 52px; height: 40px; border-radius: 10px; margin-bottom: 22px;
  background: #0E1821; color: #F3A06A; font: 800 22px/1 "Doto", monospace; text-shadow: 0 0 8px rgba(243, 160, 106, .55);
}
.step p { color: var(--muted); margin-top: 10px; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Ehrlichkeit */
.honest { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.honest .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.honest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.honest li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 18px; background: var(--canvas); }
.honest li .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--raised); color: var(--orange-ink); }
.honest li .ic svg { width: 22px; height: 22px; }
.honest li b { display: block; font-size: 16px; }
.honest li span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; line-height: 1.5; }
@media (max-width: 860px) { .honest .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* Mitmachen */
.community { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(233, 135, 78, .14); color: var(--orange-ink); margin-bottom: 20px; }
.card .ic svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.note { margin-top: 26px; color: var(--muted); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green); }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; } }

/* Privatsphäre */
.privacy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); background: var(--paper); }
.privacy div { padding: 30px 28px; border-right: 1px solid var(--line); }
.privacy div:last-child { border-right: 0; }
.privacy h3 { font-size: 19px; }
.privacy p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } .privacy div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Abschluss */
.closing { background: var(--navy-night); color: #fff; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 100%, rgba(233, 135, 78, .28), transparent 70%), url("img/strassen.svg?v=2") center 70% / max(100%, 1600px) auto no-repeat; opacity: .9; }
.closing .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.closing p { color: #B9C7D2; margin-top: 14px; max-width: 34em; }
.closing .mark-big { width: 150px; height: auto; filter: drop-shadow(0 20px 40px rgba(233, 135, 78, .35)); }
@media (max-width: 760px) { .closing .wrap { grid-template-columns: 1fr; } .closing .mark-big { width: 96px; order: -1; } }

/* Fußzeile */
footer { background: var(--navy-night); color: #93A6B5; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; padding-top: 30px; padding-bottom: 36px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: #C9D5DF; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .osm { flex-basis: 100%; font-size: 13px; color: #74889A; }

/* Unterseiten (Support, Datenschutz) */
.subtop { background: var(--navy-night); color: #fff; }
.subtop .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.subtop .btn { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.page-head { background: url("img/strassen.svg?v=2") center 30% / max(100%, 1600px) auto no-repeat, linear-gradient(180deg, var(--navy-night), var(--navy)); color: #fff; padding: 56px 0 64px; }
.page-head h1 { font-size: clamp(30px, 7.6vw, 56px); hyphens: auto; }
@media (max-width: 560px) { h1, h2 { font-stretch: 100%; } .hero h1 { font-stretch: 104%; } }
.page-head p { color: #B9C7D2; margin-top: 14px; max-width: 40em; }
.prose { max-width: 760px; padding: 56px 0 96px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink); opacity: .92; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--orange-ink); text-underline-offset: 3px; }
.notice { background: rgba(233, 135, 78, .12); border: 1px solid rgba(233, 135, 78, .35); border-radius: 16px; padding: 16px 18px; margin-bottom: 32px; font-size: 15px; }
.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details { background: var(--paper); border-radius: 16px; box-shadow: var(--card-shadow); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 500 24px/1 "Archivo", sans-serif; color: var(--orange-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }
.contact-card { margin-top: 40px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.contact-card p { color: #B9C7D2; margin-top: 6px; }
.contact-card a.btn { color: #1B140F; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
