/* menu-planner Landingpage — minimales Stylesheet, mobile-first. */
:root {
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-brand: #0b5cad;
  --color-brand-dark: #07407a;
  --color-accent: #f59e0b;
  --color-bg: #ffffff;
  --color-bg-soft: #f5f7fa;
  --color-border: #e5e7eb;
  --max-width: 1100px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header / Nav */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-brand);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-text);
}
.cta-link {
  background: var(--color-brand);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
}
.cta-link:hover {
  background: var(--color-brand-dark);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--color-bg-soft), #fff);
  padding: 4rem 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 1rem;
}
.hero .lead {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--color-muted);
}
.btn-primary {
  display: inline-block;
  background: var(--color-brand);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary:hover {
  background: var(--color-brand-dark);
  text-decoration: none;
}

/* Features */
.features {
  padding: 4rem 0;
}
.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.feature-card h3 {
  margin-top: 0;
  color: var(--color-brand);
}

/* Demo-Form */
.demo-request {
  background: var(--color-bg-soft);
  padding: 4rem 0;
}
.demo-form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 1rem;
  grid-template-columns: 1fr 1fr;
}
.demo-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  font-weight: 500;
}
.demo-form label > span {
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.demo-form input {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}
.demo-form button {
  grid-column: 1 / -1;
}
.demo-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.5rem;
  text-align: center;
}
.form-status.success {
  color: #166534;
  font-weight: 600;
}
.form-status.error {
  color: #b91c1c;
}
.small-print {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
}

/* Legal pages */
.legal {
  padding: 3rem 1rem;
  max-width: 800px;
}
.legal h1 {
  margin-top: 0;
}
.legal h2 {
  margin-top: 2rem;
  color: var(--color-brand);
}
.legal .muted {
  color: var(--color-muted);
  font-style: italic;
}
.legal .back {
  margin-top: 3rem;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #fff;
  padding: 2rem 1rem;
  margin-top: 4rem;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.site-footer a {
  color: #fff;
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--color-text);
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.cookie-banner p {
  margin: 0;
  font-size: 0.875rem;
}
.cookie-banner button {
  background: var(--color-brand);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
}

@media (max-width: 600px) {
  .nav-links {
    gap: 0.5rem;
    font-size: 0.875rem;
  }
  .demo-form {
    grid-template-columns: 1fr;
  }
}
