/* MediGaPa - Gemeinsame Auth-Seiten-Styles
 * Wird von index.php, forgot-password.php, reset-password.php geladen.
 * Seitenspezifische Anpassungen (z.B. .login-card width) verbleiben in den jeweiligen <style>-Bloecken.
 */


:root {
    --bg-1: #f7f9fc;
    --bg-2: #eef2f8;
    --text-main: #0c2148;
    --text-muted: #4f5f76;
    --accent: #18aeb4;
    --card-border: #e6ebf2;
    --input-border: #d5dbe5;
    --shadow-soft: 0 16px 34px rgba(12, 33, 72, 0.08);
    --shadow-card: 0 20px 45px rgba(8, 22, 46, 0.09);
    --button-bg-start: #082a62;
    --button-bg-end: #031837;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at 10% 0%, #fdfefe 0%, var(--bg-1) 36%, var(--bg-2) 100%);
    overflow-x: hidden;
}

.landing {
    min-height: 100dvh;
    min-height: 100svh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.landing::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(247, 249, 252, 0) 44%,
            rgba(247, 249, 252, 0.22) 56%,
            rgba(247, 249, 252, 0.56) 66%,
            rgba(247, 249, 252, 0.82) 76%,
            rgba(247, 249, 252, 0.95) 86%,
            rgba(247, 249, 252, 1) 100%
        ),
        radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 58%);
    z-index: -3;
}

.landing::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(100%, calc(100dvh * 1.7768));
    background: url('/assets/images/Banner.webp?v=20260527') no-repeat -48px top / auto 100%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.95;
    box-shadow:
        inset -70px 0 70px rgba(247, 249, 252, 0.45),
        inset -220px 0 170px rgba(247, 249, 252, 0.95);
}

.layout {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 46px 52px 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 40px;
    align-items: start;
    min-height: 100svh;
    transform: translateX(34px);
}

.legal-footer {
    width: 100%;
    padding: 14px 22px 18px;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(160, 177, 202, 0.35);
    background: rgba(247, 249, 252, 0.78);
    backdrop-filter: blur(2px);
}

.legal-left,
.legal-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-footer a {
    color: #37527a;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.legal-footer a:hover {
    text-decoration: underline;
}

.legal-sep {
    color: #8a9ab2;
    font-weight: 600;
    font-size: 0.82rem;
}

.legal-copy {
    color: #6c7f9b;
    font-size: 0.82rem;
    font-weight: 600;
}

.left-pane {
    padding-top: 95px;
    max-width: 1120px;
    margin-left: -190px;
}

h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    max-width: 760px;
}

.h1-light {
    font-weight: 500;
    font-size: calc(100% - 2px);
}

.headline-accent {
    width: 86px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    margin: 20px 0 18px;
}

.lead {
    margin: 0;
    max-width: 760px;
    color: var(--text-muted);
    font-size: clamp(1.12rem, 1.42vw, 1.55rem);
    font-weight: 500;
    line-height: 1.45;
}

.feature-grid {
    margin-top: 44px;
    max-width: 1320px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: start;
    gap: 16px;
}

.feature {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid #e9eef6;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(12, 33, 72, 0.08);
    min-height: 98px;
    max-width: 100%;
}

.feature > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    color: #eaf4ff;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #29d4cd 0%, #0b55b4 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.feature svg {
    width: 25px;
    height: 25px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: brightness(0) invert(1);
}

.feature-icon .icon-timer {
    width: 34px;
    height: 34px;
}

.feature-icon .icon-lock {
    width: 32px;
    height: 32px;
    transform: translateX(3px);
}

.feature strong {
    display: block;
    margin: 0 0 4px;
    font-size: 0.96rem;
    line-height: 1.2;
    font-weight: 800;
    color: #0e234a;
    white-space: normal;
}

.feature span {
    display: block;
    color: #3f5a83;
    line-height: 1.32;
    font-size: 0.84rem;
    font-weight: 500;
    white-space: normal;
    min-height: 0;
}

