/* ── Bukva Web – Shared Styles (Farben aus docs/BRAND.md, Light Mode) ── */

:root {
  --brand:         #E5383B;
  --brand-pressed: #C1272D;
  --bg:            #FFF4E6;
  --card:          #FFFFFF;
  --ink:           #1D1B3A;
  --muted:         #5E5A7A;
  --border:        #F0E2CF;
  --correct:       #2EC4B6;
  --correct-text:  #0F7F75;
  --wrong:         #FF8A3D;
  --reward:        #FFC93C;
  --radius:        24px;
  --shadow:        0 4px 16px rgba(29, 27, 58, 0.06);
  --font:          "Nunito", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 244, 230, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.nav-logo {
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 0 var(--brand-pressed);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-pressed); text-decoration: none !important; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 5% 72px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  background: var(--reward);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-mascot {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--card);
  box-shadow: var(--shadow);
  margin: 0 auto 28px;
  display: block;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 780px;
  margin: 0 auto 20px;
}
.hero h1 .highlight { color: var(--brand); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 3D-Button: Fläche + 4px dunklere Unterkante, wie in BRAND.md */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 20px;
  box-shadow: 0 4px 0 var(--brand-pressed);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-pressed); text-decoration: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 20px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border);
  transition: transform .15s, box-shadow .15s;
}
.btn-ghost:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--border); text-decoration: none; }

/* ── Section shared ── */
section { padding: 80px 5%; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 56px;
}

/* ── Features ── */
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }

/* ── Example card (Lückensatz) ── */
.example {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.example .sentence { font-size: 1.6rem; font-weight: 800; line-height: 1.4; margin-bottom: 16px; }
.example .gap {
  display: inline-block;
  border: 2px dashed var(--muted);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--muted);
}
.example .answer { display: inline-block; background: var(--reward); border-radius: 8px; padding: 0 6px; }
.example .translation { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }
.example .feedback {
  display: inline-block;
  background: #E6F8F6;
  color: var(--correct-text);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 16px;
}

/* ── Languages ── */
.languages-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.lang-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 700px; margin: 0 auto; }
.lang-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 800;
}

/* ── Benefits ── */
.benefits-list {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.benefit-row .benefit-icon { flex-shrink: 0; font-size: 1.1rem; margin-top: 1px; }
.benefit-divider { border: none; border-top: 1px solid var(--border); margin: 6px 0; }
.benefit-row.benefit-no { font-size: 0.95rem; font-weight: 600; color: var(--muted); }

/* ── How it works ── */
.steps { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px;
  background: var(--reward);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--ink);
  margin: 0 auto 16px;
  box-shadow: 0 4px 0 #E0A92A;
}
.step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--muted); }

/* ── Footer ── */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 48px 5% 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand { max-width: 240px; }
.footer-brand .logo { font-family: var(--font); font-size: 1.35rem; font-weight: 900; letter-spacing: -0.5px; color: var(--ink); }
.footer-brand p { font-size: 0.9rem; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.footer-col h4 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.95rem; font-weight: 600; color: var(--ink); transition: color .2s; }
.footer-col ul li a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px;
  font-size: 0.85rem; color: var(--muted);
}

/* ── Inner page ── */
.page-hero { padding: 64px 5% 48px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.8px; margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; color: var(--muted); max-width: 520px; margin: 0 auto; }
.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 5% 80px;
}
.content-wrap h2 { font-size: 1.25rem; font-weight: 800; margin: 36px 0 12px; }
.content-wrap p, .content-wrap li { font-size: 0.98rem; color: #3A3756; line-height: 1.75; }
.content-wrap ul, .content-wrap ol { padding-left: 20px; margin: 8px 0 16px; }
.content-wrap ul li, .content-wrap ol li { margin-bottom: 6px; }
.last-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 32px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
details.faq-item {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
details.faq-item summary {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  transition: transform .2s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 20px; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* ── Support Contact ── */
.contact-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 480px;
  margin: 48px auto 0;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.contact-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 56px 5% 48px; }
  .hero-mascot { width: 120px; height: 120px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .example .sentence { font-size: 1.3rem; }
}
