/* ==== Farbdefinitionen ==== */
:root {
  --color-accent: #004488;
  --color-secondary: #4b006e;
  --color-background: linear-gradient(to bottom, #cce4f6, #f5e8d4);
  --color-text: #111111;
}

/* ==== Grundlayout ==== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  background: linear-gradient(to bottom, #cce4f6, #f5e8d4);
  color: var(--color-text);
}

/* Dark Mode ausdrücklich ignorieren */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(to bottom, #cce4f6, #f5e8d4);
    color: var(--color-text);
  }
}

.container {
  max-width: 1200px;
  margin: 120px auto 0 auto;
  padding: 2rem;
}

.section {
  margin-bottom: 3rem;
}

/* ==== Typografie ==== */
h1 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  margin-bottom: 0.4rem;
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 0.3rem;
}

/* ==== Buttons ==== */
.button {
  background-color: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
.button:hover {
  background-color: var(--color-secondary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ==== Cards ==== */
.card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 120px auto 0 auto;
}

/* ==== Navigation ==== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background-color: linear-gradient(to bottom, #cce4f6, #f5e8d4);
  backdrop-filter: blur(5px);
  z-index: 1000;
}

/* ==== Responsive Breakpoints ==== */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  h1 {
    font-size: 1.6rem;
  }
  .card {
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 100px;
  }
}

@media (max-width: 480px) {
  .button {
    width: 100%;
  }
}

/* ===== KI 4 u: Startseiten-Feinschliff ===== */
main h1 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.5em;
}

.button-link {
  font-size: 0.9em;
  padding: 0.5em 1em;
  background-color: #6699cc;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.button-link:hover {
  background-color: #4a7cb3;
}

/* ==== Footer (Final-Version) ==== */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-top: 4px solid var(--color-accent);
}

footer p {
  margin: 0.5em 0;
  font-size: 0.9rem;
}

footer img {
  display: block;
  margin: 0.75rem auto 0;
  max-height: 60px;
  height: auto;
  width: auto;
}