/*
 * Vollbild-Anmeldung für Gäste: Markenfläche (Navy, Gruß, Wellenlinien) und
 * Formularfläche (Creme). Farben aus dem Theme Lütvogt Basis:
 * Navy #12284c, Gold #cc8b3b, Creme #faf4eb.
 */

.clp-fullscreen-body {
    margin: 0;
    padding: 0 !important; /* Polster des Themes für Kopfzeile und Quickaccess gibt es hier nicht. */
    background: #faf4eb;
}

.clp-split {
    --clp-navy: #12284c;
    --clp-navy-dark: #0a172b;
    --clp-gold: #cc8b3b;
    --clp-cream: #faf4eb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 992px) {
    .clp-split {
        display: grid;
        grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    }
}

/* Markenfläche --------------------------------------------------------- */

.clp-split__brand {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 96px;
    background: var(--clp-navy);
    color: #fff;
}

.clp-split__brand--image {
    background-image: linear-gradient(160deg, rgba(18, 40, 76, .92) 0%, rgba(18, 40, 76, .78) 55%, rgba(10, 23, 43, .9) 100%), var(--clp-bg-image);
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .clp-split__brand {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100dvh;
        padding: 56px 64px;
    }
}

.clp-brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.clp-brand__company {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.clp-brand__main {
    margin-top: 40px;
}

@media (min-width: 992px) {
    .clp-brand__main {
        margin-top: auto;
        margin-bottom: auto;
        padding-bottom: 12vh;
    }
}

.clp-brand__tagline {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--clp-gold);
}

.clp-brand__greeting {
    margin: 0;
    font-size: clamp(44px, 6.4vw, 104px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.02em;
    color: #fff;
}

.clp-brand__dot {
    color: var(--clp-gold);
}

.clp-brand__title {
    margin: 18px 0 0;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.2;
    color: rgba(255, 255, 255, .92);
}

.clp-brand__intro {
    display: none;
    max-width: 420px;
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 2px solid var(--clp-gold);
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .78);
}

@media (min-width: 992px) {
    .clp-brand__intro {
        display: block;
    }
}

/* Wellenlinien als Anklang an die Quelle */
.clp-brand__waves {
    position: absolute;
    left: -2%;
    bottom: -8px;
    width: 104%;
    height: 120px;
    pointer-events: none;
}

@media (min-width: 992px) {
    .clp-brand__waves {
        height: 38%;
    }
}

.clp-brand__waves path {
    fill: none;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.clp-brand__waves .w1 { stroke: rgba(204, 139, 59, .25); }
.clp-brand__waves .w2 { stroke: rgba(204, 139, 59, .45); }
.clp-brand__waves .w3 { stroke: rgba(204, 139, 59, .7); stroke-width: 2; }
.clp-brand__waves .w4 { stroke: rgba(255, 255, 255, .18); }
.clp-brand__waves .w5 { stroke: rgba(255, 255, 255, .08); }

/* Formularfläche -------------------------------------------------------- */

.clp-split__form {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 24px 24px;
    background: var(--clp-cream);
}

@media (min-width: 992px) {
    .clp-split__form {
        padding: 56px 64px 32px;
    }
}

.clp-panel {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .clp-panel {
        margin: auto;
    }
}

.clp-panel__logo {
    display: none;
    margin-bottom: 40px;
    color: var(--clp-navy);
    text-decoration: none;
}

/* Mobil nennt die Markenfläche oben schon den Namen. */
@media (min-width: 992px) {
    .clp-panel__logo {
        display: inline-block;
    }
}

.clp-panel__logo img {
    display: block;
    width: auto;
    max-width: 220px;
    height: 48px;
}

.clp-panel__logo .brand__text,
.clp-panel__logo .clp-fullscreen__name {
    font-size: 22px;
    line-height: 1.2;
    color: var(--clp-navy);
}

.clp-panel__heading {
    margin: 0 0 8px;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.05;
    color: var(--clp-navy);
}

.clp-panel__heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 18px;
    background: var(--clp-gold);
}

.clp-panel__content {
    margin-top: 32px;
}

.clp-panel__content .clp {
    max-width: none;
}

/* Felder etwas großzügiger als im Theme, mit weißer Fläche auf Creme. */
.clp-split .clp-form input[type='text'],
.clp-split .clp-form input[type='email'],
.clp-split .clp-form input[type='password'] {
    min-height: 56px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(18, 40, 76, .25);
    border-radius: 6px;
}

.clp-split .clp-form input[type='text']:focus,
.clp-split .clp-form input[type='email']:focus,
.clp-split .clp-form input[type='password']:focus {
    border-color: var(--clp-navy);
    box-shadow: 0 0 0 3px rgba(204, 139, 59, .45);
}

.clp-split .clp-password input {
    padding-right: 56px;
}

.clp-split .clp-toggle {
    right: 6px;
    color: var(--clp-navy);
}

.clp-split .clp-field label {
    font-size: 15px;
    font-weight: 600;
    color: var(--clp-navy);
}

.clp-split .clp-field--check label {
    font-weight: 400;
}

.clp-split .clp-actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border-radius: 6px;
    font-size: 18px;
}

.clp-split .clp-meta {
    margin-top: 24px;
    text-align: center;
}

.clp-split .clp-notice {
    border-radius: 6px;
    background: #fff;
}

.clp-panel__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    font-size: 13px;
    color: rgba(34, 34, 34, .6);
}

.clp-panel__footer a {
    color: var(--clp-navy);
}

.clp-panel__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.clp-panel__legal li {
    margin: 0;
}

/* Längere Texte (Datenschutz) auf der Formularfläche */
.clp-panel__content h2 {
    font-size: 24px;
}

.clp-panel--text {
    max-width: 680px;
}
