/* EVMAN — public marketing site.
   Hand-written CSS on purpose: this page is served to strangers on phones over
   school-WLAN, so it ships no framework, no build step and no third-party font.
   The palette is the app's accent ramp (apps/web/src/styles.css) verbatim. */

:root {
  --accent-50: #f1f9fe;
  --accent-100: #d2edfe;
  --accent-200: #b1dffc;
  --accent-300: #80caf8;
  --accent-500: #1194e7;
  --accent-600: #0972b4; /* primary — 5.15:1 on white, AA as text */
  --accent-700: #0a5d91;
  --accent-900: #113d59;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --wrap: 68rem;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgb(17 24 39 / 0.04), 0 8px 24px -12px rgb(17 24 39 / 0.12);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent-700);
  text-underline-offset: 0.2em;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--accent-600);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--gray-900);
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.875rem);
  margin: 0 0 0.85rem;
}

h2 {
  font-size: clamp(1.375rem, 1.15rem + 1.1vw, 1.875rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.35rem;
}

p {
  text-wrap: pretty;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.narrow {
  max-width: 44rem;
}

section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.lead {
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  color: var(--gray-600);
  margin: 0 0 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin: 0 0 0.6rem;
}

/* --- header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--gray-900);
  text-decoration: none;
}

.brand img {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent-700);
}

/* .site-nav a would otherwise out-specify .btn-primary and paint the CTA's
   label grey on blue. */
.site-nav a.btn-primary {
  color: #fff;
}

/* The in-page anchors are a convenience, not the point of the page — below
   640px they would wrap the header into two rows, so only the CTA survives. */
@media (max-width: 40rem) {
  .site-nav a:not(.btn) {
    display: none;
  }
}

/* --- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-700);
}

.btn-secondary {
  background: #fff;
  color: var(--gray-800);
  border-color: var(--gray-200);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--gray-50);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- hero --- */

.hero {
  background:
    radial-gradient(60rem 30rem at 75% -10%, var(--accent-100), transparent 60%),
    linear-gradient(#fff, var(--gray-50));
  border-bottom: 1px solid var(--gray-200);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.hero .note {
  margin-top: 1.1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* --- generic grids --- */

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  background: var(--accent-50);
  color: var(--accent-600);
  margin-bottom: 0.9rem;
}

.card .icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.alt {
  background: var(--gray-50);
  border-block: 1px solid var(--gray-200);
}

/* --- product shots --- */

.shots {
  --bezel: 0.6rem;
  position: relative;
  margin-top: 3rem;
}

.shots-caption {
  max-width: 44rem;
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.shots figure {
  margin: 0;
}

.shot-browser {
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px rgb(17 24 39 / 0.05), 0 30px 60px -30px rgb(17 24 39 / 0.35);
}

.shot-browser .chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.shot-browser .chrome span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--gray-200);
}

.shot-browser .chrome .url {
  flex: 1;
  margin-left: 0.5rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--gray-200);
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
}

.shot-browser img,
.shot-phone img {
  display: block;
  width: 100%;
  height: auto;
}

/* .shots figure would otherwise out-specify this and kill the auto centering.
   Below the overlap breakpoint the two shots simply stack — overlapping them
   here buried the table under the phone. */
.shots .shot-phone {
  position: relative;
  margin: 1.75rem auto 0;
  width: min(15rem, 62%);
  border: var(--bezel) solid var(--gray-900);
  border-radius: 2.2rem;
  overflow: visible;
  background: var(--gray-900);
  box-shadow: 0 24px 48px -24px rgb(17 24 39 / 0.55);
}

.shot-phone img {
  border-radius: 1.6rem;
}

/* Side keys — without them the bezel reads as a picture frame, not a phone. */
.shot-phone .key {
  position: absolute;
  width: 0.16rem;
  background: var(--gray-800);
  border-radius: 0.1rem;
}

.shot-phone .key-action,
.shot-phone .key-vol-up,
.shot-phone .key-vol-down {
  left: calc(-1 * var(--bezel) - 0.14rem);
  border-radius: 0.1rem 0 0 0.1rem;
}

.shot-phone .key-power {
  right: calc(-1 * var(--bezel) - 0.14rem);
  border-radius: 0 0.1rem 0.1rem 0;
  top: 30%;
  height: 13%;
}

.shot-phone .key-action {
  top: 19%;
  height: 5%;
}
.shot-phone .key-vol-up {
  top: 27%;
  height: 7%;
}
.shot-phone .key-vol-down {
  top: 36%;
  height: 7%;
}

/* Wide enough to overlap the browser shot without covering the table. */
@media (min-width: 56rem) {
  .shots {
    padding-right: 12rem;
  }

  .shots .shot-phone {
    position: absolute;
    right: 0;
    bottom: -2rem;
    margin: 0;
    width: 15rem;
  }

  .shots-caption {
    margin-top: 4.5rem;
  }
}

/* --- price --- */

.center {
  text-align: center;
}

.center .lead,
.center .narrow {
  margin-inline: auto;
}

#preis h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  color: var(--accent-700);
}

.price-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* --- proof band --- */

.proof-band {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.proof li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-200);
}

.proof strong {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-700);
  line-height: 1.2;
}

.proof span {
  font-size: 0.9375rem;
  color: var(--gray-600);
  text-wrap: pretty;
}

/* --- steps --- */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--accent-600);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* --- checklist --- */

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checks li {
  font-size: 0.9375rem;
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--gray-600);
}

.checks li::before {
  content: "";
  margin-top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 3px solid var(--accent-500);
}

/* --- faq --- */

.faq details {
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent-600);
  font-weight: 700;
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* --- contact --- */

.contact {
  background: linear-gradient(160deg, var(--accent-900), var(--accent-700));
  color: #fff;
}

.contact h2 {
  color: #fff;
}

.contact p {
  color: var(--accent-100);
}

.contact .btn-primary {
  background: #fff;
  color: var(--accent-700);
}

.contact .btn-primary:hover {
  background: var(--accent-50);
}

.contact a:not(.btn) {
  color: #fff;
}

.contact-alt {
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

/* --- footer --- */

.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  font-size: 0.875rem;
  padding-block: 2.5rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.site-footer a {
  color: var(--gray-200);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* --- legal pages --- */

.legal {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.legal h1 {
  font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.125rem);
}

.legal h2 {
  font-size: 1.125rem;
  margin-top: 2.25rem;
}

.legal dl {
  margin: 0 0 1.5rem;
}

.legal dt {
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 0.75rem;
}

.legal dd {
  margin: 0;
  color: var(--gray-600);
}

.legal .todo {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  color: #78350f;
  font-size: 0.875rem;
}
