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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, Roboto, Helvetica, Arial, sans-serif;
  background: #fafafa;
  color: #1d1d1f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-de .lang-en { display: none !important; }
body.lang-en .lang-de { display: none !important; }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */

.site-header {
  padding: 20px 0;
  position: relative;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d1d1f;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.lang-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.8125rem;
}

.lang-toggle button {
  background: none;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: #86868b;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle button.active {
  background: #1d1d1f;
  color: #fff;
}

.lang-toggle button:hover:not(.active) {
  background: #f0f0f0;
}

/* Hero */

.hero {
  text-align: center;
  padding: 80px 0 40px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #86868b;
  font-weight: 400;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1rem;
  color: #6e6e73;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}

.appstore-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.appstore-badge:hover {
  opacity: 0.8;
}

.appstore-badge img {
  height: 48px;
}

/* Screenshots */

.screenshots {
  padding: 48px 0;
}

.screenshot-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #d2d2d7 transparent;
}

.screenshot-scroll::-webkit-scrollbar {
  height: 6px;
}

.screenshot-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.screenshot-scroll::-webkit-scrollbar-thumb {
  background: #d2d2d7;
  border-radius: 3px;
}

.screenshot-scroll img {
  scroll-snap-align: center;
  width: 560px;
  max-width: 80vw;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Features */

.features {
  padding: 40px 0 56px;
}

.features-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8ed;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.875rem;
  color: #6e6e73;
  line-height: 1.5;
}

/* Legal / Content Pages */

.page-content {
  padding: 60px 0 80px;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content p {
  margin-bottom: 12px;
  color: #1d1d1f;
}

.page-content ul {
  margin-bottom: 12px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 4px;
  color: #1d1d1f;
}

.page-content a {
  color: #06c;
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content strong {
  font-weight: 600;
}

/* Support */

.support-box {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 24px;
}

.support-box .email-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 1.125rem;
  color: #06c;
  text-decoration: none;
  font-weight: 500;
}

.support-box .email-link:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e8e8ed;
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #86868b;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1d1d1f;
}

.footer-copy {
  font-size: 0.75rem;
  color: #aeaeb2;
}

/* Back link */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  color: #06c;
  text-decoration: none;
  margin-bottom: 8px;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 600px) {
  .hero {
    padding: 48px 0 24px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

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

  .screenshot-scroll img {
    width: 440px;
  }

  .page-content {
    padding: 40px 0 60px;
  }

  .page-content h1 {
    font-size: 1.5rem;
  }
}
