/* Website DUGEL IMMOBILIENPARTNER – Stil der bisherigen Website (css/global.css), ergänzt am Ende */
@font-face {
    font-family: "Officina";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/OfficinaSerifLT-Book.woff") format("woff"), url("../fonts/OfficinaSerifLT-Book.ttf") format("truetype");
    font-display: swap;
}


* {
    padding: 0;
    margin: 0
}

body {
    /* Kurze Seiten: der helle Bereich wächst, die Fußleiste bleibt so hoch wie ihr Inhalt */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 100%;
    font-family: "Officina", Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    background-color: #002f52;
    color: #262e35;
    overflow-y: scroll;
    /*background-image: url(../img/BG.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;*/
}

.bodybgAROUND {
    /* Der Inhalt wächst, die Impressumzeile sitzt dadurch immer direkt über der Fußleiste */
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-image: url(../img/BG.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-color: #d2d5dc;
}

/*************************************************************** TOP ***********************************************************************/
#inhalt {
    flex: 1 0 auto;
}

/* Im Flex-Container schrumpfen Kästen mit margin: auto sonst auf ihren Inhalt */
.topnavAROUND, .topBILD {
    width: 100%;
}

.topnavAROUND {
    margin: 45px auto 0 auto;
    height: auto;
    max-width: 1000px;
    overflow: hidden
}

.IconBurger {
    display: none
}

.topLOGO {
    float: left;
    margin-left: 25px
}

.topLOGO img {
    width: 240px;
}

.topNAV {
    display: block;
    float: right;
    padding: 45px 0 0 0
}

.topNAV a {
    margin-right: 25px;
    font-size: 1.6em;
    font-family: "Officina";
    color: #9da2a7;
    text-transform: uppercase;
    text-decoration: none

}

.topNAV a:hover {
    color: #e78600
}

.topNAV .ON {
    color: #002f52 !important
}

.topBILD {
    max-width: 1000px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    background-color: #FFFFFF;
    padding: 15px 0;
    margin: 30px auto 0 auto;
    clear: both
}

.topBILD img {
    width: 100%
}

.topBILDhome {
    max-width: 1000px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    background-color: #FFFFFF;
    padding: 15px 0;
    margin: 30px auto 0 auto;
    clear: both;
    overflow: hidden
}

@media print {
    .topNAV {
        display: none
    }
}

/************************************************************* HOME   **********************************************************************/
.HOMEboxAround {
    margin: 35px auto 35px auto;
    height: auto;
    max-width: 1000px;
    overflow: hidden;
    padding-left: 0%
}

.HOMEbox {
    width: 31%;
    margin: 0 1%;
    float: left;
}

.HOMEboxHalf1 {
    width: 44%;
    margin: 0 2%;
    float: left;
}

.HOMEboxHalf2 {
    width: 48%;
    margin: 0 2%;
    float: left;
}

.HOMEbox h1 {
    font-size: 2em;
    color: #002f52;
    line-height: 1.2em;
    margin-bottom: 0.3em;
    font-weight: normal
}

.HOMEbox p {
    font-size: 1em;
    line-height: 1.6em
}

.HOMEboxLinks {
    font-size: 1.25em;
}

.HOMEbox a, .HOMEbox a:visited {
    color: #46505a;
    text-decoration: none
}

.HOMEbox a:hover {
    color: #002f52;
}

.dugeln {
    margin: 5px 0 14px 0;
    border: 0;
    max-width: 100%
}

/************************************************************* CONTENT   **********************************************************************/
.contentAround {
    margin: 10px auto 15px auto;
    height: auto;
    max-width: 960px;
    overflow: hidden;
    padding: 20px;
    font-size: 1em;
    line-height: 1.6em
}

.contentAround h1 {
    font-size: 1.8em;
}

.contentAround h2 {
    font-size: 1.2em;
}

.contentAround h1, .contentAround h2 {
    color: #002f52;
    font-weight: normal;
    margin-bottom: 0.5em;
    line-height: 1.2em
}

.contentAround h4 {
    color: #002f52;
    font-weight: bold;
    margin-bottom: 0.3em;
    line-height: 1.2em;
    font-size: 1em;
}

.contentAround p, .contentObjDescription p, .contentObjDescriptionUebers p {
    margin-bottom: 0.8em;
    line-height: 1.6em
}

.contentAround .line {
    height: 1px;
    border-top: 1px solid #b2b5bb;
    border-bottom: 1px solid #fff;
    margin: 13px 0
}

.contentAround ul {
    margin: 0 0 0.8em 2em
}

.contentAround ul li {
    margin: 0 0 0.5em 0
}

.contentWhite {
    max-width: 960px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    background-color: #FFFFFF;
    padding: 20px;
    margin: 30px auto 0 auto;
    clear: both;
    overflow: hidden
}

.contentWhiteUebers {
    max-width: 960px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    background-color: #FFFFFF;
    padding: 20px;
    margin: 0 auto 15px auto;
    clear: both;
    overflow: hidden;
    min-height: 255px
}

.BildAustausch {
    position: relative;
    width: 340px;
    float: left;
    margin: 0 0 20px 0
}

.BildAustausch img {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.verkauftButton {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 132px;
}

.actionButton {
    position: absolute;
    right: 10px;
    top: 194px;
    z-index: 999;
    width: 50px;
}

.float-left {
    float: left;
}

.contentObjDescriptionUebers {
    position: relative;
    width: auto;
    float: left;
    margin: 0 0 15px 20px;
    font-size: 0.9em;
    line-height: 1.6em;
}

.contentObjDescription {
    width: 300px;
    float: left;
    margin-right: 20px;
    font-size: 0.9em;
    line-height: 1.6em;
}

.contentObjDescription h1, .contentObjDescriptionUebers h1 {
    color: #002f52;
    font-size: 2em;
    font-weight: normal;
    margin-bottom: 0.1em;
    line-height: 1.2em;
}

.contentObjDescription h2, .contentObjDescriptionUebers h2 {
    color: #0761A4;
    font-size: 1.2em;
    font-weight: normal;
    margin-bottom: 1em;
    line-height: 1.2em
}

.contentObjDescription h3 {
    color: #002f52;
    font-size: 1.4em;
    font-weight: normal;
    margin: 0.81em 0 0.4em 0;
    line-height: 1.2em
}

.contentObjDescription .bezeichn, .contentObjDescriptionUebers .bezeichn {
    color: #878f98
}

.contentAround .bezeichn {
    color: #727b85
}

.contentAround a, .contentAround a:visited, .contentObjDescription a, .contentObjDescription a:visited, .contentObjDescriptionUebers a, .contentObjDescriptionUebers a:visited {
    color: #e78600;
    text-decoration: none
}

.contentAround a:hover, .contentObjDescription a:hover, .contentObjDescriptionUebers a:hover {
    text-decoration: underline
}

/************************************************************************ Impressum  *****************************************************/
.impressumAround {
    margin: 35px auto 15px auto;
    height: auto;
    width: calc(100% - 40px);
    max-width: 960px;
    overflow: hidden;
    padding: 0 20px;
    font-size: 0.9em;
    color: #002f52;
}

.impressumL {
    float: left
}

.copyR {
    color: #b2b5bb;
    font-size: 2em;
    font-style: italic;
}

.impressumR {
    float: right;
}

.impressumR a, .impressumR a:visited {
    color: #002f52;
    text-decoration: none
}

.impressumR a:hover {
    color: #e78600
}

@media print {
    .impressumAround {
        display: none
    }
}

/***************************************************** footer ******************************************************************************/
.footerAroundBlue {
    background-color: #002f52;
    padding: 20px 0 30px 0;
    margin: 0 0 0 0;
}

.footerAround {
    margin: 0 auto;
    height: auto;
    max-width: 960px;
    overflow: visible;
    display: flow-root;
    padding: 0 20px;
    font-size: 0.9em;
    color: #d3d6dd;
    line-height: 1.6em
}

.footerAdresse {
    float: left;
    padding-right: 50px
}

.footerAdresse a, .footerAdresse a:visited {
    color: #d3d6dd;
    text-decoration: none
}

.footerAdresse a:hover {
    color: #fff;
}

/* Facebook als einfacher Link an der Stelle des alten Zwei-Klick-Knopfs (Schalter 23 px + 10 px Abstand) */
.footerSP {
    margin-left: 165px;
    margin-right: -50px;
    padding-right: 0 !important;
}

.footerSP .facebook {
    display: block;
    margin-top: 25px;
}

.footerSP .facebook img {
    display: block;
    border: 0;
}

/*******************************************************global*****************************************************************************/


.orange {
    color: #e78600 !important
}

.blau {
    color: #002f52;
}

.arr {
    font-size: 1.4em;
    font-weight: bold
}

.line {
    height: 1px;
    border-top: 1px solid #b2b5bb;
    border-bottom: 1px solid #f4f5f7;
    margin: 5px 0;
}

.Zahl {
    display: block;
    font-size: 1em;
    color: #002f52;
    background-color: #f0f1f3;
    width: 28px;
    height: 26px;
    text-align: center;
    float: left;
    border-radius: 14px;
    margin: -4px 10px 2px 0;
    padding: 2px 0 0 0;
    border: 1px solid #bdc6cf
}

ol, ul {
    margin: 0 0 0 1.4em
}

ol li, ul li {
    margin-bottom: 0.7em
}

/********************************************** Formular Anmeldumg Angebote **********************************************************************/
#anmeldung form {
    margin-top: 30px
}

#anmeldung label {
    clear: both;
    float: left;
    display: block;
    width: 110px;
    margin-bottom: 3px
}

#anmeldung .text {
    float: left;
    display: block;
    width: 340px;
    margin: 3px 0;
    height: 20px;
    border: 1px solid #dbdcdc;
    font-family: "Officina", Cambria, Times, "Times New Roman", serif;
    font-size: 1em
}

#anmeldung .SENDspace {
    float: left;
    width: 65px;
    height: 1px
}

#anmeldung .SEND {
    float: left;
    display: block;
    width: 340px;
    margin: 10px 0 0 0;
    height: 27px;
    border: 1px solid #1b4260;
    background-color: #a6c7df;
    color: #fff;
    font-family: "Officina", Cambria, Times, "Times New Roman", serif;
    background-image: url(../img/bg_button_send.png);
    font-size: 1.1em;
    padding: 2px 0 0 0;
    cursor: pointer
}

/********************************************** Formular Kontakt**********************************************************************/
.kontaktAround {
    float: left;
    width: 35%;
    margin-right: 5%
}

.kontaktAround2 {
    float: left;
    width: 60%
}

#kontakt form {
    margin-top: -4px
}

#kontakt label {
    clear: both;
    float: left;
    display: block;
    width: 125px;
    margin-bottom: 0px;
    padding: 4px 0 0 0
}

#kontakt .bietebox {
    float: left;
    display: block;
    padding: 4px 0 8px 0;
    width: 408px;
    margin: 0 0 8px 0;
    border-bottom: 1px dotted #b2b5bb;
}

#kontakt .objektbox {
    float: left;
    display: block;
    padding: 4px 0 0 0;
}

#kontakt .text {
    float: left;
    width: 400px;
    margin: 3px 0;
    border: 1px solid #dbdcdc;
    padding: 4px;
    font-family: "Officina", Cambria, Times, "Times New Roman", serif;
    font-size: 1em;
    color: #666
}

#kontakt .SENDspace {
    float: left;
    width: 125px;
    height: 1px;
    clear: both
}

#kontakt .SEND {
    float: left;
    display: block;
    width: 410px;
    margin: 10px 0 0 0;
    height: 27px;
    border: 1px solid #1b4260;
    background-color: #a6c7df;
    color: #fff;
    font-family: "Officina", Cambria, Times, "Times New Roman", serif;
    background-image: url(../img/bg_button_send.png);
    font-size: 1.1em;
    padding: 2px 0 0 0;
    cursor: pointer
}

#kontakt .AGBabstand {
    clear: both;
    margin-left: 125px
}

#kontakt .AGBabstandCheckbox {
    float: left;
    margin-right: 5px;
    min-width: 20px;
    padding: 4px 0 0 0
}

#kontakt .AGBabstandText {
    float: left;
    width: 380px;
    margin-bottom: 15px
}

#kontakt .sternText {
    padding: 15px 0 0 125px;
    clear: both;
    font-size: 0.8em;
}

.mobileWEG {
}

/***************************************************************************************************************************************/


@media only screen and (max-width: 1000px) {
    .topLOGO img {
        width: 210px;
    }

    .topNAV a {
        font-size: 1.4em;
    }

    .contentObjDescription {
        width: 100%;
        float: left;
        margin: 0 5px 20px 0;
        font-size: 0.9em;
        line-height: 1.6em;
    }

    .mobile {
        display: none
    }

    .footerSP {
        margin-left: 0;
        margin-right: 0;
        padding-right: 0 !important;
    }

}

@media only screen and (max-width: 940px) {
    #kontakt .AGBabstand {
        clear: both;
        margin-left: 0px
    }

    #kontakt .AGBabstandCheckbox {
        float: left;
        margin-right: 5px;
        min-width: 20px;
        padding: 4px 0 0 0
    }

    #kontakt .AGBabstandText {
        float: left;
        width: 600px;
        margin-bottom: 15px
    }

    #kontakt .sternText {
        padding: 15px 0 0 0;
    }
}

@media only screen and (max-width: 870px) {
    .topLOGO img {
        width: 185px;
    }

    .topNAV a {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 800px) {
    .topNAV a {
        font-size: 1.1em;
    }

}

@media only screen and (max-width: 768px) {

    .topnavAROUND {
        margin: 20px auto 0 auto;
    }

    .topNAV {
        display: none;
    }

    .IconBurger {
        position: absolute;
        top: 0px;
        right: 0px;
        float: right;
        width: 86px;
        height: 72px;
        display: block
    }

    .topLOGO {
        margin: 0 auto;
        width: 100%;
        text-align: center
    }

    .topLOGO img {
        width: 210px;
    }

    .topNAV {
        float: left;
        padding: 1px 0 0 0;
        border-top: 1px solid #b2b5bb;
        margin-top: 20px;
        width: 100%;
        border-bottom: 1px solid #fff;
    }

    .topNAV a {
        display: block;
        width: 100%;
        padding: 8px 25px 4px 25px;
        border-bottom: 1px solid #b2b5bb;
        border-top: 1px solid #fff;
        margin: 0 0 1px 0;
        font-size: 1.6em;
        font-family: "Officina";
        color: #9da2a7;
        text-transform: uppercase;
        text-decoration: none;
        background-color: transparent;
    }

    .topNAV a:hover {
        background-color: #fff
    }

    .topBILD {
        margin: 10px auto 0 auto;
    }

    .HOMEbox {
        width: 96% !important;
        margin: 0 2% 1.5em 2%;
        float: left;
        clear: both
    }


    .footerAroundBlue {
        padding: 20px 0;
    }

    .footerAdresse {
        padding-right: 0px
    }


}

@media only screen and (max-width: 740px) {
    .kontaktAround {
        float: left;
        width: 100%;
        margin-right: 0%
    }

    .kontaktAround2 {
        float: left;
        width: 100%
    }

    #kontakt form {
        margin-top: -4px
    }

    #kontakt label {
        clear: both;
        float: left;
        display: block;
        width: 100%;
        margin-bottom: 0px;
        padding: 4px 0 0 0
    }

    #kontakt .text {
        float: left;
        width: 100%;
        margin: 3px 0;
        border: 1px solid #dbdcdc;
        padding: 4px;
        font-family: "Officina", Cambria, Times, "Times New Roman", serif;
        font-size: 1em;
        color: #666
    }

    #kontakt .SENDspace {
        float: left;
        width: 115px;
        height: 1px;
        clear: both
    }

    #kontakt .SEND {
        float: left;
        display: block;
        width: 100%;
        margin: 10px 0 0 0;
        height: 27px;
        border: 1px solid #1b4260;
        background-color: #a6c7df;
        color: #fff;
        font-family: "Officina", Cambria, Times, "Times New Roman", serif;
        background-image: url(../img/bg_button_send.png);
        font-size: 1.1em;
        padding: 2px 0 0 0;
        cursor: pointer
    }

    .mobileWEG {
        display: none
    }

}

@media screen and (max-width: 700px) {
    .contentObjDescriptionUebers {
        width: 100%;
        float: none;
        margin: 270px 0 0 0;
        font-size: 0.9em;
        line-height: 1.6em;
        clear: both
    }

}

@media only screen and (max-width: 500px) {
    .contentWhite {
        padding: 20px 20px 0 20px;
    }

    .topLOGO {
        margin: 0 auto;
        width: 100%;
        text-align: left
    }

    .topLOGO img {
        margin-left: 17px
    }

    .BildAustausch {
        position: relative;
        width: 340px;
        max-width: 100%;
        float: left;
        margin: 0 0 20px 0
    }

    .BildAustausch img {
        cursor: pointer;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%
    }

    #anmeldung form {
        margin-top: 30px
    }

    #anmeldung label {
        clear: both;
        float: left;
        display: block;
        width: 100%;
        margin-bottom: 3px
    }

    #anmeldung .text {
        float: left;
        display: block;
        width: 100%;
        margin: 3px 0;
        height: 20px;
        border: 1px solid #dbdcdc
    }

    #anmeldung .SENDspace {
        float: left;
        width: 100%;
        height: 1px
    }

    #anmeldung .SEND {
        float: left;
        display: block;
        width: 100%;
        margin: 10px 0 0 0;
        height: 27px;
        border: 1px solid #1b4260;
        background-color: #a6c7df;
        color: #fff;
        font-family: "Officina", Cambria, Times, "Times New Roman", serif;
        background-image: url(../img/bg_button_send.png);
        font-size: 1.1em;
        padding: 2px 0 0 0;
        cursor: pointer
    }

    .actionButton {
        top: 140px;
    }

    #kontakt .AGBabstandText {
        width: 470px;
        margin-bottom: 15px
    }
}

@media screen and (max-width: 360px) {
    .contentObjDescriptionUebers {
        width: 100%;
        float: none;
        margin: 250px 0 0 0;
        font-size: 0.9em;
        line-height: 1.6em;
        clear: both
    }

    #kontakt .AGBabstandText {
        width: 100%;
        margin-bottom: 15px
    }
}


label.widerruf {
    width: 120px;
    float: left;
    margin-right: 20px;
}

/* =====================================================================================================================
   Ergänzungen Neubau 2026
   ===================================================================================================================== */

/* Menüknopf als echter Button */
button.IconBurger { border: 0; background: none; padding: 0; cursor: pointer; }
@media only screen and (max-width: 768px) {
    .topNAV.offen { display: block; }
}
.topNAV a[aria-current] { color: #002f52 !important; }

/* Startseite: Bildwechsel ohne Fremdskript */
.schaukasten { position: relative; aspect-ratio: 1000 / 365; overflow: hidden; }
.schaukasten img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.schaukasten img.aktiv { opacity: 1; }
.schaukasten-punkte { position: absolute; bottom: 10px; right: 14px; display: flex; gap: 8px; }
.schaukasten-punkte button { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #fff; background: rgba(255,255,255,.4); padding: 0; cursor: pointer; }
.schaukasten-punkte button.aktiv { background: #e78600; border-color: #e78600; }

/* Akkordeon (vorher jQuery UI) */
.akkordeon details { border: 1px solid #d9d9d9; background: #fff; margin-bottom: 4px; }
.akkordeon summary { cursor: pointer; padding: 8px 12px 8px 36px; list-style: none; position: relative; color: #002f52; font-size: 1.1em; }
.akkordeon summary::-webkit-details-marker { display: none; }
.akkordeon summary::before { content: "+"; position: absolute; left: 12px; top: 5px; font-size: 1.3em; color: #e78600; font-weight: bold; }
.akkordeon details[open] summary::before { content: "–"; }
.akkordeon details[open] summary { border-bottom: 1px solid #eee; background: #f7f8fa; }
.akkordeon details > div { padding: 12px 16px 4px 16px; }

/* Externe Inhalte erst nach Klick laden */
.extern-laden { border: 1px dashed #b2b5bb; background: #fff; padding: 16px; margin: 10px 0; }
.extern-laden iframe { width: 100%; border: 0; min-height: 500px; }

/* Knopfstil global (vorher nur in #kontakt/#anmeldung) */
.SEND { display: inline-block; min-width: 200px; height: 29px; border: 1px solid #1b4260; background-color: #a6c7df; color: #fff;
        font-family: "Officina", Cambria, Times, "Times New Roman", serif; background-image: url(../img/bg_button_send.png);
        font-size: 1.1em; padding: 2px 16px 0 16px; cursor: pointer; }
.SEND:hover, .SEND:focus { filter: brightness(1.08); }

/* Formulare */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.klar { clear: both; }
#kontakt .haken { float: left; padding-top: 4px; max-width: 410px; }
#kontakt p.klar { padding-top: 12px; }
#kontakt fieldset.wahlgruppe { border: 0; padding: 0; margin: 0 0 10px 0; clear: both; overflow: hidden; }
#kontakt fieldset.wahlgruppe legend { float: left; width: 125px; padding: 4px 0 0 0; }
#kontakt label.wahl { clear: none; float: none; display: block; width: auto; padding: 2px 0; }
.hinweis-fehler { color: #c00; font-weight: bold; }
.hinweis-ok { color: #0a7a2a; font-weight: bold; }
.zustimmung { padding-left: 28px; position: relative; }
.zustimmung input[type=checkbox] { position: absolute; left: 0; top: 4px; }
#kontakt.freigabe label[for^="f_provision"], #kontakt.freigabe label[for^="f_widerruf"], #kontakt.freigabe label[for^="f_kontakt"] { float: none; width: auto; display: inline; clear: none; padding: 0; }
.freigabe-bild { width: 260px; max-width: 100%; float: right; margin: 0 0 15px 15px; }
.objekt-anfrage { overflow: hidden; margin-bottom: 15px; }

/* Angebotsübersicht */
.angebote { max-width: 1000px; margin: 30px auto 0 auto; }
h2.abschnitt { color: #002f52; font-weight: normal; }
h2.abschnitt { max-width: 960px; margin: 25px auto 12px auto; padding: 0 20px; font-size: 1.5em; }
.abschnitt-text { max-width: 960px; margin: -6px auto 14px auto; padding: 0 20px; color: #46505a; }
.BildAustausch { height: 255px; overflow: hidden; }
.BildAustausch img { height: 100%; object-fit: cover; }
.BildAustausch .bild2 { display: none; }
.BildAustausch.zweites .bild2 { display: block; }
.BildAustausch .actionButton { position: absolute; right: 10px; bottom: 10px; top: auto; width: 50px; border: 0; background: none; padding: 0; cursor: pointer; z-index: 5; }
.BildAustausch .actionButton img { position: static; height: auto; width: 100%; }
.status-band { position: absolute; left: 0; top: 14px; z-index: 6; background: #c0392b; color: #fff; text-transform: uppercase; letter-spacing: .08em;
               padding: 4px 14px; font-size: .85em; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.status-band.status-reserviert { background: #e78600; }
.status-band.status-verkauft { background: #c0392b; }
.status-band.status-neu { background: #0761A4; }
.status-hinweis { font-weight: bold; color: #c0392b; }
.status-hinweis.status-reserviert { color: #e78600; }
.exklusiv { border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; background-color: #fff; font-size: 0.9em; margin-top: 25px; }
.referenzen { max-width: 1000px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; box-sizing: border-box; }
.referenz { display: block; background: #fff; border: 1px solid #d9d9d9; text-decoration: none; color: #262e35; }
.referenz:hover { border-color: #e78600; }
.referenz.versteckt { display: none; }
.referenzen.alle .referenz.versteckt { display: block; }
.referenz-bild { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.referenz-bild img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
.referenz-bild .status-band { top: 10px; font-size: .75em; padding: 3px 10px; }
.referenz-text { display: block; padding: 8px 10px; font-size: .9em; line-height: 1.4em; }
.mehr-referenzen { text-align: center; margin: 18px 0 30px 0; }

/* Objektseite: Galerie */
.ObjektSlider { overflow: hidden; }
.galerie-gross { position: relative; background: #f0f1f3; }
.galerie-gross img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #f0f1f3; }
.galerie-pfeil { position: absolute; top: 45%; transform: translateY(-50%); width: 42px; height: 56px; border: 0; background: rgba(0,47,82,.55); color: #fff;
                 font-size: 2em; line-height: 1; cursor: pointer; }
.galerie-pfeil.zurueck { left: 0; }
.galerie-pfeil.vor { right: 0; }
.galerie-pfeil:hover { background: rgba(231,134,0,.85); }
.galerie-titel { margin: 4px 0 0 0; min-height: 1.4em; font-size: .85em; color: #46505a; }
.galerie-leiste { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.galerie-leiste a { display: block; width: 82px; height: 62px; border: 2px solid transparent; }
.galerie-leiste a.aktiv { border-color: #e78600; }
.galerie-leiste img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media only screen and (min-width: 1001px) {
    .ObjektSlider { margin-left: 320px; }
}

/* Freigaben und Kundenbereich */
.dokument-vorschau { width: 100%; height: 800px; border: 1px solid #d9d9d9; background: #fff; }
.klein { font-size: .85em; color: #727b85; }

/* Lauftext „DUGEL IMMOBILIENPARTNER informiert“ (Startseite, lib/newsticker.php) – wie früher über der Impressumzeile */
.ticker { max-width: 960px; margin: 35px auto 0 auto; padding: 0 20px; color: #002f52; }
.ticker h2 { font-weight: normal; font-size: 18px; margin: 0 0 12px 0; }
.ticker-band { overflow: hidden; white-space: nowrap; line-height: 25px; }
.ticker-lauf { display: inline-flex; animation: ticker-lauf 60s linear infinite; }
.ticker-folge { padding-right: .3em; }
.ticker a { color: #002f52; text-decoration: none; }
.ticker a:hover, .ticker a:focus-visible { text-decoration: underline; }
.ticker-datum { color: #e78600; }
.ticker-band:hover .ticker-lauf, .ticker-band:focus-within .ticker-lauf { animation-play-state: paused; }
@keyframes ticker-lauf { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker-lauf { animation: none; }
    .ticker-band { overflow-x: auto; }
    .ticker-folge[aria-hidden] { display: none; }
}

/* Kundenbereich (/kunden/…): Karte in der Mitte, PIN-Eingabe, Dateiliste, Hochladen */
.kb { max-width: 680px; margin: 30px auto 15px auto; padding: 0 20px; line-height: 1.5em; }
.kb-schmal { max-width: 460px; }
/* Kurze Karten (PIN, nicht verfügbar) im freien Raum mittig, etwas oberhalb der Mitte */
#inhalt:has(> .kb-schmal) { display: flex; flex-direction: column; padding: 30px 0 6vh 0; }
#inhalt > .kb-schmal { width: calc(100% - 40px); margin: auto; }
.kb [hidden] { display: none !important; }
.kb-karte { background: #fff; border-radius: 10px; padding: 32px 36px; box-shadow: 0 1px 2px rgba(0,47,82,.08), 0 10px 32px rgba(0,47,82,.12); }
.kb-mittig { text-align: center; }
.kb h1 { color: #002f52; font-weight: normal; font-size: 1.7em; line-height: 1.2em; margin: 0 0 .5em 0; overflow-wrap: anywhere; }
.kb h2 { color: #002f52; font-weight: normal; font-size: 1.25em; margin: 1.6em 0 .7em 0; }
.kb p { margin: 0 0 .8em 0; }
.kb svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kb .kb-ueber { margin: 0 0 .2em 0; text-transform: uppercase; letter-spacing: .14em; font-size: .75em; color: #e78600; }
.kb-symbol { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #eef3f7; color: #002f52; margin-bottom: 14px; }
.kb-symbol svg { width: 26px; height: 26px; }
.kb-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 1.2em; }
.kb-kopf .kb-symbol { flex: 0 0 auto; margin: 0; }
.kb-kopf h1 { margin: 0; }
.kb .kb-hinweis { background: #f5f7f9; border-left: 3px solid #e78600; border-radius: 0 6px 6px 0; padding: 12px 16px; }
.kb-fuss { text-align: center; font-size: .9em; color: #46505a; margin-top: 18px; }
.kb-fuss a { color: #002f52; }
.kb-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kb-knopf { display: block; width: 100%; padding: 12px 20px; border: 0; border-radius: 8px; background: #002f52; color: #fff; font-family: inherit; font-size: 1.1em;
            cursor: pointer; transition: background .15s; }
.kb-knopf:hover, .kb-knopf:focus-visible { background: #0b4a7a; }
.kb-knopf:disabled { background: #a9b6c2; cursor: default; }
.kb .kb-fehler { background: #fdecea; color: #a61b1b; border-radius: 6px; padding: 10px 14px; }
.kb .kb-ok { background: #e8f5ec; color: #146c2e; border-radius: 6px; padding: 10px 14px; margin: 0 0 .8em 0; }
.kb-ok ul { margin: 6px 0 0 1.2em; }
.kb-ok li { margin: 0; overflow-wrap: anywhere; }
/* PIN */
.kb-pin { margin-top: 1.4em; }
.kb-pinfeld { position: relative; margin-bottom: 14px; }
.kb-pinfeld input { width: 100%; box-sizing: border-box; padding: 12px 52px; border: 2px solid #d3dae1; border-radius: 8px; background: #fbfcfd; color: #002f52;
                    font-family: inherit; font-size: 1.6em; letter-spacing: .3em; text-align: center; transition: border-color .15s, box-shadow .15s; }
.kb-pinfeld input::placeholder { color: #aab4be; letter-spacing: .1em; }
.kb-pinfeld input:focus { outline: 0; border-color: #002f52; background: #fff; box-shadow: 0 0 0 4px rgba(0,47,82,.12); }
.kb-zeigen { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 6px; background: none;
             color: #8a96a3; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kb-zeigen[hidden] { display: none; }
.kb-zeigen:hover, .kb-zeigen[aria-pressed="true"] { color: #002f52; background: #eef3f7; }
.kb-zeigen svg { width: 22px; height: 22px; }
/* Dateien */
.kb-dateien, .kb-auswahl { list-style: none; margin: 0; padding: 0; }
.kb-dateien li { margin: 0 0 8px 0; }
.kb-datei { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e3e7ec; border-radius: 8px; color: #262e35; text-decoration: none;
            transition: border-color .15s, background .15s; }
.kb-datei:hover, .kb-datei:focus-visible { border-color: #e78600; background: #fffaf3; }
.kb-typ { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; background: #8a96a3; color: #fff;
          font-family: Arial, Helvetica, sans-serif; font-size: .68em; font-weight: bold; letter-spacing: .03em; }
.kb-typ-pdf { background: #d64541; }
.kb-typ-doc { background: #2b6cb0; }
.kb-typ-xls { background: #2f855a; }
.kb-typ-bild { background: #e78600; }
.kb-typ-zip { background: #6b5b95; }
.kb-dateiname { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.kb-dateiname small { display: block; color: #727b85; font-size: .82em; }
.kb-laden { flex: 0 0 auto; color: #002f52; }
.kb-laden svg { width: 22px; height: 22px; display: block; }
.kb .kb-leer { background: #f5f7f9; border-radius: 8px; padding: 16px; color: #727b85; text-align: center; }
/* Hochladen */
.kb-abschnitt { border-top: 1px solid #eef1f4; margin-top: 1.8em; }
.kb-ablage { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 26px 16px; border: 2px dashed #c5cfd8; border-radius: 10px; background: #f8fafb;
             text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.kb-ablage:hover, .kb-ablage.aktiv, .kb-upload:has(input[type=file]:focus-visible) .kb-ablage { border-color: #002f52; background: #eef3f7; }
.kb-ablage svg { width: 40px; height: 40px; color: #002f52; margin-bottom: 6px; }
.kb-ablage u { color: #002f52; }
.kb-ablage small { color: #727b85; font-size: .8em; margin-top: 6px; }
.kb-upload { position: relative; }
.kb-upload input[type=file] { display: block; margin: 10px 0; }
.kb-upload.mit-skript input[type=file] { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.kb-auswahl { margin-top: 10px; }
.kb-auswahl li { display: flex; align-items: center; gap: 12px; padding: 8px 0; margin: 0; border-bottom: 1px solid #eef1f4; }
.kb-auswahl .kb-typ { width: 36px; height: 36px; }
.kb-balken { display: block; height: 4px; margin-top: 5px; border-radius: 2px; background: #eef1f4; overflow: hidden; visibility: hidden; }
.kb-balken span { display: block; width: 0; height: 100%; background: #002f52; transition: width .2s; }
.kb-auswahl li.laedt .kb-balken, .kb-auswahl li.ok .kb-balken { visibility: visible; }
.kb-auswahl li.ok .kb-balken span { width: 100% !important; background: #2f855a; }
.kb-auswahl li.ok small { color: #2f855a; }
.kb-auswahl li.fehler small { color: #c0392b; }
.kb-entfernen { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: #8a96a3; font-size: 1.4em; line-height: 1; cursor: pointer; }
.kb-entfernen:hover { background: #f1f3f5; color: #262e35; }
.kb-auswahl li.laedt .kb-entfernen, .kb-auswahl li.ok .kb-entfernen { visibility: hidden; }
.kb-upload .kb-knopf { margin-top: 14px; }
.kb-upload .kb-ok { margin-top: 14px; }
.kb .kb-klein { font-size: .82em; color: #727b85; margin-top: 10px; text-align: center; }
@media only screen and (max-width: 600px) {
    .kb { margin-top: 15px; padding: 0 16px; }
    #inhalt:has(> .kb-schmal) { padding-top: 15px; }
    #inhalt > .kb-schmal { width: calc(100% - 32px); }
    .kb-karte { padding: 22px 18px; }
    .kb-kopf .kb-symbol { display: none; }
    .kb-pinfeld input { font-size: 1.3em; }
}

@media only screen and (max-width: 740px) {
    #kontakt fieldset.wahlgruppe legend { float: none; width: 100%; }
    #kontakt .haken { max-width: 100%; }
}
@media screen and (max-width: 700px) {
    .contentObjDescriptionUebers { margin-top: 0; }
    .BildAustausch { width: 100%; float: none; }
}
@media print {
    .IconBurger, .topNAV, .galerie-pfeil, .footerAroundBlue { display: none !important; }
}
