body {
    background-color: #221d0d;
}
.ym-button, .ym-form button, .ym-form input[type="button"], .ym-form input[type="reset"], .ym-form input[type="submit"] {
    background-color: #221d0d;
    box-shadow: 0px 0px 1px 1px #3d3419 inset, 0px 1px 0px #221d0d;
    color: #FFF !important;
    border-color: #221d0d;
    border-radius: 6px;
}
.ym-form button:hover, .ym-form input[type="button"]:hover, .ym-form input[type="reset"]:hover, .ym-form input[type="submit"]:hover, .ym-button:hover {
    background-color: #4C4B19 !important;
    box-shadow: 0px 0px 1px 1px #4C4B19 inset, 0px 1px 0px #4C4B19 !important;
    border-color: #4C4B19 !important;
    color: #ffffff !important;
}
.panibox {
    border-radius: 8px;
    overflow: hidden;
}
.panibox h6, .ym-form legend {
    background: #221d0d;
    border-radius: 8px 8px 0 0;
}
.schritt_aktiv {
    background: #4C4B19 !important;
    color: #ffffff !important;
}
.schritt_inaktiv {
    background: #221d0d;
}
.schritt_aktiv:first-child,
.schritt_inaktiv:first-child {
    border-radius: 8px 0 0 8px;
}
.schritt_aktiv:last-child,
.schritt_inaktiv:last-child {
    border-radius: 0 8px 8px 0;
}
.platzreservierung {
    background: #B1A427 !important;
    border-radius: 8px;
    margin-bottom: 8px;
}


.text-danach {
    font-size: 200%;
}

.button_start, .button_start_firma {
    width: 330px;
    text-align: center;
}
.firma, .einzel {
    color:#ffffff   !important;
}
header {
    text-align: center;
}
header h1 {
    color: #4C4B19 !important;
    text-shadow: none !important;
}
.headerauswahl {
    min-height: auto !important;
}
.headerauswahl a {
    border:none;
    background: white;
    margin: 4px;
}
/* Hover-Effekt für alle Kacheln */
.headerauswahl a span img {
    transition: opacity 0.2s ease;
}
.headerauswahl a:hover span img {
    opacity: 0.6;
}
/* Kacheln nebeneinander, Footer nach unten raus */
@media only screen and (min-width: 600px) {
    .headerauswahl {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        min-height: calc(100vh - 120px) !important;
    }
    .headerauswahl a {
        margin: 0 !important;
    }
    .abstand_oben {
        margin-top: 2em !important;
    }
}
@media only screen and (max-width: 600px) {
    .headerauswahl a {
        margin-bottom: 10px;
    }
    .headerauswahl .strecke {
        top: 30px;
    }
}
.headerauswahl a:hover, .headerauswahl a:active, .headerauswahl a:focus {
    background-color:transparent;
}
.headerauswahl .headerbutton {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}
.headerauswahl .headerbutton:nth-child(2n)  {
    flex-grow: 2;
    flex-wrap: wrap;
    background: orange;
}
.headerauswahl .titel {
    position: absolute;
    right: 0px;
    text-transform: uppercase;
    width: 100%;
    font-weight: bold;
    font-size: 26px;
    line-height:normal;
    box-sizing:border-box;
    padding:5px;
    position: absolute !important;
}
.headerauswahl .strecke {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    font-weight: lighter;
    font-size: 15px;
    text-align: center;
}
/* Meldestart als goldene Leiste unten in der Kachel (Desktop + Handy) */
.headerauswahl .info {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 99;
    background: #B1A427 !important;
    color: #221d0d !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 8px 5px !important;
}

/* Handyansicht: Kacheln volle Breite, kein weißer Rand */
@media only screen and (max-width: 599px) {
    .headerauswahl {
        display: block !important;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }
    .headerauswahl a {
        display: block;
        width: 100%;
        max-width: 412px;
        margin: 0 auto 16px !important;
        background: transparent !important;
    }
    .headerauswahl .headerbutton {
        width: 100%;
    }
    .headerauswahl img.button_start {
        display: block;
        width: 100% !important;
        height: auto;
    }
}

@media screen and (max-width: 500px) {
    .headerauswahl .strecke {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 20px !important;
        text-align: center;
    }
    .headerauswahl .titel {
        bottom: auto !important;
    }
}

/* Unterseiten: Logo mittig, Titel darunter (wie auf der Startseite) */
header img.logo1 {
    float: none !important;
    display: block;
    margin: 0 auto 1em !important;
    padding-right: 0 !important;
}

.ym-columnar .text-danach {
    padding-left: 30%;
    padding-bottom: 5px;
    font-size: 75%;
    float: left;
    font-weight: bold;
}

/* ERGEBNISSE */
table.divDetailsParent div.divDetailsInner > div > div:first-child {
    background-color: #221d0d !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-align: center !important;
    font-size: 13px !important;
}
.RRPublish > div.Tiles > div > div {
    color: #ffffff!important;
    background-color: #221d0d !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    font-weight: bold !important;
}
.RRPublish > div.SelectorParent > div.SelectorMenu > div > div:nth-child(1),
.RRPublish > div.SelectorParent > div.SelectorMenu > div.selectorResult > div:nth-child(1) {
    background-color: #221d0d !important;
    color: #ffffff !important;
}
.RRPublish > div.Tiles > div {
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}
@media only screen and (max-width: 600px) {
    .RRPublish > div.Tiles > div {
        margin-bottom: 16px !important;
        border: none !important;
    }
}
@media only screen and (max-width: 640px) {
    .RRPublish a.aShowAll {
        background-color: #221d0d !important;
        color: #ffffff !important;
        font-weight: bold !important;
    }
}
.RRPublish a.aShowAll {
    font-size: 1em !important;
    font-style: italic;
    color: #ffffff !important;
    cursor: pointer;
    line-height: 200%;
    margin-right: 3px;
    background-color: #221d0d;
    border-radius: 4px;
}
.RRPublish > div.ListControl > div.ListControlSearch > button.btnSearch:disabled {
    background-color: #221d0d !important;
    border: 1px solid #ffffff !important;
    cursor: default;
}
.RRPublish > div.ListControl > div.ListControlSearch > button.btnClearSearch {
    background-color: #221d0d !important;
    border: 1px solid #ffffff !important;
    padding: 5px;
    height: 27px;
    cursor: pointer;
    width: 10%;
    border-radius: 0 4px 4px 0;
    border-left: 0;
}
p {
    font-size: 1.5em;
    line-height: 1.5em;
    margin: 1.5em 0 0;
    background-color: #221d0d;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
}
@media screen and (max-width: 500px) {
    h1 {
        font-size: 150%;
        color: #ffffff;
        padding: 9px;
    }
}
nav {
    background: #221d0d;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
table.divDetailsParent div.divDetailsSocial > div:nth-child(2) {
    display: none !important;
}
table.divDetailsParent div.divDetailsSocial {
    display: none !important;
}
table.divDetailsParent div.divDetailsCertificates > div:nth-child(2) {
    text-align: center;
}
table.divDetailsParent div.divDetailsLinks > div {
    padding: 4px;
    text-align: center;
}
table.divDetailsParent div.divDetailsLinks > div:nth-child(2) img {
    max-height: 160px;
    max-width: 250px;
    border-radius: 5px;
}
.RRPublish > div.Tiles > div > table > tbody > tr > td {
    padding: 3px 3px 3px 8px;
    font-size: 0.95em;
    cursor: pointer;
    text-align: left;
    font-weight: bold !important;
}

/* ab hier Ergebnissdarstellung */


div.TileHeadText {
    background: #221d0d !important;
    color: #ffffff !important;
    font-weight: bold;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    overflow: hidden;
}
.RRPublish div.ListControl > div.ListControlSearch > button.btnSearch:disabled {
    background-color: #221d0d !important;
    border: 1px solid #ffffff  !important;
    cursor: default;
}
.RRPublish div.ListControl > div.ListControlSearch > button.btnClearSearch {
    background-color: #221d0d !important;
    border: 1px solid #ffffff  !important;
}
.panibox a:hover {
    background-color: #221d0d !important;
    color: #ffffff  !important;
}
.RRPublish div.Tiles > div > div {
    background: transparent !important;
}

.RRPublish div.SelectorParent > div.SelectorMenu > div > div:nth-child(1) {
    background-color: #221d0d !important;
    color: #ffffff  !important;
    font-weight: bold !important;
}
.RRPublish div.Tiles > div {
    border-top-left-radius: 9px !important;
    border-top-right-radius: 9px !important;
}
.RRPublish div.ListControl > div.ListControlSearch > button.btnSearch {
    background-color: #221d0d !important;
    color: #fff !important;
    border: 1px solid #d4fe42 !important;
}
/* Suchleiste vergrößern in Handyansicht */
@media only screen and (max-width: 750px) {
    .RRPublish div.ListControl > div.ListControlSearch {
        width: 70% !important;
        padding-right: 0;
        padding-top: 3px;
        white-space: nowrap;
    }
    .RRPublish div.ListControl > div.ListControlSearch > input {
        background-position: left !important;
        background-size: 20px;
        height: 28px;
        border-radius: 5px;
        border-right-width: 1px;
        width: 160% !important;
    }
}