/* CSS der Startseite. Ausgelagert, damit die deutsche und die englische
   Fassung es nicht doppelt tragen muessen. */

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,214,102,0.85) 0%, rgba(255,214,102,0) 42%),
    linear-gradient(165deg, #fff6ec 0%, #ffe9d3 55%, #ffdcbb 100%);
  border-bottom: 1px solid #f0d3bb;
}
.hero-inner {
  max-width: 1000px; margin: 0 auto; padding: 44px 24px 0;
  display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center;
}
.hero-copy { padding-bottom: 48px; }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 900; letter-spacing: -1.2px; line-height: 1.08;
  color: #21284a; margin-bottom: 16px;
}
.hero h1 em {
  display: block; font-style: italic;
  background: linear-gradient(90deg, #ff6b35 0%, #ffb347 55%, #e8637a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 17px; line-height: 1.6; color: #6a5544;
  max-width: 30em; margin-bottom: 22px;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.78); border: 1.5px solid #e8c8b0;
  border-radius: 999px; padding: 6px 14px;
  font-size: 13.5px; font-weight: 600; color: #6b4b36;
}
.hero-pill:hover { border-color: #e07b54; background: #fff; text-decoration: none; }
.hero-cta {
  background: #e8402a; box-shadow: 0 6px 20px rgba(232,64,42,0.3);
}
.hero-cta:hover { background: #cc3421; }

/* ── Phone mockup ───────────────────────────────────────────────────────── */
.hero-visual { position: relative; align-self: end; }
.phone {
  width: 260px; margin: 0 auto; position: relative; z-index: 2;
  border: 9px solid #1c2033; border-bottom: none;
  border-radius: 36px 36px 6px 6px;
  background: #1c2033;
  box-shadow: 0 18px 50px rgba(60,30,10,0.28);
}
.phone-screen {
  background: #fff; border-radius: 27px 27px 0 0;
  padding: 20px 12px 0; height: 372px; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.phone-island {
  width: 76px; height: 18px; background: #1c2033; border-radius: 999px;
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.app-card-body {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 12px;
}
.app-card {
  flex: 1; min-height: 0;
  border: 1.5px solid #5cb97f; border-radius: 14px;
  background: linear-gradient(180deg, #e7f5ec 0%, #fcfefd 72%);
  padding: 10px 12px; display: flex; flex-direction: column;
}
.app-card-top { display: flex; justify-content: space-between; gap: 6px; }
.chip {
  background: #fff; border: 1px solid #dfe3ea; border-radius: 999px;
  padding: 2px 9px; font-size: 9.5px; font-weight: 700; color: #4a5064;
}
.chip-new { border-color: #9ed4b3; color: #2f8b58; }
.app-meaning {
  text-align: center; font-size: 8.5px; font-weight: 600; letter-spacing: 0.8px;
  color: #98a0b0; text-transform: uppercase;
}
.app-verb {
  text-align: center; font-size: 27px; font-weight: 800; letter-spacing: -0.8px;
  color: #21284a; margin-top: 2px;
}
.app-gap {
  text-align: center; font-size: 13px; line-height: 1.5; color: #454b60;
  margin-top: 14px;
}
.gap-blank {
  display: inline-block; width: 58px; border-bottom: 2.5px solid #3b82f6;
  vertical-align: 2px;
}
.app-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e6e9f0; border-radius: 10px; padding: 6px 0; text-align: center;
}
.app-stats div { display: flex; flex-direction: column; gap: 1px; }
.app-stats div + div { border-left: 1px solid #eef0f5; }
.app-stats strong { font-size: 15px; font-weight: 800; line-height: 1; }
.app-stats span { font-size: 7.5px; font-weight: 600; letter-spacing: 0.5px; color: #98a0b0; }
.s-due { color: #f97316; } .s-done { color: #22a55b; }
.s-streak { color: #ef4444; } .s-xp { color: #eab308; }
.app-btn {
  border: 1px solid #e6e9f0; border-radius: 10px; padding: 9px;
  text-align: center; font-size: 11.5px; font-weight: 600; color: #3b4157;
  background: #f8f9fc;
}
.app-nav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #eef0f5; padding: 7px 0 9px; margin: 0 -12px;
}
.app-nav span { display: flex; justify-content: center; color: #aeb5c4; }
.app-nav span.is-active { color: #6c63ff; }
.app-nav svg { width: 17px; height: 17px; }

.hero-mascot {
  position: absolute; left: -162px; bottom: -56px;
  width: 188px; z-index: 1; pointer-events: none;
  filter: drop-shadow(0 5px 10px rgba(90,45,10,0.18));
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 32px; gap: 8px; }
  .hero-copy { padding-bottom: 8px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-pills { justify-content: center; }
  .hero-mascot { left: auto; right: calc(50% + 118px); bottom: -41px; width: 140px; }
}
@media (max-width: 560px) {
  .hero-mascot { display: none; }
}

/* ── App holen ─────────────────────────────────────────────────────────── */
.download { padding: 32px 0 24px; }
.download h2 {
  text-align: center; font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 20px;
}
.download-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start;
}
.download-platform { background: #fdf3ee; border: 1.5px solid #e8c8b0;
  border-radius: var(--radius); padding: 16px 18px; }
.download-platform h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.badge-wrap { display: inline-block; }
.badge-appstore {
  width: 130px; display: block;
}
.badge-soon {
  display: inline-block; margin-top: 6px;
  font-size: 11px; color: var(--text-muted);
  background: #f3e0d4; border-radius: 6px;
  padding: 2px 8px;
}
.install-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.install-steps li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}
.install-steps .step-num {
  flex-shrink: 0; width: 20px; height: 20px;
  background: #e07b54; color: #fff;
  border-radius: 50%; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 600px) {
  .download-grid { grid-template-columns: 1fr; }
}

/* ── Features ─────────────────────────────────────────────────────────── */
.features { padding: 48px 0; }
.features h2 {
  text-align: center; font-size: 28px; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 40px;
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.feature-card {
  background: #fdf3ee; border: 1.5px solid #e8c8b0;
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.feature-card:hover {
  border-color: #e07b54;
  box-shadow: 0 4px 24px rgba(224,123,84,0.15);
}
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ── Magic Link Erklärung ──────────────────────────────────────────────── */
.magic-section {
  padding: 64px 0; background: #fff5f0;
  border-top: 1px solid #e8c8b0;
}
.magic-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.magic-icon { font-size: 48px; margin-bottom: 16px; }
.magic-inner h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.magic-inner p {
  font-size: 16px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 28px;
}

/* ── Blog preview ─────────────────────────────────────────────────────── */
.blog-preview { padding: 64px 0; background: var(--surface); }
.blog-preview-header {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px;
}
.blog-preview-header h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.post-cards { display: flex; flex-direction: column; gap: 12px; }
.post-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  transition: border-color 0.15s; display: block;
}
.post-card:hover { border-color: var(--primary); text-decoration: none; }
.post-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.post-card time { font-size: 12px; color: var(--text-muted); }
.post-card p { font-size: 14px; color: var(--text-muted); margin-top: 6px; }
