/* Grundlegende Resets und Einstellungen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: #fff;
    color: #121212;
    font-size: 18px;
    line-height: 1.5;
}

main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 680px;
    margin: 32px auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.logo {
    width: 350px;
    max-width: 80vw;
    margin-bottom: 16px;
}

.logo-mobile {
  display: none;
}

.info-text {
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 1rem;
}

a {
    color: #21828e;
    text-decoration: underline;
}

footer {
    width: 100%;
    margin-top: 24px;
    font-size: 0.95rem;
    color: #000;
}

footer a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px dotted #000000;
    transition: border-bottom 0.2s;
}

footer a:hover {
    border-bottom: 1px solid #000000;
}

/* Visually hidden (für SEO/Screenreader) */
.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px; width: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    position: absolute;
}

/* Responsive Anpassungen */
@media (max-width: 1023px) {
    .container {
        max-width: 96vw;
        padding: 18px 1rem;
        gap: 20px;
    }
    .logo {
        width: 65vw;
        max-width: 260px;
    }
    .info-text {
        font-size: 0.98rem;
        gap: 12px;
    }
    footer {
        font-size: 0.90rem;
        margin-top: 14px;
    }
}

.legal-text {
    text-align: left;
    max-width: 640px;
    width: 100%;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-text h2 {
    font-size: 1.15rem;
    margin: 18px 0 6px 0;
    color: #21828e;
}

.legal-text ul {
    padding-left: 24px;
    margin: 8px 0 8px 0;
}

.legal-text li {
    margin-bottom: 4px;
}
.legal-text a {
    color: #21828e;
    text-decoration: underline;
}

.legal-text h1, 
.legal-text h2, 
.container > h1 {
    color: #21828e !important; /* Petrol */
}

.split-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 420px;
    align-items: stretch;
    margin: 4rem;
}

.logo-area {
  padding-right: 4rem; /* Abstand nach rechts */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}

.logo {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-bottom: 48px;
}

.contact-text {
  font-size: 1rem;
  margin-bottom: 32px;
}

.text-area {
  flex: 1 1 0;
  max-width: 50%;
}

.logo-desktop {
    max-width: 550px;
}


@media (max-width: 1023px) {
  .split-layout {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 18px;
    min-height: unset;
    margin: 1rem;
  }
  .logo-area {
    max-width: none;
    flex: none;
    padding-right: 0;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
  }
  .legal-text {
    max-width: inherit;
  }
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
   display: block;
    max-width: 350px;
    margin-bottom: 2rem;
  }
  .contact-text {
    text-align: left;
    margin-bottom: 24px;
  }
  .text-area {
    max-width: 98vw;
    min-width: unset;
  }
}

@media (max-width: 768px) {
    .logo-mobile {
        display: block;
        max-width: 250px;
        margin-bottom: 2rem;
    }
    .split-layout {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .logo {
        max-width: 250px;
    }
}