/* ====================================================================
   StarRush – Landingpage als Shopify-Section
   1:1-Portierung von https://starrush.netlify.app/

   WICHTIG: Alle Regeln sind unter .sr-page gescopt und alle Klassen mit
   "sr-" geprefixt. Das Original nutzte globale Selektoren (*, body, img,
   a, header, footer, details, .price, .badge, .name ...), die ein
   Shopify-Theme zerlegt hätten.
   ==================================================================== */

.sr-page {
  /* Google-Markenfarben + Neutrals (Original-Werte) */
  --g-blue: #4285f4;
  --g-red: #ea4335;
  --g-yellow: #fbbc05;
  --g-green: #34a853;
  --ink: #202124;
  --gray: #5f6368;
  --line: #e8eaed;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --radius: 14px;

  /* Sticky-Offset: Höhe des sichtbaren Headers. Wird per Section-
     Einstellung gesetzt (Original: 64px eigener Header). */
  --sr-head: 64px;

  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}

/* Reset – bewusst nur innerhalb von .sr-page */
.sr-page, .sr-page *, .sr-page *::before, .sr-page *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.sr-page img { max-width: 100%; display: block; }
.sr-page a { text-decoration: none; color: inherit; }
.sr-page ul { list-style: none; }

/* Defensiv: verhindert, dass Theme-Typografie durchschlägt */
.sr-page h1, .sr-page h2, .sr-page h3 {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
  color: inherit;
}
.sr-page button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  min-height: 0;
  width: auto;
}

.sr-page .sr-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------------- Header ---------------- */
.sr-page .sr-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.sr-page .sr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.sr-page .sr-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px; }
/* "Sterne" bunt, "fang" im Ink-Ton. Die Farbfolge entspricht dem
   Google-Wortzeichen (G-o-o-g-l-e): blau, rot, gelb, blau, grün, rot. */
.sr-page .sr-logo span:nth-child(1) { color: var(--g-blue); }
.sr-page .sr-logo span:nth-child(2) { color: var(--g-red); }
.sr-page .sr-logo span:nth-child(3) { color: var(--g-yellow); }
.sr-page .sr-logo span:nth-child(4) { color: var(--g-blue); }
.sr-page .sr-logo span:nth-child(5) { color: var(--g-green); }
.sr-page .sr-logo span:nth-child(6) { color: var(--g-red); }
.sr-page .sr-nav ul { display: flex; gap: 26px; list-style: none; font-size: .95rem; color: var(--gray); }
.sr-page .sr-nav ul a:hover { color: var(--g-blue); }
.sr-page .sr-nav .sr-cta {
  background: var(--g-blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
}
.sr-page .sr-nav .sr-cta:hover { background: #3367d6; }
.sr-page .sr-nav-right { display: flex; align-items: center; gap: 10px; }
.sr-page .sr-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.sr-page .sr-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.sr-page .sr-burger.sr-open span:first-child  { transform: translateY(7px) rotate(45deg); }
.sr-page .sr-burger.sr-open span:nth-child(2) { opacity: 0; }
.sr-page .sr-burger.sr-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sr-page .sr-mobile-menu { display: none; }

@media (max-width: 820px) {
  .sr-page .sr-nav ul { display: none; }
  .sr-page .sr-burger { display: block; }
  .sr-page .sr-mobile-menu.sr-open {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 4px 20px 12px;
    border-bottom: 1px solid var(--line);
  }
  .sr-page .sr-mobile-menu a { border-bottom: 1px solid var(--line); padding: 13px 0; color: var(--gray); font-weight: 600; }
  .sr-page .sr-mobile-menu a:last-child { border-bottom: none; }
}

/* ---------------- Hero ---------------- */
.sr-page .sr-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
  align-items: start;
}
@media (max-width: 820px) {
  .sr-page .sr-hero { grid-template-columns: 1fr; gap: 28px; }
}
.sr-page .sr-gallery-main {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sr-page .sr-gallery-main img { max-height: 420px; object-fit: contain; height: auto; }
.sr-page .sr-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.sr-page .sr-thumbs button {
  flex: 1 1;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
}
.sr-page .sr-thumbs button.sr-active { border-color: var(--g-blue); }
.sr-page .sr-thumbs img { height: 64px; width: auto; object-fit: contain; margin: 0 auto; }

.sr-page .sr-stars { color: var(--g-yellow); letter-spacing: 2px; }
.sr-page .sr-hero .sr-sub { color: var(--gray); font-size: .9rem; margin-bottom: 8px; }
.sr-page .sr-hero h1 { font-size: clamp(1.65rem, 1.1rem + 2.4vw, 2.4rem); line-height: 1.2; margin: 6px 0 14px; }
.sr-page .sr-hero h1 em { font-style: normal; color: var(--g-blue); }
.sr-page .sr-hero p.sr-lead { color: var(--gray); margin-bottom: 18px; }

.sr-page .sr-checks { list-style: none; margin-bottom: 22px; }
.sr-page .sr-checks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.sr-page .sr-checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--g-green); font-weight: 800; }

.sr-page .sr-option {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  transition: .15s;
  background: none;
  width: 100%;
  text-align: left;
}
.sr-page .sr-option:hover { border-color: #c6c9ce; }
.sr-page .sr-option.sr-selected { border-color: var(--g-blue); background: #f0f6ff; }
.sr-page .sr-option .sr-name  { font-weight: 700; }
.sr-page .sr-option .sr-per   { font-size: .85rem; color: var(--gray); }
.sr-page .sr-option .sr-price { font-size: 1.25rem; font-weight: 800; }
.sr-page .sr-option .sr-old   { font-size: .85rem; color: var(--gray); text-decoration: line-through; font-weight: 400; margin-right: 6px; }

.sr-page .sr-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  background: var(--g-red);
  font-size: .72rem;
  padding: 3px 10px;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
}
.sr-page .sr-buy-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--g-blue);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  font-size: 1.05rem;
  padding: 15px;
  margin-top: 6px;
  transition: .15s;
}
.sr-page .sr-buy-btn:hover { background: #3367d6; }
.sr-page .sr-buy-note { text-align: center; font-size: .82rem; color: var(--gray); margin-top: 10px; }

/* ---------------- Trust-Leiste ---------------- */
.sr-page .sr-trust {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.sr-page .sr-trust .sr-wrap {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .92rem;
  color: var(--gray);
}
.sr-page .sr-trust b { color: var(--ink); }
@media (max-width: 640px) {
  .sr-page .sr-trust .sr-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    text-align: center;
    font-size: .85rem;
  }
}

/* ---------------- Scroll-Story ---------------- */
.sr-page .sr-story { height: 260vh; position: relative; }
.sr-page .sr-story-stage {
  position: sticky;
  top: var(--sr-head);
  height: calc(100vh - var(--sr-head));
  height: calc(100dvh - var(--sr-head));
  flex-direction: column;
  gap: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sr-page .sr-story-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: min(760px, 94vw);
  height: min(340px, 48vw);
}
.sr-page .sr-story-plate { position: relative; width: min(400px, 56vw); will-change: transform, opacity; }
.sr-page .sr-story-stars {
  position: absolute;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--g-yellow);
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.sr-page .sr-story-stars span { display: inline-block; }
.sr-page .sr-story-phone { width: min(280px, 40vw); will-change: transform, opacity; }
.sr-page .sr-story-phone, .sr-page .sr-story-waves { position: absolute; top: 50%; left: 50%; }
.sr-page .sr-story-waves { width: 34px; height: 52px; transform: translate(46px, -30px); }
.sr-page .sr-story-rating { text-align: center; will-change: transform, opacity; }
.sr-page .sr-story-score {
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.sr-page .sr-story-scale {
  position: relative;
  display: inline-block;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  letter-spacing: 4px;
  line-height: 1.2;
  color: var(--line);
}
.sr-page .sr-story-scale-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--g-yellow);
}
.sr-page .sr-story-caption { color: var(--gray); font-size: .95rem; margin-top: 4px; }
@media (max-width: 560px) {
  .sr-page .sr-story { height: 220vh; }
  .sr-page .sr-story-waves { transform: translate(30px, -26px) scale(.8); }
}

/* ---------------- Pile (gestapelte Sektionen) ---------------- */
.sr-page .sr-pile-item > section.sr-block { background: var(--bg); }
.sr-page .sr-pile-item > section.sr-block.sr-soft { background: var(--bg-soft); }
.sr-page .sr-pile-item > .sr-cta-band,
.sr-page .sr-pile-item > section.sr-block {
  border-top: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 32px rgba(32,33,36,.08);
}

/* ---------------- Blöcke ---------------- */
.sr-page section.sr-block { padding: 64px 0; }
@media (max-width: 560px) {
  .sr-page section.sr-block { padding: 44px 0; }
  .sr-page .sr-block .sr-blurb { margin-bottom: 28px; }
}
.sr-page .sr-block h2 { font-size: clamp(1.4rem, 1rem + 1.8vw, 1.95rem); text-align: center; margin-bottom: 10px; }
.sr-page .sr-block .sr-blurb { text-align: center; color: var(--gray); max-width: 640px; margin: 0 auto 40px; }
.sr-page .sr-accent {
  height: 4px;
  width: 64px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--g-blue), var(--g-red), var(--g-yellow), var(--g-green));
}
.sr-page .sr-soft { background: var(--bg-soft); }

/* ---------------- Stack-Karten ---------------- */
.sr-page .sr-stack { display: flex; flex-direction: column; gap: 28px; max-width: 900px; margin: 0 auto; }
.sr-page .sr-stack-item { position: sticky; }
.sr-page .sr-stack-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
  border: 1px solid;
  border-radius: 20px;
  padding: 44px 48px;
  min-height: 340px;
  transform-origin: center top;
  will-change: transform, opacity;
  box-shadow: 0 10px 30px rgba(32,33,36,.06);
}
.sr-page .sr-stack-blue  { background: #f0f6ff; border-color: #d3e3fd; }
.sr-page .sr-stack-red   { background: #fcefee; border-color: #f6d5d1; }
.sr-page .sr-stack-green { background: #e9f6ee; border-color: #ceead6; }
.sr-page .sr-stack-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.sr-page .sr-stack-blue  .sr-stack-num { background: var(--g-blue); }
.sr-page .sr-stack-red   .sr-stack-num { background: var(--g-red); }
.sr-page .sr-stack-green .sr-stack-num { background: var(--g-green); }
.sr-page .sr-stack-body h3 { font-size: clamp(1.2rem, .95rem + 1.1vw, 1.5rem); margin-bottom: 10px; }
.sr-page .sr-stack-body p { color: var(--gray); max-width: 42ch; }
.sr-page .sr-stack-visual { display: flex; align-items: center; justify-content: center; }
.sr-page .sr-stack-visual img { width: 100%; height: auto; max-height: 280px; object-fit: contain; }
.sr-page .sr-stack-rating { text-align: center; }
.sr-page .sr-stack-rating-score { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.2rem); font-weight: 800; line-height: 1.1; }
.sr-page .sr-stack-rating-stars { font-size: 2rem; letter-spacing: 4px; color: var(--g-yellow); line-height: 1.2; }
.sr-page .sr-stack-rating-caption { color: var(--gray); font-size: .92rem; margin-top: 4px; }
@media (max-width: 820px) {
  .sr-page .sr-stack-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; min-height: 0; text-align: center; }
  .sr-page .sr-stack-num { margin: 0 auto 14px; }
  .sr-page .sr-stack-body p { margin: 0 auto; }
  .sr-page .sr-stack-visual img { max-height: 200px !important; }
}

/* ---------------- Vorteile ---------------- */
.sr-page .sr-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .sr-page .sr-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sr-page .sr-features { grid-template-columns: 1fr; } }
.sr-page .sr-feature { text-align: center; padding: 10px; }
.sr-page .sr-feature .sr-icon { font-size: 2rem; margin-bottom: 10px; }
.sr-page .sr-feature .sr-icon svg { margin: 0 auto; }
.sr-page .sr-feature h3 { font-size: 1rem; margin-bottom: 6px; }
.sr-page .sr-feature p { color: var(--gray); font-size: .9rem; }

/* ---------------- Vergleichstabelle ---------------- */
.sr-page .sr-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 720px; margin: 0 auto; }
.sr-page .sr-compare { width: 100%; min-width: 500px; border-collapse: collapse; font-size: .95rem; }
.sr-page .sr-compare td, .sr-page .sr-compare th { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.sr-page .sr-compare td:first-child, .sr-page .sr-compare th:first-child { text-align: left; }
.sr-page .sr-compare thead th:nth-child(2) { background: var(--g-blue); color: #fff; border-radius: 10px 10px 0 0; }
.sr-page .sr-compare td:nth-child(2) { background: #f0f6ff; font-weight: 700; color: var(--g-green); }
.sr-page .sr-compare td:nth-child(3) { color: var(--g-red); }
@media (max-width: 560px) {
  .sr-page .sr-compare { font-size: .82rem; }
  .sr-page .sr-compare td, .sr-page .sr-compare th { padding: 10px 8px; }
}

/* ---------------- FAQ ---------------- */
.sr-page .sr-faq { max-width: 760px; margin: 0 auto; }
.sr-page .sr-faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; }
.sr-page .sr-faq summary {
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.sr-page .sr-faq summary::-webkit-details-marker { display: none; }
.sr-page .sr-faq summary::after { content: "+"; color: var(--g-blue); font-weight: 800; }
.sr-page .sr-faq details[open] summary::after { content: "\2013"; }
.sr-page .sr-faq details p { padding: 0 18px 16px; color: var(--gray); font-size: .95rem; }

/* ---------------- CTA-Band ---------------- */
.sr-page .sr-cta-band {
  background: linear-gradient(135deg, #f0f6ff, #fff);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 64px 20px;
}
.sr-page .sr-cta-band h2 { font-size: clamp(1.45rem, 1rem + 2vw, 2rem); margin-bottom: 10px; }
.sr-page .sr-cta-band h2 span { color: var(--g-yellow); }
.sr-page .sr-cta-band p { color: var(--gray); margin-bottom: 24px; }
.sr-page .sr-cta-band a {
  display: inline-block;
  background: var(--g-blue);
  color: #fff;
  font-weight: 700;
  padding: 15px 44px;
  border-radius: 999px;
  font-size: 1.05rem;
}
.sr-page .sr-cta-band a:hover { background: #3367d6; }

/* ---------------- Footer ---------------- */
.sr-page .sr-footer { background: var(--ink); color: #bdc1c6; padding: 36px 0; font-size: .88rem; }
.sr-page .sr-footer .sr-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.sr-page .sr-footer a { color: #bdc1c6; margin-left: 18px; }
.sr-page .sr-footer a:hover { color: #fff; }
@media (max-width: 640px) {
  .sr-page .sr-footer .sr-wrap { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .sr-page .sr-footer a { margin: 0 9px; }
}

/* ---------------- Reduced Motion ----------------
   Das Original setzt den Story-Fortschritt per JS auf 1 (Endzustand)
   und deaktiviert Stack-/Pile-Skalierung. Hier nur die Absicherung. */
@media (prefers-reduced-motion: reduce) {
  .sr-page .sr-burger span { transition: none; }
  .sr-page .sr-option, .sr-page .sr-buy-btn { transition: none; }
}


/* Pflichtangabe nach PAngV, unter dem Kaufbutton */
.sr-page .sr-tax-note{margin:10px 0 0;font-size:.85rem;color:var(--gray);text-align:center}

/* Transparenzhinweis zu KI-Inhalten im Footer */
.sr-page .sr-ai-note{font-size:.8rem;opacity:.7;margin-top:6px;max-width:46ch}

/* ====================================================================
   Rechtsseiten (Impressum, Datenschutz, AGB, Widerruf)
   Nutzen dieselben Tokens wie die Startseite – heller Grund, gleiche
   Schrift, gleicher Header/Footer.
   ==================================================================== */
.sr-page .sr-legal-bar{border-bottom:1px solid var(--line);background:var(--bg)}
.sr-page .sr-legal-bar .sr-wrap{display:flex;align-items:center;justify-content:space-between;
  min-height:64px;gap:16px}
.sr-page .sr-legal-back{font-size:.9rem;color:var(--gray);white-space:nowrap}
.sr-page .sr-legal-back:hover{color:var(--ink)}

.sr-page .sr-legal{max-width:740px;margin:0 auto;padding:44px 20px 72px}
.sr-page .sr-legal h1{font-size:clamp(1.7rem,4.5vw,2.15rem);line-height:1.2;margin-bottom:4px}
.sr-page .sr-legal h2{font-size:1.08rem;margin:34px 0 8px}
.sr-page .sr-legal h3{font-size:.98rem;margin:22px 0 6px}
/* color explizit: .sr-page p faerbt sonst grau (--gray), zu hell fuer Fliesstext */
.sr-page .sr-legal p{margin-bottom:12px;max-width:68ch;color:var(--ink)}
/* --g-blue erreicht auf Weiss nur 3.56:1. #1a73e8 = 4.5:1 und damit WCAG AA. */
.sr-page .sr-legal a{color:#1a73e8;text-decoration:underline}
.sr-page .sr-legal a:hover{text-decoration:none}
.sr-page .sr-legal strong{font-weight:700;color:var(--ink)}
.sr-page .sr-legal li{color:var(--ink)}

/* "Stand: Monat Jahr" direkt unter der Überschrift */
.sr-page .sr-legal .upd{color:var(--gray);font-size:.85rem;margin-bottom:30px}

/* Hervorgehobene Kästen (Anschrift, Kernaussagen, Formular) */
.sr-page .sr-legal .box{background:var(--bg-soft);border:1px solid var(--line);
  border-radius:var(--radius);padding:16px 18px;margin:18px 0}
.sr-page .sr-legal .box p:last-child{margin-bottom:0}

@media (max-width:560px){
  .sr-page .sr-legal{padding:28px 18px 56px}
  .sr-page .sr-legal-bar .sr-wrap{min-height:56px}
}
