/* ============================================================
   GLOBAL – Grundlayout (PC bleibt unverändert)
   ============================================================ */

.kw-doz-uebersicht .kw-ue {
    max-height: 230px;
    min-height: 230px;
    margin-bottom: 40px;
}

.kw-doz-uebersicht .kw-ue img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* ============================================================
   MOBILE (Handy) – unter 768px
   ============================================================ */

@media (max-width: 767px) {

    /* Eine saubere Spalte */
    .kw-doz-uebersicht .kw-ue {
        max-height: none !important;
        min-height: auto !important;
        display: block !important;
    }

    /* Bild oben */
    .kw-doz-uebersicht .kw-ue .col-md-4 {
        width: 100% !important;
        margin-bottom: 15px;
        text-align: center;
    }

    /* Text darunter */
    .kw-doz-uebersicht .kw-ue .col-md-8 {
        width: 100% !important;
        text-align: center;
    }

    /* Buttons volle Breite */
    .kw-doz-uebersicht .btn {
        width: 100% !important;
    }

    /* Social Icons mittig */
    .kw-doz-uebersicht .kw-ue .d-flex {
        justify-content: center !important;
    }
}

/* ============================================================
   TABLET (768–991px) – korrigiert alle Bootstrap-Konflikte
   ============================================================ */

@media (min-width: 768px) and (max-width: 991px) {

    /* Zwei saubere Spalten – eigenes Grid */
    .kw-doz-uebersicht .kw-ue {
        width: 48% !important;
        float: left !important;
        margin-right: 4%;
        max-height: none !important;
        min-height: 200px !important;
        display: block !important;
    }

    /* Jeder zweite Eintrag: letzte Spalte ohne Rand */
    .kw-doz-uebersicht .kw-ue:nth-child(2n) {
        margin-right: 0 !important;
    }

    /* Bild und Text übereinander statt nebeneinander */
    .kw-doz-uebersicht .kw-ue .col-md-4,
    .kw-doz-uebersicht .kw-ue .col-md-8 {
        width: 100% !important;
        float: none !important;
    }

    .kw-doz-uebersicht .kw-ue .col-md-4 {
        margin-bottom: 15px;
        text-align: center;
    }

    /* Button 100% breit */
    .kw-doz-uebersicht .btn {
        width: 100% !important;
    }

    /* Social Icons zentriert */
    .kw-doz-uebersicht .kw-ue .d-flex {
        justify-content: center !important;
    }
}

/* ============================================================
   PAGINATION FIX (oben & unten)
   ============================================================ */
.kw-paginationleiste {
    margin-bottom: 25px;
}

footer a, footer .btn.btn-outline-light {
		color: #fff !important;
		background: none;
		text-decoration: none;
		font-size: 20px;
		padding: 0px;
}
footer .btn:hover, footer a:hover {
		color: #da3518 !important;
		text-decoration: underline;
}

/* Workshopleiter */
.workshopleiter {
		margin-bottom: 20px;
		padding-bottom:10px;
		border-bottom: 1px dashed #000;
}

/* KURSSEITE */
.btn-xs {
  padding: 2px 6px;  /* Weniger Padding als btn-sm */
  font-size: 0.75rem; /* Kleinere Schriftgröße */
  line-height: 1.2;
  border-radius: 5px; /* Leicht abgerundete Ecken */
}

.button-container {
  display: flex;
  justify-content: space-between; /* Info links, Button rechts */
  align-items: center; /* Vertikal zentrieren */
  gap: 6px; /* Abstand zwischen den Elementen */
  margin-top: 15px; /* Abstand zu vorherigem Inhalt */
  padding: 15px 5px 0px 5px; /* Innenabstand für bessere Optik */
  border-top: 1px solid #ddd; /* Trennlinie für besseren visuellen Effekt */
  width: 100%; /* Stellt sicher, dass es die volle Breite nutzt */
}

.image-container {
  position: relative;
  width: 100%; /* Nimmt die volle Breite des Elterncontainers */
  padding-top: 56.25%; /* 16:9 Verhältnis (9/16 = 0.5625) */
  overflow: hidden; /* Verhindert, dass das Bild herausragt */
  background: #f0f0f0; /* Optional: Grauer Hintergrund für leere Bilder */
		margin-bottom:10px;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Schneidet das Bild passend zu */
	z-index: 0;
	border: 1px solid #ddd;
}
.image-container span {
		z-index: 1;
		position: absolute;
		top: 10px;
		left: 0px;
		min-width: 50px;
		max-width: 80%;
		height: 30px;
		font-size: 14px;
		text-align:center;
		line-height: 30px;
		display: block;
		background: #e74124;
		color: #fff;
		background: #e74124;
		border-top-right-radius: 5px !important;
		border-bottom-right-radius: 5px !important;
		padding: 0px 10px;
}

.kurs-preis {
		font-weight: bold;
		font-size: 24px;
		width: 50%;
}
.kurs-title {
		margin-top: 5px;
		font-weight: bold;
		line-height: 20px;
		min-height: 190px;
		overflow-y: auto;
}
.kurs-title span {
		font-weight: normal;
		padding-top: 10px !important;
		margin-top:10px;
}
.kurs-data {
		font-weight: normal;
}
/* BOOTSTRAP-LIkE */
.border {
    border: 1px solid #ddd; /* Standard-Grau */
}
.rounded {
    border-radius: 5px !important; /* Leicht abgerundet */
}
.rounded-lg {
    border-radius: 10px !important; /* Größere Abrundung */
}
.rounded-full {
    border-radius: 50% !important; /* Kreis */
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Automatische Anpassung */
  gap: 20px; /* Abstand zwischen den Elementen */
  padding: 20px; /* Platz um das Grid herum */
}

.grid-item {
  display: block; /* Lässt das  wie ein  agieren */
  background: #eee;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none !important; /* Entfernt Standard-Link-Formatierung */
  color: inherit !important; /* Beibehaltung der Standard-Textfarbe */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Schatten für optische Tiefe */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #ddd;
	position: relative;
}

.grid-item:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.grid-item img {
  max-width: 100%;
  border-radius: 10px;
}

/* RUNDE BILDER */
img.round-image {
		border-radius: 10px !important;
		border: none;
		padding: 3px;
}
.roboto-condensed- {
  font-family: "Roboto Condensed";
  font-optical-sizing: auto;
  font-style: normal;
}

.new-card__title, .new-card__title:hover, h2.new-card__title, h2.new-card__title:hover {
  font-weight: 600;
	font-family: SourceSans;
	text-decoration: none !important;
	color: #ffffff;
}

.Standort {
		display: block;
		cursor: pointer;
		width: 100%;
		height: 100%;
		background: transparent url('https://www.michelbrink-events.de/wp-content/uploads/2025/02/Michelbrink-Logolayer.png') no-repeat;
		position: absolute;
		bottom: 0px;
		right: 0px;
		z-index: 3;
		background-size: cover;
		padding: 15px;
		background-position: calc(100% - 10px) calc(100% - 10px);
}
.Standort_Name {
		color: #FFF !important;
		position: absolute;
		bottom: 40px;
		left: 40%;
		width: 180px;
		height: 100px;
		line-height: normal;
    cursor: pointer;
    display: flex;
    justify-content: center; 
    align-items: center;
		font-weight: bold;
		font-size: 30px !important;
		text-align: center !important;
}
.Standort_Name:hover {
		color: #000;
}
.new-card__Standort {
    color: #000 !important; 
    padding: 0;
    line-height: normal;
    cursor: pointer;
    display: flex;
    justify-content: center; 
    align-items: center;
    border: none !important;
    outline: none !important; 
    transition: all 0.3s ease;
		background: transparent url("https://www.michelbrink-events.de/wp-content/uploads/2025/02/Michelbrink-Logolayer.png") no-repeat center center;
		background-size: contain;
}
.new-card__title {
    color: #000 !important;
}
.new-card__Standort:hover {
    background: rgba(169, 169, 169, 0.6) !important;
		color: #fff !important;
		border-radius: 0 !important;
}
.new-card__Standort:hover .new-card__title {
    color: #fff !important; 
}
img.round-image {
    border-radius: 0px !important;
    border: none !important;
    padding: 3px;
}


body, div, article, html, span, h1, h2, h3, h4, h5, h6 {
	font-family: "Roboto Condensed", sans-serif !important;
}

.bildungsangebote figcaption a:hover,
.bildungsangebote figcaption afocus {
	background-color: rgba(187, 200, 50, 0.7);
	color: #ffffff;
}

.bildungsangebote figcaption a {
	background-color: rgba(0, 109, 92, 0.7);
	color: #ffffff;
}

.ortebold {
	font-weight: 900;
	text-transform: uppercase;
}

#main-menu .nav>li>a:hover,
#main-menu .dropdown-menu>li>a:hover {
	color: #fff;
	background-color: #d9d9d9;
}

#main-menu .nav .open>a,
#main-menu .nav .open>a:focus,
#main-menu .nav .open>a:hover {
	color: #fff;
	background-color: #d9d9d9;
}

.footer_logo_subtitle {
	display: inline-block;
	text-align: center;
}

.boesner_logo_subtilte {
	font-size: 16px;
	padding-bottom: 50px;
}

.greybox {
	padding: 2%;
}

h4,
.h4 {
	font-size: 20px;
	text-transform: uppercase;
	color: #000000;
}

#allgem_infobox td {
	padding: 6px;
}

.achtung {
	width: 80%;
	max-width: 1280px;
	margin: 20px auto;
	padding: 20px;
	font-weight: 700;
}

/*iframe eventlocation*/
.iframeinside{width:100vw; height:100vh;border:0 none;}



/* New */

.freundlicher  {
		padding-bottom: 40px;
}

.bildungsangebote2 .kubus-post-pagination {
	display: none;
}

.kurshighlights,
.bildungsangebote {
padding: 40px 0;
}

#kurshighlights .highligh-header {
	font-weight: 600;
	font-size: 36px;
	font-family: SourceSans;
	color: #000000;
}

.map__left-title {
line-height: 1.2;
}
		

.new-title {
  font-weight: 600;
  text-align: center;
  font-size: 33px;
  margin-bottom: 25px;
	font-family: SourceSans;
	color: #000000;
}

.header-sm {
  background-color: #fff !important;
  box-shadow: 0px 15px 10px -15px rgb(0 0 0 / 40%);
}


#logo {
  margin-top: 20px;
}

.custom-logo {
  max-width: 200px;
}

#header-menu ul:before {
  width: 0;
  height: 0;
  border-right: 50px solid transparent;
  border-bottom: 55px solid #fff;
  position: absolute;
  left: 0;
  background: transparent;
  transition: border 1s;
}

.header-sm #header-menu ul:before {
  border-right: 50px solid transparent;
  border-bottom: 55px solid #fff;
}

.new-box-block p {
  color: #000000;
}

.new-box-block h1 {
  color: #000000;
  font-weight: 900;
  font-family: SourceSans;
}

.new-p-it {
  font-style: italic;
}

.new-wrap {
  width: 100%;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size: cover;
}


.new-list-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  gap: 40px;

  @media (max-width: 768px) {
    gap: 20px;

    @media (max-width: 581px) {
      grid-template-columns: 1fr;
    }
  }
}

.new-card {
  max-width: 100%;
  position: relative;
  cursor: pointer;
}

.new-card p {
  display: none;
}

.new-card__wrap {
  display: block;
  max-width: 560px;
  width: 100%;
  height: 420px;
  position: relative;
  -webkit-box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 40%);
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 40%);

  @media (max-width: 481px) {
    height: 360px;
  }
}

.new-card__wrap:hover .new-card__content {
  right: 0;
}

.new-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.new-card__content {
  position: absolute;
  right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  bottom: 0;
  font-family: SourceSans;
  font-weight: 600;
  text-decoration: none;
  text-wrap: balance;
  color: #fff;
  padding: 15px;
  width: 170px;
  height: 210px;
  clip-path: polygon(35% 35%, 100% 0, 100% 100%, 0 100%, 0 15%);
  background-color: rgb(173 184 11 / 70%);
  text-align: left;
  transition: all .3s ease-in-out;
}

.new-card__content-bg1 {
  background-color: rgb(17 99 85 / 70%);
}
.new-card__content-bg3 {
  background-color: rgb(161 134 89 / 70%);
}
.new-card__content-bg4 {
  background-color: rgb(255 170 0 / 70%);
}

.new-card__title, .new-card__title:hover, h2.new-card__title, h2.new-card__title:hover {
  font-weight: 600;
	font-family: SourceSans;
	text-decoration: none !important;
	color: #ffffff;
}

.new-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.new-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.new-footer a {
  display: block;
  text-align: center;
}

.new-footer p {
  color: #FFFFFF;
}

/* Make YouTube videos inserted via WordPress oEmbed full-width */

.wp-block-embed-youtube {
	overflow: hidden;
	position: relative;
	max-width: 100%;
	height: auto;
	padding-bottom: 56.25%;
}

.new-card__content.new-card__content-bg1 {
  
}

.new-card__img.alignnone {
  
}

#meta, #meta i, #meta li {
		background: #000000;
		color: #ffffff;
}
.metaBlock a {
		color: #ffffff;
}

.kkf-logo-footer {
		position: relative;
		top: -10px;
		left: 20px;
}