/* QR & Barcode Scanner Pur: eigener Auftritt, unabhaengig von der Firmenseite.
 *
 * Alles hier kommt aus der App (Stand 16.11.2026, Version 1.3.1):
 *   Tiefgruen     die Hauptfarbe (#1B5E20), Knoepfe als gefuellte Pillen
 *   Dunkel        der Grund der ganzen Seite, wie der Kamerasucher (seit 16.11.2026 statt Creme,
 *                 damit die Seite nicht wie die beige Firmenseite wirkt)
 *   Scanrahmen    vier orange Ecken um den Code
 *   Sucher        der dunkle Kamerabildschirm
 *   Etikett       das kleine gruene Schild ueber dem Ergebnis ("QR CODE", "WIFI")
 * Farben aus den Store-Bildern gemessen. Schrift ist die des Systems, wie in der App.
 */
:root {
    --gruen: #1B5E20; --gruen-tief: #124116; --gruen-licht: #8FD398; --grund: #111311; --flaeche: #1B201C; --band: #0F2A14;
    --orange: #F57C00; --tinte: #17231A; --hell: #ECF2EC; --matt: #A6B3A8; --linie: #2F3A31; --dunkel: #151515; --breite: 1060px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--hell); background: var(--grund); font-family: 'Segoe UI', Roboto, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; font-size: 1.05rem; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--gruen-licht); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 0.9rem; max-width: 60ch; }
.bahn { max-width: var(--breite); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.teil { padding-top: clamp(2.6rem, 7vw, 4.2rem); padding-bottom: clamp(2.6rem, 7vw, 4.2rem); }
.matt { color: var(--matt); }
.etikett { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 6px; background: var(--gruen); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Kopf: gruen wie der erste Bildschirm ---------- */
.kopf { background: linear-gradient(180deg, #1F6B25, var(--gruen-tief)); color: #fff; padding: clamp(1.4rem, 4vw, 2.6rem) 0 clamp(2.4rem, 6vw, 3.6rem); }
.kopf .bahn { display: grid; gap: 2.4rem 3rem; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
.zeile-marke { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.5rem; font-weight: 700; color: #CFE5D1; }
.zeile-marke img { width: 46px; height: 46px; border-radius: 12px; }
.unter { font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 600; margin: 0.7rem 0 1rem; color: #E6F2E7; }
.knopf { display: inline-block; padding: 0.8rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; color: #fff; background: var(--gruen); }
.knopf:hover { background: var(--gruen-tief); }
.kopf .knopf { background: #fff; color: var(--gruen-tief); }
.kopf .knopf:hover { background: #DCEBDD; }
.knopf.rand { background: transparent; color: var(--gruen-licht); border-color: var(--gruen-licht); }
.knopf.rand:hover { background: var(--flaeche); }
.reihe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.klein { margin-top: 1rem; font-size: 0.95rem; }
.kopf .klein { color: #CFE5D1; }

/* Der Sucher mit Scanrahmen und Ergebnisblatt */
.sucher { background: var(--dunkel); border-radius: 30px; padding: 1.4rem 1.2rem 0; max-width: 380px; width: 100%; justify-self: center; overflow: hidden; box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.8); }
.sucher .hinweis { display: block; text-align: center; color: #D9D9D9; font-size: 0.82rem; background: #2A2A2A; border-radius: 999px; padding: 0.3rem 0.8rem; margin: 0 auto 1.2rem; width: max-content; max-width: 100%; }
.rahmen { position: relative; width: 190px; height: 190px; margin: 0 auto 1.4rem; background: #fff; border-radius: 6px; display: grid; place-items: center; }
.rahmen::before { content: ''; position: absolute; inset: -9px; border-radius: 12px;
    background:
        linear-gradient(var(--orange), var(--orange)) 0 0 / 34px 4px no-repeat, linear-gradient(var(--orange), var(--orange)) 0 0 / 4px 34px no-repeat,
        linear-gradient(var(--orange), var(--orange)) 100% 0 / 34px 4px no-repeat, linear-gradient(var(--orange), var(--orange)) 100% 0 / 4px 34px no-repeat,
        linear-gradient(var(--orange), var(--orange)) 0 100% / 34px 4px no-repeat, linear-gradient(var(--orange), var(--orange)) 0 100% / 4px 34px no-repeat,
        linear-gradient(var(--orange), var(--orange)) 100% 100% / 34px 4px no-repeat, linear-gradient(var(--orange), var(--orange)) 100% 100% / 4px 34px no-repeat; }
.rahmen svg { width: 150px; height: 150px; }
.rahmen i { position: absolute; left: 8%; right: 8%; top: 12%; height: 3px; background: rgba(27, 94, 32, 0.75); border-radius: 2px; animation: lesen 2.6s ease-in-out infinite alternate; }
@keyframes lesen { to { top: 86%; } }
.ergebnis { background: #fff; color: var(--tinte); border-radius: 20px 20px 0 0; padding: 1rem 1.1rem 1.2rem; }
.ergebnis b { display: block; margin: 0.45rem 0 0.8rem; font-size: 0.98rem; overflow-wrap: anywhere; }
.ergebnis .knopf { display: block; text-align: center; padding: 0.55rem 1rem; font-size: 0.92rem; }
.ergebnis .paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }

/* ---------- Was im Code steckt ---------- */
.arten { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); margin-top: 1.3rem; }
.art { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; padding: 1rem 1.1rem; }
.art p { margin: 0.5rem 0 0; font-size: 0.96rem; max-width: none; }

/* ---------- Link-Putzer ---------- */
.band { background: var(--band); }
.putzer { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 1.2rem 1.3rem; max-width: 760px; margin-top: 1.2rem; }
.putzer label { font-weight: 700; display: block; margin-bottom: 0.4rem; }
.putzer input { width: 100%; padding: 0.7rem 0.9rem; border: 2px solid var(--gruen-licht); border-radius: 10px; font: inherit; font-size: 0.95rem; color: var(--hell); background: var(--grund); }
.putzer .aus { margin: 1rem 0 0; padding: 0.8rem 0.9rem; border-radius: 10px; background: var(--grund); font-family: Consolas, 'Courier New', monospace; font-size: 0.92rem; overflow-wrap: anywhere; min-height: 2.8rem; }
.putzer .aus s { color: #FF8A65; }
.putzer .zaehler { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--matt); }

.streifen { display: flex; gap: 1rem; overflow-x: auto; padding: 0.4rem 1.25rem 1.2rem; scroll-snap-type: x mandatory; max-width: calc(var(--breite) + 2.5rem); margin: 1.2rem auto 0; }
.streifen img { flex: 0 0 auto; width: min(62vw, 240px); border-radius: 18px; scroll-snap-align: start; display: block; }

.codes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.codes li { padding: 0.25rem 0.75rem; border-radius: 999px; border: 1.5px solid var(--gruen-licht); color: var(--gruen-licht); font-weight: 600; font-size: 0.92rem; background: transparent; }
.zwei { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; }
.kasten { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; padding: 1.3rem 1.4rem; }
.kasten.pro { border: 2px solid var(--orange); }
.kasten ul { margin: 0.6rem 0 0; padding-left: 1.15rem; }
.kasten li { margin-bottom: 0.3rem; }

.fragen details { border-top: 1px solid var(--linie); max-width: 800px; }
.fragen details:last-of-type { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: 0.95rem 0; font-weight: 700; }
.fragen details p { padding-bottom: 0.9rem; margin: 0; }

.fuss { background: #080908; color: #D5D5D5; border-top: 1px solid var(--linie); padding: 2rem 0 2.4rem; font-size: 0.96rem; }
.fuss a { color: #fff; margin-right: 1.3rem; }
.fuss p { margin: 0.9rem 0 0; color: #9A9A9A; max-width: 80ch; font-size: 0.9rem; }

@media (max-width: 800px) { .kopf .bahn { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rahmen i { animation: none; top: 50%; } }
