/*
 * Gemeinsames Firmenportal – Branding & Tequi-La-La Kulisse
 * Grafik: img/firmenportal/firmenportal-hintergrund.png
 */

/* Vollflächiger Illustrations-Hintergrund */
html.fp-bg {
    height: 100%;
}
body.fp-bg {
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
    color: #f0ebe3;
    background-color: #120805;
    /* Lesbarkeit: Abdunklung über Grafik/Fallback-Layern */
    background-image:
        linear-gradient(180deg, rgba(16, 10, 8, 0.62) 0%, rgba(8, 5, 4, 0.74) 50%, rgba(5, 3, 2, 0.82) 100%),
        radial-gradient(ellipse 80% 55% at 50% 35%, rgba(100, 60, 32, 0.22) 0%, transparent 55%),
        linear-gradient(180deg, #2a1810 0%, #120a06 55%, #0c0704 100%);
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-attachment: fixed, fixed, fixed;
}

@media (max-width: 900px) {
    body.fp-bg {
        background-attachment: scroll, scroll, scroll;
    }
}

body.fp-bg a {
    color: #9ad8ff;
}
body.fp-bg a:hover {
    color: #f5e6a8;
}

body.fp-bg .muted,
body.fp-bg p,
body.fp-bg li {
    color: #e8e3da;
}

body.fp-bg table.fp-t td {
    color: #eae6df;
}

/* Zentrale Inhaltsfläche (wie „Pergament“-Bereich in der Grafik, abgedunkelt lesbar) */
body.fp-bg .fp-wrap {
    width: 100%;
    max-width: min(920px, 94vw);
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
    background: rgba(14, 9, 6, 0.94);
    border: 1px solid rgba(234, 213, 140, 0.28);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.fp-bg .form-container {
    width: 100%;
    max-width: 520px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1.25rem !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box;
    background: rgba(14, 9, 6, 0.94);
    border: 1px solid rgba(234, 213, 140, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.fp-bg .fp-feedback-outer {
    width: 100%;
    max-width: min(920px, 94vw);
    margin: 1.75rem auto 2rem;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

body.fp-bg .fp-login-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0.75rem;
    box-sizing: border-box;
}
body.fp-bg .fp-login-box {
    background: rgba(14, 9, 6, 0.96);
    border: 1px solid rgba(234, 213, 140, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Kopfzeile vor dem Bild lesbar halten – Inhalt wie Hauptspalte zentriert */
.fp-top {
    background: rgba(10, 6, 5, 0.96);
    border-bottom: 1px solid rgba(234, 213, 140, 0.3);
    padding: 0.85rem 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

body.fp-bg .fp-top-inner {
    width: 100%;
    max-width: min(920px, 94vw);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}
.fp-top-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.fp-logo-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(42, 32, 24, 0.9);
    border: 1px solid rgba(234, 213, 140, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fp-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.fp-logo-placeholder {
    font-size: 1.35rem;
    font-weight: 700;
    color: #EAD58C;
}
.fp-top-titles {
    min-width: 0;
}
.fp-top-titles h1 {
    margin: 0;
    font-size: 1.15rem;
    color: #EAD58C;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.fp-top-meta {
    font-size: 0.88rem;
    color: #cfc8bd;
    margin-top: 0.2rem;
}
.fp-top-meta strong {
    color: #faf6ef;
}
.fp-actions a {
    margin-left: 0.75rem;
    color: #7ecbff;
    text-decoration: none;
    font-weight: 600;
}
.fp-actions a:hover {
    color: #EAD58C;
}

/* Danke-Seite */
body.fp-bg .fp-feedback-inner {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.75rem;
    background: rgba(14, 9, 6, 0.94);
    border-radius: 18px;
    border: 1px solid rgba(234, 213, 140, 0.25);
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
