/* ===== PP Neue Gstaad ===== */

@font-face {
  font-family: "PP Neue Gstaad";
  src: url("./assets/fonts/PPNeueGstaad-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Gstaad";
  src: url("./assets/fonts/PPNeueGstaad-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Gstaad";
  src: url("./assets/fonts/PPNeueGstaad-RegularItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Gstaad";
  src: url("./assets/fonts/PPNeueGstaad-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Cormorant Garamond Variable Font ===== */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/CormorantGaramond-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/CormorantGaramond-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@theme {
  --font-sans: "PP Neue Gstaad", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

:root {
  --text-body: 1.25rem;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-weight: 350;
  line-height: 1.55;
  letter-spacing: 0em;
  font-style: normal;
  background-color: #FAF9F7 !important;
}
.max-w-\[100rem\]{
  max-width: 93.75rem !important;
}
@media (min-width: 1440px) {
  :root {
    --text-body: 1.25rem;
  }
}

/* ===== Typografie ===== */

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0;
}

/* Hero Homepage — groesste Stufe */
.hero-title {
  font-family: var(--font-serif);
  font-size: 2.625rem;
  line-height: 1.14;
  font-weight: 400;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.375rem;
    line-height: 1.03;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
    line-height: 1;
  }
}

@media (min-width: 1440px) {
  .hero-title {
    font-size: 5rem;
    line-height: 1;
  }
}

/* Hero Unterseiten */
.hero-sub-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.2;
  font-weight: 400;
}

@media (min-width: 768px) {
  .hero-sub-title {
    font-size: 3.25rem;
    line-height: 1.08;
  }
}

@media (min-width: 1024px) {
  .hero-sub-title {
    font-size: 3.875rem;
    line-height: 1.03;
  }
}

@media (min-width: 1440px) {
  .hero-sub-title {
    font-size: 4.375rem;
    line-height: 1.03;
  }
}

/* Section Headlines */
.section-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 400;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.625rem;
    line-height: 1.1;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.875rem;
    line-height: 1.08;
  }
}

@media (min-width: 1440px) {
  .section-title {
    font-size: 3.25rem;
    line-height: 1.08;
  }
}

/* Section Headlines Large (zwischen section-title und hero-sub-title) */
.section-title-lg {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 400;
}
.section-title-lg span {
  font-style: italic;
}
@media (min-width: 768px) {
  .section-title-lg {
    font-size: 3rem;
    line-height: 1.08;
  }
}

@media (min-width: 1024px) {
  .section-title-lg {
    font-size: 3.375rem;
    line-height: 1.05;
  }
}

@media (min-width: 1440px) {
  .section-title-lg {
    font-size: 3.75rem;
    line-height: 1.05;
  }
}

/* Sub Headlines */
.sub-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 400;
}

@media (min-width: 768px) {
  .sub-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }
}

/* Body Text */
.body-text {
  font-size: var(--text-body);
  line-height: 1.55;
  font-weight: 350;
  letter-spacing: 0em;
  font-style: normal;
}

/* Body Text Small */
.body-text-sm {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0em;
  font-style: normal;
}

/* Small / Labels */
.text-label {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
 @media (min-width: 1440px) {
  .text-label {
    font-size: 0.95rem;
  }
}

/* ===== La Casa Tag ===== */
.lacasa-tag {
  width: 9rem;
  height: 9rem;
  flex-shrink: 0;
}

/* ===== Dark tint overlay on images ===== */
.img-tint {
  position: relative;
  overflow: hidden;
}

.img-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom right,
    transparent 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

/* ===== Navbar States ===== */
#navbar {
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.5s ease;
}

#event-header.scrolled {
  background: #faf9f7;
}

#event-header.scrolled .marquee-track-top {
  color: rgba(0, 0, 0, 0.5);
}

#event-header.scrolled .marquee-track-top a {
  color: rgba(0, 0, 0, 0.5);
}

#event-header.scrolled .marquee-track-top a:hover {
  color: rgba(0, 0, 0, 0.8);
}

#event-header.scrolled .marquee-track-top .font-serif {
  color: rgba(0, 0, 0, 0.7);
}

#event-header.scrolled .marquee-track-top span {
  color: rgba(0, 0, 0, 0.15);
}

#event-header.scrolled .close-marquee,
#event-header.scrolled .info-icon {
  color: rgba(0, 0, 0, 0.3);
}

#event-header.scrolled .close-marquee:hover,
#event-header.scrolled .info-icon:hover {
  color: rgba(0, 0, 0, 0.7);
}

/* ===== Navbar bright (pages without hero image) — looks like scrolled from start ===== */
#navbar.is-bright {
  margin-top: 0;
  background-color: white;
}

#navbar.is-bright .nav-text {
  color: oklch(0.13 0.01 157.37);
}

#navbar.is-bright .hamburger-line {
  background-color: oklch(0.13 0.01 157.37);
}

#navbar.is-bright .logo-white {
  opacity: 0;
}

#navbar.is-bright .logo-black {
  opacity: 1;
}

#navbar.is-bright .nav-link {
  color: oklch(0.13 0.01 157.37);
}

#navbar.is-bright .nav-cta {
  background-color: #faf9f7;
  color: oklch(0.13 0.01 157.37);
}

#navbar.scrolled {
  margin-top: 0;
  background-color: white;
}

#navbar.scrolled .nav-text {
  color: oklch(0.13 0.01 157.37);
}

#navbar.scrolled .hamburger-line {
  background-color: oklch(0.13 0.01 157.37);
}

#navbar.scrolled .logo-white {
  opacity: 0;
}

#navbar.scrolled .logo-black {
  opacity: 1;
}

#navbar.scrolled .nav-link {
  color: oklch(0.13 0.01 157.37);
}

#navbar.scrolled .nav-cta {
  background-color: #53782a;
  color: #fff;
}

/* Nav links: hover dimmt die anderen */
.nav-links:hover .nav-link {
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.nav-links .nav-link:hover {
  opacity: 1;
}

/* Nav link hover arrow */
.nav-link,
.nav-cta {
  position: relative;
  letter-spacing: 3px;
}
.nav-link,
.nav-cta {
  font-size: 0.875rem;
}
.nav-link::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
  width: 0.85em;
  height: 0.85em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82' fill='none' stroke='black' stroke-miterlimit='10' stroke-width='1.5'%3E%3Cline y1='11.41' x2='23.14' y2='11.41'/%3E%3Cpath d='M23.14,11.41c-6.3,0-11.41-5.11-11.41-11.41'/%3E%3Cpath d='M11.73,22.82c0-6.3,5.11-11.41,11.41-11.41'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82' fill='none' stroke='black' stroke-miterlimit='10' stroke-width='1.5'%3E%3Cline y1='11.41' x2='23.14' y2='11.41'/%3E%3Cpath d='M23.14,11.41c-6.3,0-11.41-5.11-11.41-11.41'/%3E%3Cpath d='M11.73,22.82c0-6.3,5.11-11.41,11.41-11.41'/%3E%3C/svg%3E")
    no-repeat center / contain;
  opacity: 0;
  transform: rotate(-45deg);
  transition: opacity 0.3s ease;
}

.nav-link:hover::after {
  opacity: 1;
  transform: translateY(0) rotate(-45deg);
}

.nav-cta {
  overflow: hidden;
}

.nav-cta::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6em;
  width: 0.95em;
  height: 0.95em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82' fill='none' stroke='black' stroke-miterlimit='10' stroke-width='1.5'%3E%3Cline y1='11.41' x2='23.14' y2='11.41'/%3E%3Cpath d='M23.14,11.41c-6.3,0-11.41-5.11-11.41-11.41'/%3E%3Cpath d='M11.73,22.82c0-6.3,5.11-11.41,11.41-11.41'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82' fill='none' stroke='black' stroke-miterlimit='10' stroke-width='1.5'%3E%3Cline y1='11.41' x2='23.14' y2='11.41'/%3E%3Cpath d='M23.14,11.41c-6.3,0-11.41-5.11-11.41-11.41'/%3E%3Cpath d='M11.73,22.82c0-6.3,5.11-11.41,11.41-11.41'/%3E%3C/svg%3E")
    no-repeat center / contain;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

/* Footer link hover arrow */
.footer-link {
  position: relative;
}

.footer-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

#navbar.hidden-up {
  transform: translateY(-100%);
}

#navbar.visible-down {
  transform: translateY(0);
}

/* ===== Menu Open — overrides scrolled ===== */
body.menu-open {
  overflow: hidden;
}

body.menu-open #event-header {
  opacity: 0 !important;
  pointer-events: none;
}

body.menu-open #navbar {
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  z-index: 70 !important;
  top: 0 !important;
}

body.menu-open #navbar .nav-text {
  color: #0a0a0a;
}

body.menu-open #navbar .hamburger-line {
  background-color: #0a0a0a;
}

body.menu-open #navbar .nav-cta {
  color: white;
}

body.menu-open #navbar .logo-white {
  opacity: 0;
}

body.menu-open #navbar .logo-black {
  opacity: 1;
}

/* Menu image fade in */
body.menu-open .menu-image {
  opacity: 1;
}

/* ===== Hamburger Animation ===== */
.hamburger-line {
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    width 0.35s ease,
    margin 0.35s ease,
    background-color 0.5s ease;
}

body.menu-open .hamburger-line:nth-child(1) {
  width: 100%;
  margin-left: 0;
  transform: translateY(0.3125rem) rotate(45deg);
}

body.menu-open .hamburger-line:nth-child(2) {
  width: 100%;
  margin-right: 0;
  transform: translateY(-0.3125rem) rotate(-45deg);
}

/* ===== Menu Overlay ===== */
.menu-overlay {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

body.menu-open .menu-overlay {
  clip-path: inset(0);
}

/* ===== Menu Link Stagger ===== */
.menu-link {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

body.menu-open .menu-link {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open .menu-link:nth-child(1) {
  transition-delay: 0.15s;
}
body.menu-open .menu-link:nth-child(2) {
  transition-delay: 0.2s;
}
body.menu-open .menu-link:nth-child(3) {
  transition-delay: 0.25s;
}
body.menu-open .menu-link:nth-child(4) {
  transition-delay: 0.3s;
}
body.menu-open .menu-link:nth-child(5) {
  transition-delay: 0.35s;
}
body.menu-open .menu-link:nth-child(6) {
  transition-delay: 0.4s;
}

/* ===== Buttons (davidmus-Style) ===== */
.btn,
#wpforms-form-245 .wpforms-submit,
#wpforms-form-983 .wpforms-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid currentColor;
  border-radius: 0.15rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 350;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.5s ease;
  cursor: pointer;
  background: transparent;
  color: oklch(0.13 0.01 157.37);
}

.btn-arrow {
  display: none;
  overflow: hidden;
  width: 0;
  margin-left: 0;
  opacity: 0;
  transition:
    width 0.4s ease,
    opacity 0.3s ease,
    margin-left 0.4s ease;
}

@media (min-width: 768px) {
  .btn-arrow {
    display: inline-flex;
    align-items: center;
  }
}

.btn:hover .btn-arrow {
  width: 1rem;
  margin-left: 0.75rem;
  opacity: 1;
}

.btn-arrow .lc-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
@media (min-width: 1440px) {
  .btn {
    font-size: 0.95rem;
  }
}

/* White variant (on dark backgrounds) */
.btn-white {
  color: white;
  border-color: white;
}

/* ===== Partner subpage sticky sidebar ===== */
@media (min-width: 1024px) {
  .partner-sticky {
    position: sticky;
    top: 9rem;
    align-self: flex-start;
  }
}

/* ===== Partner info bar ===== */
.info-bar-item + .info-bar-item {
  border-top: 1px solid oklch(0.13 0.01 157.37 / 0.5);
}

@media (min-width: 768px) {
  .info-bar-item + .info-bar-item {
    border-top: none;
  }
}

/* ===== Partner Leistungen (Accordion) ===== */
.leistungen {
  border-top: 1px solid oklch(0.13 0.01 157.37 / 0.5);
}

.leistung {
  border-bottom: 1px solid oklch(0.13 0.01 157.37 / 0.5);
}

.leistung-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
}

.leistung-head::-webkit-details-marker {
  display: none;
}

.leistung-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.leistung[open] .leistung-icon {
  transform: rotate(45deg);
}

.leistung-body {
  padding: 0 0 1.5rem 0;
  max-width: 42rem;
}

/* ===== CTA Card ===== */
.cta-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 15, 1, 0.65);
  transition: background-color 0.5s ease;
  pointer-events: none;
}

.cta-card:hover .cta-card-overlay {
  background: rgba(1, 15, 1, 0.35);
}

.cta-card-btn-wrap {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    margin-top 0.3s ease,
    opacity 0.2s ease;
}

.cta-card:hover .cta-card-btn-wrap {
  max-height: 5rem;
  margin-top: 1.5rem;
  opacity: 1;
  transition:
    max-height 0.35s ease,
    margin-top 0.35s ease,
    opacity 0.45s ease 0.1s;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.75rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== Partner TOC ===== */
.toc-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.75rem 0;
  color: oklch(0.13 0.01 157.37);
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.toc-item:hover,
.toc-item.is-active {
  opacity: 1;
}

.toc-num {
  color: #53782a;
}
#partner .flex-wrap {
  gap: 15px;
}
/* ===== Filter (Button active state) ===== */
.btn.is-active {
  background: oklch(0.13 0.01 157.37);
  color: #fff;
  border-color: oklch(0.13 0.01 157.37);
}

/* ===== Slider ===== */
.slider-track {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

/* ===== Marquee ===== */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee-track,
.marquee-track-top {
  animation: marquee 120s linear infinite;
}

.marquee-track:hover,
.marquee-track-top:hover {
  animation-play-state: paused;
}

.slider-track > * {
  scroll-snap-align: start;
}

/* ===== Consent Modal (DSGVO) ===== */
.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.consent-modal.is-open {
  display: flex;
}

.consent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.consent-modal-panel {
  position: relative;
  background: #faf9f7;
  color: oklch(0.13 0.01 157.37);
  width: 100%;
  max-width: 44rem;
  max-height: 90vh;
  overflow-y: auto;
}

.consent-modal-inner {
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .consent-modal-inner {
    padding: 3.5rem 3.5rem;
  }
}

.consent-btn-accept {
  background: #237a52;
  color: white;
  border-color: #237a52;
}

.consent-btn-accept:hover {
  background: #1c6242;
  border-color: #1c6242;
}

body.consent-modal-open {
  overflow: hidden;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: white;
  color: oklch(0.13 0.01 157.37);
  border: none;
  cursor: pointer;
  transform: translateY(calc(100% + 1.5rem));
  pointer-events: none;
  transition:
    transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
    background 250ms ease,
    color 250ms ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: oklch(0.13 0.01 157.37);
  color: white;
}

.back-to-top-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
  color: #53782a;
  flex-shrink: 0;
  transition: color 250ms ease;
  transform: rotate(-90deg);
}

.back-to-top:hover .back-to-top-icon {
  color: white;
}

.back-to-top-label {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

/* ===== Form Inputs ===== */
#wpforms-245 input,
#wpforms-245 select,
#wpforms-245 textarea,
#wpforms-983 input,
#wpforms-983 select,
#wpforms-983 textarea {
  max-width: 100%;
  background: transparent;
  border: 1px solid oklch(0.13 0.01 157.37 / 0.5);
  border-radius: 0.05rem;
  padding: 1rem 1.25rem;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.4;
  color: oklch(0.13 0.01 157.37);
  transition: border-color 250ms ease;
  font-family: inherit;
  width: 100%;
}
.checkbox input{
border: none !important;
  max-width: fit-content !important;
}
#wpforms-983 .wpforms-field-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;

    margin: 0 10px 0 0;
    box-sizing: border-box;

    border: 1px solid oklch(0.13 0.01 157.37 / 0.5) !important;
    border-radius: 4px;
    background-color: #fff;

    position: relative;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;

    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Häkchen selbst, zentriert per Flexbox im Pseudo-Element */
#wpforms-983 .wpforms-field-checkbox input[type="checkbox"]::before {
    content: "";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 16px;
    margin: auto;

    background-color: transparent;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transition: transform 0.15s ease;
}

#wpforms-983 .wpforms-field-checkbox input[type="checkbox"]:checked {
    background-color: #53782a; /* ANPASSEN: deine Markenfarbe */
    border-color: #53782a;
}

#wpforms-983 .wpforms-field-checkbox input[type="checkbox"]:checked::before {
    background-color: #fff;
    transform: scale(1);
}

#wpforms-983 .wpforms-field-checkbox input[type="checkbox"]:focus {
    outline: 2px solid #53782a;
    outline-offset: 2px;
}

/* Label vertikal zentriert neben der 30px-Checkbox ausrichten */
#wpforms-983 .wpforms-field-checkbox.checkbox ul li label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
#wpforms-983 .wpforms-field-checkbox input[type="checkbox"] {
    accent-color: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}
#wpforms-983 input[type="checkbox"]:checked::after{
  display: none !important;
}
#wpforms-983 .checkbox ul li{
  align-items: center;
}
#wpforms-983 .wpforms-field.wpforms-field-readonly textarea{
  opacity: 1 !important;
}
#wpforms-245 input::placeholder,
#wpforms-245 select::placeholder,
#wpforms-245 textarea::placeholder,
#wpforms-983 input::placeholder,
#wpforms-983 select::placeholder,
#wpforms-983 textarea::placeholder {
  color: oklch(0.13 0.01 157.37);
}

#wpforms-245 input:focus,
#wpforms-983 input:focus {
  outline: none;
  border-color: #53782a;
}

#wpforms-245 textarea,
#wpforms-983 .min-height textarea {
  resize: vertical;
  min-height: 13rem;
}
 
.fit-content textarea.wpforms-field-medium,
.fit-content textarea{
  height: auto !important;
  min-height: auto !important;
  field-sizing: content;
  resize: none !important;
} 
#wpforms-245 select,
#wpforms-983 select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2353782a' stroke-width='1.5'%3E%3Cpolyline points='2 4 6 8 10 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 0.875rem;
  padding-right: 3rem;
  cursor: pointer;
  max-width: 100%;
}

/* ===== Contact Tab (fixed right edge) ===== */
.contact-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0.75rem;
  background: #53782a;
  color: white;
  cursor: pointer;
  border: none;
  border-radius: 0.05rem 0 0 0.05rem;
  transition:
    background 250ms ease,
    transform 250ms ease;
}

.contact-tab:hover {
  background: #3f5d20;
  transform: translateY(-50%) translateX(-0.25rem);
}

.contact-tab-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.contact-tab-label {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1;
}

/* ===== Contact Modal ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.contact-modal-panel {
  position: relative;
  background: #faf9f7;
  width: 100%;
  max-width: 40rem;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 0.05rem;
}

.contact-modal-inner {
  padding: 3rem 2rem;
}

@media (min-width: 768px) {
  .contact-modal-inner {
    padding: 3.5rem 3.5rem;
  }
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: transparent;
  border: none;
  color: oklch(0.13 0.01 157.37);
  cursor: pointer;
  padding: 0.5rem;
  transition:
    color 200ms ease,
    transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-modal-close:hover {
  color: #53782a;
  transform: rotate(90deg);
}

body.contact-modal-open {
  overflow: hidden;
}

/* ===== Custom Select ===== */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
}

.custom-select-trigger[aria-expanded="true"] {
  border-color: #53782a;
}

.custom-select-value {
  flex: 1;
  color: oklch(0.13 0.01 157.37 / 0.4);
}

.custom-select.has-value .custom-select-value {
  color: oklch(0.13 0.01 157.37);
}

.custom-select-arrow {
  width: 0.875rem;
  height: 0.875rem;
  color: #53782a;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 250ms ease;
}

.custom-select-trigger[aria-expanded="true"] .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 10;
  background: white;
  border: 1px solid oklch(0.13 0.01 157.37 / 0.5);
  border-radius: 0.05rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  max-height: 18rem;
  overflow-y: auto;
}

.custom-select-options[hidden] {
  display: none;
}

.custom-select-option {
  padding: 0.75rem 1.25rem;
  font-size: var(--text-body);
  color: oklch(0.13 0.01 157.37);
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease;
}

.custom-select-option:hover,
.custom-select-option.is-active {
  background: #faf9f7;
  color: #53782a;
}

/* ===== Footer Social Icons ===== */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid oklch(0.13 0.01 157.37 / 0.5);
  border-radius: 0.05rem;
  color: oklch(0.13 0.01 157.37);
  transition:
    background 250ms ease,
    color 250ms ease,
    border-color 250ms ease;
}

.social-icon:hover {
  background: oklch(0.13 0.01 157.37);
  color: white;
  border-color: oklch(0.13 0.01 157.37);
}
/* New CSS */
.home .pt-12 {
  padding-top: 0;
}
.wp-block-lacasa-hero-video,
.wp-block-la-casa-fullwidth-image {
  margin-left: calc(-50vw + 50%);
  width: 100vw;
}
.wp-block-lacasa-hero-video {
  min-height: 700px;
}
.gap-16 {
  gap: 4rem; /* 64px */
}
.pb-0 {
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .md\:gap-24 {
    gap: 6rem; /* 96px */
  }
  .md\:mt-32 {
    margin-top: calc(var(--spacing) * 32);
  }
}

@media (min-width: 1024px) {
  .lg\:gap-32 {
    gap: 8rem; /* 128px */
  }
}
figcaption {
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-la-casa-gruen);
  margin-top: calc(var(--spacing) * 5) !important;
  color: #53782a;
}
@media (min-width: 1440px) {
  figcaption {
    font-size: 1.125rem;
  }
}
a:where(:not(.wp-element-button)) {
  text-decoration: none;
}
.underline {
  text-decoration-line: none !important;
}
@media (max-width: 1200px) and (min-width: 991px) {
  footer ul li,
  footer p {
    font-size: 1em;
  }
  .project-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }
}
@media (max-width: 991px) and (min-width: 767px) {
  .nav-links {
    gap: 15px;
    padding-right: 10px;
  }
  .nav-link {
    font-size: 1.05em;
  }
  .nav-cta {
    padding: 10px;
  }
  .logo {
    padding-left: 10px;
  }
  .logo img {
    max-width: 100px;
  }
  #footer-4 {
    grid-column-start: 2;
  }
  footer .grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }
}
@media (max-width: 991px) {
  .info-bar-partner .info-bar {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .info-bar-partner .info-bar .py-8 {
    padding-right: 0;
  }
}
@media (max-width: 782px) {
  .section-title {
    font-size: 1.875em !important;
  }
  .wp-block-columns {
    gap: calc(var(--spacing) * 0);
  }
  .mb-24 {
    margin-bottom: calc(var(--spacing) * 10);
  }
  :where(figure) {
    margin-bottom: 2em;
  }
}
@media (min-width: 992px) {
  nav .hidden {
    display: flex !important;
  }
}
@media (max-width: 991px) {
  body.menu-open #navbar {
    background-color: #f7f7f7 !important;
  }
  .nav-link::after {
    content: none !important;
  }
  .menu-overlay {
    overflow: scroll;
  }
  .nav-cta::after,
  .nav-links:after {
    content: none !important;
  }
  .nav-links {
    margin-bottom: 10px;
  }
  .nav-link {
    margin-bottom: calc(
      calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse))
    );
  }
  .nav-links {
    display: flex;
    align-items: left;
    flex-direction: column;
    align-items: start;
  }
  .nav-link:hover::after {
    opacity: 0;
    transform: translateY(0) rotate(-45deg);
  }
  .nav-links:hover .nav-link {
    opacity: 1 !important;
  }
  .nav-link:hover,
  a.nav-cta:hover {
    color: rgb(83, 120, 42) !important;
  }
  .menu-overlay .w-full {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    min-height: 800px;
  }
  .nav-links .nav-link,
  .nav-cta {
    font-size: var(--text-4xl);
    text-transform: none;
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
    font-family: var(--font-serif);
  }
  .nav-cta {
    background-color: transparent !important;
    color: black !important;
    padding: 0 !important;
  }
  .menu-open .invert-100 {
    --tw-invert: invert(0%) !important;
  }
  .menu-open .brightness-0 {
    --tw-brightness: brightness(100%) !important;
  }
  .nav-links .text-white {
    color: black;
  }
  nav .hidden {
    display: none !important;
  }
  .logo {
    padding-left: 10px;
  }
  #menu-toggle {
    margin-right: 10px;
    display: flex !important;
  }
  .info-bar-partner .info-bar {
    grid-template-columns: repeat(1, minmax(0px, 1fr));
  }
  footer .grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
}
@media (max-width: 500px) {
  footer .grid {
    grid-template-columns: repeat(1, minmax(0px, 1fr));
  }
  footer ul:not(#footer-5 ul) {
    column-count: 2;
  }
}
@media (max-width: 450px) {
  .projekt-block-450 {
    display: block;
  }
  .projekt-block-450 .text-right {
    text-align: left;
    margin-top: 15px;
  }
}
@media (max-width: 435px) {
  .wrap-435 {
    flex-wrap: wrap;
  }
  .single-partner .wp-block-gallery {
    grid-template-columns: repeat(1, minmax(0px, 1fr));
  }
}
@media (max-width: 350px) {
  footer ul:not(#footer-5 ul) {
    column-count: 1;
  }
}
#footer-1 img {
  margin-bottom: calc(var(--spacing) * 8);
}
#footer-1 p {
  font-size: var(--text-body);
  max-width: var(--container-xs);
}
#footer-4 p {
  --tw-space-y-reverse: 0;
  margin-block-start: calc(
    calc(var(--spacing) * 4) * var(--tw-space-y-reverse)
  );
  margin-block-end: calc(
    calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse))
  );
}
#footer-4 a,
main a {
  transition-property: color, background-color, border-color, outline-color,
    text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via,
    --tw-gradient-to;
  transition-timing-function: var(
    --tw-ease,
    var(--default-transition-timing-function)
  );
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
#footer-4 a:hover,
main a:hover {
  color: rgb(83, 120, 42);
}
.contact-modal-inner p {
  font-size: var(--text-body);
  line-height: 1.55;
  font-weight: 350;
  letter-spacing: 0em;
  font-style: normal;
  margin-top: 0;
  margin-bottom: calc(var(--spacing) * 10);
}
.contact-modal-inner .btn {
  margin-top: calc(var(--spacing) * 10);
}
.kontakt-link {
  margin-block-end: calc(
    calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse))
  );
}
.wp-block-table td {
  font-family: var(--font-sans) !important;
  border: none !important;
  padding: 0 !important;
  padding-bottom: calc(
    calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse))
  ) !important;
  font-size: var(--text-body);
  line-height: 1.55;
  letter-spacing: 0em;
  font-style: normal;
}
.wp-block-table tr td:last-child {
  text-align: right;
}
.max-w-sm {
  max-width: var(--container-sm);
}
.mb-12 {
  margin-bottom: calc(var(--spacing) * 12);
}
#wpforms-form-245 .wpforms-field-label,
#wpforms-form-983 .wpforms-field-label {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #53782a;
}
div.wpforms-container-full input,
div.wpforms-container-full select,
.wp-core-ui div.wpforms-container-full input,
.wp-core-ui div.wpforms-container-full select,
div.wpforms-container-full button[type="submit"] {
  height: auto !important;
}
.dsgvo input {
  width: fit-content !important;
  border: none !important;
  padding: 0 !important;
}
.dsgvo label {
  color: color-mix(in oklab, oklch(0.13 0.01 157.37) 70%, transparent) !important;
}
#wpforms-form-245 .wpforms-field,
#wpforms-form-983 .wpforms-field {
  margin-top: 0;
  padding: 0;
  margin-block-end: calc(
    calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse))
  );
}
.dsgvo a {
  text-decoration: underline;
}
#wpforms-245-field_1:has(option[value=""]:checked) ,
#wpforms-983-field_1:has(option[value=""]:checked) {
  color: oklch(0.13 0.01 157.37 / 0.4); /* grau */
}
.cmplz-close {
  display: none;
}
.cmplz-cookiebanner .cmplz-message {
  font-size: var(--text-body) !important;
  line-height: 1.55 !important;
  font-weight: 400;
}
.cmplz-cookiebanner .cmplz-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px;
  grid-column: span 3 !important;
  position: relative;
}
.cmplz-logo img {
  width: 120px !important;
  max-height: 100% !important;
  margin-bottom: calc(var(--spacing) * 6);
}
.cmplz-btn {
  padding: 1rem 1.5rem !important;
  height: auto !important;
}
.cmplz-title {
  font-size: 1.875rem !important;
  line-height: 1.2;
  font-family: var(--font-serif);
  font-weight: 400 !important;
}
.cmplz-cookiebanner {
  padding: 3.5rem 3.5rem !important;
}
.cmplz-documents {
  padding-top: calc(var(--spacing) * 6);
  justify-content: start !important;
}
.cmplz-documents a {
  font-size: var(--text-base) !important;
  line-height: var(--tw-leading, var(--text-base--line-height));
}
.cmplz-message {
  margin-bottom: calc(var(--spacing) * 10) !important;
}
@media (max-width: 650px) {
  .cmplz-cookiebanner {
    padding: 1.5rem 1.5rem !important;
  }
}
@media (max-width: 768px) {
  .cmplz-cookiebanner {
    width: calc(100vw - 2.5rem) !important;
  }
}
.lc-arrow {
  display: inline-block;
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82' fill='none' stroke='black' stroke-miterlimit='10' stroke-width='1.5'%3E%3Cline y1='11.41' x2='23.14' y2='11.41'/%3E%3Cpath d='M23.14,11.41c-6.3,0-11.41-5.11-11.41-11.41'/%3E%3Cpath d='M11.73,22.82c0-6.3,5.11-11.41,11.41-11.41'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82' fill='none' stroke='black' stroke-miterlimit='10' stroke-width='1.5'%3E%3Cline y1='11.41' x2='23.14' y2='11.41'/%3E%3Cpath d='M23.14,11.41c-6.3,0-11.41-5.11-11.41-11.41'/%3E%3Cpath d='M11.73,22.82c0-6.3,5.11-11.41,11.41-11.41'/%3E%3C/svg%3E")
    no-repeat center / contain;
  transition: transform 0.3s ease;
}
.lc-arrow--down {
  transform: rotate(90deg);
}
.wp-block-la-casa-text-media h2,
.text-slider-editor-text h2 {
  line-height: 0.95;
}

.wp-block-la-casa-text-media h2::before,
.text-slider-editor-text h2:before,
h2.arrow-half:before,
h2.arrow-full:before {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.18em;
  vertical-align: 0.02em;
  background-color: #6f8f2f;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82'%3E%3Cpath d='M0 11.41h23.14M23.14 11.41C16.84 11.41 11.73 6.3 11.73 0M11.73 22.82c0-6.3 5.11-11.41 11.41-11.41' stroke='black' stroke-width='1.5' fill='none'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.14 22.82'%3E%3Cpath d='M0 11.41h23.14M23.14 11.41C16.84 11.41 11.73 6.3 11.73 0M11.73 22.82c0-6.3 5.11-11.41 11.41-11.41' stroke='black' stroke-width='1.5' fill='none'/%3E%3C/svg%3E")
    no-repeat center / contain;
}
.img-slider-track {
  position: relative;
}

.img-slider-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.img-slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.img-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lc-arrow--left {
  transform: rotate(180deg);
}
h3.section-title mark,
h2.section-title mark,
h2.section-title-lg mark {
  background: none;
}
/* FAQ-Variante: down arrow → up arrow beim Öffnen */
.leistung[open] .leistung-icon.lc-arrow--down {
  transform: rotate(-90deg);
}

/* ===== FAQ (Box-Variante: full border um die Akkordeon-Liste) ===== */
.faq {
  border: 1px solid oklch(0.13 0.01 157.37);
}

.faq .leistung {
  border-bottom: 1px solid oklch(0.13 0.01 157.37);
}

.faq .leistung:last-child {
  border-bottom: none;
}

.faq .leistung-head {
  padding: 1.75rem 1.5rem;
}

@media (min-width: 768px) {
  .faq .leistung-head {
    padding: 2rem 2.5rem;
  }
}

.faq .leistung-head h3,
.leistungen .leistung-head h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .faq .leistung-head h3,
  .leistungen .leistung-head h3 {
    font-size: 2.25rem;
    line-height: 1.15;
  }
}

@media (min-width: 1440px) {
  .faq .leistung-head h3,
  .leistungen .leistung-head h3 {
    font-size: 2.5rem;
  }
}

.faq .leistung-body {
  padding: 0 1.5rem 1.75rem;
  max-width: 56rem;
}

@media (min-width: 768px) {
  .faq .leistung-body {
    padding: 0 2.5rem 2rem;
  }
}

.leistung-body {
  padding: 0 0 1.5rem 0;
  max-width: 42rem;
}
.sub-title {
  font-size: 1.875rem;
  line-height: 1.2;
  font-family: var(--font-serif);
  font-weight: 400;
}
.arrow-half,
.arrow-full {
  font-size: 3.75rem;
  line-height: 1.05;
}
.arrow-half {
  max-width: var(--container-3xl);
}
.cta-underline {
  position: relative;
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: currentcolor;
  text-decoration-thickness: auto;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: auto;
}
.mb-16 {
  margin-bottom: calc(var(--spacing) * 16);
}
.sub-title-lg {
  font-size: 2.5rem;
  line-height: 1.1;
  font-family: var(--font-serif);
  font-weight: 400;
}
 
@media (min-width: 768px) {
  .sub-title-lg {
    font-size: 2.25rem;
    line-height: 1.15;
  }
}
@media (min-width: 1440px) {
  .sub-title-lg {
    font-size: 2.5rem;
    line-height: 1.1;
  }
}
.event-accordion ul {
  list-style: disc;
  padding-left: calc(var(--spacing) * 5);
}
.event-accordion ul li {
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 350;
  letter-spacing: 0em;
  font-style: normal;
  margin-block-start: calc(
    calc(var(--spacing) * 2) * var(--tw-space-y-reverse)
  );
  margin-block-end: calc(
    calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse))
  );
}
.lacasa-tag--sm {
  width: 6.5rem;
  height: 6.5rem;
}
@keyframes hero-slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
.hero-zoom {
  animation: hero-slow-zoom 18s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}
@media (max-width: 1400px) {
  .nav-links.gap-10 {
    gap: 10px;
  }
}
@media (max-width: 1200px) {
  .projekt .lacasa-tag,
  .event .lacasa-tag {
    left: calc(1 / 1 * 85%) !important;
  }
}
@media (max-width: 600px) {
  .projekt .lacasa-tag,
   .event .lacasa-tag  {
    display: none !important;
  }
  #partner .flex-1 {
    flex: calc(50% - 15px);
  }
}
@media (max-width: 500px) {
  .left-0.right-0 .lacasa-tag {
    width: 6em;
  }
}
@media (max-width: 380px) {
  .left-0.right-0 .lacasa-tag {
    display: none;
  }
}
.events-grid {
  padding-left: 40px;
}
@media (max-width: 580px) {
  .events-grid .lacasa-tag {
    width: 5em !important;
    display: none !important;
  }
  .events-grid{
    padding-left: 0;
  }
}
@media (max-width: 510px) {
  .events-grid .img-tint {
    height: 350px;
    width: 100%;
  }
}
.pt-0 {
  padding-top: calc(var(--spacing) * 0) !important;
}
.text-center {
  text-align: center;
}
.page-template-page-legal #navbar {
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.page-template-page-legal .nav-link {
  color: oklch(0.13 0.01 157.37);
}
.page-template-page-legal .logo img {
  opacity: 1;
  filter: brightness(100%) invert(0) !important;
}
.cmplz-document {
  max-width: 100% !important;
}
#cmplz-document h2 {
  text-align: center !important;
}
#cmplz-document p,
#cmplz-document ul li {
  font-size: var(--text-body) !important;
}
#cmplz-document h2 {
  font-size: 2.2em !important;
}
.event-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.event-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.event-popup-box {
    background: #ffffff;
     max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3.5rem 3.5rem;
    position: relative;
 
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.event-popup-overlay.is-active .event-popup-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.event-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.event-popup-close:hover {
    color: #000;
    transform: rotate(90deg);
}

.event-popup-title {
    margin: 0 0 18px 0;
    font-size: 22px;
    font-weight: 600;
    padding-right: 30px;
}

/* Body-Scroll sperren, solange Popup offen ist */
body.event-popup-open {
    overflow: hidden;
}

/* Sanfte Readonly-Optik fürs vorbefüllte Feld */
.wpforms-field.wpf-readonly-field input[readonly] {
    background-color: #f3f3f3;
    color: #666;
    cursor: not-allowed;
}

/* Mobile Anpassung */
@media (max-width: 480px) {
    .event-popup-box {
        padding: 24px 18px;
    }
    .event-popup-title {
        font-size: 18px;
    }
}
.event-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;   /* NEU: blockiert Klicks im geschlossenen Zustand */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.event-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;   /* NEU: Klicks wieder erlauben, sobald Popup offen ist */
}
.btn-anmelden{
  margin-top: 40px;
}
html.event-popup-open {
    overflow: hidden;
}
.rezensionen-slider {
  touch-action: pan-y;
}
/* Spalten = Rezensionen pro Slide (rezensionen.js liest die Spaltenzahl aus) */
.rezensionen-liste {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .rezensionen-liste {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) {
  .rezensionen-liste {
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
  }
}
/* Abstand zu Zaehler und Pfeilen */
.rezensionen-nav {
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .rezensionen-nav {
    margin-top: 4rem;
  }
}
/* Zitat: immer 5 Zeilen hoch, laengere Texte enden mit … */
.rezension-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  min-height: 5lh;
}
.rezension-text p{
  font-size: inherit;
}
/* Grosses gruenes Anfuehrungszeichen: oben angeschnitten, links leicht ausserhalb */
.rezension {
  position: relative;
  margin: 0;
  clip-path: inset(0.5rem 0 0 -3rem);
}
.rezension::before {
  content: "\201C";
  position: absolute;
  top: calc(-0.265em + 0.5rem);
  left: -1.5rem;
  z-index: 0;
  font-family: var(--font-serif);
  font-size: 16rem;
  line-height: 1;
  color: #53782a;
  opacity: 0.18;
  pointer-events: none;
}
.rezension > * {
  position: relative;
  z-index: 1;
}
 @media (max-width: 767px) {
  .contact-tab {
    padding: 0.75rem;
  }
  .contact-tab-label {
    display: none;
  }
  .event-popup-box .lc-arrow{
   width: 1.5rem;
  height: 1.5rem;
  }
}
footer h3{
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
@media(max-width: 1024px){
  .partner-sticky{
    display: none;
  }
  .partner-padding.pt-32{
    padding-top: calc(var(--spacing) * 12) !important
  }
}
.partner-logo{
  padding-bottom: 0 !important;
  padding-left: 0 !important;
}
.wp-block-table td{
  vertical-align: top;
}
@media(max-width: 440px){
  .cmplz-cookiebanner .cmplz-links ul{
    display: block !important;
  }
}