:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-strong: #eff6ff;
  --text: #172033;
  --muted: #667084;
  --line: #dbe7f5;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #14b8a6;
  --shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: radial-gradient(circle at top left, #e0f2fe 0, transparent 28rem), var(--bg); line-height: 1.6; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); background: rgba(248, 251, 255, 0.86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(219, 231, 245, 0.8); }
.site-header.compact { position: static; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; text-decoration: none; letter-spacing: -0.03em; }
.brand img { width: 38px; height: 38px; }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 650; }
.main-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .6rem .9rem; }
.section-shell, .page-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: center; padding: 5rem 0 3rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); max-width: 10ch; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.28rem; }
.hero-text { color: var(--muted); font-size: 1.15rem; max-width: 58ch; }
.hero-actions, .store-buttons { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: .9rem 1.15rem; background: var(--primary); color: white; font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
.button:hover { background: var(--primary-dark); }
.button-secondary { background: #eaf2ff; color: var(--primary-dark); box-shadow: none; }
.button-small { padding: .55rem .8rem; font-size: .9rem; color: white !important; }
.hero-card, .project-card, .app-store-card, .cta-panel, .blog-list article { background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { padding: 2rem; }
.status-pill { display: inline-flex; background: #dcfce7; color: #166534; padding: .35rem .7rem; border-radius: 999px; font-weight: 800; font-size: .85rem; margin-bottom: 1rem; }
.check-list { padding-left: 1.2rem; color: var(--muted); }
.section-heading { display: grid; gap: .5rem; max-width: 720px; margin-bottom: 1.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.project-card { padding: 1.4rem; display: grid; gap: .75rem; }
.project-card p, .blog-list p, .split-section p, .page-shell p { color: var(--muted); }
.card-icon, .app-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; font-weight: 900; }
.project-card a { color: var(--primary); font-weight: 800; text-decoration: none; }
.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: center; padding: 4rem 0; }
.app-store-card { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.app-icon { width: 88px; height: 88px; border-radius: 24px; font-size: 1.6rem; flex: none; }
.muted, .meta { color: var(--muted); }
.store-buttons span { border: 1px solid var(--line); border-radius: 14px; padding: .55rem .75rem; font-weight: 800; background: var(--surface-strong); }
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.blog-list article { padding: 1.35rem; }
.blog-list a { text-decoration: none; }
.cta-panel { margin-top: 4rem; margin-bottom: 4rem; padding: 2rem; text-align: center; background: linear-gradient(135deg, #ffffff, #e0f2fe); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 2rem clamp(1rem, 4vw, 3rem); color: var(--muted); border-top: 1px solid var(--line); }
.page-shell { padding: 5rem 0; max-width: 780px; }
.page-shell h1 { max-width: none; font-size: clamp(2.5rem, 6vw, 4.5rem); }
/* language-switcher */
.lang-switch { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .5rem; background: var(--surface); font-weight: 800; font-size: .8rem; cursor: pointer; color: var(--muted); user-select: none; }
.lang-switch span { padding: .25rem .45rem; border-radius: 999px; transition: background .15s, color .15s; }
.lang-switch span.active { background: var(--primary); color: #fff; }
/* hide inactive language content */
html[lang="de"] [lang="en"] { display: none; }
html[lang="en"] [lang="de"] { display: none; }
@media (max-width: 820px) {
  .hero, .split-section, .card-grid, .blog-list { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 72px; right: 1rem; left: 1rem; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1rem; box-shadow: var(--shadow); }
  .main-nav.open, .main-nav.visible { display: flex; }
  .nav-toggle { display: inline-flex; }
  h1 { max-width: 12ch; }
}
