/* styles-mobile-landscape.css */

/* Allgemeine Querformat-Styles für Smartphones */
@media only screen and (max-width: 896px) and (orientation: landscape) {
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 0;
    }

    .logo-link {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        display: flex;
        align-items: center;
    }

    .logo {
        width: 70px;
        margin-right: 18px;
    }

    .logo-text {
        font-size: 38px;
        font-weight: 300;
        color: #fff;
        text-transform: uppercase;
        line-height: 1.0;
        text-align: left;
    }

    .logo-text .chat {
        display: block;
        font-size: 28px;
    }

    .logo-text .ch {
        font-size: 19px;
        color: #b59e5b;
        text-decoration: underline;
    }

    .login-container {
        position: absolute;
        top: -65px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        z-index: 5;
        padding: 20px;
        background: none;
        border-radius: 10px;
    }

    .login-links-row {
        margin-top: 5px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .footer-links {
        font-size: 15px;
    }

    .footer-links a {
        font-size: 15px;
        margin: 0;
        padding: 0 6px;
        white-space: nowrap;
    }
}

/* iPhone 14 Pro Max – Landscape */
@media only screen and (device-width: 932px) and (device-height: 430px)
  and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    body::before {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }

    .logo-text {
        font-size: 36px;
        text-align: left;
    }

    .logo-link {
        top: 8px !important;
        left: 10px !important;
    }

    .login-container {
        top: 75px;
    }
}

/* Google Pixel 7 – Landscape */
@media only screen and (device-width: 915px) and (device-height: 412px)
  and (-webkit-device-pixel-ratio: 2.625) and (orientation: landscape) {
    body::before {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }

    .logo-text {
        font-size: 38px;
        text-align: left;
    }

    .logo-link {
        top: 10px !important;
        left: 10px !important;
    }
}

/* Samsung Galaxy S20 Ultra – Landscape */
@media only screen and (device-width: 915px) and (device-height: 412px)
  and (-webkit-device-pixel-ratio: 3.5) and (orientation: landscape) {
    body::before {
        background-color: rgba(0, 0, 0, 0.1) !important;
    }

    .logo-text {
        font-size: 38px;
        text-align: left;
    }

    .logo-link {
        top: 2px !important;
        right: 50px !important;
        left: auto;
    }

    .login-container {
        top: 70px;
    }

    .footer-links,
    .footer-links a {
        font-size: 14px;
    }

    .login-links-row {
        margin-top: 5px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

/* Samsung Galaxy S8+ – Landscape */
@media only screen and (device-width: 740px) and (device-height: 360px)
  and (-webkit-device-pixel-ratio: 4) and (orientation: landscape) {
    body::before {
        background-color: rgba(0, 0, 0, 0.1) !important;
    }

    .logo-link {
        top: 10px !important;
        right: 400px !important;
        left: auto;
    }

    .logo-text {
        text-align: right;
    }

    .login-container {
        top: 14px;
    }
}

/* Galaxy Z Fold5 – Landscape */
@media only screen and (device-width: 882px) and (device-height: 344px) and (orientation: landscape) {
    body::before {
        background-color: rgba(0, 0, 0, 0.1) !important;
    }

    .logo-link {
        top: 5px !important;
        right: 500px !important;
        left: auto;
    }

    .logo {
        width: 60px;
        margin-right: 18px;
    }

    .logo-text {
        font-size: 26px;
        text-align: left;
    }

    .login-container {
        top: -90px;
    }

    .footer-links,
    .footer-links a {
        font-size: 12px;
    }
}

/* Galaxy A51 / A71 – Landscape */
@media only screen and (device-width: 914px) and (device-height: 412px) and (orientation: landscape) {
    .logo-link {
        left: 10px;
        top: 20px;
    }

    .logo {
        width: 60px;
        margin-right: 15px;
    }

    .logo-text {
        font-size: 38px;
        font-weight: 300;
        color: #fff;
        text-transform: uppercase;
        line-height: 1.0;
        text-align: left;
    }

    .logo-text .chat {
        display: block;
        font-size: 28px;
    }

    .logo-text .ch {
        font-size: 19px;
        color: #b59e5b;
        text-decoration: underline;
    }

    .login-links-row {
        margin-top: 5px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}
