/* =====================================================================
   tmp_v2.css  (Neues TMP v2 Design: Login + Registrierung_v2)
   - Enthält nur das neue Design
   ===================================================================== */

/* =========================
   Basis-Layout (gemeinsam)
   ========================= */
html, body { height: 100%; overflow-y: scroll; /* erzwingt immer Scrollbar */}
body { margin: 0; }

.tmp-v2 .login-hero{
  position: relative;
  min-height: calc(100vh - 46px);
  background: url("../images/login_bg.jpg") center center / cover no-repeat;
}
.tmp-v2 .login-hero:before{
  content:"";
  position:absolute;
  left:0; top:0; right:0; bottom:0;
  background:
    linear-gradient(to bottom,
      rgba(245,250,255,0.92) 0%,
      rgba(170,200,230,0.70) 35%,
      rgba(10,40,80,0.88) 100%);
}
.tmp-v2 .login-hero:after{
  content:"";
  position:absolute;
  left:0; top:0; right:0; bottom:0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.tmp-v2 .login-content{
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 46px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px 12px;
}

.tmp-v2 .login-shell{
  position: relative;
  width: 100%;
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 26px 26px 22px 26px;
}

/* Seiten-spezifische Breiten (via Body-Klasse) */
.tmp-v2.tmp-v2-login .login-shell{ max-width: 520px; }
.tmp-v2.tmp-v2-registration .login-shell{ max-width: 820px; }

.tmp-v2 .login-lang-inside{
  position:absolute;
  top: 12px;
  right: 12px;
}
.tmp-v2 .login-lang-inside img{
  height: 18px;
  opacity: 0.88;
}
.tmp-v2 .login-lang-inside img:hover{ opacity: 1; }

.tmp-v2 .login-brand{
  text-align:center;
  margin-bottom: 14px;
  padding-top: 6px;
}
.tmp-v2 .login-brand img{
  max-width: 260px;
  width: 100%;
  height: auto;
}
.tmp-v2 .login-brand .title{
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  color:#111;
}

.tmp-v2 .login-card{
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 18px 18px 16px 18px;
  border: 1px solid rgba(0,0,0,0.08);
}

.tmp-v2 .login-footer{
  min-height: 46px;
  background:#0e2a47;
  color:#fff;
  text-align:center;
  font-size: 13px;
  padding: 10px 12px;
  box-sizing: border-box;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.tmp-v2 .login-footer a{
  color:#fff;
  display: inline-block;
}

/* Mobile (gemeinsam) */
@media (max-width: 480px){
  .tmp-v2 .login-shell{ padding: 18px 14px 14px 14px; }
  .tmp-v2 .login-brand .title{ font-size: 20px; }
}

/* =========================
   Login-spezifisch
   ========================= */
.tmp-v2 .login-lead{
  margin: 0 0 12px 0;
  color:#333;
}

.tmp-v2 .login-passwrap{ position:relative; }
.tmp-v2 .login-eye{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
}
.tmp-v2 .login-eye img{ width:20px; height:20px; }

.tmp-v2 .login-links{
  text-align:center;
  margin-top: 10px;
  font-size: 13px;
}
.tmp-v2 .login-links a{ color:#2a6ebb; text-decoration:none; }
.tmp-v2 .login-links a:hover{ text-decoration:underline; }
.tmp-v2 .login-links-sep{ margin:0 8px; color:#999; }

.tmp-v2 .info-boxaufklappbar_passwortvergessen{
  margin-top:10px;
  padding:10px 12px;
  border-radius:8px;
  background:#f6f6f6;
  border:1px solid rgba(0,0,0,0.08);
}

/* =========================
   Kontakt-Modal (Login)
   ========================= */
.tmp-v2 .contact-modal-body { padding:0; text-align:center; }

.tmp-v2 .contact-card{
  background:#ffffff;
  border-radius:10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  max-width: 300px;
  margin: 40px auto 10px auto;
  overflow:hidden;
  position:relative;
}
.tmp-v2 .contact-card-image{ background:#fafafa; padding:25px 15px 10px 15px; }
.tmp-v2 .contact-card-image img{
  width:180px;
  height:180px;
  border-radius:50%;
  object-fit:cover;
}
.tmp-v2 .contact-card-body{ text-align:left; padding:20px 24px 24px 24px; }
.tmp-v2 .contact-card-body h4{
  text-align:center;
  font-size:18px;
  font-weight:600;
  margin:0 0 18px 0;
}
.tmp-v2 .contact-card-body p{
  margin:0;
  margin-left:30px;
  font-size:14px;
  line-height:1.55;
}
.tmp-v2 .contact-card-body i{ width:18px; color:#343434; }

.tmp-v2 .contact-close-btn{
  position:absolute;
  top:10px; right:12px;
  background:transparent;
  border:none;
  font-size:36px;
  color:#666;
  cursor:pointer;
}
.tmp-v2 .contact-close-btn:hover{ color:#000; }

.tmp-v2 .modal-dialog{ width:auto; max-width:300px; margin:40px auto; }
.tmp-v2 .modal-content{ background:transparent !important; border:none !important; box-shadow:none !important; }

/* =========================
   Registrierung_v2 spezifisch
   ========================= */

/* NUR Registrierung: alte Floats/Spalten glätten */
.tmp-v2.tmp-v2-registration .col-label{ width: 200px; }
.tmp-v2.tmp-v2-registration .col-field{ width: calc(100% - 200px); }

/* Box-Farben */
.tmp-v2 .boxfarbe1,
.tmp-v2 .boxfarbe2,
.tmp-v2 .boxfarbe3{  background:transparent !important; }

/* Accordion-Styling */
.tmp-v2 .boxhead{
  background:#3276b1 !important;
  border:1px solid #3276b1 !important;
  color:#fff !important;
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 12px;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 110px;
}

.tmp-v2 .boxhead h3{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
}

.tmp-v2 .boxhead > a,
.tmp-v2 .boxhead > button{
  display: block;
  width: 100%;
  background: transparent;          /* Hintergrund kommt von .boxhead */
  text-decoration: none;
  border: 0;
  padding: 0;
}

.tmp-v2 .boxhead *{
  color: #fff !important;
}

/* Pfeil zeichnen (Chevron) */
.tmp-v2 .boxhead::after{
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-50%) rotate(45deg); /* “zu” */
  opacity: 0.95;
  pointer-events: none;
}

/* Alte GIF-Pfeile (GoOn/GoOff) im Boxhead ausblenden */
.tmp-v2.tmp-v2-registration .boxhead #person_on,
.tmp-v2.tmp-v2-registration .boxhead #person_off,
.tmp-v2.tmp-v2-registration .boxhead [id$="_on"],
.tmp-v2.tmp-v2-registration .boxhead [id$="_off"]{
  display: none !important;
}

/* Offen: Pfeil nach oben drehen */
.tmp-v2 .boxhead.is-open::after{
  transform: translateY(-50%) rotate(-135deg);
}

.tmp-v2 .box{
  border: 1px solid rgba(0,0,0,0.08);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 14px;
  background: rgba(255,255,255,0.90);
}

/* Pflichtfelder (v2) */
.tmp-v2 .pflichtfeld{
  background-color: #ffecec;
  border: 1px solid #e0a1a1;
}
.tmp-v2 .pflichtfeld:focus{
  background-color: #ffffff;
  border-color: #d9534f;
  box-shadow: 0 0 0 0.15rem rgba(217,83,79,0.25);
}

/* Registrierung – Layout-Glättung */
.tmp-v2.tmp-v2-registration .registration-card{
  max-width: 800px;
  margin: 0 auto;
}
.tmp-v2.tmp-v2-registration .registration-card .boxhead{ padding: 12px 16px; }
.tmp-v2.tmp-v2-registration .registration-card .box{ padding: 20px 16px; }
.tmp-v2.tmp-v2-registration .registration-card .form-group{ margin-bottom: 8px; }

.tmp-v2.tmp-v2-registration .registration-card label.col-label{
  display: block;
  float: none;
  text-align: left;
  font-weight: 600;
  margin-bottom: 2px;
}
.tmp-v2.tmp-v2-registration .registration-card .col-field{
  float: none;
  width: 100%;
}

/* halfwidth im v2-Layout auf volle Breite */
.tmp-v2.tmp-v2-registration .registration-card .halfwidth{
  width: 100% !important;
  max-width: 520px;
}

/* Dieses Element wird im v2 ausgeblendet */
.tmp-v2 .form-group2{ display: none; }

/* jQuery Validate: Label-Errors in v2 ausblenden */
.tmp-v2.tmp-v2-registration .registration-card label.error{ display: none; }

/* Inputs/Selects im v2 */
.tmp-v2.tmp-v2-registration .registration-card .form-control,
.tmp-v2.tmp-v2-registration .registration-card select{
  width: 100% !important;
  max-width: 100%;
  float: none !important;
}

/* Responsive für Registrierung_v2 */
@media (max-width: 880px){
  .tmp-v2.tmp-v2-registration .login-shell{ max-width: 520px; }
  .tmp-v2.tmp-v2-registration .col-label{ width: 100%; display:block; margin-bottom:2px; }
  .tmp-v2.tmp-v2-registration .col-field{ width: 100%; display:block; }
  .tmp-v2.tmp-v2-registration .form-control.halfwidth{ width:100% !important; }
}

/* Status rechts, aber links vom Pfeil */
.tmp-v2 .boxhead .sectionStatus{
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* Badge: weißer Kreis */
.tmp-v2 .boxhead .statusBadge{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
}

/* Icon im Badge: FARBE kommt von .ok/.bad */
.tmp-v2 .boxhead .statusBadge i{
  font-size: 13px;
  display: block;
  line-height: 1;
  transform: none !important;
}

/* Farben */
.tmp-v2 .boxhead .statusBadge.ok i{ color:#198754 !important; }
.tmp-v2 .boxhead .statusBadge.bad i{ color:#dc3545 !important; }


/* ======================================
   Registrierung: Input mit Icons im Feld
   ====================================== */
.tmp-v2 .reg-input-wrap{
  position: relative;
}

/* Platz rechts für Auge + Info */
.tmp-v2 .reg-input-wrap input{
  padding-right: 70px;
}

/* Auge (rechts außen) */
.tmp-v2 .reg-eye{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  cursor: pointer;
}

/* Info-Icon links neben dem Auge */
.tmp-v2 .reg-infoicon{
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  cursor: pointer;
}

/* =========================================================
   HINWEISBOX (EFN)
   ========================================================= */
.tmp-v2 .reg-fieldwrap{
  position: relative;
  display: block;
  width: 100%;
}

.tmp-v2 .reg-fieldwrap input.form-control{
  width: 100% !important;
  padding-right: 60px; /* Platz fürs Info-Icon */
  box-sizing: border-box;
}

.tmp-v2 .efn-infoicon{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  opacity: 0.85;
  cursor: pointer;
  text-decoration: none;
}

.tmp-v2 .info-box-efn{
  margin-top:10px;
}

/* Registrierung: Absenden-Button */
.tmp-v2 .registration-card .btn-primary{
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Registrierung: Home-Button oben links (blauer Kreis, weißes Haus) */
.tmp-v2.tmp-v2-registration .reg-home-btn{
  position: absolute;
  top: 14px;
  left: 14px;

  width: 38px;
  height: 38px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #3276b1;                 /* Boxhead-Blau */
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;                         /* Haus weiß */

  text-decoration: none;
}

.tmp-v2.tmp-v2-registration .reg-home-btn:hover{
  background: #2e6ea5;
}

.tmp-v2.tmp-v2-registration .reg-home-btn i{
  font-size: 16px;
  line-height: 1;
  color: #fff;
}

/* tmp-v2: Inputs sollen immer fett sein */
.tmp-v2 input.form-control{
  font-weight: 700;
}

.tmp-v2 input:-webkit-autofill,
.tmp-v2 input:-webkit-autofill:hover,
.tmp-v2 input:-webkit-autofill:focus {
    font-size: inherit !important;
    font-weight: inherit !important;
    -webkit-text-fill-color: #111 !important;
    caret-color: #111;
    transition: background-color 99999s ease-out 0s;
    box-shadow: 0 0 0px 1000px transparent inset;
}

/* ====================================================================================================
   PROFILSEITE (V2) – CLEAN / ISOLATED (NEU)
   Voraussetzung: Profil-HTML nutzt eigene Klassen:
   - Form: .tmpv2-prof-form (statt form-horizontal)
   - Gruppen: .prof-group
   - Label: .prof-label
   - Control-Wrapper: .prof-control
   - Icon-Wrapper: .prof-fieldwrap + .has-info / .has-eye
   ==================================================================================================== */


/* --------------------------------------------------------------------------------
   0) Scope: nur Profil V2 + nur unsere Profil-Form
   -------------------------------------------------------------------------------- */

.tmp-v2.tmp-v2-profil .tmpv2-prof-form{
  /* Optional: wenn irgendwo alte Styles margin/padding setzen */
  width: 100%;
}


/* --------------------------------------------------------------------------------
   1) Cards (“Windows-Card” Look) + Boxhead statisch
   -------------------------------------------------------------------------------- */

.tmp-v2.tmp-v2-profil .tmpv2-profil-card{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.95);
}

/* Card-Teile neutral */
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .card-header{
  padding: 0;
  border: 0;
  background: transparent;
}
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .card-body{
  padding: 0;
}

/* Boxhead im Profil: kein Accordion */
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .boxhead{
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;

  padding: 12px 18px !important;
  min-height: 48px;
  display: flex;
  align-items: center;

  cursor: default !important;
}

/* Chevron/Alt-GIFs aus globalen Regeln killen */
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .boxhead::after{
  display: none !important;
}
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .boxhead [id$="_on"],
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .boxhead [id$="_off"]{
  display: none !important;
}

.tmp-v2.tmp-v2-profil .tmpv2-profil-card .boxhead h3{
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.2;
}

/* Content: nur Innenabstand, kein eigener Rahmen */
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .box{
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 20px 28px 18px 28px !important;
}


/* --------------------------------------------------------------------------------
   2) Profil-Form Layout (eigene Klassen statt Legacy)
   -------------------------------------------------------------------------------- */

/* Gruppe */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-group{
  margin-bottom: 10px;
}

/* Label */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-label{
  display: block;
  margin: 0 0 2px 0;
  text-align: left;
  font-weight: 600;
}

/* Control-Wrapper (damit wir später ggf. Abstände sauber haben) */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-control{
  display: block;
  width: 100%;
}

/* Inputs/Selects: volle Spaltenbreite, Grid regelt die restliche “Kürze” */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .form-control,
.tmp-v2.tmp-v2-profil .tmpv2-prof-form select.form-control,
.tmp-v2.tmp-v2-profil .tmpv2-prof-form select{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  font-weight: 700;
  font-size: 13px;
  line-height: inherit;
  color: #111;
}

/* Optional: Geburtstag etwas kompakter */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form #geburtstag.form-control{
  padding: 6px;
}


/* --------------------------------------------------------------------------------
   3) Info-Boxen (Hinweise) – volle Breite
   -------------------------------------------------------------------------------- */

.tmp-v2.tmp-v2-profil .tmpv2-prof-form .info-box,
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .info-boxaufklappbar{
  width: 100%;
  max-width: 100%;
}

.tmp-v2.tmp-v2-profil .tmpv2-prof-form .info-box{
  display: block;
}

/* klappt per JS auf */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .info-boxaufklappbar{
  display: none;
}


/* --------------------------------------------------------------------------------
   4) Buttons im gleichen Blau
   -------------------------------------------------------------------------------- */

.tmp-v2.tmp-v2-profil .btn-primary,
.tmp-v2.tmp-v2-profil .btn-primary:hover,
.tmp-v2.tmp-v2-profil .btn-primary:focus,
.tmp-v2.tmp-v2-profil .btn-primary:active,
.tmp-v2.tmp-v2-profil .btn-primary:focus:active{
  background-color: #3276b1 !important;
  border-color: #3276b1 !important;
  color: #fff !important;
  box-shadow: none !important;
}


/* --------------------------------------------------------------------------------
   5) Icons im Feld (Info/Auge) – stabil
   -------------------------------------------------------------------------------- */

/* Wrapper ist Referenz für absolute Icons */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-fieldwrap{
  position: relative;
  display: block;
  width: 100%;
}

/* Platz rechts im Input */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-fieldwrap.has-info > input.form-control{
  padding-right: 44px;
}
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-fieldwrap.has-info.has-eye > input.form-control{
  padding-right: 84px;
}

/* Icons absolut auf dem Input */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-infoicon,
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-eye{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: .85;
  cursor: pointer;
  z-index: 20;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  line-height: 0;
}

/* Info rechts außen */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-infoicon{
  right: 12px;
}

/* Auge links neben Info */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-eye{
  right: 42px;
}

/* Icon-Bilder */
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-infoicon img,
.tmp-v2.tmp-v2-profil .tmpv2-prof-form .prof-eye img{
  width: 20px;
  height: 20px;
  display: block;
}


/* --------------------------------------------------------------------------------
   6) Mobile Mode
   - Inputs sollen in Mobile “voll” wirken
   - Innenabstände etwas reduzieren
   -------------------------------------------------------------------------------- */

/* PROFIL: mobile.css-ID-Regeln neutralisieren, damit Inputs im Wrapper 100% breit bleiben */
.tmp-v2.tmp-v2-profil input#passwort.form-control,
.tmp-v2.tmp-v2-profil input#passwortwiederholung.form-control,
.tmp-v2.tmp-v2-profil input#efn.form-control,
.tmp-v2.tmp-v2-profil input#nachname.form-control{
  width: 100% !important;
  max-width: 100% !important;
}

/* optional: falls mobile.css auch calc(...) erzwingt */
.tmp-v2.tmp-v2-profil input#passwort,
.tmp-v2.tmp-v2-profil input#passwortwiederholung,
.tmp-v2.tmp-v2-profil input#efn,
.tmp-v2.tmp-v2-profil input#nachname{
  width: 100% !important;
  max-width: 100% !important;
}

/* Profil v2: Mobile = alle Felder volle Breite */
@media (max-width: 768px){
  .tmp-v2.tmp-v2-profil input.form-control,
  .tmp-v2.tmp-v2-profil select.form-control,
  .tmp-v2.tmp-v2-profil textarea.form-control{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* PROFIL: Hinweisboxen (ersetzt früheres .info-box) */
.tmp-v2.tmp-v2-profil .tmpv2-info{
  background: #8bd2fa;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  display: block;
}

@media (max-width:768px){
  .infobox-pass{
    margin-top:0 !important;
    margin-bottom:10px !important;
  }
}


/* ====================================================================================================
   PROFIL V2 – POLISHING (Shadows, Icons, Alerts, Transitions)
   ==================================================================================================== */

/* Profil overall title (h2) -------------------------------------------------------- */
.tmp-v2.tmp-v2-profil .profil-card > h2{
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 2px solid #3276b1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tmp-v2.tmp-v2-profil .profil-card > h2 i{
  color: #3276b1;
  font-size: 20px;
}

/* Card shadow + hover lift --------------------------------------------------------- */
.tmp-v2.tmp-v2-profil .tmpv2-profil-card{
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tmp-v2.tmp-v2-profil .tmpv2-profil-card:hover{
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Card-Header: FA icon spacing ----------------------------------------------------- */
.tmp-v2.tmp-v2-profil .tmpv2-profil-card .boxhead h3 i{
  margin-right: 10px;
  font-size: 15px;
  opacity: 0.9;
}

/* Cards container gap -------------------------------------------------------------- */
.tmp-v2.tmp-v2-profil .tmpv2-profil-cards{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Alert boxes for save-results ----------------------------------------------------- */
.tmp-v2.tmp-v2-profil .tmpv2-alert{
  padding: 16px 22px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.6;
}

.tmp-v2.tmp-v2-profil .tmpv2-alert-info{
  background: linear-gradient(135deg, rgba(50,118,177,0.08), rgba(50,118,177,0.15));
  border: 1px solid rgba(50,118,177,0.25);
  color: #2c3e50;
}

.tmp-v2.tmp-v2-profil .tmpv2-alert .btn{
  margin-top: 12px;
}

/* Button bar ----------------------------------------------------------------------- */
.tmp-v2.tmp-v2-profil .tmpv2-profil-buttons{
  display: flex;
  gap: 12px;
  padding: 18px 28px 22px;
  flex-wrap: wrap;
}

.tmp-v2.tmp-v2-profil .btn_weiter{
  transition: all 0.2s ease;
  border-radius: 6px !important;
  padding: 9px 28px !important;
  font-weight: 600;
  font-size: 14px;
}

.tmp-v2.tmp-v2-profil .btn_weiter:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(50,118,177,0.35);
}

.tmp-v2.tmp-v2-profil .btn-save{
  background: linear-gradient(135deg, #2e86de, #3276b1) !important;
  border-color: #2e86de !important;
}


/* ====================================================================================================
   DOWNLOADS / DOKUMENTE V2
   ==================================================================================================== */

.tmp-v2.tmp-v2-dokumente{
  padding-top: 8px;
}

/* Title */
.tmp-v2.tmp-v2-dokumente > h2{
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #3276b1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tmp-v2.tmp-v2-dokumente > h2 i{
  color: #3276b1;
  font-size: 20px;
}

/* Intro text */
.tmp-v2.tmp-v2-dokumente .dok-intro{
  color: #555;
  margin-bottom: 18px;
  font-size: 14px;
}

/* Year pill tabs ------------------------------------------------------------------- */
.tmp-v2.tmp-v2-dokumente .dok-year-tabs{
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tmp-v2.tmp-v2-dokumente .dok-year-tabs li{
  margin: 0;
}

.tmp-v2.tmp-v2-dokumente .dok-year-tabs li a{
  display: inline-block;
  padding: 7px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #3276b1;
  background: rgba(50,118,177,0.08);
  border: 1px solid rgba(50,118,177,0.18);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tmp-v2.tmp-v2-dokumente .dok-year-tabs li a:hover{
  background: rgba(50,118,177,0.16);
  transform: translateY(-1px);
}

.tmp-v2.tmp-v2-dokumente .dok-year-tabs li.active a{
  background: #3276b1;
  color: #fff;
  border-color: #3276b1;
}

/* Filter row ----------------------------------------------------------------------- */
.tmp-v2.tmp-v2-dokumente .dok-filter-row{
  margin-bottom: 18px;
  font-size: 13px;
  color: #555;
}

.tmp-v2.tmp-v2-dokumente .dok-filter-row select{
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 13px;
  background: #fff;
  min-width: 140px;
  outline: none;
  transition: border-color 0.2s;
}

.tmp-v2.tmp-v2-dokumente .dok-filter-row select:focus{
  border-color: #3276b1;
}

/* Congress group header ------------------------------------------------------------ */
.tmp-v2.tmp-v2-dokumente .dok-congress-title{
  font-size: 17px;
  font-weight: 700;
  color: #2c3e50;
  margin: 28px 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tmp-v2.tmp-v2-dokumente .dok-congress-title i{
  color: #3276b1;
  font-size: 15px;
}

/* Doc-type sub-heading ------------------------------------------------------------- */
.tmp-v2.tmp-v2-dokumente .dok-type-heading{
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin: 16px 0 8px 4px;
  text-decoration: none;
  border-bottom: none;
}

/* Download-Item Card --------------------------------------------------------------- */
.tmp-v2.tmp-v2-dokumente .dok-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.tmp-v2.tmp-v2-dokumente .dok-item:hover{
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-1px);
  border-color: rgba(50,118,177,0.2);
}

/* File icon */
.tmp-v2.tmp-v2-dokumente .dok-item-icon{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.tmp-v2.tmp-v2-dokumente .dok-item-icon.icon-rechnung { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.tmp-v2.tmp-v2-dokumente .dok-item-icon.icon-bescheinigung { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.tmp-v2.tmp-v2-dokumente .dok-item-icon.icon-zertifikat { background: linear-gradient(135deg, #f39c12, #e67e22); }
.tmp-v2.tmp-v2-dokumente .dok-item-icon.icon-sonstige { background: linear-gradient(135deg, #3498db, #2980b9); }

/* File info */
.tmp-v2.tmp-v2-dokumente .dok-item-info{
  flex: 1;
  min-width: 0;
}

.tmp-v2.tmp-v2-dokumente .dok-item-name{
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  word-break: break-all;
}

.tmp-v2.tmp-v2-dokumente .dok-item-name.is-read{
  color: #888;
  font-weight: 400;
}

.tmp-v2.tmp-v2-dokumente .dok-item-meta{
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* Payment badges */
.tmp-v2.tmp-v2-dokumente .dok-badge{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.tmp-v2.tmp-v2-dokumente .dok-badge-offen{
  background: rgba(231,76,60,0.12);
  color: #c0392b;
}

.tmp-v2.tmp-v2-dokumente .dok-badge-bezahlt{
  background: rgba(46,204,113,0.12);
  color: #27ae60;
}

/* Action buttons */
.tmp-v2.tmp-v2-dokumente .dok-item-actions{
  flex-shrink: 0;
  display: flex;
  gap: 6px;
}

.tmp-v2.tmp-v2-dokumente .dok-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: #3276b1;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tmp-v2.tmp-v2-dokumente .dok-btn:hover{
  background: #3276b1;
  color: #fff;
  border-color: #3276b1;
  transform: scale(1.08);
}

/* No documents message */
.tmp-v2.tmp-v2-dokumente .dok-empty{
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 15px;
}

.tmp-v2.tmp-v2-dokumente .dok-empty i{
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
  color: #ccc;
}

/* Mobile responsive ---------------------------------------------------------------- */
@media (max-width: 768px){
  .tmp-v2.tmp-v2-dokumente .dok-item{
    flex-wrap: wrap;
    gap: 10px;
  }

  .tmp-v2.tmp-v2-dokumente .dok-item-actions{
    width: 100%;
    justify-content: flex-end;
  }

  .tmp-v2.tmp-v2-dokumente .dok-year-tabs li a{
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* =========================
   Portal-Menü / Navbar
   ========================= */

#top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  padding-top: 1px;
}

#top .navbar {
  margin-bottom: 15px;
  background: #f8f8f8;
}

.lang-flag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  text-decoration: none;
}

.lang-flag-link:visited,
.lang-flag-link:hover,
.lang-flag-link:focus,
.lang-flag-link:active {
  color: #fff !important;
}

.lang-flag-link:hover {
  text-decoration: none;
}

.lang-flag {
  height: 16px;
  width: auto;
  display: inline-block;
}

/* Mobile Portal-Navigation im Hamburger-Menü */
@media (max-width: 767.98px) {

  #top .navbar-collapse {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #top .navbar-nav {
    margin: 0;
    width: 100%;
  }

  #top .navbar-nav > li > a {
    display: block;
    width: 100%;
    padding: 10px 18px;
    white-space: nowrap;
    box-sizing: border-box;
  }

  #top .navbar-text.navbar-right {
    float: none !important;
    margin: 0;
    padding: 10px 18px;
    text-align: left;
  }
  
  #top .tmp-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
  }

  #top .tmp-menu-bars {
    display: inline-block;
  }

  #top .tmp-menu-label {
    font-weight: 600;
    color: #333;
    line-height: 1;
  }
}