/* ---------------------------------------
    1. Fonts
---------------------------------------- */
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/comfortaa-v45-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/comfortaa-v45-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/comfortaa-v45-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v18-latin-regular.woff2') format('woff2');
}

/* ---------------------------------------
    2. Base Styles
---------------------------------------- */
body {
  margin: 0;
  background-color: #fff;
  color: #202A44;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Comfortaa', sans-serif;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p, label, input, textarea, button {
  font-size: 1rem;
}

h2.section-title {
  padding-left: 24px;
  margin-bottom: 1.5rem;
}

main p,
.box p {
  padding-left: 24px;
  margin-bottom: 1rem;
}

.box h3 {
  min-height: 50px;
  background-color: rgba(32, 42, 68, 0.2);
  color: #202A44;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.2rem;
  padding: 15px;
  margin: 0;
  border-radius: 6px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.cyan_strong {
  color: #262626;
  text-decoration: underline;
  text-decoration-color: #00AEEF;
  font-weight: 400;
}

/* ---------------------------------------
    3. Layout Container
---------------------------------------- */
.header-container,
.footer-container,
.main-content {
  max-width: 980px;
  margin: 0 auto;
}

.main-content {
  padding: 48px 24px;
}

/* ---------------------------------------
    4. Header
---------------------------------------- */
.site-header {
  background-color: #202A44;
  padding: 24px;
}

.logo {
  width: 150px;
  height: auto;
}

/* ---------------------------------------
    5. Hero Section
---------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .hero { min-height: 70vh; }
}
@media (max-width: 992px) {
  .hero { min-height: 80vh; }
}
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
}
@media (max-width: 576px) {
  .hero { min-height: 100vh; }
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.hero picture,
.hero img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 980px;
  width: 100%;
  padding: 48px 24px;
  color: #F0F0F0;
  text-align: center;
  z-index: 2;
}

.hero-overlay .h1-headline {
  background-color: #202A44;
  color: #F0F0F0;
  font-family: 'Comfortaa', sans-serif;
  font-size: 3rem;
  padding: 20px;
  margin: 0 12px 30px;
  border-radius: 6px;
}

.hero-overlay .h2-subline {
  background-color: rgba(32, 42, 68, 0.6);
  color: #F0F0F0;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.8rem;
  padding: 20px;
  margin: 0 12px;
  border-radius: 6px;
}

@media (max-width: 576px) {
  .hero-overlay .h1-headline {
    font-size: 2rem;
    padding: 16px;
  }
  .hero-overlay .h2-subline {
    font-size: 1.2rem;
    padding: 16px;
  }
  .main-content {
    padding: 24px 16px;
  }
}

/* ---------------------------------------
    6. Persona-Bereich
---------------------------------------- */
.about {
  margin-bottom: 48px;
}

.about p {
  margin-bottom: 48px;
}

.persona-boxes {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .persona-boxes {
    flex-direction: column;
  }
}

/* ---------------------------------------
    7. Box-Komponenten
---------------------------------------- */
.box {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 24px;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  background-color: transparent;
  box-sizing: border-box;
}

.box h3 {
  background-color: rgba(32, 42, 68, 0.2);
  color: #202A44;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.2rem;
  padding: 15px;
  margin-top: 0;
  margin-bottom: 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.box p {
  align-self: start;
  margin-top: 0;
  padding: 0;
  line-height: 1.6;
}

/* ---------------------------------------
    8. Formular & CTA
---------------------------------------- */
.cta-form {
  background-color: #F0F0F0;
  border-radius: 6px;
  margin-top: 64px;
  padding: 24px;
}

.form-headline {
  color: #202A44;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #C8C8C8;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form textarea:focus,
form input:focus {
  border-color: #00AEEF;
  outline: none;
}

form button {
  background-color: #00AEEF;
  color: #fff;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1.5rem;
  font-size: 1rem;
}

form button:hover {
  background-color: #005F81;
}

.form-feedback {
  margin-top: 1rem;
  color: #B00020;
  font-size: 0.9rem;
}

.form-feedback.success {
  color: #00AEEF;
}

.hidden {
  display: none;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 1rem;
}

.col-checkbox {
  padding-top: 0.9em;
}

.col-label label {
  font-size: 0.9rem;
  line-height: 1.4;
  display: inline-block;
}

.col-label a {
  color: #202A44;
  text-decoration: underline;
}



/* ---------------------------------------
    9. Cookie-Banner
---------------------------------------- */
.cookie-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #202A44;
  color: #fff;
  padding: 16px 24px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #00AEEF;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #00AEEF;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  margin-left: 16px;
}

/* ---------------------------------------
    10. Footer (site-footer!)
---------------------------------------- */
.site-footer {
  background-color: #262626;
  color: #F0F0F0;
  padding: 32px 24px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #F0F0F0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #00AEEF;
}

.site-footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}
