/* Basic Reset and Variables */
:root {
  --bg: #0e0f12;
  --bg-soft: #14161b;
  --text: #eaeef5;
  --muted: #b8c0d0;
  --primary: #e94057;
  --primary-dark: #c23144;
  --secondary: #3a86ff;
  --accent: #ffbe0b;
  --card: #1a1d24;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji"; }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navbar */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(20,22,27,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid #22252d; }
.navbar { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1rem; }
.navbar .brand { font-weight: 700; color: var(--text); }
.navbar .menu { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.navbar .menu a { color: var(--text); opacity: 0.9; }
.navbar .menu a:hover { opacity: 1; }
.lang-switch a { margin-left: 0.5rem; color: var(--accent); font-weight: 600; }
.menu-toggle { display: none; background: transparent; border: 1px solid #2a2d36; color: var(--text); font-size: 1.2rem; padding: 0.25rem 0.5rem; border-radius: 6px; }

/* Hero */
.hero { position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(0.9) contrast(1.05);
  /* Default fall-back image */
  background-image: url('https://cdn2.imgpog.com/69163824a0bd12bb55482407.jpg');
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14,15,18,0.5), rgba(14,15,18,0.9)); }
.hero-inner { position: relative; z-index: 1; max-width: 1000px; padding: 3rem 1rem; }
.hero h1 { font-size: 2.2rem; margin: 0 0 1rem; }
.hero p { color: var(--muted); }
.disclaimer { font-size: 0.95rem; color: #d8a2a9; margin-top: 0.5rem; }
.cta-group { margin-top: 1rem; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.7rem 1.1rem; border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #2b2f3a; color: var(--text); }
.hero-img { margin-top: 1.2rem; max-width: 720px; width: 90%; border-radius: 12px; border: 1px solid #2a2d36; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1rem; border-bottom: 1px solid #21232a; }
.section h2 { font-size: 1.8rem; margin: 0 0 1rem; }
.section h3 { font-size: 1.2rem; margin: 1rem 0 0.5rem; }
.steps { counter-reset: step; padding-left: 0; }
.steps li { list-style: none; background: var(--card); margin: 1rem 0; padding: 1rem; border: 1px solid #2a2d36; border-radius: 12px; }
.steps li h3 { margin-top: 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { background: var(--card); border: 1px solid #2a2d36; border-radius: 12px; padding: 1rem; }
.section-img { display: block; margin: 1rem auto; max-width: 900px; width: 95%; border-radius: 12px; border: 1px solid #2a2d36; }

/* Footer */
.site-footer { text-align: center; padding: 2rem 1rem; background: var(--bg-soft); }
.footer-nav { display: flex; gap: 1rem; justify-content: center; margin-bottom: 0.75rem; }
.footer-lang { margin-bottom: 0.5rem; color: var(--muted); }
.copyright { color: var(--muted); font-size: 0.9rem; }

/* Language-specific hero backgrounds */
html[lang="en"] .hero-bg { background-image: url('https://cdn2.imgpog.com/69163824a0bd12bb55482407.jpg'); }
html[lang="de"] .hero-bg { background-image: url('https://cdn2.imgpog.com/6916658ca0bd12bb558cbb13.jpg'); }
html[lang="fr"] .hero-bg { background-image: url('https://cdn2.imgpog.com/69163822a0bd12bb554820b5.jpg'); }
html[lang="es"] .hero-bg { background-image: url('https://cdn2.imgpog.com/69166536a0bd12bb558c4028.jpg'); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .navbar .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-soft); padding: 0.75rem; border-bottom: 1px solid #22252d; }
  .navbar .menu.open { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
  .menu-toggle { display: inline-block; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
}