/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary:   #334155;
  --color-secondary: #10B981;
  --color-tertiary:  #F59E0B;
  --color-hero-dark: #0F172A;
  --color-hero-mid:  #1E293B;
  --color-surface:   #F8FAFC;
  --color-white:     #FFFFFF;
  --color-text:      #1E293B;
  --color-muted:     #64748B;
  --color-card-border: #E2E8F0;

  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
  --nav-height: 64px;
  --max-width: 1200px;
  --section-pad: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 48px);
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  color: var(--color-text);
}

body { background: var(--color-white); overflow-x: hidden; }

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* Language toggling */
[data-lang="en"] .de { display: none; }
[data-lang="de"] .en { display: none; }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-hero-mid);
  box-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.85rem; }

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s;
  font-family: var(--font);
}

.lang-btn.active { color: var(--color-white); }
.lang-btn:hover { color: var(--color-white); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--color-hero-dark) 0%, var(--color-hero-mid) 100%);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--section-pad);
}

.hero__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero__text { flex: 1; min-width: 0; }

.hero__headline {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-block;
  transition: transform 0.15s, opacity 0.15s;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.store-badge img {
  height: 44px;
  width: auto;
  display: block;
}

.hero__image {
  flex: 0 0 auto;
  width: clamp(220px, 35%, 400px);
}

.hero__image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.25);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── SHARED SECTION ─── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: var(--section-pad);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
  letter-spacing: -0.01em;
}

/* ─── FEATURES ─── */
.features { background: var(--color-white); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.feature-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ─── */
.how { background: var(--color-surface); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step {
  flex: 1;
  text-align: center;
}

.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.step__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.step__arrow {
  font-size: 1.6rem;
  color: var(--color-secondary);
  padding-top: 14px;
  flex-shrink: 0;
  font-weight: 300;
}

/* ─── CONTACT / FOOTER ─── */
.contact {
  background: var(--color-hero-mid);
  color: var(--color-white);
}

.contact__inner { text-align: center; }

.contact__title { color: var(--color-white); }

.contact__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.contact__email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.contact__email:hover { opacity: 0.8; }

.contact__divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 40px auto 24px;
}

.contact__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav__links { display: none; }

  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero__image { width: clamp(200px, 70%, 320px); }

  .hero__badges { justify-content: center; }

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

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step { width: 100%; max-width: 360px; }

  .step__arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }
}
