@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    align-items: center;
    z-index: 9999;
    background: #e20074; 
    backdrop-filter: blur(20px);
}


  /*---------------------------------------------Navigationsbar-------------------------------------------*/
  
.logo {
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    align-items: center;
    margin-right: auto;
    margin-top: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
}

.highlight {
    font-weight: bold;

}


  /*---------------------------------------------Hintergrund-------------------------------------------*/
section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    padding: 0 100px;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    
}

 /*---------------------------------------------Begrüßung-------------------------------------------*/

section h1 {
    position: absolute;
    bottom: 40px;
    font-size: 25px;
    color: #fff;
    font-weight: 600;
}

 /*---------------------------------------------Login/Register Fenster-------------------------------------------*/

.auth-modal {
    position: fixed;
    width: 420px;
    height: 440px;
    background: rgba(0, 0, 0, .3);
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .3);
    backdrop-filter: blur(20px);
    color: #fff;
    inset: 0;
    margin: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: scale(0);
    transition: height .2s ease, transform .5s ease;
}

.auth-modal.show {
    transform: scale(1);
}

.auth-modal.slide {
    height: 520px;
}

.auth-modal .form-box {
    width: 100%;
    padding: 40px;
}

.box {
  width: 100%;
  padding: 40px;
}

.auth-modal .form-box.login,
.auth-modal.slide .form-box.register {
    transform: translateX(0);
    transition: transform .18s ease;
}

.auth-modal.slide .form-box.login {
    transform: translateX(-400px);
    transition: none;
}

.auth-modal .form-box.register {
    position: absolute;
    transform: translateX(400px);
}
.name h2{
    display: flex;
  justify-content: center;
  align-items: center;
}
.form-box h2 {
    font-size: 35px;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .3);
    outline: none;
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
    color: #fff;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border-radius: 40px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    font-size: 16px;
    color: #222;
    font-weight: 500;
    cursor: pointer;
}

.form-box p {
    font-size: 14.5px;
    text-align: center;
    margin: 25px 0 10px;
}

.form-box p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.form-box p a:hover {
    text-decoration: underline;
}

.auth-modal .close-btn-modal {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    border-bottom-left-radius: 20px;
    font-size: 35px;
    color: #222;
    cursor: pointer;
    z-index: 1;
}


  /*---------------------------------------------Profilbox-------------------------------------------*/

.user-auth {
    margin-left: 40px;
}

.user-auth .login-btn-modal {
    height: 40px;
    padding: 0 35px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: .5s;
}

.user-auth .login-btn-modal:hover {
    background: #fff;
    color: #222;
}

.profile-box .avatar-circle {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-size: 25px;
    color: #222;
    font-weight: 600;
    cursor: pointer;
}

.profile-box {
    position: relative;
}

.profile-box .dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    min-width: 150px;
    padding: 8px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 10000;
}

.profile-box.show .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.profile-box .dropdown a {
    padding: 8px 16px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.profile-box .dropdown a:hover {
    background: #f2f2f2;
}

 /*---------------------------------------------Alerts-------------------------------------------*/

.alert-box {
    position: fixed;
    inset: 0;
    top: 35px;
    margin: 0 auto;
    width: 350px;
    height: 70px;
    background: #fff;
    border-radius: 6px;
    padding: 0 15px;
    z-index: 100;
    overflow: hidden;
    transform: translateY(calc(-100% - 35px));
    transition: .5s ease;
}

.alert-box.show {
    transform: translateY(0);
}

.alert {
    display: flex;
    align-items: center;
    height: 100%;
    color: #222;
    font-weight: 500;
}

.alert::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #0abf30;
    animation: progress 6s linear forwards;
}

.alert.error::after {
    background: #f00;
}

@keyframes progress {
    100% {
        width: 0;
    }
}

.alert i {
    font-size: 35px;
    color: #0abf30;
    margin-right: 8px;
}

.alert.error i {
    color: #f00;
}



 /*---------------------------------------------Incidents-------------------------------------------*/


     /* Hauptbereich */
    .main {
        margin-top: 140px;   /* Abstand unter Header */
        max-width: 90%;
        height: 90%;
        padding: 35px 20px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }

    /* Überschrift */
    h1 {
      font-size: 2rem;
      margin-bottom: 18px;
    }

    /* Gitter-Layout für die Karten */
    .grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 4 Spalten */
      gap: 20px;
      width: 100%;
      height: 80%;
      padding: 20px 0;
    }

 
    /* Allgemeines Karten-Design */
    .card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 18px #0001;
      padding: 20px;
    }

    /* Positionierung für Karten mit Icon (optional in dieser Version) */
    .card.icon {
      align-items: flex-end;
    }

    /* Status-Card mit besonderer Farbe und größerer Schrift */
    .card.status {
      grid-column: 3/4;
      grid-row: 1/2;
      background: #f7d5d6;
      color: #3c1212;
      font-weight: 500;
      font-size: 22px;
      padding-top: 18px;
      padding-bottom: 18px;
      border-radius: 10px;
      margin-bottom: 8px;
    }

    /* Titel der Cards */
    .card .title, .location .title {
      color: #666;
      font-size: 16px;
      margin-bottom: 4px;
      font-weight: 400;
    }

    /* Große Schrift für wichtige Infos */
    .card .big {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    /* Kleine Zusatzinfos */
    .card .small {
      font-size: 15px;
      color: #333;
    }

    /* Button für z.B. "Akte öffnen" */
    .badge {
      display: inline-block;
      background: #e7e5fe;
      color: #423488;
      font-weight: 500;
      font-size: 15px;
      border-radius: 8px;
      padding: 6px 16px;
      margin-top: 8px;
      cursor: pointer;
      border: none;
    }

    /* Allgemeiner Button */
    .btn {
      background: #eef8f8;
      color: #257278;
      border: none;
      border-radius: 8px;
      padding: 6px 16px;
      font-size: 15px;
      margin-top: 20px;
      margin-bottom: 10px;
      cursor: pointer;
    }

    /* Liste für automatische Berichte oder Schäden */
    .report-list, .damages-list {
      font-size: 17px;
      line-height: 1.6;
      margin: 0 0 16px 0;
    }
    .location, .status {
      font-size: 20px;
    }

 
    /* Beschriftung unter Diagrammen */
    .chart-label {
      font-size: 14px;
      color: #888;
      margin-bottom: 4px;
    }
    /* Anzeige, wenn keine Daten vorhanden sind */
    .no-data {
      color: #aaa;
      font-size: 20px;
      text-align: center;
      margin: 40px 0;
    }
    /* Responsives Layout für schmalere Bildschirme */
    @media (max-width: 1000px) {
      .main {
        padding: 16px 4vw;
      }
      .grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 700px) {
      .main {
        padding: 6px 1vw;
      }
      .grid {
        grid-template-columns: 1fr;
      }
      .card.status {
        grid-column: 1/2;
      }
    }

    

.window-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 32px 28px;
  background: rgba(255,255,255,0.2);
  box-shadow: 0 5px 40px 0 rgba(0,0,0,0.15);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

 /*---------------------------------------------Contact-------------------------------------------*/

 /* ===============================
   Hintergrund Contact
   =============================== */
.main_contact {
    
    position: absolute;
    overflow: hidden;
    margin-bottom: 30px;
    flex: 1;
}

/* ===============================
   Fix: Abstand unter fixed Header
   =============================== */
.contact-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* z. B. 80% der Bildschirmbreite */
  max-width: 600px; /* begrenzt Boxgröße */
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  overflow-y: auto; /* falls Text zu lang wird */
  max-height: 90vh; /* Box bleibt kleiner als Bildschirm */
}

.background-contact {
    height: 100vh;  /* Genau Bildschirmhöhe */
    margin: 0;
    padding: 0;
    overflow: hidden;  /* Scrollen komplett deaktiviert */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===============================
   Contact / Impressum Seite
   =============================== */

.contact-info {
    
    background: rgba(255, 255, 255, .9);
    bbackdrop-filter: blur(20px);  

    max-width: 900px;
    margin: 120px 20px;
    padding: 40px 50px;
    position: center;
    text-align: center;
    /* background: rgba(0, 0, 0, 0.35); */
    box-shadow: 0 2px 18px #0001;
    border-radius: 18px;  
    /* color: #fff; */
 
}

/* Überschriften auf Contact NICHT absolut positionieren */
.contact-info h1,
.contact-info h2 {
    position: static;
    margin: 0;
    color: #000;
}

/* Haupttitel */
.contact-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Abschnittsüberschriften */
.contact-info h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-top: 45px;
    margin-bottom: 15px;
}

/* Text */
.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Mail-Adressen */
.contact-mails a {
    font-size: 1.15rem;
    font-weight: 600;
    /* color: #00cfff; */
    color: #000;
    text-decoration: none;
}

.contact-mails a:hover {
    text-decoration: underline;
}

/* Adresse */
.contact-address {
    margin-top: 25px;
    font-size: 1.05rem;
}

 /*---------------------------------------------Versicherter-------------------------------------------*/

h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
}


.versicherter-info {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.versicherter-title {
    font-size: 18px;
    font-weight: 700;   /* NUR das fett */
    margin-bottom: 16px;
}

.versicherter-details {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;   /* wichtig */
}

 /*---------------------------------------------Account-------------------------------------------*/

/* ===============================
   Account Page Styling
   =============================== */

.account-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 140px; /* Abstand wegen fixed Header */
    background: #e6e6e6;
}

.account-card {
    background: #ffffff;
    width: 480px;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
}

.account-card h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
}

.account-details p {
    font-size: 18px;
    margin-bottom: 15px;
}











