/* ===== Grundeinstellungen ===== */
:root {
  --color-bg: #fffdfb;
  --color-bg-alt: #f5ece6;
  --color-text: #3d3835;
  --color-muted: #6a6a5e;
  --color-primary: #396211;      /* Dunkelgrün (Hausfarbe) */
  --color-accent: #79a74c;       /* Hellgrün (Hausfarbe) */
  --color-primary-dark: #2b4c0c;
  --color-border: #e3d8cf;
  --radius: 10px;
  --max-width: 1000px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.15rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--color-primary-dark);
}

.site-header nav { display: flex; gap: 1.2rem; }
.site-header nav a { text-decoration: none; color: var(--color-text); }
.site-header nav a:hover { color: var(--color-primary); }

/* ===== Hero ===== */
.hero {
  background: var(--color-primary);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  /* Später ein Hintergrundbild: */
  /* background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url("images/hero.jpg") center / cover; */
}

.hero-logo {
  width: min(240px, 60vw);
  height: auto;
  margin: 0 auto 1.8rem;
}

.lead { font-size: 1.15rem; max-width: 36rem; margin: 0 auto 1.8rem; }

.button {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}
.button:hover { background: var(--color-bg-alt); color: var(--color-primary-dark); }

/* ===== Abschnitte ===== */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-intro { color: var(--color-muted); max-width: 52rem; margin-bottom: 2rem; }


/* ===== Produktkarten ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
}
.card p { margin: 0; color: var(--color-muted); }
.card img { border-radius: 6px; margin-bottom: 0.8rem; }

/* Platzhalter für Bilder (kann gelöscht werden, sobald echte Bilder da sind) */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  color: var(--color-muted);
  border: 2px dashed var(--color-border);
  border-radius: 6px;
  margin-bottom: 0.8rem;
}
.placeholder.tall { aspect-ratio: 3 / 2; margin-bottom: 0; }

/* ===== Zertifikate ===== */
.certs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.certs-title {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.certs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.certs-list img {
  height: 60px;
  width: auto;
  margin: 0;
}

/* ===== Zwei Spalten ===== */
.two-col {
  display: grid;
  gap: 2rem;
  align-items: start;
}

address { font-style: normal; }

.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td {
  padding: 0.4rem 0;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-weight: normal;
}
.hours th { padding-right: 1rem; font-weight: 600; }

.note { color: var(--color-muted); font-size: 0.95rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-text);
  color: #ddd;
  padding: 1.5rem 0;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.footer-inner p { margin: 0; }

/* ===== Rechtstexte (Impressum / Datenschutz) ===== */
.legal { padding: 2.5rem 0 4rem; max-width: 46rem; }
.legal h2 { margin-top: 2rem; font-size: 1.3rem; }

/* ===== Größere Bildschirme ===== */
@media (min-width: 720px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .hero { padding: 6rem 0; }
  .section { padding: 5rem 0; }
}

@media (min-width: 720px) {
  .two-col-reverse > .slider { order: -1; }
}

/* Logo im Kopfbereich: Schriftzug und Tierbild nebeneinander */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.logo img {
  height: 34px;
  width: auto;
}

.social-title { margin-top: 1.5rem; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}
.social-link:hover { text-decoration: underline; }
.social-link svg { width: 28px; height: 28px; flex-shrink: 0; }
