/* Open Park, Landingpage. Gestaltung nach Mockup L01, ohne externe Schriften und ohne Inline-Stile (CSP). */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-mono-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #f4f3ee;
  --surface: #ffffff;
  --ink: #15201b;
  --ink-2: #26332d;
  --ink-3: #2a3832;
  --muted: #45514b;
  --line: #d9d7ce;
  --line-2: #e4e2d9;
  --on-dark: #ffffff;
  --on-dark-muted: #d6dbd8;
  --on-dark-faint: #c9d1cd;
  --green: #0a6b4e;
  --green-ink: #0a5a41;
  --green-deep: #064a36;
  --green-soft: #e2f0e8;
  --yellow: #ffd34d;
  --yellow-hover: #ffe07f;
  --notice: #eceae2;
  --warn-bg: #fff0c7;
  --warn-ink: #5e4300;
  --warn-line: #c98a00;
  --warn-rule: #e0c98a;
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, monospace;
  --gutter: 32px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-deep);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.notice {
  margin: 0;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  background: var(--notice);
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn-sm {
  min-height: 44px;
  font-size: 16px;
}

.by {
  background: var(--yellow);
  color: var(--ink);
}

.by:hover {
  background: var(--yellow-hover);
  color: var(--ink);
}

.bo {
  background: transparent;
  color: var(--on-dark);
  border: 2px solid var(--on-dark);
}

.bo:hover {
  background: var(--ink-2);
  color: var(--on-dark);
}

.bp {
  background: var(--ink);
  color: var(--on-dark);
}

.bp:hover {
  background: var(--ink-3);
  color: var(--on-dark);
}

.bs {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.bs:hover {
  background: var(--bg);
  color: var(--ink);
}

/* Kopf und Hero */
.dark {
  background: var(--ink);
  color: var(--on-dark);
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: var(--on-dark);
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 21px;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: center;
}

.nl {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nl:hover {
  color: var(--yellow);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 88px;
}

.pill {
  margin: 0 0 18px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  background: var(--ink-2);
  color: var(--yellow);
  padding: 6px 12px;
  border-radius: 999px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--on-dark-muted);
  max-width: 560px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark-muted);
  max-width: 560px;
}

.hero-note b {
  color: var(--on-dark);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.mock-ticket {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  max-width: 78%;
  background: var(--bg);
  color: var(--ink);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
  transform: rotate(-3deg);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
}

.tag-ok {
  font-size: 13px;
  font-weight: 700;
  background: var(--green);
  color: var(--on-dark);
  padding: 4px 10px;
  border-radius: 999px;
}

.mock-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

.mock-time {
  font-size: 52px;
  font-weight: 700;
  text-align: center;
  margin: 18px 0 4px;
}

.mock-until {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.mock-line {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.mock-line-2 {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}

.ok {
  color: var(--green-ink);
}

.mock-check {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 74%;
  background: var(--green);
  color: var(--on-dark);
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
  transform: rotate(2deg);
  font-size: 16px;
}

.mock-check-head,
.mock-check-note {
  font-size: 14px;
  color: var(--green-soft);
}

.mock-check-note {
  margin-top: 6px;
  font-size: 13px;
}

.mock-check-status {
  font-size: 36px;
  font-weight: 700;
  margin-top: 8px;
}

.plate {
  margin-top: 14px;
  display: inline-block;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.plate-sm {
  margin-top: 0;
  font-size: 17px;
  padding: 2px 10px;
}

/* Abschnitte */
.block {
  padding-top: 88px;
  padding-bottom: 24px;
}

.block-last {
  padding-bottom: 96px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin: 0 0 10px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  margin: 14px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
}

.muted {
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.small {
  font-size: 14px;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  min-width: 0;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 36px;
}

.fact b {
  display: block;
  font-size: 34px;
  line-height: 1.1;
}

.fact p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.src {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* So funktioniert es */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  margin-top: 36px;
}

.roles {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.45;
}

.role b {
  display: block;
  font-size: 18px;
}

.arr {
  flex: 0 1 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.panel {
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  color: var(--on-dark);
}

.panel-dark {
  flex: 1 1 280px;
  background: var(--ink);
}

.panel-dark p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.panel-kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-title {
  font-size: 26px;
  margin-top: 8px;
  line-height: 1.2;
}

.panel-green {
  flex: 1 1 220px;
  background: var(--green);
  font-size: 16px;
}

.panel-sub {
  font-size: 14px;
  color: var(--green-soft);
}

.panel-answer {
  font-size: 34px;
  margin: 6px 0;
}

/* Demo */
.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.step .btn {
  margin-top: auto;
}

.step-no {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

.key code {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px dashed var(--muted);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  overflow-wrap: anywhere;
  user-select: all;
}

.plates {
  margin-top: 20px;
}

.plates table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 16px;
}

.plates th,
.plates td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-top: 1px solid var(--line-2);
}

.plates th {
  font-size: 14px;
  color: var(--muted);
}

.plates td:first-child {
  white-space: nowrap;
}

.plates .small {
  margin: 12px 0 0;
}

/* Was Ihre Stadt bekommt */
.feat {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.feat li {
  padding: 7px 0;
  border-top: 1px solid var(--line-2);
}

.later {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--muted);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Für Städte */
.band {
  background: var(--surface);
  margin-top: 88px;
  padding: 88px 0;
}

.reqs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px 40px;
  margin-top: 40px;
}

.req {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.req h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.req p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Was offen ist */
.open-box {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border: 2px solid var(--warn-line);
  border-radius: 24px;
  padding: 40px;
}

.open-box .eyebrow {
  color: var(--warn-ink);
}

.open-box h2 {
  color: var(--ink);
}

.open {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  max-width: 820px;
}

.open li {
  padding: 12px 0;
  border-top: 1px solid var(--warn-rule);
  font-size: 17px;
  line-height: 1.5;
}

/* Mitmachen */
.cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}

/* Fuß */
.foot {
  background: var(--ink);
  color: var(--on-dark-muted);
}

.foot a {
  color: var(--yellow);
}

.foot a:hover {
  color: var(--yellow-hover);
}

.foot b {
  color: var(--on-dark);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 15px;
  line-height: 1.5;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}

.foot-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.foot-legal {
  padding-bottom: 32px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--on-dark-faint);
}

.foot-legal p {
  margin: 8px 0 0;
}

.foot-legal p:first-child {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #3a4842;
}

/* Rechtstexte (Impressum, Datenschutz) */
.legal {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 88px;
}

.legal h1 {
  font-size: clamp(34px, 6vw, 48px);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 24px;
  margin-top: 40px;
}

.legal h3 {
  font-size: 19px;
  margin-top: 24px;
}

.legal p,
.legal li {
  font-size: 17px;
  line-height: 1.6;
}

.legal address {
  font-style: normal;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.placeholder {
  background: var(--warn-bg);
  border: 1px dashed var(--warn-line);
  padding: 0 4px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 56px;
    gap: 36px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .pill {
    border-radius: 12px;
  }

  .block {
    padding-top: 64px;
  }

  .band {
    margin-top: 64px;
    padding: 64px 0;
  }

  .open-box {
    padding: 24px 20px;
  }

  .card {
    padding: 22px 20px;
  }

  .arr {
    flex-basis: 100%;
    transform: rotate(90deg);
  }

  .actions .btn {
    flex: 1 1 100%;
  }

  .plates td:first-child {
    white-space: normal;
  }
}
