:root {
  --color-bg: #f6f7f8;
  --color-surface: #ffffff;
  --color-primary: #6a8b5b;
  --color-primary-soft: #e2eadf;
  --color-text: #333333;
  --color-muted: #777777;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-title {
  font-weight: 700;
  font-size: 1.3rem;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-muted);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.nav-link.is-active {
  background: var(--color-primary);
  color: #ffffff;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  margin: 0 0 0.75rem;
  font-size: 2.3rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary-soft);
}

.btn-outline:hover {
  background: var(--color-primary-soft);
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-light {
  background: #ffffff;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin-top: 0;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
}

/* Teaser */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.link-inline {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.link-inline:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e2e2e2;
  background: #ffffff;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
  margin-left: 1rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }
}


/* Page Hero klein */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.page-hero-lead {
  max-width: 40rem;
  color: var(--color-muted);
}

/* Content-Grid für Text + Bild */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.image-panel img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
}

/* Profile-Familienkarten */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.profile-card {
  text-align: center;
}

.profile-image-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  background: #f0f0f0;
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-role {
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Responsive für content-grid */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}


.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 96px;
  width: auto;
}
/* Galerie f�r "Unsere Meerschweinchen" */
.meeri-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.meeri-gallery-item {
  margin: 0;
}

.meeri-gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.meeri-gallery-item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

@media (min-width: 1024px) {
  .meeri-gallery-item img {
    height: 190px;
  }
}
/* Galerie f�r die Gehege ("Haltung") */
.stall-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.stall-gallery-item {
  margin: 0;
}

.stall-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stall-gallery-item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

@media (min-width: 1024px) {
  .stall-gallery-item img {
    height: 210px;
  }
}
/* Wurfmeldungen � Kartenlayout */
.litter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.litter-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.litter-thumb {
  flex: 0 0 140px;
}

.litter-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.litter-body {
  flex: 1;
}

.litter-meta-line {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.litter-parents {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.litter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.litter-status {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-frei {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.status-reserviert {
  background: #fff4d6;
  color: #8a5a00;
}

.status-vergeben {
  background: #f0f0f0;
  color: #777777;
}

@media (max-width: 640px) {
  .litter-card {
    flex-direction: column;
  }

  .litter-thumb {
    flex: 0 0 auto;
    width: 100%;
  }

  .litter-thumb img {
    height: 180px;
  }

  .litter-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Allgemeine Galerie-Ansicht */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item-wide img {
  height: 260px;
}

.gallery-item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
  .gallery-item img {
    height: 180px;
  }

  .gallery-item-wide img {
    height: 200px;
  }
}
/* Kontaktseite */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  border-radius: 0.5rem;
  border: 1px solid #d0d0d0;
  padding: 0.5rem 0.75rem;
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(88, 132, 199, 0.15);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp-Buttons auf der Kontaktseite */
.whatsapp-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-whatsapp {
  background: #25D366;
  border: none;
  color: #ffffff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.btn-whatsapp-secondary {
  background: #128C7E;
}

.btn-whatsapp-secondary:hover {
  background: #0f7469;
}

@media (max-width: 600px) {
  .whatsapp-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
/* MFD Logo im Footer */
.mfd-block {
  margin-top: 1rem;
  text-align: center;
}

.mfd-logo {
  max-width: 260px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.mfd-logo:hover {
  opacity: 1;
}


/* Footer mit zentriertem MFD-Logo */
.footer-inner.footer-with-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-left {
  flex: 1;
}

.footer-center {
  flex: 0;
  text-align: center;
}

.footer-links {
  flex: 1;
  text-align: right;
}

.footer-mfd-logo {
  max-width: 240px;
  height: auto;
  display: inline-block;
  opacity: 0.95;
  transition: opacity 0.3s;
}

.footer-mfd-logo:hover {
  opacity: 1;
}

@media (max-width: 700px) {
  .footer-inner.footer-with-logo {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-links {
    flex: 0;
    text-align: center;
  }

  .footer-links a {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
}


/* Admin-Link im Header */
.nav-link-admin {
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.35rem 0.9rem;
  margin-left: 0.4rem;
  font-weight: 600;
  background: #f9fafb;
}

.nav-link-admin:hover {
  background: #e5f0e3;
  border-color: rgba(75,127,74,0.6);
}

.footer-version { margin-left: 1rem; font-size: 0.8rem; opacity: 0.8; }


/* Bilder, die komplett angezeigt werden sollen (nicht beschnitten) */
.gallery-grid img.full-image {
  object-fit: contain;
  background-color: #ffffff;
}


.info-box {
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 1rem 1.2rem;
  margin: 1rem 0 2rem 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: .5rem;
}


.info-box {
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 1rem 1.2rem;
  margin: 1rem auto 2rem auto;
  border-radius: 8px;
  display: flex;
  justify-content: center;   /* Zentriert Inhalt */
  align-items: center;
  gap: .5rem;
  max-width: 800px;           /* sorgt dafür, dass der Kasten nicht überbreit wird */
}

.info-text {
  text-align: center;         /* Text zentriert */
  width: 100%;
}
.info-box {
  background: #f5fbf6;                 /* sehr helles Grün, fast weiß */
  border: 1px solid #c9e2cf;           /* zarter, grünlicher Rand */
  padding: 1rem 1.2rem;
  margin: 1rem auto 2rem auto;
  border-radius: 8px;
  display: flex;
  justify-content: center;             /* Inhalt zentrieren */
  align-items: center;
  gap: .5rem;
  max-width: 800px;                    /* nicht zu breit */
}

.info-icon {
  font-size: 1.1rem;
  color: #2f855a;                      /* dezentes Grün fürs Icon */
}

.info-text {
  text-align: center;                  /* Text zentriert */
  width: 100%;
  color: #333;                         /* gut lesbar */
}











/* Hinweisbox – leicht grün und zentriert */
.info-box {
  background: #f5fbf6;                 /* sehr helles Grün, fast weiß */
  border: 1px solid #c9e2cf;           /* zarter, grünlicher Rand */
  padding: 1rem 1.2rem;
  margin: 1rem auto 2rem auto;
  border-radius: 8px;
  display: flex;
  justify-content: center;             /* Inhalt zentrieren */
  align-items: center;
  gap: .75rem;
  max-width: 800px;                    /* nicht zu breit */
}

/* Schmeddershof-„i“-Icon */
.info-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #243021;                      /* dunkles, elegantes Grünbraun */
  border: 2px solid #2f855a;           /* Rahmen im Schmeddershof-Grün */

  /* dezenter Glow / Verlauf wie beim Logo */
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #f5fbf6 40%, #d4ecd9 100%);
  box-shadow:
    0 0 8px rgba(47,133,90,0.25),
    0 2px 4px rgba(0,0,0,0.08);
}

/* Text zentrieren */
.info-text {
  text-align: center;
  width: 100%;
  color: #333;
}
