:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --border: #e2e8f0;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--dark);
}

.logo-area img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.28);
  transition: transform 0.15s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Full-screen hero */
.full-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.full-screen header {
  flex-shrink: 0;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 500;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--gray);
  opacity: 0.7;
  animation: bounce 2s infinite;
  pointer-events: none;
}

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

/* Sections */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 45px;
  font-weight: 800;
}

/* Features */
.features {
  background: var(--light);
  padding: 80px 20px;
}

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

.card {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--dark);
}

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

/* Platforms */
.platforms-section {
  max-width: 860px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
}

.platforms-section h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  font-weight: 700;
}

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/*
  "Die Grafik selbst ist der Button":
  feste Größe für alle drei Plattform-Buttons,
  damit Google Play, Apple und "Im Browser"
  optisch gleich groß wirken.
*/
.platform-buttons .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 56px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.platform-buttons .btn-secondary:hover:not(.btn-disabled) {
  transform: translateY(-2px);
  opacity: 0.85;
}

.platform-buttons .btn-secondary img,
.platform-buttons .btn-secondary svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.platform-buttons .btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Subjects */
.subjects-section {
  background: var(--light);
  padding: 70px 20px;
  text-align: center;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.tag-link {
  background: #eff6ff;
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #dbeafe;
  transition: 0.2s;
}

.tag-link:hover {
  background: var(--primary);
  color: #fff;
}

/* FAQ */
.faq-section {
  max-width: 780px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.faq-question {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.faq-answer {
  color: var(--gray);
}

/* Footer */
/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 50px 20px 40px;
  text-align: center;
  color: var(--gray);
}

/* Social Icons Reihe */
.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;   /* Abstand zu den Text-Links */
}

.social-btn {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.social-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Text-Links (FAQ, Über MATINO, Impressum, Datenschutz) */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Copyright */
.footer-copy {
  font-size: 0.9rem;
  color: var(--gray);
  opacity: 0.85;
}

/* SEO text block */
.seo-text {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.seo-text h2 {
  font-size: 32px;
  color: #2e7d32;
  margin-bottom: 20px;
  font-weight: 700;
}

.seo-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 600px) {
  header {
    padding: 16px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .seo-text {
    margin: 30px 15px;
    padding: 20px;
    border-radius: 18px;
  }

  .seo-text h2 {
    font-size: 24px;
  }

  .seo-text p {
    font-size: 16px;
  }
}