  :root {
    --black: #111110;
    --paper: #ffffff;
    --white: #ffffff;
    --ink: #a3231f;
    --ink-soft: #c76d5a;
    --line: #e2dcd0;
    --muted: #6f6c64;
    --muted-2: #9a968b;
    --radius: 3px;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  *, *::before, *::after { box-sizing: inherit; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .display {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--black);
  }

  a { color: inherit; }
  img { max-width: 100%; display: block; }

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
  }
  @media (max-width: 640px) {
    .wrap { padding: 0 20px; }
  }

  .hairline { border-top: 1px solid var(--line); }

  /* ---------- Header ---------- */
  header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .brand img { width: 30px; height: 30px; border-radius: 7px; }
  .brand span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.01em;
  }
  nav.links {
    display: flex;
    gap: 30px;
    font-size: 14.5px;
    color: var(--muted);
  }
  nav.links a { text-decoration: none; transition: color .15s ease; white-space: nowrap; }
  nav.links a:hover { color: var(--black); }

  .nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

  .lang-toggle {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    background: var(--white);
  }
  .lang-toggle button {
    border: none;
    background: transparent;
    padding: 6px 13px;
    cursor: pointer;
    color: var(--muted);
    font: inherit;
    font-family: 'Inter', sans-serif;
  }
  .lang-toggle button.active { background: var(--black); color: var(--white); }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    padding: 11px 20px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap;
  }
  .btn:active { transform: scale(0.97); }
  .btn-primary { background: var(--black); color: var(--white); }
  .btn-primary:hover { background: #000; }
  .btn-ghost { color: var(--black); border-color: var(--line); background: transparent; }
  .btn-ghost:hover { border-color: var(--black); }
  .btn-lg { padding: 15px 28px; font-size: 16px; }

  .hide-mobile { display: inline-flex; }
  .show-mobile { display: none; }
  @media (max-width: 900px) {
    nav.links { display: none; }
    .hide-mobile { display: none; }
  }

  /* ---------- Hero ---------- */
  .hero {
    padding: 76px 0 64px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  .hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    max-width: 15ch;
  }
  .hero .lede {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 46ch;
  }
  .hero-ctas {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-meta {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted-2);
  }
  .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }

  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
  }
  .phone-frame {
    position: relative;
    width: min(300px, 80vw);
    border-radius: 34px;
    /* background: var(--black); */
    padding: 10px;
    /* box-shadow: 0 30px 60px -25px rgba(17,17,16,0.35); */
    transform: rotate(0deg);
  }
  .phone-frame img {
    border-radius: 25px;
    width: 100%;
  }
  /* ---------- Invitation (opened from a program QR code) ---------- */
  section.invite { padding: 28px 0 0; }
  .invite-card {
    background: var(--black);
    color: var(--white);
    border-radius: 22px;
    padding: 30px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 24px 48px -28px rgba(17, 17, 16, 0.55);
  }
  .invite-card .kicker { color: var(--ink-soft); margin-bottom: 8px; }
  .invite-card h2 { color: var(--white); font-size: clamp(24px, 3vw, 30px); line-height: 1.15; }
  .invite-card p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 15.5px; max-width: 54ch; }
  .invite-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; flex-shrink: 0; }
  .invite-actions .btn-light { background: var(--white); color: var(--black); }
  .invite-actions .btn-light:hover { background: #f1eee8; }
  .invite-actions .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.28); background: transparent; }
  .invite-actions .btn-outline:hover { border-color: var(--white); }
  @media (max-width: 720px) {
    .invite-card { flex-direction: column; align-items: stretch; padding: 26px 22px; gap: 22px; border-radius: 18px; }
  }

  /* fade up on load only */
  .load-fade { opacity: 0; transform: translateY(14px); animation: fadeUp .7s ease forwards; }
  .load-fade.d1 { animation-delay: .05s; }
  .load-fade.d2 { animation-delay: .16s; }
  .load-fade.d3 { animation-delay: .27s; }
  .load-fade.d4 { animation-delay: .38s; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
  @media (prefers-reduced-motion: reduce) {
    .load-fade { opacity: 1; transform: none; animation: none; }
  }

  /* ---------- Section shell ---------- */
  section { padding: 88px 0; }
  @media (max-width: 640px) { section { padding: 60px 0; } }

  .section-head { max-width: 640px; margin-bottom: 52px; }
  .section-head h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.15;
  }
  .section-head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 16.5px;
    max-width: 52ch;
  }
  .kicker {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
    display: block;
  }

  /* ---------- Why loyalty / stats ---------- */
  .loyalty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  @media (max-width: 860px) {
    .loyalty-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  }
  @media (max-width: 480px) {
    .loyalty-grid { grid-template-columns: 1fr; }
  }
  .loyalty-stat .n {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 14px;
  }
  .loyalty-stat p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    max-width: 32ch;
  }
  .loyalty-source {
    margin-top: 40px;
    font-size: 12.5px;
    color: var(--muted-2);
    max-width: 70ch;
  }

  /* ---------- Problem grid ---------- */
  .problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  @media (max-width: 720px) { .problem-grid { grid-template-columns: 1fr; } }
  .problem-card {
    background: var(--paper);
    padding: 34px 32px;
  }
  .problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .problem-card p { color: var(--muted); font-size: 15px; margin: 0; }
  .problem-card .mark {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    font-size: 14px;
    margin-bottom: 14px;
    display: block;
  }

  /* ---------- Steps ---------- */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  @media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 44px; } }
  .step { position: relative; }
  .step .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--ink);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }
  .step .frame {
    border-radius: 22px;
    overflow: hidden;
    /* border: 1px solid var(--line); */
    margin-bottom: 22px;
    background: var(--white);
  }
  .step .frame img { width: 100%; }
  .step h3 { font-size: 18px; margin-bottom: 8px; }
  .step p { color: var(--muted); font-size: 15px; margin: 0; }

  /* ---------- Benefits ---------- */
  .benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 36px;
  }
  @media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
  .benefit .icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: var(--black);
    color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
  }
  .benefit h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
  .benefit p { color: var(--muted); font-size: 14.5px; margin: 0; }

  /* ---------- Freiburg / local section ---------- */
  .local {
    background: var(--black);
    color: var(--paper);
    border-radius: 0;
  }
  .local .wrap { padding-top: 88px; padding-bottom: 88px; }
  .local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  @media (max-width: 860px) { .local-grid { grid-template-columns: 1fr; } }
  .local h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.18; }
  .local p.lede { color: #c9c7bf; margin-top: 18px; font-size: 16.5px; max-width: 48ch; }
  .local-stat-row {
    display: flex;
    gap: 40px;
    margin-top: 38px;
    flex-wrap: wrap;
  }
  .local-stat .n {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
  }
  .local-stat .l { font-size: 13px; color: #9d9b93; margin-top: 4px; }

  .local-badge-wrap { display: flex; justify-content: center; }
  .local-badge {
    width: 220px;
    height: 220px;
    border: 2px solid #7a7870;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-7deg);
    color: var(--paper);
  }
  .local-badge .inner {
    border: 1px solid #7a7870;
    border-radius: 50%;
    width: 176px;
    height: 176px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
  }
  .local-badge .city { font-size: 20px; font-weight: 600; letter-spacing: 0.01em; }
  .local-badge .sub { font-size: 11px; letter-spacing: 0.08em; color: #b3b1a8; }
  .local-badge .pin { font-size: 22px; margin-bottom: 2px; }

  /* ---------- Showcase / screenshots band ---------- */
  .showcase-strip {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
  }
  .showcase-strip .frame {
    width: 220px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
  }
  .showcase-strip .frame img { width: 100%; }
  .showcase-strip .frame.tall { width: 240px; margin-bottom: -18px; }

  /* ---------- Pricing ---------- */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
  }
  @media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  }
  .price-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--white);
  }
  .price-card.featured {
    border-color: var(--black);
    box-shadow: 0 24px 48px -28px rgba(17,17,16,0.28);
  }
  .price-badge {
    position: absolute;
    top: -13px;
    left: 30px;
    background: var(--black);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
  }
  .price-card h3 {
    font-size: 18px;
    font-weight: 600;
  }
  .price-card .price-sub {
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
  }
  .price-card .price-amount {
    margin-top: 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .price-card .price-amount .n {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 600;
  }
  .price-card .price-amount .u {
    font-size: 14px;
    color: var(--muted);
  }
  .price-card .price-list {
    list-style: none;
    margin: 28px 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex-grow: 1;
  }
  .price-card .price-list li {
    font-size: 14.5px;
    color: var(--muted);
    padding-left: 22px;
    position: relative;
  }
  .price-card .price-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 9px;
    height: 9px;
    border: 1.5px solid var(--black);
    border-radius: 2px;
  }
  .price-card .price-list li.dim {
    color: var(--muted-2);
  }
  .price-card .price-list li.dim::before {
    border-color: var(--muted-2);
  }
  .price-card .btn { width: 100%; }

  /* ---------- FAQ ---------- */
  .faq-item {
    border-top: 1px solid var(--line);
    padding: 26px 0;
  }
  .faq-item:last-child { border-bottom: 1px solid var(--line); }
  .faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 500;
  }
  .faq-q .plus {
    font-size: 20px;
    color: var(--muted-2);
    transition: transform .2s ease;
    flex-shrink: 0;
  }
  .faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--ink); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .faq-a p { margin: 16px 0 0; color: var(--muted); font-size: 15px; max-width: 62ch; }
  .faq-item.open .faq-a { max-height: 240px; }

  /* ---------- Final CTA ---------- */
  .final-cta {
    text-align: center;
    padding: 96px 0;
  }
  .final-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    max-width: 18ch;
    margin: 0 auto;
    line-height: 1.14;
  }
  .final-cta .lede {
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 17px;
    max-width: 46ch;
  }
  .final-cta .hero-ctas { justify-content: center; margin-top: 32px; }

  /* ---------- Footer ---------- */
  footer {
    border-top: 1px solid var(--line);
    padding: 52px 0 40px;
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
  }
  .footer-brand { max-width: 320px; }
  .footer-brand .brand { margin-bottom: 12px; }
  .footer-brand p { color: var(--muted); font-size: 14px; }
  .footer-links {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
  }
  .footer-col h4 {
    font-size: 12.5px;
    text-transform: none;
    color: var(--muted-2);
    margin-bottom: 14px;
    font-weight: 600;
  }
  .footer-col a {
    display: block;
    text-decoration: none;
    color: var(--black);
    font-size: 14.5px;
    margin-bottom: 10px;
  }
  .footer-col a:hover { color: var(--ink); }
  .footer-bottom {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--muted-2);
  }

  ::selection { background: var(--ink); color: var(--white); }

  :focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }
