/* ============================================================
   Verben mit Präpositionen Plus — Shared Design System
   Brand: teal #0088B5 + orange #FF8C00
   ============================================================ */

:root {
  /* Brand palette */
  --teal: #0088B5;
  --teal-deep: #006688;
  --teal-dark: #004d66;
  --orange: #FF8C00;
  --orange-light: #F5A623;

  /* Neutrals */
  --bg: #F7FAFC;
  --bg-alt: #ffffff;
  --text: #1A2B3C;
  --text-soft: #4a5b6b;
  --text-muted: #7a8a99;
  --border: #e2e8f0;

  /* Effects */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 77, 102, 0.06);
  --shadow: 0 8px 24px rgba(0, 77, 102, 0.10);
  --shadow-lg: 0 18px 48px rgba(0, 77, 102, 0.16);
  --container: 1140px;

  /* Typography */
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 136, 181, 0.32);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 136, 181, 0.42);
}

.btn--accent {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 140, 0, 0.30);
}

.btn--accent:hover {
  color: #fff;
  box-shadow: 0 16px 32px rgba(255, 140, 0, 0.40);
}

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand__name {
  line-height: 1.15;
}

.brand__name small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--teal);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language selector — segmented toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}

.lang-toggle button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-toggle button:hover {
  color: var(--teal);
}

.lang-toggle button.active {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Mobile nav toggle */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 140, 0, 0.10), transparent 60%),
    radial-gradient(1000px 600px at 0% 10%, rgba(0, 136, 181, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 136, 181, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  margin-bottom: 20px;
}

.hero__title .accent {
  background: linear-gradient(135deg, var(--teal) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__tagline {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat b {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--teal-deep);
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Phone frame for screenshot */
.phone-frame {
  position: relative;
  justify-self: center;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  background: #0b1a24;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 2px solid #1c2f3a;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0b1a24;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 40%, rgba(0, 136, 181, 0.25), transparent 65%);
  z-index: -1;
  filter: blur(20px);
}

/* ---------- About / Problem ---------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.about__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 136, 181, 0.12), rgba(255, 140, 0, 0.12));
  margin-bottom: 20px;
  color: var(--teal);
}

.about__card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.about__card p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ---------- Game Modes ---------- */
.modes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mode-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.mode-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mode-card:hover::before {
  transform: scaleX(1);
}

.mode-card__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.mode-card__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 136, 181, 0.28);
}

.mode-card__icon--orange {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.28);
}

.mode-card__title {
  font-size: 1.35rem;
}

.mode-card__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.mode-card p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.mode-card__rule {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: rgba(0, 136, 181, 0.06);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ---------- Free vs Full ---------- */
.compare__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.compare-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.compare-card--full {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow);
}

.compare-card__badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.compare-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.compare-card__price {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.compare-card li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

.compare-card--full li svg {
  color: var(--orange);
}

/* ---------- Verb list feature ---------- */
.verblist {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(255, 140, 0, 0.10), transparent 60%),
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 100%);
  color: #fff;
}

.verblist .section-title,
.verblist .eyebrow {
  color: #fff;
}

.verblist .eyebrow {
  color: var(--orange-light);
}

.verblist .section-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.verblist__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.verblist__item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(6px);
}

.verblist__item h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.verblist__item p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.verblist__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange-light);
  margin-bottom: 6px;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(255, 140, 0, 0.12), transparent 60%),
    var(--bg-alt);
}

.cta-band__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-band__sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1a24;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.footer__brand b {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.05rem;
}

.footer__about {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer__col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: var(--orange-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 72px 0 96px;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 28px;
}

.legal__back:hover {
  color: var(--teal-deep);
}

.legal__wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
}

.legal__title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal__section {
  margin-bottom: 30px;
}

.legal__section h3 {
  font-size: 1.2rem;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.legal__section p,
.legal__section li {
  color: var(--text-soft);
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.legal__section ul {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal__contact {
  margin-top: 36px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.legal__contact h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.legal__contact p {
  margin-bottom: 6px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta,
  .hero__meta {
    justify-content: center;
  }

  .about__grid,
  .verblist__grid {
    grid-template-columns: 1fr;
  }

  .modes__grid,
  .compare__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px 24px 20px;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links li {
    border-bottom: 1px solid var(--border);
  }

  .nav__links li:last-child {
    border-bottom: none;
  }

  .nav__links a {
    display: block;
    padding: 14px 0;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .legal__wrap {
    padding: 32px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand__name small {
    display: none;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .btn {
    width: 100%;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
