:root {
    --main-bg-color: #4276a2f0;
    --main-txt-color: blue;
    --main-padding: 15px;
    /* Logo (7vmin) + Logo-Padding + Header-Rahmen */
    --header-height: calc(7vmin + 10px);
    /* Kühles Anthrazit für zurücktretende Meta-Angaben auf Weiß */
    --muted-txt-color: #5f6b76;
    /* Abstand von der Kastenkante bis zum Text – gilt für Label UND Feld,
       damit beide fluchten. 12px entspricht dem Radius der Label-Pille
       (Höhe 24px, dadurch auf 12px begrenzt): der Text beginnt exakt dort,
       wo die Rundung in die Gerade übergeht. Enger wirkt gedrängt. */
    --field-text-inset: 12px;
}

.style2 {
    font-family: Verdana, Arial, Helvetica, sans-serif
}

#header {
    top: 0;
    position: fixed;
    border-bottom: 2px solid #c0c0c0;
    /* height: 35vh; */
    width: 100%;
    background: var(--main-bg-color);
    z-index: 50;
    background-image: url(headBack.svg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerTOP {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#headerNav {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-right: 1.5em;
}

#headerNav a {
    color: #ffffff;
    font-size: 0.95em;
    white-space: nowrap;
}

#headerNav a:hover {
    text-decoration: underline;
}

#headerBottom {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    /* NEW, Spec - Firefox, Chrome, Opera */
}

#headerTOP img {
    height: 7vmin;
    margin-left: 20px;
    padding: 4px;
    cursor: pointer;
}

/* #headerTop div {
    margin-top: 10px;
    text-align: center;
    font-family: monospace;
    color: white;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
} */

#main {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    overflow: hidden;
    min-height: 73vh;
    position: absolute;
    /* ohne Breite schrumpft der absolut positionierte Block auf seinen Inhalt,
       wodurch die %-Ränder der Info-Boxen vom Inhalt abhängen würden */
    width: 100%;
    margin-top: calc(var(--header-height) + 0.75em);
}

#mainData {
    padding-left: 4%;
    padding-right: 4%;
}

/* Browser-Default-Einzug der Ergebnisliste zurücksetzen */
#content {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mainDataHolder{
    width: 100vw;
}
.footer {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: #5e7d96;
    border-top: 2px solid #c0c0c0;
    border-right: 2px solid #c0c0c0;
    border-top: 2px solid #c0c0c0;
    overflow: hidden;
    color: #c0c0c0;
    bottom: 0;
    font-size: small;
    position: fixed;

}

/* overflow-x muss hier stehen (nicht auf body), sonst wird es an den Viewport
   propagiert und scrollbar-gutter bliebe wirkungslos. Der reservierte Platz
   verhindert, dass das Layout zwischen kurzen und langen Inhalten springt. */
html {
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#filterHolder {
    margin: auto;
}

#filterHolder input,
#filterHolder select {
    width: 100%;
    font-size: 1.6vh;
}

/* 
.listElement {
    display: block;
    border: 1px black;
    background-color: white;
    margin: 1em;
    display: block;
    padding-bottom: 1em;
} */

.listElement {
    display: block;
    border: 1px black;
    background-color: white;
    /* padding: 0 10px 0 10px; */
    margin: 0.3em;
    display: block;
    /* flex-flow: wrap; */
    /* padding-bottom: 1em; */
    padding: 1em;
}

.topDiv table {
    margin-right: 10px;
    width: 22vmin;
}

.title {
    overflow: hidden;
    /* sehr lange Wörter umbrechen statt abschneiden */
    overflow-wrap: break-word;
    color: black;
    text-decoration: none;
    margin-bottom: 1em;
    font-size: 1.3em;
}

.topDiv p {
    color: black;
}

.topDiv a {
    text-decoration: none;
}

 ::-webkit-input-placeholder {
    /* Edge */
    color: white;
}

 :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: white;
}

::placeholder {
    color: white;
}

.cloud {
    background: #fff;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 52px;
    -webkit-box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.1);
    /* height: 120px; */
    position: relative;
    /* width: 350px; */
    margin-bottom: 30px;
    margin-top: 0;
}

.cloud:after,
.cloud:before {
    background: #fff;
    content: '';
    position: absolute;
    z-indeX: -1;
}

/* height/top bewusst in px: prozentuale Werte beziehen sich auf die Kartenhöhe
   und ließen die Beulen bei inhaltsreichen Karten in die Karte darüber ragen.
   width/left bleiben in %, da alle Karten gleich breit sind. */
.cloud:after {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    height: 68px;
    left: -4%;
    top: -10px;
    width: 16%;
}

.cloud:before {
    -webkit-border-radius: 75%;
    -moz-border-radius: 75%;
    border-radius: 75%;
    width: 25%;
    height: 56px;
    left: 3%;
    top: -22px;
}

a:-webkit-any-link {
    color: #000000;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.marginDiv {
    margin: auto;
    width: fit-content;
    width: -moz-fit-content;
}

#loadingGIF {
    display: none;
    width: 256px;
    /* margin: auto; */
    /* left: 25%; */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.centerTextAdd{
    display: flex;
    justify-content: center;
    margin: 1em;
}

.topDiv{
    margin-left: 4%;
    width: 96%;
    display: grid;
    /* exakt die Maximalbreite des Logos – Titel starten dadurch über alle
       Karten hinweg bündig, ohne dass eine breite Restspalte entsteht.
       minmax(0,1fr) statt 1fr: sonst kann die Spalte nicht unter die
       Min-Content-Breite langer Titel schrumpfen und läuft aus der Karte. */
    grid-template-columns: 22vmin minmax(0, 1fr);
    gap: 1.25em;
    align-items: center;
}
.companyLogo {
    max-width: 22vmin !important;
    max-height: 11vmin !important;
    display: flex;
}

.listElementHeadLine{
    margin-left: 4%;
    font-size: 0.8em;
    display: flex;
}
.listElementHeadLine div{
    margin-right: 2em;
}
.listElementHeadLine div svg{
margin-right: 0.5em;
}

/* Quellenangabe tritt gegenüber Datum und Titel zurück */
.listElementHeadLine .provider{
    color: var(--muted-txt-color);
}
 a {
    text-decoration: none;
}
.closeX{
    float: right;
    font-family: cursive;
    font-size: large;
}
.FilterHeader{
    /* linksbündig mit dem zugehörigen Feld – das Innenpolster entspricht dem
       Feldpolster, dadurch fluchtet auch der Text */
    margin: 0 0 0.45em 0;
    background: white;
    padding: 0.15em var(--field-text-inset);
    width: fit-content;
    border-radius: 1em;
}

.container {
    display: inline-block;
    cursor: pointer;
  }
  
  .bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: rgb(255, 255, 255);
    margin: 6px 0;
    transition: 0.4s;
  }

 .closeX .bar1, .closeX .bar2, .closeX .bar3{
 background-color: rgb(0, 0, 0);
 }
  
  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
  }
  
  .change .bar2 {opacity: 0;}
  
  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }

/* Info-Boxen "Eigene Anzeigen" und "Impressum" – gemeinsamer Stil */
#booking,
#ImpressumContent {
    display: none;
    margin-left: 10%;
    margin-right: 10%;
    padding: 1em;
    background-color: #ffffff59;
    /* verhindert, dass der Sprung zum Anker unter dem fixen Header landet */
    scroll-margin-top: calc(var(--header-height) + 0.75em);
}

#booking:target,
#ImpressumContent:target {
    display: block;
}

/* Solange eine Info-Box offen ist, tritt die Ergebnisliste zurück */
#booking:target ~ #mainDataHolder,
#ImpressumContent:target ~ #mainDataHolder {
    display: none;
}

.closeOverlay {
    float: right;
}

  #LinkView{
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: auto auto auto auto auto;
    align-items: center;
}
#LinkView img{
width: 150px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin: 0 0 2.5em;
    padding: 0 4%;
}

.pagination a,
.paginationCurrent {
    padding: 0.5em 1.2em;
    border-radius: 45px;
    font-size: 0.95em;
}

.pagination a {
    background: #ffffff;
    color: #1d1d1d;
    border: 2px solid #47abff;
}

.pagination a:hover {
    background: #47abff;
    color: #ffffff;
}

.paginationCurrent,
.keineTreffer {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.keineTreffer {
    text-align: center;
    margin: 2em 0 3em;
}

/* Seitenüberschrift über der Suche – steht auf dem Foto, daher Schatten */
#pageTitle {
    margin: 0 0 0.9em;
    padding: 0 4%;
    text-align: center;
    font-size: 1.4em;
    font-weight: normal;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Search / filter controls (formerly select_pure.css) */
#mainFilter {
    margin-bottom: 3em;
    padding: 0 4%;
}

#mainFilter .marginDiv {
    width: 100%;
    max-width: 640px;
}

.locDiv {
    margin-bottom: 1.6em;
    display: flex;
    gap: 1.5em;
}

.filterWithHeader {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Standort bekommt mehr Raum als die Umkreis-Auswahl */
.locDiv .filterWithHeader:first-child {
    flex: 2;
}

#searchTextField,
#umkreisInput,
#keywordSearchElement {
    width: 100%;
    margin: 0;
    font-size: inherit;
    background: #ffffff;
    border-radius: 45px;
    /* Rahmen abziehen, damit der Text auf derselben Kante sitzt wie im Label */
    padding: 0.4em calc(var(--field-text-inset) - 2px);
    z-index: 4;
    position: relative;
    border: 2px solid #47abff;
}

#keywordSearchElement::placeholder {
    color: rgb(51, 51, 51);
}

#tagBox {
    display: flex;
    flex-flow: wrap;
    margin: auto;
    padding-left: 4%;
    padding-right: 4%;
    font-size: 0.8em;
}

.tag {
    position: relative;
    padding: 0.2em;
    padding-left: 1.4em;
    line-height: normal;
    background: #e6e6e694;
    height: fit-content;
    margin: 0.2em;
    color: #1d1d1d;
    width: fit-content;
    outline: 1px solid rgb(70 70 70 / 50%);
}

.tag::before {
    content: "#";
    font-weight: bolder;
    color: #47abff;
    font-size: 1.2em;
    position: absolute;
    left: 0.15em;
    top: 0.05em;
}