/* Fischer Vending — gemeinsames Stylesheet
   Farben, Schrift und Formen stammen aus dem Design System "Fischer Vending". */

@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --cream: #fff7e0;
  --white: #ffffff;
  --ink: #1e1226;
  --ink-muted: rgba(30, 18, 38, 0.7);
  --petrol: #1e3a4a;
  --amber: #f5a623;
  --ember: #d9421c;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --gutter: 64px;
  --font: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3, p, ul { margin: 0; }
ul { padding-left: 24px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 12px 16px; background: var(--amber); color: var(--ink); font-weight: 700; border-radius: var(--radius-md);
}
.skip-link:focus { top: 16px; }

/* Typografie */
.display { font-size: 56px; line-height: 60px; font-weight: 800; }
.h1 { font-size: 40px; line-height: 44px; font-weight: 800; }
.h2 { font-size: 28px; line-height: 34px; font-weight: 700; }
.h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.lead { font-size: 20px; line-height: 30px; max-width: 600px; }
.small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 0 28px;
  background: var(--amber); color: var(--ink);
  font: 700 19px/24px var(--font);
  border: 0; border-radius: var(--radius-md);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--ember); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-small { min-height: 48px; padding: 0 24px; font-size: 16px; line-height: 20px; }
.btn-small:hover { background: var(--ink); color: var(--cream); }

.link-arrow { font-weight: 700; }

/* Header */
.site-header { background: var(--cream); position: relative; z-index: 5; }
.site-header .container { min-height: 112px; display: flex; align-items: center; gap: 40px; }
.site-header .btn-small { text-transform: uppercase; }
.logo { display: block; flex-shrink: 0; width: 88px; height: 88px; }
.logo img { width: 88px; height: 88px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 32px; flex-grow: 1; justify-content: flex-end; font-size: 15px; line-height: 20px; font-weight: 600; }
.nav a { text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--amber); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--amber); }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 2px solid var(--ink); border-radius: var(--radius-md); cursor: pointer;
}

/* Sektionen */
.section { padding: 64px 0; }
.section-white { background: var(--white); }
.section-tight { padding: 32px 0; }

/* Hero */
.hero .container { display: flex; align-items: center; gap: 64px; min-height: 544px; }
.hero-text { flex: 0 0 640px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.hero-text .btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero-media { flex: 1 1 auto; min-width: 0; }

.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 200px; padding: 24px;
  background: var(--white); border: 2px dashed rgba(30, 18, 38, 0.5); border-radius: var(--radius-lg);
  font-size: 14px; line-height: 20px; color: var(--ink-muted);
}
.hero-media .placeholder { min-height: 480px; }
.placeholder-cream { background: var(--cream); }

/* Karten und Raster */
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

.card { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--white); border-radius: var(--radius-lg); }
.card-cream { background: var(--cream); }
.card .push { margin-top: auto; }
.card svg { width: 32px; height: 32px; fill: none; stroke: var(--petrol); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card-big { font-size: 40px; line-height: 44px; font-weight: 800; }

/* Schritte */
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--ink); font-size: 20px; font-weight: 800;
}

/* Zahlen */
.stats { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.stat-value { font-size: 28px; line-height: 34px; font-weight: 800; }

.split { display: flex; align-items: center; gap: 64px; }
.split > .split-text { flex: 0 0 560px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.split > .split-media { flex: 1 1 auto; min-width: 0; }
.split-media .placeholder { min-height: 392px; }

/* GoVend-Band */
.partner-card {
  display: flex; align-items: center; gap: 48px; padding: 48px;
  background: var(--petrol); color: var(--cream); border-radius: var(--radius-lg);
}
.partner-card .label { color: var(--amber); }
.partner-card .placeholder { flex: 0 0 160px; width: 160px; min-height: 160px; padding: 16px; font-size: 13px; line-height: 18px; background: var(--cream); }
.partner-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; }
.partner-body p { max-width: 640px; }

/* Kontakt / Formulare */
.contact { display: flex; align-items: center; gap: 96px; }
.contact-text { flex: 0 0 520px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.form-card { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--cream); border-radius: var(--radius-lg); }
.form-split { display: flex; gap: 64px; align-items: flex-start; }
.form-intro { flex: 0 0 420px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; line-height: 20px; font-weight: 600; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea, .field input[type="file"] {
  display: block; width: 100%; min-height: 48px; padding: 0 16px;
  font: 400 16px/24px var(--font); color: var(--ink);
  background: var(--white); border: 2px solid rgba(30, 18, 38, 0.7); border-radius: var(--radius-md);
}
.field select { padding: 0 12px; }
.field textarea { padding: 12px 16px; min-height: 96px; resize: vertical; }
.field input[type="file"] { padding: 10px 12px; font-size: 14px; }
.field-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; }
.check input { width: 24px; height: 24px; margin: 0; flex-shrink: 0; accent-color: var(--petrol); }
.form-note { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.chips li { padding: 10px 16px; background: var(--cream); border-radius: var(--radius-sm); font-weight: 600; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq details { background: var(--white); border-radius: var(--radius-lg); padding: 20px 24px; }
.faq summary { font-size: 18px; line-height: 26px; font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; }

/* Support (Mobil zuerst) */
.support-main { max-width: 560px; margin: 0 auto; padding: 24px 20px 48px; display: flex; flex-direction: column; gap: 20px; }
.machine-chip { display: flex; align-items: center; min-height: 48px; padding: 0 16px; background: var(--white); border-radius: var(--radius-md); font-size: 14px; line-height: 20px; }
.radio-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.radio-list legend { padding: 0 0 8px; font-size: 16px; line-height: 24px; font-weight: 700; }
.radio-tile {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px;
  background: var(--white); border: 2px solid rgba(30, 18, 38, 0.7); border-radius: var(--radius-md);
  font-weight: 600; cursor: pointer;
}
.radio-tile:has(input:checked) { border-color: var(--amber); }
.radio-tile input { width: 24px; height: 24px; margin: 0; flex-shrink: 0; accent-color: var(--petrol); }

/* Footer */
.site-footer { background: var(--petrol); color: var(--cream); padding: 64px 0; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; font-size: 15px; line-height: 22px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .label { color: var(--amber); }
.footer-logo { width: 96px; height: 96px; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.footer-logo img { width: 96px; height: 96px; object-fit: contain; }
.footer-mini { background: var(--petrol); color: var(--cream); padding: 32px 0; font-size: 15px; }
.footer-mini .container { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-mini a { color: var(--cream); }

/* Tablet */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero .container, .split, .contact, .form-split { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero-text, .split > .split-text, .contact-text, .form-intro { flex: 0 0 auto !important; }
  .hero-media .placeholder { min-height: 320px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { flex-direction: column; align-items: flex-start; }
}

/* Mobil */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .display { font-size: 32px; line-height: 36px; }
  .h1 { font-size: 32px; line-height: 36px; }
  .h2 { font-size: 24px; line-height: 30px; }
  .lead { font-size: 17px; line-height: 26px; }
  .section { padding: 40px 0; }
  .section-tight { padding: 16px 0; }
  .site-header .container { min-height: 72px; gap: 12px; }
  .logo, .logo img { width: 56px; height: 56px; }
  .nav-toggle { display: flex; }
  .site-header .btn-small { margin-left: auto; min-height: 44px; padding: 0 20px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px 20px 24px; background: var(--cream); border-bottom: 2px solid var(--ink);
  }
  .nav.is-open { display: flex; }
  .nav a { display: block; width: 100%; padding: 12px 0; font-size: 17px; }
  .hero .container { min-height: 0; gap: 24px; }
  .hero-text .btn-row { flex-direction: column; }
  .hero-text .btn { width: 100%; }
  .hero-media .placeholder { min-height: 200px; }
  .grid-2, .grid-3, .grid-4, .field-row-2, .field-row-3 { grid-template-columns: 1fr; }
  .grid-4 { gap: 20px; }
  .card { padding: 24px; }
  .split-media .placeholder { min-height: 220px; }
  .partner-card { padding: 24px; gap: 16px; }
  .partner-card .placeholder { flex-basis: 120px; width: 120px; min-height: 120px; }
  .partner-card .btn { width: 100%; }
  .form-card { padding: 24px; }
  .form-card .btn, .form-split .btn { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-grid .footer-col:first-child, .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer { padding: 40px 0; }
}

/* Ergänzungen: Schritte, Listen, Textseiten */
.step-title { font-size: 20px; line-height: 26px; font-weight: 700; }
.step-text { font-size: 15px; line-height: 22px; }
.plain-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 22px; line-height: 28px; font-weight: 700; margin-top: 16px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; background: var(--petrol); color: var(--cream); border-radius: var(--radius-lg); }
.cta-band .label { color: var(--amber); }
.cta-band a:not(.btn) { color: var(--cream); }
.cta-text { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1100px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

/* Hinweis im Hero */
.hero-note {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 8px; padding: 16px 20px; max-width: 520px;
  background: var(--petrol); color: var(--cream); border-radius: var(--radius-lg);
  text-decoration: none;
}
.hero-note-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 22px; }
.hero-note-text strong { font-size: 17px; line-height: 24px; }
.hero-note-arrow {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--ink); font-size: 20px; font-weight: 800;
  transition: transform 0.15s ease;
}
.hero-note:hover .hero-note-arrow { transform: translateX(4px); }
.hero-note:focus-visible { outline-color: var(--amber); }
