:root {
  --bg: #0b0f14;
  --bg-soft: #101621;
  --text: #e6e9ef;
  --muted: rgba(230, 233, 239, 0.65);
  --gold: #e2c78e;
  --gold-strong: #f0d9a6;
  --blue: #38bdf8;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(226, 199, 142, 0.25);
  --shadow: 0 24px 60px rgba(3, 8, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(120% 140% at 10% 0%, #162034 0%, #0b0f14 55%, #080b10 100%),
    linear-gradient(to top, rgba(8, 11, 16, 0.9), rgba(8, 11, 16, 0) 45%);
  background-color: var(--bg);
  color: var(--text);
  font-family: "Cormorant Garamond", "Garamond", "Georgia", serif;
  min-height: 100%;
}

body {
  display: flex;
  justify-content: center;
  padding: 48px 16px 64px;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  background: linear-gradient(to top, rgba(6, 8, 12, 0.95), rgba(6, 8, 12, 0));
  pointer-events: none;
  z-index: 0;
}

.page {
  width: min(1080px, 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding-bottom: 32px;
}

.landing-body {
  padding: 72px 24px 64px;
}

.landing {
  min-height: auto;
  padding-bottom: 0;
}

.landing-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.landing-brand:focus-visible {
  outline: 2px solid rgba(226, 199, 142, 0.6);
  outline-offset: 4px;
  border-radius: 14px;
}

.landing-brand:hover .landing-brand-text h1 {
  color: var(--gold-strong);
}

.landing-brand:hover .landing-brand-text p {
  color: rgba(226, 199, 142, 0.7);
}

.landing-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(226, 199, 142, 0.35);
  background: rgba(226, 199, 142, 0.12);
}

.landing-brand-text h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 0.6px;
}

.landing-brand-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.4px;
}

.landing-page-title {
  margin: 2px 0 20px;
  text-align: center;
}

.landing-page-title h2 {
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  color: var(--gold-strong);
  letter-spacing: 0.4px;
}

.landing-page-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.landing-grid--impressum {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.landing-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.landing-card h2 {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  color: rgba(226, 199, 142, 0.8);
  letter-spacing: 0.4px;
}

.landing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 2px;
  align-items: baseline;
}

.impressum-card {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.impressum-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.impressum-card .meta {
  font-size: 0.85rem;
  opacity: 0.7;
}

.meta-note {
  display: block;
  margin: 0;
  padding-bottom: 0.9rem;
}

.impressum-card hr + .meta {
  margin: -0.4rem 0;
}

.impressum-card .company {
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.impressum-card hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.2rem 0;
  opacity: 0.6;
}

.impressum-card a {
  color: rgba(230, 230, 230, 0.92);
}

.landing-card p + p {
  margin-top: 10px;
}

.landing-card a {
  color: rgba(226, 199, 142, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-card--accent {
  border-color: rgba(226, 199, 142, 0.35);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 12px 30px rgba(3, 8, 20, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.landing-card--center {
  text-align: center;
}

.landing-cta {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.landing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.landing-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(3, 8, 20, 0.4);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(226, 199, 142, 0.25);
}

.landing-appstore-badge {
  display: block;
  width: 88px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(226, 199, 142, 0.22));
}

.landing-cta-note {
  font-size: 0.85rem;
  color: rgba(230, 233, 239, 0.55);
  letter-spacing: 0.2px;
}

.landing-footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  width: 100%;
}

.landing-footer-copy {
  color: var(--muted);
}

.landing-footer a {
  color: rgba(226, 199, 142, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-footer a:hover {
  color: var(--gold-strong);
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.35px;
  direction: ltr;
  align-self: stretch;
  width: 100%;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0 8px;
}

.lang-switch a:first-child {
  padding-left: 0;
}

html[dir="rtl"] .lang-switch {
  justify-content: center;
  direction: rtl;
}

html[dir="rtl"] .landing-footer {
  align-items: center;
  text-align: center;
}

html[dir="rtl"] .landing-footer-copy {
  align-self: center;
}

html[dir="rtl"] .lang-switch a + a {
  border-left: none;
  border-right: 1px solid rgba(226, 232, 240, 0.2);
}

html[dir="rtl"] .lang-switch a:first-child {
  padding-left: 8px;
  padding-right: 0;
}

html[dir="rtl"] .contact-row a[dir="ltr"] {
  display: block;
  width: 100%;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
  justify-self: end;
}

.lang-switch a + a {
  border-left: 1px solid rgba(226, 232, 240, 0.2);
}

.lang-switch a:hover {
  color: var(--gold-strong);
}

html[lang="de"] .lang-switch a[data-lang="de"],
html[lang="en"] .lang-switch a[data-lang="en"],
html[lang="fr"] .lang-switch a[data-lang="fr"],
html[lang="tr"] .lang-switch a[data-lang="tr"],
html[lang="ar"] .lang-switch a[data-lang="ar"],
html[lang="ur"] .lang-switch a[data-lang="ur"] {
  color: var(--gold-strong);
  font-weight: 600;
}

.page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -64px;
  height: 240px;
  background: linear-gradient(to top, rgba(6, 8, 12, 0.85), rgba(6, 8, 12, 0));
  pointer-events: none;
  z-index: -1;
}

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

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand:focus-visible {
  outline: 2px solid rgba(226, 199, 142, 0.6);
  outline-offset: 4px;
  border-radius: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(226, 199, 142, 0.35);
  background: rgba(226, 199, 142, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: "Cormorant Garamond", "Garamond", "Georgia", serif;
}

.brand-title {
  font-size: 1.5rem;
  letter-spacing: 0.6px;
  margin: 0;
}

.brand-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--gold-strong);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding: 32px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid rgba(226, 199, 142, 0.16);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  letter-spacing: 0.6px;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--blue);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(8, 12, 18, 0.6);
  border: 1px solid rgba(226, 199, 142, 0.2);
}

.hero-card h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.4px;
  color: var(--gold-strong);
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 0.98rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(226, 199, 142, 0.9), rgba(226, 199, 142, 0.5));
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.4px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: var(--gold-strong);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 10px;
  padding-bottom: 12px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold-strong);
}

.legal {
  padding: 26px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(226, 199, 142, 0.18);
  line-height: 1.7;
  color: var(--muted);
}

.legal h2 {
  margin-top: 0;
  color: var(--gold-strong);
  font-size: 1.5rem;
}

.legal h3 {
  color: var(--gold);
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.legal a {
  color: var(--blue);
  text-decoration: none;
}

@media (max-width: 720px) {
  body {
    padding: 24px 14px 32px;
  }

  .landing-body {
    padding: 56px 18px 64px;
  }

  .landing-brand {
    margin-bottom: 0;
  }

  .landing-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .landing-brand-text h1 {
    font-size: 1.55rem;
  }

  .landing-brand-text p {
    font-size: 0.95rem;
  }

  .landing-page-title h2 {
    font-size: 1.2rem;
  }

  .landing-page-title p {
    font-size: 0.95rem;
  }

  .landing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-card {
    padding: 18px;
    border-radius: 14px;
    box-shadow: none;
  }

  .landing-cta-button {
    border-radius: 10px;
  }

  .landing-appstore-badge {
    width: 80px;
  }

  .landing-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .lang-switch {
    justify-content: flex-start;
  }

  .lang-switch a:first-child {
    padding-left: 0;
  }

  html[dir="rtl"] .landing-footer,
  html[lang="ar"] .landing-footer,
  html[lang="ur"] .landing-footer {
    align-items: flex-start;
    text-align: right;
    direction: rtl;
  }

  html[dir="rtl"] .lang-switch,
  html[lang="ar"] .lang-switch,
  html[lang="ur"] .lang-switch {
    justify-content: flex-start;
    direction: rtl;
  }

  html[dir="rtl"] .lang-switch a:first-child,
  html[lang="ar"] .lang-switch a:first-child,
  html[lang="ur"] .lang-switch a:first-child {
    padding-left: 8px;
    padding-right: 0;
  }

  html[dir="rtl"] .landing-footer-copy,
  html[lang="ar"] .landing-footer-copy,
  html[lang="ur"] .landing-footer-copy {
    align-self: flex-start;
  }

  .page::after {
    display: none;
  }

  .hero {
    padding: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    box-shadow: none;
    background: transparent;
    border: none;
  }

  .page-header-card {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 14px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    gap: 8px 14px;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .brand-subtitle {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .hero-card {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
  }

  .hero-card ul {
    font-size: 0.92rem;
    line-height: 1.6;
    padding-left: 16px;
    margin: 0;
  }

  .section-grid {
    display: block;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
  }

  .card {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    margin-bottom: 14px;
  }

  .legal {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
  }

  .page-flow {
    margin-top: 6px;
  }

  .page-flow h3 {
    margin-top: 18px;
  }

  .cta {
    width: fit-content;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 16px;
    padding-top: 8px;
    font-size: 0.78rem;
    color: rgba(230, 233, 239, 0.5);
  }

  .footer span + span {
    display: none;
  }

  .section-grid .card {
    display: block;
  }

  .section-grid .card h3 {
    margin: 0 0 4px 0;
    font-size: 0.96rem;
    letter-spacing: 0.2px;
  }

  .section-grid .card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(230, 233, 239, 0.6);
    line-height: 1.5;
  }

  .section-grid .card + .card {
    border-top: none;
    padding-top: 0;
  }
}

.nav-links a[href="support.html"] {
  opacity: 0.7;
}

.nav-links a[href="support.html"]:hover {
  opacity: 1;
}
