/* Schulnoten Tracker — marketing site
 *
 * Light, warm, friendly. Cream backgrounds + amber accent matching the
 * app icon. System font stack only (no Google Fonts; DSGVO). Mobile-
 * first responsive (375px and up). No JS dependencies.
 */

:root {
  --bg:           #FFFCF7;
  --bg-soft:      #FAF6EE;
  --bg-card:      #FFFFFF;
  --bg-tinted:    #FEF3C7;
  --text:         #1A2332;
  --text-mute:    #4B5568;
  --text-dim:     #7A8090;
  --accent:       #F59E0B;
  --accent-hi:    #FBBF24;
  --accent-deep:  #D97706;
  --accent-soft:  #FEF3C7;
  --success:      #10B981;
  --success-soft: #D1FAE5;
  --border:       #F2E6C9;
  --border-soft:  rgba(245, 158, 11, 0.12);
  --shadow-sm:    0 1px 2px rgba(20, 30, 50, 0.04);
  --shadow-md:    0 8px 24px rgba(20, 30, 50, 0.06);
  --shadow-lg:    0 24px 56px rgba(20, 30, 50, 0.10);
  --shadow-amber: 0 12px 32px rgba(245, 158, 11, 0.22);
  --maxw:         1120px;
  --pad:          24px;
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    22px;
  --radius-xl:    28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- Header (sticky, frosted) ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand__logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-size: 16px; letter-spacing: -0.2px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.lang-switch a,
.lang-switch span {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--text-mute);
  line-height: 1;
}
.lang-switch a:hover { text-decoration: none; color: var(--text); }
.lang-switch .is-active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) {
  .site-nav { gap: 18px; }
  .site-nav__primary { display: none; }
  .site-nav__primary--mobile-show { display: flex; }
}
@media (max-width: 480px) {
  .brand__name { display: none; }
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.18), transparent 50%),
    radial-gradient(circle at 5% 80%, rgba(245, 158, 11, 0.10), transparent 45%),
    var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero__copy { max-width: 560px; }
.hero__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  font-size: 19px;
  color: var(--text-mute);
  margin: 0 0 32px;
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__ctas img { height: 56px; width: auto; }
.hero__ctas a {
  display: inline-block;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero__ctas a:hover { transform: translateY(-2px); }

.hero__mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.hero__mockup::before {
  content: "";
  position: absolute;
  inset: 14% 14% 6% 14%;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.30), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero__mockup svg {
  position: relative;
  z-index: 1;
  width: 280px;
  max-width: 100%;
  filter: drop-shadow(0 30px 50px rgba(20, 30, 50, 0.18));
}

@media (max-width: 880px) {
  .hero { padding: 48px 0 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .hero__copy { max-width: 100%; }
  .hero__mockup svg { width: 240px; }
}

/* ---------------- Trust strip ---------------- */

.trust-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-card);
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  padding: 20px 0;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
}
.trust-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--success);
}

/* ---------------- Section base ---------------- */

.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--bg-soft);
}
.section__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 12px;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.section__lead {
  font-size: 18px;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
}

/* ---------------- Features grid ---------------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.feature-card p {
  color: var(--text-mute);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.feature-card__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}

/* ---------------- Screenshot showcase ---------------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: end;
}
.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.shot svg {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 24px 40px rgba(20, 30, 50, 0.15));
  transition: transform .25s ease;
}
.shot:hover svg { transform: translateY(-4px); }
.shot h4 {
  margin: 24px 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.shot p {
  margin: 0;
  color: var(--text-mute);
  font-size: 14px;
}

@media (max-width: 880px) {
  .shots {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------------- Plus pricing card ---------------- */

.plus-wrap {
  display: flex;
  justify-content: center;
}
.plus-card {
  max-width: 560px;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.plus-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.20), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.plus-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.plus-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent-deep));
  color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 22px;
  box-shadow: var(--shadow-amber);
}
.plus-card__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}
.plus-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0 4px;
}
.plus-card__amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.2px;
}
.plus-card__period {
  color: var(--text-mute);
  font-weight: 500;
  font-size: 16px;
}
.plus-card__sub {
  color: var(--text-mute);
  font-size: 14px;
  margin: 0 0 24px;
}
.plus-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.plus-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}
.plus-card__list li svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--success);
  margin-top: 1px;
}
.plus-card__fine {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 16px 0 0;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--accent);
  color: #FFF;
  box-shadow: var(--shadow-amber);
}
.btn--primary:hover { background: var(--accent-deep); color: #FFF; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--block { width: 100%; }

/* ---------------- Privacy-first section ---------------- */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.privacy-item__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
}
.privacy-item__icon svg { width: 18px; height: 18px; }
.privacy-item__copy h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}
.privacy-item__copy p {
  margin: 0;
  font-size: 14px;
  color: var(--text-mute);
}

@media (max-width: 720px) {
  .privacy-grid { grid-template-columns: 1fr; }
}

/* ---------------- Final CTA ---------------- */

.final-cta {
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.20), transparent 60%),
    var(--bg);
}
.final-cta h2 {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.final-cta p {
  font-size: 18px;
  color: var(--text-mute);
  margin: 0 auto 32px;
  max-width: 560px;
}
.final-cta__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.final-cta__badges img { height: 56px; width: auto; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer__brand .brand { margin-bottom: 12px; }
.site-footer__brand p {
  color: var(--text-mute);
  font-size: 14px;
  margin: 0 0 16px;
  max-width: 36ch;
}
.site-footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.site-footer__col a {
  display: block;
  color: var(--text-mute);
  font-size: 14px;
  padding: 5px 0;
}
.site-footer__col a:hover { color: var(--text); text-decoration: none; }

.site-footer__copy {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}
.site-footer__copy a { color: var(--text-mute); }

@media (max-width: 880px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------------- Legal pages (privacy, terms, support) ---------------- */

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 24px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}
.page-header {
  padding: 32px 0 8px;
}
.page-header__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 10px;
}
.page-header h1 {
  font-size: clamp(30px, 4.2vw, 42px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.15;
}
.page-header__subtitle {
  color: var(--text-mute);
  font-size: 17px;
  max-width: 64ch;
  margin: 0;
  line-height: 1.55;
}

.page-content {
  padding: 24px 0 96px;
  max-width: 720px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.3px;
}
.page-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 8px;
  color: var(--text);
}
.page-content p,
.page-content ul,
.page-content ol {
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.65;
}
.page-content ul, .page-content ol { padding-left: 24px; }
.page-content li { margin-bottom: 6px; }
.page-content a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-underline-offset: 3px;
}
.page-content a:hover { text-decoration-color: var(--accent); }
.page-content code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.page-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 0 0 16px;
  color: var(--text-mute);
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px 12px 18px;
}
.page-content blockquote p { margin: 0; }
.page-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* --- Footer: Mutter-Brand Rainy Castle ----------------------------- */

.site-footer__parent-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text, #1F2937);
  text-decoration: none;
}
.site-footer__parent-brand:hover { text-decoration: none; opacity: 0.85; }
.site-footer__parent-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
/* ============================================================
 *  iOS-only sub-site additions (appended after the shared base).
 *  Per-site :root override below wins by document order, so only
 *  the accent family is re-tinted; the warm neutral base stays.
 * ============================================================ */

/* Hero visual = the real app icon (no screenshots at launch yet). */
.hero__app-icon { display: flex; align-items: center; justify-content: center; }
.hero__app-icon img {
  width: min(300px, 72vw);
  height: auto;
  border-radius: 24%;
  box-shadow: var(--shadow-lg);
}

/* iOS store row + "coming soon" pill, shown until the app is live. */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.final-cta .store-row { justify-content: center; }
.store-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px; border-radius: 14px;
  background: var(--text); color: #fff; font-weight: 600; line-height: 1.1;
}
.store-cta:hover { text-decoration: none; transform: translateY(-2px); }
.store-cta svg { width: 26px; height: 26px; flex: none; }
.store-cta__text { display: flex; flex-direction: column; }
.store-cta__small { font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .2px; }
.store-cta__big   { font-size: 18px; letter-spacing: -.2px; }
.store-cta--soon {
  background: var(--bg-card); color: var(--text);
  border: 1.5px dashed var(--accent); cursor: default;
}
.store-cta--soon:hover { transform: none; }
.store-cta--soon svg { color: var(--accent); }

/* MatheFuchs brand accent — Fuchs-Orange mit warmem Creme. */
:root {
  --accent:       #E0731E;
  --accent-hi:    #F4923E;
  --accent-deep:  #B85A12;
  --accent-soft:  #FCE9D6;
  --bg-tinted:    #FBF4E8;
  --border:       #EBD9C4;
  --border-soft:  rgba(224, 115, 30, 0.14);
  --shadow-amber: 0 12px 32px rgba(224, 115, 30, 0.22);
}

/* ============================================================
   Phone-Fächer (Studio-Standard, wie www.rainycastle.de)
   3 iPhones mit App-Screenshots; Klick holt eines mit 360°-Spin
   nach vorne, Scroll kippt den Fächer leicht in 3D.
   ============================================================ */
.phone-fan-block {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  perspective: 1400px;
}
.phone-fan {
  position: relative;
  width: clamp(200px, 24vw, 280px);
  aspect-ratio: 293 / 600;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -6deg));
  transform-style: preserve-3d;
  will-change: transform;
}
.device {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform .6s cubic-bezier(.34,1.12,.42,1), filter .4s ease;
  will-change: transform;
}
.device:focus-visible { outline: none; }
.device:focus-visible .device__frame { outline: 3px solid var(--accent); outline-offset: 4px; }
.slot-front { transform: translate(0,0) scale(1); z-index: 3; }
.slot-left  { transform: translate(-41%,9%) rotate(-14deg) scale(.82); z-index: 1; }
.slot-right { transform: translate(39%,4%) rotate(11deg) scale(.87); z-index: 2; }
.slot-left, .slot-right { filter: brightness(.82) saturate(.92) blur(.3px); }
.device__frame {
  position: absolute; inset: 0;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(150deg, #3a4150 0%, #12151c 46%, #05070b 100%);
  box-shadow: 0 40px 80px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.28),
              inset 0 0 0 2px rgba(255,255,255,.07), 0 0 0 1px rgba(0,0,0,.5);
  animation: fanFloat 7s ease-in-out infinite;
}
.slot-left .device__frame, .slot-right .device__frame {
  box-shadow: 0 26px 54px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.05);
}
.device__frame::before { content:""; position:absolute; right:-2px; top:33%; width:3px; height:54px; border-radius:2px; background:#262b34; }
.device__frame::after  { content:""; position:absolute; left:-2px; top:25%; width:3px; height:38px; border-radius:2px; background:#262b34; box-shadow:0 52px 0 #262b34; }
.device__screen {
  position:relative; width:100%; height:100%; border-radius:36px; overflow:hidden;
  background:#fff; display:flex; align-items:center; justify-content:center;
}
.device__screen::after { content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(125deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 32%); }
.device__shot { width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
.phone-fan__caption { margin:24px 0 0; text-align:center; font-size:14px; font-weight:700; letter-spacing:.2px; color:var(--text-mute); }
@keyframes fanFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================================================
   Dunkler Hero wie auf der Studio-Startseite (rainycastle.de),
   damit der Phone-Fächer identisch wirkt. Nur .hero wird dunkel;
   der Rest der Seite bleibt hell.
   ============================================================ */
.hero {
  background:
    radial-gradient(120% 90% at 78% 8%, #1d3350 0%, transparent 55%),
    radial-gradient(140% 120% at 8% 100%, #12243b 0%, transparent 50%),
    linear-gradient(165deg, #0c1622 0%, #0e1a2b 45%, #0a1420 100%);
  color: #EAF2FB;
}
.hero__eyebrow {
  background: rgba(122,184,224,.12);
  color: #BFE0F5;
  border: 1px solid rgba(122,184,224,.28);
}
.hero h1 { color: #FFFFFF; }
.hero h1 em {
  background: linear-gradient(100deg, #FFC85A, #F5A623 55%, #FF8A3D);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__tagline { color: #C6D5E6; }
.store-cta {
  background: #FFFFFF; color: #0e1a2b;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.store-cta__small { opacity: .6; }
.hero__mockup::before {
  inset: 6% 8% 0 8%;
  background: radial-gradient(closest-side, rgba(245,158,11,.40), transparent 70%);
  filter: blur(30px);
}
.hero { overflow: hidden; }

/* ── App-Switcher (studioweit) ───────────────────────────────────── */
.brand-switcher{display:flex;align-items:center;gap:.4rem}
.app-switcher{position:relative;line-height:0}
.app-switcher>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.1rem;
  padding:.4rem .5rem;border-radius:999px;color:inherit;line-height:1;
  border:1px solid color-mix(in srgb,currentColor 16%,transparent);
  background:color-mix(in srgb,currentColor 6%,transparent);transition:background .15s ease}
.app-switcher>summary::-webkit-details-marker{display:none}
.app-switcher>summary:hover{background:color-mix(in srgb,currentColor 13%,transparent)}
.app-switcher>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.app-switcher__grid{opacity:.85}
.app-switcher__chev{opacity:.6;transition:transform .18s ease}
.app-switcher[open] .app-switcher__chev{transform:rotate(180deg)}
.app-switcher__menu{position:absolute;top:calc(100% + .55rem);left:0;z-index:80;min-width:236px;
  background:var(--sw-menu-bg,#fff);color:var(--sw-menu-fg,#0f172a);
  border:1px solid rgba(15,23,42,.12);border-radius:16px;
  box-shadow:0 22px 48px -14px rgba(2,6,23,.5);padding:.5rem;animation:sw-in .16s ease}
@keyframes sw-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.app-switcher__label{margin:.25rem .6rem .45rem;font-size:.7rem;font-weight:600;letter-spacing:.05em;
  text-transform:uppercase;opacity:.55}
.app-switcher__menu ul{list-style:none;margin:0;padding:0}
.app-switcher__item{display:block;padding:.5rem .6rem;border-radius:10px;font-size:.95rem;
  font-weight:500;color:inherit;text-decoration:none;white-space:nowrap;line-height:1.2}
.app-switcher__item:hover{background:color-mix(in srgb,currentColor 9%,transparent)}
.app-switcher__item[aria-current]{font-weight:700;background:color-mix(in srgb,currentColor 11%,transparent)}
.app-switcher__item[aria-current]::after{content:"";display:inline-block;width:.5rem;height:.5rem;
  margin-left:.5rem;border-radius:50%;background:#22c55e;vertical-align:middle}
.app-switcher__item--studio{margin-top:.35rem;border-top:1px solid rgba(15,23,42,.1);
  padding-top:.55rem;opacity:.85;font-size:.88rem}
@media (prefers-color-scheme:dark){
  .app-switcher__menu{--sw-menu-bg:#0f172a;--sw-menu-fg:#e5edff;border-color:rgba(255,255,255,.12)}
  .app-switcher__item--studio{border-top-color:rgba(255,255,255,.12)}
}
@media (prefers-reduced-motion:reduce){.app-switcher__menu{animation:none}.app-switcher__chev{transition:none}}

