/* ═══════════════════════════════════════════════════════════════════════
   Navigation Suche Redesign
   ═══════════════════════════════════════════════════════════════════════ */
.nav-search-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

.nav-search-toggle:hover {
  color: var(--brown-deep);
}

.nav-search-toggle svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Formular Popover / Expansion (Desktop) */
.nav-search-form {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) scaleX(0.9);
  transform-origin: right center;
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 0.25rem 0.6rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 240px;
  margin-right: 8px;
}

.nav-search-form.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scaleX(1);
}

.nav-search-input {
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink);
  width: 100%;
  outline: none;
  padding: 0.3rem 0;
}

.nav-search-input::placeholder {
  color: var(--ink-soft);
  opacity: 0.7;
}

.nav-search-submit {
  background: transparent;
  border: none;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.2rem;
  transition: color 0.2s;
}

.nav-search-submit:hover {
  color: var(--brown-deep);
}

.nav-search-submit svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Mobile Anpassung für das Hauptmenü */
@media (max-width: 980px) {
  .nav-search-item {
    width: 100%;
    order: -1;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-search-toggle {
    display: none;
  }

  .nav-search-form {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 100%;
    margin-right: 0;
    box-shadow: none;
    background: var(--cream-soft);
    border-color: var(--line);
    padding: 0.4rem 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Eigenständige Video-Karten (16/9 Format & randloses Bild)
   ═══════════════════════════════════════════════════════════════════════ */
.card-video {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.card-video .thumb-16-9 {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  display: block;
}

.card-video .thumb-16-9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.card-video:hover .thumb-16-9 img {
  transform: scale(1.04);
}

.card-video .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem 1.5rem 1.8rem;
}

.card-video .body > div:last-child {
  margin-top: auto !important;
  padding-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   Reels Carousel Modern
   ═══════════════════════════════════════════════════════════════════════ */
.reels-carousel-container {
  position: relative;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.reels-track {
  display: flex !important;
  gap: 1.25rem !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.2rem 1.5rem !important;
  align-items: stretch !important;
  scrollbar-width: none;
}

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

.reels-track .reel-card {
  flex: 0 0 calc((100% - (5 * 1.25rem)) / 5.5) !important;
  min-width: 190px !important;
  scroll-snap-align: start;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: auto !important;
}

@media (max-width: 1400px) {
  .reels-track .reel-card { flex: 0 0 calc((100% - (4 * 1.25rem)) / 4.5) !important; }
}

@media (max-width: 1024px) {
  .reels-track .reel-card { flex: 0 0 calc((100% - (3 * 1.25rem)) / 3.5) !important; }
}

@media (max-width: 768px) {
  .reels-track .reel-card { flex: 0 0 calc((100% - (2 * 1.25rem)) / 2.5) !important; }
}

@media (max-width: 480px) {
  .reels-track .reel-card { flex: 0 0 78% !important; min-width: unset !important; }
}

.reel-card .reel-thumb {
  aspect-ratio: 9 / 16 !important;
  width: 100% !important;
  background: var(--cream-soft);
  flex-shrink: 0 !important;
  overflow: hidden;
}

.reel-card .reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card .reel-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: space-between !important;
  padding: 1.2rem 1.2rem 1.4rem !important;
}

.reel-card .reel-body-text {
  display: flex;
  flex-direction: column;
}

.reel-card .reel-body h4 {
  font-size: 1rem !important;
  margin-bottom: 0.3rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.reel-card .reel-body p {
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0.8rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.reel-card .reel-body .card-link {
  margin-top: auto !important;
  align-self: flex-start;
}

.reels-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.reels-nav-btn svg { width: 20px; height: 20px; pointer-events: none; }
.reels-nav-btn:hover { background: var(--brown-deep); color: var(--cream-soft); border-color: var(--brown-deep); }
.reels-nav-btn.prev { left: -18px; }
.reels-nav-btn.next { right: -18px; }

@media (max-width: 768px) {
  .reels-nav-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Notification Bell & Dropdowns (Desktop & Mobil)
   ═══════════════════════════════════════════════════════════════════════ */
.nav, 
.nav-inner, 
.nav-links, 
.nav-notif-item {
  overflow: visible !important;
}

.nav-notif-item {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 9999;
}

.nav-notif-btn {
  background: none;
  border: none;
  padding: 0.4rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.25s ease;
  cursor: pointer;
}

.nav-notif-btn:hover {
  color: var(--brown-deep);
}

.nav-notif-btn svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}

/* Badge (Counter) */
.notif-badge {
  position: absolute;
  top: 1px;
  right: 0px;
  background: var(--brown-deep);
  color: var(--cream-soft);
  font-size: 0.65rem;
  font-weight: 500;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid var(--cream);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── DROPDOWN BASE STYLE ─── */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: var(--paper, #ffffff);
  border: 1px solid var(--line-strong, #cccccc);
  border-radius: var(--r, 4px);
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,0.15));
  max-height: 420px;
  overflow-y: auto;
  padding: 0.8rem 0 0.4rem 0;
  z-index: 999999;
  display: none;
  flex-direction: column;
}

.notif-dropdown.is-open,
.notif-dropdown.open {
  display: flex !important;
}

.notif-dropdown .dropdown-header {
  padding: 0.2rem 20px 0.6rem 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
}

.notif-dropdown .dropdown-header-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.85;
}

.notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notif-list .notif-empty {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-soft);
  text-align: center;
  padding: 1.2rem 20px;
  line-height: 1.5;
}

.notif-list li:not(.notif-empty) {
  padding: 0.65rem 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.notif-list li:not(.notif-empty):last-child {
  border-bottom: none;
}

.notif-list li:not(.notif-empty):hover {
  background: var(--cream-soft);
}

.notif-item-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-soft);
  text-decoration: none;
}

.notif-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-item-time {
  font-size: 0.7rem;
  color: var(--ink-soft);
  opacity: 0.75;
}

.notif-mark-btn {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ─── DESKTOP (ab 981px) ─── */
@media (min-width: 981px) {
  .mobile-header-actions {
    display: none !important;
  }

  .nav-notif-item {
    margin-left: -0.6rem;
  }

  .nav-notif-btn {
    padding: 0.15rem;
  }
}

/* ─── MOBILE (bis 980px) ─── */
@media (max-width: 980px) {
  .mobile-header-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.8rem !important;
  }

  .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }

  .nav-links .desktop-only {
    display: none !important;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child,
  .nav-links li.nav-search-item {
    border-bottom: none !important;
  }

  .mobile-header-actions .nav-notif-item {
    position: relative !important;
  }

  #notifDropdownMobile {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: -6px !important;
    left: auto !important;
    width: 280px !important;
    max-width: calc(100vw - 24px) !important;
    background: var(--paper, #ffffff) !important;
    border: 1px solid var(--line-strong, #cccccc) !important;
    border-radius: var(--r, 4px) !important;
    box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,0.15)) !important;
    padding: 0.8rem 0 0.4rem 0 !important;
    margin: 0 !important;
    z-index: 999999 !important;
  }

  #notifDropdownMobile .dropdown-header {
    padding: 0.2rem 20px 0.6rem 20px !important;
    border-top: none !important;
    border-bottom: 1px solid var(--line) !important;
    margin: 0 0 0.3rem 0 !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
  }

  #notifDropdownMobile .dropdown-header-title {
    font-family: var(--sans) !important;
    font-size: 0.72rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--brown) !important;
    opacity: 0.85 !important;
  }

  #notifDropdownMobile .notif-list .notif-empty {
    font-family: var(--sans) !important;
    font-size: 0.78rem !important;
    font-weight: 300 !important;
    color: var(--ink-soft) !important;
    text-align: center !important;
    padding: 1.2rem 20px !important;
    line-height: 1.5 !important;
  }

  .nav-links li.desktop-only,
  .nav-links .desktop-only {
    display: none !important;
    border: none !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-links .nav-user-item,
  .nav-links li.nav-user-item {
    border-top: none !important;
    margin-top: 0 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   MasterClass Sub-Navigation & Perfekter Strich-Fix
   ═══════════════════════════════════════════════════════════════════════ */
/* ─── MasterClass Sub-Navigation (Butterweicher Übergang von 0 auf 1px) ─── */
.masterclass-subnav {
  position: sticky;
  top: 72px; /* Auf Mobile per Media-Query auf 56px angepasst */
  z-index: 45;
  background: var(--paper, #fffdf8);
  
  /* Startet unsichtbar mit 0px Höhe */
  border-bottom: 0px solid var(--line);
  width: 100%;
  
  /* Animiert die Rahmenstärke und die Farbe butterweich über 0.4 Sekunden */
  transition: border-bottom-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-bottom-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sobald gescrollt wird, wächst der Rahmen fließend auf 1px an */
.masterclass-subnav.is-scrolled {
  border-bottom-width: 1px !important;
  border-bottom-color: var(--line) !important;
}
.subnav-inner {
  max-width: var(--maxw, 1240px);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3vw, 2.5rem);
}

.subnav-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
}

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

/* ─── Sub-Navigation: Perfekter Kantenabschluss für den Strich ─── */
.subnav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box; /* Wichtig, damit Padding eingerechnet wird */
}

/* Der Strich sitzt jetzt exakt auf der untersten Kantenlinie des Buttons */
.subnav-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* Exakt bündig an der Unterkante */
  height: 2px;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.subnav-btn:not(:first-child):not(:last-child)::after {
  left: 0.3rem;
  right: 0.3rem;
}

.subnav-btn.active::after,
.subnav-btn:hover::after {
  transform: scaleX(1);
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobiles Sub-Menü: Exklusiver iOS Safari Touch- & Tap-Fix
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    height: 56px !important;
  }

  .masterclass-subnav {
    position: sticky !important;
    top: 56px !important;
    z-index: 90 !important;
    height: 48px !important;
    background: var(--paper, #fffdf8) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  }

  .subnav-inner {
    height: 100% !important;
    padding: 0 !important;
  }

  .subnav-track {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    justify-content: flex-start !important;
    gap: 0.2rem !important;
    padding: 0 0.8rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .subnav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 48px !important;
    padding: 0 1.1rem !important;
    font-size: 0.74rem !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: rgba(122, 90, 58, 0.12) !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
  }

  .subnav-btn:first-child {
    padding-left: 1rem !important;
  }
  .subnav-btn:last-child {
    padding-right: 1rem !important;
  }

  .subnav-btn::after {
    left: 0.6rem !important;
    right: 0.6rem !important;
    bottom: 0 !important;
    height: 2px !important;
  }

  /* Mobile Hauptnavigation Logik */
  .nav-links:not(.open):not(.is-open):not(.active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .nav-links.open,
  .nav-links.is-open,
  .nav-links.active {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--paper, #fffdf8) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  .nav-links.open .nav-search-form,
  .nav-links.is-open .nav-search-form,
  .nav-links.active .nav-search-form {
    display: flex !important;
    pointer-events: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Footer Video Banner & Layouts
   ═══════════════════════════════════════════════════════════════════════ */
.cards .card .thumb-16-9 {
  margin: -1.5rem -1.5rem 1.2rem -1.5rem;
  width: calc(100% + 3rem);
  border-top-left-radius: var(--r);
  border-top-right-radius: var(--r);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
}

.cards .card .thumb-16-9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-video-banner-section {
  position: relative;
  overflow: hidden;
  background: var(--ink) !important;
  padding: clamp(3.5rem, 7vw, 5rem) 0 !important;
  text-align: center;
  border-top: 1px solid var(--line);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.55) 0%, rgba(20, 16, 13, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.footer-banner-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-banner-icon {
  width: 36px !important;
  height: auto !important;
  opacity: 0.85;
  filter: brightness(0) invert(1) !important;
  margin-bottom: 1rem;
}

.footer-banner-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--cream, #f4ede0);
  opacity: 0.9;
  margin-bottom: 0.3rem;
  letter-spacing: 0.04em;
}

.footer-banner-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 400;
  color: #fff !important;
  margin-bottom: 1.2rem;
}

.footer-banner-sig {
  width: 110px !important;
  height: auto !important;
  opacity: 0.9;
  filter: brightness(0) invert(1) !important;
  margin: 0 auto;
}

.hero-bg-video,
.footer-video-bg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  z-index: 0 !important;
  object-fit: cover !important;
  pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Icon Legende & Design System
   ═══════════════════════════════════════════════════════════════════════ */
.icon-legend-section {
  background: var(--paper, #fdfbf7);
  border: 1px solid var(--line, #e2d9cc);
  border-radius: var(--r, 8px);
  padding: 3rem 2rem;
  margin: 3rem 0 1rem 0;
  box-shadow: 0 4px 20px rgba(58, 48, 38, 0.03);
}

.icon-legend-header-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}

.icon-legend-title {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 500;
  color: var(--brown-deep, #3a3026);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.icon-legend-subtitle {
  font-family: var(--sans, 'Inter Tight', -apple-system, sans-serif);
  font-size: 0.95rem;
  color: var(--ink-soft, #6b6257);
  line-height: 1.5;
  margin: 0;
}

.icon-legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .icon-legend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .icon-legend-grid {
    grid-template-columns: 1fr;
  }
  .icon-legend-section {
    padding: 2rem 1.25rem;
  }
}

.icon-legend-item {
  background: var(--cream-soft, #f7f3ed);
  border: 1px solid var(--line-subtle, #ede6db);
  border-radius: var(--r, 8px);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.25s ease;
}

.icon-legend-item:hover {
  transform: translateY(-2px);
  border-color: var(--brown, #8c7258);
  box-shadow: 0 8px 24px rgba(58, 48, 38, 0.06);
}

.icon-legend-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.icon-legend-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line, #e2d9cc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.icon-legend-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.icon-legend-name {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-deep, #3a3026);
  line-height: 1.2;
}

.icon-legend-text {
  font-family: var(--sans, 'Inter Tight', -apple-system, sans-serif);
  font-size: 0.85rem;
  color: var(--ink-soft, #6b6257);
  line-height: 1.55;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Kurs Layout, Sidebar & Lektionen
   ═══════════════════════════════════════════════════════════════════════ */
.course-layout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .course-layout-grid {
    grid-template-columns: 1fr;
  }
}

.course-sidebar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  position: sticky;
  top: 135px;
  box-shadow: var(--shadow-sm);
}

.course-sidebar-header {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brown-deep);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-sidebar-nav li.padding_submenu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r);
  transition: background 0.2s ease;
}

.course-sidebar-nav li.padding_submenu:hover {
  background: var(--cream-soft);
}

.course-sidebar-nav li.padding_submenu#activestate {
  background: var(--cream-soft);
  border-left: 3px solid var(--brown);
}

.course-sidebar-nav a.submenu_link_active,
.course-sidebar-nav a.submenu_link_completed {
  color: var(--brown-deep);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
}

.course-sidebar-nav a.submenu_link_completed {
  opacity: 0.75;
}

.course-sidebar-nav .menu-link-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  width: 100%;
}

.course-sidebar-nav .menu-progress-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-size: 0.95rem;
  color: var(--brown);
  flex-shrink: 0;
}

.course-sidebar-nav .menu-number {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brown-deep);
  min-width: 22px;
  flex-shrink: 0;
}

.course-sidebar-nav .menu-number-sub {
  font-size: 0.82rem;
  opacity: 0.85;
}

.course-sidebar-nav li.menu-sublevel-item {
  padding-left: 1.8rem !important;
  position: relative;
}

.course-sidebar-nav li.menu-sublevel-item::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.course-sidebar-nav li.menu-sublevel-item span[class*="submenu_link"] {
  font-size: 0.82rem !important;
  font-weight: 400;
}

/* Lesson Cards */
.lesson-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.lesson-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.lesson-title-area h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brown-deep);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.success-icon {
  color: #2e7d32;
}

.lesson-title-area h2 {
  font-size: 1.1rem;
  color: var(--ink-soft);
  font-weight: 400;
}

/* Chapter Control Switch & Buttons */
.chapter-control-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.custom-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-deep);
}

.custom-switch input[type="checkbox"] {
  width: 42px;
  height: 22px;
  appearance: none;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.custom-switch input[type="checkbox"]:checked {
  background: var(--brown);
}

.custom-switch input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  background: #fff;
  transition: transform 0.3s ease;
}

.custom-switch input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}

/* Audio Player Stylings */
.masterclass-audio-player {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.audio-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.25s ease;
}

.audio-play-btn:hover {
  background: var(--brown-deep);
}

.audio-info {
  flex: 1;
}

.audio-track-title {
  font-weight: 600;
  color: var(--brown-deep);
  font-size: 0.95rem;
}

/* Accordion Custom Styling */
.mc-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.mc-accordion-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.mc-accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--brown-deep);
  font-weight: 600;
  font-size: 1rem;
}

.mc-accordion-body {
  padding: 0 1.2rem 1.2rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.mc-accordion-body.show {
  display: block;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.8rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--brown-deep);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.zitat-card {
  text-align: center;
}

.zitat-card img {
  width: 100%;
  border-radius: var(--r);
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.zitat-card blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brown-deep);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.spotify-widget-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  text-align: center;
}

.spotify-widget-card img {
  width: 100%;
  border-radius: var(--r);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   Comments Section Modern Styling
   ═══════════════════════════════════════════════════════════════════════ */
.lesson-card h2, 
.comments-section h2 {
  font-family: var(--serif);
  color: var(--brown-deep);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.comments-section h3 {
  font-family: var(--serif);
  color: var(--brown-deep);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.comments-section textarea,
.lesson-card textarea {
  width: 100%;
  min-height: 120px;
  background: var(--cream-soft, #fdfbf7);
  border: 1px solid var(--line, #e2d7c5);
  border-radius: var(--r, 8px);
  padding: 1rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink, #2c2825);
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.comments-section textarea:focus,
.lesson-card textarea:focus {
  border-color: var(--brown, #8c6d46);
  box-shadow: 0 0 0 3px rgba(140, 109, 70, 0.12);
  background: #ffffff;
}

.comments-section button[type="submit"],
.comments-section .btn-submit {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: var(--brown-deep, #4a3b2c);
  color: #ffffff;
  border: none;
  border-radius: var(--r, 8px);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.comments-section button[type="submit"]:hover,
.comments-section .btn-submit:hover {
  background: var(--brown, #8c6d46);
  transform: translateY(-1px);
}

.comments-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comment-item {
  background: var(--cream-soft, #fdfbf7);
  border: 1px solid var(--line, #e2d7c5);
  border-radius: var(--r, 8px);
  padding: 1.2rem;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
}

.comment-author {
  font-weight: 600;
  color: var(--brown-deep, #4a3b2c);
}

.comment-date {
  color: var(--ink-soft, #7a7267);
  font-size: 0.8rem;
}

.comment-text {
  color: var(--ink, #2c2825);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Side Info Grid */
.side-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.side-info-card {
  background: var(--cream-soft, #fdfbf7);
  border: 1px solid var(--line, #e2d7c5);
  border-radius: var(--r, 12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(0,0,0,0.06));
}

.side-info-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: block;
}

.side-info-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.side-info-card:hover .side-info-media img {
  transform: scale(1.04);
}

.media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-deep, #4a3b2c);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.side-info-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.side-info-body h3 {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: 1.35rem;
  color: var(--brown-deep, #4a3b2c);
  margin-bottom: 0.6rem;
}

.side-info-body p {
  font-size: 0.92rem;
  color: var(--ink-soft, #7a7267);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.side-quote {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--brown-deep, #4a3b2c);
  line-height: 1.6;
  margin: 0 0 0.8rem 0;
  border-left: 2px solid var(--brown, #8c6d46);
  padding-left: 0.8rem;
}

.quote-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown, #8c6d46);
  text-align: right;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Navigation Einklapp-Logik & Typografie
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .course-sidebar-card {
    position: relative !important;
    top: auto !important;
    margin-bottom: 1.5rem !important;
    background: var(--paper, #ffffff) !important;
    box-shadow: var(--shadow-sm, 0 4px 12px rgba(0,0,0,0.05)) !important;
    border-radius: var(--r, 12px) !important;
    z-index: 10 !important;
  }

  .course-sidebar-header {
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .course-sidebar-header i.fa-list-ol {
    display: none !important;
  }

  .course-sidebar-header::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.88rem;
    color: var(--brown, #8c6d46);
    transition: transform 0.3s ease;
    margin-left: auto;
  }

  .course-sidebar-card.mobile-open .course-sidebar-header::after {
    transform: rotate(180deg);
  }

  .course-sidebar-nav {
    display: none !important;
    padding-top: 1rem !important;
    margin-top: 0.8rem !important;
    border-top: 1px solid var(--line, #e2d7c5) !important;
  }

  .course-sidebar-card.mobile-open .course-sidebar-nav {
    display: block !important;
  }
    
  .course-sidebar-nav .submenu_link_active,
  .course-sidebar-nav .submenu_link_completed,
  .course-sidebar-nav a.submenu_link_active,
  .course-sidebar-nav a.submenu_link_completed,
  .course-sidebar-nav .menu-number {
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  .course-sidebar-nav li.menu-sublevel-item .submenu_link_active,
  .course-sidebar-nav li.menu-sublevel-item .submenu_link_completed {
    font-size: 13px !important;
    font-weight: 400 !important;
  }
}

.course-sidebar-nav,
.course-sidebar-nav *,
.course-sidebar-nav li,
.course-sidebar-nav a,
.course-sidebar-nav span,
.course-sidebar-nav .menu-link-wrapper,
.course-sidebar-nav .menu-number {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.course-sidebar-nav li.menu-sublevel-item * {
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Energy Update Thumbnail Klasse */
.card-video .thumb-energy-16-9 {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--cream-soft, #f7f3ed);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-video .thumb-energy-16-9 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-video:hover .thumb-energy-16-9 img {
  transform: scale(1.03);
}

@media (max-width: 980px) {
  .brand {
    font-size: 0.98rem !important;
    letter-spacing: 0.10em !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
  }
  
  .brand img {
    width: 28px !important;
    height: 28px !important;
  }
}





/* ═══════════════════════════════════════════════════════════════════════
   Hero Sektionen & Badges
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .page-hero {
    padding: 1.5rem 1rem 1.8rem !important;
  }

  .page-hero .breadcrumb {
    font-size: 0.68rem !important;
    margin-bottom: 0.8rem !important;
    letter-spacing: 0.12em !important;
  }

  .page-hero img,
  .page-hero svg,
  .page-hero .hero-icon {
    width: 28px !important;
    height: auto !important;
    margin: 0.4rem auto 0.8rem !important;
  }

  .page-hero h1 {
    font-size: clamp(1.45rem, 5vw, 1.75rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }

  .page-hero .subtitle,
  .page-hero p {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }
}

.page-hero img,
.page-hero svg,
.page-hero .hero-icon {
  filter: invert(44%) sepia(21%) saturate(980%) hue-rotate(352deg) brightness(92%) contrast(88%) !important;
  opacity: 0.85 !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.watched-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--neuesgruen);
  color: var(--paper);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold; 
  -webkit-text-stroke: 0.5px currentColor;
  vertical-align: middle;
  box-shadow: var(--shadow);
  z-index: 2;
}

.video-icons-group {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}

.video-icons-group img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

/* Online-Punkt für Avatare */
.lc-avatar,
.lc-avatar--small {
  position: relative;
  display: inline-block;
}

.lc-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #388e3c;
  border: 2px solid var(--paper);
  border-radius: 50%;
  display: none;
}

.lc-online-dot.is-active {
  display: block;
}

/* Video Hero Styling */
.page-hero.video-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink) !important;
  border-bottom: none !important;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem) !important;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.5) 0%, rgba(20, 16, 13, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-sound-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  background: rgba(255, 253, 248, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 253, 248, 0.3);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-sound-btn:hover {
  background: rgba(255, 253, 248, 0.25);
  border-color: rgba(255, 253, 248, 0.5);
}

.hero-sound-btn.active {
  background: var(--brown-deep);
  border-color: var(--gold);
  color: var(--cream-soft);
}

@media (max-width: 768px) {
  .hero-sound-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.68rem;
  }
}

.page-hero.video-hero .breadcrumb {
  color: rgba(244, 237, 224, 0.75) !important;
}

.page-hero.video-hero .breadcrumb a {
  color: rgba(244, 237, 224, 0.9) !important;
  border-bottom-color: rgba(244, 237, 224, 0.4) !important;
}

.page-hero.video-hero .breadcrumb a:hover {
  color: #fff !important;
  border-bottom-color: #fff !important;
}

.page-hero.video-hero .breadcrumb span {
  color: var(--salbeigruen, #A7C0B5) !important;
}

/* Kursbereich-Thumbnails auf Mobilgeräten erzwungen quadratisch machen */
@media (max-width: 992px) {
  .home-nav-thumb {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
  }
  
  .home-nav-thumb img {
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Modern Video Card Grid Layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.mc-video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mc-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mc-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.mc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mc-video-card:hover .mc-card-thumb img {
  transform: scale(1.04);
}

.mc-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mc-card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brown-deep);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.video-icons-listenseite-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.video-icons-listenseite {
  height: 18px !important;
  width: auto !important;
  display: inline-block !important;
  opacity: 0.85;
}

/* ─── Qualitäten der Meditationen (Einzelleisten-Dropdown im Screenshot-Stil) ─── */
.qualities-section {
  background: var(--cream-soft, #f7f3ed);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0;
  margin-top: 4rem;
}

.qualities-master-toggle {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.qualities-master-toggle:hover {
  border-color: var(--brown);
  box-shadow: 0 6px 20px rgba(58, 48, 38, 0.06);
}

.qualities-toggle-info h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: var(--brown-deep);
  margin: 0 0 0.3rem 0;
  line-height: 1.2;
}

.qualities-toggle-info p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

.qualities-toggle-action {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--brown);
  font-weight: 500;
  font-size: 0.9rem;
}

.qualities-toggle-action i {
  transition: transform 0.35s ease;
}

.qualities-master-item.active .qualities-toggle-action i {
  transform: rotate(180deg);
}

/* Inhalt (Das Grid aus dem Screenshot) verstecken bis zum Klick */
.qualities-dropdown-content {
  display: none;
  margin-top: 2rem;
}

.qualities-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .qualities-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .qualities-grid-container {
    grid-template-columns: 1fr;
  }
  .qualities-master-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
  }
  .qualities-toggle-action {
    align-self: flex-end;
  }
}

/* Einzelne Qualitäts-Karten (Exakter Look aus deinem Screenshot) */
.quality-card-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 2px 8px rgba(58, 48, 38, 0.02);
}

.quality-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.quality-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-card-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.quality-card-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--brown-deep);
  font-weight: 600;
  margin: 0;
}

.quality-card-desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}




.cards .card {
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}

.cards .card .thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.cards .card .thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cards .card:hover .thumb-link img {
  transform: scale(1.03);
}

.cards .card .body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-icons-listenseite-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.video-icons-listenseite {
  height: 18px;
  width: auto;
  opacity: 0.8;
}


/* Modern Video Card Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

.mc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  text-decoration: none;
}

.mc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brown);
}

.mc-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.mc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mc-card:hover .mc-card-thumb img {
  transform: scale(1.04);
}

.mc-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mc-card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brown-deep);
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.video-icons-listenseite-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.video-icons-listenseite {
  height: 18px;
  width: auto;
  opacity: 0.8;
}



.btn-center-wrap {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}