/* T A B L E T S ::::::::::::::::::::::::::::::::::::::::::::::::: */
@media (max-width: 1280px) {

    /* SUBPAGES ======================== */
    .tab-liste {
        text-indent: 0em;
    }

    #sub-content-info table {
        text-align: left;
    }
}

/* T A B L E T S ::::::::::::::::::::::::::::::::::::::::::::::::: */
@media (max-width: 1024px) {

    /* STARTSEITE ====================== */
    html,
    body {
        font-size: 12px;
    }

    #content {
        gap: 12px;
        padding: 12px 24px;
    }

    #footer {
        flex-wrap: wrap;
    }

    #hinweis-text {
        order: 1;
        min-width: 100%;
        margin-bottom: 1em;
    }

    #hinweis-text p {
        width: 95%;
        height: 100%;
        border: none;
        border-radius: 0;
        background-color: transparent;
        border-bottom: 2px solid #2c435d;
        padding-bottom: 0.5em;
        background-image: linear-gradient(to bottom, transparent 50%, #2889de 50%);
        background-size: 100% 2px;
        background-repeat: no-repeat;
        background-position: bottom;
    }

    #hinweis-text .text-rechts {
        display: block;
        text-align: center;
    }

    #info {
        order: 2;
        width: 50%;
    }

    #info table {
        max-width: 90%;
        width: 90%;
        text-indent: 0.2em;
        letter-spacing: 0px;
        padding: 4px;
        line-height: 1;
    }

    .top-space {
        padding-top: 0.6em;
    }

    #info table:hover {
        width: 100%;
    }

    #karte {
        order: 3;
        width: 50%;
        margin-top: 1em;
    }

    .map-iframe {
        width: 60%;
    }

    .map-iframe:hover {
        width: 65%;
    }

    /* SUBPAGES ======================== */
    .tab-liste {
        text-indent: 0em;
    }

    #sub-content-info table {
        text-align: left;
    }

    /* INFOPAGES ======================== */
    #inf-navi li {
        padding: 0 0.5em;
    }

    .deadlink {
        font-size: 1.2em;
    }
}

/* S M A R T P H O N E S ::::::::::::::::::::::::::::::::::::::::::::::::: */
@media (max-width: 768px) {

    /* STARTSEITE ====================== */
    html,
    body {
        font-size: 11px;
    }

    #logo {
        flex: 0;
        background: none;
    }

    #content {
        /* self */
        width: 100%;
        border-right: none;
        box-shadow: none;
        background-image: url(../img/bg-logo.png);
        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: right center;
    }

    #logo #snavi {
        top: 5%;
        right: 8%;
        font-size: 2em;
    }

    #logo #snavi ul li {
        display: block;
        margin-bottom: 1em;
    }

    /* SUBPAGES ======================== */
    #sub-content-info {
        /* self */
        width: 90%;
        font-size: 1.2em;
    }

    #sub-content-info table {
        width: 60%;
        text-align: left;
    }

    #sub-content-info img {
        margin: 0 0 0 0.5em;
        width: 40%;
        aspect-ratio: 1 / 1;
        height: auto;
    }



    /* INFOPAGES ======================== */
    #content-info {
        width: 90%;
    }

    #inf-navi li {
        padding: 0 0.1em;
    }

    .deadlink {
        font-size: 0.7em;
    }

    #content-info table {
        width: 80%;
    }

}


/* K L E I N E  S M A R T P H O N E S ::::::::::::::::::::::::::::::::::::::::::::::::: */
@media (max-width: 480px) {

    /* STARTSEITE ====================== */
    html,
    body {
        font-size: 9px;
    }

    #wrapper {
        height: 100%;
    }

    #content {
        justify-content: flex-start;
        align-items: flex-start;
        row-gap: 24px;
        padding: 24px 48px 0 12px;
    }

    .flex-item-content {
        height: 26%;
    }

    #logo #title {
        /* bottom: 0.8em; */
        font-size: 4.5em;
    }

    #logo #title span.slide:nth-child(2) {
        font-size: 6.5vw;
    }

    #info {
        width: 95%;
        height: 100%;
        border: none;
        border-radius: 0;
        background-color: transparent;
        border-bottom: 2px solid #2c435d;
        padding-bottom: 0.5em;
        background-image: linear-gradient(to bottom, transparent 50%, #2889de 50%);
        background-size: 100% 2px;
        background-repeat: no-repeat;
        background-position: bottom;
    }

    /* SUBPAGES ======================== */

    #sub-content-info {
        padding: 0;
        align-items: center;
        justify-content: center;
        /* width: 100%; */
     }

    #sub-content-info img {
        display: none;
    }

    #sub-content-info table {
        width: 100%;
        /* font-size: 1.2em; */
    }

    #sub-content-info a {
        font-size: 0.8em;
    }

    #sub-content-info p {
        /* width:100%; */
    }

    #sub-navi li {
        height: 3em;
        padding: 0 0.3em;
    }

    /* INFOPAGES ======================== */
    #content-info {
        width: 100%;
    }

    #content-info p.pink-text {
        text-indent: 0;
    }

    #inf-navi li {
        padding: 0 0.1em;
    }

    #inf-navi a {
        font-size: 1em;
    }

    .deadlink {
        font-size: 1em;
    }

    #content-info table {
        width: 90%;
    }


}