:root {
    --primary: #14b8a6;
    --primary-dark: #0f766e;
    --primary-light: #e6fffb;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --surface: #fff;
    --background: #f8fafc;
    --border: #e2e8f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: system-ui, sans-serif; line-height: 1.65; }
img, object { display: block; max-width: 100%; height: auto; }
figure, p { margin: 0; }
a { color: inherit; }
.container { width: min(100% - 32px, 1120px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 5; padding: 8px 16px; color: var(--ink); background: var(--surface); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 4px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.05em; text-decoration: none; line-height: 1; }
.brand svg { width: 35px; height: 35px; color: var(--primary-dark); }
.brand-accent, .site-footer strong span { color: var(--primary-dark); }
.site-nav { display: none; gap: 30px; color: var(--text); font-size: .9rem; font-weight: 600; }
.site-nav a, .header-cta { text-decoration: none; }
.site-nav a:hover, .header-cta:hover { color: var(--primary-dark); }
.header-cta { font-size: .875rem; font-weight: 700; white-space: nowrap; }
.header-cta span { margin-left: 4px; color: var(--primary-dark); }

.hero { overflow: hidden; background: linear-gradient(145deg, #f8fffe 0%, var(--primary-light) 100%); }
.hero-grid { display: grid; gap: 48px; align-items: center; padding-block: 72px; }
.eyebrow { margin-bottom: 16px; color: var(--primary-dark); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.15; }
h1 { max-width: 650px; font-size: clamp(2.7rem, 8vw, 4.65rem); }
h1 span { color: var(--primary-dark); }
h2 { max-width: 720px; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.15rem; }
.lead { max-width: 590px; margin-top: 24px; color: var(--text); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-emphasis { margin-top: 20px; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; border: 1px solid transparent; border-radius: 20px; font-weight: 700; text-decoration: none; }
.button-primary { color: var(--ink); background: var(--primary); }
.button-primary:hover { background: #2dd4bf; }
.button-outline { border-color: #94a3b8; color: var(--ink); background: var(--surface); }
.button-outline:hover { border-color: var(--primary-dark); }
.hero-note, .fine-print { margin-top: 20px; color: var(--muted); font-size: .875rem; }

.hero-visual { width: min(100%, 378px); margin-inline: auto; }
.hero-visual img { width: 100%; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 20px 50px rgb(15 23 42 / 14%); }
.hero-visual figcaption { margin-top: 12px; color: var(--text); font-size: .8rem; text-align: center; }

.section { padding-block: 80px; }
.section-soft { background: var(--background); }
.split { display: grid; gap: 24px; }
.section-copy { color: var(--text); font-size: 1.06rem; }
.section-copy p + p { margin-top: 16px; }
.manifest-title span { color: var(--primary-dark); }
.manifest-copy { display: grid; gap: 20px; margin-top: 36px; }
.manifest-copy::before { width: 64px; height: 5px; border-radius: 3px; background: var(--primary); content: ""; }
.manifest-copy p + p { margin-top: 0; }
.manifest-closing { margin-top: 40px; color: var(--primary-dark); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.section-heading > p:last-child { max-width: 630px; margin-top: 20px; color: var(--text); }
#branchen .section-heading > p:last-child { max-width: none; }
.journey-visual { width: 100%; margin-top: 36px; }
.journey { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.journey li { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 50%; color: var(--primary-dark); background: var(--primary-light); font-size: .8rem; font-weight: 800; }
.journey h3 { overflow-wrap: anywhere; }
.journey p { margin-top: 10px; color: var(--text); font-size: .9rem; }
.time-comparison { margin-top: 64px; }
.comparison-row { display: grid; gap: 12px; margin-top: 24px; }
.comparison-bar { display: flex; gap: 4px; min-width: 0; }
.comparison-bar span { display: flex; min-height: 56px; align-items: center; justify-content: center; padding: 8px 4px; border-radius: 16px; font-size: clamp(.7rem, 2vw, .9rem); font-weight: 700; text-align: center; }
.comparison-wait { flex: 4; background: #fbbf24; }
.comparison-pickup { flex: 1; color: var(--surface); background: var(--muted); }
.comparison-scan { flex: 1; background: var(--primary); }
.comparison-time { flex: 3; border: 1px solid var(--border); background: var(--primary-light); }
.comparison-ready { flex: 1; background: #4ade80; }
.product-intro { margin-bottom: 36px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 7px 12px; border-radius: 999px; color: var(--primary-dark); background: var(--primary-light); font-size: .8rem; font-weight: 700; }
.product-frame { overflow: hidden; padding: 10px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 30px rgb(15 23 42 / 7%); }
.product-frame img { width: 100%; border-radius: 16px; }
.product-frame figcaption { padding: 12px 8px 4px; color: var(--muted); font-size: .8rem; }

.section-dark { color: var(--surface); background: var(--ink); }
.section-dark .eyebrow { color: #5eead4; }
.section-dark .section-copy { color: #d3e2e4; }
.section-dark .wallet-note { color: #b7c9d4; font-size: .875rem; }
.wallet-layout { display: grid; gap: 32px; align-items: center; }
#wallet-title span { display: block; }
.wallet-visual { max-width: 920px; margin: 24px auto 0; }
.wallet-visual object { width: 100%; }
.wallet-visual figcaption { color: #b7c9d4; font-size: .8rem; text-align: center; }

.test-options { display: grid; gap: 16px; margin-top: 36px; }
.test-options article { padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.test-options p { margin-top: 12px; color: var(--text); }
.start-page { min-height: 65vh; padding-block: 72px 96px; background: var(--background); }
.start-page .test-options h2 { font-size: 1.4rem; }
.start-qr { width: min(220px, 100%); margin-top: 20px; border: 1px solid var(--border); border-radius: 12px; }
.test-options .start-url { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.industry-grid { display: grid; gap: 16px; margin-top: 36px; }
.industry-card { padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: 0 10px 24px rgb(15 23 42 / 4%); }
.industry-card svg { display: block; width: 100%; height: 120px; margin-bottom: 24px; padding: 16px; border-radius: 18px; fill: none; stroke: var(--primary-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; background: var(--primary-light); }
.industry-card p { margin-top: 10px; color: var(--text); font-size: .9rem; }

.faq-layout { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 22px 40px 22px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 18px; right: 4px; color: var(--primary-dark); content: "+"; font-size: 1.5rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 40px 22px 0; color: var(--text); }

.contact-section { padding-top: 0; }
.contact-panel { display: grid; gap: 28px; padding: 36px 24px; border-radius: 32px; background: var(--primary-light); }
.contact-panel p:not(.eyebrow) { max-width: 550px; margin-top: 18px; color: var(--text); }
.contact-actions { display: flex; flex-wrap: wrap; align-content: center; gap: 12px; }
.contact-email { align-self: center; padding: 8px; color: var(--primary-dark); font-weight: 700; }
.back-to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 4; display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--primary-dark); border-radius: 999px; color: var(--surface); background: var(--primary-dark); box-shadow: 0 6px 18px rgb(15 23 42 / 20%); font-size: .85rem; font-weight: 700; text-decoration: none; }
.back-to-top:hover { background: var(--ink); }
.site-footer { padding-block: 44px; color: var(--surface); background: var(--ink); }
.footer-inner { display: grid; gap: 28px; }
.site-footer strong { font-size: 1.4rem; letter-spacing: -.05em; }
.site-footer strong span { color: var(--primary); }
.site-footer p { margin-top: 8px; color: #cbd5e1; font-size: .85rem; }
.site-footer a { font-weight: 700; text-underline-offset: 4px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 12px 24px; }
.footer-links p { flex-basis: 100%; }
.legal-page { max-width: 760px; padding-block: 64px 96px; }
.legal-page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.legal-page h2 { margin-top: 36px; font-size: 1.4rem; }
.legal-page p, .legal-page ul { margin-top: 16px; color: var(--text); }
.legal-notice { padding: 20px; border: 1px solid var(--primary-dark); border-radius: 20px; background: var(--primary-light); }

@media (max-width: 599px) {
    .hero-grid { gap: 24px; padding-block: 40px 56px; }
    .hero-copy .lead { margin-top: 16px; }
    .hero-copy .actions { margin-top: 20px; }
    .hero-note { margin-top: 12px; }
}

@media (min-width: 600px) {
    .container { width: min(100% - 48px, 1120px); }
    .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .test-options, .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 800px) {
    .site-nav { display: flex; }
    .header-inner { min-height: 80px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; padding-block: 110px; }
    .section { padding-block: 110px; }
    .split { grid-template-columns: 1fr 1fr; gap: 64px; }
    .wallet-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
    .manifest-copy { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
    .manifest-copy::before { grid-column: 1 / -1; }
    .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .journey li { padding: 20px; }
    .journey li:not(:last-child)::after { position: absolute; top: 28px; right: -14px; z-index: 1; width: 16px; color: var(--primary-dark); background: var(--background); content: "\2192"; font-weight: 800; text-align: center; }
    .industry-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .comparison-row { grid-template-columns: 180px 1fr; align-items: center; gap: 24px; }
    .faq-layout { grid-template-columns: 1fr 1fr; gap: 72px; }
    .contact-section { padding-top: 0; }
    .contact-panel { grid-template-columns: 1fr auto; align-items: center; padding: 56px; }
    .contact-actions { max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
