.elementor-kit-1998{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"IBM Plex Sans";--e-global-typography-primary-font-size:23px;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"IBM Plex Sans";--e-global-typography-secondary-font-weight:600;--e-global-typography-text-font-family:"IBM Plex Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"IBM Plex Sans";--e-global-typography-accent-font-weight:500;background-color:#F2F5FA;font-family:"IBM Plex Sans", Sans-serif;font-size:18px;font-weight:400;line-height:1.6lh;}.elementor-kit-1998 e-page-transition{background-color:#FFBC7D;}.elementor-kit-1998 h1{color:#1E3A8A;font-family:"Raleway", Sans-serif;font-size:52px;font-weight:700;line-height:1.1lh;}.elementor-kit-1998 h2{color:#1E3A8A;font-family:"Raleway", Sans-serif;font-size:32px;font-weight:700;line-height:1.2lh;}.elementor-kit-1998 h3{color:#1E3A8A;font-family:"Raleway", Sans-serif;font-size:22px;font-weight:700;line-height:1.25lh;}.elementor-kit-1998 h4{color:#1E3A8A;font-family:"Raleway", Sans-serif;font-size:18px;font-weight:600;line-height:1.3lh;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1500px;}.e-con{--container-max-width:1500px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-1998 h1{font-size:44px;}.elementor-kit-1998 h2{font-size:28px;}.elementor-kit-1998 h3{font-size:20px;}.elementor-kit-1998 h4{font-size:17px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-1998 h1{font-size:34px;}.elementor-kit-1998 h2{font-size:24px;}.elementor-kit-1998 h3{font-size:19px;}.elementor-kit-1998 h4{font-size:16px;line-height:1.3lh;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* -----------------------------
   1 Zeile (Dynamic Field + Dynamic Terms)
------------------------------ */
.clamp-1 .jet-listing-dynamic-field__content,
.clamp-1 .jet-listing-dynamic-field__content a,
.clamp-1 .jet-listing-dynamic-terms,
.clamp-1 .jet-listing-dynamic-terms a,
.clamp-1 .jet-listing-dynamic-terms__link,
.clamp-1 .jet-listing-dynamic-terms__item{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* damit Ellipsis greift */
.clamp-1 .jet-listing-dynamic-field__content,
.clamp-1 .jet-listing-dynamic-terms{
  display: block !important;
}

/* -----------------------------
   2 Zeilen (Dynamic Field + Dynamic Terms)
------------------------------ */
.clamp-2 .jet-listing-dynamic-field__content,
.clamp-2 .jet-listing-dynamic-field__content a,
.clamp-2 .jet-listing-dynamic-terms,
.clamp-2 .elementor-widget-container,
.clamp-2 .elementor-shortcode{
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

/* Falls Terms als einzelne Links/Items kommen: lass normales Wrapping zu.
   (Mehrzeiliges Clamp funktioniert am Container, nicht an den einzelnen Items.) */
.clamp-2 .jet-listing-dynamic-terms a,
.clamp-2 .jet-listing-dynamic-terms__link,
.clamp-2 .jet-listing-dynamic-terms__item{
  white-space: normal !important;
}


/* -----------------------------
   3 Zeilen (Dynamic Field + Dynamic Terms)
------------------------------ */
.clamp-3 .jet-listing-dynamic-field__content,
.clamp-3 .jet-listing-dynamic-field__content a,
.clamp-3 .jet-listing-dynamic-terms{
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}

.clamp-3 .jet-listing-dynamic-terms a,
.clamp-3 .jet-listing-dynamic-terms__link,
.clamp-3 .jet-listing-dynamic-terms__item{
  white-space: normal !important;
}



/* card design */
.card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:16px;
  height:100%;
  display: flex;
  flex-direction: column;
}
.card:hover{
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  transform: translateY(-1px);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card-actions{
    margin-top: auto;
}

/*card ohne hover*/
.card-nohover{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:16px;
  height:100%;
  display: flex;
  flex-direction: column;
}

/* Besonderheiten für Rechtsgebiet-Karte */
.rg-card .jet-engine-dynamic-image img{
  width: 100%;
  height: 180px;        /* Einheitliche Kartenhöhe */
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media (max-width: 767px){
  .rg-card .jet-engine-dynamic-image img{
    height: 160px;
  }
}
/* Rechtsgebiet-Cards: Padding nur im Body, Bild edge-to-edge */
.rg-card{
  padding: 0;              /* überschreibt .card Padding nur hier */
  overflow: hidden;        /* damit die Ecken sauber clippen */
}

.rg-card .rg-card__body{
  padding: 16px;           /* gleicher Innenabstand wie vorher */
}



/* Dynamic Terms: saubere Grundtypografie, damit Separator nicht "absackt" */
.jet-listing-dynamic-terms,
.jet-listing-dynamic-terms a,
.jet-listing-dynamic-terms__item,
.jet-listing-dynamic-terms__link{
  line-height: 1.2 !important;
  vertical-align: baseline !important;
}

/* Falls Links/Items aus irgendeinem Grund inline-block/flex sind, zurück auf inline */
.jet-listing-dynamic-terms a,
.jet-listing-dynamic-terms__item,
.jet-listing-dynamic-terms__link{
  display: inline !important;
}

/* Badge – funktioniert für Shortcode-Widget und JetEngine Dynamic Field */
.badge .elementor-widget-container,
.badge .jet-listing-dynamic-field__content,
.badge .jet-listing-dynamic-field__content a{
  display: inline-flex !important;
  align-items: center;
  padding: 0.18rem 0.55rem !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
  line-height: 1.2 !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  background: rgba(0,0,0,.05) !important;
  width: fit-content !important;
}

/* =========================
   BADGE: Klausurtyp (ExÜ etc.)
   ========================= */
.klausurtyp-badge{
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;

  font-size: 15px;
  line-height: 1.15;
  font-weight: 600;

  /* weniger "rahmig" */
  border: 0;
  background: rgba(30, 58, 138, 0.10);  /* Marineblau Tint */
  color: #1E3A8A;
}
/* Badge-Wrapper in der Row neutralisieren (verhindert extra Line-Boxen) */
.badge-row .elementor-widget,
.badge-row .elementor-widget-container{
  margin: 0 ;
  padding: 0 ;
  line-height: 0  !important;
}
/* badge row */
.badge-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}



/* =========================
   RECHTSGEBIETE TAGS
   ========================= */
.rg-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rg-tag{
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;

  font-size: 15px;
  line-height: 1.15;
  font-weight: 500;

  border: 0;
  background: rgba(0,0,0,0.06); /* neutral Tint */
  color: #333;

  text-decoration: none;
}

/* +x ruhiger, aber als eigenes Element erkennbar */
.rg-tag--more{
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.65);
  font-weight: 500;
  font-size: 13px;     /* bewusst kleiner als 15px */
  opacity: 1;          /* nicht nur „ausgegraut“, sondern „Meta“ */
}



/* =========================
   TIME BADGE
   ========================= */
.time-badge .jet-listing-dynamic-field__content,
.time-badge .jet-listing-dynamic-field__content a{
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;

  font-size: 15px;
  line-height: 1.15;
  font-weight: 600;

  border: 0;
  background: rgba(0, 0, 0, 0.06);  /* neutraler als ExÜ */
  color: #333;

  width: fit-content;
}


/* Elementor setzt Widgets oft auf volle Breite – hier auf "auto" zwingen */
.badge-row > .elementor-element,
.badge-row .elementor-widget{
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Titel Typografie */
.card-title .elementor-widget-container{
  font-family: "Raleway", "IBM Plex Sans", sans-serif;
  font-size: 18px;     
  font-weight: 700;
  line-height: 1.25;
  color: #334155;
}

/* popup-card */
.popup-card{
  overflow: hidden;
}

/* Popup: Klausurtyp (Langform) als Badge – ohne doppelte Hülle */
.klausurtyp-long .jet-listing-dynamic-field__content,
.klausurtyp-long .jet-listing-dynamic-field__content a{
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;

  font-size: 15px;
  line-height: 1.15;
  font-weight: 600;

  border: 0;
  background: rgba(30, 58, 138, 0.10);
  color: #1E3A8A;

  width: fit-content;
}
/* Fundstelle popup */
.fundstelle-text{
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #475569;
}

/* Dropdown */
/* A) Nichts darf Dropdowns abschneiden */
.filters-wrap,
.filters-wrap *{
  overflow: visible !important;
}

/* B) Standard: alle Filter gleich */
.filters-wrap .filter-item{
  position: relative;
  z-index: 1;
}

/* C) Nur das aktive (fokussierte) Filter-Widget nach oben */
.filters-wrap .filter-item:focus-within{
  z-index: 1000;
}

/* D) Falls JetSmartFilters Select2 nutzt (häufig): Dropdown immer über allem */
.select2-container--open{
  z-index: 999999 !important;
}
.select2-dropdown{
  background: #fff !important;
}

/* E) Falls JetSmartFilters Choices.js nutzt (kommt auch vor): */
.choices__list--dropdown,
.choices__list[aria-expanded]{
  background: #fff !important;
  z-index: 999999 !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.12) !important;
  border: 1px solid rgba(0,0,0,.12) !important;
}

/* filters-card 
Filterkarte die mitwächst innerhalb des Bereichs */
.filters-card{
  width: clamp(960px, 92vw, 1160px);
  margin-inline: auto;
}


/* Unter 1180px: auf 2×2 */
@media (max-width: 1180px){
  .filters-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* manuelle Anzeige je nach px */
.filters-desktop,
.filters-tablet{
  display: none !important;
}

/* Tablet Range: 768–1199px */
@media (min-width: 768px) and (max-width: 1199px){
  .filters-tablet{ display: block !important; }

  /* Elementor (Sections/Columns) + Elementor Containers: inneren Inhalt zentrieren */
  .filters-tablet .elementor-container,
  .filters-tablet .elementor-row,
  .filters-tablet .e-con-inner{
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  /* Falls einzelne Columns/Container noch „kleben“ */
  .filters-tablet .elementor-column,
  .filters-tablet .e-con{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Desktop ab 1200px */
@media (min-width: 1200px){
  .filters-desktop{ display: block !important; }

  .filters-desktop .elementor-container,
  .filters-desktop .elementor-row,
  .filters-desktop .e-con-inner{
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  .filters-desktop .elementor-column,
  .filters-desktop .e-con{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Passende Sammlungen*/
/* Parent muss strecken */
.kk-icons-row{
  align-items: stretch !important;
}

/* Die 4 Child-Container (deine .card-Container) müssen "auto" Höhe haben,
   damit Stretch greifen kann */
.kk-icons-row > .e-con.card,
.kk-icons-row > .elementor-element.card{
  height: auto !important;          /* DAS ist der entscheidende Teil */
  align-self: stretch !important;   /* zur Sicherheit */
  display: flex;                    /* hast du schon, aber ok */
  flex-direction: column;
}

/* Optional: Inhalt in der Card vertikal „schön“ ausrichten */
.kk-icons-row > .e-con.card .elementor-widget-wrap,
.kk-icons-row > .elementor-element.card .elementor-widget-wrap{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;          /* oder flex-start */
}

/*Passende Sammlungen*/
/* Card-Design nur innerhalb dieser Sektion */
.kk-collections .kk-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:16px;
  display:flex;
  flex-direction:column;
}
/* Parent: stretch */
.kk-collections{
  align-items: stretch;
}

/* Die Cards dürfen nicht height:100% haben, damit stretch greifen kann */
.kk-collections .kk-card{
  height:auto;
  align-self: stretch;
}/* End custom CSS */