/* Autoakte – autoakte.apps.tsojka.com */

:root {
  --blue: #0038a8;          /* Euro-Kennzeichen-Blau, wie in der App */
  --blue-deep: #0a1b45;
  --sky: #eaf1fb;
  --bg: #fafbfd;
  --surface: #ffffff;
  --ink: #16213a;
  --muted: #5a6784;
  --line: #dde4ef;
  --ok: #178a43;
  --warn: #dc8a0b;
  --due: #cc2f26;
  --plate-bg: #ffffff;
  --plate-ink: #14181f;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #4d7fe0;
    --blue-deep: #060e24;
    --sky: #131c38;
    --bg: #0c1226;
    --surface: #141b34;
    --ink: #e8ecf6;
    --muted: #9aa6c4;
    --line: #26304f;
    --ok: #3dbb6e;
    --warn: #eda93f;
    --due: #ef6f66;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Kennzeichen-Label (Signatur) ---------- */

.plate {
  display: inline-flex;
  align-items: stretch;
  background: var(--plate-bg);
  color: var(--plate-ink);
  border: 2px solid var(--plate-ink);
  border-radius: 7px;
  overflow: hidden;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.plate .eu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: #0038a8; /* das Band bleibt immer Euro-blau */
  color: #ffd617;
  padding: 0.3rem 0.32rem;
  font-size: 0.5rem;
  letter-spacing: 0;
}

.plate .eu .d { color: #fff; font-size: 0.62rem; }

.plate .txt { padding: 0.5rem 0.7rem 0.42rem; align-self: center; }

/* ---------- Kopfzeile ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.site-header img { width: 34px; height: 34px; border-radius: 8px; }

.site-header .name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-right: auto;
}

.site-header nav { display: flex; gap: 1.1rem; font-size: 0.92rem; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--blue); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(60rem 30rem at 85% -20%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--sky), var(--bg));
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 1.1rem 0 0;
}

.hero h1 .accent { color: var(--blue); }

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 1.2rem 0 1.8rem;
  max-width: 34rem;
}

.cta-row { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 12px;
  padding: 0.65rem 1.15rem;
  line-height: 1.15;
}
.appstore-btn:hover { text-decoration: none; opacity: 0.85; }
.appstore-btn svg { width: 22px; height: 26px; flex: none; }
.appstore-btn .small { display: block; font-size: 0.62rem; letter-spacing: 0.02em; opacity: 0.85; }
.appstore-btn .big { display: block; font-size: 1.12rem; font-weight: 600; letter-spacing: 0; }
@media (prefers-color-scheme: dark) {
  .appstore-btn { background: #fff; color: #000; border-color: #fff; }
}

.price-note { font-size: 0.92rem; color: var(--muted); }
.price-note strong { color: var(--ink); }

/* iPhone-Rahmen */

.phone {
  border: 10px solid #10131a;
  border-radius: 46px;
  background: #10131a;
  box-shadow: 0 24px 60px -24px rgba(10, 27, 69, 0.55);
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
}
.phone img { border-radius: 36px; }

/* ---------- Sektionen ---------- */

section { padding: 4.2rem 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { max-width: 40rem; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 800;
  margin: 1rem 0 0.6rem;
}
.section-head p { color: var(--muted); margin: 0; }

/* Feature-Zeilen mit Screenshot */

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.feature-row.flip .phone-col { order: -1; }
.feature-row .phone { max-width: 260px; }

.feature-row ul { margin: 1.3rem 0 0; padding: 0; list-style: none; }
.feature-row li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.75rem;
}
.feature-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--blue);
}
.feature-row li strong { font-weight: 650; }

/* „Als Nächstes“-Karte */

.next-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.4rem;
  max-width: 24rem;
  margin: 0 auto;
  box-shadow: 0 18px 44px -28px rgba(10, 27, 69, 0.4);
}
.next-card .next-head {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.next-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}
.next-row .dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; flex: none; }
.next-row .dot.ok { background: var(--ok); }
.next-row .dot.warn { background: var(--warn); }
.next-row .dot.due { background: var(--due); }
.next-row .what { font-weight: 600; font-size: 0.95rem; }
.next-row .when {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
}
.next-card .ampel-row { margin-top: 1.1rem; }

.plate.mini { font-size: 0.68rem; letter-spacing: 0.1em; border-width: 1.5px; border-radius: 5px; flex: none; }
.plate.mini .txt { padding: 0.34rem 0.45rem 0.3rem; }
.plate.mini .eu { padding: 0.2rem 0.24rem; font-size: 0.42rem; }
.plate.mini .eu .d { font-size: 0.5rem; }

/* Ampel-Chips */

.ampel-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.ampel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--mono);
}
.ampel::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.ampel.ok::before { background: var(--ok); }
.ampel.warn::before { background: var(--warn); }
.ampel.due::before { background: var(--due); }

/* Karten-Raster */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Privat by Design ---------- */

.privacy {
  background:
    radial-gradient(50rem 26rem at 15% -30%, rgba(77, 127, 224, 0.35), transparent 60%),
    var(--blue-deep);
  color: #e8ecf6;
  border-top: none;
}
.privacy .section-head h2 { color: #fff; }
.privacy .section-head p { color: #aeb9d9; }
.privacy .plate { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.privacy-grid .item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.privacy-grid h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}
.privacy-grid h3::before { content: "✓"; color: #6fd398; font-weight: 800; }
.privacy-grid p { margin: 0; font-size: 0.92rem; color: #aeb9d9; }
.privacy .foot { margin-top: 2rem; font-size: 0.95rem; color: #aeb9d9; max-width: 44rem; }
.privacy .foot a { color: #9dbcf5; }

/* ---------- Preise ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
  max-width: 46rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}
.price-card.pro { border-color: var(--blue); border-width: 2px; }
.price-card .tier { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-card .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.3rem 0 0.1rem; font-family: var(--mono); }
.price-card .per { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.price-card ul { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.price-card li { padding-left: 1.4rem; position: relative; margin-bottom: 0.45rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* ---------- Support ---------- */

.support .card {
  margin-top: 2rem;
  max-width: 34rem;
  font-size: 1rem;
}
.support .card p { font-size: 1rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .wrap { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.site-footer .copy { margin-right: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue); }

/* ---------- Textseiten (Datenschutz, Impressum) ---------- */

.legal { padding: 3.2rem 0 4.5rem; }
.legal .wrap { max-width: 44rem; }
.legal h1 { font-size: 2rem; letter-spacing: -0.02em; margin: 1rem 0 0.3rem; }
.legal .stand { color: var(--muted); font-size: 0.92rem; margin-top: 0; }
.legal h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 2.2rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.3rem; }
.legal li { margin-bottom: 0.4rem; }
.legal address { font-style: normal; line-height: 1.7; }

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; }
  .phone { max-width: 250px; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.flip .phone-col { order: 0; }
  .feature-row .phone { max-width: 230px; }
  section { padding: 3.2rem 0; }
  .site-header nav { gap: 0.8rem; font-size: 0.88rem; }
}
