/* Gemeinsame Erweiterungs-Styles fuer den Website-Entwurf
   Wahrt das bestehende Farbschema (#5d8f2a, #aac043, #c4d764, #415d25, #444) und die bestehende Schrift. */

/* --- Sticky Footer (Footer auf kurzen Seiten sauber ganz unten halten) --- */
html {
  height: auto;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
}

/* --- Globaler Kopf-Feinschliff (fixierte weisse Navigationsleiste ohne Ueberlagerungen) --- */
header.atf {
  position: relative;
  z-index: 2000;
  width: 100%;
  flex-shrink: 0;
}

#wrapper {
  display: flow-root;
  flex: 1 0 auto;
  width: 100%;
  margin: 0 auto 32px auto;
}

main {
  min-height: 0;
  height: auto;
}

.header-con {
  opacity: 1;
  background: #fff;
  z-index: 1000;
}

@media screen and (max-width: 990px) {
  .header-nav {
    z-index: 1002;
  }
}

/* --- Hero Entwurf 3 (Startseite: ruhiges Foto ohne gelbe Textueberlagerung + Laufbanner) --- */
.hero-v2-section {
  background: linear-gradient(180deg, #f5f9eb 0%, #fbfdf7 70%, #ffffff 100%);
  padding: 102px 2% 28px 2%;
  border-bottom: 1px solid #e6edd1;
}

.hero-sub-section {
  background: linear-gradient(180deg, #f5f9eb 0%, #fbfdf7 75%, #ffffff 100%);
  padding: 102px 2% 22px 2%;
  border-bottom: 1px solid #e6edd1;
}

.hero-v2-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.hero-v2-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 22px;
}

.hero-sub-section .hero-v2-top {
  margin-bottom: 0;
}

.hero-v2-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 520px;
}

.hero-v2-logo {
  flex: 0 0 138px;
  display: block;
}

.hero-sub-section .hero-v2-logo {
  flex: 0 0 112px;
}

.hero-v2-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-v2-heading-wrap {
  flex: 1;
  min-width: 240px;
}

.hero-v2-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #415d25;
  background: #e9f2cf;
  border: 1px solid #c9db93;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.hero-v2-title {
  margin: 0 0 6px 0;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.18;
  font-weight: 700;
  color: #2f4818;
  text-align: left;
}

.hero-sub-section .hero-v2-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.hero-v2-title span {
  color: #5d8f2a;
  font-weight: 400;
}

.hero-v2-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #4a553f;
  max-width: 680px;
}

.hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Gerahmte Fotobuehne Startseite */
.hero-v2-showcase {
  background: #fff;
  border: 1px solid #dce6be;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(65, 93, 37, 0.12);
}

.hero-v2-photo-frame {
  position: relative;
  width: 100%;
  background: #eaf1d5;
  overflow: hidden;
}

.hero-v2-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Laufbanner direkt unter dem großen Bild (laeuft von links nach rechts) */
.hero-v3-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #3a5620 0%, #486a29 50%, #3a5620 100%);
  border-top: 1px solid #31491b;
  padding: 11px 0;
  contain: layout paint;
}

.hero-v3-marquee::before,
.hero-v3-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 2;
  pointer-events: none;
}

.hero-v3-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #3a5620 0%, rgba(58, 86, 32, 0) 100%);
}

.hero-v3-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #3a5620 0%, rgba(58, 86, 32, 0) 100%);
}

.hero-v3-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: heroV3MarqueeLeftToRight 38s linear infinite;
}

.hero-v3-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-v3-marquee-item {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.35px;
  color: #f7fae9;
  white-space: nowrap;
  padding: 0 6px;
}

.hero-v3-marquee-sep {
  color: #e4ee68;
  font-size: 13px;
  padding: 0 18px;
  white-space: nowrap;
  user-select: none;
}

@keyframes heroV3MarqueeLeftToRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (max-width: 990px) {
  .hero-v2-section,
  .hero-sub-section {
    padding-top: 78px;
  }
}

@media screen and (max-width: 600px) {
  .hero-v2-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-v2-logo,
  .hero-sub-section .hero-v2-logo {
    flex: 0 0 auto;
    width: 112px;
  }
  .hero-v3-marquee {
    padding: 9px 0;
  }
  .hero-v3-marquee::before,
  .hero-v3-marquee::after {
    width: 24px;
  }
  .hero-v3-marquee-item {
    font-size: 13.5px;
  }
  .hero-v3-marquee-sep {
    padding: 0 12px;
  }
  .hero-v2-actions {
    width: 100%;
  }
  .hero-v2-actions a {
    flex: 1 1 auto;
  }
}

/* --- Gemeinsame Bausteine --- */
.ev-intro-banner {
  background: linear-gradient(135deg, #f6f9ec 0%, #ffffff 100%);
  border: 1px solid #d7e3a8;
  border-left: 6px solid #aac043;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 3px 12px rgba(93, 143, 42, 0.06);
}
.ev-intro-banner h2.content {
  margin-bottom: 10px;
}
.ev-intro-banner p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 8px 0 0 0;
}

/* Neuigkeit: Neuer Laden in Maulbronn */
.ev-shop-notice {
  background: linear-gradient(135deg, #f3f8e4 0%, #ffffff 100%);
  border: 2px solid #aac043;
  border-left: 6px solid #5d8f2a;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px rgba(93, 143, 42, 0.12);
}
.ev-shop-notice h3 {
  margin: 0 0 8px 0;
  padding: 0;
  background: transparent !important;
  color: #2f4818;
  font-size: 21px;
  text-transform: none;
  font-weight: bold;
}
.ev-shop-notice p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #354c1e;
  margin: 0 0 6px 0;
}
.ev-shop-notice p:last-child {
  margin-bottom: 0;
  color: #4a553f;
  font-size: 14.5px;
}

.ev-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e6eccb;
}
.ev-section-head h3 {
  margin: 0;
  padding: 4px 12px;
  border-radius: 4px;
}

.ev-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ev-filter-btn {
  border: 1px solid #c4d764;
  background: #fff;
  color: #415d25;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ev-filter-btn:hover,
.ev-filter-btn.is-active {
  background: #aac043;
  border-color: #aac043;
  color: #fff;
}

.ev-btn-primary {
  display: inline-block;
  background: #5d8f2a;
  color: #fff !important;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 6px rgba(93, 143, 42, 0.25);
  transition: background 0.2s ease, transform 0.15s ease;
}
.ev-btn-primary:hover {
  background: #415d25;
  transform: translateY(-1px);
}

.ev-btn-outline {
  display: inline-block;
  background: #fff;
  color: #415d25 !important;
  border: 1px solid #aac043;
  font-size: 13.5px;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 6px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.ev-btn-outline:hover {
  background: #f2f7e1;
  color: #2f4519 !important;
}

.ev-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 6px;
  background: #eef4d6;
  color: #415d25;
}
.ev-tag--markt {
  background: #f3eee4;
  color: #6f5629;
}

.ev-highlight-note {
  background: #f2f7e1;
  border: 1px solid #c4d764;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  text-align: center;
}
.ev-highlight-note p {
  font-size: 15px;
  line-height: 1.55;
  color: #354c1e;
  margin: 0;
  text-align: center;
}

.ev-extras-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 28px 0;
}
.ev-extra-card {
  flex: 1;
  min-width: 230px;
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ev-extra-card h4 {
  margin: 0 0 10px 0;
  font-size: 17px;
  color: #5d8f2a;
  text-transform: none;
  font-weight: bold;
  line-height: 1.3;
}
.ev-extra-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #444;
  margin: 0 0 12px 0;
}
.ev-extra-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  display: block;
}

/* Rechte Kontakt-Sidebar */
.box2-card {
  background: #fafafa;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 20px;
}
.box2-card a {
  overflow-wrap: anywhere;
}
@media screen and (min-width: 881px) {
  .box2-card {
    position: sticky;
    top: 100px;
  }
}

/* --- Events & Termine --- */
.ev-date-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.ev-date-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ev-date-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(93, 143, 42, 0.12);
  border-color: #aac043;
}
.ev-date-card.is-hidden {
  display: none;
}
.ev-cal-badge {
  flex: 0 0 72px;
  text-align: center;
  background: #f6f9ec;
  border: 1px solid #c4d764;
  border-radius: 8px;
  overflow: hidden;
}
.ev-cal-month {
  background: #aac043;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 0;
  letter-spacing: 0.5px;
}
.ev-cal-day {
  font-size: 17px;
  font-weight: bold;
  color: #415d25;
  padding: 6px 2px 2px;
  line-height: 1.1;
}
.ev-cal-weekday {
  font-size: 11px;
  color: #666;
  padding-bottom: 5px;
}
.ev-date-info {
  flex: 1;
  min-width: 180px;
}
.ev-date-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 4px 0;
}
.ev-date-meta {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.45;
}
.ev-date-cta a {
  display: inline-block;
  background: #5d8f2a;
  color: #fff !important;
  font-size: 13px;
  font-weight: bold;
  padding: 9px 15px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.ev-date-cta a:hover {
  background: #415d25;
}

.ev-offer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.ev-offer-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease;
}
.ev-offer-card:hover {
  box-shadow: 0 8px 22px rgba(93, 143, 42, 0.14);
}
.ev-offer-media {
  flex: 0 0 230px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  background: #f4f4f4;
}
.ev-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ev-offer-card:hover .ev-offer-media img {
  transform: scale(1.04);
}
.ev-price-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(65, 93, 37, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 11px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.ev-offer-body {
  flex: 1;
  min-width: 240px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ev-offer-body h4 {
  margin: 0 0 8px 0;
  font-size: 19px;
  color: #5d8f2a;
  text-transform: none;
  line-height: 1.3;
  font-weight: bold;
}
.ev-offer-body p {
  font-size: 15px;
  line-height: 1.55;
  color: #444;
  margin: 0 0 10px 0;
}
.ev-offer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #dde4c4;
  font-size: 14px;
  color: #415d25;
  font-weight: bold;
}
.ev-offer-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.presentacion-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 14px 0 8px 0;
  margin-top: 10px;
}
.presentacion-slider {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: deslizar 32s linear infinite;
}
.presentacion-slider img {
  width: 240px;
  height: 175px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  margin: 0;
}
.presentacion-slider:hover {
  animation-play-state: paused;
}
@keyframes deslizar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Startseite (HOME) --- */
.idx-about-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}
.idx-portrait-wrap {
  flex: 0 0 230px;
  text-align: center;
}
.idx-portrait-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #eef4d6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}
.idx-portrait-caption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #415d25;
}
.idx-portrait-sub {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}
.idx-about-text {
  flex: 1;
  min-width: 240px;
}
.idx-about-text p {
  font-size: 15px;
  line-height: 1.62;
  color: #444;
  margin: 0 0 12px 0;
}
.idx-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.idx-pill {
  background: #f2f7e1;
  border: 1px solid #c4d764;
  color: #415d25;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 20px;
}

.idx-quote-box {
  background: #fafcf5;
  border-left: 6px solid #c4d764;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.55;
  color: #354c1e;
}

.idx-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 24px 0;
}
.idx-quick-card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.idx-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(93, 143, 42, 0.14);
}
.idx-quick-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.idx-quick-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.idx-quick-body h4 {
  margin: 0 0 8px 0;
  font-size: 17px;
  color: #5d8f2a;
  text-transform: none;
  font-weight: bold;
}
.idx-quick-body p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  margin: 0 0 14px 0;
}

/* --- Produkte --- */
.prd-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f6f9ec 0%, #ffffff 100%);
  border: 1px solid #d7e3a8;
  border-left: 6px solid #aac043;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.prd-info-grid p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  color: #444;
}
.prd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.prd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
}
.prd-badge--avail {
  background: #e9f4d8;
  color: #365c14;
  border: 1px solid #b8d88a;
}
.prd-badge--sold {
  background: #f5ecec;
  color: #7e3f3f;
  border: 1px solid #e2c6c6;
}

.prd-toolbar {
  background: #fafafa;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.prd-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.prd-search-input {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14.5px;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}
.prd-search-input:focus {
  outline: none;
  border-color: #aac043;
  box-shadow: 0 0 0 3px rgba(170, 192, 67, 0.2);
}
.prd-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #415d25;
  background: #fff;
  border: 1px solid #c4d764;
  padding: 9px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.prd-toggle-label input {
  width: 16px;
  height: 16px;
  accent-color: #5d8f2a;
}
.prd-count-note {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

.prd-category-block {
  margin-bottom: 28px;
}
.prd-category-block.is-hidden {
  display: none;
}
.prd-cat-sub {
  font-size: 13px;
  font-weight: normal;
  color: #666;
  text-transform: none;
  margin-left: 8px;
}
.prd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.prd-card {
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 9px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.prd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(93, 143, 42, 0.12);
  border-color: #aac043;
}
.prd-card.is-hidden {
  display: none;
}
.prd-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.prd-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: bold;
  color: #5d8f2a;
  line-height: 1.3;
}
.prd-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.prd-variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f7f9f1;
  border: 1px solid #d9e2bc;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13.5px;
  color: #333;
}
.prd-variant-chip strong {
  color: #415d25;
}
.prd-variant-chip--sold {
  background: #f8f4f4;
  border-color: #e4d4d4;
  color: #777;
}
.prd-card-desc {
  font-size: 14px;
  line-height: 1.52;
  color: #555;
  margin: 0 0 12px 0;
}
.prd-card-footer {
  padding-top: 10px;
  border-top: 1px dashed #e2e8cf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.prd-order-link {
  font-weight: bold;
  color: #5d8f2a;
}
.prd-order-link:hover {
  text-decoration: underline;
}

.prd-empty-state {
  display: none;
  background: #fafcf5;
  border: 1px dashed #c4d764;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  font-size: 15px;
  color: #555;
}
.prd-empty-state.is-visible {
  display: block;
}

.prd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.prd-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e6d5;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.prd-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.35s ease;
}
.prd-gallery-item:hover img {
  transform: scale(1.05);
}

/* --- Anmeldung / Formular & Rechtstext-Karten --- */
.frm-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.frm-step {
  flex: 1;
  min-width: 170px;
  background: #fafcf5;
  border: 1px solid #dde6c2;
  border-top: 4px solid #aac043;
  border-radius: 8px;
  padding: 12px 14px;
}
.frm-step-num {
  font-size: 13px;
  font-weight: bold;
  color: #5d8f2a;
  margin-bottom: 4px;
}
.frm-step p {
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
  color: #444;
}

.frm-card,
.legal-card {
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.legal-card h4 {
  color: #5d8f2a;
  margin-top: 22px;
  margin-bottom: 8px;
}
.legal-card h4:first-child {
  margin-top: 0;
}
.legal-card p,
.legal-card li {
  font-size: 14.5px;
  line-height: 1.6;
  color: #444;
}
.legal-card ul {
  margin: 8px 0 0 20px;
}
.frm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.frm-field {
  display: flex;
  flex-direction: column;
}
.frm-field--full {
  grid-column: 1 / -1;
}
.frm-field label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}
.frm-field input,
.frm-field select,
.frm-field textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14.5px;
  padding: 10px 12px;
  border: 1px solid #cfd6be;
  border-radius: 6px;
  background: #fcfdfb;
  color: #222;
  box-sizing: border-box;
  width: 100%;
}
.frm-field input:focus,
.frm-field select:focus,
.frm-field textarea:focus {
  outline: none;
  border-color: #aac043;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(170, 192, 67, 0.2);
}
.frm-hint {
  font-size: 12.5px;
  color: #666;
  margin-top: 4px;
}
.frm-iban-box {
  background: #f6f9ec;
  border: 1px solid #d7e3a8;
  border-left: 5px solid #5d8f2a;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0;
}
.frm-iban-box p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #354c1e;
}
.frm-privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #444;
  margin: 14px 0 18px 0;
}
.frm-privacy-row input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #5d8f2a;
  flex-shrink: 0;
}
.frm-feedback {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #e9f4d8;
  border: 1px solid #aac043;
  color: #2f4519;
  font-size: 14px;
  line-height: 1.5;
}
.frm-feedback.is-visible {
  display: block;
}
.frm-feedback--error {
  background: #fdf2f2;
  border-color: #d98888;
  color: #6c2424;
}
.ev-btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* --- Massagen --- */
.msg-hero-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e2e6d5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}
.msg-hero-media {
  flex: 1 1 320px;
  min-height: 260px;
  background: #f4f4f4;
}
.msg-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.msg-hero-body {
  flex: 1 1 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.msg-hero-body h2.content {
  margin-bottom: 12px;
}
.msg-hero-body p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 12px 0;
}
.msg-voucher-badge {
  display: inline-block;
  background: #f2f7e1;
  border: 1px solid #c4d764;
  color: #415d25;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 6px 0 16px 0;
}

/* --- Kompakter 3-Spalten-Footer (Farbmischung 2: heller Salbei-Ton) --- */
footer.wf-footer {
  flex-shrink: 0;
  float: none;
  clear: both;
  width: 100%;
  box-sizing: border-box;
  margin: auto 0 0 0;
  padding: 26px 2% 16px 2%;
  background: linear-gradient(180deg, #f5f9eb 0%, #ebf2d6 100%);
  border-top: 2px solid #dce6be;
  color: #3f4b34;
  position: relative;
  z-index: 10;
}

.wf-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  background: transparent;
}

.wf-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.wf-footer-logo {
  display: inline-block;
  width: 96px;
  margin-bottom: 8px;
  text-decoration: none;
}

.wf-footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.wf-footer-tagline {
  font-size: 13.5px;
  line-height: 1.45;
  color: #4a553f;
  margin: 0 0 10px 0;
  max-width: 340px;
  text-align: left;
}

.wf-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wf-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #cfe0a0;
  color: #415d25;
  font-size: 12.5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wf-footer-social a:hover {
  background: #f6f9ec;
  border-color: #aac043;
}

.wf-footer-social img {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  display: block;
}

footer.wf-footer h3.wf-footer-heading {
  background: transparent !important;
  padding: 0 0 6px 0;
  margin: 0 0 9px 0;
  border: 0;
  border-bottom: 2px solid #d4e0b3;
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2f4818;
  text-align: left;
}

footer.wf-footer ul.wf-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

footer.wf-footer ul.wf-footer-links li {
  text-align: left !important;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

footer.wf-footer ul.wf-footer-links a {
  color: #415d25;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

footer.wf-footer ul.wf-footer-links a:hover {
  color: #2f4818;
  text-decoration: underline;
}

footer.wf-footer p.wf-footer-contact {
  font-size: 13.5px;
  line-height: 1.5;
  color: #444f38;
  margin: 0 0 8px 0;
  text-align: left;
}

footer.wf-footer p.wf-footer-contact:last-child {
  margin-bottom: 0;
}

footer.wf-footer p.wf-footer-contact a {
  color: #415d25;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

footer.wf-footer p.wf-footer-contact a:hover {
  color: #2f4818;
  text-decoration: underline;
}

.wf-footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #d4e0b3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 18px;
  font-size: 12.5px;
  color: #5c6850;
}

.wf-footer-bottom-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.wf-footer-bottom a {
  color: #415d25;
  text-decoration: none;
  font-weight: 600;
}

.wf-footer-bottom a:hover {
  color: #2f4818;
  text-decoration: underline;
}

@media screen and (max-width: 820px) {
  .wf-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media screen and (max-width: 640px) {
  .ev-offer-media {
    flex: 1 1 100%;
    height: 200px;
  }
  .ev-date-card {
    flex-wrap: wrap;
  }
  .ev-date-cta {
    width: 100%;
  }
  .ev-date-cta a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .idx-portrait-wrap {
    flex: 1 1 100%;
  }
  .idx-portrait-wrap img {
    max-width: 280px;
    margin: 0 auto;
  }
  .prd-grid {
    grid-template-columns: 1fr;
  }
  .frm-grid {
    grid-template-columns: 1fr;
  }
}
