html {
  font-size: 18px;
}

body {
  overflow-y: scroll;
  font-family: "acumin-pro-semi-condensed", sans-serif;
}

a, a:hover {
  color: inherit;
  text-decoration: none;
}

.site_container {
  max-width: 1400px;
  margin: 0 auto;
}

.header {
  position: fixed;
  width: 1400px;
  max-width: 100%;
  z-index: 100;
  background-color: #fff;
  overflow: hidden;
  padding: 110px 3% 0;
}

.navbar {
  padding: 0;
}

.main {
  padding-top: 200px;
}

.main.nopad {
  padding-top: 0;
}

.footer, .header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  white-space: nowrap;
}

.footer {
  padding: 1.7% 3% 2.9%;
}

@media all and (min-width:1460px) {
  .footer {
    padding: 1.7% 0 2.9%;
  }
  .header {
    padding: 110px 0 0;
  }
}

.header_left {
  margin-top: -80px;
  margin-bottom: 20px;
}

.header_right {
}

.header_logo {
}

.header_logo_scroll {
  display: none;
  opacity: 0;
}

.header_logo img {
  max-width: 100%;
  max-height: 150px;
}

.header_logo_scroll img {
  max-width: 100%;
  max-height: 40px;
}

.footer_center {
  display: none;
  font-size: 0.7em;
  text-align: center;
}

@media all and (min-width: 1041px) {
  .footer_left, .footer_right {
    /*width: 25%;*/
  }

  .footer_center {
    display: block;
  }
}

.footer_logo img {
  max-height: 80px;
}

h1, h2, h3 {
  font-family: "bebas-neue", sans-serif;
  text-transform: uppercase;
  margin: 0;
  padding: 1em 0;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1em;
}

h1 {
  font-weight: 700;
  color: #363932;
}

.header_lang {
  /*display: none;*/
}

.header_lang, .header_menu {
  clear: right;
  float: right;
}

.header_lang_list {
  margin-bottom: 2rem;
}

.header_lang_list li.active {
  color: #009bb4;
}

.header_lang li.disabled {
  color: #b6b6b6;
}

.header_menu_list {
  margin-bottom: 2.4%;
}

.footer_menu_list {
  margin: 0;
}

.header_lang_list li, .header_menu_list li, .footer_menu_list li {
 display: inline-block;
 font-family: "bebas-neue", sans-serif;
 text-transform: uppercase;
}

.header_menu_list li, .footer_menu_list li {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.header_menu_list li {
  margin: 0 1.5em;
}

@media all and (max-width: 1041px) {
  .header_menu_list li {
    margin: 0 0.5em;
  }
}

.header_menu_list li:last-child, .footer_menu_list li:last-child {
  margin-right: 0;
}

.header_menu_list li a, .footer_menu_list li a {
  display: inline;
  border-top: .2em solid #fff;
  padding: .3em 0 0 0;
}

/*.header_menu_list li a.active, .header_menu_list li:hover a, .footer_menu_list li a.active, .footer_menu_list li:hover a {*/
.header_menu_list li a.active, .footer_menu_list li a.active, .footer_menu_list li:hover a {
  border-top: .2em solid #00b3c0;
}

.header_menu_list li a, .footer_menu_list li a {
  color: #363932;
}

.main_small {
  width: 80%;
  margin: 0 auto;
}

.jumbo {
  position: relative;
  background-image: url(img/header.jpg);
  background-size: cover;
  color: #fff;
  text-transform: uppercase;
  font-family: "bebas-neue", sans-serif;
  font-weight: 400;
  font-size: 5rem;
  line-height: 1.2;
}

.jumbo_space {
  padding-top: 66%;
}

.jumbo_content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4%;
  width: 100%;
  height: 100%;
}

.jumbo.kapitalanlage {
  background-image: url(img/header3.jpg);
}

.jumbo.kapitalanlage .jumbo_content {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
}

.jumbo.expertise {
  background-image: url(img/header2.jpg);
  padding: 4% 2%;
  font-size: 1.9rem;
}

.jumbo.expertise .jumbo_content {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.jumbolist {
  margin: 0;
  height: 75%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.block {
  margin: 3rem 3rem 5rem;
}

@media all and (min-width: 1460px) {
  .block {
    margin: 5rem 0;
  }
}

.flexblock {
  background-image: url(img/watermark.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  justify-content: space-evenly;
}

.flexitem {
  margin: 3% 2%;
  width: 22%;
  text-align: center;
}

.flexitem:first-child {
  margin-left: 0;
}

.flexitem:last-child {
  margin-right: 0;
}

@media all and (max-width: 1240px) {
  .flexblock {
    flex-wrap: wrap;
  }
  .flexitem {
    width: 48%;
  }
  .flexitem:nth-child(2) {
    margin-right: 0;
  }
  .flexitem:nth-child(3) {
    margin-left: 0;
  }
}

@media all and (max-width: 1040px) {
  .flexblock {
    flex-wrap: wrap;
  }
  .flexitem {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.flexitem_img img {
  max-height: 6rem;
}

.flexitem_title {
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1;
  color: #707070;
  margin-top: 2rem;
  margin-bottom: 3rem;
  padding: 0;
}

.teamblock {
  text-align: center;
/*
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
*/
}

.teamblock_left, .teamblock_right {
  width: 40%;
  text-align: center;
}

@media all and (min-width: 1041px) {
  .teamblock {
    width: 75%;
    margin: 0 auto;
  }
}

.teampic {
  width: 15rem;
  height: 15rem;
  object-fit: cover;
  border-radius: 50%;
  margin: 2rem 0;
}

.teamname {
  font-size: 1.4em;
  color: #009bb4;
}

.teamposition {
}

.teammail {
  margin-top: 0.5em;
  display: inline-block;
  color: #009bb4;
}

.teammail a {
  /*color: #009bb4;*/
}

.teamportrait {
  width: 100%;
}

.contact_text {
  text-align: center;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1.5em;
}

.contact_text a {
  color: #009bb4;
}

@media all and (min-width: 1041px) {
  .contact_block {
    width: 50%;
    margin: 0 auto;
  }
}
/* --- NEUE STYLES FÜR DIE APP SEKTION --- */

/* Header Bild für die App */
.jumbo.app_header {
  background-image: url('img/header1.jpg');
  background-size: contain; 
  background-repeat: no-repeat;
  background-position: center;
  min-height: 500px; 
  position: relative; 
  z-index: 1; /* Sicherstellen, dass der Kontext stimmt */
}

/* Text im Header */
.jumbo.app_header .jumbo_content {
  /* FIX für Firefox: Damit Padding in die 100% Breite eingerechnet wird */
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Rechtsbündig */
  
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 4%; 
  
  text-align: right; 
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  z-index: 2;
}

/* Buttons Container */
.app-header-buttons {
  display: flex;
  flex-direction: column; 
  align-items: flex-end;  
  gap: 25px;              
  
  margin-top: 100px;      
  margin-right: 150px;     
  
  /* Skalierung */
  transform: scale(0.85);
  transform-origin: top right;
  
  /* FIX für Firefox Rendering bei transform */
  backface-visibility: hidden; 
}

/* Die Links um die Bilder herum */
.app-header-buttons a {
  display: block; /* Wichtig, damit sie im Flex-Container sauber brechen */
  text-decoration: none;
  border: none;
}

/* Bilder für Buttons */
.app-header-buttons img {
  border: none;
  display: block;
  max-width: 100%; /* Verhindert Overflow */
}

/* Liste der Vorteile */
.app-benefits-list {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 20px;
}

.app-benefits-list li {
  margin-bottom: 10px;
}

/* Anmelde-Box */
.app-login-box {
  background-color: #f8f9fa;
  border-left: 4px solid #0092ac; 
  padding: 20px;
}