@media all and (min-width: 1200px)
{
	.home .tour_container .img_container
	{
		height: 180px;
	}
}


body.home .woocommerce-form__label-for-checkbox.checkbox input[type=checkbox]{
    margin-left:0;
}

label[for=payment_method_ppcp-gateway]:after {
    content: " oder Kreditkarte";
}


/* --- */

/* Abstand auf der Startseite */
.hq-gr-1{
	padding-top: 60px;
}

/* Trennlinien auf der Startseite */
.hq-trennlinie{
	border-top: 1px solid #ebebeb;
    display: block;
    height: 1px;
    position: relative;
    top: 1px;
    width: 50%;
	border-top-width: 3px;
	margin-bottom: 0;
}

/* Spalteneinstellungen */
.hq-4splt{
	padding: 45px 0 0;
	margin: 20px 0 45px;
	gap: 30px;
}

@media (max-width: 768px) {
    .hq-gr-1{
	margin: 0 ;
}
}

/* Überschrift responsive machen */
body.home h2, body.home .main_title h2 {
    font-size: clamp(1.5rem, 4vw, 3rem); /* Responsive Schriftgröße */
    word-wrap: break-word; /* Text umbrechen */
    overflow-wrap: break-word; /* Lange Wörter umbrechen */
    white-space: normal !important; /* Zeilenumbruch erlauben */
    max-width: 100%; /* Nicht breiter als Container */
}

/* Mobile spezifisch */
@media (max-width: 768px) {
    body.home h2, body.home .main_title h2 {
        font-size: 1.8rem; /* Kleinere Schrift auf Mobile */
        line-height: 1.2; /* Geringerer Zeilenabstand */
        text-align: center; /* Zentriert auf Mobile */
    }
}

/* Button auf der Alle-Touren-ansehen-Seite */
.hq-btn-alleTourenAnsehen{
	border: none;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 20px;
	margin: 50px 0 20px !important;
    transition: all .3s;
    border-radius: 3px;
}
/* zweite Trennlinen-Variante auf anderen Seiten */
.hq-trennlinie2{
    /* border-top: 1px solid #ebebeb;
    display: block;
    height: 1px;
    position: relative;
    top: 1px;
    width: 100%;
	margin: 24px 0; */
    border-top: 1px solid #ebebeb;
    margin-top: 34px;
    margin-bottom: 34px;
}
/* Abstände zwischen Absätzen auf der Kiezkultur-Seite */
.hq-gr-kiezkultur{
    padding: 24px 0;
}
/* Abstände zwischen Absätzen auf der Kieztour-Seite */
.hq-gr-kieztouren{
    padding: 0 0 48px;
}

/* Einstellung der rechten Spalte der Tabelle1 (links Weiß, rechts grau) auf der Restaurants Und Cafes Seite + auf allen anderen Seiten*/
.hq-gr-restaurantsUndCafes-1spalteR{
    background-color: #EEEEEE;
    margin: 24px 0;
    padding: 12px 12px 12px 27px;
    font-size: 14px;
    line-height: 20px;
}
/* Einstellung der linken Spalte der Tabelle1 (links Weiß, rechts grau) auf der Restaurants Und Cafes Seite + auf allen anderen Seiten*/
.hq-gr-restaurantsUndCafes-1spalteL{
    padding: 0 15px 0 0;
}
/* Einstellung der Lücke zwischen den Spalten der Tabelle auf der Restaurants Und Cafes Seite + auf allen anderen Seiten*/
.hq-gr-restaurantsUndCafes-spalten{
    gap: 0;
}
/* Einstellung der rechten Spalte der Tabelle2 (rechts Weiß, links grau) auf der Restaurants Und Cafes Seite + auf allen anderen Seiten*/
.hq-gr-restaurantsUndCafes-2spalteR{
    padding: 0 0 0 15px;
}
/* Einstellung der linken Spalte der Tabelle2 (rechts Weiß, links grau) auf der Restaurants Und Cafes Seite + auf allen anderen Seiten*/
.hq-gr-restaurantsUndCafes-2spalteL{
    background-color: #EEEEEE;
    margin: 24px 0;
    padding: 12px 27px 12px 12px;
    font-size: 14px;
    line-height: 20px;
}
/* graue Boxem in Spalten auf der Restaurants-Und-Cafes-Seite*/
/* .hq-greyBox{
    font-size: 14px;
    line-height: 20px;
} */

/* Touren-Boxem auf der Hauptseite */
/* .tour_title{
    display: flex;
    flex-direction: column;
    min-height: 220px;
} */

/* extra margin für bestimmte Blöcke für passenden Abstand */
.hq-rdm-blck{
    margin-top: 34px !important;
}

/* Abstand der Palten im 3-Spalten-Block */
.hq-3splt {
    gap: 30px !important;
}

/* .tour-list{
    display: grid !important;
    align-content: space-evenly !important;
    justify-content: space-evenly !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    grid-template-columns: auto auto auto !important;

}
.tour-list>.col-md-4{
    width:100% !important;
    visibility: visible !important;
    animation-delay: 0.1s !important;
    animation-name: zoomIn !important;
    align-content: stretch !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    justify-items: stretch !important;
}

.tour-list > [class*="col-"] .tour_container {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
} */


body.home #single_tour_desc .visible-xs .attachment-post-thumbnail {
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  body.home .col-md-3:nth-child(n+12) {
    display: none !important;
  }
}

body.home .tour_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 340px;           
  box-sizing: border-box;
}

body.home .tour_container .img_container {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
body.home .tour_container .img_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.home .tour_container .tour_title {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 15px;
  height: auto !important;      
  box-sizing: border-box;
}

body.home .tour_container .tour_title h3 {
  margin: 0 0 12px 0;
  overflow: hidden;
} 

body.home .tour_container .short_descr {
  font-size: 16px !important;   
  line-height: 20px !important;
  margin: 12px 0 12px 0;

}

body.home .tour_container .tour_title .btn_1 {
  margin-top: auto;
  display: inline-block;
  font-size: 16px;
}

@media (max-width: 767px) {
  body.home .tour_container {
    min-height: auto;
  }
}
 /* Wrapper-Klasse am Gutenberg-Block „Spalten“ setzen (zusätzliche CSS-Klasse: hq-4splt) */
body.home .wp-block-columns.hq-4splt {
  padding: 45px 0 0;
  margin: 20px 0 45px;
  gap: 30px;
  justify-content: center;
}

/* Nur mobil: flex-grow bei .wp-block-column zuverlässig deaktivieren */
@media (max-width: 782px) {
  body.home wp-block-columns.hq-4splt > .wp-block-column {
    /* flex-grow rausnehmen */
    flex-grow: 0 !important;
    /* verhindert „0-Basis + Grow“-Verhalten, lässt Breite natürlich fließen */
    flex-basis: auto !important;
    /* optional sinnvoll bei mobilen Spalten: volle Breite */
    max-width: 100%;
  }
}

/* UEBERSCHREIBEN VON FONT SIZE */
body.home .tour-list h3 a {
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 21px !important;
    color: #424346;
}
 
/*HOEHE NEU */ 
/* Tour-Container: alle alten Höhen zurücksetzen, damit JS greift */
/* Alte height:auto !important-Zeilen löschen! */
body.home .tour-list > [class*="col-"] .tour_container{
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
}
body.home .tour-list .tour_title{
  display:flex;
  flex-direction:column;
  flex:1 0 auto;
}
body.home .tour-list .tour_title .btn_1{
  margin-top:auto;
}

/* ---- */

/* Hauptcontainer mit Grid statt Flex */
body.home .tour-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
}

/* Jede Karte gleichmäßig und voll ausfüllend */
body.home .tour-list .col-md-4,
body.home .tour-list .col-sm-6 {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Bilder passen sich sauber an */
body.home .tour_container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Clearfix-Pseudo-Elemente im Grid abschalten */
body.home .tour-list::before,
body.home .tour-list::after,
body.home .tour-list.row.add-clearfix::before,
body.home .tour-list.row.add-clearfix::after {
  content: none !important;
  display: none !important;
}

/* Tour-Guides-Bereich auf Mobilgeräten ausblenden */
@media (max-width: 768px) {
  .hq-gr-1.hide-mobile {
    display: none;
  }
}

/* .wp-block-group__inner-container.is-layout-constrained.wp-block-group-is-layout-constrained {
  display: block !important;
  visibility: visible !important;
} */

/* Gridfeld auf der Startseite Zentrieren */
body.home .tour-list.row.add-clearfix{
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
}

/* Schleife an den Tourenbildern auf der Startseite */
body.home .ribbon_3 {
    left: -3px !important;
    top: -3px !important;
}

@media (max-width: 768px) {
  /* Verstecke alle Touren ab der 9. Karte */
  body.home .tour-list .col-md-4:nth-child(n+9),
  body.home .tour-list .col-sm-6:nth-child(n+9) {
    display: none;
  }
}

/* Nach dem Anklicken bleibt der Button-Text weiß (nur Startseite) */
body.home .tour_container .btn_1:visited {
  color: #fff !important;
}

