/* StempelPass – Landingpage (Entwurf)
   Keine externen Schriften, keine Bibliotheken: lädt schnell und braucht keine Cookies. */

:root {
  --braun: #3b2a20;
  --braun-hell: #5a4335;
  --sand: #e8c9a0;
  --sand-hell: #f3e3cc;
  --creme: #fbf6ef;
  --weiss: #ffffff;
  --akzent: #1f8a65;        /* frisches Grün für Knöpfe */
  --akzent-dunkel: #176b4e;
  --akzent-hell: #dff2e9;
  --text: #3b2a20;
  --text-leise: #6e5a4c;
  --rund: 22px;
  --rund-klein: 14px;
  --schatten: 0 18px 40px -22px rgba(59, 42, 32, 0.45);
  --schrift: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--creme);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--akzent-dunkel); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 9vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 6.5vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

.innen { width: min(1120px, 100% - 40px); margin: 0 auto; }
.abschnitt { padding: 72px 0; }
.abschnitt.sand { background: var(--sand-hell); }
.abschnitt.weiss { background: var(--weiss); }
.abschnitt.dunkel { background: var(--braun); color: var(--creme); }
.abschnitt-kopf { max-width: 640px; margin-bottom: 36px; }
.abschnitt-kopf p { color: var(--text-leise); font-size: 19px; }
.dunkel .abschnitt-kopf p { color: rgba(251, 246, 239, 0.8); }
.vorzeile {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--akzent-dunkel);
  margin-bottom: 10px;
}
.dunkel .vorzeile { color: var(--sand); }

/* Platzhalter: sollen auffallen */
.ph {
  background: #fff3c4;
  color: #6b4e00;
  border: 1px dashed #c99a00;
  border-radius: 6px;
  padding: 0 5px;
  font-size: 0.92em;
  white-space: normal;
}
.dunkel .ph { background: #4c3a2e; color: #ffe08a; border-color: #c99a00; }

.entwurf {
  background: #fff3c4;
  color: #6b4e00;
  font-size: 14px;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid #ecd27a;
}

/* Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.knopf.voll { background: var(--akzent); color: var(--weiss); }
.knopf.voll:hover { background: var(--akzent-dunkel); }
.knopf.linie { border-color: currentColor; color: var(--braun); background: transparent; }
.knopf.linie:hover { background: rgba(59, 42, 32, 0.06); }
.knopf:active { transform: scale(0.98); }
.knopf:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 3px;
}

/* Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(59, 42, 32, 0.08);
}
.kopf .innen { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--braun); text-decoration: none; font-weight: 800; font-size: 21px; }
.marke svg { width: 34px; height: 34px; }
.kopf nav { display: none; gap: 26px; }
.kopf nav a { color: var(--braun); text-decoration: none; font-weight: 600; font-size: 16px; }
.kopf nav a:hover { color: var(--akzent-dunkel); }
.kopf .knopf { min-height: 44px; padding: 8px 18px; font-size: 16px; }

/* Hero */
.hero { padding: 44px 0 64px; overflow: hidden; }
.hero .innen { display: grid; gap: 44px; align-items: center; }
.hero .nutzen { font-size: 20px; color: var(--text-leise); max-width: 34em; }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .knoepfe .knopf { flex: 1 1 220px; }
.hero .klein { font-size: 15px; color: var(--text-leise); margin-top: 16px; }

/* Handy-Grafik */
.handy-buehne { position: relative; display: flex; justify-content: center; padding-top: 22px; }
.handy-buehne::before {
  content: "";
  position: absolute;
  inset: 8% -10% 4%;
  background: radial-gradient(closest-side, var(--sand) 0%, rgba(232, 201, 160, 0) 100%);
  z-index: 0;
}
.handy {
  position: relative;
  z-index: 1;
  width: min(300px, 82vw);
  aspect-ratio: 9 / 17;
  background: #1d1511;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 30px 60px -28px rgba(59, 42, 32, 0.7), inset 0 0 0 2px #4a3a30;
}
.schirm {
  height: 100%;
  border-radius: 36px;
  background: #f2efea;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  gap: 10px;
}
.schirm-oben { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #222; padding: 2px 10px 0; }
.schirm-insel { width: 90px; height: 24px; border-radius: 999px; background: #1d1511; margin: -18px auto 0; }
.schirm-titel { font-size: 13px; font-weight: 700; color: #555; padding: 0 6px; }
.schirm-hinweis { font-size: 11px; color: #777; text-align: center; margin-top: auto; padding-bottom: 6px; }
.beispiel-schild {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--weiss);
  color: var(--braun);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--schatten);
}

/* Die Karte im Wallet-Stil */
.pass {
  --pass-bg: var(--braun);
  --pass-text: #fff;
  --pass-leise: rgba(255, 255, 255, 0.72);
  --pass-stempel: var(--sand);
  background: var(--pass-bg);
  color: var(--pass-text);
  border-radius: 16px;
  padding: 14px 14px 16px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}
.pass-kopf { display: flex; align-items: center; gap: 9px; }
.pass-logo {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: var(--pass-stempel);
  flex: none;
}
.pass-logo svg { width: 20px; height: 20px; }
.pass-name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.pass-zahl { margin-left: auto; text-align: right; font-weight: 800; font-size: 17px; line-height: 1.1; }
.pass small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pass-leise); }
.pass-stempel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}
.pass-stempel span {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed var(--pass-leise);
  display: grid;
  place-items: center;
}
.pass-stempel span.voll { border: 0; background: var(--pass-stempel); color: var(--pass-bg); }
.pass-stempel svg { width: 60%; height: 60%; }
.pass-reihe { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14px; line-height: 1.25; }
.pass-reihe div:last-child { text-align: right; }
.pass-code {
  justify-self: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  width: 84px;
}
.pass-code svg { width: 100%; height: auto; }
.pass-code-text { text-align: center; font-size: 9.5px; color: var(--pass-leise); margin-top: -6px; }

/* Schritte */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: schritt; }
.schritt {
  background: var(--weiss);
  border-radius: var(--rund);
  padding: 26px 24px;
  box-shadow: var(--schatten);
  position: relative;
}
.sand .schritt { background: var(--weiss); }
.schritt-nr {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--akzent-hell);
  color: var(--akzent-dunkel);
  font-weight: 800; font-size: 20px;
  margin-bottom: 14px;
}
.schritt-bild { height: 120px; display: grid; place-items: center; margin-bottom: 14px; background: var(--creme); border-radius: var(--rund-klein); color: var(--braun); }
.schritt-bild svg { height: 86px; width: auto; }
.schritt p { color: var(--text-leise); margin: 0; }
.nach-schritten {
  margin-top: 26px;
  display: flex; gap: 14px; align-items: center;
  background: var(--akzent-hell);
  border-radius: var(--rund);
  padding: 18px 22px;
  font-weight: 600;
}
.nach-schritten svg { width: 34px; height: 34px; flex: none; color: var(--akzent-dunkel); }

/* Für Betriebe */
.betrieb-raster { display: grid; gap: 28px; }
.dashboard {
  background: var(--braun);
  color: var(--creme);
  border-radius: var(--rund);
  padding: 28px 24px;
}
.dashboard h3 { color: var(--weiss); }
.dashboard .vorzeile { color: var(--sand); }
.dashboard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dashboard li { display: flex; gap: 12px; align-items: flex-start; }
.dashboard li svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: var(--sand); }
.zahlen-vorschau { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 22px; }
.zahlen-vorschau div { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 12px 10px; text-align: center; }
.zahlen-vorschau b { display: block; font-size: 22px; color: var(--sand); }
.zahlen-vorschau span { font-size: 12.5px; line-height: 1.25; display: block; color: rgba(251, 246, 239, 0.75); }
.zahlen-hinweis { font-size: 13px; color: rgba(251, 246, 239, 0.6); margin: -12px 0 18px; }

/* Vorteile */
.kacheln { display: grid; gap: 14px; grid-template-columns: 1fr; }
.kachel {
  background: var(--weiss);
  border-radius: var(--rund);
  padding: 24px 22px;
  border: 1px solid rgba(59, 42, 32, 0.07);
}
.kachel-symbol {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--sand-hell);
  color: var(--braun);
  margin-bottom: 14px;
}
.kachel-symbol svg { width: 26px; height: 26px; }
.kachel p { color: var(--text-leise); margin: 0; font-size: 17px; }

/* Beispiel-Karten */
.beispiele { display: grid; gap: 18px; grid-template-columns: 1fr; }
.beispiel { position: relative; }
.beispiel .pass { max-width: 360px; margin: 0 auto; }
.beispiel figcaption { text-align: center; font-size: 15px; color: var(--text-leise); margin-top: 10px; }
.beispiel .schild {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--weiss); color: var(--braun);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; z-index: 1;
  box-shadow: 0 4px 12px -6px rgba(59, 42, 32, 0.5);
}
.pass.baeckerei { --pass-bg: #c8893b; --pass-stempel: #fff3dc; --pass-leise: rgba(255, 255, 255, 0.8); }
.pass.friseur { --pass-bg: #2f3a45; --pass-stempel: #f0b8a8; }
.pass.eis { --pass-bg: #ffd6dc; --pass-text: #6a2a3a; --pass-leise: rgba(106, 42, 58, 0.65); --pass-stempel: #5bbfa1; }
.pass.eis .pass-logo { background: rgba(255, 255, 255, 0.6); color: #5bbfa1; }
.pass.eis .pass-stempel { background: rgba(255, 255, 255, 0.5); }
.pass.eis .pass-stempel span.voll { color: #fff; }
.beispiele-hinweis { text-align: center; color: var(--text-leise); font-size: 16px; margin-top: 26px; }

/* NFC-Stempel */
.nfc-raster { display: grid; gap: 36px; align-items: center; }
.nfc-bild {
  background: var(--braun-hell);
  border-radius: var(--rund);
  padding: 24px;
  display: grid;
  place-items: center;
}
.nfc-bild svg { width: min(360px, 100%); height: auto; }
.nfc-liste { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.nfc-liste li { display: flex; gap: 12px; }
.nfc-liste svg { width: 24px; height: 24px; flex: none; margin-top: 3px; color: var(--sand); }
.nfc-hinweis { font-size: 15px; color: rgba(251, 246, 239, 0.7); margin-top: 22px; }

/* Preise */
.preis-karte {
  background: var(--weiss);
  border-radius: var(--rund);
  padding: 30px 24px;
  box-shadow: var(--schatten);
  max-width: 720px;
}
.preis-zeilen { display: grid; gap: 14px; margin-bottom: 24px; }
.preis-zeile {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid rgba(59, 42, 32, 0.1);
}
.preis-zeile span { color: var(--text-leise); }
.preis-zeile b { font-size: 24px; }
.drin { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.drin li { display: flex; gap: 10px; }
.drin svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: var(--akzent); }

/* FAQ */
.fragen { max-width: 760px; display: grid; gap: 12px; }
.fragen details {
  background: var(--weiss);
  border-radius: var(--rund-klein);
  border: 1px solid rgba(59, 42, 32, 0.08);
}
.fragen summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-weight: 700;
  position: relative;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 28px; font-weight: 400; color: var(--akzent-dunkel);
}
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding: 0 22px 20px; margin: 0; color: var(--text-leise); }

/* Kontakt */
.kontakt-raster { display: grid; gap: 30px; }
.formular { display: grid; gap: 16px; background: var(--weiss); border-radius: var(--rund); padding: 26px 22px; box-shadow: var(--schatten); }
.formular label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.formular label span.opt { font-weight: 400; color: var(--text-leise); }
.formular input, .formular textarea {
  font: inherit;
  font-size: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #d8c7b4;
  background: var(--creme);
  color: var(--text);
  width: 100%;
}
.formular textarea { min-height: 130px; resize: vertical; }
.formular .knopf { width: 100%; }
.formular .recht { font-size: 14px; color: var(--text-leise); margin: 0; }
.meldung { font-weight: 700; color: var(--akzent-dunkel); margin: 0; min-height: 1.6em; }
.mail-box { background: var(--sand-hell); border-radius: var(--rund); padding: 24px 22px; }

/* Fuß */
.fuss { background: var(--braun); color: rgba(251, 246, 239, 0.8); padding: 40px 0; font-size: 15px; }
.fuss .innen { display: grid; gap: 18px; }
.fuss .marke { color: var(--creme); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 18px; }
.fuss a { color: var(--creme); }
.fuss .klein { font-size: 13px; color: rgba(251, 246, 239, 0.55); margin: 0; }

/* Unterseiten */
.unterseite { padding: 48px 0 80px; }
.unterseite .innen { max-width: 760px; }
.unterseite h2 { font-size: 24px; margin-top: 32px; }
.zurueck { display: inline-block; margin-bottom: 20px; font-weight: 700; }

/* Größere Bildschirme */
@media (min-width: 700px) {
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .beispiele { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .schritte { grid-template-columns: repeat(3, 1fr); }
  .zahlen-vorschau span { font-size: 13.5px; }
}

@media (min-width: 960px) {
  body { font-size: 19px; }
  .abschnitt { padding: 104px 0; }
  .kopf nav { display: flex; }
  .hero { padding: 72px 0 96px; }
  .hero .innen { grid-template-columns: 1.1fr 0.9fr; }
  .hero .knoepfe .knopf { flex: 0 0 auto; }
  .betrieb-raster { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .betrieb-raster .schritte { grid-template-columns: 1fr; }
  .kacheln { grid-template-columns: repeat(4, 1fr); }
  .nfc-raster { grid-template-columns: 1fr 1fr; gap: 64px; }
  .kontakt-raster { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .fuss .innen { grid-template-columns: 1fr auto; align-items: center; }
}
