/* Viatia Marketing-Webseite – statisch, ohne externe Abhängigkeiten.
   Farbwelt angelehnt an die App: warmes Steinweiss, dunkles Grün, ruhige Serifen. */

:root {
  /* Farbwelt = aktuelle App-Tokens (app/globals.css, Stand 23.07.):
     hell --background #f0efeb, --card #fafaf9, --brand #1f4a3c/#2a5f4d,
     --muted-foreground #69645f, stone-Border #e7e5e4 */
  --bg: #f0efeb;
  --bg-alt: #e9e7e2;
  --surface: #fafaf9;
  --text: #1c1917;
  --text-muted: #69645f;
  --accent: #1f4a3c;
  --accent-hover: #2a5f4d;
  --border: #e7e5e4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: #e9f2ec; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.btn-block { display: block; text-align: center; margin-top: 1.25rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 239, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.main-nav a:not(.btn):hover { color: var(--accent); }
.main-nav a { text-decoration: none; font-size: 0.95rem; }

/* Pilot-Banner (oben, öffentlicher Zähler) */
.pilot-banner {
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
}
.pilot-banner .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}
.pilot-banner a { color: #fff; text-decoration: none; }
.pilot-banner a:hover { text-decoration: underline; }
.pilot-banner strong { font-weight: 700; }

/* Sprachumschalter */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.lang-switch a, .lang-switch span {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}
.lang-switch a:hover { color: var(--accent); }
.lang-switch [aria-current] { font-weight: 700; color: var(--accent); }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--text-muted); }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.75rem 0 1.5rem; }
.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-list li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { max-width: 46rem; color: var(--text-muted); }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* Screenshots */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.screenshot-card { margin: 0; }
.screenshot-card img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.screenshot-card figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.gemeinden-partner {
  margin-top: 3rem;
  max-width: 46rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.pricing-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}
.pricing-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.price { margin-bottom: 0.25rem; }
.price-amount { font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.price-period { color: var(--text-muted); font-size: 0.9rem; }
.price-year {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
.pricing-card li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.license-notes {
  max-width: 46rem;
  margin: 3rem auto 0;
}
.license-notes ul { padding-left: 1.2rem; }
.license-notes li { margin-bottom: 0.6rem; color: var(--text-muted); }
.price-disclaimer { font-size: 0.85rem; color: var(--text-muted); margin-top: 1.5rem; }

/* CTA */
.section-cta { background: var(--accent); color: #fff; }
.cta-inner { text-align: center; max-width: 40rem; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #d7e5dc; }
.cta-alt { margin-top: 1.25rem; font-size: 0.9rem; }
.cta-alt a { color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0 1.5rem; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-legal { margin-top: 2rem; }
.footer-legal p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* Legal pages (Impressum / Datenschutz) */
.legal-body { max-width: 44rem; padding: 3.5rem 0; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-note {
  background: #fdf6e5;
  border: 1px solid #ecd9a0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .main-nav { gap: 1rem; font-size: 0.85rem; }
  .main-nav a:not(.btn) { display: none; }
}
