/*
Theme Name: Pasinger Moschee
Theme URI: https://pasingermoschee.com/
Author: Hacı Bayram Moschee München
Description: Statisches WordPress-Theme für die Hacı Bayram Moschee München mit Hero-Video, Wissenswertes-Karten, Side-Drawer-Menü, Footer, Impressum, Datenschutz und Mitglied-werden-Seite.
Version: 1.0.115
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: pasinger-moschee
*/

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: hidden;
}

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

a,
button,
input,
textarea,
select,
summary,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

body {
  background: #000000;
}

body.menu-open,
body.popup-open,
body.event-lightbox-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  touch-action: none;
}

.page-wrapper,
.page-wrapper * {
  margin-top: 0;
}

.page-wrapper {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal;

  background-color: #14532d;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.18) 0px,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px,
      transparent 42px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.18) 0px,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px,
      transparent 42px
    ),
    linear-gradient(
      180deg,
      #14532d 0%,
      #166534 58%,
      #0f3f25 100%
    );
}

.wp-site-blocks,
.entry-content,
.wp-block-group,
.wp-block-html {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.wp-block-html p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Header */

.site-header {
  width: 100%;
  margin: 0 !important;
  padding: 28px 48px 28px 0;
  background: transparent;
  border-bottom: 2px solid #000000;
  font-family: 'Manrope', Arial, sans-serif;
  display: block;
  position: relative;
  z-index: 3000;
}

.header-inner {
  width: 100%;
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding-left: 36px;
  margin: 0 !important;
  flex-shrink: 0;
  position: relative;
  z-index: 3001;
}

.logo-img {
  height: 78px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 !important;
  padding: 0;
}

/* Desktop Navigation */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0 0 0 auto !important;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.75;
}

.burger-button,
.menu-backdrop {
  display: none;
}

/* Hero */

.hero {
  width: 100%;
  height: 100vh;
  min-height: 520px;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #000000;
  overflow: hidden;
  position: relative;
  display: block;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  padding: 0;
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin: 0 !important;
}

.hero-title {
  color: #ffffff;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 !important;
  padding: 0;
}

.green-slash {
  color: #14532d;
  -webkit-text-stroke: 0.5px #ffffff;
  text-stroke: 0.5px #ffffff;
}

/* Wissenswertes Seite */

.knowledge-page {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  color: #ffffff;
  font-family: Arial, sans-serif;
  min-height: 620px;
}

.knowledge-hero {
  width: 100%;
  margin: 0 !important;
  padding: 82px 24px 34px;
  text-align: center;
}

.knowledge-hero-inner {
  width: 100%;
  max-width: 880px;
  margin: 0 auto !important;
  padding: 0;
}

.knowledge-kicker {
  display: inline-block;
  margin: 0 0 16px 0 !important;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-hero h1 {
  margin: 0 0 18px 0 !important;
  padding: 0;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
}

.knowledge-hero p {
  max-width: 680px;
  margin: 0 auto !important;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.8;
}

.knowledge-section {
  width: 100%;
  margin: 0 !important;
  padding: 30px 24px 92px;
}

.knowledge-grid {
  width: 100%;
  max-width: 980px;
  margin: 0 auto !important;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Sehr transparente Glass Item Cards */

.info-card {
  width: 100%;
  min-height: 260px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
  font: inherit;
  color: inherit;
  text-align: left;
}

.info-card-inner {
  width: 100%;
  min-height: 260px;
  display: block;
  position: relative;
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease;
}

.info-card.is-flipped .info-card-inner {
  transform: rotateY(180deg);
}

.info-card-front,
.info-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 260px;
  padding: 28px;
  border-radius: 26px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055) 0%,
      rgba(255, 255, 255, 0.025) 52%,
      rgba(255, 255, 255, 0.012) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045);

  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.info-card-front::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.035) 32%,
      transparent 62%
    );
  opacity: 0.75;
}

.info-card-front::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 155px;
  height: 155px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  filter: blur(4px);
  pointer-events: none;
}

.info-card-back {
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotateY(180deg);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.025) 52%,
      rgba(255, 255, 255, 0.012) 100%
    );
}

.info-card-back span {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.36);
}

.info-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 0 24px 0 !important;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-card-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.info-card-title {
  display: block;
  margin: 0 0 10px 0 !important;
  padding: 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.46);
}

.info-card-subtitle {
  display: block;
  margin: -2px 0 14px 0 !important;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.info-card-text {
  display: -webkit-box;
  margin: 0 !important;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.62;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

.info-card-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: auto 0 0 0 !important;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #14532d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.80);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.info-card:hover .info-card-inner {
  transform: translateY(-6px);
  filter: brightness(1.08);
}

.info-card:hover .info-card-front,
.info-card:hover .info-card-back {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075) 0%,
      rgba(255, 255, 255, 0.035) 52%,
      rgba(255, 255, 255, 0.018) 100%
    );
  border-color: rgba(255, 255, 255, 0.26);
}

.info-card:hover .info-card-hint {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
  color: #0f3f25;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.info-card.is-flipped:hover .info-card-inner {
  transform: rotateY(180deg);
}

/* Popup */

.info-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.info-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.info-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.info-popup-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(82vh, 760px);
  margin: 0 !important;
  padding: 42px;
  border-radius: 22px;
  background: #14532d;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #0f2418;
  font-family: Arial, sans-serif;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
  overflow-y: auto;
  transform: translateY(18px) scale(0.96);
  transition: transform 0.28s ease;
}

.info-popup.is-visible .info-popup-dialog {
  transform: translateY(0) scale(1);
}

.info-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  margin: 0 !important;
  padding: 0;
  border: 1px solid rgba(20, 83, 45, 0.18);
  border-radius: 999px;
  background: rgba(20, 83, 45, 0.08);
  color: #14532d;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.info-popup-close:hover {
  background: rgba(20, 83, 45, 0.14);
}

.info-popup-content {
  display: none;
  margin: 0 !important;
  padding: 0;
}

.info-popup-content.is-active {
  display: block;
}

.info-popup-kicker {
  display: inline-block;
  margin: 0 0 16px 0 !important;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(20, 83, 45, 0.08);
  color: #14532d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-popup-content h2 {
  margin: 0 44px 18px 0 !important;
  padding: 0;
  color: #0f2418;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
}

.info-popup-content p {
  margin: 0 0 16px 0 !important;
  padding: 0;
  color: rgba(15, 36, 24, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.info-popup-content p:last-child {
  margin-bottom: 0 !important;
}

/* Footer */

.site-footer {
  width: 100%;
  margin: 0 !important;
  padding: 52px 32px 24px;
  background: transparent;
  border-top: 2px solid #000000;
  font-family: Arial, sans-serif;
  color: #ffffff;
  display: block;
}

.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.4fr;
  gap: 32px;
  align-items: flex-start;
}

.footer-column {
  min-width: 0;
  margin: 0 !important;
  padding: 0;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 0 0 20px 0 !important;
  padding: 0;
  max-width: 100%;
}

.footer-logo-img {
  height: 76px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 !important;
  padding: 0;
}

.footer-column h3 {
  margin: 0 0 18px 0 !important;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-column p {
  margin: 0 0 10px 0 !important;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.footer-about p {
  margin: 0 !important;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 !important;
  padding: 0;
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  margin: 0 !important;
  padding: 0;
}

.map-box {
  width: 100%;
  height: 220px;
  margin: 0 !important;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  margin: 36px auto 0 !important;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 0;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin: 0 !important;
  padding: 0;
}

/* Nach-oben-Pfeil */

.scroll-top-button {
  position: fixed;
  right: 26px;
  bottom: 42px;
  width: 46px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  color: #ffffff;
  cursor: pointer;
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.scroll-top-button span {
  position: relative;
  width: 24px;
  height: 28px;
  display: block;
}

.scroll-top-button span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 15px;
  height: 15px;
  border-top: 4px solid #14532d;
  border-left: 4px solid #14532d;
  border-radius: 2px 0 0 0;
  transform: translateX(-50%) rotate(45deg);
}

.scroll-top-button span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 20px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.22) 100%
    );
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-3px) scale(1);
}

.scroll-top-button:active {
  transform: translateY(-1px) scale(0.96);
}

/* Tablet */

@media (max-width: 1024px) {
  .site-header {
    padding: 28px 28px 28px 0;
  }

  .logo-link {
    padding-left: 28px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .knowledge-grid {
    max-width: 860px;
    gap: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-location {
    grid-column: span 2;
  }

  .map-box {
    height: 260px;
  }
}

/* Mobile Side-Drawer */

@media (max-width: 768px) {
  .site-header {
    padding: 20px 18px;
    position: relative;
    z-index: 3000;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: static;
  }

  .logo-link {
    padding-left: 0;
    z-index: 3001;
  }

  .logo-img {
    height: 66px;
  }

  .burger-button {
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 12px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 9500;
  }

  .burger-button span {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 999px;
    display: block;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .burger-button.is-active {
    z-index: 9500;
  }

  .burger-button.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .burger-button.is-active span:nth-child(2) {
    opacity: 0;
  }

  .burger-button.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
    z-index: 8500;
  }

  .menu-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(82vw, 340px);
    height: 100vh;
    height: 100dvh;
    margin: 0 !important;
    padding: 104px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background-color: #0f3f25;
    background-image:
      repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.14) 0px,
        rgba(255, 255, 255, 0.14) 1px,
        transparent 1px,
        transparent 42px
      ),
      repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.14) 0px,
        rgba(255, 255, 255, 0.14) 1px,
        transparent 1px,
        transparent 42px
      ),
      linear-gradient(
        180deg,
        #14532d 0%,
        #0f3f25 55%,
        #06140d 100%
      );
    border-radius: 0;
    box-shadow: -18px 0 36px rgba(0, 0, 0, 0.45);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 9000;
  }

  .main-nav.is-open {
    pointer-events: auto;
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    padding: 18px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    height: 70vh;
    min-height: 420px;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 76px);
    line-height: 1.05;
  }

  .knowledge-hero {
    padding: 64px 20px 28px;
  }

  .knowledge-hero p {
    font-size: 15px;
  }

  .knowledge-section {
    padding: 22px 16px 70px;
  }

  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .info-card,
  .info-card-inner,
  .info-card-front,
  .info-card-back {
    min-height: 245px;
  }

  .info-card-front,
  .info-card-back {
    padding: 22px;
    border-radius: 22px;
  }

  .info-card-label {
    margin-bottom: 20px !important;
    padding: 7px 10px;
    font-size: 10px;
  }

  .info-card-title {
    font-size: 19px;
  }

  .info-card-subtitle {
    font-size: 13px;
  }

  .info-card-text {
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 4;
  }

  .info-card-hint {
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .info-card-back span {
    font-size: 12px;
  }

  .info-popup {
    padding: 18px;
  }

  .info-popup-dialog {
    padding: 34px 26px 28px;
    border-radius: 20px;
  }

  .info-popup-content h2 {
    margin-right: 42px !important;
  }

  .site-footer {
    padding: 42px 22px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-location {
    grid-column: auto;
  }

  .footer-logo-link {
    display: none !important;
  }

  .footer-column h3 {
    font-size: 14px;
    margin-bottom: 14px !important;
  }

  .footer-column p,
  .footer-link-list a {
    font-size: 14px;
  }

  .map-box {
    height: 240px;
    border-radius: 12px;
  }

  .footer-bottom {
    margin-top: 32px !important;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
    width: 100%;
  }

  .scroll-top-button {
    right: 18px;
    bottom: 34px;
    width: 44px;
    height: 52px;
    border-radius: 17px;
    z-index: 7000;
  }

  .scroll-top-button span {
    width: 22px;
    height: 26px;
  }

  .scroll-top-button span::before {
    top: 6px;
    width: 14px;
    height: 14px;
    border-top-width: 4px;
    border-left-width: 4px;
  }

  .scroll-top-button span::after {
    top: 9px;
    width: 4px;
    height: 18px;
  }
}

/* Kleine Smartphones */

@media (max-width: 480px) {
  .site-header {
    padding: 18px 16px;
  }

  .logo-img {
    height: 58px;
  }

  .burger-button {
    width: 46px;
    height: 46px;
    border: 2px solid #ffffff;
    border-radius: 12px;
  }

  .burger-button.is-active {
    z-index: 9500;
  }

  .burger-button span {
    width: 26px;
  }

  .main-nav {
    width: min(86vw, 310px);
    padding: 94px 24px 24px;
    z-index: 9000;
  }

  .main-nav a {
    font-size: 14px;
    padding: 17px 0;
  }

  .hero {
    height: 62vh;
    min-height: 360px;
  }

  .hero-overlay {
    padding: 0 18px;
  }

  .hero-title {
    font-size: clamp(38px, 15vw, 62px);
  }

  .knowledge-hero {
    padding: 52px 18px 24px;
  }

  .knowledge-kicker {
    font-size: 10px;
    padding: 7px 12px;
  }

  .knowledge-hero h1 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .knowledge-section {
    padding: 18px 14px 58px;
  }

  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .info-card,
  .info-card-inner,
  .info-card-front,
  .info-card-back {
    min-height: 235px;
  }

  .info-card-front,
  .info-card-back {
    padding: 18px;
    border-radius: 20px;
  }

  .info-card-label {
    margin-bottom: 16px !important;
    padding: 6px 8px;
    font-size: 9px;
  }

  .info-card-title {
    font-size: 17px;
  }

  .info-card-subtitle {
    font-size: 12px;
    margin-bottom: 8px !important;
  }

  .info-card-text {
    font-size: 12px;
    line-height: 1.5;
    -webkit-line-clamp: 4;
  }

  .info-card-hint {
    padding: 7px 9px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .info-popup-dialog {
    padding: 32px 22px 26px;
  }

  .info-popup-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .info-popup-content h2 {
    font-size: 28px;
  }

  .info-popup-content p {
    font-size: 15px;
  }

  .site-footer {
    padding: 36px 18px 22px;
  }

  .map-box {
    height: 220px;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* Sehr kleine Smartphones */

@media (max-width: 379px) {
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .info-card,
  .info-card-inner,
  .info-card-front,
  .info-card-back {
    min-height: 230px;
  }

  .info-card-front,
  .info-card-back {
    padding: 24px;
  }

  .info-card-title {
    font-size: 20px;
  }

  .info-card-text {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .info-card-hint {
    font-size: 10px;
  }
}

/* WordPress Theme Ergänzungen */
body {
  margin: 0;
}

body.admin-bar .main-nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .main-nav {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

.main-nav a[aria-current="page"] {
  opacity: 0.72;
}

.site-main-content {
  width: 100%;
}

/* Rechtliche Seiten */
.legal-page-surface {
  min-height: 100vh;
}

.impressum-section {
  width: 100%;
  margin: 0 !important;
  padding: 72px 24px 88px;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.impressum-inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto !important;
  padding: 0;
}

.impressum-header {
  text-align: center;
  margin: 0 0 34px 0 !important;
  padding: 0;
}

.impressum-kicker {
  display: inline-block;
  margin: 0 0 16px 0 !important;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.impressum-header h1 {
  margin: 0 0 14px 0 !important;
  padding: 0;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(58px, 8vw, 104px);
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
}

.impressum-header p {
  margin: 0 auto !important;
  padding: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.impressum-card {
  margin: 0 !important;
  padding: 42px;
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.095) 0%,
      rgba(255, 255, 255, 0.048) 55%,
      rgba(255, 255, 255, 0.022) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.impressum-block {
  margin: 0 0 34px 0 !important;
  padding: 0 0 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.impressum-block:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0;
  border-bottom: 0;
}

.impressum-block h2 {
  margin: 0 0 14px 0 !important;
  padding: 0;
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.impressum-block p,
.impressum-block li {
  margin: 0 0 14px 0 !important;
  padding: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.8;
}

.impressum-block p:last-child {
  margin-bottom: 0 !important;
}

.impressum-block a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Wissenswertes Popup Inhaltsformatierung */
.info-popup-content h3 {
  margin: 26px 0 10px 0 !important;
  padding: 0;
  color: #14532d;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.info-popup-content ul,
.info-popup-content ol {
  margin: 0 0 18px 22px !important;
  padding: 0;
  color: rgba(15, 36, 24, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.info-popup-content li {
  margin: 0 0 7px 0 !important;
  padding: 0;
}

/* Mitglied werden / Aufbau-Seite */
.member-page {
  min-height: 100vh;
}

.member-hero {
  width: 100%;
  min-height: 620px;
  margin: 0 !important;
  padding: 88px 24px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: Arial, sans-serif;
  text-align: center;
}

.member-content {
  width: 100%;
  max-width: 760px;
  margin: 0 auto !important;
  padding: 46px 36px;
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 255, 255, 0.045) 55%,
      rgba(255, 255, 255, 0.018) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.construction-illustration {
  width: 172px;
  height: 172px;
  margin: 0 auto 24px !important;
  padding: 0;
}

.construction-illustration svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
}

.construction-sun {
  fill: rgba(255, 255, 255, 0.18);
}

.construction-ground,
.stickman-line,
.shovel-handle {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 7;
  stroke-linecap: round;
}

.stickman-head {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 7;
}

.shovel-blade {
  fill: rgba(255, 255, 255, 0.22);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 6;
  stroke-linejoin: round;
}

.member-kicker {
  display: inline-block;
  margin: 0 0 18px 0 !important;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-content h1 {
  margin: 0 0 18px 0 !important;
  padding: 0;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
}

.member-content p {
  max-width: 610px;
  margin: 0 auto !important;
  padding: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.8;
}

/* Generische Inhaltsseiten */
.generic-page {
  width: 100%;
  margin: 0 !important;
  padding: 76px 24px 92px;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.generic-page-inner {
  width: 100%;
  max-width: 880px;
  margin: 0 auto !important;
  padding: 42px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.generic-page-inner h1 {
  margin: 0 0 18px 0 !important;
  color: #ffffff;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.1;
}

.generic-page-inner p,
.generic-page-inner li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .impressum-section {
    padding: 58px 18px 70px;
  }

  .impressum-card,
  .member-content,
  .generic-page-inner {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .impressum-block h2 {
    font-size: 19px;
  }

  .impressum-block p,
  .impressum-block li {
    font-size: 15px;
  }

  .member-hero {
    min-height: 560px;
    padding: 64px 18px 72px;
  }

  .construction-illustration {
    width: 140px;
    height: 140px;
  }
}

/*  STARTSEITE – MOBILE HERO / FOOTER-HINWEIS  */

.footer-more-hint {
  display: none;
}

@keyframes footerHintFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .home .hero {
    height: 78vh;
    min-height: 560px;
  }

  .home .site-footer {
    padding-top: 34px;
  }

  .home .footer-inner {
    gap: 24px;
  }

  .home .footer-about {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .home .footer-about p {
    margin-bottom: 0 !important;
  }

  .home .footer-more-hint {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
  }

  .home .footer-more-hint-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex: 0 0 18px;
    animation: footerHintFloat 1.8s ease-in-out infinite;
  }

  .home .footer-more-hint-icon::before,
  .home .footer-more-hint-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
  }

  .home .footer-more-hint-icon::before {
    width: 11px;
    height: 11px;
    border-right: 3px solid rgba(255, 255, 255, 0.92);
    border-bottom: 3px solid rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -48%) rotate(45deg);
    border-radius: 2px;
  }

  .home .footer-more-hint-icon::after {
    width: 3px;
    height: 13px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    transform: translate(-50%, -78%);
  }

  .home .footer-more-hint-text {
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.075em;
    text-transform: uppercase;
  }

  .home .footer-links {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .home .hero {
    height: 74vh;
    min-height: 520px;
  }

  .home .footer-links {
    margin-top: 26px;
  }

  .home .footer-more-hint {
    margin-top: 6px;
  }

  .home .footer-more-hint-text {
    font-size: 9px;
  }
}

/*  LANDINGPAGE – VIDEO-STARTSEITE  */

.landing-page-wrapper {
  background: #000000;
  overflow: visible;
}

.landing-hero {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
  isolation: isolate;
}

.landing-hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  padding: 0;
  border: 0;
}

.landing-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.06) 32%,
      rgba(0, 0, 0, 0.16) 58%,
      rgba(0, 0, 0, 0.62) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.50) 0%,
      rgba(0, 0, 0, 0.16) 46%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  min-height: 112px;
  padding: 28px 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.landing-logo-link,
.landing-burger-button {
  pointer-events: auto;
}

.landing-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 0 !important;
  padding: 0;
  position: relative;
  z-index: 9501;
}

.landing-logo-img {
  height: 82px;
  width: auto;
  max-width: min(42vw, 330px);
  display: block;
  margin: 0 !important;
  padding: 0;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.home .landing-header .burger-button,
.landing-burger-button {
  display: flex;
  position: relative;
  z-index: 9502;
  width: 58px;
  height: 58px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(67, 59, 50, 0.72);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home .landing-header .burger-button span,
.landing-burger-button span {
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
}

.home .landing-header .burger-button.is-active span:nth-child(1),
.landing-burger-button.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.home .landing-header .burger-button.is-active span:nth-child(2),
.landing-burger-button.is-active span:nth-child(2) {
  opacity: 0;
}

.home .landing-header .burger-button.is-active span:nth-child(3),
.landing-burger-button.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.home .landing-header .menu-backdrop,
.landing-menu-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.home .landing-header .menu-backdrop.is-visible,
.landing-menu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home .landing-header .main-nav,
.landing-main-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(82vw, 340px);
  height: 100vh;
  height: 100dvh;
  margin: 0 !important;
  padding: 112px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  background-color: #0f3f25;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.14) 0px,
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1px,
      transparent 42px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.14) 0px,
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1px,
      transparent 42px
    ),
    linear-gradient(
      180deg,
      #14532d 0%,
      #0f3f25 55%,
      #06140d 100%
    );
  border-radius: 0;
  box-shadow: -18px 0 36px rgba(0, 0, 0, 0.45);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 9000;
}

.home .landing-header .main-nav.is-open,
.landing-main-nav.is-open {
  pointer-events: auto;
  transform: translateX(0);
}

.home .landing-header .main-nav a,
.landing-main-nav a {
  width: 100%;
  padding: 18px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.home .landing-header .main-nav a:last-child,
.landing-main-nav a:last-child {
  border-bottom: 0;
}

.landing-title-wrap {
  position: absolute;
  left: clamp(24px, 7vw, 86px);
  right: 24px;
  bottom: clamp(44px, 9vh, 96px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(50px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.98;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.58);
}

.landing-title-line {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  position: relative;
}

.landing-title-line::after {
  width: 2px;
  height: 0.82em;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(0.08em);
}

.landing-title-line-one {
  animation: landingTypeReveal 1.35s steps(14, end) 0.25s forwards;
}

.landing-title-line-two {
  animation: landingTypeReveal 1.45s steps(14, end) 1.6s forwards;
}

.landing-title-line-two::after {
  animation:
    landingCaretBlink 0.75s step-end infinite,
    landingCaretHide 0.1s linear 3.25s forwards;
}

@keyframes landingTypeReveal {
  0% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes landingCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes landingCaretHide {
  to {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .landing-hero {
    min-height: 100svh;
  }

  .landing-header {
    min-height: 96px;
    padding: 22px 16px 0;
    align-items: flex-start;
  }

  .landing-logo-img {
    height: 72px;
    max-width: 56vw;
  }

  .home .landing-header .burger-button,
  .landing-burger-button {
    width: 54px;
    height: 54px;
  }

  .landing-title-wrap {
    left: 18px;
    right: 18px;
    font-size: clamp(44px, 14vw, 76px);
    line-height: 1.02;
  }
}

@media (max-width: 480px) {
  .landing-header {
    padding: 20px 14px 0;
  }

  .landing-logo-img {
    height: 64px;
    max-width: 58vw;
  }

  .home .landing-header .burger-button,
  .landing-burger-button {
    width: 50px;
    height: 50px;
  }

  .home .landing-header .burger-button span,
  .landing-burger-button span {
    width: 23px;
  }

  .landing-title-wrap {
    font-size: clamp(42px, 14.5vw, 68px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-title-line,
  .landing-title-line-one,
  .landing-title-line-two {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    animation: none !important;
  }

  .landing-title-line::after {
    display: none;
  }
}

/*  LANDINGPAGE – MOBILE FEINSCHLIFF  */

/* Kein blinkender Cursor bei der Schreibanimation */
.landing-title-line::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

@media (max-width: 768px) {
  /* Burger-Button als milky glass statt braunem Kreis */
  .home .landing-header .burger-button,
  .landing-burger-button {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.12) 48%,
        rgba(255, 255, 255, 0.07) 100%
      ) !important;
    border: 1px solid rgba(255, 255, 255, 0.46) !important;
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      inset 0 -1px 0 rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  }

  .home .landing-header .burger-button span,
  .landing-burger-button span {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
  }

  /* Willkommen-Text 20px weiter nach oben */
  .landing-title-wrap {
    bottom: calc(44px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 480px) {
  .landing-title-wrap {
    bottom: calc(42px + env(safe-area-inset-bottom)) !important;
  }
}

/*  LANDINGPAGE – MOBILE SIDEBAR FIX  */

@media (max-width: 768px) {

  .home .landing-logo-link,
  .home .landing-logo-img {
    z-index: 9101;
  }

  .home .menu-backdrop {
    z-index: 9200;
  }

  .home .main-nav {
    z-index: 9400;
    font-family: 'Manrope', Arial, sans-serif;
  }

  .home .main-nav.is-open {
    z-index: 9400;
  }

  .home .burger-button {
    z-index: 9600;
  }

  .home .burger-button.is-active {
    z-index: 9600;
  }

  .home .main-nav a {
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.075em;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .home .main-nav a {
    font-size: 13px;
    letter-spacing: 0.07em;
  }
}

/*  LANDINGPAGE – MOBILE FEINSCHLIFF  */

.home .landing-hero-title,
.home .landing-hero-title *,
.home .landing-typewriter,
.home .landing-typewriter * {
  overflow: visible;
  text-overflow: initial;
}

.home .landing-hero-title,
.home .landing-typewriter {
  padding-top: 12px;
  padding-bottom: 14px;
}

@media (max-width: 768px) {

  .home .landing-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
    pointer-events: none;
  }

  .home .landing-burger,
  .home .burger-button {
    margin-top: 6px;
  }

  .home .landing-hero-title,
  .home .landing-typewriter {
    margin-bottom: -10px;
  }
}

@media (max-width: 480px) {
  .home .landing-burger,
  .home .burger-button {
    margin-top: 8px;
  }

  .home .landing-hero-title,
  .home .landing-typewriter {
    margin-bottom: -12px;
  }
}

/*  LANDINGPAGE – TEXT CLIPPING FIX  */

.home .landing-hero-content,
.home .landing-hero-text,
.home .landing-hero-title,
.home .landing-typewriter,
.home .landing-typewriter-text,
.home .landing-typewriter-line {
  overflow: visible !important;
  contain: none !important;
  clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.home .landing-hero-title,
.home .landing-typewriter {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  white-space: normal !important;
  line-height: 1.32 !important;
  padding: 24px 18px 34px 10px !important;
  margin: 0 !important;
  animation: landingTextFadeUp 1.2s ease 0.25s both !important;
}

.home .landing-hero-title::before,
.home .landing-hero-title::after,
.home .landing-typewriter::before,
.home .landing-typewriter::after,
.home .landing-typewriter-text::before,
.home .landing-typewriter-text::after {
  display: none !important;
  content: none !important;
}

@keyframes landingTextFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

  .home .landing-hero-title,
  .home .landing-typewriter {
    font-size: clamp(52px, 14vw, 74px);
    line-height: 1.34 !important;
    padding-top: 24px !important;
    padding-right: 18px !important;
    padding-bottom: 36px !important;
    padding-left: 10px !important;
  }
}

@media (max-width: 480px) {

  .home .landing-hero-title,
  .home .landing-typewriter {
    font-size: clamp(48px, 14.5vw, 66px);
    line-height: 1.36 !important;
    padding-top: 26px !important;
    padding-right: 16px !important;
    padding-bottom: 40px !important;
    padding-left: 10px !important;
  }
}

/*  LANDINGPAGE – SCHRIFT-FIX  */

/*
   Der vorherige Typewriter-/Width-Effekt konnte die Great-Vibes-Schrift auf iOS/Safari weiterhin anschneiden. Deshalb wird der Landing-Titel ab dieser Version als normale, zweizeilige Textgruppe gerendert.
*/

.home .landing-hero-title {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: auto !important;
  max-width: calc(100vw - 42px) !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 1 !important;
  padding: 34px 22px 42px 18px !important;
  margin: 0 !important;
  animation: landingTitleSoftIn 1.05s ease 0.2s both !important;
  transform: none;
  contain: none !important;
}

.home .landing-title-line {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  white-space: nowrap !important;
  line-height: 1.28 !important;
  padding: 0.14em 0.12em 0.22em 0.08em !important;
  margin: -0.12em 0 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.home .landing-title-line-main {
  margin-bottom: -0.24em !important;
}

.home .landing-title-line-sub {
  margin-top: -0.06em !important;
}

.home .landing-hero-title::before,
.home .landing-hero-title::after,
.home .landing-title-line::before,
.home .landing-title-line::after {
  display: none !important;
  content: none !important;
}

@keyframes landingTitleSoftIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .home .landing-hero-content,
  .home .landing-hero-text {
    left: 18px !important;
    right: 10px !important;
    bottom: calc(34px + env(safe-area-inset-bottom)) !important;
    overflow: visible !important;
    width: auto !important;
    max-width: none !important;
  }

  .home .landing-hero-title {
    max-width: calc(100vw - 28px) !important;
    font-size: clamp(48px, 13.4vw, 68px) !important;
    padding: 36px 18px 44px 14px !important;
  }

  .home .landing-title-line {
    line-height: 1.30 !important;
    padding-top: 0.16em !important;
    padding-right: 0.16em !important;
    padding-bottom: 0.26em !important;
    padding-left: 0.10em !important;
  }
}

@media (max-width: 480px) {
  .home .landing-hero-content,
  .home .landing-hero-text {
    left: 14px !important;
    right: 8px !important;
    bottom: calc(30px + env(safe-area-inset-bottom)) !important;
  }

  .home .landing-hero-title {
    max-width: calc(100vw - 22px) !important;
    font-size: clamp(44px, 13.2vw, 60px) !important;
    padding: 38px 16px 46px 12px !important;
  }

  .home .landing-title-line {
    line-height: 1.34 !important;
    padding-bottom: 0.30em !important;
  }
}

/*  LANDINGPAGE – SCROLL-PFEIL UNTEN RECHTS  */

.home .footer-more-hint {
  display: none !important;
}

.home .landing-scroll-cue {
  position: absolute;
  right: 34px;
  bottom: calc(34px + env(safe-area-inset-bottom));
  margin: 0 !important;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: landingScrollCuePulse 2.2s ease-in-out infinite;
}

.home .landing-scroll-cue-arrow {
  position: relative;
  width: 28px;
  height: 30px;
  display: block;
  animation: landingScrollCueArrow 1.45s ease-in-out infinite;
}

.home .landing-scroll-cue-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 17px;
  height: 17px;
  border-right: 4px solid rgba(255, 255, 255, 0.96);
  border-bottom: 4px solid rgba(255, 255, 255, 0.96);
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}

.home .landing-scroll-cue-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%);
}

.home .landing-scroll-cue:hover {
  border-color: rgba(255, 255, 255, 0.58);
}

@keyframes landingScrollCuePulse {
  0% {
    transform: translateY(0);
    opacity: 0.88;
  }

  50% {
    transform: translateY(4px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.88;
  }
}

@keyframes landingScrollCueArrow {
  0% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(4px);
  }

  100% {
    transform: translateY(-2px);
  }
}

@media (max-width: 768px) {

  .home .landing-scroll-cue-arrow {
    width: 25px;
    height: 27px;
  }

  .home .landing-scroll-cue-arrow::before {
    width: 15px;
    height: 15px;
    border-right-width: 4px;
    border-bottom-width: 4px;
  }

  .home .landing-scroll-cue-arrow::after {
    height: 21px;
    width: 4px;
  }
}

@media (max-width: 480px) {

  .home .landing-scroll-cue-arrow {
    width: 23px;
    height: 25px;
  }

  .home .landing-scroll-cue-arrow::before {
    width: 14px;
    height: 14px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }

  .home .landing-scroll-cue-arrow::after {
    height: 20px;
    width: 3px;
  }
}

/*  LANDINGPAGE – SCROLL-PFEIL OHNE KREIS  */

.home .landing-scroll-cue {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: 54px !important;
  height: 54px !important;
}

.home .landing-scroll-cue-arrow {
  filter:
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.18));
}

.home .landing-scroll-cue:hover {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home .landing-scroll-cue:hover .landing-scroll-cue-arrow {
  filter:
    drop-shadow(0 5px 12px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.26));
}

@media (max-width: 768px) {
  .home .landing-scroll-cue {
    right: 25px !important;
    bottom: calc(37px + env(safe-area-inset-bottom)) !important;
    width: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 480px) {
  .home .landing-scroll-cue {
    right: 20px !important;
    bottom: calc(32px + env(safe-area-inset-bottom)) !important;
    width: 48px !important;
    height: 48px !important;
  }
}

/*  NACH-OBEN-PFEIL – PFEILSPITZE WEISS  */

.scroll-top-button span {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.38));
}

/*  WISSENSWERTES – CLEAN FULLSCREEN LOOK  */

.knowledge-page-wrapper {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.knowledge-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.42;
  filter: saturate(0.82) contrast(1.08) brightness(0.78);
  pointer-events: none;
}

.knowledge-bg-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.12) 0%, transparent 32%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.44) 0%,
      rgba(0, 0, 0, 0.62) 46%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.28) 52%,
      rgba(0, 0, 0, 0.50) 100%
    );
}

.knowledge-page-wrapper .subpage-clean-header {
  position: relative;
  z-index: 50;
  height: var(--knowledge-header-height);
  min-height: var(--knowledge-header-height);
  margin: 0 !important;
  padding: 24px 38px 18px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-family: 'Manrope', Arial, sans-serif;
}

.knowledge-page-wrapper .subpage-clean-header .logo-link {
  padding-left: 38px;
}

.knowledge-page-wrapper .subpage-clean-header .logo-img {
  height: 76px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.42));
}

.knowledge-page-wrapper .knowledge-page {
  padding: 22px clamp(18px, 4vw, 42px) 28px !important;
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
}

.knowledge-scroll-container {
  width: min(1120px, 100%);
  height: 100%;
  max-height: 100%;
  margin: 0 auto !important;
  padding: clamp(20px, 3vw, 34px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border-radius: 34px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.065) 48%,
      rgba(255, 255, 255, 0.032) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.44) rgba(255, 255, 255, 0.08);
}

.knowledge-scroll-container::-webkit-scrollbar {
  width: 7px;
}

.knowledge-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.knowledge-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.knowledge-page-wrapper .knowledge-hero {
  width: 100%;
  margin: 0 !important;
  padding: 0 0 clamp(16px, 2.4vh, 26px) !important;
}

.knowledge-page-wrapper .knowledge-hero-inner {
  padding: 0;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: end;
}

.knowledge-page-wrapper .knowledge-kicker {
  margin: 0 0 13px 0 !important;
  padding: 8px 13px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.095);
  color: rgba(255, 255, 255, 0.90);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.knowledge-page-wrapper .knowledge-hero h1 {
  padding: 0.08em 0.08em 0.16em 0;
  overflow: visible;
  color: #ffffff;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 400;
  line-height: 1.03;
}

.knowledge-page-wrapper .knowledge-hero p {
  padding: 0 0 0.2em;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.72;
}

.knowledge-page-wrapper .knowledge-section {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.knowledge-page-wrapper .knowledge-grid {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.knowledge-page-wrapper .info-card {
  min-height: clamp(230px, 32vh, 280px);
}

.knowledge-page-wrapper .info-card-inner {
  min-height: clamp(230px, 32vh, 280px);
}

.knowledge-page-wrapper .info-card-front,
.knowledge-page-wrapper .info-card-back {
  min-height: clamp(230px, 32vh, 280px);
  padding: clamp(18px, 2.1vw, 24px);
  border-radius: 26px;
}

.knowledge-page-wrapper .info-card:hover .info-card-front,
.knowledge-page-wrapper .info-card:hover .info-card-back {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.21) 0%,
      rgba(255, 255, 255, 0.09) 52%,
      rgba(255, 255, 255, 0.038) 100%
    );
  border-color: rgba(255, 255, 255, 0.34);
}

.knowledge-page-wrapper .info-card-label {
  margin-bottom: clamp(14px, 2vh, 20px) !important;
  padding: 7px 11px;
  font-size: 10px;
  letter-spacing: 0.09em;
}

.knowledge-page-wrapper .info-card-title {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.16;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.38);
}

.knowledge-page-wrapper .info-card-subtitle {
  font-size: 13px;
}

.knowledge-page-wrapper .info-card-text {
  font-size: clamp(12px, 1.12vw, 14px);
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.knowledge-page-wrapper .info-card-hint {
  font-size: 10px;
}

.knowledge-page-wrapper .info-popup-dialog {
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

@media (max-width: 1024px) {
  .knowledge-page-wrapper {
    --knowledge-header-height: 110px;
  }

  .knowledge-page-wrapper .knowledge-hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .knowledge-page-wrapper .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-page-wrapper .info-card,
  .knowledge-page-wrapper .info-card-inner,
  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    min-height: 176px;
  }
}

@media (max-width: 768px) {

  .knowledge-page-wrapper .subpage-clean-header {
    height: var(--knowledge-header-height);
    min-height: var(--knowledge-header-height);
    padding: 20px 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .knowledge-page-wrapper .subpage-clean-header .header-inner {
    align-items: flex-start;
  }

  .knowledge-page-wrapper .subpage-clean-header .logo-link {
    padding-left: 0;
  }

  .knowledge-page-wrapper .subpage-clean-header .logo-img {
    height: 68px;
  }

  .knowledge-page-wrapper .subpage-clean-header .burger-button {
    width: 52px;
    height: 52px;
    margin-top: 5px !important;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.12) 48%,
        rgba(255, 255, 255, 0.07) 100%
      );
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }

  .knowledge-page-wrapper .subpage-clean-header .burger-button span {
    width: 23px;
    height: 3px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
  }

  .knowledge-page-wrapper .knowledge-page {
    padding: 14px 12px 14px !important;
  }

  .knowledge-scroll-container {
    border-radius: 26px;
    padding: 16px;
  }

  .knowledge-page-wrapper .knowledge-kicker {
    margin-bottom: 8px !important;
    padding: 6px 10px;
    font-size: 9px;
  }

  .knowledge-page-wrapper .knowledge-hero h1 {
    font-size: clamp(46px, 14vw, 66px);
    line-height: 1.02;
    padding-bottom: 0.12em;
  }

  .knowledge-page-wrapper .knowledge-hero p {
    font-size: 13px;
    line-height: 1.52;
  }

  .knowledge-page-wrapper .knowledge-grid {
    gap: 10px;
  }

  .knowledge-page-wrapper .info-card,
  .knowledge-page-wrapper .info-card-inner,
  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    min-height: 148px;
  }

  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    padding: 14px;
    border-radius: 20px;
  }

  .knowledge-page-wrapper .info-card-label {
    margin-bottom: 10px !important;
    padding: 5px 8px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .knowledge-page-wrapper .info-card-title {
    margin-bottom: 6px !important;
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.14;
  }

  .knowledge-page-wrapper .info-card-subtitle {
    margin-bottom: 6px !important;
    font-size: 11px;
  }

  .knowledge-page-wrapper .info-card-text {
    font-size: 11px;
    line-height: 1.36;
    -webkit-line-clamp: 2;
  }

  .knowledge-page-wrapper .info-card-hint {
    padding: 6px 8px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 480px) {

  .knowledge-page-wrapper .subpage-clean-header {
    padding: 18px 14px 0;
  }

  .knowledge-page-wrapper .subpage-clean-header .logo-img {
    height: 62px;
  }

  .knowledge-page-wrapper .subpage-clean-header .burger-button {
    width: 48px;
    height: 48px;
    margin-top: 6px !important;
  }

  .knowledge-page-wrapper .knowledge-page {
    padding: 12px 10px 12px !important;
  }

  .knowledge-scroll-container {
    padding: 14px;
    border-radius: 24px;
  }

  .knowledge-page-wrapper .knowledge-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .knowledge-page-wrapper .knowledge-hero p {
    font-size: 12px;
  }

  .knowledge-page-wrapper .info-card,
  .knowledge-page-wrapper .info-card-inner,
  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    min-height: 138px;
  }

  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    padding: 12px;
  }

  .knowledge-page-wrapper .info-card-title {
    font-size: clamp(13px, 3.8vw, 16px);
  }

  .knowledge-page-wrapper .info-card-text {
    display: none;
  }
}

@media (max-width: 360px) {
  .knowledge-page-wrapper .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-page-wrapper .info-card,
  .knowledge-page-wrapper .info-card-inner,
  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    min-height: 122px;
  }

  .knowledge-page-wrapper .info-card-text {
    display: block;
    -webkit-line-clamp: 2;
  }
}

/*  WISSENSWERTES – GRÜNER GITTER-HINTERGRUND  */

.knowledge-page-wrapper {
  background-color: #0f3f25 !important;
}

.knowledge-bg-video,
.knowledge-bg-shade {
  display: none !important;
}

.knowledge-page-wrapper .knowledge-kicker {
  display: none !important;
}

.knowledge-page-wrapper .knowledge-hero {
  padding-top: 0 !important;
}

.knowledge-page-wrapper .knowledge-hero h1 {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .knowledge-page-wrapper .knowledge-scroll-container {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.07) 50%,
        rgba(255, 255, 255, 0.032) 100%
      ) !important;
  }
}

/*  WISSENSWERTES – HEADER WIE LANDINGPAGE  */

/* Headerbereich bleibt neutral wie auf der Landingpage */
.knowledge-page-wrapper {
  --knowledge-header-height: 138px;
}

/* Landingpage-Header exakt für Wissenswertes übernehmen */
.knowledge-page-wrapper .knowledge-landing-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  min-height: 112px;
  padding: 28px 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: transparent !important;
  border: 0 !important;
  pointer-events: none;
}

.knowledge-page-wrapper .knowledge-landing-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.knowledge-page-wrapper .knowledge-landing-header .landing-logo-link,
.knowledge-page-wrapper .knowledge-landing-header .landing-burger-button {
  pointer-events: auto;
}

.knowledge-page-wrapper .knowledge-landing-header .landing-logo-link {
  padding-left: 0 !important;
}

.knowledge-page-wrapper .knowledge-landing-header .landing-logo-img {
  height: 82px !important;
  max-width: min(42vw, 330px);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

/* Der grüne Gitterlook beginnt erst im Bodybereich unter dem Header */
.knowledge-page-wrapper .knowledge-page {
  position: absolute !important;
  top: var(--knowledge-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  background-color: #0f3f25 !important;
}

/* Sidebar bleibt wie auf der Landingpage */
.knowledge-page-wrapper .landing-menu-backdrop {
  z-index: 9200;
}

.knowledge-page-wrapper .landing-main-nav {
  z-index: 9400;
  font-family: 'Manrope', Arial, sans-serif;
}

.knowledge-page-wrapper .landing-burger-button,
.knowledge-page-wrapper .landing-burger-button.is-active {
  z-index: 9600;
}

@media (max-width: 768px) {
  .knowledge-page-wrapper {
    --knowledge-header-height: 98px;
  }

  .knowledge-page-wrapper .knowledge-landing-header {
    min-height: 96px;
    padding: 22px 16px 0;
    align-items: flex-start;
  }

  .knowledge-page-wrapper .knowledge-landing-header .landing-logo-img {
    height: 72px !important;
    max-width: 56vw;
  }

  .knowledge-page-wrapper .knowledge-landing-header .landing-burger-button {
    width: 54px !important;
    height: 54px !important;
    margin-top: 6px !important;
  }

  .knowledge-page-wrapper .knowledge-page {
    padding-top: 14px !important;
  }
}

@media (max-width: 480px) {
  .knowledge-page-wrapper {
    --knowledge-header-height: 92px;
  }

  .knowledge-page-wrapper .knowledge-landing-header {
    padding: 20px 14px 0;
  }

  .knowledge-page-wrapper .knowledge-landing-header .landing-logo-img {
    height: 64px !important;
    max-width: 58vw;
  }

  .knowledge-page-wrapper .knowledge-landing-header .landing-burger-button {
    width: 50px !important;
    height: 50px !important;
    margin-top: 8px !important;
  }
}

/*  WISSENSWERTES – VIDEO-HINTERGRUND + HERO ZENTRIERT  */

.knowledge-page-wrapper {
  background: #000000 !important;
  background-image: none !important;
}

.knowledge-page-wrapper .knowledge-bg-video {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.95) contrast(1.04) brightness(0.82);
  pointer-events: none;
}

.knowledge-page-wrapper .knowledge-bg-shade {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.knowledge-page-wrapper .knowledge-page {
  background: transparent !important;
  background-image: none !important;
}

.knowledge-page-wrapper .knowledge-hero {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding-bottom: clamp(18px, 2.8vh, 30px) !important;
}

.knowledge-page-wrapper .knowledge-hero-inner {
  display: block !important;
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.knowledge-page-wrapper .knowledge-hero h1 {
  width: 100%;
  margin: 0 auto !important;
  text-align: center !important;
  padding-left: 0.12em !important;
  padding-right: 0.12em !important;
}

.knowledge-page-wrapper .knowledge-hero p {
  max-width: 620px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  .knowledge-page-wrapper .knowledge-hero {
    padding-bottom: 14px !important;
  }

  .knowledge-page-wrapper .knowledge-hero-inner {
    max-width: 100% !important;
  }

  .knowledge-page-wrapper .knowledge-hero h1 {
    padding-left: 0.08em !important;
    padding-right: 0.08em !important;
  }
}

/*  WISSENSWERTES – SIDEBAR LAYER + GRÜNE AKZENTE  */

/* Sidebar auf der Wissenswertes-Seite immer über Logo/Header legen */
.knowledge-page-wrapper .knowledge-landing-header .landing-logo-link,
.knowledge-page-wrapper .knowledge-landing-header .landing-logo-img {
  position: relative;
  z-index: 100;
}

.knowledge-page-wrapper .landing-menu-backdrop,
.knowledge-page-wrapper .landing-menu-backdrop.is-visible,
.knowledge-page-wrapper .menu-backdrop,
.knowledge-page-wrapper .menu-backdrop.is-visible {
  position: fixed !important;
  z-index: 2147482000 !important;
}

.knowledge-page-wrapper .landing-main-nav,
.knowledge-page-wrapper .landing-main-nav.is-open,
.knowledge-page-wrapper .main-nav,
.knowledge-page-wrapper .main-nav.is-open {
  position: fixed !important;
  z-index: 2147483000 !important;
}

.knowledge-page-wrapper .landing-burger-button,
.knowledge-page-wrapper .landing-burger-button.is-active,
.knowledge-page-wrapper .burger-button,
.knowledge-page-wrapper .burger-button.is-active {
  position: relative;
  z-index: 2147483600 !important;
}

/* Mehr grüner Moschee-Akzent im Body, ohne die Sidebar zu verändern */

.knowledge-page-wrapper .knowledge-hero-inner::after {
  content: "";
  display: block;
  width: min(160px, 42vw);
  height: 2px;
  margin: 14px auto 0;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .knowledge-page-wrapper .landing-main-nav,
  .knowledge-page-wrapper .landing-main-nav.is-open,
  .knowledge-page-wrapper .main-nav,
  .knowledge-page-wrapper .main-nav.is-open {
    z-index: 2147483000 !important;
  }

  .knowledge-page-wrapper .knowledge-scroll-container {
    border-color: rgba(134, 239, 172, 0.26) !important;
  }

  .knowledge-page-wrapper .knowledge-hero-inner::after {
    margin-top: 10px;
  }
}

/*  WISSENSWERTES – GRÜN NUR AUF BODY-CARD  */

/* Hintergrund/Video wieder neutral halten */
.knowledge-page-wrapper .knowledge-bg-shade {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.46) 46%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.18) 50%,
      rgba(0, 0, 0, 0.42) 100%
    ) !important;
}

/* Grün bleibt nur auf der großen mittleren Body-Card */
.knowledge-page-wrapper .knowledge-scroll-container {
  background:
    linear-gradient(
      145deg,
      rgba(20, 83, 45, 0.36) 0%,
      rgba(15, 63, 37, 0.22) 42%,
      rgba(255, 255, 255, 0.075) 100%
    ) !important;
  border-color: rgba(134, 239, 172, 0.32) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.40),
    0 0 0 1px rgba(134, 239, 172, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(134, 239, 172, 0.14) !important;
}

/* Hero wieder neutral, kein grüner Glow */
.knowledge-page-wrapper .knowledge-hero h1 {
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.58) !important;
}

.knowledge-page-wrapper .knowledge-hero-inner::after {
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 15%,
      rgba(255, 255, 255, 0.62) 50%,
      rgba(255, 255, 255, 0.18) 85%,
      transparent 100%
    ) !important;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.10) !important;
}

.knowledge-page-wrapper .knowledge-hero p {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Kleine Cards wieder clean/milky statt grün */

/* Scrollbar im Container wieder neutral */
.knowledge-page-wrapper .knowledge-scroll-container {
  scrollbar-color: rgba(255, 255, 255, 0.44) rgba(255, 255, 255, 0.08);
}

.knowledge-page-wrapper .knowledge-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.42) !important;
}

/*  UNTERSEITEN – CLEAN LOOK WIE WISSENSWERTES  */

.clean-subpage-wrapper {
  --clean-subpage-header-height: 138px;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
  isolation: isolate;
  font-family: 'Manrope', Arial, sans-serif;
}

.clean-subpage-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: saturate(0.95) contrast(1.04) brightness(0.82);
  pointer-events: none;
}

.clean-subpage-bg-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.46) 46%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.18) 50%,
      rgba(0, 0, 0, 0.42) 100%
    );
}

/* Header wie Landingpage */
.clean-subpage-wrapper .clean-subpage-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  min-height: 112px;
  padding: 28px 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: transparent !important;
  border: 0 !important;
  pointer-events: none;
}

.clean-subpage-wrapper .clean-subpage-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.clean-subpage-wrapper .clean-subpage-header .landing-logo-link,
.clean-subpage-wrapper .clean-subpage-header .landing-burger-button {
  pointer-events: auto;
}

.clean-subpage-wrapper .clean-subpage-header .landing-logo-img {
  height: 82px !important;
  max-width: min(42vw, 330px);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

/* Sidebar/Backdrop immer über Logo */
.clean-subpage-wrapper .landing-menu-backdrop,
.clean-subpage-wrapper .landing-menu-backdrop.is-visible,
.clean-subpage-wrapper .menu-backdrop,
.clean-subpage-wrapper .menu-backdrop.is-visible {
  position: fixed !important;
  z-index: 2147482000 !important;
}

.clean-subpage-wrapper .landing-main-nav,
.clean-subpage-wrapper .landing-main-nav.is-open,
.clean-subpage-wrapper .main-nav,
.clean-subpage-wrapper .main-nav.is-open {
  position: fixed !important;
  z-index: 2147483000 !important;
  font-family: 'Manrope', Arial, sans-serif;
}

.clean-subpage-wrapper .landing-burger-button,
.clean-subpage-wrapper .landing-burger-button.is-active,
.clean-subpage-wrapper .burger-button,
.clean-subpage-wrapper .burger-button.is-active {
  position: relative;
  z-index: 2147483600 !important;
}

/* Bodybereich */
.clean-subpage-main {
  position: absolute;
  top: var(--clean-subpage-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-height: 0;
  margin: 0;
  padding: 22px clamp(18px, 4vw, 42px) 28px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.clean-subpage-card {
  width: min(1120px, 100%);
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(
      145deg,
      rgba(20, 83, 45, 0.36) 0%,
      rgba(15, 63, 37, 0.22) 42%,
      rgba(255, 255, 255, 0.075) 100%
    );
  border: 1px solid rgba(134, 239, 172, 0.32);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.40),
    0 0 0 1px rgba(134, 239, 172, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(134, 239, 172, 0.14);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.clean-subpage-scroll {
  width: 100%;
  height: 100%;
  max-height: 100%;
  padding: clamp(22px, 3vw, 38px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.44) rgba(255, 255, 255, 0.08);
}

.clean-subpage-scroll::-webkit-scrollbar {
  width: 7px;
}

.clean-subpage-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.clean-subpage-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.clean-subpage-hero {
  width: 100%;
  margin: 0 auto clamp(18px, 2.8vh, 30px);
  text-align: center;
}

.clean-subpage-hero h1 {
  width: 100%;
  margin: 0 auto;
  padding: 0.08em 0.12em 0.14em;
  overflow: visible;
  color: #ffffff;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 400;
  line-height: 1.03;
  text-align: center;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.58);
}

.clean-subpage-hero::after {
  content: "";
  display: block;
  width: min(160px, 42vw);
  height: 2px;
  margin: 14px auto 0;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 15%,
      rgba(255, 255, 255, 0.62) 50%,
      rgba(255, 255, 255, 0.18) 85%,
      transparent 100%
    );
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.10);
}

.clean-subpage-content {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.76;
}

.clean-subpage-content > *:first-child {
  margin-top: 0;
}

.clean-subpage-content > *:last-child {
  margin-bottom: 0;
}

.clean-subpage-content p {
  margin: 0 0 1.1em;
}

.clean-subpage-content a {
  color: #ffffff;
  text-decoration-color: rgba(187, 247, 208, 0.72);
  text-underline-offset: 0.22em;
}

.clean-subpage-content ul,
.clean-subpage-content ol {
  display: inline-block;
  max-width: 680px;
  margin: 0 auto 1.2em;
  padding-left: 1.25em;
  text-align: left;
}

.clean-subpage-content li {
  margin-bottom: 0.55em;
}

.clean-subpage-content h2,
.clean-subpage-content h3 {
  color: #ffffff;
  line-height: 1.2;
  margin: 1.2em 0 0.55em;
}

.clean-subpage-content .wp-block-button__link,
.clean-subpage-content button,
.clean-subpage-content input[type="submit"] {
  border-radius: 999px;
  background:
    linear-gradient(
      145deg,
      rgba(240, 253, 244, 0.92) 0%,
      rgba(187, 247, 208, 0.72) 100%
    );
  color: #14532d;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* Auf diesen Unterseiten keinen Footer und keinen grünen alten Standardbereich anzeigen */
.clean-subpage-wrapper + .site-footer,
.clean-subpage-wrapper .site-footer {
  display: none !important;
}

/* Seite "Mitglied werden": alte Bauarbeiter-Illustration ist im neuen Layout nicht mehr nötig */
.clean-subpage-member-werden .construction-illustration,
.clean-subpage-member-werden .member-kicker {
  display: none !important;
}

@media (max-width: 768px) {
  .clean-subpage-wrapper {
    --clean-subpage-header-height: 98px;
  }

  .clean-subpage-wrapper .clean-subpage-header {
    min-height: 96px;
    padding: 22px 16px 0;
    align-items: flex-start;
  }

  .clean-subpage-wrapper .clean-subpage-header .landing-logo-img {
    height: 72px !important;
    max-width: 56vw;
  }

  .clean-subpage-wrapper .clean-subpage-header .landing-burger-button {
    width: 54px !important;
    height: 54px !important;
    margin-top: 6px !important;
  }

  .clean-subpage-main {
    padding: 14px 12px 14px;
  }

  .clean-subpage-card {
    border-radius: 26px;
  }

  .clean-subpage-scroll {
    padding: 18px 16px;
  }

  .clean-subpage-hero {
    margin-bottom: 14px;
  }

  .clean-subpage-hero h1 {
    font-size: clamp(46px, 14vw, 66px);
    line-height: 1.02;
    padding-left: 0.08em;
    padding-right: 0.08em;
  }

  .clean-subpage-hero::after {
    margin-top: 10px;
  }

  .clean-subpage-content {
    font-size: 13px;
    line-height: 1.58;
  }
}

@media (max-width: 480px) {
  .clean-subpage-wrapper {
    --clean-subpage-header-height: 92px;
  }

  .clean-subpage-wrapper .clean-subpage-header {
    padding: 20px 14px 0;
  }

  .clean-subpage-wrapper .clean-subpage-header .landing-logo-img {
    height: 64px !important;
    max-width: 58vw;
  }

  .clean-subpage-wrapper .clean-subpage-header .landing-burger-button {
    width: 50px !important;
    height: 50px !important;
    margin-top: 8px !important;
  }

  .clean-subpage-main {
    padding: 12px 10px 12px;
  }

  .clean-subpage-card {
    border-radius: 24px;
  }

  .clean-subpage-scroll {
    padding: 16px 14px;
  }

  .clean-subpage-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .clean-subpage-content {
    font-size: 12px;
    line-height: 1.55;
  }
}

/*  IMPRESSUM & DATENSCHUTZ – CLEAN LOOK  */

.legal-clean-page .legal-subpage-card {
  width: min(1120px, 100%);
}

.legal-clean-page .legal-subpage-hero {
  margin-bottom: clamp(20px, 3vh, 34px);
}

.legal-clean-page .legal-subpage-hero p {
  max-width: 660px;
  margin: 0.2em auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.65;
  text-align: center;
}

.legal-clean-page .legal-subpage-content {
  max-width: 920px;
  text-align: left;
}

.legal-clean-page .impressum-block {
  margin: 0 0 16px;
  padding: clamp(16px, 2vw, 24px);
}

.legal-clean-page .impressum-block:last-child {
  margin-bottom: 0;
}

.legal-clean-page .impressum-block h2 {
  margin: 0 0 0.65em;
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 850;
  line-height: 1.2;
}

.legal-clean-page .impressum-block p {
  margin: 0 0 1em;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(13px, 1.24vw, 15px);
  line-height: 1.72;
}

.legal-clean-page .impressum-block p:last-child {
  margin-bottom: 0;
}

.legal-clean-page .impressum-block a {
  color: #ffffff;
  text-decoration-color: rgba(187, 247, 208, 0.74);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .legal-clean-page .legal-subpage-hero {
    margin-bottom: 16px;
  }

  .legal-clean-page .legal-subpage-hero p {
    font-size: 12px;
    line-height: 1.5;
  }

  .legal-clean-page .impressum-block {
    margin-bottom: 12px;
    padding: 15px 14px;
    border-radius: 20px;
  }

  .legal-clean-page .impressum-block h2 {
    font-size: 16px;
  }

  .legal-clean-page .impressum-block p {
    font-size: 12px;
    line-height: 1.56;
  }
}

@media (max-width: 480px) {
  .legal-clean-page .impressum-block {
    padding: 13px 12px;
    border-radius: 18px;
  }
}

/*  GLOBAL – MILKY GLASS LOOK OHNE GRÜN  */

/* Sidebar / Burger-Menü: Muster bleibt, Grün wird durch transparentes milky glass ersetzt */
.main-nav,
.landing-main-nav,
.main-nav.is-open,
.landing-main-nav.is-open,
.home .main-nav,
.home .landing-main-nav,
.knowledge-page-wrapper .main-nav,
.knowledge-page-wrapper .landing-main-nav,
.clean-subpage-wrapper .main-nav,
.clean-subpage-wrapper .landing-main-nav {
  background-color: rgba(255, 255, 255, 0.12) !important;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.13) 0px,
      rgba(255, 255, 255, 0.13) 1px,
      transparent 1px,
      transparent 42px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.10) 0px,
      rgba(255, 255, 255, 0.10) 1px,
      transparent 1px,
      transparent 42px
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.105) 44%,
      rgba(255, 255, 255, 0.065) 100%
    ) !important;
  backdrop-filter: blur(26px) saturate(155%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(155%) !important;
}

/* Sidebar Links neutral/glossy statt grün */

.main-nav a:hover,
.main-nav a:focus-visible,
.landing-main-nav a:hover,
.landing-main-nav a:focus-visible,
.main-nav a[aria-current="page"],
.landing-main-nav a[aria-current="page"] {
  color: #ffffff !important;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.105) 100%
    ) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}

/* Backdrop neutral */
.menu-backdrop,
.menu-backdrop.is-visible,
.landing-menu-backdrop,
.landing-menu-backdrop.is-visible {
  background: rgba(0, 0, 0, 0.44) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

/* Große Bodycards auf Unterseiten: milky-glass statt grün */
.knowledge-page-wrapper .knowledge-scroll-container,
.clean-subpage-card,
.legal-clean-page .legal-subpage-card {
  border-color: rgba(255, 255, 255, 0.30) !important;
}

/* Wissenswertes Cards neutral halten */
.knowledge-page-wrapper .info-card-front,
.knowledge-page-wrapper .info-card-back {
  border-color: rgba(255, 255, 255, 0.24) !important;
}

.knowledge-page-wrapper .info-card:hover .info-card-front,
.knowledge-page-wrapper .info-card:hover .info-card-back,
.knowledge-page-wrapper .info-card:focus-within .info-card-front,
.knowledge-page-wrapper .info-card:focus-within .info-card-back {
  border-color: rgba(255, 255, 255, 0.38) !important;
}

.knowledge-page-wrapper .info-card-label {
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.knowledge-page-wrapper .info-card-subtitle,
.knowledge-page-wrapper .info-card-text,
.clean-subpage-content,
.legal-clean-page .impressum-block p,
.legal-clean-page .legal-subpage-hero p {
  color: rgba(255, 255, 255, 0.80) !important;
}

/* Kleine Buttons/Hints nicht mehr grün, sondern hell-glass */

/* Rechtliche Unterkarten ebenfalls milky-glass neutral */
.legal-clean-page .impressum-block {
  border-color: rgba(255, 255, 255, 0.22) !important;
}

/* Nach-oben-Pfeil vollständig neutral */
.scroll-top-button {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.16) 100%
    ) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}

.scroll-top-button span::before {
  border-top-color: rgba(255, 255, 255, 0.96) !important;
  border-left-color: rgba(255, 255, 255, 0.96) !important;
}

.scroll-top-button span::after {
  background: rgba(255, 255, 255, 0.96) !important;
}

/* Textlinks neutral weiß statt grün */
.clean-subpage-content a,
.legal-clean-page .impressum-block a {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, 0.62) !important;
}

/* Scrollbars neutral */
.knowledge-page-wrapper .knowledge-scroll-container,
.clean-subpage-scroll {
  scrollbar-color: rgba(255, 255, 255, 0.44) rgba(255, 255, 255, 0.08) !important;
}

.knowledge-page-wrapper .knowledge-scroll-container::-webkit-scrollbar-thumb,
.clean-subpage-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.42) !important;
}

@media (max-width: 768px) {
  .main-nav,
  .landing-main-nav,
  .main-nav.is-open,
  .landing-main-nav.is-open {
    background-color: rgba(255, 255, 255, 0.13) !important;
    backdrop-filter: blur(28px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  }

  .knowledge-page-wrapper .knowledge-scroll-container,
  .clean-subpage-card,
  .legal-clean-page .legal-subpage-card {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.070) 50%,
        rgba(255, 255, 255, 0.032) 100%
      ) !important;
  }
}

/*  SIDEBAR – RAHMEN ENTFERNEN  */

/* Sidebar-Panel ohne sichtbaren Außenrahmen */
.main-nav,
.landing-main-nav,
.main-nav.is-open,
.landing-main-nav.is-open,
.home .main-nav,
.home .landing-main-nav,
.knowledge-page-wrapper .main-nav,
.knowledge-page-wrapper .landing-main-nav,
.clean-subpage-wrapper .main-nav,
.clean-subpage-wrapper .landing-main-nav {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Link-Rahmen in der Sidebar entfernen */
.main-nav a,
.landing-main-nav a,
.home .main-nav a,
.home .landing-main-nav a,
.knowledge-page-wrapper .main-nav a,
.knowledge-page-wrapper .landing-main-nav a,
.clean-subpage-wrapper .main-nav a,
.clean-subpage-wrapper .landing-main-nav a {
  outline: 0;
}

/* Hover/Aktiv ebenfalls ohne Rahmen */

/*  SIDEBAR + UNTERSEITEN ENTSCHLACKEN  */

/*  ------------------------------------------ SIDEBAR: keine Item-Boxen, keine Rahmen, keine aggressive Schriftwirkung ------------------------------------------  */

.main-nav,
.landing-main-nav,
.main-nav.is-open,
.landing-main-nav.is-open,
.home .main-nav,
.home .landing-main-nav,
.knowledge-page-wrapper .main-nav,
.knowledge-page-wrapper .landing-main-nav,
.clean-subpage-wrapper .main-nav,
.clean-subpage-wrapper .landing-main-nav {
  border: 0 !important;
  box-shadow:
    -28px 0 90px rgba(0, 0, 0, 0.42),
    inset 1px 0 0 rgba(255, 255, 255, 0.24) !important;
}

.main-nav a,
.landing-main-nav a,
.home .main-nav a,
.home .landing-main-nav a,
.knowledge-page-wrapper .main-nav a,
.knowledge-page-wrapper .landing-main-nav a,
.clean-subpage-wrapper .main-nav a,
.clean-subpage-wrapper .landing-main-nav a {
  border-radius: 0 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  padding: 18px 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.main-nav a::before,
.main-nav a::after,
.landing-main-nav a::before,
.landing-main-nav a::after,
.home .main-nav a::before,
.home .main-nav a::after,
.home .landing-main-nav a::before,
.home .landing-main-nav a::after,
.knowledge-page-wrapper .main-nav a::before,
.knowledge-page-wrapper .main-nav a::after,
.knowledge-page-wrapper .landing-main-nav a::before,
.knowledge-page-wrapper .landing-main-nav a::after,
.clean-subpage-wrapper .main-nav a::before,
.clean-subpage-wrapper .main-nav a::after,
.clean-subpage-wrapper .landing-main-nav a::before,
.clean-subpage-wrapper .landing-main-nav a::after {
  display: none !important;
  content: none !important;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.landing-main-nav a:hover,
.landing-main-nav a:focus-visible,
.main-nav a[aria-current="page"],
.landing-main-nav a[aria-current="page"],
.home .main-nav a:hover,
.home .main-nav a:focus-visible,
.home .landing-main-nav a:hover,
.home .landing-main-nav a:focus-visible,
.knowledge-page-wrapper .main-nav a:hover,
.knowledge-page-wrapper .main-nav a:focus-visible,
.knowledge-page-wrapper .landing-main-nav a:hover,
.knowledge-page-wrapper .landing-main-nav a:focus-visible,
.clean-subpage-wrapper .main-nav a:hover,
.clean-subpage-wrapper .main-nav a:focus-visible,
.clean-subpage-wrapper .landing-main-nav a:hover,
.clean-subpage-wrapper .landing-main-nav a:focus-visible {
  border: 0 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .main-nav a,
  .landing-main-nav a,
  .home .main-nav a,
  .home .landing-main-nav a,
  .knowledge-page-wrapper .main-nav a,
  .knowledge-page-wrapper .landing-main-nav a,
  .clean-subpage-wrapper .main-nav a,
  .clean-subpage-wrapper .landing-main-nav a {
    font-size: 18px !important;
    padding: 16px 0 !important;
  }
}

/*  ------------------------------------------ UNTERSEITEN: keine milky-glass Itemcards / Containercards mehr ------------------------------------------  */

.knowledge-page-wrapper .knowledge-scroll-container,
.clean-subpage-card,
.legal-clean-page .legal-subpage-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
}

/* Container weiterhin scrollbar, aber ohne Card-Look */
.knowledge-scroll-container,
.clean-subpage-scroll {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Wissenswertes-Einzelcards ebenfalls clean ohne Glasboxen */
.knowledge-page-wrapper .info-card-front,
.knowledge-page-wrapper .info-card-back {
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.knowledge-page-wrapper .info-card:hover .info-card-front,
.knowledge-page-wrapper .info-card:hover .info-card-back,
.knowledge-page-wrapper .info-card:focus-within .info-card-front,
.knowledge-page-wrapper .info-card:focus-within .info-card-back {
  border: 0 !important;
  box-shadow: none !important;
}

/* Rechtstexte ohne Glass-Blöcke */
.legal-clean-page .impressum-block {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
}

/* Buttons/Hints neutral und minimal */
.knowledge-page-wrapper .info-card-label {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.knowledge-page-wrapper .info-card-hint,
.clean-subpage-content .wp-block-button__link,
.clean-subpage-content button,
.clean-subpage-content input[type="submit"] {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Unterseiten-Content etwas luftiger, weil die Card wegfällt */
.clean-subpage-main,
.knowledge-page-wrapper .knowledge-page {
  padding-left: clamp(18px, 4vw, 42px) !important;
  padding-right: clamp(18px, 4vw, 42px) !important;
}

.clean-subpage-content,
.legal-clean-page .legal-subpage-content,
.knowledge-page-wrapper .knowledge-section {
  max-width: 980px;
}

@media (max-width: 768px) {
  .clean-subpage-main,
  .knowledge-page-wrapper .knowledge-page {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (max-width: 480px) {
  .clean-subpage-main,
  .knowledge-page-wrapper .knowledge-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/*  SIDEBAR – DEZENTE DIVIDER ZURÜCK  */

/* Keine Box-Rahmen, aber feine Trennlinien zwischen den Menüpunkten */
.main-nav a,
.landing-main-nav a,
.home .main-nav a,
.home .landing-main-nav a,
.knowledge-page-wrapper .main-nav a,
.knowledge-page-wrapper .landing-main-nav a,
.clean-subpage-wrapper .main-nav a,
.clean-subpage-wrapper .landing-main-nav a {
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Letzter Menüpunkt ohne Divider unten */
.main-nav a:last-child,
.landing-main-nav a:last-child,
.home .main-nav a:last-child,
.home .landing-main-nav a:last-child,
.knowledge-page-wrapper .main-nav a:last-child,
.knowledge-page-wrapper .landing-main-nav a:last-child,
.clean-subpage-wrapper .main-nav a:last-child,
.clean-subpage-wrapper .landing-main-nav a:last-child {
  border-bottom: 0 !important;
}

/* Hover/Aktiv darf keine Box zurückbringen, Divider bleibt nur fein */
.main-nav a:hover,
.main-nav a:focus-visible,
.landing-main-nav a:hover,
.landing-main-nav a:focus-visible,
.main-nav a[aria-current="page"],
.landing-main-nav a[aria-current="page"],
.home .main-nav a:hover,
.home .main-nav a:focus-visible,
.home .landing-main-nav a:hover,
.home .landing-main-nav a:focus-visible,
.knowledge-page-wrapper .main-nav a:hover,
.knowledge-page-wrapper .main-nav a:focus-visible,
.knowledge-page-wrapper .landing-main-nav a:hover,
.knowledge-page-wrapper .landing-main-nav a:focus-visible,
.clean-subpage-wrapper .main-nav a:hover,
.clean-subpage-wrapper .main-nav a:focus-visible,
.clean-subpage-wrapper .landing-main-nav a:hover,
.clean-subpage-wrapper .landing-main-nav a:focus-visible {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom-color: rgba(255, 255, 255, 0.22) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Dezente Glaslinie auch bei Tastaturfokus sichtbar, aber ohne Rahmenbox */
.main-nav a:focus-visible,
.landing-main-nav a:focus-visible {
  outline: 0 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 0.28em;
}

/*  GEBETSZEITEN – DIYANET TAGESZEITEN  */

.prayer-page .prayer-page-surface {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.prayer-page .prayer-page-hero p {
  max-width: 620px;
  margin: 0.15em auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.65;
  text-align: center;
}

.prayer-times-content {
  max-width: 760px !important;
  text-align: left !important;
}

.prayer-times-panel {
  width: min(680px, 100%);
  margin: 0 auto;
}

.prayer-times-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.70);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: center;
}

.prayer-times-meta span {
  position: relative;
}

.prayer-times-meta span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  transform: translateY(-50%);
}

.prayer-times-list {
  width: 100%;
  margin: 0 auto;
}

.prayer-time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.prayer-time-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.prayer-time-row.is-next-prayer {
  margin: 8px -12px;
  padding: 18px 16px;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.06) 100%
    );
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.prayer-time-name {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.prayer-time-name strong {
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 760;
  line-height: 1.12;
}

.prayer-time-name span {
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.prayer-time-value {
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(28px, 5.5vw, 44px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: right;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.46);
}

.prayer-times-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.prayer-times-footer a {
  color: rgba(255, 255, 255, 0.86) !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.50) !important;
  text-underline-offset: 0.24em;
}

.prayer-times-warning {
  color: rgba(255, 255, 255, 0.76);
}

.prayer-times-error {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.prayer-times-error strong,
.prayer-times-error span,
.prayer-times-error small {
  display: block;
}

.prayer-times-error strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.prayer-times-error small {
  margin-top: 10px;
  opacity: 0.66;
}

@media (max-width: 768px) {
  .prayer-times-meta {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .prayer-time-row {
    padding: 14px 2px;
    gap: 14px;
  }

  .prayer-time-row.is-next-prayer {
    margin: 7px -8px;
    padding: 15px 12px;
    border-radius: 18px;
  }

  .prayer-time-name strong {
    font-size: clamp(16px, 5vw, 21px);
  }

  .prayer-time-name span {
    font-size: 11px;
  }

  .prayer-time-value {
    font-size: clamp(26px, 9vw, 38px);
  }

  .prayer-times-footer {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .prayer-time-row {
    gap: 10px;
  }

  .prayer-time-name strong {
    font-size: 16px;
  }

  .prayer-time-value {
    font-size: clamp(25px, 8vw, 34px);
  }
}

/*  GEBETSZEITEN – GÜNEŞ / SONNENAUFGANG  */

.prayer-time-row:nth-child(2) .prayer-time-name strong {
  font-weight: 680;
}

.prayer-time-row:nth-child(2) .prayer-time-value {
  font-weight: 760;
  opacity: 0.88;
}

.prayer-time-row:nth-child(2) .prayer-time-name span {
  opacity: 0.9;
}

/*  GEBETSZEITEN – DEUTSCHES DATUM  */

.prayer-times-meta {
  line-height: 1.45;
}

@media (max-width: 420px) {
  .prayer-times-meta {
    gap: 6px 12px;
    font-size: 10px;
  }
}

/*  GEBETSZEITEN – DATUMSÜBERSETZUNG FIX  */

/*  WISSENSWERTES – ITEMCARDS GRAUE AKZENTE  */

/* Grüne Akzentfarbe in den Wissenswertes-Itemcards durch passende Grau-/Silbertöne ersetzen */
.knowledge-page-wrapper .info-card-label {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.knowledge-page-wrapper .info-card-hint {
  border: 0 !important;
  box-shadow: none !important;
}

/* Falls ältere grüne Dekorationen noch greifen, werden sie hier neutralisiert */
.knowledge-page-wrapper .info-card-title,
.knowledge-page-wrapper .info-card-front,
.knowledge-page-wrapper .info-card-back {
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34) !important;
}

.knowledge-page-wrapper .info-card:hover .info-card-front,
.knowledge-page-wrapper .info-card:hover .info-card-back,
.knowledge-page-wrapper .info-card:focus-within .info-card-front,
.knowledge-page-wrapper .info-card:focus-within .info-card-back {
  background: rgba(255, 255, 255, 0.085) !important;
}

/*  WISSENSWERTES – RESTLICHES GRÜN AUS ITEMCARDS ENTFERNEN  */

/*  Override nur für die Itemcards der Wissenswertes-Seite  */
.knowledge-page-wrapper .info-card,
.knowledge-page-wrapper .info-card *,
.knowledge-page-wrapper .info-card *::before,
.knowledge-page-wrapper .info-card *::after {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.knowledge-page-wrapper .info-card-front,
.knowledge-page-wrapper .info-card-back {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.070) 0%,
      rgba(255, 255, 255, 0.034) 100%
    ) !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 0.86) !important;
}

.knowledge-page-wrapper .info-card:hover .info-card-front,
.knowledge-page-wrapper .info-card:hover .info-card-back,
.knowledge-page-wrapper .info-card:focus-visible .info-card-front,
.knowledge-page-wrapper .info-card:focus-visible .info-card-back,
.knowledge-page-wrapper .info-card:focus-within .info-card-front,
.knowledge-page-wrapper .info-card:focus-within .info-card-back {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.105) 0%,
      rgba(255, 255, 255, 0.050) 100%
    ) !important;
  border: 0 !important;
}

/* Texte komplett neutralisieren */
.knowledge-page-wrapper .info-card-label,
.knowledge-page-wrapper .info-card-title,
.knowledge-page-wrapper .info-card-subtitle,
.knowledge-page-wrapper .info-card-text,
.knowledge-page-wrapper .info-card-hint,
.knowledge-page-wrapper .info-card-back,
.knowledge-page-wrapper .info-card-back span,
.knowledge-page-wrapper .info-card-content,
.knowledge-page-wrapper .info-card-content span {
  color: rgba(255, 255, 255, 0.86) !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.knowledge-page-wrapper .info-card-title {
  color: #ffffff !important;
  font-weight: 720 !important;
}

.knowledge-page-wrapper .info-card-label {
  color: rgba(220, 220, 220, 0.74) !important;
  font-weight: 650 !important;
}

.knowledge-page-wrapper .info-card-subtitle {
  color: rgba(220, 220, 220, 0.70) !important;
}

.knowledge-page-wrapper .info-card-text {
  color: rgba(225, 225, 225, 0.70) !important;
}

.knowledge-page-wrapper .info-card-hint {
  display: inline-flex !important;
  width: fit-content !important;
  color: rgba(245, 245, 245, 0.82) !important;
  background: rgba(255, 255, 255, 0.085) !important;
  border-radius: 999px !important;
  padding: 8px 11px !important;
}

.knowledge-page-wrapper .info-card:hover .info-card-hint,
.knowledge-page-wrapper .info-card:focus-visible .info-card-hint,
.knowledge-page-wrapper .info-card:focus-within .info-card-hint {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

/* Rückseite der Card ebenfalls grau/weiß statt grün */
.knowledge-page-wrapper .info-card-back span {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600 !important;
}

/* Falls SVG/Icon/Decoration innerhalb einer Card später auftaucht */
.knowledge-page-wrapper .info-card svg,
.knowledge-page-wrapper .info-card path,
.knowledge-page-wrapper .info-card circle,
.knowledge-page-wrapper .info-card line {
  color: rgba(255, 255, 255, 0.78) !important;
  fill: rgba(255, 255, 255, 0.78) !important;
  stroke: rgba(255, 255, 255, 0.78) !important;
}

/*  KONTAKT – DETAILS AUS FOOTER  */

.contact-page-content {
  max-width: 920px !important;
  width: 100%;
  text-align: left !important;
}

.contact-page-hero p {
  max-width: 620px;
  margin: 0.15em auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.65;
  text-align: center;
}

.contact-detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin: 0 0 clamp(22px, 3vw, 34px);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 0 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: inherit !important;
  text-decoration: none !important;
}

.contact-detail-label {
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-detail-value {
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(16px, 1.75vw, 21px);
  font-weight: 670;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

a.contact-detail-item:hover .contact-detail-value,
a.contact-detail-item:focus-visible .contact-detail-value {
  opacity: 0.78;
}

.contact-location-area {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.contact-location-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-width: 0;
}

.contact-location-text strong {
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 760;
  line-height: 1.22;
}

.contact-location-text span:not(.contact-detail-label) {
  color: rgba(255, 255, 255, 0.76);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.62;
}

.contact-map-box {
  min-height: 280px;
  overflow: hidden;
  border-radius: 26px;
}

.contact-map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
  filter: none;
}

@media (max-width: 900px) {
  .contact-detail-list,
  .contact-location-area {
    grid-template-columns: 1fr;
  }

  .contact-map-box,
  .contact-map-box iframe {
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .contact-detail-list {
    gap: 13px;
  }

  .contact-detail-item {
    padding-bottom: 13px;
  }

  .contact-map-box {
    border-radius: 20px;
  }

  .contact-map-box,
  .contact-map-box iframe {
    min-height: 220px;
  }
}

/*  DIALOG – NEUE UNTERSEITE  */

.dialog-page-content {
  max-width: 920px !important;
  width: 100%;
  text-align: left !important;
}

.dialog-page-hero p {
  max-width: 680px;
  margin: 0.15em auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.65;
  text-align: center;
}

.dialog-rumi-quote {
  border: 0;
  color: #ffffff;
  text-align: center;
}

.dialog-rumi-quote cite {
  display: block;
  font-family: 'Manrope', Arial, sans-serif;
  font-style: normal;
}

.dialog-info-section {
  margin: 0 0 clamp(24px, 3.2vw, 36px);
  padding: 0 0 clamp(20px, 2.8vw, 30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dialog-info-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.dialog-info-section h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 760;
  line-height: 1.16;
}

.dialog-info-section h3 {
  margin: 22px 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 720;
  line-height: 1.25;
}

.dialog-info-section p {
  max-width: 860px;
  margin: 0 0 1.05em;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.76;
}

.dialog-time-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 8px 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dialog-time-note span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dialog-time-note strong {
  color: #ffffff;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 760;
  line-height: 1.1;
}

.dialog-time-note em {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-style: normal;
}

.dialog-feature-list,
.dialog-needed-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  width: 100%;
  max-width: none !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.dialog-feature-list li,
.dialog-needed-list li {
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 0 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.22vw, 15px);
  line-height: 1.55;
}

.dialog-feature-list li::before,
.dialog-needed-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.dialog-mail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 8px 0 0;
}

.dialog-mail-links a {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255, 255, 255, 0.52) !important;
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .dialog-feature-list,
  .dialog-needed-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dialog-page-hero p {
    font-size: 12px;
    line-height: 1.5;
  }

  .dialog-info-section p {
    font-size: 12px;
    line-height: 1.58;
  }

  .dialog-time-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .dialog-time-note strong {
    font-size: 20px;
  }
}

/*  DIALOG – ZITAT KOMPAKTER & LESBARER  */

.dialog-rumi-quote {
  max-width: 760px !important;
  margin: 0 auto clamp(18px, 2.4vw, 26px) !important;
  padding: 0 0 clamp(14px, 2vw, 20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.dialog-rumi-quote p {
  max-width: 720px !important;
  margin: 0 auto 8px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: clamp(15px, 1.45vw, 19px) !important;
  font-style: italic !important;
  font-weight: 420 !important;
  line-height: 1.58 !important;
  letter-spacing: 0.005em !important;
  text-align: center !important;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38) !important;
}

.dialog-rumi-quote cite {
  margin-top: 6px !important;
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.035em !important;
}

.dialog-info-section {
  margin-bottom: clamp(18px, 2.5vw, 28px) !important;
  padding-bottom: clamp(16px, 2.2vw, 24px) !important;
}

@media (max-width: 820px) {
  .dialog-rumi-quote p {
    font-size: clamp(14px, 4vw, 17px) !important;
    line-height: 1.54 !important;
  }
}

@media (max-width: 480px) {
  .dialog-rumi-quote {
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
  }

  .dialog-rumi-quote p {
    font-size: 13px !important;
    line-height: 1.48 !important;
  }

  .dialog-rumi-quote cite {
    font-size: 10px !important;
  }
}

/*  TERMINBUCHUNG – NEUE UNTERSEITE  */

.dialog-booking-action {
  margin: 10px 0 22px;
}

.dialog-booking-link,
.booking-back-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94) !important;
  background: rgba(255, 255, 255, 0.10);
  text-decoration: none !important;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.01em;
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease;
}

.dialog-booking-link:hover,
.dialog-booking-link:focus-visible,
.booking-back-action a:hover,
.booking-back-action a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.booking-section {
  margin: 0 0 clamp(22px, 3vw, 34px);
  padding: 0 0 clamp(18px, 2.6vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.booking-section:last-of-type {
  margin-bottom: 0;
}

.booking-section h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 760;
  line-height: 1.16;
}

.booking-section p {
  max-width: 860px;
  margin: 0 0 1.05em;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.76;
}

.booking-needed-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  width: 100%;
  max-width: none !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.booking-needed-list li {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.22vw, 15px);
  line-height: 1.55;
}

.booking-needed-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.booking-time-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.booking-time-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.booking-time-list span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.booking-time-list strong {
  display: block;
  color: #ffffff;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 760;
  line-height: 1.1;
}

.booking-back-action {
  margin-top: clamp(20px, 3vw, 34px);
}

@media (max-width: 720px) {
  .booking-needed-list,
  .booking-time-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dialog-booking-link,
  .booking-back-action a {
    width: 100%;
  }

  .booking-section p {
    font-size: 12px;
    line-height: 1.58;
  }
}

/*  GALERIE – INSTAGRAM UNTERSEITE  */

.gallery-page-hero p {
  max-width: 700px;
  margin: 0.15em auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.65;
  text-align: center;
}

.instagram-embed-area {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.instagram-embed-area > * {
  min-width: 0;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.instagram-embed-area .instagram-media {
  width: min(100%, 540px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

.gallery-empty-state {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 20px) 0;
  text-align: center;
}

.gallery-empty-state h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 760;
  line-height: 1.15;
}

.gallery-empty-state p {
  max-width: 660px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.72;
}

.gallery-note-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.gallery-note-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.03em;
}

@media (max-width: 820px) {
  .instagram-embed-area {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-page-hero p,
  .gallery-empty-state p {
    font-size: 12px;
    line-height: 1.55;
  }

  .gallery-note-list span {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 11px;
  }
}

/*  GALERIE – GOOGLE SHEET INSTAGRAM FEED  */

.instagram-sheet-feed {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.instagram-sheet-item {
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.instagram-sheet-feed .instagram-media {
  width: min(100%, 540px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

.instagram-sheet-feed iframe {
  max-width: 100% !important;
}

@media (max-width: 860px) {
  .instagram-sheet-feed {
    grid-template-columns: 1fr;
  }
}

/*  GALERIE – ECHTES INSTAGRAM GRID OHNE EMBED-UI  */

.gallery-page-content {
  max-width: 1080px !important;
  width: 100%;
  text-align: center !important;
}

/* Neues, sauberes Profilgrid */
.instagram-profile-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 0.8vw, 10px);
  align-items: stretch;
}

/* Quadratische Bildkacheln wie im Instagram-Profil */
.instagram-profile-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  min-width: 0;
  border-radius: 0;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.045)
    );
  color: #ffffff !important;
  text-decoration: none !important;
}

.instagram-profile-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
  transition: transform 0.26s ease, filter 0.26s ease;
}

.instagram-profile-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 760;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
  .instagram-profile-tile:hover img {
    transform: scale(1.045);
    filter: brightness(0.82);
  }

  .instagram-profile-tile:hover .instagram-profile-hover {
    opacity: 1;
  }
}

.instagram-profile-tile:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.instagram-profile-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-family: 'Manrope', Arial, sans-serif;
  text-align: center;
}

.instagram-profile-placeholder strong {
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 780;
  letter-spacing: 0.02em;
}

.instagram-profile-placeholder em {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

/* Alte Embed-Flächen werden nicht mehr als Layout benutzt */
.instagram-sheet-feed,
.instagram-embed-area {
  display: none !important;
}

/* Mobile: 3er Grid beibehalten, damit es wirklich wie Instagram wirkt */
@media (max-width: 640px) {
  .instagram-profile-grid {
    gap: 3px;
  }

  .instagram-profile-hover {
    display: none;
  }
}

@media (max-width: 380px) {
  .instagram-profile-placeholder em {
    display: none;
  }
}

/*  TERMINBUCHUNG – AKTUALISIERTE DATEI  */

/*  TERMINBUCHUNG – UNTERSEITE  */

.booking-page-content {
  max-width: 920px !important;
  width: 100%;
  margin: 0 auto;
  text-align: left !important;
}

.booking-page-hero p {
  max-width: 700px;
  margin: 0.15em auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.65;
  text-align: center;
}

.booking-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 34px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(20, 78, 59, 0.08), rgba(20, 78, 59, 0.025));
  border: 1px solid rgba(20, 78, 59, 0.12);
  border-radius: 18px;
}

.booking-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #174f3b;
  background: rgba(20, 78, 59, 0.09);
  border-radius: 13px;
}

.booking-intro-icon svg {
  width: 23px;
  height: 23px;
}

.booking-intro strong {
  display: block;
  margin: 1px 0 5px;
  color: #16382e;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.booking-intro p {
  margin: 0;
  color: #66736d;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.booking-form {
  position: relative;
  width: 100%;
}

.booking-section {
  width: 100%;
}

.booking-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 23px;
}

.booking-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-top: 1px;
  color: #fff;
  background: #174f3b;
  border-radius: 50%;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.booking-section-heading h2 {
  margin: 0 0 4px;
  color: #17382f;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
}

.booking-section-heading p {
  margin: 0;
  color: #7a8580;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.booking-field {
  min-width: 0;
}

.booking-field-full {
  grid-column: 1 / -1;
}

.booking-field label {
  display: block;
  margin: 0 0 8px;
  color: #334c43;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.booking-field label > span:not(.booking-optional) {
  color: #9c3f3f;
}

.booking-optional {
  display: inline-block;
  margin-left: 4px;
  color: #98a29e !important;
  font-size: 10px;
  font-weight: 600;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  color: #203b32;
  background: #fff;
  border: 1px solid #dfe5e2;
  border-radius: 12px;
  outline: none;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.booking-field textarea {
  min-height: 125px;
  resize: vertical;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: #a7afac;
}

.booking-field input:hover,
.booking-field select:hover,
.booking-field textarea:hover {
  border-color: #c8d4cf;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: rgba(23, 79, 59, 0.62);
  box-shadow: 0 0 0 4px rgba(23, 79, 59, 0.08);
}

.booking-field input[aria-invalid="true"] {
  border-color: #b95858;
  box-shadow: 0 0 0 4px rgba(185, 88, 88, 0.08);
}

.booking-field-help {
  display: block;
  margin-top: 7px;
  color: #8a9590;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  line-height: 1.5;
}

.booking-divider {
  width: 100%;
  height: 1px;
  margin: 34px 0;
  background: #edf0ee;
}

.booking-inline-error {
  margin-top: 14px;
  padding: 11px 13px;
  color: #914444;
  background: #fff4f4;
  border: 1px solid #f0d2d2;
  border-radius: 10px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.booking-request-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 32px;
  padding: 15px 16px;
  color: #5c6863;
  background: #f7f9f8;
  border: 1px solid #e5eae7;
  border-radius: 13px;
}

.booking-request-notice svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 1px;
  color: #174f3b;
}

.booking-request-notice p {
  margin: 0;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  line-height: 1.6;
}

.booking-request-notice strong {
  color: #32483f;
}

.booking-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: #69736f;
  cursor: pointer;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  line-height: 1.6;
}

.booking-privacy input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: #174f3b;
}

.booking-privacy a {
  color: #174f3b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-privacy strong {
  color: #9c3f3f;
}

.booking-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 53px;
  margin-top: 24px;
  padding: 13px 20px;
  color: #fff;
  background: #174f3b;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(23, 79, 59, 0.16);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.17s ease, background-color 0.17s ease, box-shadow 0.17s ease;
}

.booking-submit:hover:not(:disabled) {
  background: #103e2e;
  box-shadow: 0 11px 27px rgba(23, 79, 59, 0.21);
  transform: translateY(-1px);
}

.booking-submit:active:not(:disabled) {
  transform: translateY(0);
}

.booking-submit svg {
  width: 18px;
  height: 18px;
}

.booking-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.booking-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: booking-spin 0.75s linear infinite;
}

.booking-submit.is-loading .booking-submit-spinner {
  display: block;
}

.booking-submit.is-loading .booking-submit-arrow {
  display: none;
}

@keyframes booking-spin {
  to { transform: rotate(360deg); }
}

.booking-form-message {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.booking-form-message-success {
  color: #275840;
  background: #eff9f3;
  border: 1px solid #cce7d7;
}

.booking-form-message-error {
  color: #8b4141;
  background: #fff3f3;
  border: 1px solid #efd0d0;
}

.booking-form-message strong {
  font-size: 13px;
}

.booking-reference {
  margin: 3px 0;
}

.booking-required-note {
  margin: 11px 0 0;
  color: #9aa29f;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  text-align: center;
}

.booking-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 700px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-field-full {
    grid-column: auto;
  }

  .booking-intro {
    gap: 12px;
    margin-bottom: 29px;
    padding: 15px;
    border-radius: 15px;
  }

  .booking-intro-icon {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 11px;
  }

  .booking-intro-icon svg {
    width: 20px;
    height: 20px;
  }

  .booking-section-heading {
    gap: 11px;
    margin-bottom: 19px;
  }

  .booking-step {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    font-size: 11px;
  }

  .booking-section-heading h2 {
    font-size: 16px;
  }

  .booking-divider {
    margin: 28px 0;
  }

  .booking-field input,
  .booking-field select,
  .booking-field textarea {
    font-size: 16px;
  }

  .booking-field input,
  .booking-field select {
    min-height: 51px;
  }
}

@media (max-width: 480px) {
  .booking-page-hero p {
    font-size: 12px;
    line-height: 1.55;
  }

  .booking-intro p {
    font-size: 11px;
  }

  .booking-intro strong {
    font-size: 13px;
  }

  .booking-section-heading p {
    font-size: 10px;
  }

  .booking-submit {
    min-height: 51px;
    font-size: 12px;
    border-radius: 12px;
  }
}

/*  TERMINBUCHUNG – GRÜN DURCH WEISS/NEUTRAL ERSETZEN  */

/* Intro-Box: Grün raus, neutral/weiß rein */
.clean-subpage-terminbuchung .booking-intro {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.105),
      rgba(255, 255, 255, 0.040)
    ) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.clean-subpage-terminbuchung .booking-intro-icon {
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.clean-subpage-terminbuchung .booking-intro strong {
  color: #ffffff !important;
}

.clean-subpage-terminbuchung .booking-intro p {
  color: rgba(255, 255, 255, 0.74) !important;
}

/* Schritt-Zahlen: Hintergrund weiß, Zahl dunkel, damit sie lesbar bleibt */
.clean-subpage-terminbuchung .booking-step {
  color: rgba(18, 22, 20, 0.92) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}

/* Abschnittsüberschriften neutralisieren */
.clean-subpage-terminbuchung .booking-section-heading h2 {
  color: #ffffff !important;
}

.clean-subpage-terminbuchung .booking-section-heading p {
  color: rgba(255, 255, 255, 0.64) !important;
}

/* Labels und Hilfetexte neutral statt grün */
.clean-subpage-terminbuchung .booking-field label {
  color: rgba(255, 255, 255, 0.84) !important;
}

.clean-subpage-terminbuchung .booking-field-help,
.clean-subpage-terminbuchung .booking-optional,
.clean-subpage-terminbuchung .booking-required-note {
  color: rgba(255, 255, 255, 0.56) !important;
}

/* Input-Fokus ohne grüne Akzentfarbe */
.clean-subpage-terminbuchung .booking-field input:focus,
.clean-subpage-terminbuchung .booking-field select:focus,
.clean-subpage-terminbuchung .booking-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.13) !important;
}

/* Hinweisbox neutralisieren */
.clean-subpage-terminbuchung .booking-request-notice {
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.clean-subpage-terminbuchung .booking-request-notice svg {
  color: rgba(255, 255, 255, 0.88) !important;
}

.clean-subpage-terminbuchung .booking-request-notice strong {
  color: #ffffff !important;
}

/* Datenschutz-Link und Checkbox neutral/weiß */
.clean-subpage-terminbuchung .booking-privacy {
  color: rgba(255, 255, 255, 0.68) !important;
}

.clean-subpage-terminbuchung .booking-privacy input {
  accent-color: #ffffff !important;
}

.clean-subpage-terminbuchung .booking-privacy a {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, 0.55) !important;
}

/* Absenden-Button: weiß statt grün, Text dunkel für Lesbarkeit */
.clean-subpage-terminbuchung .booking-submit {
  color: rgba(18, 22, 20, 0.94) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
}

.clean-subpage-terminbuchung .booking-submit:hover:not(:disabled),
.clean-subpage-terminbuchung .booking-submit:focus-visible:not(:disabled) {
  background: #ffffff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.30) !important;
}

.clean-subpage-terminbuchung .booking-submit-spinner {
  border-color: rgba(18, 22, 20, 0.22) !important;
  border-top-color: rgba(18, 22, 20, 0.90) !important;
}

/* Erfolgsmeldung nicht grün, sondern neutral hell */
.clean-subpage-terminbuchung .booking-form-message-success {
  color: rgba(18, 22, 20, 0.90) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}

/* Trennlinien neutral */
.clean-subpage-terminbuchung .booking-divider {
  background: rgba(255, 255, 255, 0.16) !important;
}

/*  LANDING – WILLKOMMEN TEXT IPHONE CLIPPING FIX  */

/* Verhindert, dass Unterlängen wie bei „Hoş geldiniz“ auf iPhone abgeschnitten werden */
.landing-hero-title,
.landing-hero-title span,
.hero-title,
.hero-title span,
.welcome-title,
.welcome-title span,
.clean-welcome-title,
.clean-welcome-title span {
  overflow: visible !important;
  line-height: 1.26 !important;
  padding-bottom: 0.16em !important;
}

/* Falls der Willkommen-Block selbst clippt */
.landing-hero-text,
.landing-hero-content,
.hero-text,
.hero-content,
.welcome-text,
.clean-welcome-text {
  overflow: visible !important;
  padding-bottom: clamp(18px, 3vw, 34px) !important;
}

/* Speziell für iPhone/Safari etwas mehr Luft unter der zweiten Zeile */
@supports (-webkit-touch-callout: none) {
  .landing-hero-title,
  .landing-hero-title span,
  .hero-title,
  .hero-title span,
  .welcome-title,
  .welcome-title span,
  .clean-welcome-title,
  .clean-welcome-title span {
    line-height: 1.32 !important;
    padding-bottom: 0.22em !important;
  }
}

/*  LANDING – IPHONE TEXT-CLIPPING FIX  */

/* Slash auf der Startseite weiß statt grün */
.home .green-slash,
.green-slash {
  color: #ffffff !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
}

/*
   Das Abschneiden kam von .landing-title-line: overflow:hidden + clip-path der Typewriter-Animation schneiden Unterlängen bei „Hoş geldiniz“ auf iPhone/Safari ab.
*/
.home .landing-title-wrap,
.landing-title-wrap {
  overflow: visible !important;
  contain: none !important;
  line-height: 1.18 !important;
  padding-bottom: 0.38em !important;
}

.home .landing-title-line,
.landing-title-line {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 1.24em !important;
  overflow: visible !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  opacity: 1 !important;
  animation: none !important;
  line-height: 1.20 !important;
  padding: 0.10em 0.14em 0.42em 0.06em !important;
  margin: -0.12em 0 -0.30em !important;
  white-space: nowrap !important;
}

.home .landing-title-line::after,
.landing-title-line::after {
  display: none !important;
  content: none !important;
}

/* zweite Zeile bekommt extra Luft unten für g/y/z-Unterlängen */
.home .landing-title-line-two,
.landing-title-line-two {
  padding-bottom: 0.56em !important;
  margin-bottom: -0.40em !important;
}

/* iPhone/Safari bekommt noch mehr Sicherheitsabstand */
@supports (-webkit-touch-callout: none) {
  .home .landing-title-wrap,
  .landing-title-wrap {
    line-height: 1.22 !important;
    padding-bottom: 0.52em !important;
  }

  .home .landing-title-line,
  .landing-title-line {
    min-height: 1.36em !important;
    line-height: 1.26 !important;
    padding-bottom: 0.58em !important;
    margin-bottom: -0.44em !important;
  }

  .home .landing-title-line-two,
  .landing-title-line-two {
    padding-bottom: 0.72em !important;
    margin-bottom: -0.52em !important;
  }
}

@media (max-width: 480px) {
  .home .landing-title-wrap,
  .landing-title-wrap {
    line-height: 1.22 !important;
    padding-bottom: 0.60em !important;
  }

  .home .landing-title-line,
  .landing-title-line {
    line-height: 1.28 !important;
    padding-bottom: 0.64em !important;
    margin-bottom: -0.50em !important;
  }

  .home .landing-title-line-two,
  .landing-title-line-two {
    padding-bottom: 0.82em !important;
    margin-bottom: -0.62em !important;
  }
}

/*  LANDING – DOWN-PFEIL VERBLASST BEIM SCROLLEN  */

.scroll-down-arrow,
.landing-scroll-arrow,
.scroll-down-button,
.landing-scroll-down {
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease !important;
}

.scroll-down-arrow.is-faded,
.landing-scroll-arrow.is-faded,
.scroll-down-button.is-faded,
.landing-scroll-down.is-faded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
}

/*  LANDING – ECHTER DOWN-PFEIL FADET  */

.landing-scroll-cue {
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease !important;
}

.landing-scroll-cue.is-faded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
}

/*  DESKTOP – GEBETSZEITEN OHNE INTERNEN SCROLL & WISSENSWERTES CARD-FIX  */

/*
   Desktop-only: Die Gebetszeiten-Seite bekommt ein kompaktes Layout, damit alle Zeiten ohne vertikalen Innen-Scrollbar sichtbar sind. Mobile bleibt unverändert.
*/
@media (min-width: 1025px) {
  .clean-subpage-gebetszeiten .clean-subpage-main {
    padding-top: clamp(10px, 1.5vh, 18px) !important;
    padding-bottom: clamp(10px, 1.5vh, 18px) !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .clean-subpage-gebetszeiten .clean-subpage-card,
  .clean-subpage-gebetszeiten .prayer-page-surface {
    width: min(900px, 100%) !important;
    height: auto !important;
    max-height: calc(100dvh - var(--clean-subpage-header-height, 128px) - 24px) !important;
    overflow: visible !important;
  }

  .clean-subpage-gebetszeiten .clean-subpage-scroll {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: clamp(8px, 1.4vh, 16px) clamp(18px, 2.4vw, 32px) !important;
    scrollbar-width: none !important;
  }

  .clean-subpage-gebetszeiten .clean-subpage-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .prayer-page .prayer-page-hero {
    margin-bottom: clamp(8px, 1.35vh, 14px) !important;
  }

  .prayer-page .prayer-page-hero h1 {
    font-size: clamp(58px, 5.7vw, 92px) !important;
    line-height: 0.96 !important;
    padding-top: 0.02em !important;
    padding-bottom: 0.06em !important;
  }

  .prayer-page .prayer-page-hero p {
    margin-top: 0 !important;
    font-size: clamp(13px, 1vw, 16px) !important;
    line-height: 1.35 !important;
  }

  .prayer-page .clean-subpage-hero::after,
  .prayer-page .prayer-page-hero::after {
    margin-top: 8px !important;
    height: 1px !important;
  }

  .prayer-page .prayer-times-content {
    max-width: 730px !important;
  }

  .prayer-page .prayer-times-panel {
    width: 100% !important;
    margin: 0 auto !important;
  }

  .prayer-page .prayer-times-meta {
    margin-bottom: clamp(8px, 1.1vh, 12px) !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  .prayer-page .prayer-times-list {
    gap: 0 !important;
  }

  .prayer-page .prayer-time-row {
    min-height: 0 !important;
    padding: clamp(7px, 1.08vh, 11px) 16px !important;
  }

  .prayer-page .prayer-time-row.is-next-prayer {
    padding: clamp(10px, 1.35vh, 14px) 18px !important;
    border-radius: 20px !important;
  }

  .prayer-page .prayer-time-name strong {
    font-size: clamp(20px, 1.55vw, 26px) !important;
    line-height: 1.05 !important;
  }

  .prayer-page .prayer-time-name span {
    margin-top: 2px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .prayer-page .prayer-time-value {
    font-size: clamp(34px, 3vw, 48px) !important;
    line-height: 0.98 !important;
  }

  .prayer-page .prayer-times-footer {
    margin-top: clamp(8px, 1.15vh, 12px) !important;
    padding-top: 8px !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
}

/*
   Wissenswertes: Die „Details anzeigen“-Pille bekommt auf Desktop festen Abstand und reservierten Platz, damit sie den Text nicht mehr überdeckt.
*/
@media (min-width: 1025px) {

  .knowledge-page-wrapper .info-card-front {
    gap: 0 !important;
  }

  .knowledge-page-wrapper .info-card-label {
    flex: 0 0 auto !important;
  }

  .knowledge-page-wrapper .info-card-title {
    font-size: clamp(18px, 1.45vw, 22px) !important;
  }

  .knowledge-page-wrapper .info-card-text {
    -webkit-line-clamp: 2 !important;
    margin-bottom: 0 !important;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {

  .knowledge-page-wrapper .info-card-title {
    font-size: 18px !important;
  }
}

/*  WISSENSWERTES – ITEMCARD TEXT NICHT KÜRZEN  */

/*
   Desktop: Text in den Wissenswertes-Karten vollständig anzeigen. Keine Ellipse, kein Line-Clamp, keine abgeschnittenen Zeilen.
*/
@media (min-width: 1025px) {
  .knowledge-page-wrapper .info-card,
  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    height: auto !important;
    min-height: 235px !important;
    overflow: visible !important;
  }

  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    gap: 0 !important;
    padding-bottom: 26px !important;
  }

  .knowledge-page-wrapper .info-card-title,
  .knowledge-page-wrapper .info-card-subtitle,
  .knowledge-page-wrapper .info-card-text,
  .knowledge-page-wrapper .info-card-content,
  .knowledge-page-wrapper .info-card-content p {
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    max-height: none !important;
  }

  .knowledge-page-wrapper .info-card-subtitle,
  .knowledge-page-wrapper .info-card-text {
    margin-bottom: 14px !important;
    line-height: 1.48 !important;
  }

  .knowledge-page-wrapper .info-card-hint {
    flex: 0 0 auto !important;
  }

  .knowledge-page-wrapper .info-card-grid,
  .knowledge-page-wrapper .info-cards,
  .knowledge-page-wrapper .knowledge-cards {
    align-items: stretch !important;
  }
}

/* Auch auf kleineren Geräten keine harte Ellipse im Text erzwingen */
.knowledge-page-wrapper .info-card-text,
.knowledge-page-wrapper .info-card-subtitle {
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

/*  WISSENSWERTES – DETAILS-AKTION ALS ICON  */

/*
   Charmante Desktop-Lösung: Die „Details anzeigen“-Pille sitzt nicht mehr unten im Textbereich, sondern wird als kleines dezentes Öffnen-Icon oben rechts dargestellt. Dadurch kann der Card-Text vollständig ausgeschrieben bleiben.
*/
@media (min-width: 1025px) {

  .knowledge-page-wrapper .info-card-front {
    position: absolute !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  /*
     Aus der breiten Pille wird ein kleines Icon. Der Text bleibt für Screenreader/Markup erhalten, wird optisch aber ersetzt.
  */
  .knowledge-page-wrapper .info-card-hint {
    margin: 0 !important;
    place-items: center !important;
  }

  .knowledge-page-wrapper .info-card-hint::after {
    content: "↗" !important;
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    color: rgba(255, 255, 255, 0.92) !important;
    background: transparent !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 780 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    transform: translate(0, -1px) !important;
  }

  .knowledge-page-wrapper .info-card:hover .info-card-hint::after,
  .knowledge-page-wrapper .info-card:focus-visible .info-card-hint::after,
  .knowledge-page-wrapper .info-card:focus-within .info-card-hint::after {
    color: #ffffff !important;
  }
}

/* Auf niedrigeren Desktop-Höhen trotzdem genug Platz für kompletten Card-Text */
@media (min-width: 1025px) and (max-height: 820px) {

  .knowledge-page-wrapper .info-card-hint {
    top: 19px !important;
    right: 19px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
}

/*  WISSENSWERTES – MEHR LESEN CHEVRON  */
@media (min-width: 1025px) {
  .knowledge-page-wrapper .info-card,
  .knowledge-page-wrapper .info-card-inner,
  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    min-height: 292px !important;
    height: auto !important;
  }

  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    position: absolute !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 28px !important;
    overflow: hidden !important;
  }

  .knowledge-page-wrapper .info-card-label {
    max-width: 100% !important;
    margin-bottom: 17px !important;
  }

  .knowledge-page-wrapper .info-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }

  .knowledge-page-wrapper .info-card-title,
  .knowledge-page-wrapper .info-card-subtitle,
  .knowledge-page-wrapper .info-card-text {
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    max-height: none !important;
  }

  .knowledge-page-wrapper .info-card-title {
    margin-bottom: 10px !important;
    line-height: 1.13 !important;
  }

  .knowledge-page-wrapper .info-card-subtitle {
    margin-bottom: 9px !important;
    line-height: 1.30 !important;
  }

  .knowledge-page-wrapper .info-card-text {
    margin: 0 0 18px !important;
    font-size: clamp(12px, 0.92vw, 14px) !important;
    line-height: 1.43 !important;
  }

  /*
     Die Aktion ist jetzt wieder lesbar, aber klein und sauber: „Mehr lesen ›“
  */
  .knowledge-page-wrapper .info-card-hint {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: fit-content !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;

    margin-top: auto !important;
    padding: 8px 13px 8px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    gap: 6px !important;

    border-radius: 999px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 780 !important;
    letter-spacing: 0.035em !important;
    text-transform: uppercase !important;
    text-indent: 0 !important;
    overflow: visible !important;

    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
    z-index: 5 !important;
  }

  .knowledge-page-wrapper .info-card-hint::before,
  .knowledge-page-wrapper .info-card-hint::after {
    display: none !important;
    content: none !important;
  }

  .knowledge-page-wrapper .info-card:hover .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-visible .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-within .info-card-hint {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
  }
}

/* Kompaktere Desktop-Höhen */
@media (min-width: 1025px) and (max-height: 820px) {
  .knowledge-page-wrapper .info-card,
  .knowledge-page-wrapper .info-card-inner,
  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    min-height: 278px !important;
  }

  .knowledge-page-wrapper .info-card-front,
  .knowledge-page-wrapper .info-card-back {
    padding: 24px !important;
  }

  .knowledge-page-wrapper .info-card-text {
    font-size: 12px !important;
    line-height: 1.38 !important;
    margin-bottom: 15px !important;
  }

  .knowledge-page-wrapper .info-card-hint {
    padding: 7px 12px !important;
    font-size: 10px !important;
  }
}

/*  WISSENSWERTES – MEHR-LESEN ETWAS TIEFER  */

/*  WISSENSWERTES – MEHR-LESEN NOCH TIEFER  */

@media (min-width: 1025px) {
  .knowledge-page-wrapper .info-card-hint {
    transform: translateY(12px) !important;
  }

  .knowledge-page-wrapper .info-card:hover .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-visible .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-within .info-card-hint {
    transform: translateY(12px) !important;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .knowledge-page-wrapper .info-card-hint {
    transform: translateY(10px) !important;
  }

  .knowledge-page-wrapper .info-card:hover .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-visible .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-within .info-card-hint {
    transform: translateY(10px) !important;
  }
}

/*  SPENDEN / TWINGLE  */

.clean-subpage-spenden .spenden-intro p {
  margin: 0;
}

@media (max-width: 768px) {

  .clean-subpage-spenden .twingle-spendenformular {
    min-height: 350px;
    padding: 12px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {

  .clean-subpage-spenden .twingle-spendenformular {
    width: 100%;
    min-height: 320px;
    padding: 8px;
    border-radius: 18px;
  }
}

/*  SPENDEN – ZAHLUNGSART-AUSWAHL  */

.clean-subpage-spenden .clean-subpage-spenden-content {
  width: 100%;
  max-width: 920px;
}

.clean-subpage-spenden .spenden-intro {
  width: min(680px, 100%);
  margin: 0 auto 28px;
}

.clean-subpage-spenden .spenden-method-selector,
.clean-subpage-spenden .spenden-method-panel {
  width: min(860px, 100%);
  margin: 0 auto;
}

.clean-subpage-spenden .spenden-method-selector[hidden],
.clean-subpage-spenden .spenden-method-panel[hidden],
.clean-subpage-spenden .twingle-loading[hidden],
.clean-subpage-spenden .twingle-error[hidden] {
  display: none !important;
}

.clean-subpage-spenden .spenden-selector-heading {
  width: min(680px, 100%);
  margin: 0 auto 22px;
  text-align: center;
}

.clean-subpage-spenden .spenden-selector-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  margin: 0 0 9px;
  padding: 5px 12px;
  border: 1px solid rgba(187, 247, 208, 0.28);
  border-radius: 999px;
  background: rgba(20, 83, 45, 0.24);
  color: rgba(220, 252, 231, 0.90);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

/* Weiße Zahlungsart-Pille in der Auswahlansicht */
.clean-subpage-spenden .spenden-method-selector .spenden-selector-kicker {
  margin-bottom: 18px;
  border-color: rgba(255, 255, 255, 0.92);
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.clean-subpage-spenden .spenden-selector-heading h2,
.clean-subpage-spenden .spenden-panel-heading h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
}

.clean-subpage-spenden .spenden-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.clean-subpage-spenden .spenden-paypal-form {
  display: block;
  width: 100%;
  margin: 0;
}

.clean-subpage-spenden .spenden-method-card,
.clean-subpage-spenden .clean-subpage-content .spenden-method-card {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 100%;
  min-height: 126px;
  margin: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.075) 55%,
      rgba(255, 255, 255, 0.035) 100%
    );
  color: #ffffff;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.clean-subpage-spenden .spenden-method-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.18), transparent 42%);
  transition: opacity 180ms ease;
}

.clean-subpage-spenden .spenden-method-card:hover,
.clean-subpage-spenden .spenden-method-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(187, 247, 208, 0.54);
  background:
    linear-gradient(
      145deg,
      rgba(20, 83, 45, 0.44) 0%,
      rgba(255, 255, 255, 0.10) 100%
    );
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.clean-subpage-spenden .spenden-method-card:hover::before,
.clean-subpage-spenden .spenden-method-card:focus-visible::before {
  opacity: 1;
}

.clean-subpage-spenden .spenden-method-card:focus-visible {
  outline: 2px solid rgba(187, 247, 208, 0.85);
  outline-offset: 3px;
}

.clean-subpage-spenden .spenden-method-card.is-leaving {
  opacity: 0.72;
  pointer-events: none;
}

.clean-subpage-spenden .spenden-method-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  color: #ffffff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.clean-subpage-spenden .spenden-method-icon-twingle {
  background: linear-gradient(145deg, #237a46 0%, #14532d 100%);
}

.clean-subpage-spenden .spenden-method-icon-paypal {
  background: linear-gradient(145deg, #0070ba 0%, #003087 100%);
}

.clean-subpage-spenden .spenden-method-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
}

.clean-subpage-spenden .spenden-method-copy strong {
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

/* Desktop: Symbol + Text gemeinsam als Einheit zentrieren */
@media (min-width: 769px) {
  .clean-subpage-spenden .spenden-method-card,
  .clean-subpage-spenden .clean-subpage-content .spenden-method-card {
    justify-content: center;
    text-align: center;
  }

  .clean-subpage-spenden .spenden-method-icon {
    flex: 0 0 54px;
  }

  .clean-subpage-spenden .spenden-method-copy {
    flex: 0 0 auto;
    width: auto;
    align-items: center;
    text-align: center;
  }
}

.clean-subpage-spenden .spenden-paypal-note {
  margin: 15px auto 0;
  color: rgba(255, 255, 255, 0.50);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.clean-subpage-spenden .spenden-method-panel {
  padding-top: 2px;
}

.clean-subpage-spenden .spenden-panel-topbar {
  width: 100%;
  margin: 0 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.clean-subpage-spenden .spenden-panel-heading {
  text-align: left;
}

.clean-subpage-spenden .spenden-panel-heading h2 {
  margin-bottom: 0;
}

.clean-subpage-spenden .spenden-change-method,
.clean-subpage-spenden .clean-subpage-content .spenden-change-method {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  min-height: 40px;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.90);
  box-shadow: none;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.clean-subpage-spenden .spenden-change-method:hover,
.clean-subpage-spenden .spenden-change-method:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(187, 247, 208, 0.46);
}

.clean-subpage-spenden .twingle-loading {
  width: 100%;
  min-height: 92px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.clean-subpage-spenden .twingle-loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.20);
  border-top-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  animation: spendenTwingleSpin 800ms linear infinite;
}

@keyframes spendenTwingleSpin {
  to {
    transform: rotate(360deg);
  }
}

.clean-subpage-spenden .twingle-spendenformular {
  position: relative;
  width: 100%;
  max-width: 860px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.clean-subpage-spenden .twingle-spendenformular.is-loaded {
  min-height: 400px;
  padding: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.90) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.clean-subpage-spenden .twingle-spendenformular iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  margin: 0 auto;
}

.clean-subpage-spenden .twingle-spendenformular > div {
  width: 100%;
  max-width: 100%;
}

.clean-subpage-spenden .twingle-error {
  margin: 14px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(254, 202, 202, 0.28);
  border-radius: 16px;
  background: rgba(127, 29, 29, 0.20);
  color: rgba(254, 226, 226, 0.92);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 768px) {
  .clean-subpage-spenden .spenden-intro {
    margin-bottom: 20px;
  }

  .clean-subpage-spenden .spenden-selector-heading {
    margin-bottom: 17px;
  }

  .clean-subpage-spenden .spenden-method-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .clean-subpage-spenden .spenden-method-card,
  .clean-subpage-spenden .clean-subpage-content .spenden-method-card {
    min-height: 104px;
    padding: 16px;
    border-radius: 20px;
  }

  .clean-subpage-spenden .spenden-method-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 21px;
  }

  .clean-subpage-spenden .spenden-method-copy strong {
    font-size: 17px;
  }

  .clean-subpage-spenden .spenden-panel-topbar {
    align-items: center;
  }

  .clean-subpage-spenden .twingle-spendenformular.is-loaded {
    min-height: 350px;
    padding: 12px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .clean-subpage-spenden .spenden-intro {
    margin-bottom: 16px;
  }

  .clean-subpage-spenden .spenden-selector-kicker {
    min-height: 26px;
    margin-bottom: 7px;
    padding: 5px 10px;
    font-size: 9px;
  }

  .clean-subpage-spenden .spenden-method-selector .spenden-selector-kicker {
    margin-bottom: 14px;
  }

  .clean-subpage-spenden .spenden-selector-heading h2,
  .clean-subpage-spenden .spenden-panel-heading h2 {
    font-size: 21px;
  }

  .clean-subpage-spenden .spenden-method-card,
  .clean-subpage-spenden .clean-subpage-content .spenden-method-card {
    min-height: 94px;
    gap: 13px;
    padding: 14px;
    border-radius: 18px;
  }

  .clean-subpage-spenden .spenden-method-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 19px;
  }

  .clean-subpage-spenden .spenden-method-copy strong {
    font-size: 16px;
  }

  .clean-subpage-spenden .spenden-paypal-note {
    margin-top: 11px;
    font-size: 9px;
  }

  .clean-subpage-spenden .spenden-panel-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .clean-subpage-spenden .spenden-change-method,
  .clean-subpage-spenden .clean-subpage-content .spenden-change-method {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 10px;
  }

  .clean-subpage-spenden .twingle-loading {
    min-height: 78px;
    border-radius: 17px;
    font-size: 11px;
  }

  .clean-subpage-spenden .twingle-spendenformular.is-loaded {
    width: 100%;
    min-height: 320px;
    padding: 8px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clean-subpage-spenden .spenden-method-card,
  .clean-subpage-spenden .spenden-change-method {
    transition: none;
  }

  .clean-subpage-spenden .twingle-loading-spinner {
    animation-duration: 1600ms;
  }
}

/*  MOBILE – LANDING HEADER WIE UNTERSEITEN  */

/*
   Mobile/Tablet: Header und Burger der Landingpage werden auf exakt dieselben Maße, Abstände und Ebenen wie bei den Clean-Unterseiten gesetzt.
*/
@media (max-width: 768px) {
  .home .landing-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9500 !important;
    min-height: 96px !important;
    padding: 22px 16px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    background: transparent !important;
    pointer-events: none !important;
  }

  .home .landing-header .landing-logo-link,
  .home .landing-header .landing-burger-button {
    pointer-events: auto !important;
  }

  .home .landing-header .landing-logo-img {
    height: 72px !important;
    max-width: 56vw !important;
  }

  .home .landing-header .landing-burger-button,
  .home .landing-header .burger-button {
    position: relative !important;
    width: 54px !important;
    height: 54px !important;
    margin-top: 6px !important;
    z-index: 2147483600 !important;
  }

  .home .landing-header .landing-menu-backdrop,
  .home .landing-header .landing-menu-backdrop.is-visible,
  .home .landing-header .menu-backdrop,
  .home .landing-header .menu-backdrop.is-visible {
    position: fixed !important;
    z-index: 2147482000 !important;
  }

  .home .landing-header .landing-main-nav,
  .home .landing-header .landing-main-nav.is-open,
  .home .landing-header .main-nav,
  .home .landing-header .main-nav.is-open {
    position: fixed !important;
    z-index: 2147483000 !important;
    font-family: 'Manrope', Arial, sans-serif !important;
  }
}

@media (max-width: 480px) {
  .home .landing-header {
    padding: 20px 14px 0 !important;
  }

  .home .landing-header .landing-logo-img {
    height: 64px !important;
    max-width: 58vw !important;
  }

  .home .landing-header .landing-burger-button,
  .home .landing-header .burger-button {
    width: 50px !important;
    height: 50px !important;
    margin-top: 8px !important;
  }
}

/*  HEADER / NAVIGATION – EINHEITLICH  */

/*
   Eine einzige gemeinsame Header-/Navigationsdefinition für Startseite und sämtliche Unterseiten. Alte Desktop-Grid-/Spacer-Lösungen wurden entfernt, damit keine Body-/Seitentyp-Klasse die Position verändern kann.
*/

/* Browserbreite auf Seiten mit und ohne vertikalen Seiten-Scroll stabil halten. */
html {
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(0, 0, 0, 0.08);
}

body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(0, 0, 0, 0.08);
}

@media (min-width: 1025px) {
  html {
    overflow-y: scroll;
  }
}

.clean-subpage-scroll,
.booking-page-content,
.dialog-page-content,
.gallery-page-content {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.clean-subpage-scroll::-webkit-scrollbar,
.booking-page-content::-webkit-scrollbar,
.dialog-page-content::-webkit-scrollbar,
.gallery-page-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.clean-subpage-scroll::-webkit-scrollbar-track,
.booking-page-content::-webkit-scrollbar-track,
.dialog-page-content::-webkit-scrollbar-track,
.gallery-page-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.clean-subpage-scroll::-webkit-scrollbar-thumb,
.booking-page-content::-webkit-scrollbar-thumb,
.dialog-page-content::-webkit-scrollbar-thumb,
.gallery-page-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.clean-subpage-scroll::-webkit-scrollbar-thumb:hover,
.booking-page-content::-webkit-scrollbar-thumb:hover,
.dialog-page-content::-webkit-scrollbar-thumb:hover,
.gallery-page-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.42);
}

/* Eine einzige Divider-Linie; ::after wird nicht mehr als Grid-Spacer missbraucht. */
body .page-wrapper header.landing-header {
  border-bottom: 0 !important;
}

body .page-wrapper header.landing-header::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: 1px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

body .page-wrapper header.landing-header::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

body .page-wrapper header.landing-header > * {
  z-index: 2;
}

@media (min-width: 1025px) {
  /* Exakt dieselbe Header-Geometrie auf Startseite und Unterseiten. */
  body .page-wrapper header.landing-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 112px !important;
    height: 138px !important;
    margin: 0 !important;
    padding: 28px 38px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-sizing: border-box !important;
    pointer-events: none !important;

    /* Alte Grid-Regeln vollständig neutralisieren. */
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-columns: auto !important;
    grid-auto-rows: auto !important;
  }

  body .page-wrapper header.landing-header .landing-logo-link {
    position: relative !important;
    z-index: 30 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;

    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    justify-self: auto !important;
    align-self: auto !important;
  }

  /*
     Wichtig: Die Nav erhält keine Breite des Header-Grids und keinen Spacer. Die Nav wird absolut innerhalb des auf 100% Breite liegenden Headers zentriert. So bleibt die horizontale Position identisch, scrollt auf der Landingpage aber gemeinsam mit dem Header aus dem Viewport heraus.
  */
  body .page-wrapper header.landing-header nav#main-navigation {
    position: absolute !important;
    top: 64px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    align-content: center !important;

    width: max-content !important;
    min-width: 0 !important;
    max-width: calc(100vw - 360px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;
    gap: clamp(14px, 1.45vw, 24px) !important;

    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    justify-self: auto !important;
    align-self: auto !important;

    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: auto !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-sizing: border-box !important;
    text-align: center !important;
    z-index: 2147483000 !important;
  }

  body .page-wrapper header.landing-header nav#main-navigation a {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 7px 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    color: rgba(255, 255, 255, 0.90) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: clamp(12px, 0.95vw, 15px) !important;
    font-weight: 680 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;

    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
  }

  /* Aktiv/Hover darf die Breite der Linkleiste nicht verändern. */
  body .page-wrapper header.landing-header nav#main-navigation a:hover,
  body .page-wrapper header.landing-header nav#main-navigation a:focus-visible,
  body .page-wrapper header.landing-header nav#main-navigation a.is-active,
  body .page-wrapper header.landing-header nav#main-navigation a[aria-current="page"] {
    color: #ffffff !important;
    font-weight: 680 !important;
    background: transparent !important;
  }

  body .page-wrapper header.landing-header nav#main-navigation::before,
  body .page-wrapper header.landing-header nav#main-navigation::after,
  body .page-wrapper header.landing-header nav#main-navigation a::before,
  body .page-wrapper header.landing-header nav#main-navigation a::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Desktop verwendet ausschließlich die horizontale Navigation. */
  body .page-wrapper header.landing-header .burger-button,
  body .page-wrapper header.landing-header .landing-burger-button,
  body .page-wrapper header.landing-header .menu-backdrop,
  body .page-wrapper header.landing-header .landing-menu-backdrop {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .scroll-top-button {
    display: none !important;
  }
}

/* Kompakter auf kleineren Desktop-/Laptop-Breiten; Zentrierung bleibt relativ zum Header. */
@media (min-width: 1025px) and (max-width: 1360px) {
  body .page-wrapper header.landing-header nav#main-navigation {
    top: 59px !important;
    max-width: calc(100vw - 300px) !important;
    gap: 12px !important;
  }

  body .page-wrapper header.landing-header nav#main-navigation a {
    font-size: 12px !important;
  }
}

/*  HYBRIDE SPA-NAVIGATION – Der vorhandene Videoknoten bleibt bei internen Seitenwechseln erhalten.  */
html[aria-busy="true"] {
  cursor: progress;
}

body.spa-navigating .main-nav a {
  cursor: progress;
}

/*  WISSENSWERTES – STICKY CLOSE BUTTON ( )  */
.knowledge-page-wrapper .info-popup-dialog {
  position: relative;
}

.knowledge-page-wrapper .info-popup-close {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .knowledge-page-wrapper .info-popup-close {
    margin-bottom: -38px !important;
  }
}

/*  VERANSTALTUNGEN – CLEAN MODERN CARDS + BILD-LIGHTBOX  */
.events-page-content {
  padding-top: 20px;
}

.events-list {
  display: grid;
  gap: 22px;
}

.event-list-card {
  --event-accent: #2f6b44;
  --event-pill-bg: #eef7f1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 28%, 250px);
  gap: clamp(18px, 2.7vw, 34px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.event-list-card--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.event-list-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.event-list-date {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  width: fit-content;
  max-width: none;
  margin-bottom: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--event-pill-bg);
  color: var(--event-accent);
  white-space: nowrap;
}

.event-list-date-icon,
.event-list-time-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-list-date time {
  display: block;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  color: inherit;
  white-space: nowrap;
}

.event-list-body {
  min-width: 0;
  width: 100%;
}

.event-list-body h2 {
  margin: 0 0 15px;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #111111;
  text-align: left;
}

.event-list-time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--event-accent);
  text-align: left;
}

.event-list-description {
  margin-top: 22px;
  max-width: 30ch;
  color: #61646b;
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.55;
  text-align: left;
}

.event-list-description p {
  margin: 0;
  text-align: left;
}

.event-list-description > :first-child {
  margin-top: 0;
}

.event-list-description > :last-child {
  margin-bottom: 0;
}

.event-image-button {
  display: block;
  width: 100%;
  min-height: 210px;
  aspect-ratio: 0.84 / 1;
  align-self: center;
  justify-self: end;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #ececec;
  cursor: zoom-in;
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 10px 24px rgba(0, 0, 0, 0.10);
  isolation: isolate;
}

.event-image-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
  pointer-events: none;
}

.event-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease, filter 180ms ease;
}

.event-image-zoom-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.42);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 160ms ease, background 160ms ease;
  pointer-events: none;
}

.event-image-zoom-hint svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-image-button:hover img,
.event-image-button:focus-visible img {
  transform: scale(1.025);
  filter: brightness(0.94);
}

.event-image-button:hover .event-image-zoom-hint,
.event-image-button:focus-visible .event-image-zoom-hint {
  transform: scale(1.08);
  background: rgba(17, 24, 39, 0.60);
}

.event-image-button:focus-visible {
  outline: 3px solid rgba(20, 83, 45, 0.38);
  outline-offset: 3px;
}

.events-empty-state {
  padding: 26px 0 10px;
  text-align: center;
  color: #52525b;
}

.events-admin-note {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.75;
}

@media (max-width: 800px) {

  .event-list-description {
    max-width: 26ch;
  }
}

@media (max-width: 520px) {

  .event-list-body h2 {
    margin-bottom: 11px;
  }

  .event-list-description {
    max-width: 22ch;
  }

  .event-image-button {
    min-height: 156px;
  }
}

@media (max-width: 390px) {
  .event-list-card {
    grid-template-columns: minmax(0, 1fr) 122px;
    gap: 14px;
    padding: 18px;
  }

  .event-list-date {
    padding: 7px 11px;
  }

  .event-list-date time {
    font-size: 10.8px;
  }

  .event-list-body h2 {
    font-size: clamp(18px, 5.8vw, 24px);
  }

  .event-list-time {
    font-size: 13px;
  }

  .event-list-description {
    max-width: 20ch;
    font-size: 12.5px;
  }

  .event-image-button {
    min-height: 142px;
  }
}

@media (max-width: 340px) {
  .event-list-card {
    grid-template-columns: 1fr;
  }

  .event-image-button {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 11;
    justify-self: stretch;
  }
}

.event-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.event-image-lightbox.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.event-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.86);
  cursor: zoom-out;
}

.event-image-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1100px, 94vw);
  height: min(820px, 88vh);
  pointer-events: none;
}

.event-image-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.event-image-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 800px) {
  .events-list {
    gap: 16px;
  }

  .event-list-card {
    grid-template-columns: minmax(0, 1fr) clamp(116px, 33vw, 165px);
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
  }

  .event-list-date {
    gap: 7px;
    margin-bottom: 18px;
    padding: 8px 12px;
  }

  .event-list-date-icon {
    width: 18px;
    height: 18px;
  }

  .event-list-date time {
    font-size: 13px;
  }

  .event-list-body h2 {
    margin-bottom: 11px;
    font-size: clamp(22px, 6vw, 30px);
  }

  .event-list-time {
    gap: 7px;
    font-size: 15px;
  }

  .event-list-time-icon {
    width: 19px;
    height: 19px;
  }

  .event-list-description {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.5;
  }

  .event-image-button {
    min-height: 0;
    aspect-ratio: 0.88 / 1;
    border-radius: 8px;
  }

  .event-image-zoom-hint {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .event-image-zoom-hint svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 520px) {
  .events-page-content {
    padding-top: 12px;
  }

  .event-list-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 13px;
    padding: 17px;
    border-radius: 20px;
  }

  .event-list-date {
    margin-bottom: 15px;
    padding: 7px 10px;
  }

  .event-list-date time {
    font-size: 12px;
  }

  .event-list-date-icon {
    width: 16px;
    height: 16px;
  }

  .event-list-body h2 {
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.12;
  }

  .event-list-time {
    font-size: 13px;
  }

  .event-list-time-icon {
    width: 17px;
    height: 17px;
  }

  .event-list-description {
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.45;
  }

  .event-image-button {
    aspect-ratio: 0.82 / 1;
  }
}

@media (max-width: 360px) {
  .event-list-card {
    grid-template-columns: 1fr;
  }

  .event-image-button {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  .event-image-lightbox {
    padding: 14px;
  }

  .event-image-lightbox-dialog {
    width: 100%;
    height: 88vh;
  }

  .event-image-lightbox-close {
    top: 6px;
    right: 6px;
  }
}

/*  – WISSENSWERTES POPUP / ITEMCARD-FARBEN  */
.knowledge-page-wrapper .info-popup-dialog {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #374151;
}

.knowledge-page-wrapper .info-popup-content h2,
.knowledge-page-wrapper .info-popup-content h3 {
  color: #6b7280;
}

.knowledge-page-wrapper .info-popup-close {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.24);
}

.knowledge-page-wrapper .info-popup-close:hover,
.knowledge-page-wrapper .info-popup-close:focus-visible {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

/*  – UNTERRICHT AUS GOOGLE SHEETS  */
body.lesson-popup-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  touch-action: none;
}

.lessons-page-content {
  padding-top: 20px;
}

.lessons-list {
  display: grid;
  gap: 22px;
}

.lesson-list-card {
  --lesson-accent: #2f6b44;
  --lesson-pill-bg: #eef7f1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 28%, 250px);
  gap: clamp(18px, 2.7vw, 34px);
  align-items: center;
  width: 100%;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.10);
  color: #111111;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lesson-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.13);
  border-color: color-mix(in srgb, var(--lesson-accent) 24%, transparent);
}

.lesson-list-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--lesson-accent) 38%, transparent);
  outline-offset: 3px;
}

.lesson-list-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.lesson-list-school-year {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--lesson-pill-bg);
  color: var(--lesson-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.lesson-list-school-year svg,
.lesson-list-meta-row svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lesson-list-body {
  min-width: 0;
  width: 100%;
}

.lesson-list-body h2 {
  margin: 0 0 10px;
  color: #111111;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: left;
}

.lesson-list-subtitle {
  margin: 0 0 18px;
  color: #61646b;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.5;
  text-align: left;
}

.lesson-list-meta {
  display: grid;
  gap: 9px;
}

.lesson-list-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4f535a;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.45;
  text-align: left;
}

.lesson-list-meta-row svg {
  color: var(--lesson-accent);
  margin-top: 1px;
}

.lesson-list-meta-row strong {
  color: #26282d;
  font-weight: 800;
}

.lesson-list-more {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 20px;
  color: var(--lesson-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lesson-list-more::after {
  content: "→";
  margin-left: 7px;
  transition: transform 160ms ease;
}

.lesson-list-card:hover .lesson-list-more::after,
.lesson-list-card:focus-visible .lesson-list-more::after {
  transform: translateX(3px);
}

.lesson-list-image-wrap {
  position: relative;
  width: 100%;
  min-height: 210px;
  aspect-ratio: 0.84 / 1;
  align-self: center;
  justify-self: end;
  overflow: hidden;
  border-radius: 4px;
  background: #ececec;
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 10px 24px rgba(0, 0, 0, 0.10);
  isolation: isolate;
}

.lesson-list-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease, filter 180ms ease;
}

.lesson-list-card:hover .lesson-list-image-wrap img,
.lesson-list-card:focus-visible .lesson-list-image-wrap img {
  transform: scale(1.025);
  filter: brightness(0.95);
}

.lessons-empty-state {
  padding: 30px 0 14px;
  text-align: center;
  color: #52525b;
}

.lessons-empty-state h2 {
  margin: 0 0 10px;
  color: #26282d;
  font-size: 24px;
}

.lessons-empty-state p {
  margin: 0;
}

.lessons-admin-note {
  margin-top: 12px !important;
  font-size: 13px;
  opacity: 0.72;
}

.lesson-popup {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lesson-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lesson-popup-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  cursor: default;
}

.lesson-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(88vh, 820px);
  overflow-y: auto;
  border-radius: 24px;
  background: #ffffff;
  color: #30343a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.40);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.lesson-popup.is-visible .lesson-popup-dialog {
  transform: translateY(0) scale(1);
}

.lesson-popup-close {
  position: sticky;
  top: 14px;
  right: auto;
  float: none;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 0 -42px auto !important;
  padding: 0;
  border: 1px solid #dc2626 !important;
  border-radius: 999px;
  background: #dc2626 !important;
  color: #ffffff !important;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.24) !important;
}

.lesson-popup-close:hover,
.lesson-popup-close:focus-visible {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .lesson-popup-close {
    top: 10px;
    margin-bottom: -38px !important;
  }
}

.lesson-popup-content {
  display: none;
}

.lesson-popup-content.is-active {
  display: block;
}

.lesson-popup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 32%);
  gap: 34px;
  padding: 44px;
  align-items: start;
}

.lesson-popup-copy {
  min-width: 0;
}

.lesson-popup-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef7f1;
  color: #2f6b44;
  font-size: 12px;
  font-weight: 800;
}

.lesson-popup-copy h2 {
  margin: 0 44px 10px 0;
  color: #202328;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lesson-popup-subtitle {
  margin: 0 0 26px;
  color: #6b7078;
  font-size: 16px;
  line-height: 1.55;
}

.lesson-popup-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lesson-popup-section {
  padding: 17px 18px;
  border: 1px solid #e7e8eb;
  border-radius: 14px;
  background: #f8f9fa;
}

.lesson-popup-section--wide {
  grid-column: 1 / -1;
}

.lesson-popup-section h3 {
  margin: 0 0 8px;
  color: #2f6b44;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lesson-popup-section p {
  margin: 0;
  color: #4f535a;
  font-size: 15px;
  line-height: 1.6;
}

.lesson-popup-preline {
  white-space: normal;
}

.lesson-popup-image-wrap {
  position: sticky;
  top: 44px;
  overflow: hidden;
  border-radius: 6px;
  background: #ececec;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.lesson-popup-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

@media (max-width: 800px) {
  .lessons-list {
    gap: 16px;
  }

  .lesson-list-card {
    grid-template-columns: minmax(0, 1fr) clamp(116px, 33vw, 165px);
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
  }

  .lesson-list-school-year {
    gap: 7px;
    margin-bottom: 16px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .lesson-list-school-year svg {
    width: 17px;
    height: 17px;
  }

  .lesson-list-body h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .lesson-list-subtitle {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .lesson-list-meta-row {
    gap: 7px;
    font-size: 14px;
  }

  .lesson-list-meta-row svg {
    width: 18px;
    height: 18px;
  }

  .lesson-list-more {
    margin-top: 16px;
    font-size: 12px;
  }

  .lesson-list-image-wrap {
    min-height: 0;
    aspect-ratio: 0.88 / 1;
  }

  .lesson-popup-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    padding: 34px 28px;
  }
}

@media (max-width: 620px) {
  .lessons-page-content {
    padding-top: 12px;
  }

  .lesson-list-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 13px;
    padding: 17px;
    border-radius: 20px;
  }

  .lesson-list-school-year {
    margin-bottom: 13px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .lesson-list-body h2 {
    margin-bottom: 8px;
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.12;
  }

  .lesson-list-subtitle {
    margin-bottom: 11px;
    font-size: 13px;
  }

  .lesson-list-meta {
    gap: 7px;
  }

  .lesson-list-meta-row {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .lesson-list-meta-row svg {
    width: 16px;
    height: 16px;
  }

  .lesson-list-more {
    margin-top: 12px;
    font-size: 11px;
  }

  .lesson-list-image-wrap {
    aspect-ratio: 0.82 / 1;
  }

  .lesson-popup {
    padding: 14px;
  }

  .lesson-popup-dialog {
    width: 100%;
    max-height: 90vh;
    border-radius: 20px;
  }

  .lesson-popup-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 20px 22px;
  }

  .lesson-popup-copy h2 {
    margin-right: 34px;
    font-size: 28px;
  }

  .lesson-popup-sections {
    grid-template-columns: 1fr;
  }

  .lesson-popup-section--wide {
    grid-column: auto;
  }

  .lesson-popup-image-wrap {
    position: static;
    order: -1;
    max-height: 300px;
  }

  .lesson-popup-image-wrap img {
    max-height: 300px;
    object-position: center 35%;
  }
}

@media (max-width: 360px) {
  .lesson-list-card {
    grid-template-columns: 1fr;
  }

  .lesson-list-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/*  – UNTERRICHT-DETAIL ÜBER HEADER + MAPS OHNE FLASH  */

/*
   Die Unterrichts-Detailansicht liegt innerhalb von .clean-subpage-main. Dieser Container bildet eine eigene Ebene unterhalb des Headers. Während das Popup geöffnet ist, wird nur diese Ebene über den Header gehoben, damit Logo und Burger nicht in die Detailansicht hineinragen.
*/
body.lesson-popup-open .clean-subpage-main {
  z-index: 10000 !important;
}

body.lesson-popup-open .lesson-popup {
  z-index: 11000 !important;
}

@media (max-width: 620px) {
  body.lesson-popup-open .lesson-popup {
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  body.lesson-popup-open .lesson-popup-dialog {
    max-height: calc(100svh - max(24px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom))));
  }
}

/*
   Google Maps bleibt bis zum load-Event unsichtbar. Dadurch gibt es auf einem direkten Seitenaufruf keinen weißen Iframe-Flash. Beim SPA-Wechsel wird in script.js zusätzlich ein bereits geladenes Iframe übernommen.
*/
.contact-map-box {
  position: relative;
  background: rgba(255, 255, 255, 0.10);
}

.contact-map-box iframe[data-map-preload="true"] {
  opacity: 0;
  transition: opacity 120ms ease-out;
}

.contact-map-box.is-map-ready iframe[data-map-preload="true"],
.contact-map-box iframe[data-map-ready="true"] {
  opacity: 1;
}

/*  – UNTERRICHT CLOSE-BUTTON: SPEZIFITÄTS-FIX Muss spezifischer sein als .clean-subpage-content button.  */
.clean-subpage-content button.lesson-popup-close {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 1px solid #dc2626 !important;
  border-radius: 999px !important;
  background: #dc2626 !important;
  background-color: #dc2626 !important;
  background-image: none !important;
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.24) !important;
}

.clean-subpage-content button.lesson-popup-close:hover,
.clean-subpage-content button.lesson-popup-close:focus-visible {
  background: #b91c1c !important;
  background-color: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .clean-subpage-content button.lesson-popup-close {
    margin-bottom: -38px !important;
  }
}

.event-image-button {
    border-radius: 4px !important;
    position: relative !important;
}

.event-image-zoom-hint {
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 5 !important;
}

/*  – CLOSE-BUTTON: ECKPOSITION + STICKY  */
.knowledge-page-wrapper .info-popup-dialog,
.lesson-popup-dialog {
  position: relative;
}

/*  Wissenswertes: Das Dialog-Padding wird optisch ausgeglichen, damit der Sticky-Button weiterhin exakt in der oberen rechten Ecke sitzt.  */

/*  Unterricht: Der Dialog selbst hat kein Innenpadding, daher genügt der echte Abstand vom rechten Rand.  */
.clean-subpage-content button.lesson-popup-close {
  position: sticky !important;
  top: 16px !important;
  right: auto !important;
  left: auto !important;
  margin: 0 16px -42px auto !important;
  transform: none !important;
  z-index: 50 !important;
}

@media (max-width: 480px) {

  .clean-subpage-content button.lesson-popup-close {
    top: 12px !important;
    margin-right: 12px !important;
  }
}

/*  – WISSENSWERTES CLOSE-BUTTON: ECKPOSITION + STICKY Unterricht bleibt unverändert.  */

@media (max-width: 768px) {
  .knowledge-page-wrapper .info-popup-close {
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .knowledge-page-wrapper .info-popup-close {
    right: auto !important;
    transform: none !important;
  }
}

/*  – WISSENSWERTES: ROBUSTER STICKY CLOSE-BUTTON Nur Wissenswertes. Unterricht bleibt unverändert. Der scrollende Dialog selbst hat hier bewusst kein Innenpadding mehr. Das bisherige Padding liegt stattdessen auf dem aktiven Inhalt. Dadurch kann der Sticky-Button wirklich relativ zur äußeren Dialogkante sitzen.  */
.knowledge-page-wrapper .info-popup-dialog {
  padding: 0 !important;
}

.knowledge-page-wrapper .info-popup-content {
  padding: 42px !important;
}

.knowledge-page-wrapper .info-popup-close {
  position: sticky !important;
  top: 16px !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
  margin: 16px 16px -58px auto !important;
  transform: none !important;
  z-index: 60 !important;
}

@media (max-width: 768px) {
  .knowledge-page-wrapper .info-popup-content {
    padding: 34px 26px 28px !important;
  }

  .knowledge-page-wrapper .info-popup-close {
    top: 12px !important;
    margin: 12px 12px -54px auto !important;
  }
}

@media (max-width: 480px) {
  .knowledge-page-wrapper .info-popup-content {
    padding: 32px 22px 26px !important;
  }

  .knowledge-page-wrapper .info-popup-close {
    top: 12px !important;
    margin: 12px 12px -54px auto !important;
  }
}

/*  – MITGLIED WERDEN: ONLINE-MITGLIEDSANTRAG  */

.membership-page-wrapper .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.membership-page-content {
  width: 100% !important;
  margin: 0 auto !important;
  text-align: left !important;
}

.membership-page-hero p {
  max-width: 700px;
  margin: 0.1em auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(12px, 1.25vw, 15px);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.6;
  text-align: center;
}

.membership-intro {
  color: rgba(255, 255, 255, 0.76);
}

.membership-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.12);
}

.membership-intro strong {
  display: block;
  margin: 1px 0 5px;
  color: #fff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.membership-intro p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.65;
}

.membership-form {
  position: relative;
  width: 100%;
}

.membership-section {
  width: 100%;
}

.membership-section-heading {
  display: flex;
  gap: 13px;
}

.membership-step {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: rgba(18, 22, 20, 0.94);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 800;
}

.membership-section-heading h2 {
  margin: 0 0 4px !important;
  color: #fff !important;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.3;
  font-weight: 800;
}

.membership-section-heading p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.55;
}

.membership-divider {
  width: 100%;
  height: 1px;
  margin: 36px 0;
  background: rgba(255, 255, 255, 0.16);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-field {
  min-width: 0;
}

.membership-field-full {
  grid-column: 1 / -1;
}

.membership-field label,
.membership-inline-options legend {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.membership-field label > span:not(.membership-optional),
.membership-inline-options legend > span {
  color: #ffc7c7;
}

.membership-optional {
  display: inline-block;
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.50) !important;
  font-size: 10px;
  font-weight: 600;
}

.membership-field input,
.membership-field select,
.membership-field textarea {
  box-sizing: border-box;
  width: 100%;
  outline: none;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.membership-field input::placeholder,
.membership-field textarea::placeholder {
  color: #a3aca8;
}

.membership-field input:hover,
.membership-field select:hover,
.membership-field textarea:hover {
  background: #fff;
  border-color: #fff;
}

.membership-field input:focus,
.membership-field select:focus,
.membership-field textarea:focus {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.membership-field-help {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.54);
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.5;
}

.membership-field-amount {
  max-width: 360px;
  margin-top: 20px;
}

.membership-money-input {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
}

.membership-money-input input {
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.membership-money-input > span {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 14px;
  color: #5d6b65;
  background: #f1f4f2;
  border-left: 1px solid #dde4e0;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.membership-choice-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.membership-contribution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.membership-payment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 78px;
  padding: 14px 15px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.17s ease, background-color 0.17s ease, border-color 0.17s ease, box-shadow 0.17s ease;
}

.membership-choice-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
}

.membership-choice-card:has(input:checked) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 28px rgba(0, 0, 0, 0.12);
}

.membership-choice-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.membership-choice-card:has(input:focus-visible) {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 2px;
}

.membership-choice-control {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
}

.membership-choice-card input:checked + .membership-choice-control {
  border-color: #fff;
}

.membership-choice-card input:checked + .membership-choice-control::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}

.membership-choice-copy {
  min-width: 0;
}

.membership-choice-copy strong {
  display: block;
  color: #fff;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.membership-choice-copy small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  line-height: 1.4;
}

.membership-choice-price {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  color: #223a31;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.membership-payment-choice {
  grid-template-columns: auto minmax(0, 1fr);
}

.membership-inline-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.membership-inline-options legend {
  width: 100%;
  margin-bottom: 0;
}

.membership-inline-options label {
  position: relative;
  cursor: pointer;
}

.membership-inline-options label input {
  position: absolute;
  opacity: 0;
}

.membership-inline-options label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.membership-inline-options input:checked + span {
  color: #20382f;
  background: #fff;
  border-color: #fff;
}

.membership-inline-options input:focus-visible + span {
  outline: 3px solid rgba(255, 255, 255, 0.38);
  outline-offset: 2px;
}

.membership-check-grid {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
}

.membership-check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.35;
  font-weight: 700;
}

.membership-check-grid label:has(input:checked) {
  color: #20382f;
  background: rgba(255, 255, 255, 0.94);
  border-color: #fff;
}

.membership-check-grid input,
.membership-confirmation input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  accent-color: #174f3b;
}

.membership-legal-box {
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.65;
}

.membership-legal-box p {
  margin: 0 0 11px !important;
}

.membership-legal-box p:last-child {
  margin-bottom: 0 !important;
}

.membership-page-content .membership-legal-box ol {
  display: block;
  max-width: none;
  margin: 0 0 11px;
  padding-left: 20px;
  text-align: left;
}

.membership-page-content .membership-legal-box li {
  margin: 0 0 5px;
}

.membership-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  line-height: 1.6;
}

.membership-confirmation input {
  margin-top: 1px;
  accent-color: #fff;
}

.membership-confirmation strong {
  color: #ffc7c7;
}

.membership-confirmation a {
  color: #fff !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.58) !important;
  text-underline-offset: 2px;
}

.membership-payment-panel[hidden] {
  display: none !important;
}

.membership-bank-card {
  color: #29443a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 15px;
}

.membership-bank-kicker {
  display: block;
  margin-bottom: 12px;
  color: #6b7772;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-bank-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.membership-bank-card dl > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
}

.membership-bank-card dt,
.membership-bank-card dd {
  margin: 0;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  line-height: 1.45;
}

.membership-bank-card dt {
  color: #7c8782;
  font-weight: 700;
}

.membership-bank-card dd {
  color: #263d35;
  font-weight: 750;
}

.membership-bank-card code {
  color: inherit;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  white-space: normal;
}

.membership-info-note,
.membership-send-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 16px;
  padding: 14px 15px;
  color: rgba(255, 255, 255, 0.70);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
}

.membership-info-note svg,
.membership-send-note svg {
  flex: 0 0 19px;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.9);
}

.membership-info-note p,
.membership-send-note p {
  margin: 0 !important;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  line-height: 1.6;
}

.membership-privacy {
  margin-top: 20px;
}

.membership-send-note {
  margin: 20px 0 0;
}

.membership-form-message {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.55;
}

.membership-form-message-success {
  color: #244b38;
  background: rgba(245, 255, 249, 0.96);
  border: 1px solid rgba(205, 235, 218, 0.94);
}

.membership-form-message-error {
  color: #7c3333;
  background: rgba(255, 244, 244, 0.98);
  border: 1px solid rgba(239, 208, 208, 0.96);
}

.membership-page-content .membership-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  color: rgba(18, 22, 20, 0.94) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 0 !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  transition: transform 0.17s ease, background-color 0.17s ease, box-shadow 0.17s ease !important;
}

.membership-page-content .membership-submit:hover:not(:disabled),
.membership-page-content .membership-submit:focus-visible:not(:disabled) {
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.30) !important;
  transform: translateY(-1px);
}

.membership-page-content .membership-submit:disabled {
  opacity: 0.72;
  cursor: wait !important;
  transform: none !important;
}

.membership-submit svg {
  width: 18px;
  height: 18px;
}

.membership-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(18, 22, 20, 0.22);
  border-top-color: rgba(18, 22, 20, 0.90);
  border-radius: 50%;
  animation: membership-spin 0.75s linear infinite;
}

.membership-submit.is-loading .membership-submit-spinner {
  display: block;
}

.membership-submit.is-loading .membership-submit-arrow {
  display: none;
}

@keyframes membership-spin {
  to { transform: rotate(360deg); }
}

.membership-required-note {
  margin: 11px 0 0 !important;
  color: rgba(255, 255, 255, 0.48);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  text-align: center;
}

.membership-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 820px) {
  .membership-contribution-grid,
  .membership-check-grid {
    grid-template-columns: 1fr;
  }

  .membership-payment-grid {
    grid-template-columns: 1fr;
  }

  .membership-choice-card {
    min-height: 70px;
  }
}

@media (max-width: 700px) {
  .membership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .membership-field-full {
    grid-column: auto;
  }

  .membership-intro {
    gap: 13px;
    margin-bottom: 28px;
    border-radius: 15px;
  }

  .membership-intro-icon {
    flex-basis: 40px;
  }

  .membership-section-heading {
    gap: 11px;
    margin-bottom: 19px;
  }

  .membership-step {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    font-size: 11px;
  }

  .membership-divider {
    margin: 29px 0;
  }

  .membership-field input,
  .membership-field select,
  .membership-field textarea {
    font-size: 16px;
  }

  .membership-money-input input {
    font-size: 16px;
  }

  .membership-bank-card dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-bottom: 7px;
    border-bottom: 1px solid #e8ecea;
  }

  .membership-bank-card dl > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .membership-page-hero p {
    font-size: 11px;
  }

  .membership-intro p,
  .membership-section-heading p {
    font-size: 10px !important;
  }

  .membership-choice-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .membership-choice-price {
    grid-column: 2;
    justify-self: start;
    margin-top: 1px;
  }

  .membership-legal-box {
    padding: 15px 16px;
    font-size: 9px;
  }

  .membership-page-content .membership-submit {
    border-radius: 12px !important;
  }
}

/*  – MITGLIED WERDEN: AUFGERÄUMTES FORMULAR  */

.membership-page-content {
  max-width: 900px !important;
}

.membership-page-hero h1,
.membership-page-hero p {
  position: relative;
  z-index: 1;
}

.membership-intro {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 16px !important;
  margin-bottom: 26px !important;
  padding: 18px 20px !important;
  background: rgba(10, 14, 13, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(4px);
}

.membership-intro-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  border-radius: 14px !important;
}

.membership-intro-icon svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

.membership-form {
  display: grid;
  gap: 18px;
}

.membership-divider {
  display: none !important;
}

.membership-section {
  padding: 22px 22px 24px !important;
  background: rgba(11, 16, 15, 0.44) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(4px);
}

.membership-section-heading {
  align-items: center !important;
  margin-bottom: 18px !important;
}

.membership-step {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  font-size: 11px !important;
}

.membership-section-heading h2 {
  font-size: 18px !important;
}

.membership-section-heading p {
  font-size: 12px !important;
}

.membership-grid {
  gap: 16px !important;
}

.membership-grid-contribution {
  grid-template-columns: 1.1fr 0.9fr !important;
}

.membership-field input,
.membership-field select,
.membership-field textarea {
  min-height: 52px !important;
  padding: 13px 15px !important;
  color: #1d352d !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.82) !important;
  box-shadow: none !important;
}

.membership-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6d7873 50%), linear-gradient(135deg, #6d7873 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px !important;
}

.membership-field input:focus,
.membership-field select:focus,
.membership-field textarea:focus,
.membership-money-input:focus-within {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.13) !important;
}

.membership-money-input {
  min-height: 52px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.82) !important;
  overflow: hidden !important;
}

.membership-money-input input {
  min-height: 50px !important;
}

.membership-money-input > span {
  font-size: 11px !important;
}

.membership-field-help {
  font-size: 11px !important;
}

.membership-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.membership-check-grid label {
  min-height: 52px !important;
  padding: 12px 14px !important;
  background: rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  font-size: 12px !important;
}

.membership-legal-box {
  padding: 18px 18px !important;
  font-size: 11px !important;
  background: rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
}

.membership-confirmation,
.membership-info-note,
.membership-send-note {
  font-size: 11px !important;
}

.membership-info-note,
.membership-send-note,
.membership-bank-card {
  border-radius: 16px !important;
}

.membership-info-note svg,
.membership-send-note svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

.membership-payment-panel {
  margin-top: 16px !important;
}

.membership-bank-card {
  padding: 18px 20px !important;
}

.membership-form-message {
  font-size: 12px !important;
}

.membership-page-content .membership-submit {
  min-height: 56px !important;
  margin-top: 18px !important;
  font-size: 14px !important;
}

@media (max-width: 820px) {
  .membership-grid-contribution,
  .membership-check-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .membership-intro {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    padding: 16px !important;
  }

  .membership-intro-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  .membership-form {
    gap: 14px;
  }

  .membership-section {
    padding: 18px 16px 20px !important;
    border-radius: 18px !important;
  }

  .membership-section-heading {
    align-items: flex-start !important;
  }

  .membership-section-heading h2 {
    font-size: 17px !important;
  }

  .membership-field input,
  .membership-field select,
  .membership-field textarea,
  .membership-money-input input {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .membership-page-content {
    max-width: 100% !important;
  }

  .membership-intro {
    gap: 12px !important;
  }

  .membership-intro strong {
    font-size: 14px !important;
  }

  .membership-intro p,
  .membership-section-heading p,
  .membership-field-help,
  .membership-confirmation,
  .membership-info-note,
  .membership-send-note {
    font-size: 11px !important;
  }

  .membership-check-grid {
    grid-template-columns: 1fr !important;
  }

  .membership-page-content .membership-submit {
    min-height: 54px !important;
    font-size: 13px !important;
  }
}

/*  – MITGLIED WERDEN: UNTERSCHRIFTFELD  */

.membership-signature-field {
  margin-top: 2px;
}

.membership-signature-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.membership-signature-label-row label {
  margin: 0 !important;
}

.membership-signature-clear {
  min-height: 34px;
  padding: 6px 11px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 750;
  transition: background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.membership-signature-clear:hover:not(:disabled),
.membership-signature-clear:focus-visible:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.membership-signature-clear:disabled {
  opacity: 0.42;
  cursor: default;
}

.membership-signature-pad {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  box-shadow: none;
}

.membership-signature-pad:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.13);
}

.membership-signature-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.membership-signature-canvas.is-invalid {
  outline: 3px solid rgba(235, 130, 130, 0.82);
  outline-offset: -3px;
}

.membership-signature-line {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 38px;
  left: 7%;
  height: 1px;
  background: rgba(28, 48, 41, 0.26);
}

.membership-signature-placeholder {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 20px;
  left: 20px;
  color: #9da7a3;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
  transform: translateY(-50%);
}

.membership-signature-placeholder[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .membership-signature-pad {
    height: 170px;
    border-radius: 14px;
  }

  .membership-signature-clear {
    min-height: 36px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .membership-signature-pad {
    height: 155px;
  }

  .membership-signature-placeholder {
    right: 14px;
    left: 14px;
    font-size: 11px;
  }
}

/*  LANDINGPAGE – MOBILE TITEL KLEINER  */

@media (max-width: 768px) {
  .home .landing-title-wrap,
  .landing-title-wrap {
    font-size: clamp(40px, 12.5vw, 68px) !important;
  }
}

@media (max-width: 480px) {
  .home .landing-title-wrap,
  .landing-title-wrap {
    font-size: clamp(38px, 13vw, 61px) !important;
  }
}

/*  V102 – MOBILE LANDSCAPE LANDING FIX  */
/*
   Smartphones im Querformat sind häufig breiter als 768px. Dadurch griffen
   bisher Teile des Desktop-Layouts. Dieser Breakpoint orientiert sich deshalb
   zusätzlich an der geringen Viewport-Höhe und korrigiert ausschließlich die
   Startseite im mobilen Querformat.
*/
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1100px) {
  .home .landing-header {
    min-height: 82px !important;
    padding-top: max(12px, env(safe-area-inset-top)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
    padding-bottom: 0 !important;
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    align-items: flex-start !important;
  }

  .home .landing-header .landing-logo-img {
    height: clamp(52px, 15vh, 64px) !important;
    width: auto !important;
    max-width: 34vw !important;
  }

  .home .landing-header .landing-burger-button,
  .home .landing-header .burger-button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    flex: 0 0 48px !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .home .landing-header .landing-burger-button span,
  .home .landing-header .burger-button span {
    display: block !important;
    position: static !important;
    flex: 0 0 auto !important;
    width: 24px !important;
    height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .home .landing-header .landing-burger-button.is-active span:nth-child(1),
  .home .landing-header .burger-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .home .landing-header .landing-burger-button.is-active span:nth-child(2),
  .home .landing-header .burger-button.is-active span:nth-child(2) {
    opacity: 0 !important;
  }

  .home .landing-header .landing-burger-button.is-active span:nth-child(3),
  .home .landing-header .burger-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  .home .landing-title-wrap,
  .landing-title-wrap {
    left: max(18px, env(safe-area-inset-left)) !important;
    right: auto !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: min(68vw, 560px) !important;
    max-width: calc(100vw - 118px) !important;
    font-size: clamp(36px, 10.5vh, 50px) !important;
    line-height: 1.05 !important;
    padding-bottom: 0.18em !important;
  }

  .home .landing-title-line,
  .landing-title-line {
    min-height: 1.08em !important;
    line-height: 1.10 !important;
    padding: 0.04em 0.12em 0.22em 0.06em !important;
    margin: -0.06em 0 -0.14em !important;
  }

  .home .landing-title-line-two,
  .landing-title-line-two {
    padding-bottom: 0.32em !important;
    margin-bottom: -0.20em !important;
  }

  .home .landing-scroll-cue {
    right: max(24px, env(safe-area-inset-right)) !important;
    bottom: max(20px, env(safe-area-inset-bottom)) !important;
  }
}

/* =========================================================
   TERMINBUCHUNG v106 – DAUER / KALENDER / LIVE-VERFÜGBARKEIT
   ========================================================= */

.booking-duration-fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.booking-duration-fieldset legend {
  margin: 0 0 10px;
  padding: 0;
  color: #334c43;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.booking-duration-fieldset legend > span {
  color: #9c3f3f;
}

.booking-duration-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-duration-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.booking-duration-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.booking-duration-card {
  display: flex;
  min-height: 128px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  padding: 17px 18px;
  color: #40534b;
  background: #fff;
  border: 1px solid #dfe5e2;
  border-radius: 15px;
  box-shadow: 0 5px 16px rgba(30, 63, 51, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.booking-duration-option:hover .booking-duration-card {
  border-color: #bdcec6;
  transform: translateY(-1px);
}

.booking-duration-option > input:focus-visible + .booking-duration-card {
  border-color: rgba(23, 79, 59, 0.7);
  box-shadow: 0 0 0 4px rgba(23, 79, 59, 0.09);
}

.booking-duration-option > input:checked + .booking-duration-card {
  color: #173f31;
  background: #f2f8f5;
  border-color: #174f3b;
  box-shadow: 0 0 0 1px #174f3b, 0 8px 22px rgba(23, 79, 59, 0.08);
}

.booking-duration-title {
  display: block;
  margin-bottom: 3px;
  color: #66766f;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 750;
}

.booking-duration-card strong {
  display: block;
  color: #183d31;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.booking-duration-copy {
  display: block;
  margin-top: 7px;
  color: #83908a;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  line-height: 1.5;
}

.booking-scheduler {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(330px, 1.12fr);
  gap: 16px;
  align-items: stretch;
}

.booking-calendar-card,
.booking-slots-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 17px;
  background: #fff;
  border: 1px solid #e0e6e3;
  border-radius: 16px;
  box-shadow: 0 7px 24px rgba(31, 68, 53, 0.04);
}

.booking-calendar-head {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 35px;
  gap: 8px;
  align-items: center;
  margin-bottom: 15px;
}

.booking-calendar-head > strong {
  color: #243e35;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  font-weight: 850;
  text-align: center;
  text-transform: capitalize;
}

.booking-calendar-nav {
  display: grid;
  width: 35px;
  height: 35px;
  padding: 0;
  place-items: center;
  color: #38584d;
  background: #fff;
  border: 1px solid #e1e7e4;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.booking-calendar-nav:hover:not(:disabled) {
  background: #f5f8f6;
  border-color: #cbd7d1;
}

.booking-calendar-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.booking-calendar-nav svg {
  width: 17px;
  height: 17px;
}

.booking-calendar-weekdays,
.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.booking-calendar-weekdays {
  margin-bottom: 6px;
}

.booking-calendar-weekdays span {
  color: #9aa5a0;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.booking-calendar-day {
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 0;
  color: #314b42;
  background: #f8faf9;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.booking-calendar-day:hover:not(:disabled) {
  color: #174f3b;
  background: #eef6f2;
  border-color: #bcd3c8;
  transform: translateY(-1px);
}

.booking-calendar-day.is-selected {
  color: #fff;
  background: #174f3b;
  border-color: #174f3b;
  box-shadow: 0 5px 12px rgba(23, 79, 59, 0.18);
}

.booking-calendar-day.is-today:not(.is-selected) {
  border-color: #9fb9ad;
}

.booking-calendar-day.is-disabled,
.booking-calendar-day.is-outside {
  color: #c3cbc7;
  background: #fafbfa;
  cursor: default;
}

.booking-calendar-day.is-outside {
  opacity: 0.42;
}

.booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 15px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf0ee;
  color: #8b9691;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  line-height: 1.4;
}

.booking-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.booking-calendar-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

.booking-calendar-legend i.is-available {
  background: #dcece4;
  border: 1px solid #a8c6b8;
}

.booking-calendar-legend i.is-disabled {
  background: #f2f4f3;
  border: 1px solid #dfe4e1;
}

.booking-slots-card {
  display: flex;
  flex-direction: column;
}

.booking-slots-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 45px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf0ee;
}

.booking-slots-head > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.booking-slots-head span {
  color: #8e9994;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.booking-slots-head strong {
  color: #263f36;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.booking-slots-duration {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #285642;
  background: #eff7f3;
  border: 1px solid #d6e8df;
  border-radius: 999px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.booking-slots-state {
  display: flex;
  min-height: 188px;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  color: #8a9590;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.booking-slots-state.is-loading::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-right: 9px;
  border: 2px solid #dbe5e0;
  border-top-color: #174f3b;
  border-radius: 50%;
  animation: booking-spin 0.75s linear infinite;
}

.booking-slots-state.is-empty {
  color: #7d6c49;
}

.booking-slots-state.is-error {
  color: #914444;
}

.booking-slots-groups {
  display: grid;
  gap: 17px;
  padding-top: 15px;
}

.booking-slot-group h3 {
  margin: 0 0 9px;
  color: #67746e;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-slot-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.booking-slot-button {
  min-width: 0;
  min-height: 39px;
  padding: 8px 5px;
  color: #26483b;
  background: #f4f8f6;
  border: 1px solid #d7e4de;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 850;
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.booking-slot-button:hover {
  background: #eaf4ef;
  border-color: #aac8b9;
  transform: translateY(-1px);
}

.booking-slot-button.is-selected {
  color: #fff;
  background: #174f3b;
  border-color: #174f3b;
  box-shadow: 0 5px 12px rgba(23, 79, 59, 0.17);
}

.booking-selection-summary {
  display: grid;
  gap: 2px;
  margin-top: 16px;
  padding: 12px 13px;
  color: #315346;
  background: #eff7f3;
  border: 1px solid #d3e7dd;
  border-radius: 12px;
  font-family: 'Manrope', Arial, sans-serif;
}

.booking-selection-summary span {
  color: #6f837a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-selection-summary strong {
  font-size: 11px;
  line-height: 1.45;
}

.booking-selection-summary b {
  color: #174f3b;
  font-size: 12px;
}

.booking-scheduler-help {
  display: block;
  margin-top: 9px;
  color: #8a9590;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .booking-scheduler {
    grid-template-columns: 1fr;
  }

  .booking-calendar-card,
  .booking-slots-card {
    padding: 15px;
  }

  .booking-slots-state {
    min-height: 125px;
  }
}

@media (max-width: 560px) {
  .booking-duration-options {
    grid-template-columns: 1fr;
  }

  .booking-duration-card {
    min-height: 108px;
  }

  .booking-calendar-weekdays,
  .booking-calendar-grid {
    gap: 4px;
  }

  .booking-calendar-day {
    border-radius: 9px;
    font-size: 10px;
  }

  .booking-slot-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   TERMINBUCHUNG v112 – BUTTON-SPEZIFITÄT FÜR KALENDER/SLOTS
   Überschreibt die globale .clean-subpage-content button-Regel.
   ========================================================= */
.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-nav {
  color: #38584d !important;
  background: #ffffff !important;
  border: 1px solid #e1e7e4 !important;
  box-shadow: none !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-nav:hover:not(:disabled) {
  color: #174f3b !important;
  background: #f5f8f6 !important;
  border-color: #cbd7d1 !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-nav:disabled {
  color: #9aa5a0 !important;
  background: #ffffff !important;
  border-color: #e1e7e4 !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-day {
  color: #314b42 !important;
  background: #f8faf9 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-day:hover:not(:disabled) {
  color: #174f3b !important;
  background: #eef6f2 !important;
  border-color: #bcd3c8 !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-day.is-selected {
  color: #ffffff !important;
  background: #174f3b !important;
  border-color: #174f3b !important;
  box-shadow: 0 5px 12px rgba(23, 79, 59, 0.18) !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-day.is-today:not(.is-selected) {
  color: #314b42 !important;
  background: #f8faf9 !important;
  border-color: #9fb9ad !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-day.is-disabled,
.clean-subpage-terminbuchung .clean-subpage-content button.booking-calendar-day.is-outside {
  color: #c3cbc7 !important;
  background: #fafbfa !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-slot-button {
  color: #26483b !important;
  background: #f4f8f6 !important;
  border: 1px solid #d7e4de !important;
  box-shadow: none !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-slot-button:hover {
  color: #174f3b !important;
  background: #eaf4ef !important;
  border-color: #aac8b9 !important;
}

.clean-subpage-terminbuchung .clean-subpage-content button.booking-slot-button.is-selected {
  color: #ffffff !important;
  background: #174f3b !important;
  border-color: #174f3b !important;
  box-shadow: 0 5px 12px rgba(23, 79, 59, 0.17) !important;
}

/* Terminbuchung: das native hidden-Attribut darf nicht durch
   display:flex/grid der Komponenten überschrieben werden. */
.clean-subpage-terminbuchung [hidden] {
  display: none !important;
}


/* =========================================================
   WISSENSWERTES v113 – DESKTOP CTA UNTEN RECHTS
   ========================================================= */
@media (min-width: 1025px) {
  .knowledge-page-wrapper .info-card-front {
    /* Reserviert festen Raum fuer den CTA, damit langer Text nie kollidiert. */
    padding-bottom: 72px;
  }

  .knowledge-page-wrapper .info-card-hint {
    position: absolute;
    right: clamp(18px, 1.8vw, 24px);
    bottom: clamp(16px, 1.7vw, 22px);
    margin: 0 !important;
  }
}

/* =========================================================
   WISSENSWERTES v114 – CTA VERLAESSLICH UNTEN RECHTS
   Spaetere Legacy-Regeln setzen .info-card-hint auf position:static !important.
   Diese finale Regel ueberschreibt sie gezielt auf Desktop.
   ========================================================= */
@media (min-width: 1025px) {
  .knowledge-page-wrapper .info-card-front {
    position: absolute !important;
    padding-bottom: 76px !important;
  }

  .knowledge-page-wrapper .info-card-hint {
    position: absolute !important;
    top: auto !important;
    right: 24px !important;
    bottom: 22px !important;
    left: auto !important;
    margin: 0 !important;
    align-self: auto !important;
    transform: none !important;
  }

  .knowledge-page-wrapper .info-card:hover .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-visible .info-card-hint,
  .knowledge-page-wrapper .info-card:focus-within .info-card-hint {
    transform: none !important;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .knowledge-page-wrapper .info-card-front {
    padding-bottom: 70px !important;
  }

  .knowledge-page-wrapper .info-card-hint {
    top: auto !important;
    right: 20px !important;
    bottom: 18px !important;
    left: auto !important;
  }
}

/* =========================================================
   TERMINBUCHUNG v115 – DAUERAUSWAHL DEUTLICH HERVORHEBEN
   ========================================================= */
.clean-subpage-terminbuchung .booking-duration-card {
  position: relative;
}

.clean-subpage-terminbuchung .booking-duration-option > input:checked + .booking-duration-card {
  color: #ffffff !important;
  background: linear-gradient(145deg, #1f664d 0%, #174f3b 58%, #103d2f 100%) !important;
  border: 2px solid #174f3b !important;
  box-shadow:
    0 0 0 3px rgba(23, 79, 59, 0.16),
    0 12px 28px rgba(15, 61, 47, 0.22) !important;
  transform: translateY(-2px) !important;
}

.clean-subpage-terminbuchung .booking-duration-option > input:checked + .booking-duration-card .booking-duration-title,
.clean-subpage-terminbuchung .booking-duration-option > input:checked + .booking-duration-card strong,
.clean-subpage-terminbuchung .booking-duration-option > input:checked + .booking-duration-card .booking-duration-copy {
  color: #ffffff !important;
}

.clean-subpage-terminbuchung .booking-duration-option > input:checked + .booking-duration-card .booking-duration-copy {
  color: rgba(255, 255, 255, 0.84) !important;
}

.clean-subpage-terminbuchung .booking-duration-option > input:checked + .booking-duration-card::after {
  content: "✓ Ausgewählt";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.clean-subpage-terminbuchung .booking-duration-option > input:not(:checked) + .booking-duration-card {
  background: #ffffff !important;
  border-color: #d7dfdb !important;
  box-shadow: 0 4px 14px rgba(30, 63, 51, 0.035) !important;
}

@media (max-width: 560px) {
  .clean-subpage-terminbuchung .booking-duration-option > input:checked + .booking-duration-card::after {
    top: 10px;
    right: 10px;
  }
}
