/* ==========================================================================
   HomeDuel Website – Design-System
   Verspielt & modern · Indigo/Violett · rounded
   ========================================================================== */

:root {
  /* Farben – aus dem App-Theme, für den dunklen Hintergrund aufgehellt,
     damit Text und Flächen genug Kontrast haben. */
  --violet:        #7B5CFF;
  --violet-deep:   #5B43D6;
  --indigo:        #4A5BE8;
  --mint:          #8FF3D2;
  --mint-strong:   #5FE3B8;
  --sand:          #F6D08A;   /* Tokens/XP – die warme dritte Farbe */

  --bg:            #080A14;
  --bg-2:          #0E1124;
  --bg-grad-top:   #141732;
  --card:          #13172A;
  --card-2:        #191E38;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #F2F3FA;
  --muted:         #9BA1C4;
  --muted-2:       #6E7496;

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 18px 50px -20px rgba(0,0,0,.75);
  --shadow-glow: 0 16px 40px -16px rgba(123,92,255,.7);

  --maxw: 1120px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Bricolage Grotesque", "Fredoka", "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Hintergrund-Glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(108,75,224,.34), transparent 60%),
    radial-gradient(760px 520px at 8% 6%, rgba(66,79,219,.26), transparent 60%),
    linear-gradient(180deg, var(--bg-grad-top) 0%, var(--bg) 46%);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,12,24,.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px rgba(108,75,224,.5); }
.brand span { font-size: 20px; letter-spacing: .2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--muted); transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--text); background: rgba(108,75,224,.22); }
.nav-links a.cta {
  color: #fff; background: linear-gradient(135deg, var(--violet), var(--indigo));
  box-shadow: 0 8px 24px -8px rgba(108,75,224,.8);
}
.nav-links a.cta:hover { filter: brightness(1.07); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 12px;
  color: var(--text);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 16px;
  cursor: pointer; border: 1px solid transparent; transition: transform .12s, filter .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--violet), var(--indigo));
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  color: var(--text); background: rgba(255,255,255,.05); border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-head { max-width: 34ch; margin: 0 0 44px; }
.section-head h2 + .lead { margin-top: 16px; max-width: 54ch; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 15px; letter-spacing: 0;
  color: var(--muted); margin-bottom: 10px;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.9px; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
.lead { color: var(--muted); font-size: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  background: rgba(143,243,210,.12); color: var(--mint-strong);
  border: 1px solid rgba(143,243,210,.25); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 6vw, 62px); }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--mint) 0%, var(--violet) 55%, var(--indigo) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { margin: 20px 0 30px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { color: var(--muted-2); font-size: 14px; margin-top: 18px; }

/* Telefon-Mockup */
.phone {
  position: relative; width: 300px; margin: 0 auto;
  border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #2a2f55, #12152b);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,.05);
}
.phone::after {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #000; border-radius: 999px; opacity: .85;
}
.phone img { border-radius: 38px; width: 100%; height: auto; }
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute; inset: -6% 8% 2%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108,75,224,.6), transparent 72%);
  filter: blur(18px);
}

/* ---------- Feature-Cards ---------- */
.grid-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-card);
  transition: transform .18s, border-color .18s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(108,75,224,.45); }
.card .ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(108,75,224,.35), rgba(66,79,219,.2));
  border: 1px solid rgba(143,243,210,.18);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Screenshot-Showcase ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.shot { text-align: center; }
.shot .frame {
  border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #2a2f55, #12152b);
  box-shadow: var(--shadow-card); margin-bottom: 16px;
}
.shot .frame img { border-radius: 24px; }
.shot h3 { font-size: 18px; margin-bottom: 4px; }
.shot p { color: var(--muted); font-size: 14.5px; }

/* Promo-Bilder (Launch 1.0) – fertige Motive mit eigenem Handy-Rahmen im Bild.
   Deshalb hier bewusst KEIN zweiter Rahmen: kleiner Radius, kein heller Rand,
   sonst sieht es aus wie ein Handy in einem Handy. */
.promo-shots figure { margin: 0; }
.shot .promo-img {
  width: 100%; height: auto; border-radius: 14px; margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s;
}
.shot:hover .promo-img { transform: translateY(-4px); }
@media (max-width: 900px) {
  .shots.promo-shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px);
    max-width: none; margin: 0 -22px; padding: 4px 22px 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .shots.promo-shots::-webkit-scrollbar { display: none; }
  .promo-shots .shot { scroll-snap-align: center; }
}

/* ---------- Steps (Anleitung) ---------- */
.steps { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  box-shadow: 0 10px 24px -10px rgba(108,75,224,.9);
}
.step .body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; flex: 1; }
.step h3 { font-size: 18px; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ Accordion ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; cursor: pointer; border: 0; background: none; color: var(--text);
  font-family: var(--font); font-weight: 700; font-size: 17px;
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .chev { flex: none; transition: transform .2s; color: var(--mint-strong); font-size: 22px; line-height: 1; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a .inner { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; }
.contact-card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.contact-card .ico { font-size: 34px; margin-bottom: 14px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Legal / Prose ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 28px; }
.prose h2 { font-size: 24px; margin: 34px 0 12px; }
.prose h3 { font-size: 18.5px; margin: 24px 0 8px; color: var(--mint-strong); }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { color: var(--muted); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--mint-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.note {
  background: rgba(143,243,210,.08); border: 1px solid rgba(143,243,210,.22);
  border-radius: var(--radius-md); padding: 16px 18px; margin: 18px 0; color: var(--muted);
}
.note strong { color: var(--mint-strong); }
.table-wrap { overflow-x: auto; margin: 16px 0 22px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--text); font-family: var(--font-head); font-weight: 600; background: rgba(255,255,255,.03); }
table.data td { color: var(--muted); }

/* Page-Hero (Unterseiten) */
.page-hero { text-align: center; padding: 62px 0 8px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; }

/* ---------- Timeline / Roadmap ---------- */
.timeline { max-width: 780px; margin: 0 auto; position: relative; padding-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--mint-strong) 0%, var(--violet) 42%, rgba(108,75,224,.35) 72%, var(--line) 100%);
}
.tl-phase {
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--muted-2); margin: 34px 0 16px 52px;
}
.tl-phase:first-child { margin-top: 0; }
.tl-item { position: relative; padding: 0 0 22px 52px; }
.tl-item .dot {
  position: absolute; left: 12px; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--violet); z-index: 1;
}
.tl-item.done .dot { border-color: var(--mint-strong); background: var(--mint-strong); box-shadow: 0 0 0 4px rgba(143,243,210,.14); }
.tl-item.now .dot { border-color: var(--mint-strong); background: var(--bg); box-shadow: 0 0 0 4px rgba(143,243,210,.18); animation: pulse 2.2s infinite; }
.tl-item.planned .dot { border-style: dashed; border-color: rgba(108,75,224,.75); background: var(--bg); }
@keyframes pulse { 0%,100%{ box-shadow:0 0 0 4px rgba(143,243,210,.18);} 50%{ box-shadow:0 0 0 8px rgba(143,243,210,.05);} }

.tl-card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px;
  box-shadow: var(--shadow-card); transition: transform .18s, border-color .18s;
}
.tl-card:hover { transform: translateX(3px); border-color: rgba(108,75,224,.45); }
.tl-item.planned .tl-card { background: var(--card); border-style: dashed; border-color: rgba(108,75,224,.4); }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.tl-head h3 { font-size: 19px; }
.tl-badge {
  font-weight: 800; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.tl-badge.rel { background: linear-gradient(135deg, var(--violet), var(--indigo)); color: #fff; }
.tl-badge.now { background: rgba(143,243,210,.15); color: var(--mint-strong); border: 1px solid rgba(143,243,210,.3); }
.tl-badge.plan { background: rgba(108,75,224,.16); color: #c3b6ff; border: 1px solid rgba(108,75,224,.4); }
.tl-when { color: var(--muted-2); font-size: 13.5px; margin-left: auto; }
.tl-card p.sub { color: var(--muted); font-size: 15px; margin: 2px 0 10px; }
.tl-card ul { list-style: none; display: grid; gap: 8px; }
.tl-card li { color: var(--muted); font-size: 15px; padding-left: 22px; position: relative; }
.tl-card li::before { content: "✦"; position: absolute; left: 0; color: var(--mint-strong); }
.tl-item.planned .tl-card li::before { content: "○"; color: #a99bff; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 0 auto 40px; color: var(--muted); font-size: 14px; }
.tl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.tl-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.tl-legend i.done { background: var(--mint-strong); }
.tl-legend i.now { border: 3px solid var(--mint-strong); }
.tl-legend i.planned { border: 2px dashed rgba(108,75,224,.8); }

@media (max-width: 680px) {
  .tl-phase { margin-left: 46px; }
  .tl-item { padding-left: 46px; }
  .tl-when { margin-left: 0; width: 100%; }
}

/* ---------- Event-Karten ---------- */
.events { display: grid; gap: 22px; max-width: 820px; margin: 0 auto; }
.event-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card); transition: transform .18s, border-color .18s;
}
.event-card:hover { transform: translateY(-4px); }
.event-card .ev-band { height: 8px; width: 100%; }
.event-card .ev-body { padding: 24px 26px; display: flex; gap: 20px; align-items: flex-start; }
.event-card .ev-emoji {
  flex: none; width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  font-size: 32px; color: #fff;
}
.event-card .ev-main { flex: 1; min-width: 0; }
.event-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.event-head h3 { font-size: 22px; }
.event-status {
  font-weight: 800; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); border: 1px solid var(--line);
}
.event-status.active { background: rgba(143,243,210,.16); color: var(--mint-strong); border-color: rgba(143,243,210,.35); }
.event-status.upcoming { background: rgba(108,75,224,.16); color: #c3b6ff; border-color: rgba(108,75,224,.4); }
.event-xp { margin-left: auto; font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted-2); font-size: 14px; margin: 6px 0 12px; }
.event-desc { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; font-style: italic; }
.event-quests { display: flex; flex-wrap: wrap; gap: 8px; }
.event-quests .q {
  font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted);
}
.event-card.is-active { border-color: rgba(143,243,210,.4); box-shadow: var(--shadow-card), 0 0 0 1px rgba(143,243,210,.25); }

/* ---------- Spielprinzip: Konzept-Karten ---------- */
.concepts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.concept {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px;
  box-shadow: var(--shadow-card); transition: transform .18s, border-color .18s;
}
.concept:hover { transform: translateY(-3px); border-color: rgba(108,75,224,.45); }
.concept .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(108,75,224,.35), rgba(66,79,219,.2)); border: 1px solid rgba(143,243,210,.18);
}
.concept h3 { font-size: 19px; margin-bottom: 8px; }
.concept p { color: var(--muted); font-size: 15px; }
.concept.wide { grid-column: 1 / -1; }
.concept ul { color: var(--muted); font-size: 15px; margin: 8px 0 0 20px; }
.concept li { margin-bottom: 6px; }

/* CTA-Band */
.cta-band {
  text-align: center; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(108,75,224,.28), rgba(66,79,219,.18));
  border: 1px solid rgba(108,75,224,.4); padding: 52px 26px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ---------- Store-Badges (App Store / Google Play) ---------- */
.store-badges { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; }
.store-badge {
  display: inline-flex; border-radius: 12px; overflow: hidden; line-height: 0;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.85);
  transition: transform .12s, filter .15s;
}
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.09); }
.store-badge:active { transform: translateY(0); }
.store-badge svg { display: block; height: 42px; width: auto; }
.store-note {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted-2); font-size: 13px; margin-top: 12px;
}
.store-note .pill {
  background: rgba(143,243,210,.14); color: var(--mint-strong);
  border: 1px solid rgba(143,243,210,.3); border-radius: 999px;
  padding: 2px 9px; font-weight: 800; font-size: 11px; letter-spacing: .5px; text-transform: uppercase;
}
.hero .store-badges { margin-top: 20px; }
.cta-band .store-badges { justify-content: center; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 44px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; }
.footer-col h4 { font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 12px; color: var(--text); }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .grid-features { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}
/* Navigation klappt bei mehr Menüpunkten früher ein */
@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(10,12,24,.98); padding: 16px 22px 22px; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .25s; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-links a.cta { text-align: center; }
  .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 900px) {
  .concepts { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .step { gap: 14px; }
  .event-card .ev-body { flex-direction: column; gap: 14px; }
  .event-xp { margin-left: 0; }
}

/* ==========================================================================
   Überarbeitung 2026-10-03
   Leitgedanke: Das kennzeichnende Element der App ist die Quest-Zeile –
   Kreis, Aufgabe, Token. Daraus ist der Funktionsabschnitt gebaut, statt aus
   einem Raster gleicher Karten. Alles andere bleibt bewusst ruhig.
   ========================================================================== */

/* ---------- Hero ---------- */
.hero h1 { letter-spacing: -1.6px; }
.hero h1 .grad {            /* kein Farbverlauf mehr auf einem Einzelwort */
  background: none; -webkit-text-fill-color: currentColor; color: inherit;
}
.hero p.lead { max-width: 46ch; }

/* Quest-Zeile, die neben dem Gerät liegt – echtes Element aus der App */
.hero-quest {
  position: absolute; left: -26px; bottom: 96px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 16px;
  background: rgba(19,23,42,.92); border: 1px solid var(--line-strong);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,.9);
  backdrop-filter: blur(8px);
}
.hero-quest .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--mint-strong); color: #06281F; font-size: 14px; font-weight: 800;
}
.hero-quest .txt { font-weight: 700; font-size: 15px; white-space: nowrap; }
.hero-quest .xp {
  font-weight: 800; font-size: 13px; color: var(--sand);
  padding: 3px 9px; border-radius: 999px; background: rgba(246,208,138,.14);
}
@media (max-width: 1040px) { .hero-quest { left: -8px; bottom: 64px; } }
@media (max-width: 560px)  { .hero-quest { display: none; } }

/* ---------- Questlog statt Kartenraster ---------- */
.questlog { max-width: 880px; }
.ql-group + .ql-group { margin-top: 38px; }
.ql-group > h3 {
  font-size: 15px; font-family: var(--font); font-weight: 800;
  color: var(--muted-2); margin-bottom: 10px;
}
.ql-list {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  overflow: hidden;
}
.ql-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px;
  align-items: center; padding: 18px 22px;
}
.ql-row + .ql-row { border-top: 1px solid var(--line); }
.ql-row .tick {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255,255,255,.22);
}
.ql-row.done .tick {
  border-color: transparent; background: var(--mint-strong);
  display: grid; place-items: center; color: #06281F; font-weight: 800; font-size: 15px;
}
.ql-row h4 { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.ql-row p  { color: var(--muted); font-size: 15px; }
.ql-row .chip {
  flex: none; font-weight: 800; font-size: 13px; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px;
  color: var(--sand); background: rgba(246,208,138,.13);
}
.ql-row .chip.ios { color: var(--mint-strong); background: rgba(95,227,184,.13); }
@media (max-width: 620px) {
  .ql-row { grid-template-columns: auto 1fr; padding: 16px 18px; }
  .ql-row .chip { grid-column: 2; justify-self: start; margin-top: 6px; }
}

/* ---------- Promo-Band ---------- */
.promo-band {
  background:
    radial-gradient(1200px 420px at 50% 0%, rgba(123,92,255,.20), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 76px 0 84px;
}
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: start; }
.promo-row figure { margin: 0; }
.promo-row img {
  width: 100%; height: auto; border-radius: 18px; display: block;
  box-shadow: 0 26px 60px -24px rgba(0,0,0,.95);
}
.promo-row figure:nth-child(2) { margin-top: -34px; }   /* mittleres Motiv angehoben */
.promo-row figcaption { margin-top: 18px; }
.promo-row figcaption h3 { font-size: 18px; margin-bottom: 3px; }
.promo-row figcaption p  { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .promo-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(74vw, 300px);
    margin: 0 -22px; padding: 0 22px 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .promo-row::-webkit-scrollbar { display: none; }
  .promo-row figure { scroll-snap-align: center; }
  .promo-row figure:nth-child(2) { margin-top: 0; }
}

/* ---------- Ruhiges Panel (Datenschutz) ---------- */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: var(--card); padding: 34px 32px;
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
}
.panel > div { max-width: 58ch; }
.panel h2 { font-size: 26px; margin-bottom: 10px; }
.panel p  { color: var(--muted); }

/* ---------- Bewegung nur auf Wunsch ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--mint-strong); outline-offset: 3px; border-radius: 8px;
}
