/*
Theme Name: Neubauer's Hofladen
Theme URI: https://example.at
Author: Familie Kreuzer
Description: Custom-Theme fuer den Neubauer's Hofladen - informative Bauernhof-Website mit Hofladen, Tieren und News.
Version: 0.2.0
Requires PHP: 8.1
Text Domain: hofladen-neubauer
*/

/* ==========================================================================
   Selbst gehostete Schriften (DSGVO-konform, kein externer Google-Fonts-Call)
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('assets/fonts/nunito-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('assets/fonts/nunito-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('assets/fonts/nunito-sans-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  --cream: #FCF6E3;
  --terra: #B5693A;
  --terra-dark: #8E4E28;
  --meadow-green: #5C7A4B;
  --meadow-green-dark: #3F5734;
  --egg-yellow: #E8A33D;
  --soil-brown: #3B2B22;
  --sky: #8FB8D1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background-color: var(--soil-brown);
  background-image: linear-gradient(var(--meadow-green), var(--meadow-green));
  background-size: 100% 82px;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--cream);
  color: var(--soil-brown);
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-optical-sizing: auto;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--soil-brown);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 100;
}

.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--meadow-green);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

nav li:not(.nav-contact) a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--egg-yellow);
  border-radius: 3px;
  transition: width 0.2s ease;
}

nav li:not(.nav-contact) a:hover::after { width: 100%; }

/* aktuelle Unterseite dauerhaft markieren */
nav li:not(.nav-contact).current-menu-item a::after,
nav li:not(.nav-contact).current_page_item a::after,
nav li:not(.nav-contact).current-menu-ancestor a::after { width: 100%; }

nav li:not(.nav-contact).current-menu-item a,
nav li:not(.nav-contact).current_page_item a { font-weight: 800; }

.nav-contact.current-menu-item a,
.nav-contact.current_page_item a { box-shadow: inset 0 0 0 2px var(--egg-yellow); }

.nav-contact a {
  background: var(--terra);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-contact a:hover { background: var(--terra-dark); }

/* ---------- Burger-Menu ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 20;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span { background: var(--soil-brown); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #1c2e18;
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 48px;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-content p {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  margin: 0 auto;
  color: rgba(255,255,255,0.9);
  max-width: 480px;
}

.hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
}

.hero-divider svg { width: 100%; height: 90px; display: block; }

/* ---------- Pillars Section ---------- */
.pillars-section {
  padding: 80px 48px 90px;
  max-width: 1160px;
  margin: 0 auto;
}

.pillars-heading {
  text-align: center;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.25;
  max-width: 760px;
  margin: 0 auto 56px;
  color: var(--soil-brown);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.pillar {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pillar-tint, #EAF0E4);
}

.pillar-icon svg { width: 28px; height: 28px; }

.pillar h3 {
  font-size: 21px;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.pillar h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 34px;
  height: 3px;
  background: var(--egg-yellow);
  border-radius: 3px;
}

.pillar p {
  font-size: 15px;
  line-height: 1.65;
  color: #5b4c40;
  max-width: 300px;
  margin: 0 auto 22px;
  flex: 1 0 auto;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--terra);
  color: var(--terra);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 999px;
}

.pillar-link:hover { background: var(--terra); color: #fff; }

/* ---------- Oeffnungszeiten & Anfahrt ---------- */
.hours-section { padding: 80px 48px; }

.hours-card {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--soil-brown);
  border-radius: 20px;
  overflow: hidden;
}

.hours-panel {
  padding: 56px;
  color: var(--cream);
  display: flex;
  flex-direction: column;
}

.hours-heading {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--cream);
  margin-bottom: 32px;
  line-height: 1.25;
}

.hours-rows { border-top: 1px solid rgba(252,246,227,0.14); }

.hours-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(252,246,227,0.14);
}

.hours-row-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--egg-yellow);
  flex-shrink: 0;
}

.hours-row-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(252,246,227,0.6);
  margin-bottom: 4px;
}

.hours-row-value {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--cream);
}

.hours-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--egg-yellow);
  color: var(--soil-brown);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 999px;
  margin-top: 32px;
}

.hours-cta:hover { background: #f4b757; }

.map-embed { position: relative; min-height: 340px; }

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------- Footer ---------- */
.site-footer {
  background: var(--soil-brown);
  color: rgba(252,246,227,0.65);
  font-size: 13px;
  line-height: 1.7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 48px calc(48px + env(safe-area-inset-bottom));
}

/* Adresse – links */
.footer-address p { margin-bottom: 0; }
.footer-address strong { color: var(--cream); }
.footer-contact {
  margin-top: 16px;
}
.footer-contact a {
  color: rgba(252,246,227,0.65);
  font-weight: 400;
  text-decoration: none;
  line-height: 1.8;
}
.footer-contact a:hover { color: var(--cream); }

/* Rechtliches – mitte */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer-legal a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.footer-legal a:hover { text-decoration: underline; }
.footer-divider { color: rgba(252,246,227,0.3); margin: 0 6px; }
.footer-legal > :first-child,
.footer-divider,
.footer-legal > a:nth-child(3) {
  display: inline;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-copy {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(252,246,227,0.65);
}

/* Social-Links – rechts */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: rgba(252,246,227,0.65);
  transition: color 0.18s ease;
  border-radius: 8px;
}

.footer-social-link:hover { color: var(--cream); }

.footer-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(252,246,227,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.footer-social-link:hover .footer-social-icon { background: rgba(252,246,227,0.18); }

.footer-social-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-icon--google svg {
  stroke: none;
  fill: var(--cream);
}

.footer-social-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1px;
}

.footer-social-name {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--cream);
  line-height: 1.2;
}

.footer-social-handle {
  font-size: 11.5px;
  color: rgba(252,246,227,0.65);
  line-height: 1.2;
}

/* ==========================================================================
   Wiederverwendbare Buttons (Unterseiten)
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terra);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--terra-dark); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--terra);
  color: var(--terra);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: var(--terra); color: var(--cream); }

/* ==========================================================================
   Editorial-Intro (Über uns)
   ========================================================================== */

.about-intro {
  background: var(--cream);
  padding: 80px 48px;
  text-align: center;
}

.about-intro-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-intro h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12;
  color: var(--soil-brown);
  margin-bottom: 24px;
  text-wrap: balance;
}

.about-intro-accent {
  width: 56px;
  height: 4px;
  background: var(--egg-yellow);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.about-intro-sub {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
  color: #5b4c40;
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================================================
   Über uns — Familie
   ========================================================================== */

.about-family {
  padding: 80px 48px;
}

.about-family-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.image-placeholder {
  aspect-ratio: 4 / 5;
  background: #EAF0E4;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--meadow-green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px dashed #b5cab0;
}

.image-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.6;
}

.about-family-image img {
  width: 100%;
  height: auto;            /* hebt das height-Attribut von wp_get_attachment_image auf */
  max-width: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
}

.about-family-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 10px;
  color: var(--soil-brown);
}

.about-tagline {
  font-size: 16px;
  font-style: italic;
  color: var(--meadow-green-dark);
  margin-bottom: 22px;
  line-height: 1.55;
}

.about-family-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #5b4c40;
  margin-bottom: 18px;
}

.about-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about-values li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--soil-brown);
}

.about-values svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Über uns — Geschichte (Card)
   ========================================================================== */

.about-story {
  background: var(--cream);
  padding: 80px 48px;
}

.about-story-inner {
  max-width: 860px;
  margin: 0 auto;
  background: var(--soil-brown);
  border-radius: 24px;
  padding: 56px 64px;
}

/* Dezentes Editorial-Anführungszeichen in den braunen Textboxen
   (Geschichte / Tier-Philosophie / Hofladen-Highlight) — wie bei den Kundenstimmen */
.about-story-inner,
.animals-philosophy-inner,
.hofladen-highlight-inner {
  position: relative;
  overflow: hidden;
}

.about-story-inner::before,
.animals-philosophy-inner::before,
.hofladen-highlight-inner::before {
  content: "\201E";
  position: absolute;
  top: 2px;
  right: 34px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 150px;
  line-height: 1;
  color: var(--egg-yellow);
  opacity: 0.10;
  pointer-events: none;
}

@media (max-width: 560px) {
  .about-story-inner::before,
  .animals-philosophy-inner::before,
  .hofladen-highlight-inner::before {
    font-size: 108px;
    right: 20px;
  }
}

.about-story h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.25;
  text-wrap: balance;
}

/* Gelbe Akzentlinie unter dem H2 — wie Pillar-Überschriften auf der Startseite */
.about-story h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--egg-yellow);
  border-radius: 3px;
  margin-top: 16px;
  margin-bottom: 28px;
}

.about-story-text {
  position: relative;
}

.about-story-text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(252,246,227,0.82);
  margin-bottom: 20px;
}
.about-story-text p:last-child { margin-bottom: 0; }

.about-story-text strong {
  color: var(--cream);
  font-weight: 700;
}

/* ==========================================================================
   Über uns — Zeitstrahl
   ========================================================================== */

.about-timeline {
  padding: 80px 48px;
  background: var(--cream);
}

.about-timeline-inner {
  max-width: 860px;
  margin: 0 auto;
}

.about-timeline h2 {
  font-size: clamp(24px, 3vw, 34px);
  text-align: center;
  margin-bottom: 14px;
  color: var(--soil-brown);
}

.timeline-intro {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #5b4c40;
  max-width: 620px;
  margin: 0 auto 64px;
}

.timeline {
  list-style: none;
  position: relative;
  padding: 0 0 0 32px;
  max-width: 580px;
  margin: 0 auto;
}

/* vertikale Linie links */
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--egg-yellow), rgba(214,207,197,0.4));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

/* Punkt auf der Linie */
.timeline-marker {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--egg-yellow);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px #d6cfc5;
  z-index: 1;
}

.timeline-item--current .timeline-marker {
  background: var(--terra);
  box-shadow: 0 0 0 2px rgba(166,59,43,0.35);
  width: 16px;
  height: 16px;
  left: -33px;
  top: 5px;
}

.timeline-year {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--meadow-green);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-size: 19px;
  color: var(--soil-brown);
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #5b4c40;
}

/* ==========================================================================
   Schau vorbei (alle Unterseiten)
   ========================================================================== */

.schau-vorbei {
  background: var(--cream);
  padding: 80px 48px;
  text-align: center;
  border-top: 1px solid rgba(59,43,34,0.1);
}

.schau-vorbei-inner { max-width: 560px; margin: 0 auto; }

.schau-vorbei-sub {
  font-size: 16px;
  line-height: 1.7;
  color: #5b4c40;
  margin-bottom: 24px;
}

.schau-vorbei h2 {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--soil-brown);
  margin-bottom: 16px;
  line-height: 1.1;
}

.schau-vorbei-address {
  font-size: 15px;
  color: #5b4c40;
  line-height: 1.7;
}

.schau-vorbei-address a {
  color: var(--meadow-green-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(63,87,52,0.35);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.schau-vorbei-address a::after {
  content: " ↗";
  font-weight: 400;
}
.schau-vorbei-address a:hover {
  color: var(--terra);
  border-bottom-color: currentColor;
}

/* Zeitstrahl-Fotos: ausgeblendet (vereinfachtes Design) */
.timeline-photo { display: none; }


/* ==========================================================================
   Unsere Tiere — Slideshow
   ========================================================================== */

.animals-slideshow,
.hofladen-slideshow,
.ueber-uns-slideshow {
  background: var(--cream);
  padding: 0 48px 64px;
}

.slideshow {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #d4cdc3;
  user-select: none;
}

.slideshow-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slideshow-slide {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-slide .image-placeholder {
  aspect-ratio: unset;
  height: 100%;
  border-radius: 0;
  border: none;
  background: #EAF0E4;
  font-size: 13px;
  gap: 12px;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(252,246,227,0.88);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.slideshow-btn:hover { background: var(--cream); }

.slideshow-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--soil-brown);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.slideshow-btn--prev { left: 16px; }
.slideshow-btn--next { right: 16px; }

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 4px;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(59,43,34,0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slideshow-dot.is-active {
  background: var(--egg-yellow);
  transform: scale(1.35);
}

/* ==========================================================================
   Unsere Tiere
   ========================================================================== */

.animals-section {
  background: var(--cream);
  padding: 80px 48px;
}

.animals-section-inner { max-width: 1100px; margin: 0 auto; }

.animals-heading {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--soil-brown);
  text-align: center;
  margin-bottom: 56px;
}

.animals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.animal-card {
  background: var(--animal-tint, #EAF0E4);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.animal-card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.animal-card-icon svg { width: 100%; height: 100%; }

.animal-card-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--meadow-green-dark);
  opacity: 0.8;
}

.animal-card h3 {
  font-size: 22px;
  color: var(--soil-brown);
  margin: 6px 0 10px;
}

.animal-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #5b4c40;
}

.animals-philosophy {
  background: var(--cream);
  padding: 80px 48px;
}

.animals-philosophy-inner {
  max-width: 860px;
  margin: 0 auto;
  background: var(--soil-brown);
  border-radius: 24px;
  padding: 56px 64px;
}

.animals-philosophy h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.25;
  text-wrap: balance;
}

.animals-philosophy h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--egg-yellow);
  border-radius: 3px;
  margin-top: 16px;
  margin-bottom: 28px;
}

.animals-philosophy-text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(252,246,227,0.82);
  margin-bottom: 20px;
}
.animals-philosophy-text p:last-child { margin-bottom: 0; }
.animals-philosophy-text strong { color: var(--cream); font-weight: 700; }

/* ==========================================================================
   Hofladen
   ========================================================================== */

.hofladen-highlight {
  background: var(--cream);
  padding: 80px 48px;
}

.hofladen-highlight-inner {
  max-width: 860px;
  margin: 0 auto;
  background: var(--soil-brown);
  border-radius: 24px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: start;
}

.hofladen-highlight-icon svg { width: 100px; height: 100px; }

.hofladen-highlight-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--egg-yellow);
  display: block;
  margin-bottom: 10px;
}

.hofladen-highlight h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.25;
}

.hofladen-highlight h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--egg-yellow);
  border-radius: 3px;
  margin-top: 16px;
  margin-bottom: 28px;
}

.hofladen-highlight p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(252,246,227,0.82);
}

.hofladen-products {
  background: var(--cream);
  padding: 80px 48px;
}

.hofladen-products-inner { max-width: 1000px; margin: 0 auto; }

.hofladen-products h2 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--soil-brown);
  text-align: center;
  margin-bottom: 12px;
}

.hofladen-products-intro {
  text-align: center;
  font-size: 16px;
  color: #5b4c40;
  margin-bottom: 48px;
}

.hofladen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hofladen-card {
  padding: 8px 4px;
}

.hofladen-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent, var(--meadow-green)) 12%, transparent);
}
.hofladen-card-icon svg { width: 26px; height: 26px; }

.hofladen-card h3 {
  font-size: 20px;
  color: var(--soil-brown);
  margin-bottom: 14px;
  padding-bottom: 12px;
  position: relative;
}

.hofladen-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--card-accent, var(--meadow-green));
  border-radius: 2px;
}

.hofladen-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hofladen-card li {
  font-size: 14px;
  line-height: 1.5;
  color: #5b4c40;
  padding-left: 14px;
  position: relative;
}

.hofladen-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--card-accent, var(--meadow-green));
  font-weight: 700;
}

.hofladen-note {
  background: #EAF0E4;
  padding: 32px 48px;
}

.hofladen-note-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--meadow-green-dark);
}

.hofladen-note-inner svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--meadow-green-dark);
}

.hofladen-note-inner p {
  font-size: 15px;
  line-height: 1.65;
}

.hofladen-note-inner strong { font-weight: 700; }

.hofladen-partners {
  padding: 80px 48px;
  background: var(--cream);
}

.hofladen-partners-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hofladen-partners-inner h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--soil-brown);
  margin-bottom: 12px;
}

.hofladen-partners-inner p {
  color: var(--soil-brown);
  opacity: 0.75;
  margin-bottom: 32px;
  line-height: 1.65;
}

.partners-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partners-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  color: var(--soil-brown);
}

.partners-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

nav#main-nav.no-transition { transition: none !important; }

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
    padding-left: calc(20px + env(safe-area-inset-left));
    padding-right: calc(20px + env(safe-area-inset-right));
  }

  .nav-toggle { display: flex; }

  nav#main-nav {
    position: fixed;
    inset: 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 15;
  }

  nav#main-nav.is-open { transform: translateX(0); }

  nav#main-nav ul { flex-direction: column; gap: 12px; text-align: center; }
  nav#main-nav a {
    font-size: 22px;
    color: var(--soil-brown);
    display: block;
    padding: 14px 32px;
  }
  nav#main-nav .nav-contact a {
    background: var(--terra);
    color: var(--cream);
    border-radius: 999px;
    padding: 14px 36px;
  }
  nav#main-nav .nav-contact a:hover { background: var(--terra-dark); }

  nav#main-nav li:not(.nav-contact).current-menu-item a,
  nav#main-nav li:not(.nav-contact).current_page_item a { color: var(--terra); font-weight: 800; }
  nav#main-nav .nav-contact.current-menu-item a,
  nav#main-nav .nav-contact.current_page_item a { box-shadow: inset 0 0 0 2px var(--egg-yellow); }

  .hero { height: auto; min-height: 480px; padding: 100px 0 70px; }
  .hero-content { padding: 0 24px; }
}

@media (max-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars-section { padding: 56px 24px 64px; }
  .pillar p { max-width: 100%; }

  .hours-section { padding: 56px 20px; }
  .hours-card { grid-template-columns: 1fr; border-radius: 16px; }
  .hours-panel { padding: 36px 24px; }
  .map-embed { min-height: 260px; order: -1; }

  .hours-cta { align-self: stretch; justify-content: center; }
}


@media (max-width: 420px) {
  .logo-img { height: 44px; }
  .hero-content p { max-width: 100%; }
  .hero { min-height: 420px; }
  .hero-content h1 { font-size: clamp(24px, 7vw, 32px); }
  .pillars-section { padding: 48px 16px 56px; }
  .hours-panel { padding: 28px 16px; }
  .hours-row { gap: 12px; }
  .pillar-link { padding: 11px 24px; font-size: 15px; }
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px calc(40px + env(safe-area-inset-bottom));
    gap: 28px;
  }
  .footer-contact a { display: inline; }
  .footer-social { align-items: center; justify-self: center; }
  .footer-social-label { align-items: center; text-align: center; }
}

@media (max-width: 420px) {
  .footer-inner { padding: 32px 16px calc(32px + env(safe-area-inset-bottom)); gap: 24px; }
}

/* --- Über uns responsive --- */

@media (max-width: 860px) {
  .about-intro  { padding: 56px 24px; }
  .about-family { padding: 56px 24px; }
  .about-family-inner { grid-template-columns: 1fr; gap: 40px; }
  .image-placeholder { aspect-ratio: 3 / 2; max-width: 480px; margin: 0 auto; }

  .about-story { padding: 56px 24px; }
  .about-story-inner { padding: 40px 32px; border-radius: 18px; }

  .about-timeline { padding: 56px 24px; }
  .timeline-intro { margin-bottom: 40px; }

  .about-cta { padding: 56px 24px; }
  .about-cta-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 420px) {
  .about-intro  { padding: 40px 16px; }
  .about-family { padding: 40px 16px; }
  .about-story  { padding: 40px 16px; }
  .about-story-inner { padding: 28px 20px; border-radius: 14px; }
  .about-timeline { padding: 40px 16px; }
  .about-cta    { padding: 40px 16px; }
  .timeline-item { margin-bottom: 32px; }
  .timeline { padding-left: 24px; }
  .timeline-marker { left: -24px; }
  .timeline-item--current .timeline-marker { left: -25px; }
}

/* --- Unsere Tiere & Hofladen responsive --- */

@media (max-width: 860px) {
  .animals-slideshow, .hofladen-slideshow, .ueber-uns-slideshow { padding: 0 24px 48px; }
  .slideshow-slide { aspect-ratio: 3 / 2; }
  .slideshow-btn { width: 40px; height: 40px; }
  .animals-section { padding: 56px 24px; }
  .animals-heading { margin-bottom: 40px; }
  .animals-grid { grid-template-columns: 1fr; gap: 20px; }
  .animal-card { padding: 32px 28px; flex-direction: row; align-items: flex-start; gap: 20px; }
  .animal-card-icon { width: 48px; height: 48px; flex-shrink: 0; }

  .animals-philosophy { padding: 56px 24px; }
  .animals-philosophy-inner { padding: 40px 32px; border-radius: 18px; }

  .hofladen-highlight { padding: 56px 24px; }
  .hofladen-highlight-inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; border-radius: 18px; }
  .hofladen-highlight-icon svg { width: 64px; height: 64px; }

  .hofladen-products { padding: 56px 24px; }
  .hofladen-grid { grid-template-columns: 1fr; gap: 16px; }

  .hofladen-note { padding: 28px 24px; }

  .schau-vorbei { padding: 56px 24px; }
}

@media (max-width: 420px) {
  .animals-slideshow, .hofladen-slideshow, .ueber-uns-slideshow { padding: 0 16px 40px; }
  .slideshow-btn { width: 36px; height: 36px; }
  .slideshow-btn svg { width: 16px; height: 16px; }
  .animals-section { padding: 40px 16px; }
  .animal-card { flex-direction: column; padding: 28px 20px; }
  .animals-philosophy { padding: 40px 16px; }
  .animals-philosophy-inner { padding: 28px 20px; border-radius: 14px; }
  .hofladen-highlight { padding: 40px 16px; }
  .hofladen-highlight-inner { padding: 28px 20px; border-radius: 14px; }
  .hofladen-products { padding: 40px 16px; }
  .hofladen-note { padding: 24px 16px; }
  .schau-vorbei { padding: 40px 16px; }
}

/* ==========================================================================
   Kontakt — Links in der Infokarte
   ========================================================================== */

.hours-row-value a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}
.hours-row-value a:hover { color: var(--egg-yellow); }

.hours-row-value strong { color: var(--cream); }

/* ==========================================================================
   Kontakt — Direktkontakt-Buttons (Tel & E-Mail)
   ========================================================================== */

.kontakt-reach {
  background: var(--cream);
  padding: 0 48px 72px;
}

.kontakt-reach-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.kontakt-reach-header {
  text-align: center;
  padding-bottom: 44px;
}

.kontakt-reach-heading {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--soil-brown);
  line-height: 1.15;
  margin-top: 8px;
  text-wrap: balance;
}

.kontakt-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.kontakt-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(59,43,34,0.10);
  overflow: hidden;
  text-decoration: none;
  color: var(--soil-brown);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.kontakt-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 52px rgba(59,43,34,0.11);
  border-color: rgba(59,43,34,0.18);
}

.kontakt-tile-visual {
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--meadow-green);
}

.kontakt-tile--red .kontakt-tile-visual {
  background: var(--terra);
}

.kontakt-tile-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt-tile-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kontakt-tile-body {
  flex: 1;
  padding: 24px 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kontakt-tile-eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--meadow-green);
}

.kontakt-tile--red .kontakt-tile-eyebrow {
  color: var(--terra);
}

.kontakt-tile-heading {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.2;
  color: var(--soil-brown);
  display: block;
  margin-top: 2px;
}

.kontakt-tile-desc {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(59,43,34,0.85);
  margin-top: 4px;
}

.kontakt-tile-footer {
  padding: 14px 28px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(59,43,34,0.07);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--meadow-green);
  min-height: 52px;
}

.kontakt-tile--red .kontakt-tile-footer {
  color: var(--terra);
}

.kontakt-tile-footer svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.kontakt-tile:hover .kontakt-tile-footer svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Kontakt — Adresse & Karte
   ========================================================================== */

.kontakt-hours { padding-top: 0; }

/* --- Kontakt responsive --- */

@media (max-width: 900px) {
  .kontakt-reach { padding: 0 24px 56px; }
}

@media (max-width: 720px) {
  .kontakt-tile-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .kontakt-reach { padding: 0 16px 48px; }
  .kontakt-tile-grid { grid-template-columns: 1fr; gap: 16px; }
  .kontakt-reach-header { text-align: left; }
  .kontakt-tile-visual { height: 108px; }
  .kontakt-tile-body { padding: 20px 22px 12px; }
  .kontakt-tile-footer { padding: 12px 22px 18px; }
}

/* ==========================================================================
   Impressum & Datenschutzerklärung
   ========================================================================== */

.legal-page {
  background: var(--cream);
  padding: 80px 48px;
}

.legal-page-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page-intro {
  border-left: 3px solid var(--egg-yellow);
  padding-left: 20px;
  margin-bottom: 56px;
}

.legal-page-intro h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--soil-brown);
  margin-bottom: 12px;
  line-height: 1.15;
}

.legal-page-intro p {
  font-size: 15px;
  color: #5b4c40;
  line-height: 1.7;
  margin: 0;
}

.legal-page h2 {
  font-size: 18px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--soil-brown);
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(59,43,34,0.1);
}

.legal-page h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--soil-brown);
  margin: 24px 0 8px;
}

.legal-page p {
  font-size: 15px;
  line-height: 1.75;
  color: #5b4c40;
  margin-bottom: 14px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page li {
  font-size: 15px;
  line-height: 1.75;
  color: #5b4c40;
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--meadow-green-dark);
  word-break: break-all;
}
.legal-page a:hover { text-decoration: underline; }

.legal-placeholder {
  background: rgba(255,200,0,0.18);
  border: 1px solid rgba(180,140,0,0.3);
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
  color: #7a5a00;
  font-size: 13px;
}

@media (max-width: 860px) {
  .legal-page { padding: 56px 24px; }
}

@media (max-width: 420px) {
  .legal-page { padding: 40px 16px; }
}


/* ==========================================================================
   Vorbestell-Formular (Kontakt) — Contact Form 7
   ========================================================================== */

.vorbestell-section {
  background: var(--cream);
  padding: 0 48px 80px;
}

.vorbestell-inner {
  max-width: 760px;
  margin: 0 auto;
}

.vorbestell-header {
  text-align: center;
  margin-bottom: 36px;
}

.vorbestell-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--soil-brown);
  line-height: 1.15;
  margin-top: 8px;
  text-wrap: balance;
}

.vorbestell-intro {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(59,43,34,0.85);
  margin-top: 14px;
}

.vorbestell-form {
  background: #fff;
  border: 1.5px solid rgba(59,43,34,0.10);
  border-radius: 20px;
  padding: 36px;
}

.cf7-placeholder-hint {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #7a5a00;
  background: rgba(255,200,0,0.15);
  border: 1px dashed rgba(180,140,0,0.4);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0;
}

/* --- Contact Form 7 Feld-Styles --- */
.wpcf7-form p { margin: 0 0 18px; }

.wpcf7-form label {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--soil-brown);
  margin-bottom: 0;
}

/* Zwei Felder nebeneinander (Telefon/E-Mail, Datum/Zeit) */
.wpcf7-form .vb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.wpcf7-form .vb-req { color: var(--terra); }

.wpcf7-form .vb-opt {
  font-weight: 400;
  font-size: 12.5px;
  color: rgba(59,43,34,0.85);
}

/* Hinweiszeile unter einem Feld */
.wpcf7-form .vb-hint {
  display: block;
  margin-top: 6px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(59,43,34,0.85);
}

/* Hervorgehobener Hinweis (z. B. 48-h-Reservierung) */
.wpcf7-form .vb-note {
  margin: 0 0 18px;
  padding: 11px 14px;
  border-radius: 10px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
}

.wpcf7-form .vb-note--warn {
  color: #8a2b2b;
  background: rgba(179,45,46,0.08);
  border: 1px solid rgba(179,45,46,0.28);
}

/* Eingabefeld unter das Label auf eigene Zeile */
.wpcf7-form label > .wpcf7-form-control-wrap,
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]),
.wpcf7-form select,
.wpcf7-form textarea { display: block; }

.wpcf7-form label > .wpcf7-form-control-wrap { margin-top: 6px; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="time"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  color: var(--soil-brown);
  background: var(--cream);
  border: 1.5px solid rgba(59,43,34,0.18);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wpcf7-form textarea { min-height: 130px; resize: vertical; }

/* Datum/Zeit: iOS respektiert width: 100% nur mit appearance: none, sonst
   nimmt das Feld seine intrinsische Breite und läuft über den Rand.
   Trade-off: iOS zeigt dann kein tt.mm.jjjj im Leerzustand -> im CF7-Formular
   steht darunter ein .vb-hint als Ersatz. */
.wpcf7-form input[type="date"],
.wpcf7-form input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  line-height: 1.4;
  text-align: left;
}
.wpcf7-form input[type="date"]::-webkit-date-and-time-value,
.wpcf7-form input[type="time"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181,105,58,0.15);
}

.wpcf7-form .wpcf7-acceptance {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: rgba(59,43,34,0.7);
  line-height: 1.5;
}

.wpcf7-form .wpcf7-acceptance label {
  display: inline;
  font-weight: 400;
  margin: 0;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--terra);
}

.wpcf7-form input[type="submit"] {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--cream);
  background: var(--terra);
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  min-height: 48px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.wpcf7-form input[type="submit"]:hover { background: var(--terra-dark); }
.wpcf7-form input[type="submit"]:disabled { opacity: 0.6; cursor: progress; }

.wpcf7-form .wpcf7-not-valid-tip {
  color: #b32d2e;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.wpcf7-form .wpcf7-not-valid {
  border-color: #b32d2e !important;
}

.wpcf7 .wpcf7-response-output {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #e0a800;
  background: rgba(232,163,61,0.12);
  color: #7a5a00;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--meadow-green);
  background: rgba(92,122,75,0.12);
  color: var(--meadow-green-dark);
}

/* Cloudflare Turnstile Widget (wird von CF7 automatisch eingefügt) */
.wpcf7-form .cf-turnstile { margin: 4px 0 18px; }

.wpcf7-form .vb-submit { margin-top: 4px; }

@media (max-width: 720px) {
  .vorbestell-section { padding: 0 24px 56px; }
  .vorbestell-form { padding: 26px 20px; }
}

@media (max-width: 520px) {
  .wpcf7-form .vb-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 500px) {
  .vorbestell-section { padding: 0 16px 48px; }
  .vorbestell-header { text-align: left; }
}

/* ==========================================================================
   Datenschutz — Dienste-/Plugin-Tabelle
   ========================================================================== */

.datenschutz-tabelle {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 28px;
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(59,43,34,0.14);
  border-radius: 10px;
  overflow: hidden;
}

.datenschutz-tabelle th,
.datenschutz-tabelle td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  line-height: 1.6;
  color: #5b4c40;
  border-bottom: 1px solid rgba(59,43,34,0.09);
}

.datenschutz-tabelle tr:last-child th,
.datenschutz-tabelle tr:last-child td { border-bottom: 0; }

.datenschutz-tabelle th {
  width: 190px;
  font-weight: 700;
  color: var(--soil-brown);
  background: rgba(181,105,58,0.06);
}

.datenschutz-tabelle a { word-break: break-word; }

@media (max-width: 560px) {
  .datenschutz-tabelle,
  .datenschutz-tabelle tbody,
  .datenschutz-tabelle tr,
  .datenschutz-tabelle th,
  .datenschutz-tabelle td { display: block; width: 100%; }
  .datenschutz-tabelle th {
    background: rgba(181,105,58,0.06);
    border-bottom: 0;
  }
  .datenschutz-tabelle td { padding-top: 4px; }
}

/* ==========================================================================
   Kundenstimmen (Startseite)
   ========================================================================== */

.reviews-section {
  background: var(--cream);
  padding: 8px 48px 96px;
}

.reviews-inner { max-width: 1060px; margin: 0 auto; }

.reviews-head { text-align: center; margin-bottom: 48px; }

.reviews-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--soil-brown);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

/* Gelbe Akzentlinie wie bei Pillars / „Über uns" */
.reviews-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--egg-yellow);
  border-radius: 3px;
  margin: 16px auto 0;
}

.reviews-meta {
  margin-top: 16px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  color: rgba(59,43,34,0.85);
}

.reviews-meta .reviews-stars {
  color: var(--egg-yellow);
  letter-spacing: 2px;
  margin-right: 6px;
}

.reviews-meta a {
  color: var(--meadow-green-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(63,87,52,0.35);
}
.reviews-meta a:hover { color: var(--terra); border-bottom-color: currentColor; }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.review-card {
  position: relative;
  margin: 0;
  background: #fff;
  border: 1.5px solid rgba(59,43,34,0.10);
  border-radius: 20px;
  padding: 32px 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 14px 36px rgba(59,43,34,0.07);
  overflow: hidden;
}

/* dezentes Editorial-Anführungszeichen (wie der Fraunces-Ton im Theme) */
.review-card::before {
  content: "\201E";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  color: var(--terra);
  opacity: 0.10;
  pointer-events: none;
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--egg-yellow);
  position: relative;
}
.review-stars svg { fill: currentColor; width: 17px; height: 17px; }

.review-card blockquote {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: #4c3f34;
}

.review-card figcaption {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--soil-brown);
  padding-top: 14px;
  border-top: 1px solid rgba(59,43,34,0.09);
}

.review-card .review-source {
  font-weight: 400;
  color: rgba(59,43,34,0.82);
}

@media (max-width: 720px) {
  .reviews-section { padding: 8px 24px 64px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 18px; }
  .review-card { padding: 28px 24px 24px; }
}

@media (max-width: 500px) {
  .reviews-section { padding: 8px 16px 52px; }
  .reviews-head { margin-bottom: 32px; }
}


/* ==========================================================================
   404 — Seite nicht gefunden
   ========================================================================== */

.error-404 {
  background: var(--cream);
  padding: 100px 48px 110px;
  text-align: center;
}

.error-404-inner { max-width: 560px; margin: 0 auto; }

.error-404-code {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(64px, 12vw, 120px);
  line-height: 1;
  color: var(--egg-yellow);
  margin-bottom: 8px;
}

.error-404 h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--soil-brown);
  margin-bottom: 16px;
  text-wrap: balance;
}

.error-404 p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(59,43,34,0.7);
  margin-bottom: 28px;
}

.error-404-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 500px) {
  .error-404 { padding: 72px 20px 84px; }
}

/* ==========================================================================
   Sichtbarer Tastatur-Fokus (focus-visible) — a11y
   ========================================================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.wpcf7-form input[type="submit"]:focus-visible {
  outline: 3px solid var(--meadow-green-dark);
  outline-offset: 2px;
  border-radius: 3px;
}

.wpcf7-form input:focus-visible,
.wpcf7-form select:focus-visible,
.wpcf7-form textarea:focus-visible {
  outline: 3px solid var(--meadow-green-dark);
  outline-offset: 1px;
}

/* Auf dunklen Flächen (Header, Hero, Footer, braune Boxen) heller Ring */
.site-header a:focus-visible,
#main-nav a:focus-visible,
.nav-toggle:focus-visible,
.hero a:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible,
.about-story-inner a:focus-visible,
.animals-philosophy-inner a:focus-visible,
.hofladen-highlight-inner a:focus-visible {
  outline-color: var(--egg-yellow);
}

/* ==========================================================================
   Vorbestell-Bestätigung (nach erfolgreichem Absenden)
   ========================================================================== */
[hidden] { display: none !important; }

.vorbestell-confirmation {
  background: #fff;
  border: 1.5px solid rgba(63,87,52,0.28);
  border-radius: 20px;
  padding: 36px;
  outline: none;
}
.vorbestell-confirmation-inner { max-width: 560px; }
.vorbestell-confirmation-check {
  width: 46px;
  height: 46px;
  color: var(--meadow-green-dark);
  margin-bottom: 14px;
}
.vorbestell-confirmation h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--soil-brown);
}
.vorbestell-confirmation p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--soil-brown);
}
.vorbestell-confirmation-steps {
  margin: 14px 0 4px;
  padding-left: 22px;
}
.vorbestell-confirmation-steps li {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--soil-brown);
  margin-bottom: 10px;
}
.vorbestell-confirmation-contact {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(59,43,34,0.12);
  font-size: 15px;
  color: var(--soil-brown);
}
.vorbestell-confirmation-contact a {
  color: var(--meadow-green-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(63,87,52,0.35);
  white-space: nowrap;
}
.vorbestell-confirmation-contact a:hover { color: var(--terra-dark); }

@media (max-width: 700px) {
  .vorbestell-confirmation { padding: 26px 20px; }
}
