/* ── Self-hosted Inter (no Google Fonts request) ── */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/inter-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/inter-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --bg:          #F2EDE6;
  --surface:     #EBE4DA;
  --surface-alt: #E4DCD0;
  --border:      #D8CEBC;
  --text:        #2C2420;
  --text-sec:    #6B6058;
  --text-muted:  #9E958C;
  --accent:      #8C7B6E;
  --accent-sub:  rgba(140,123,110,0.10);
  --radius:      16px;
  --max-w:       1000px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Background mesh (atmospheric ambient light) ── */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}
/* Top-left warm cloud */
body::before {
  width: 70vw;
  height: 70vw;
  max-width: 680px;
  max-height: 680px;
  top: -15vh;
  left: -18vw;
  background: radial-gradient(circle at 40% 40%,
    rgba(196,170,142,0.28) 0%,
    rgba(196,170,142,0.12) 45%,
    transparent 70%);
}
/* Bottom-right deeper taupe cloud */
body::after {
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  bottom: -10vh;
  right: -14vw;
  background: radial-gradient(circle at 60% 60%,
    rgba(160,132,104,0.22) 0%,
    rgba(160,132,104,0.09) 45%,
    transparent 70%);
}
/* Middle-right accent blob (via HTML element, no extra pseudo-elements available) */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}
.bg-blob--mid {
  width: 50vw;
  height: 50vw;
  max-width: 500px;
  max-height: 500px;
  top: 38vh;
  right: -12vw;
  background: radial-gradient(circle at 50% 50%,
    rgba(176,148,118,0.18) 0%,
    rgba(176,148,118,0.07) 50%,
    transparent 70%);
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) { .container { padding: 0 20px; } }

/* ── Nav ── */
nav {
  padding: 22px 0;
  position: relative;
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 600px) { .nav-inner { padding: 0 20px; } }
.nav-logo {
  font-size: 15px; font-weight: 500;
  color: var(--text); text-decoration: none; letter-spacing: -0.2px;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px;
}
.lang-btn {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  background: none; border: none; border-radius: 100px;
  padding: 4px 10px; cursor: pointer;
  transition: all 0.18s; font-family: inherit; letter-spacing: 0.3px;
}
.lang-btn.active {
  background: var(--bg); color: var(--text);
  box-shadow: 0 1px 3px rgba(44,36,32,0.08);
}

/* ── Language switching — single source of truth ── */
/* Hide everything with a lang attribute by default */
[data-lang="en"], [data-lang="de"] { display: none !important; }
/* Show only the active language */
.lang-en [data-lang="en"] { display: block !important; }
.lang-de [data-lang="de"] { display: block !important; }
/* Inline elements (spans, links inside flex rows) */
.lang-en [data-lang="en"].i { display: inline !important; }
.lang-de [data-lang="de"].i { display: inline !important; }
/* Flex children that need to be flex items */
.lang-en [data-lang="en"].f { display: flex !important; }
.lang-de [data-lang="de"].f { display: flex !important; }

/* ── Hero ── */
.hero {
  padding: 100px 0 64px;
  text-align: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px; padding: 6px 16px;
  background: var(--accent-sub); border: 1px solid var(--border);
  border-radius: 100px;
  opacity: 0; animation: fadeUp 0.7s 0.1s ease forwards;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300; letter-spacing: -2px;
  line-height: 1.1; color: var(--text); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.7s 0.2s ease forwards;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-sec); max-width: 520px;
  margin: 0 auto 14px; line-height: 1.62; font-weight: 300;
  opacity: 0; animation: fadeUp 0.7s 0.32s ease forwards;
}
.hero-proof {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 40px; font-weight: 300; font-style: italic;
  opacity: 0; animation: fadeUp 0.7s 0.42s ease forwards;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.52s ease forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: opacity 0.2s, transform 0.18s;
  cursor: pointer; border: none; font-family: inherit;
}
.btn:hover { opacity: 0.82; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); background: var(--surface); }

.appstore-badge {
  height: 46px; display: block;
  transition: opacity 0.2s, transform 0.18s;
  filter: drop-shadow(0 2px 10px rgba(44,36,32,0.12));
}
.appstore-badge:hover { opacity: 0.85; transform: translateY(-2px); }

/* ── Mockups ── */
.mockup-section {
  padding: 8px 0 80px;
  display: flex; justify-content: center; align-items: flex-end;
  gap: 20px; position: relative; z-index: 1;
}
.mockup-frame {
  width: clamp(120px, 16vw, 210px);
  aspect-ratio: 9/19.5;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(44,36,32,0.09);
  transition: transform 0.35s ease;
}
.mockup-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mockup-frame:nth-child(1) { transform: translateY(14px) rotate(-2.5deg); }
.mockup-frame:nth-child(2) { transform: translateY(-10px); z-index: 2; }
.mockup-frame:nth-child(3) { transform: translateY(14px) rotate(2.5deg); }
.mockup-frame:hover { transform: translateY(-6px) rotate(0deg) !important; }
.mockup-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--border); font-size: 22px;
}

/* ── Sections shared ── */
.section-label {
  font-size: 10px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300; letter-spacing: -0.7px;
  line-height: 1.2; color: var(--text); margin-bottom: 12px;
}
.section-body {
  font-size: 16px; color: var(--text-sec);
  font-weight: 300; line-height: 1.7; max-width: 560px;
}

/* ── Problem ── */
.problem {
  padding: 80px 0;
  border-top: none;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 700px) {
  .problem-grid { grid-template-columns: 1fr; gap: 24px; }
}
.problem-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.problem-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: var(--text-sec); font-weight: 300; line-height: 1.55;
  padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.problem-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(44,36,32,0.07);
}
.problem-list li::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  flex-shrink: 0; margin-top: 8px;
}
.problem-science {
  padding: 28px 28px;
  background: var(--accent-sub); border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px; color: var(--text-sec); font-weight: 300; line-height: 1.7;
  position: sticky; top: 32px;
}
.problem-science strong { color: var(--text); font-weight: 500; }
.problem-science .study {
  display: block; margin-top: 16px;
  font-size: 12px; color: var(--text-muted); font-style: italic;
}

/* ── How it works ── */
.how {
  padding: 80px 0;
  border-top: none;
}
.how-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  margin-top: 0;
}
@media (max-width: 700px) {
  .how-inner { grid-template-columns: 1fr; gap: 32px; }
}
.how-header { position: sticky; top: 24px; }
@media (max-width: 700px) { .how-header { position: static; } }
.steps { display: flex; flex-direction: column; gap: 2px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 24px;
  background: var(--surface); border: 1px solid var(--border);
  transition: background 0.2s;
}
.step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.step:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.step:hover { background: var(--surface-alt); }
.step-num {
  font-size: 11px; font-weight: 500; color: var(--accent);
  letter-spacing: 1px; min-width: 22px; margin-top: 4px;
}
.step-title {
  font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 5px;
}
.step-desc {
  font-size: 14px; color: var(--text-sec); font-weight: 300; line-height: 1.6;
}

/* ── Pricing ── */
.pricing {
  padding: 80px 0;
  border-top: none;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 40px;
}
@media (max-width: 520px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px 32px;
}
.pricing-card.featured { background: var(--text); border-color: var(--text); }
.pricing-tier {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.pricing-card.featured .pricing-tier { color: rgba(255,255,255,0.4); }
.pricing-price {
  font-size: 32px; font-weight: 300; letter-spacing: -0.8px;
  color: var(--text); margin-bottom: 4px;
}
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-period { font-size: 12px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.4); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pricing-features li {
  font-size: 14px; color: var(--text-sec); font-weight: 300;
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.5;
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.78); }
.pricing-features li::before {
  content: "✦"; font-size: 9px; color: var(--accent); margin-top: 4px; flex-shrink: 0;
}
.pricing-card.featured .pricing-features li::before { color: rgba(255,255,255,0.38); }
.pricing-note { margin-top: 14px; font-size: 11px; color: var(--text-muted); font-weight: 300; }
.pricing-card.featured .pricing-note { color: rgba(255,255,255,0.3); }

/* ── CTA ── */
.cta-section {
  padding: 100px 0; text-align: center;
  border-top: none;
}
.cta-section h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 300; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 14px;
}
.cta-section p {
  font-size: 16px; color: var(--text-sec);
  font-weight: 300; margin-bottom: 36px;
}
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  border-top: none;
  padding: 30px 0; position: relative; z-index: 1;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
}
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 0 20px; }
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a {
  font-size: 12px; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SEO / GEO text section ── */
.seo-section {
  padding: 80px 0;
  border-top: none;
}
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 700px) {
  .seo-grid { grid-template-columns: 1fr; gap: 20px; }
}
.seo-block {
  padding: 28px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.seo-block h3 {
  font-size: 16px; font-weight: 500; color: var(--text);
  margin-bottom: 12px; line-height: 1.35;
}
.seo-block p {
  font-size: 14px; color: var(--text-sec);
  font-weight: 300; line-height: 1.75;
}

/* ── Legal pages ── */
.legal-page { padding: 56px 0 80px; }
.legal-page h1 {
  font-size: 30px; font-weight: 300; letter-spacing: -0.4px; margin-bottom: 6px;
}
.legal-page .updated { font-size: 12px; color: var(--text-muted); margin-bottom: 44px; }
.legal-page h2 { font-size: 16px; font-weight: 500; color: var(--text); margin: 32px 0 8px; }
.legal-page p, .legal-page li {
  font-size: 14px; color: var(--text-sec); font-weight: 300; line-height: 1.75; margin-bottom: 10px;
}
.legal-page ul { padding-left: 18px; margin-bottom: 10px; }
.legal-page a { color: var(--accent); text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 13px; }
.legal-page th {
  text-align: left; font-weight: 500; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted); padding: 9px 10px;
  border-bottom: 1px solid var(--border);
}
.legal-page td {
  padding: 10px; border-bottom: 1px solid var(--border);
  color: var(--text-sec); font-weight: 300; vertical-align: top;
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  margin-bottom: 36px; transition: color 0.2s;
}
.back-link:hover { color: var(--text); }

/* ── Mobile nav ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 40px; }
  .mockup-section { gap: 10px; }
  .cta-section { padding: 70px 0; }
  .problem, .how, .pricing { padding: 56px 0; }
}
