/* =========================================================
   Lions Adventskalender
   Startseite – Hero-Bereich
   ========================================================= */

.ak-hero {
    min-height: 520px;
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(3, 42, 86, 0.94) 0%,
            rgba(3, 42, 86, 0.78) 38%,
            rgba(3, 42, 86, 0.15) 68%
        ),
        url("/images/Titelbild.jpg");

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    border-radius: 18px;
    overflow: hidden;
}


/* Inhalt auf der linken Seite */

.ak-hero-content {
    width: 52%;
    max-width: 650px;
    padding: 60px;
    color: #ffffff;
}


/* Kleine Überschrift über dem Haupttitel */

.ak-kicker {
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #f4b942;
}


/* Hauptüberschrift */

.ak-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.05;
    color: #ffffff;
}


/* Einleitungstext */

.ak-intro {
    max-width: 580px;
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
}


/* Anmelden-Button */

.ak-login-button {
    display: inline-block;
    padding: 13px 28px;

    border-radius: 8px;
    background: #f4b942;

    color: #082d57;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.ak-login-button:hover,
.ak-login-button:focus {
    background: #ffffff;
    color: #082d57;
    text-decoration: none;
    transform: translateY(-1px);
}


/* =========================================================
   Darstellung auf Smartphones und kleinen Tablets
   ========================================================= */

@media (max-width: 768px) {

    .ak-hero {
        min-height: 520px;
        align-items: flex-end;

        /*
         * Das Motiv liegt rechts im Bild.
         * Auf schmalen Displays verschieben wir den
         * sichtbaren Ausschnitt etwas nach rechts.
         */
        background-position: 65% center;
    }


    .ak-hero-content {
        width: 100%;
        max-width: none;
        padding: 35px 25px;

        /*
         * Zusätzlicher dunkler Verlauf hinter dem Text,
         * damit dieser auch auf dem Foto gut lesbar bleibt.
         */
        background: linear-gradient(
            0deg,
            rgba(3, 42, 86, 0.96) 0%,
            rgba(3, 42, 86, 0.70) 55%,
            rgba(3, 42, 86, 0.20) 100%
        );
    }


    .ak-hero h1 {
        font-size: 2.5rem;
    }


    .ak-intro {
        font-size: 1.05rem;
        line-height: 1.5;
    }
}


/* Sehr kleine Smartphones */

@media (max-width: 480px) {

    .ak-hero {
        min-height: 480px;
        border-radius: 12px;
    }


    .ak-hero-content {
        padding: 30px 20px;
    }


    .ak-hero h1 {
        font-size: 2.1rem;
    }


    .ak-kicker {
        font-size: 0.8rem;
    }


    .ak-login-button {
        padding: 12px 24px;
    }
}

/* =========================================================
   Lions Adventskalender – Anmeldung
   ========================================================= */

.ak-login {
    max-width: 500px;
    margin: 50px auto 80px;
    padding: 0 20px;
}

.ak-login-card {
    padding: 38px 42px 42px;
    background: #ffffff;
    border: 1px solid #dfe5eb;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.ak-login-heading {
    margin-bottom: 30px;
}

.ak-login-kicker {
    margin-bottom: 8px;
    color: #b8861b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ak-login-heading h1 {
    margin: 0 0 14px;
    color: #123f70;
    font-size: 1.8rem;
    line-height: 1.2;
}

.ak-login-heading p {
    margin: 0;
    color: #4d5965;
    font-size: 1rem;
    line-height: 1.55;
}

.ak-login-field {
    margin-bottom: 20px;
}

.ak-login-field label {
    display: block;
    margin-bottom: 7px;
    color: #253746;
    font-weight: 600;
}

.ak-login-field .form-control {
    width: 100%;
    min-height: 46px;
}

.ak-login-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 5px;
    font-weight: 600;
}

@media (max-width: 600px) {

    .ak-login {
        margin: 25px auto 50px;
        padding: 0 15px;
    }

    .ak-login-card {
        padding: 28px 22px 30px;
    }

    .ak-login-heading h1 {
        font-size: 1.55rem;
    }
}