/* WICHTIG: verhindert dass Inputs über die Card hinauslaufen */
*,
*::before,
*::after{
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    margin:0;
    color:#111;

    /* CSS liegt in /assets → Bild darf NICHT nochmal /assets enthalten */
    background-image:url("brand_bg.png");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

/* Wrap: auf Desktop angenehmer breit, auf Login/Register kannst du bei Bedarf
   eine zusätzliche Klasse "wrap wrap--narrow" setzen (siehe Tipp unten). */
.wrap{
    max-width:1100px;
    margin:0 auto;
    padding:24px 14px;
}

.wrap--narrow{
    max-width:520px;
}

.card{
    background:rgba(255,255,255,0.94);
    border-radius:14px;
    padding:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

h1{
    text-align:center;
    margin-top:0;
}

label{
    display:block;
    font-weight:700;
    margin:12px 0 6px;
}

input,
select{
    width:100%;
    padding:12px;
    font-size:16px;
    border-radius:10px;
    border:2px solid #cfcfcf;
    background:#fff;
}

input:focus,
select:focus{
    outline:none;
    border-color:#888;
}

.btn{
    width:100%;
    padding:12px;
    font-size:16px;
    font-weight:700;
    border-radius:10px;
    border:0;
    background:#111;
    color:#fff;
    cursor:pointer;
}

/* Subtext / Kontextzeile */
.sub{
    margin:6px 0 14px;
    font-size:14px;
}

/* Weißer Text für Bereiche direkt auf dem Hintergrundbild */
.text-on-bg{
    color:#fff;
    text-shadow:0 1px 3px rgba(0,0,0,.65);
}

.footer-links{
    text-align:center;
    margin-top:18px;
    font-size:14px;
}

.footer-links a{
    color:#111;
    margin:0 8px;
    text-decoration:none;
}

/* ------------------------------------------------------------------
   Header mit Logo (alter Stil – bleibt kompatibel)
------------------------------------------------------------------ */
.portal-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin:10px 0 16px;
}

.portal-logo{
  width:56px;
  height:56px;
  border-radius:12px;
  object-fit:contain;
  background:rgba(255,255,255,0.7);
  border:1px solid rgba(0,0,0,0.08);
  padding:6px;
}

.portal-title-wrap{line-height:1.15;}
.portal-title{margin:0;font-size:20px;font-weight:700;}
.portal-subtitle{margin:2px 0 0;color:#555;font-size:13px;}

/* ------------------------------------------------------------------
   Banner-Header (NEU) – wie in deinem Index, nur mit "Dein Mitarbeiterportal"
   Nutze im HTML: <div class="topBanner"> ... </div>
------------------------------------------------------------------ */
.topBanner{
  background: rgba(255,255,255,0.92);
  border: 2px solid #d7d7d7;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
  padding: 12px 14px;
  margin: 10px 0 16px;
}

.topBanner__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.topBanner__left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.topBanner__logo{
  width: 140px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.6);
  padding: 6px 8px;
}

.topBanner__titles{
  min-width:0;
}

.topBanner__title{
  font-size: 30px;
  font-weight: 900;
  margin: 0;
  line-height: 1.05;
}

.topBanner__sub{
  margin-top: 4px;
  color:#555;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px){
  .wrap{max-width:520px;}
  .topBanner__logo{ width: 110px; height: 44px; }
  .topBanner__title{ font-size: 22px; }
  .topBanner__sub{ font-size: 13px; white-space: normal; }
}
