* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --bg: #000;
      --text: #f5f5f7;
      --muted: #a1a1a6;
      --muted2: #86868b;
      --card: rgba(255, 255, 255, 0.05);
      --card2: rgba(255, 255, 255, 0.03);
      --border: rgba(255, 255, 255, 0.10);
      --border2: rgba(255, 255, 255, 0.16);
      --blue: #0071e3;
      --blue2: #00a8ff;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      --scrollP: 0;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                   "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    /* Dark-only */
    @media (prefers-color-scheme: light) { body { background: var(--bg); } }

    /* Subtle ambient glow */
    body::before {
      content: "";
      position: fixed;
      inset: -30%;
      z-index: -2;
      pointer-events: none;
      background:
        radial-gradient(900px 520px at 30% 20%, rgba(0, 113, 227, 0.18), transparent 60%),
        radial-gradient(860px 500px at 70% 15%, rgba(0, 168, 255, 0.10), transparent 62%),
        radial-gradient(1200px 700px at 50% 120%, rgba(255, 255, 255, 0.05), transparent 62%);
      filter: saturate(1.05);
      transform: translateZ(0);
      opacity: 0.95;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5%;
      z-index: 1000;

      background: rgba(0, 0, 0, 0.78);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    nav .logo {
      font-size: 21px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: -0.01em;
      user-select: none;
      white-space: nowrap;
    }

    nav .nav-item {
      font-size: 14px;
      color: var(--text);
      font-weight: 400;
      user-select: none;
      white-space: nowrap;
    }

    .nav-progress {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1px;
      background: rgba(255,255,255,0.08);
      overflow: hidden;
    }
    .nav-progress > span {
      display: block;
      height: 100%;
      width: calc(var(--scrollP) * 100%);
      background: linear-gradient(90deg, rgba(0,113,227,1), rgba(0,168,255,1));
      transition: width .12s linear;
    }

    /* HERO */
    .hero {
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 5%;
      position: relative;
      overflow: hidden;
    }

    .hero-video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 1200px;
      height: 675px;
      background: rgba(60, 60, 67, 0.30);
      border-radius: 18px;
      z-index: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted2);
      font-size: 16px;
      border: 2px dashed rgba(255, 255, 255, 0.18);
      box-shadow: 0 40px 180px rgba(0,0,0,0.65);
      padding: 16px;
    }

    .hero-video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 18px;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      padding-top: 48px;
    }

    .hero h1 {
      font-size: 96px;
      font-weight: 600;
      margin-bottom: 18px;
      opacity: 0;
      animation: fadeInUp 1.6s var(--ease) forwards;
      letter-spacing: -0.04em;
      line-height: 1.0;
    }

    .hero p {
      font-size: 28px;
      color: var(--muted);
      opacity: 0;
      animation: fadeInUp 1.6s var(--ease) 0.25s forwards;
      letter-spacing: -0.02em;
    }

    .hero .hint {
      margin-top: 26px;
      font-size: 14px;
      color: rgba(245,245,247,0.60);
      opacity: 0;
      animation: fadeInUp 1.2s var(--ease) 0.9s forwards;
    }

    @keyframes fadeInUp {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    /* SECTIONS */
    .section {
      min-height: 100vh;
      padding: 120px 5%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .section h2 {
      font-size: 64px;
      font-weight: 600;
      margin-bottom: 60px;
      text-align: center;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 1s ease, transform 1s ease;
      letter-spacing: -0.04em;
      line-height: 1.05;
    }

    .section h2.visible { opacity: 1; transform: translateY(0); }

    .sub {
      font-size: 18px;
      color: var(--muted);
      max-width: 900px;
      text-align: center;
      margin-top: -40px;
      margin-bottom: 50px;
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 1s ease, transform 1s ease;
      line-height: 1.55;
    }
    .sub.visible { opacity: 1; transform: translateY(0); }

    /* FEATURES GRID */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      width: 100%;
      max-width: 1200px;
    }

    .feature-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 40px;
      transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.8s ease;
      opacity: 0;
      transform: translateY(50px) scale(0.96);
      will-change: transform, opacity;
    }

    .feature-card.visible { opacity: 1; transform: translateY(0) scale(1); }

    .feature-card:hover {
      transform: translateY(-6px) scale(1.02);
      background: rgba(255, 255, 255, 0.075);
      border-color: var(--border2);
    }

    .feature-card h3 {
      font-size: 24px;
      margin-bottom: 12px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .feature-card p {
      font-size: 17px;
      color: var(--muted);
      line-height: 1.6;
    }

    .image-placeholder {
      width: 100%;
      height: 200px;
      background: rgba(60, 60, 67, 0.28);
      border-radius: 12px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted2);
      font-size: 14px;
      border: 2px dashed rgba(255, 255, 255, 0.16);
      text-align: center;
      padding: 12px;
    }

    .image-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
    }

    /* ROADMAP */
    .roadmap {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 80px 60px;
      max-width: 1200px;
      width: 100%;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 1s ease, transform 1s ease;
      box-shadow: 0 40px 140px rgba(0,0,0,0.55);
    }

    .roadmap.visible { opacity: 1; transform: translateY(0); }

    .roadmap h3 {
      font-size: 32px;
      margin-bottom: 50px;
      text-align: center;
      color: var(--text);
      letter-spacing: -0.03em;
    }

    .platform-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 50px;
    }

    .platform {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 18px;
      padding: 40px;
      transition: transform 0.3s ease, background 0.3s ease, border-color .3s ease;
    }

    .platform:hover {
      transform: translateY(-5px);
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255,255,255,0.12);
    }

    .platform-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
    }

    .platform h4 {
      font-size: 24px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .platform-badge {
      font-size: 13px;
      padding: 6px 14px;
      border-radius: 12px;
      font-weight: 500;
      border: 1px solid rgba(255,255,255,0.10);
    }

    .badge-beta { background: rgba(0, 113, 227, 0.18); color: #8cc6ff; }
    .badge-dev  { background: rgba(255, 159, 10, 0.18); color: #ffd19a; }

    .status-bar {
      background: rgba(255, 255, 255, 0.10);
      height: 10px;
      border-radius: 5px;
      overflow: hidden;
      position: relative;
      margin-bottom: 15px;
    }

    .status-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--blue), var(--blue2));
      border-radius: 5px;
      transition: width 1.6s var(--ease);
    }

    .status-details {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .status-text { font-size: 15px; color: var(--muted); }
    .status-percent { font-size: 16px; font-weight: 600; color: #8cc6ff; }

    /* DOWNLOAD */
    .download-section {
      text-align: center;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 1s ease, transform 1s ease;
    }
    .download-section.visible { opacity: 1; transform: translateY(0); }

    .download-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      margin-top: 32px;
      flex-wrap: wrap;
    }

    .btn {
      padding: 14px 34px;
      border-radius: 980px;
      font-size: 17px;
      font-weight: 500;
      text-decoration: none;
      display: inline-block;
      transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
      border: none;
      cursor: pointer;
      user-select: none;
    }

    .btn-primary { background: var(--blue); color: #fff; }
    .btn-primary:hover { background: #0077ed; transform: scale(1.04); }

    .btn-disabled {
      background: rgba(255, 255, 255, 0.10);
      color: var(--muted);
      cursor: not-allowed;
      opacity: 0.75;
      pointer-events: none;
    }

    .coming-soon { font-size: 14px; color: var(--muted); margin-top: 10px; }

    /* Tabs (no icons) */
    .tabs {
      margin: 34px auto 0;
      max-width: 900px;
      width: 100%;
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 999px;
      background: rgba(255,255,255,0.06);
      padding: 8px;
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 1s ease, transform 1s ease;
    }
    .tabs.visible { opacity: 1; transform: translateY(0); }

    .tab {
      border: 0;
      background: transparent;
      color: rgba(245,245,247,0.76);
      padding: 10px 14px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 13px;
      letter-spacing: 0.02em;
      transition: background .25s ease, color .25s ease, transform .18s var(--ease);
    }
    .tab:hover { color: rgba(245,245,247,0.96); }
    .tab:active { transform: translateY(1px); }
    .tab[aria-selected="true"] {
      background: rgba(255,255,255,0.12);
      color: var(--text);
      border: 1px solid rgba(255,255,255,0.10);
    }

    .tab-panel {
      margin: 14px auto 0;
      max-width: 900px;
      width: 100%;
      text-align: left;
      border-radius: 18px;
      padding: 16px 16px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(255,255,255,0.04);
      color: rgba(245,245,247,0.86);
      font-size: 14px;
      line-height: 1.6;
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 1s ease, transform 1s ease;
    }
    .tab-panel.visible { opacity: 1; transform: translateY(0); }

    /* CONTACT */
    .contact-form {
      max-width: 640px;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 1s ease, transform 1s ease;
    }
    .contact-form.visible { opacity: 1; transform: translateY(0); }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      opacity: 0;
      transform: translateX(-30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .form-group.visible { opacity: 1; transform: translateX(0); }

    .form-group label { font-size: 14px; color: var(--muted); }

    .form-group input,
    .form-group textarea {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.10);
      border-radius: 12px;
      padding: 16px;
      font-size: 17px;
      color: var(--text);
      font-family: inherit;
      transition: border 0.3s ease, transform 0.2s ease, box-shadow .25s ease;
      outline: none;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--blue);
      transform: scale(1.01);
      box-shadow: 0 0 0 6px rgba(0,113,227,0.14);
    }

    .form-group textarea { resize: vertical; min-height: 150px; }

    .tiny {
      margin-top: 10px;
      font-size: 13px;
      color: rgba(245,245,247,0.55);
      text-align: center;
    }
    .tiny code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      color: rgba(245,245,247,0.75);
    }

    footer {
      padding: 40px 5%;
      text-align: center;
      border-top: 1px solid rgba(255, 255, 255, 0.10);
      color: var(--muted);
      font-size: 14px;
    }

    @media (max-width: 768px) {
      .hero h1 { font-size: 56px; }
      .hero p { font-size: 21px; }
      .section h2 { font-size: 40px; }
      .platform-grid { grid-template-columns: 1fr; }
      .hero-video { width: 90%; height: 400px; }
      .roadmap { padding: 54px 26px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      * { animation: none !important; transition: none !important; }
      .feature-card, .section h2, .sub, .roadmap, .download-section, .contact-form, .tabs, .tab-panel, .form-group {
        opacity: 1 !important;
        transform: none !important;
      }
    }
  
    /* =========================
       Apple-like centered text block (Funktionen)
       ========================= */
    .apple-text-block{
      width: 100%;
      max-width: 980px;
      text-align: center;
      margin: 0 auto;
    }
    .apple-kicker{
      font-size: 16px;
      font-weight: 600;
      letter-spacing: .02em;
      color: rgba(245,245,247,0.86);
      margin-bottom: 14px;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1s ease, transform 1s ease;
    }
    .apple-kicker.visible{ opacity:1; transform: translateY(0); }

    .apple-headline{
      font-size: clamp(44px, 6.3vw, 88px);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1.02;
      margin: 0 auto 22px;
      max-width: 16ch;
      opacity: 0;
      transform: translateY(34px);
      transition: opacity 1.05s ease, transform 1.05s ease;
    }
    .apple-headline.visible{ opacity:1; transform: translateY(0); }

    .apple-body{
      font-size: 18px;
      line-height: 1.65;
      color: rgba(245,245,247,0.62);
      max-width: 78ch;
      margin: 0 auto;
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 1s ease, transform 1s ease;
    }
    .apple-body.visible{ opacity:1; transform: translateY(0); }

    @media (max-width: 768px){
      .apple-kicker{ font-size: 14px; }
      .apple-body{ font-size: 16px; }
    }


    /* Spacer between Apple-style text blocks */
    .apple-spacer{ height: clamp(180px, 32vh, 460px); }
    @media (max-width: 768px){ .apple-spacer{ height: clamp(140px, 22vh, 320px); } }

    /* Web card indicates clickability */
    .platform-web{
      position: relative;
      cursor: pointer;
    }
    .platform-web:focus{
      outline: none;
      box-shadow: 0 0 0 6px rgba(0,113,227,0.14);
      border-color: rgba(0,113,227,0.45);
    }

    /* Modal */
    .modalOverlay{
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }
    .modalOverlay.open{ display: flex; }

    .modal{
      width: min(720px, 100%);
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(20,20,26,0.78);
      box-shadow: 0 50px 200px rgba(0,0,0,0.70);
      padding: 22px 22px 18px;
    }
    .modalTitle{
      font-size: 18px;
      font-weight: 650;
      letter-spacing: -0.01em;
      color: rgba(245,245,247,0.92);
      margin: 0 0 10px;
    }
    .modalText{
      color: rgba(245,245,247,0.70);
      font-size: 15px;
      line-height: 1.6;
      margin: 0 0 18px;
    }
    .modalActions{
      display:flex;
      gap: 10px;
      justify-content: flex-end;
      flex-wrap: wrap;
    }
    .modalBtn{
      padding: 10px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.08);
      color: rgba(245,245,247,0.92);
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      transition: background .2s ease, transform .18s var(--ease), border-color .2s ease;
    }
    .modalBtn:hover{ background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); }
    .modalBtn:active{ transform: translateY(1px); }

    .modalBtnPrimary{ background: rgba(0,113,227,0.90); border-color: rgba(0,113,227,0.80); }
    .modalBtnPrimary:hover{ background: rgba(0,113,227,0.92); }

    .modalBtnDisabled{ pointer-events:none; opacity: .55; filter: blur(2.5px); }

    @media (prefers-reduced-motion: reduce){
      .modalOverlay{ backdrop-filter:none; -webkit-backdrop-filter:none; }
    }



/* Info badge (like status pill) */
.badge-info{ background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(245,245,247,0.86); cursor:pointer; }
.badge-info:hover{ background: rgba(255,255,255,0.14); }


.badgeRow{ display:flex; align-items:center; gap:10px; }


/* Funktionen: mehr Abstand, damit jeder Block beim Scrollen „für sich“ steht */
#funktionen .apple-text-block{
  padding-top: clamp(18px, 4vh, 44px);
  padding-bottom: clamp(18px, 4vh, 44px);
}
#funktionen .apple-body{
  margin-top: 22px;
}
#funktionen .apple-body br+br{
  content:"";
}
