/* German Method Premium: Verkaufsseite.
   Farben, Schatten, Radien, Abstände und Verläufe kommen aus tokens.css (Brand-Kit).
   Bausteine nach den Regeln in BRAND.md und components/ des Kits. */

/* DM Sans, selbst gehostet (gleiche Datei wie auf germanmethod.de, variabel 400 bis 800) */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ersatzschrift mit angeglichenen Maßen, damit beim Laden nichts springt */
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial");
  ascent-override: 94.9%;
  descent-override: 29.66%;
  line-gap-override: 0%;
  size-adjust: 104.53%;
}

:root {
  --font-sans: "DM Sans", "DM Sans Fallback", system-ui, sans-serif;
  --star-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='white' stroke-width='1'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
}

/* Grundlage ----------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  color: var(--gm-cover-blue);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
}

::selection {
  background: rgba(99, 56, 140, 0.18);
}

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

.skip-link {
  position: fixed;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 60;
  border-radius: var(--radius-full);
  background: var(--gm-cover-blue);
  padding: var(--space-3) var(--space-5);
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  transform: none;
}

.container {
  position: relative;
  max-width: var(--container-section);
  margin: 0 auto;
}

.glow {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.glow-purple {
  background: var(--glow-purple);
}

.glow-blue {
  background: var(--glow-blue);
}

.glow-white {
  background: var(--glow-white);
}

.glow-violet {
  background: radial-gradient(closest-side, rgba(165, 139, 255, 0.18), rgba(165, 139, 255, 0.06) 55%, transparent);
}

.glow-teal {
  background: radial-gradient(closest-side, rgba(79, 224, 224, 0.16), rgba(79, 224, 224, 0.06) 55%, transparent);
}

/* Buttons (Button) ------------------------------------------------------------ */

.gm-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2\.5);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: var(--space-3\.5) var(--space-6);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: translate 300ms, background-color 300ms, border-color 300ms, box-shadow 300ms;
}

.gm-btn:hover {
  translate: 0 -2px;
}

.gm-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.gm-btn-primary {
  border-color: var(--gm-cover-blue);
  background: var(--gm-cover-blue);
  color: var(--on-dark);
  box-shadow: var(--shadow-button);
}

.gm-btn-primary:hover {
  border-color: var(--gm-navy-hover);
  background: var(--gm-navy-hover);
  box-shadow: var(--shadow-button-hover);
}

.gm-btn-secondary {
  border-color: rgba(21, 9, 88, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gm-cover-blue);
  box-shadow: var(--shadow-button-secondary);
}

.gm-btn-secondary:hover {
  border-color: rgba(21, 9, 88, 0.25);
  background: var(--card);
}

.gm-btn-sm {
  padding: var(--space-2\.5) var(--space-5);
  font-size: 14px;
}

.gm-arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: translate 300ms;
}

.gm-btn:hover .gm-arrow,
.summary-cta:hover .gm-arrow {
  translate: 4px 0;
}

/* Navigation (NavBar) ------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: var(--space-3) var(--space-4) 0;
}

.site-nav {
  display: flex;
  max-width: var(--container-nav);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.45);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 500ms, border-color 500ms, box-shadow 500ms;
}

.site-nav.is-scrolled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-nav);
}

.site-nav-logo {
  flex: none;
  border-radius: var(--radius-2xl);
  padding: 6px 0;
}

.site-nav-logo:focus-visible {
  outline: 2px solid var(--gm-cover-blue);
  outline-offset: 2px;
}

.site-nav-logo img {
  width: auto;
  height: 34px;
}

.site-nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.site-nav-links a {
  display: block;
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-3\.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(21, 9, 88, 0.75);
  text-decoration: none;
  transition: background-color 200ms, color 200ms;
}

.site-nav-links a:hover {
  background: rgba(21, 9, 88, 0.06);
  color: var(--gm-cover-blue);
}

.site-nav-links a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav-cta {
  display: none;
}

.site-nav-menu {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--gm-cover-blue);
  cursor: pointer;
  transition: background-color 200ms;
}

.site-nav-menu:hover {
  background: rgba(21, 9, 88, 0.08);
}

.site-nav-menu:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-nav-menu svg {
  width: 20px;
  height: 20px;
}

.site-nav-menu .icon-close,
.site-nav-menu[aria-expanded="true"] .icon-menu {
  display: none;
}

.site-nav-menu[aria-expanded="true"] .icon-close {
  display: block;
}

/* Sprachwahl EN / DE */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: var(--space-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.55);
  padding: 3px;
}

.lang-switch > * {
  display: block;
  min-width: 34px;
  border-radius: var(--radius-full);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  color: var(--ink-muted);
  transition: background-color 200ms, color 200ms;
}

.lang-switch a:hover {
  background: rgba(21, 9, 88, 0.06);
  color: var(--gm-cover-blue);
}

.lang-switch a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.lang-switch .is-active {
  background: var(--card);
  color: var(--gm-cover-blue);
  box-shadow: 0 4px 10px -6px rgba(21, 9, 88, 0.45);
}

.mobile-nav {
  max-width: var(--container-nav);
  margin: var(--space-2) auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-3);
  box-shadow: 0 20px 60px -30px rgba(21, 9, 88, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: block;
  border-radius: var(--radius-2xl);
  padding: var(--space-3) var(--space-4);
  font-size: 15px;
  font-weight: 500;
  color: var(--gm-cover-blue);
  text-decoration: none;
  transition: background-color 200ms;
}

.mobile-nav ul a:hover {
  background: rgba(21, 9, 88, 0.06);
}

.mobile-nav a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.mobile-nav-cta {
  margin-top: var(--space-2);
  background: var(--gm-cover-blue);
  padding: var(--space-3\.5) var(--space-4);
  text-align: center;
  color: var(--on-dark) !important;
}

@media (min-width: 640px) {
  .site-header {
    padding-top: var(--space-4);
  }

  .site-nav-cta {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .site-nav-links {
    display: flex;
  }

  .site-nav-menu,
  .mobile-nav {
    display: none !important;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: var(--space-28);
}

.hero-glow-left {
  left: -240px;
  top: -40px;
  width: 760px;
  height: 760px;
}

.hero-glow-right {
  right: -208px;
  top: 80px;
  width: 800px;
  height: 800px;
}

.hero-grid {
  position: relative;
  display: grid;
  max-width: var(--container-hero);
  margin: 0 auto;
  align-items: center;
  gap: var(--space-8);
  padding: 0 var(--space-5);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.gm-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px var(--space-4) 6px var(--space-2);
  color: rgba(21, 9, 88, 0.8);
  box-shadow: var(--shadow-pill);
}

.gm-hero-pill-icon {
  display: flex;
  width: 24px;
  height: 24px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gm-cover-blue);
  color: var(--gm-gold-light);
}

.gm-hero-pill-icon svg {
  width: 14px;
  height: 14px;
}

.hero-heading {
  margin-top: var(--space-7);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--gm-cover-blue);
}

.hero-heading span {
  display: block;
  text-wrap: balance;
}

.gm-grad-title {
  padding-bottom: 0.06em;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: var(--measure-lead);
  margin-top: var(--space-6);
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(21, 9, 88, 0.72);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 280px;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-visual-en img {
  width: 340px;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 128px;
  }

  .hero-visual img {
    width: 380px;
  }

  .hero-visual-en img {
    width: 420px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 136px;
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: var(--space-2);
    padding: 0 var(--space-8);
  }

  .hero-text {
    padding-bottom: var(--space-12);
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .hero-visual img {
    width: 430px;
  }

  .hero-visual-en img {
    width: 480px;
  }
}

@media (min-width: 1280px) {
  .hero-visual img {
    width: 480px;
  }

  .hero-visual-en img {
    width: 540px;
  }
}

/* Laufband mit USP-Karten (UspCard) ------------------------------------------ */

.usp-band {
  position: relative;
  margin-top: var(--space-6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.usp-track {
  display: flex;
  width: max-content;
  gap: var(--space-4);
  padding: var(--space-2) var(--space-4) var(--space-16) 0;
  animation: gm-marquee 48s linear infinite;
}

.usp-band:hover .usp-track {
  animation-play-state: paused;
}

.gm-usp {
  display: flex;
  max-width: 340px;
  flex: none;
  align-items: center;
  gap: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-3xl);
  background: rgba(255, 255, 255, 0.75);
  padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4);
  box-shadow: var(--shadow-usp);
}

.gm-usp p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.375;
  letter-spacing: -0.01em;
  color: var(--gm-cover-blue);
}

.gm-gold-disc {
  display: flex;
  width: 40px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gradient-gold-disc);
  color: var(--gm-gold-deep);
  box-shadow: var(--shadow-gold-disc);
}

.gm-gold-disc svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 640px) {
  .usp-band {
    margin-top: var(--space-8);
  }

  .usp-track {
    padding-bottom: 88px;
  }

  .gm-usp {
    max-width: 400px;
  }

  .gm-usp p {
    font-size: 16px;
  }
}

/* Abschnittskopf (SectionHeader) -------------------------------------------- */

.gm-section-head {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.gm-eyebrow {
  text-transform: uppercase;
  color: var(--gm-echo-purple);
}

.section-heading {
  margin-top: var(--space-4);
  font-size: clamp(1.85rem, 4.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--gm-cover-blue);
  text-wrap: balance;
}

.gm-grad-text {
  background: var(--gradient-title-short);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-intro {
  max-width: 36rem;
  margin: var(--space-5) auto 0;
  font-size: 15px;
  line-height: 1.625;
  color: var(--ink-body);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .section-intro {
    font-size: 17px;
  }
}

.heading-line {
  display: block;
}

/* Leistungen ---------------------------------------------------------------- */

.features {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fd 16%, #dfe8fb 55%, #d6e1fa 100%);
  padding: var(--space-20) var(--space-5);
}

.features-glow-left {
  left: -96px;
  top: 96px;
  width: 380px;
  height: 380px;
}

.features-glow-right {
  right: -96px;
  bottom: 40px;
  width: 380px;
  height: 380px;
}

.bento {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-12);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-22);
  background: var(--gradient-glass);
  padding: var(--space-6);
  box-shadow: var(--shadow-tile);
  transition: translate 500ms;
}

/* Glanz oben rechts (StatTile) */
.card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 128px;
  height: 128px;
  border-radius: var(--radius-full);
  background: var(--glow-white);
  pointer-events: none;
}

.card:hover {
  translate: 0 -4px;
}

.card > * {
  position: relative;
}

.card-icon {
  width: 64px;
  height: 64px;
  flex: none;
}

.card-body {
  min-width: 0;
}

.card-heading {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--gm-cover-blue);
  text-wrap: balance;
}

.card-text {
  max-width: 34rem;
  margin-top: var(--space-2);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body);
  text-wrap: pretty;
}

/* App-Kachel mit den belegten Zahlen der Website */
.app-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(21, 9, 88, 0.08);
  padding-top: var(--space-6);
}

.app-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-stats li + li {
  border-left: 1px solid rgba(21, 9, 88, 0.08);
  padding-left: var(--space-4);
}

.app-stat-value {
  font-size: clamp(1.65rem, 4.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--gm-cover-blue);
}

.app-stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Betreuung in drei Phasen */
.card-care {
  display: block;
}

.phases {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.phase {
  position: relative;
  padding-left: var(--space-12);
}

.phase-num {
  position: absolute;
  left: 0;
  top: -2px;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gm-cover-blue);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--on-dark);
  box-shadow: var(--shadow-pill);
}

.phase:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 38px;
  bottom: -14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(21, 9, 88, 0.22), rgba(21, 9, 88, 0.06));
}

.phase-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--gm-cover-blue);
}

.phase-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-body);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .features {
    padding-block: var(--space-28);
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-16);
  }

  .card-app,
  .card-care,
  .card-support {
    grid-column: span 2;
  }

  .card {
    gap: var(--space-8);
    border-radius: var(--radius-28);
    padding: var(--space-8);
  }

  .card-icon {
    width: 76px;
    height: 76px;
  }

  .card-heading {
    font-size: 1.375rem;
  }

  .card-text {
    font-size: 16px;
  }

  .app-stats li + li {
    padding-left: var(--space-6);
  }

  .app-stat-label {
    font-size: 15px;
  }

  .phase-title {
    font-size: 17px;
  }

  .phase-text {
    font-size: 15px;
  }

  /* Support als breite Kachel: Icon links, Text rechts */
  .card-support {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-6);
  }
}

@media (min-width: 768px) {
  .phases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .phase {
    padding-top: 52px;
    padding-left: 0;
  }

  .phase-num {
    top: 0;
  }

  .phase:not(:last-child)::after {
    left: 44px;
    right: -12px;
    top: 16px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(21, 9, 88, 0.22), rgba(21, 9, 88, 0.06));
  }
}

@media (min-width: 1024px) {
  .features {
    padding-inline: var(--space-8);
  }

  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-support {
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    grid-column: span 1;
  }
}

/* Zahlungspläne ------------------------------------------------------------- */

.pricing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #d6e1fa 0%, #dfe8fb 30%, #c9d8f7 66%, #aec3f2 100%);
  padding: var(--space-20) var(--space-5) var(--space-28);
}

.pricing-watermark {
  position: absolute;
  inset: auto 0 64px;
  display: flex;
  justify-content: center;
  opacity: 0.1;
  pointer-events: none;
}

.pricing-watermark img {
  width: 135%;
  max-width: none;
}

.pricing-glow {
  left: 50%;
  bottom: 48px;
  width: 640px;
  height: 520px;
  translate: -50% 0;
}

.pricing-grid {
  display: grid;
  max-width: 40rem;
  margin: var(--space-12) auto 0;
  gap: var(--space-5);
}

/* Plan-Auswahl */
.plans {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.plan {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3\.5);
  border-radius: var(--radius-3xl);
  background: rgba(255, 255, 255, 0.6);
  padding: 18px var(--space-5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), var(--shadow-usp);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: translate 300ms, background-color 300ms, box-shadow 300ms;
}

.plan:hover {
  translate: 0 -2px;
  background: rgba(255, 255, 255, 0.82);
}

.plan:has(.plan-input:checked),
.plan.is-selected {
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--gm-cover-blue), var(--shadow-card);
}

.plan:has(.plan-input:focus-visible) {
  outline: 2px solid var(--gm-cover-blue);
  outline-offset: 3px;
}

.plan-best {
  margin-top: var(--space-2);
}

.plan-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.plan-radio {
  display: flex;
  width: 26px;
  height: 26px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px rgba(21, 9, 88, 0.22);
  color: transparent;
  transition: background-color 300ms, box-shadow 300ms, color 300ms;
}

.plan-radio svg {
  width: 14px;
  height: 14px;
}

.plan:has(.plan-input:checked) .plan-radio,
.plan.is-selected .plan-radio {
  background: var(--gm-cover-blue);
  box-shadow: none;
  color: var(--on-dark);
}

.plan-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.plan-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px var(--space-2\.5);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--gm-cover-blue);
}

.plan-save {
  display: inline-flex;
  border-radius: var(--radius-full);
  background: rgba(99, 56, 140, 0.1);
  padding: 3px var(--space-2\.5);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--gm-echo-purple);
}

.plan-meta {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.plan-amount {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--gm-cover-blue);
}

.plan-per {
  margin-top: 4px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--ink-muted);
}

.plan-ribbon {
  position: absolute;
  top: -11px;
  right: var(--space-5);
  border-radius: var(--radius-full);
  background: var(--gm-cover-blue);
  padding: 4px var(--space-3);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gm-gold-light);
  box-shadow: var(--shadow-pill);
}

/* Zusammenfassung (DarkPanel) */
.summary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-28);
  background: var(--gradient-dark-panel);
  box-shadow: var(--shadow-panel);
  color: var(--on-dark);
}

.summary-deco > * {
  position: absolute;
  pointer-events: none;
}

.summary-glow-blue {
  top: -96px;
  right: -96px;
  width: 320px;
  height: 320px;
  border-radius: var(--radius-full);
  background: radial-gradient(closest-side, rgba(0, 82, 156, 0.4), rgba(0, 82, 156, 0.14) 55%, transparent);
}

.summary-glow-purple {
  bottom: -112px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: var(--radius-full);
  background: radial-gradient(closest-side, rgba(99, 56, 140, 0.5), rgba(99, 56, 140, 0.17) 55%, transparent);
}

.summary-stars {
  inset: 0;
  opacity: 0.07;
  background-image: var(--star-pattern);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.summary-letter {
  font-family: var(--font-quran);
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  -webkit-user-select: none;
  user-select: none;
}

.summary-letter-1 {
  right: 5%;
  bottom: 3%;
  font-size: 190px;
}

.summary-letter-2 {
  right: 10%;
  top: 4%;
  font-size: 130px;
}

.summary-body {
  position: relative;
  padding: var(--space-8) var(--space-6) var(--space-7);
}

.summary-eyebrow {
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.summary-plan {
  margin-top: var(--space-2\.5);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--on-dark);
}

.summary-price {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: var(--space-4);
  color: var(--gm-gold-light);
}

.summary-amount {
  font-size: clamp(3.25rem, 6.4vw, 4.25rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.summary-currency {
  margin-top: 0.3em;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(233, 217, 179, 0.8);
}

.summary-per {
  margin-top: var(--space-2\.5);
  font-size: 15px;
  color: var(--on-dark-muted);
}

.summary-saving {
  display: inline-flex;
  margin-top: var(--space-4);
  border: 1px solid rgba(233, 217, 179, 0.35);
  border-radius: var(--radius-2xl);
  background: rgba(233, 217, 179, 0.1);
  padding: 6px var(--space-3\.5);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gm-gold-light);
}

.summary-rows {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line-on-dark);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: 1px solid var(--line-on-dark);
  padding: var(--space-3) 0;
  font-size: 15px;
}

.summary-row dt {
  color: var(--on-dark-muted);
}

.summary-row dd {
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--on-dark);
}

.summary-included {
  display: flex;
  align-items: center;
  gap: var(--space-2\.5);
  margin-top: var(--space-4);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.summary-check {
  display: flex;
  width: 24px;
  height: 24px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233, 217, 179, 0.4);
  border-radius: var(--radius-full);
  background: rgba(233, 217, 179, 0.1);
  color: var(--gm-gold-light);
}

.summary-check svg {
  width: 13px;
  height: 13px;
}

.summary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2\.5);
  margin-top: var(--space-6);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  padding: 17px var(--space-6);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  color: var(--gm-cover-blue);
  box-shadow: var(--shadow-button);
  transition: translate 300ms, background-color 300ms, box-shadow 300ms;
}

.summary-cta:hover {
  translate: 0 -2px;
  background: var(--card);
  box-shadow: var(--shadow-button-hover);
}

.summary-cta:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 3px;
}

.summary-cta .gm-arrow {
  width: 18px;
  height: 18px;
}

.summary-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: 13px;
  color: var(--on-dark-muted);
}

.summary-secure svg {
  width: 15px;
  height: 15px;
}

/* Wechsel des Plans: Werte blenden kurz neu ein */
@keyframes gm-swap {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Abschlusssatz */
.closing-claim {
  position: relative;
  max-width: 40rem;
  margin: var(--space-20) auto 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.7vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--gm-cover-blue);
  text-wrap: balance;
}

.closing-claim span {
  display: block;
}

.closing-soft {
  color: var(--ink-body);
}

@media (min-width: 640px) {
  .pricing {
    padding-block: var(--space-28) 160px;
  }

  .pricing-watermark {
    bottom: 72px;
  }

  .pricing-watermark img {
    width: 112%;
  }

  .pricing-grid {
    margin-top: var(--space-16);
  }

  .plan {
    gap: 18px;
    padding: 22px 26px;
  }

  .plan-name {
    font-size: 18px;
  }

  .plan-amount {
    font-size: 1.55rem;
  }

  .summary {
    border-radius: var(--radius-36);
  }

  .summary-body {
    padding: var(--space-8) 40px var(--space-7);
  }

  .closing-claim {
    margin-top: var(--space-28);
  }
}

/* Ab 24px Schriftgröße reicht der Kontrast für die zarte Vorzeile */
@media (min-width: 900px) {
  .closing-soft {
    color: rgba(21, 9, 88, 0.5);
  }
}

@media (min-width: 1024px) {
  .pricing {
    padding-inline: var(--space-8);
  }

  .pricing-grid {
    max-width: none;
    margin-top: 56px;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: var(--space-7);
  }
}

@media (min-width: 1280px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: var(--space-8);
  }
}

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

.site-footer {
  background: var(--gradient-footer);
  padding: var(--space-20) var(--space-5) 40px;
}

.site-footer-card {
  display: flex;
  max-width: var(--container-narrow);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-28);
  background: rgba(255, 255, 255, 0.06);
  padding: var(--space-8);
  text-align: center;
}

.site-footer-logo {
  width: auto;
  height: 64px;
}

.site-footer-claim {
  max-width: 24rem;
  margin-top: var(--space-6);
  font-size: 15px;
  line-height: 1.625;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-8);
  margin-top: 36px;
}

.site-footer-links a {
  border-radius: 6px;
  font-size: 14px;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 200ms;
}

.site-footer-links a:hover {
  color: var(--on-dark);
}

.site-footer-links a:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 3px;
}

.site-footer-copy {
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  font-size: 13px;
  color: var(--on-dark-muted);
}

@media (min-width: 640px) {
  .site-footer {
    padding-top: 96px;
  }

  .site-footer-card {
    padding: var(--space-12);
  }

  .site-footer-logo {
    height: 74px;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-inline: var(--space-8);
  }
}

/* Bewegung ------------------------------------------------------------------ */

@keyframes gm-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes gm-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .summary-body.is-updating [data-field] {
    animation: gm-swap 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  /* Einblenden beim Scrollen, rein per CSS. Ohne Unterstützung bleibt alles sichtbar. */
  @supports (animation-timeline: view()) {
    .gm-reveal {
      animation: gm-fade-up linear both;
      animation-timeline: view();
      animation-range: entry var(--reveal-offset, 0px) entry calc(var(--reveal-offset, 0px) + 140px);
    }

    .reveal-2 {
      --reveal-offset: 22px;
    }

    .reveal-3 {
      --reveal-offset: 45px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .usp-track {
    padding-left: var(--space-8);
    animation: none;
  }
}
