@font-face {
  src: url("assets/fonts/Agrandir/Agrandir-Regular.otf");
  font-family: "Agrandir";
  font-weight: 500;
  font-style: normal;
}

html, body {
  padding: 0;
  margin: 0;
  font-family: "Agrandir";
  font-size: large;
  overflow-x: hidden;
  background-color: #fafafa;
}

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

* {
  box-sizing: border-box;
}

.blue-font {
  color: #1d45a5;
}

.gray-font {
  color: #d9d9d9;
}

.darkgray-font {
  color: #99999d;
}

.container {
  display: flex;
  flex-direction: column;
}

.header-container {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.header-title {
  font-size: 24px;
}

.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  display: flex;
  flex-direction: column;
  padding: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}

.logo-container {
  display: flex;
  align-items: flex-start; /* Logo nach oben ausrichten */
  margin: 0 0 4px 20px; /* Minimaler Abstand: oben 0px, unten 4px, links 20px */
  max-width: 240px; /* Logo-Größe unverändert */
}

.logo {
  width: 100%;
  height: auto;
  margin: 0; /* Kein zusätzlicher Abstand */
}

.text-container {
  margin: 0; /* Abstand zum Logo entfernt */
  padding: 0;
}

.title {
  margin-top: 4px; /* Minimaler Abstand zwischen Logo und Titel */
}

.content-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease-in-out;
}

.content-more.open {
  max-height: 500px;
}

.more {
  cursor: pointer;
}

.more:hover {
  opacity: 0.9;
}

.signature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  background-color: #eaeaea;
  padding: 4px 16px; /* Kompakter Footer */
}

.footer-link {
  font-size: small;
  margin-top: 2px;
}

.footer-heading {
  font-size: medium;
  margin-bottom: 2px;
}

q {
  margin-left: 24px;
  margin-right: 24px;
  text-align: center;
}

@media screen and (min-width: 767px) {
  .main-content {
    padding: 32px 12%;
  }

  .logo-container {
    margin-top: 0;
    margin-bottom: 4px;
    margin-left: 10px;
    max-width: 260px; /* Größeres Logo auf mittleren Bildschirmen */
  }
}

@media screen and (min-width: 911px) {
  .main-content {
    padding: 72px 20%;
  }

  .logo-container {
    margin-top: 0;
    margin-bottom: 4px;
    margin-left: 10px;
    max-width: 300px; /* Noch größeres Logo auf großen Bildschirmen */
  }
}