/* Produktseite etzala.com (deploy/site). Farben und Formen nach DESIGN.md; Schrift aus dem System,
   damit die Seite ohne Webfonts und unter derselben CSP wie die SPA läuft. */
:root {
  color-scheme: light;
  --ink: #1c1c1e;
  --ink-deep: #050038;
  --slate: #555a6a;
  --steel: #6b6f7e;
  --muted: #a5a8b5;
  --canvas: #ffffff;
  --surface: #f7f8fa;
  --surface-yellow: #fff8e0;
  --yellow: #ffd02f;
  --yellow-light: #fff4c4;
  --yellow-dark: #746019;
  --teal-light: #c3faf5;
  --coral-light: #ffc6c6;
  --rose: #ffd8f4;
  --blue: #4262ff;
  --blue-light: #e1e6ff;
  --green-light: #dcf3e3;
  --green-dark: #1f7a33;
  --hairline: #e0e2e8;
  --hairline-soft: #eef0f3;
  --hairline-strong: #c7cad5;
  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
svg { display: block; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; top: 12px; }
.skip:focus { left: 16px; z-index: 20; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Kopf */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 32px; height: 32px; }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.top-nav a { color: var(--slate); text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
.top-nav a.btn { color: #fff; }

/* Buttons: schwarze Pillen (DESIGN.md button-primary) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--hairline-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* Einstieg */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--surface-yellow) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-dark);
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  text-wrap: balance;
}
.lead { margin: 0 0 28px; max-width: 34rem; font-size: 18px; color: var(--slate); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--steel); }

/* Illustration: vereinfachte Heute-Ansicht der App */
.phone {
  justify-self: center;
  width: 100%;
  max-width: 310px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 36px;
  box-shadow: 0 28px 60px -28px rgba(5, 0, 56, 0.3);
}
.phone-screen { overflow: hidden; border: 1px solid var(--hairline-soft); border-radius: 26px; }
.phone-bar { padding: 12px; background: var(--yellow); font-size: 15px; font-weight: 700; text-align: center; }
.phone-body { display: grid; gap: 12px; padding: 16px; }
.phone-date { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow-dark); }
.phone-title { margin: -6px 0 0; font-size: 21px; font-weight: 700; }
.mini-card { padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 16px; }
.mini-card strong { display: block; font-size: 15px; font-weight: 600; }
.mini-card span { display: block; font-size: 13px; color: var(--steel); }
.badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
}
.mini-btn { margin-top: 10px; padding: 9px; border-radius: 9999px; background: var(--yellow); font-size: 13px; font-weight: 700; text-align: center; }
.mini-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface-yellow); }
.mini-stat span { font-size: 13px; color: var(--slate); }
.mini-stat b { font-family: var(--mono); font-size: 17px; white-space: nowrap; }

/* Abschnitte */
section { padding: 80px 0; }
section.alt { background: var(--surface); }
h2 {
  margin: 0 0 12px;
  font-size: clamp(27px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  text-wrap: balance;
}
h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.section-lead { margin: 0 0 40px; max-width: 42rem; font-size: 17px; color: var(--slate); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { padding: 26px; background: #fff; border: 1px solid var(--hairline); border-radius: 20px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 9999px;
  background: var(--yellow);
  font-weight: 700;
}
.steps p, .feature p, .panel p { margin: 0; font-size: 15px; color: var(--slate); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; background: var(--surface); border-radius: 20px; }
.icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; }
.icon svg { width: 22px; height: 22px; }
.tint-yellow { background: var(--yellow-light); }
.tint-teal { background: var(--teal-light); }
.tint-coral { background: var(--coral-light); }
.tint-rose { background: var(--rose); }
.tint-blue { background: var(--blue-light); }
.tint-green { background: var(--green-light); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.text-link { font-weight: 600; text-underline-offset: 3px; }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 26px; background: #fff; border: 1px solid var(--hairline); border-radius: 20px; }

.contact {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
  padding: 52px;
  background: var(--ink);
  border-radius: 28px;
  color: #fff;
}
.contact h2 { color: #fff; }
.contact p { margin: 0 0 12px; color: #d4d6de; }
.contact .fine { margin: 0; font-size: 14px; color: var(--muted); }
.contact-actions { display: grid; gap: 12px; justify-items: start; }
.contact .btn-primary { background: var(--yellow); color: var(--ink); }
.contact .btn-primary:hover { background: #ffdb5c; }
.contact .mail { font-family: var(--mono); font-size: 15px; color: #fff; }

/* Fuß */
.site-footer { padding: 32px 0; background: var(--ink); color: var(--muted); font-size: 14px; border-top: 1px solid #2c2c34; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .hero .wrap, .split, .contact { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .contact { padding: 36px 28px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-nav { gap: 14px; }
  .top-nav .hide-sm { display: none; }
  .hero { padding: 44px 0 52px; }
  .hero .wrap { gap: 40px; }
  section { padding: 60px 0; }
  .steps, .features, .panels { grid-template-columns: 1fr; }
  .contact { padding: 32px 22px; border-radius: 24px; }
  .btn { white-space: normal; text-align: center; }
  .top-nav .btn { white-space: nowrap; }
}

/* Installationsseite (/install) */
.install-hero { padding: 56px 0 24px; background: linear-gradient(180deg, var(--surface-yellow) 0%, #fff 100%); }
.install-hero h1 { font-size: clamp(32px, 4.6vw, 46px); }
.jump { display: flex; flex-wrap: wrap; gap: 12px; }
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.device { padding: 28px; background: #fff; border: 1px solid var(--hairline); border-radius: 24px; scroll-margin-top: 84px; }
.device h2 { font-size: 26px; margin-bottom: 4px; }
.device .hint { margin: 0 0 20px; font-size: 15px; color: var(--slate); }
.howto + .hint { margin: 20px 0 0; }
.howto { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: howto; }
.howto li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.howto li::before {
  counter-increment: howto;
  content: counter(howto);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--yellow);
  font-weight: 700;
}
.howto h3 { margin: 6px 0 4px; font-size: 17px; }
.howto p { margin: 0 0 10px; font-size: 15px; color: var(--slate); }
.howto .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 920px) {
  .devices, .notes { grid-template-columns: 1fr; }
}
