:root { --home-green: #185b43; --home-lime: #d8ef63; --home-ink: #14231b; }

body.home-active { overflow: hidden; }
body.home-active .cloud-sync-badge { display: none; }
.merkmal-home {
  position: fixed; inset: 0; z-index: 1000; overflow-y: auto;
  color: var(--home-ink); background:
    radial-gradient(circle at 82% 8%, #dff3e5 0, transparent 30%),
    linear-gradient(145deg, #f8fbf8 0%, #edf5ef 100%);
}
.merkmal-home[hidden] { display: none; }
.home-wrap { width: min(1080px, calc(100% - 34px)); margin: 0 auto; padding: 24px 0 34px; }
.home-nav { display: flex; align-items: center; gap: 16px; }
.home-logo { display: inline-flex; align-items: center; gap: 10px; border-radius: 18px; padding: 7px 13px 7px 8px; background: #ffffff80; box-shadow: 0 12px 32px #173f2a12; transition: transform .2s, box-shadow .2s; text-decoration: none; }
.home-logo:hover { transform: translateY(-1px); box-shadow: 0 16px 38px #173f2a1c; }
.home-logo img { display: block; width: 56px; height: 56px; object-fit: contain; }
.ankimo-brand > span, .ankimo-brand-copy { display: grid; gap: 1px; text-align: start; }
.ankimo-brand strong, .ankimo-brand-copy strong { color: #18563f; letter-spacing: -.5px; font-size: 21px; line-height: 1.05; }
.ankimo-brand small, .ankimo-brand-copy small { color: #718078; font-size: 8px; font-weight: 750; line-height: 1.2; }
.brand.ankimo-global-brand { height: auto; min-height: 72px; padding: 10px; border-radius: 18px; background: #ffffff12; }
.brand.ankimo-global-brand img { display: block; width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.topbar-brand.ankimo-global-brand { display: inline-flex; align-items: center; gap: 7px; width: auto; height: auto; min-height: 48px; padding: 5px 9px 5px 5px; border-radius: 14px; background: #ffffffbf; box-shadow: 0 8px 24px #183d2912; }
.topbar-brand.ankimo-global-brand img { display: block; width: 44px; height: 44px; border-radius: 11px; object-fit: contain; }
.topbar-brand .ankimo-brand-copy strong { font-size: 16px; }
.brand .ankimo-brand-copy strong { font-size: 16px; }
.mohub-website-link { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; border-radius: 14px; padding: 6px 8px; background: #f7fbf8; transition: transform .2s; }
.mohub-website-link:hover { transform: translateY(-1px); }
.mohub-website-link img { display: block; width: 180px; max-width: 100%; height: auto; }
.card-alternatives { margin: 14px auto 0; max-width: 430px; padding: 12px 14px; border: 1px solid #d7e5dc; border-radius: 13px; background: #fff; color: #52675a; font-size: 11px; line-height: 1.5; }
.card-alternatives b { color: var(--home-green); }
.card-content > em,
.card-alternatives > b,
.card-alternatives > br:first-of-type { display: none !important; }
.card-alternatives span { display: inline-block; margin: 3px 5px 0 0; padding: 4px 7px; border-radius: 999px; background: #edf5ef; }
.card-alternatives .alternative-explanation,
.card-alternatives .alternative-example,
.card-alternatives .alternative-example-translation { display: block; width: 100%; margin-top: 7px; padding: 8px 10px; border-radius: 10px; }
.card-alternatives .alternative-explanation { color: #2d4e3b; background: #edf5ef; font-weight: 750; }
.card-alternatives .alternative-example { color: #5f503c; background: #fff8e8; }
.card-alternatives .alternative-example-translation { color: #315348; background: #eef7f3; }
.card-content.ankimo-details-below > p { display: none !important; }
.rating-grid button.again {
  color: #a52f29 !important; border-color: #e6aaa4 !important; background: #fff1ef !important;
}
.rating-grid button.hard {
  color: #8a6200 !important; border-color: #e4c56c !important; background: #fff8dc !important;
}
.rating-grid button.good {
  color: #176440 !important; border-color: #94c8aa !important; background: #eff9f2 !important;
}
.rating-grid button:disabled { opacity: .5; }
.progress-row { flex-wrap: wrap; gap: 9px 12px; }
.progress-row .progress-track { flex: 1 1 260px; }
.progress-row > strong { color: #216b4f; white-space: nowrap; }
.ankimo-goal-picker {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 8px;
  border: 1px solid #c9dbcf; border-radius: 11px; color: #52675a; background: #fff;
  font-size: 10px; font-weight: 800;
}
.ankimo-goal-picker input {
  width: 50px; min-height: 31px; padding: 3px 5px; border: 1px solid #b9d0c0; border-radius: 8px;
  color: #185b43; background: #f6fbf7; font: inherit; font-size: 12px; font-weight: 900; text-align: center;
}
.ankimo-goal-picker small { color: #718078; font-size: 9px; }
.progress-row.ankimo-goal-reached .progress-track span { background: #27855e !important; }
.global-language { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
.global-language button {
  cursor: pointer; border: 1px solid #cbdcd1; border-radius: 999px; background: #ffffffb8;
  min-height: 34px; padding: 5px 10px; color: #52675a; font-size: 11px; font-weight: 800;
}
.global-language button.active { color: #fff; border-color: var(--home-green); background: var(--home-green); }
.home-hero { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 42px; padding: 70px 0 42px; }
.home-kicker { color: var(--home-green); margin: 0 0 10px; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.home-hero h1 { margin: 0; max-width: 690px; font-size: clamp(39px, 6vw, 72px); line-height: .98; letter-spacing: -3px; }
.home-lead { color: #52675a; max-width: 650px; margin: 22px 0 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.55; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-button { cursor: pointer; border: 0; border-radius: 14px; min-height: 50px; padding: 0 20px; font-weight: 900; }
.home-button.primary { color: #fff; background: var(--home-green); box-shadow: 0 14px 30px #185b4333; }
.home-button.secondary { color: var(--home-green); border: 1px solid #bdd3c5; background: #fff; }
.home-card { background: #fff; border: 1px solid #d9e5dc; border-radius: 28px; padding: 26px; box-shadow: 0 24px 70px #183d2917; }
.home-card p { color: #6d7d73; margin: 0 0 14px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.level-shortcuts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.level-shortcuts button { cursor: pointer; border: 0; border-radius: 14px; min-height: 58px; color: var(--home-green); background: #edf5ef; font-size: 17px; font-weight: 900; }
.level-shortcuts button:nth-child(2) { color: #293c20; background: var(--home-lime); }
.level-shortcuts button:last-child { grid-column: span 2; }
.home-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-feature { border: 1px solid #dce7df; border-radius: 18px; background: #ffffffb5; padding: 20px; }
.home-feature b { display: block; margin-bottom: 7px; font-size: 14px; }
.home-feature span { color: #68796f; font-size: 12px; line-height: 1.5; }
.home-proof { display: flex; align-items: center; gap: 18px; margin-top: 18px; border-radius: 20px; background: var(--home-green); color: #fff; padding: 20px 24px; }
.home-proof strong { color: var(--home-lime); font-size: 31px; white-space: nowrap; }
.home-proof span { line-height: 1.45; }
.home-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.home-footer a { color: var(--home-green); border: 1px solid #c9dbcf; border-radius: 12px; background: #fff; padding: 11px 14px; font-size: 12px; font-weight: 850; text-decoration: none; }
.home-footer a.donate {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px;
  color: #164f38; border-color: #93c5a3; background: linear-gradient(145deg, #f4fbf6, #cfe9d7);
  box-shadow: 0 7px 18px #216b4f1f;
}
.home-footer .coffee-icon { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: #fbfffc; box-shadow: inset 0 0 0 1px #b9ddc4; font-size: 19px; line-height: 1; }
.home-footer .coffee-copy { display: grid; gap: 1px; text-align: start; }
.home-footer .coffee-copy strong { font-size: 11px; line-height: 1.2; }
.home-footer .coffee-copy small { color: #527562; font-size: 8px; font-weight: 750; line-height: 1.2; }
.share-url { color: #718078; margin-left: auto; font-size: 10px; overflow-wrap: anywhere; }
.about-mo-languages, .translation-language-picker { display: none !important; }
.merkmal-home-return { cursor: pointer; border: 1px solid #d5e1d8; border-radius: 11px; background: #fff; min-height: 38px; padding: 0 12px; color: #216b4f; font-size: 11px; font-weight: 850; }

@media (max-width: 760px) {
  .home-wrap { width: min(100% - 26px, 620px); padding-top: max(15px, env(safe-area-inset-top)); }
  .home-nav { align-items: flex-start; }
  .global-language { max-width: 240px; justify-content: flex-end; }
  .global-language button { min-height: 31px; padding: 4px 8px; font-size: 9px; }
  .home-hero { grid-template-columns: 1fr; gap: 24px; padding: 48px 0 28px; }
  .home-hero h1 { letter-spacing: -2px; }
  .home-features { grid-template-columns: 1fr 1fr; }
  .home-proof { align-items: flex-start; flex-direction: column; gap: 6px; }
  .share-url { width: 100%; margin-left: 0; }
}
@media (max-width: 430px) {
  .home-logo { padding: 5px 7px; }
  .home-logo img { width: 46px; height: 46px; }
  .ankimo-brand strong { font-size: 18px; }
  .home-hero { padding-top: 34px; }
  .home-features { grid-template-columns: 1fr; }
  .home-button { width: 100%; }
  .progress-row .progress-track { flex-basis: 100%; }
  .ankimo-goal-picker { margin-left: 0; }
}
@media (max-width:600px) {
  .topbar { flex-wrap:wrap; }
  .top-actions { flex-wrap:wrap; max-width:100%; }
}
