* { box-sizing: border-box; }
body { margin: 0; color: #172235; background: #fff; font: 1rem -apple-system, BlinkMacSystemFont, sans-serif; height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; }
:focus-visible { outline: 2px solid #0957d6; outline-offset: 3px; }
.site-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem max(5vw, calc((100vw - 72rem) / 2)); border-bottom: 1px solid #dee3eb; background: white; }
.site-nav a { text-decoration: none; font-weight: 600; }
.site-nav a:hover, .language-option[aria-current], .intro a:hover { text-decoration: underline; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1rem, 3vw, 3rem); }
.nav-toggle { display: none; background: none; border: none; color: inherit; font: inherit; cursor: pointer; min-height: 44px; }
.nav-language { margin-left: auto; }
.language-switch { max-width: 40rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.menu-ready .language-toggle { display: block; text-decoration: underline; }
.menu-ready .language-switch { display: none; }
.menu-ready .language-switch, .menu-ready .nav-links { background: white; }
.menu-ready .language-switch { position: absolute; top: 100%; right: max(5vw, calc((100vw - 72rem) / 2)); min-width: 10rem; max-height: 70dvh; overflow: auto; padding: .5rem; border: 1px solid #d7deea; border-radius: .7rem; box-shadow: 0 8px 30px #14294224; }
.menu-ready .language-toggle[aria-expanded="true"] + .language-switch { display: grid; gap: 0; }
.language-switch a { padding: .45rem .7rem; }
.language-option, main > section { display: none; }
body:not(:has(main > :target)) .lang-home, body:has(#home:target) .lang-home, body:has(#faq:target) .lang-faq, body:has(#privacy:target) .lang-privacy, body:has(#impressum:target) .lang-impressum { display: block; }
main { min-height: 0; overflow: auto; }
main > section:target, main:not(:has(> :target)) > #home { display: block; }
body:not(:has(main > :target)) a[href="#home"], body:has(#home:target) a[href="#home"], body:has(#faq:target) a[href="#faq"], body:has(#privacy:target) a[href="#privacy"], body:has(#impressum:target) a[href="#impressum"] { text-decoration: underline; }
.home { padding: clamp(2rem,6vw,5rem) 0; text-align: center; }
.intro, .description, .legal { margin-inline: auto; padding-inline: 1.5rem; max-width: 48rem; }
h1 { font-size: clamp(2.1rem,5vw,4rem); margin: 0 0 1.6rem; text-wrap: balance; }
/* Match the Tap to Pay title and badge scale, including its 92px navigation allowance. */
.intro {
  --hero-gap: clamp(24px, 4vw, 80px);
  --hero-unit: min(calc((100vw - 3 * var(--hero-gap)) / 70), calc((100dvh - 92px - var(--hero-gap)) / 55));
}
.intro h1 { font-size: calc(5 * var(--hero-unit)); font-weight: 600; margin-bottom: var(--hero-unit); }
.intro a { text-decoration: none; }
.description { margin-top: 2rem; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.description p { margin: .6em 0; }
.description p:first-child { font-size: 1.2em; font-weight: 600; }
.screens { max-width: 64rem; margin: 2.25rem auto 0; padding-inline: 1.5rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.6rem,2vw,1.5rem); }
.screens img { display: block; width: 100%; height: auto; }
.legal { padding-block: 2.5rem; overflow-wrap: anywhere; }
.legal h2 { font-size: clamp(2rem,5vw,2.7rem); }
.legal summary { padding: .8rem 0; cursor: pointer; font-weight: 600; }
@media (max-width: 720px) {
  .intro { --hero-unit: min(calc((100vw - 48px) / 40), calc((100dvh - 92px) / 90)); }
  .menu-ready .nav-toggle { display: block; }
  .menu-ready .nav-links { display: none; position: absolute; top: 100%; left: 5vw; padding: .75rem 1rem; border: 1px solid #d7deea; border-radius: .7rem; box-shadow: 0 8px 30px #14294224; }
  .menu-ready .nav-toggle[aria-expanded="true"] + .nav-links { display: grid; gap: .6rem; }
  .screens { display: flex; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; }
  .screens img { flex: 0 0 min(70vw,19rem); width: min(70vw,19rem); scroll-snap-align: center; }
}
.privacy-entry .lang-privacy { display: block; }
.privacy-entry .site-nav [aria-current="page"] { text-decoration: underline; }

.download-badge { display: block; width: calc(19.6 * var(--hero-unit)); margin: 0 auto 1.25rem; }
.download-badge img { display: block; width: 100%; height: auto; }
