/* PetLyfe – gemeinsame Styles für die kleine Website (Landing + Rechtsseiten). */
:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --surface-alt: #f6f2ea;
  --border: #e8ded2;
  --text: #2d2a26;
  --muted: #6e665e;
  --primary: #ff8a65;
  --primary-action: #c8502b;
  --secondary: #4db6ac;
  --secondary-action: #2e8b81;
  --accent: #ffd166;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.06);
  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--primary-action);
}

/* ── Header + Burger ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  display: block;
}

/* Burger als <details><summary> → JS-frei aufklappbar. */
.nav {
  position: relative;
}

.nav > summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.nav > summary::-webkit-details-marker {
  display: none;
}

.nav > summary span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav[open] > summary span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav[open] > summary span:nth-child(2) {
  opacity: 0;
}
.nav[open] > summary span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.nav-menu a {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--surface-alt);
  color: var(--primary-action);
}

.lang-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-select select {
  font: inherit;
  color: var(--text);
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

/* ── Layout-Container ────────────────────────────────────────────── */
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.legal h1 {
  font-size: 1.8rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
  background: linear-gradient(180deg, rgba(255, 138, 101, 0.18), rgba(255, 209, 102, 0.12) 60%, transparent);
}

.hero img {
  width: 96px;
  height: 96px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0.5rem 0 0.25rem;
}

.hero .tagline {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0.25rem auto 0.75rem;
  max-width: 36ch;
}

.hero p.lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto;
}

/* ── Sektionen / Feature-Karten ──────────────────────────────────── */
section {
  padding: 2.5rem 0;
}

section > h2 {
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 1.5rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.25rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .emoji {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.35rem;
}

/* Hinweis-Block „kein Tracking" */
.note {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
}

.note h2 {
  margin-top: 0;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--primary-action);
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
