/* Landing page for kitchen-hero.de. Static, no framework; colors follow the app (src/styles.css). */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #1f2620;
  --muted: #5d675e;
  --border: #e2ded4;
  --accent: #2f6b3b;
  --accent-text: #ffffff;
  --accent-soft: #e3eee2;
  --blue: #1a73e8;
  --orange: #e08a00;
  --sky: #3a9ad9;
  --violet: #8b6ee8;
  --pink: #d6407a;
  --phone: #1e241f;
  --radius: 14px;
  color-scheme: light dark;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141814;
    --surface: #1e241f;
    --text: #e8ece8;
    --muted: #9aa59b;
    --border: #2f3830;
    --accent: #6fbf7e;
    --accent-text: #0d1a10;
    --accent-soft: #1f3324;
    --blue: #4d9bff;
    --orange: #ffa726;
    --sky: #7cc4f5;
    --violet: #a58bff;
    --pink: #f27aa8;
    --phone: #0b0e0b;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.15; margin: 0; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-small { min-height: 40px; padding: 0 18px; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.brand img { border-radius: 8px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 20px 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.note svg, .icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.note svg { width: 18px; height: 18px; flex: none; }

/* Phone mockup (decorative) */
.phone {
  justify-self: center;
  width: 300px;
  max-width: 100%;
  padding: 12px;
  border-radius: 40px;
  background: var(--phone);
  box-shadow: 0 30px 60px -20px rgba(20, 40, 25, 0.45);
}
.screen {
  position: relative;
  border-radius: 30px;
  background: var(--bg);
  padding: 22px 16px 70px;
  min-height: 540px;
  overflow: hidden;
  font-size: 0.92rem;
}
.screen-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.back { color: var(--accent); font-size: 0.85rem; }
.screen-title { font-weight: 700; font-size: 1.2rem; }
.screen-add {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.cat {
  margin: 14px 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.box {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 5px;
  border: 2px solid var(--accent);
}
.item.done { color: var(--muted); text-decoration: line-through; }
.item.done .box {
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.toast {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.82rem;
  text-align: center;
}

/* Features */
.features { padding: 72px 0; background: var(--surface); border-block: 1px solid var(--border); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}
.card h3 { font-size: 1.1rem; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 36px; height: 36px; }
.c-blue { color: var(--blue); }
.c-green { color: var(--accent); }
.c-sky { color: var(--sky); }
.c-orange { color: var(--orange); }
.c-violet { color: var(--violet); }
.c-pink { color: var(--pink); }

/* Access */
.access { padding: 72px 0; }
.access-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.muted { color: var(--muted); }
.access .muted { margin: 14px 0 0; font-size: 1.05rem; }
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 68px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

/* CTA */
.cta { padding: 0 0 80px; }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-radius: 24px;
  background: var(--accent-soft);
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 24px 0 32px; color: var(--muted); font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.placeholder {
  background: color-mix(in srgb, var(--orange) 22%, transparent);
  border-radius: 4px;
  padding: 0 4px;
}

@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero-inner, .access-inner { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .cta-inner { padding: 24px; }
  .cta-inner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
