/* meetwheels — Marketing-Site (www.meet-wheels.com)
 *
 * Bewusst ohne Framework/Build: reines CSS, damit die Seite schnell laedt und
 * ohne Toolchain deployt werden kann (nginx-Container, siehe infra/docker/site).
 *
 * Design-Sprache der App: Schwarz, Gold (#ffb100), Glas-Karten, runde Pillen,
 * Helvetica Neue (Systemschrift, kein Webfont-Download).
 */

:root {
  --gold: rgb(255, 177, 0);
  --gold-soft: rgb(255, 210, 128);
  --gold-dim: rgba(255, 177, 0, 0.14);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.66);
  --muted-soft: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.18);
  --border-soft: rgba(255, 255, 255, 0.12);
  --glass: linear-gradient(160deg, rgba(18, 18, 18, 0.62), rgba(255, 255, 255, 0.08));
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 20px;
  --radius-pill: 999px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  /* Sticky-Header: Sprungziele (#features, #faq, ...) nicht unter der Navigation landen lassen. */
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: var(--text);
  font-family: 'Helvetica Neue', 'DM Sans', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Goldene Glows wie im Glas-Look der App */
body::before,
body::after {
  content: '';
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
}

body::before {
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 177, 0, 0.22), rgba(255, 177, 0, 0) 70%);
}

body::after {
  bottom: -260px;
  left: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 177, 0, 0.16), rgba(255, 177, 0, 0) 70%);
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

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

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  background: rgba(0, 0, 0, 0.62);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.2px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  display: block;
}

.brand span {
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--text);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #141414;
  box-shadow: 0 10px 26px rgba(255, 177, 0, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffdca0, #ffc23c);
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 177, 0, 0.6);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* CTA-Badge: „Click to open app" (SVG-Asset) */
.cta-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-badge img {
  width: 268px;
  max-width: 78vw;
  display: block;
}

.cta-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(255, 177, 0, 0.2);
}

/* ---------- Sections ---------- */

section {
  padding: 72px 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 177, 0, 0.42);
  background: var(--gold-dim);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: -0.8px;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.1rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.2px;
}

.lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.section-head {
  max-width: 66ch;
  margin-bottom: 36px;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.hero {
  padding: 84px 0 56px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted-soft);
  font-size: 14px;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  padding: 26px;
}

.hero-card h2 {
  margin-bottom: 16px;
  font-size: 1.2rem;
  letter-spacing: -0.2px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 15.5px;
}

.check-list li strong {
  color: var(--text);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold));
  box-shadow: 0 0 0 4px rgba(255, 177, 0, 0.12);
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  padding: 22px;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 177, 0, 0.4);
  background: var(--gold-dim);
  color: var(--gold);
}

.card .icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #141414;
  font-weight: 800;
}

/* ---------- Pricing ---------- */

.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.price small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted-soft);
}

/* Kleiner Zusatz unter dem Monatspreis (z. B. optionaler Jahrespreis). */
.price small.price-alt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.72;
}

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 177, 0, 0.45);
  background: var(--gold-dim);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 15.5px;
}

.plan ul li {
  position: relative;
  padding-left: 26px;
}

.plan ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

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

.plan-featured {
  border-color: rgba(255, 177, 0, 0.5);
  box-shadow: 0 24px 60px rgba(255, 177, 0, 0.12);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 15.5px;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

thead th {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

tbody tr:last-child td {
  border-bottom: none;
}

td:not(:first-child),
th:not(:first-child) {
  text-align: center;
}

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

/* Inline-Links im Fliesstext duerfen sich nicht nur durch die Farbe unterscheiden
   (WCAG 1.4.1, axe-Regel "link-in-text-block"). Navigation/Buttons bleiben unberuehrt. */
p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Titel der Preiskarten sind inhaltlich h2 (Abschnitt), optisch weiter wie h3. */
.plan-head h2 {
  font-size: 1.2rem;
  letter-spacing: -0.2px;
}

/* ---------- FAQ ---------- */

details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass);
  padding: 16px 20px;
  margin-bottom: 12px;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

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

details summary::after {
  content: '+';
  float: right;
  color: var(--gold);
  font-weight: 800;
}

details[open] summary::after {
  content: '−';
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Bänder ---------- */

.band {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
}

.final-cta {
  text-align: center;
}

.final-cta .cta-badge {
  margin-top: 26px;
}

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

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 177, 0, 0.12) 100%);
  color: var(--muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted-soft);
  font-size: 14px;
}

/* ---------- Live-Demo: echte App im Geraeterahmen ---------- */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 34px;
}

/* Zweite Sektion: Rahmen rechts, Text links (optischer Rhythmus). */
@media (min-width: 901px) {
  .demo--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
  }

  .demo--flip .demo-frame {
    order: 2;
  }

  .demo--flip .demo-side {
    order: 1;
  }
}

.demo-frame {
  padding: 12px;
  border-radius: 46px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.demo-screen {
  position: relative;
  width: 100%;
  height: 0;
  /* Seitenverhaeltnis 390:844 als Padding-Box statt `aspect-ratio`: Safari (iOS)
   * berechnet aspect-ratio bei rein absolut positionierten Kindern nicht
   * zuverlaessig — der Rahmen wuerde dort kollabieren. */
  padding-top: 216.41%;
  border-radius: 35px;
  overflow: hidden;
  background: #0b0b0b;
  /* iOS: eigenes Scrollen im iframe + stabiles Clipping der runden Ecken. */
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
}

.demo-poster,
.demo-iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-poster {
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.demo-iframe {
  background: #fff;
}

.demo-activate {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
  color: #fff;
  font: inherit;
  transition: opacity 0.35s ease;
}

.demo-activate strong {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.demo-activate small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.demo-play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.demo-play svg {
  width: 30px;
  height: 30px;
  fill: #111;
}

.demo.is-live .demo-poster,
.demo.is-live .demo-activate {
  opacity: 0;
  pointer-events: none;
}

/* Der teilbare Profil-Link als Blickfang. */
.demo-url {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.demo-url span {
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.demo-url strong {
  color: var(--gold-soft);
  font-size: 19px;
  letter-spacing: -0.2px;
  overflow-wrap: anywhere;
}

.demo-url em {
  font-style: normal;
  color: var(--text);
}

.demo-facts {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.demo-facts li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15.5px;
}

.demo-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--gold);
}

.demo-facts strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .demo {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  /* Breite explizit setzen: mit auto-Margins wuerde das Grid-Item sonst auf
   * Inhaltsbreite (0) schrumpfen statt sich zu strecken. */
  .demo-frame {
    width: 100%;
    max-width: 350px;
    justify-self: center;
  }
}

/* ---------- Sprachumschalter (EN/DE) ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-switch:hover {
  color: var(--text);
  border-color: rgba(255, 177, 0, 0.45);
}

/* Im aufgeklappten Mobile-Menue wuerde der Pill sonst ueber die volle Breite strecken. */
@media (max-width: 900px) {
  .nav .lang-switch {
    align-self: flex-start;
  }
}

/* ---------- Reveal-Animation (respektiert reduced motion) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .cta-badge:hover {
    transform: none;
  }
}

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

@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  section {
    padding: 54px 0;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 8px;
    border-radius: 10px;
  }

  .nav .btn {
    margin-top: 6px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
