/* =====================================
   Grundlayout & Farben
===================================== */
* {
  box-sizing: border-box;
  /*margin: 0;*/
  padding: 0;
}

body {
  font-family: '3MCircularTT-Regular', Arial, Helvetica, sans-serif;
  line-height: 1.4;
  color: #f0f0f0;
  background-color: #000;
  margin-left: 20%;
  margin-right: 20%;
  margin-top: 0;
}

sup {
    font-size: 0.6em;
}

@media (max-width: 1199px) {
  body {
    margin-left: 0;
    margin-right: 0;
  }
}

/* =====================================
   Custom Fonts
===================================== */
@font-face {
  font-family: 'BebasNeueBold';
  src: url('fonts/BebasNeueBold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: '3MCircularTT-Regular';
  src: url('fonts/3MCircularTT-Book.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: '3MCircularTT-Bold';
  src: url('fonts/3MCircularTT-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* =====================================
   HEADER
===================================== */
.header {
  position: relative;
  background-image: 
    linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,1) 100%), 
    url('images/img-header.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: auto;
  min-height: 60vh;
}

.header-overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  color: #fff;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

/* Neues Logo-Design */
.logo {
  display: inline-block;
  width: 50%;
  max-width: 150px;
}

.logo img {
  width: 70%;
  height: auto;
  display: block;
}

/* Language Switcher */
.language-switcher a {
  color: #fff;
  text-decoration: none;
  margin-left: 0.5rem;
}

.language-switcher a.active {
  font-weight: bold;
  text-decoration: underline;
}


/* Unterer linker Headerbereich: line-height wiederhergestellt */
.header-bottom .header-text {
  font-family: 'BebasNeueBold', Arial, Helvetica, sans-serif;
  font-size: 6vw;
  line-height: 1.1; /* aktiviert */
  color: #fff;
  flex: 0 0 40%;
  margin-top: 40vh; /* auf 40vh gesetzt */
  display: flex;
}

.header-bottom .header-text p {
  align-self: flex-end;
  margin: 0;
}

/* Unterer rechter Headerbereich */
.header-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 10px; /* Abstand zwischen Spalten */
  position: relative;
}

.header-bottom .header-image {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  margin-top: 0;
}

.header-bottom .header-image img {
  width: 100%;
  height: auto;
}

.header-bottom .header-image p {
  margin-top: 1rem;
  color: #fff;
  text-align: left;
  font-size: 2.2vw; /* Grundschriftgröße um 20% reduziert */
  white-space: pre-line;
  word-wrap: break-word;
  max-width: 100%;
  align-self: start;
  margin: 6px;
}

/* =====================================
   CONTENT
===================================== */
.content {
  position: relative;
  padding: 4rem 2rem;
  z-index: 2;
  background: transparent;
  font-family: '3MCircularTT-Regular', Arial, Helvetica, sans-serif;
}

.content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px; /* Abstand zwischen Spalten */
  padding: 2rem;
  margin-bottom: 4rem;
  background: transparent;
}

.content-image {
  flex: 0 0 calc(40% - 20px); /* 40% minus die Hälfte des gap */
}

.content-image img {
  width: 100%;
}

.content-text {
  flex: 0 0 calc(60% - 20px); /* 60% minus die Hälfte des gap */
}

.content-text img{
  width: 100%;
  height: auto;
}

.content-text h2 {
  margin-bottom: 1rem;
  margin-top: -4px;
  color: #fff;
  font-family: '3MCircularTT-Bold', Arial, Helvetica, sans-serif;
}

.content-text p {
  font-size: 1.1em;
}

/* Tabellen im Inhaltsbereich */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.custom-table th,
.custom-table td {
  text-align: left;
  padding-right: 1em;
  font-size: 1.1em;
  font-family: '3MCircularTT-Regular', Arial, Helvetica, sans-serif;
}

.custom-table th {
  font-family: '3MCircularTT-Bold', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  color: #fff;
}

.custom-table td {
  color: #fff;
}

/* Aufzählungen im Inhaltsbereich */
.content-text ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.content-text ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  color: #fff;
  font-family: '3MCircularTT-Regular', Arial, Helvetica, sans-serif;
  font-size: 1.1em;
}

.content-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background-color: red;
  display: inline-block;
  border-radius: 0px;
}

/* =====================================
   PAGE FOOTER
===================================== */
.page-footer {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 1rem 2rem;
  font-family: 'BebasNeueBold', Arial, Helvetica, sans-serif;
  color: #fff;
  background: transparent;
}

.page-footer::before {
  content: "";
  position: absolute;
  top: -35vh;
  left: 0;
  width: 100%;
  height: 500px;
  background: 
    linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%),
    url('images/img-footer.png') no-repeat center bottom;
  background-size: cover;
  z-index: -1;
}

.page-footer a {
  color: #fff;
  text-decoration: none;
}

.page-footer a:hover {
  text-decoration: underline;
}

/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 1199px) {
  .header-bottom {
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 10px;
  }

  .header-bottom .header-image {
    flex: 0 0 60%;
    padding-top: 0;
    margin-top: 0;
  }

  .header-bottom .header-image p {
    font-size: 3vw;
  }

  .content-row {
    flex-direction: column;
  }

  .content {
    margin-top: 0;
  }

  .header-bottom .header-image,
  .content-image,
  .content-text {
    flex: initial;
  }
}
