:root {
    --bg: #f6f6fa;
    --surface: #ffffff;
    --surface-2: #eeeef4;
    --text: #101018;
    --muted: #5b5b6b;
    --line: rgba(16, 16, 24, .10);
    --pink: #e0007f;
    --pink-2: #ff4fb0;
    --pink-soft: rgba(224, 0, 127, .10);
    --green: #119a5c;
    --shadow: 0 20px 60px rgba(16, 16, 24, .08);
    --radius: 24px;
    --max: 1180px;
    --touch: 44px;
    color-scheme: light;
  }
  html[data-theme="dark"] {
    --bg: #08080c;
    --surface: #111118;
    --surface-2: #181821;
    --text: #f5f5f8;
    --muted: #a3a3b0;
    --line: rgba(255, 255, 255, .10);
    --pink: #ef008f;
    --pink-2: #ff50b8;
    --pink-soft: rgba(239, 0, 143, .14);
    --green: #28d17c;
    --shadow: 0 30px 80px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(900px 600px at 85% -10%, var(--pink-soft), transparent 60%),
      radial-gradient(700px 500px at -10% 60%, var(--pink-soft), transparent 55%);
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; }
  :where(a, button, input, textarea):focus-visible {
    outline: 3px solid var(--pink-2);
    outline-offset: 3px;
    border-radius: 8px;
  }
  .skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
  }
  .skip:focus { top: 12px; }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: 24px; }

  /* Kopfbereich */
  .header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
  }
  .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
  .logo img { width: 34px; height: 34px; }
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    font-size: 15px;
  }
  .nav a:hover { color: var(--text); background: var(--surface-2); }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .icon-btn {
    width: var(--touch);
    height: var(--touch);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .icon-btn svg { width: 20px; height: 20px; }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--touch);
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(224, 0, 127, .25);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(224, 0, 127, .3); }
  .btn.ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
  .menu-btn { display: none; }

  /* Hero */
  .hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    padding-block: 72px 56px;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--pink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  h1 {
    margin: 18px 0 16px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 800;
  }
  h1 span {
    background: linear-gradient(100deg, var(--pink) 10%, var(--pink-2) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .lead { margin: 0; max-width: 540px; color: var(--muted); font-size: 19px; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  .chip {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
  }

  /* Dashboard-Vorschau */
  .dash {
    position: relative;
    padding: 20px;
    border-radius: 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .dash-top strong { font-size: 17px; }
  .live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--green) 14%, transparent);
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
  }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat { padding: 14px; border-radius: 18px; background: var(--surface-2); }
  .stat small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
  .stat strong { font-size: 22px; letter-spacing: -.02em; }
  .chart {
    margin-top: 12px;
    padding: 16px;
    border-radius: 18px;
    background: var(--surface-2);
  }
  .chart small { color: var(--muted); font-size: 12px; font-weight: 600; }
  .bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 12px; }
  .bars i {
    flex: 1;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, var(--pink-2), var(--pink));
    opacity: .85;
  }
  .bars i:last-child { opacity: 1; }
  .float-card {
    position: absolute;
    right: -16px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 14px;
  }
  .float-card b { display: block; }
  .float-card span { color: var(--muted); font-size: 13px; }
  .float-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--pink-soft);
    color: var(--pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
  }

  /* Abschnitte */
  .section { padding-block: 88px; }
  .section-head { max-width: 680px; margin-bottom: 40px; }
  .section-head h2 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 4.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -.03em;
  }
  .section-head p { margin: 0; color: var(--muted); font-size: 18px; }
  .section-head h2 span { color: var(--pink); }

  /* Funktionskarten */
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .card {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .2s ease, border-color .2s ease;
  }
  .card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pink) 40%, var(--line)); }
  .card h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -.01em; }
  .card p { margin: 0; color: var(--muted); font-size: 15px; }
  .card.wide { grid-column: span 2; }

  /* Gerätebereich */
  .devices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .phones { display: flex; justify-content: center; gap: 22px; align-items: flex-end; }
  .phone {
    width: 230px;
    aspect-ratio: 9 / 19;
    padding: 12px;
    border-radius: 36px;
    background: #0c0c10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  }
  .phone.small { width: 196px; transform: translateY(-30px); }
  .screen {
    height: 100%;
    padding: 18px 14px;
    border-radius: 26px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
  }
  .screen-top { display: flex; justify-content: space-between; align-items: center; }
  .screen-top small { color: var(--muted); font-size: 11px; }
  .screen-top strong { font-size: 15px; }
  .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .tile {
    padding: 12px;
    border-radius: 16px;
    background: var(--surface-2);
    font-size: 13px;
  }
  .tile b { display: block; font-size: 20px; letter-spacing: -.02em; }
  .tile span { color: var(--muted); font-size: 12px; }
  .list-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .list-row span { color: var(--muted); }
  .add-btn {
    margin-top: auto;
    padding: 12px;
    border-radius: 14px;
    background: var(--pink);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
  }
  .device-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
  .device-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 15px;
  }
  .device-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--pink-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0007f' stroke-width='3'><path d='M5 12l4 4 10-10'/></svg>") center/12px no-repeat;
  }

  /* Vorteile */
  .benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .benefit {
    padding: 22px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .benefit b { display: block; margin-bottom: 6px; font-size: 16px; }
  .benefit span { color: var(--muted); font-size: 14px; }

  /* Datenstandort */
  .trust {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    padding: 40px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--pink) 0%, #8a0056 100%);
    color: #fff;
    box-shadow: 0 30px 70px rgba(224, 0, 127, .25);
  }
  .flag {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: .04em;
  }
  .trust h2 { margin: 6px 0 8px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -.02em; }
  .trust p { margin: 0; opacity: .92; max-width: 640px; }
  .trust .eyebrow { background: rgba(255, 255, 255, .18); color: #fff; }

  /* Fuß */
  .footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 14px; }
  .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
  .footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .footer a { padding: 6px 0; }
  .footer a:hover { color: var(--text); }

  /* Animation nur bei Bedarf */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.show { opacity: 1; transform: none; }

  /* Tablet */
  @media (max-width: 1040px) {
    .nav { display: none; }
      .menu-btn { display: inline-flex; }
    .nav.open {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      position: absolute;
      top: 72px;
      left: 12px;
      right: 12px;
      padding: 10px;
      border-radius: 20px;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    .nav.open a { padding: 14px 16px; }
    .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 40px; }
    .devices { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .card.wide { grid-column: span 2; }
  }

  /* Smartphone */
  @media (max-width: 640px) {
    .wrap { padding-inline: 18px; }
    .btn { min-height: 48px; }
    .hero { padding-top: 32px; }
    .lead { font-size: 17px; }
    .section { padding-block: 60px; }
    .grid, .benefits { grid-template-columns: 1fr; }
    .card.wide { grid-column: auto; }
    .float-card { position: static; margin-top: 14px; }
    .phones { flex-wrap: wrap; }
    .phone { width: 200px; }
    .phone.small { transform: none; width: 180px; }
    .trust { grid-template-columns: 1fr; padding: 28px; border-radius: 26px; }
    .flag { width: 64px; height: 64px; font-size: 20px; border-radius: 18px; }
    .actions .btn { flex: 1 1 100%; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
  }
.bar-28 { height: 28%; }
.bar-44 { height: 44%; }
.bar-39 { height: 39%; }
.bar-61 { height: 61%; }
.bar-74 { height: 74%; }
.bar-88 { height: 88%; }
.showcase-frame { position: relative; }
.devices-heading { margin: 14px 0 12px; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.devices-accent { color: var(--pink); }

