﻿/* Grundlayout und Farben */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 248, 220, 0.35), transparent 55%),
    repeating-linear-gradient(
      -45deg,
      #f7f3e9 0,
      #f7f3e9 6px,
      #f0ece2 6px,
      #f0ece2 12px
    );
  background-color: #f7f3e9;
}

a {
  color: #005f8c;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

/* Kopfbereich */
header {
  padding: 1rem 0 0.5rem;
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-group img {
  max-height: 70px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  background-color: rgba(255, 255, 255, 0.8);
}

.site-title {
  text-align: right;
}

.site-title span {
  display: block;
}

.site-title-main {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #12344d;
}

.site-title-sub {
  font-size: 0.98rem;
  color: #555;
}

/* Navigation – beliebig erweiterbar */
nav {
  margin-top: 1rem;
  border-radius: 999px;
  background: rgba(18, 52, 77, 0.08);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  margin: 0;
}

.nav-item a {
  display: block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-item a:hover,
.nav-item a:focus {
  background-color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.nav-item-active a {
  background-color: #12344d;
  color: #fff;
  font-weight: 600;
}

/* Hauptbereich */
main {
  margin-top: 1.75rem;
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  main {
    padding: 2rem 2rem 2.25rem;
  }
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.75rem 0.15rem 0.15rem;
  border-radius: 999px;
  background-color: #12344d;
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.intro-badge-link{
color: #fff;
text-decoration: none;
font-weight: 500;
}

.intro-badge-link:hover {
text-decoration: underline;
}

.intro-badge-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe07a, #ff9800 55%, #b25a00);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
}

h1,
h2,
h3 {
  color: #12344d;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

 p {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

.content-block {
  margin-top: 0.75rem;
}

.qa-label {
  font-weight: 600;
  color: #12344d;
  display: inline-block;
  min-width: 5.2rem;
}

.qa-entry {
  margin-bottom: 0.9rem;
}

.contact-box {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(18, 52, 77, 0.05), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(18, 52, 77, 0.08);
}

.contact-box strong {
  display: block;
}

.contact-box a {
  word-break: break-word;
}

/* Fußbereich */
footer {
  margin-top: 1.5rem;
  padding: 0.75rem 0 0.5rem;
  font-size: 0.85rem;
  color: #555;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner span {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-title {
    text-align: left;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

