:root {
  --blue: #005baa;
  --blue-dark: #003f78;
  --gold: #d4af37;
  --bg: #f7f9fc;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --border: rgba(0, 91, 170, 0.12);
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-wrapper {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--gold);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 24px rgba(0, 91, 170, 0.24);
}

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 700;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--blue);
}

.hero {
  padding: 96px 0 82px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.22), transparent 32%),
              linear-gradient(135deg, #ffffff 0%, #edf5ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 91, 170, 0.08);
  color: var(--blue);
  font-weight: 800;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--blue-dark);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.15rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 13px;
  font-weight: 800;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 91, 170, 0.24);
}

.button-light {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--border);
}

.hero-box {
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0, 63, 120, 0.14);
}

.hero-box h2 {
  margin-bottom: 18px;
  color: var(--blue-dark);
}

.hero-box ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-box li {
  color: var(--muted);
}

.hero-box li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--gold);
  font-weight: 900;
}

.section {
  padding: 82px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.about-content h2,
.contact-section h2 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.section-head p,
.about-content p {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 30px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: rgba(0, 91, 170, 0.08);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.about-highlight {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 24px 70px rgba(0, 91, 170, 0.22);
}

.about-highlight span {
  color: var(--gold);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-highlight h2 {
  margin: 10px 0;
  font-size: 2rem;
}

.about-content p {
  margin-bottom: 18px;
}

.about-content .button {
  margin-top: 10px;
}

.contact-section {
  padding: 82px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p {
  max-width: 600px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-box {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-box p {
  margin-bottom: 16px;
}

.contact-box strong {
  color: var(--gold);
}

.site-footer {
  padding: 24px 0;
  background: #031a31;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer a {
  margin-left: 14px;
  color: var(--gold);
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 68px 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}


.subpage-hero {
  padding: 86px 0 62px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.subpage-hero h1 {
  max-width: 780px;
  margin-bottom: 12px;
  color: var(--white);
}

.subpage-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.legal-card {
  max-width: 860px;
  padding: 38px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.35rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 14px;
  color: var(--muted);
}


/* Kontaktformular-Seite */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--blue-dark);
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 91, 170, 0.08);
}

.form-row textarea {
  min-height: 170px;
  resize: vertical;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-check input {
  margin-top: 5px;
}

.privacy-check a {
  color: var(--blue);
  font-weight: 800;
}

.contact-side-card {
  padding: 34px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 24px 70px rgba(0, 91, 170, 0.22);
}

.contact-side-card h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.contact-side-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-side-card strong {
  color: var(--gold);
}

.contact-side-card a {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}


.site-logo{
  height:82px;
  width:auto;
  display:block;
}

.logo{
  display:flex;
  align-items:center;
}


/* Korrektur Logo-Größe */
.logo {
  display: flex;
  align-items: center;
  max-width: 240px;
  overflow: hidden;
}

.site-logo {
  width: 190px !important;
  height: auto !important;
  max-height: 74px !important;
  object-fit: contain;
  display: block;
}

.nav-wrapper {
  min-height: 88px;
}

@media (max-width: 860px) {
  .logo {
    max-width: 190px;
  }

  .site-logo {
    width: 160px !important;
    max-height: 62px !important;
  }

  .nav-wrapper {
    min-height: 78px;
  }
}


/* Finale Logo-Korrektur: Logo fest im Header begrenzen */
.logo {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 210px !important;
  height: 76px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.logo img,
.site-logo {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: 66px !important;
  max-width: 200px !important;
  max-height: 66px !important;
  object-fit: contain !important;
}

.site-header,
.nav-wrapper {
  overflow: hidden !important;
}

.nav-wrapper {
  min-height: 86px !important;
}

@media (max-width: 860px) {
  .logo {
    max-width: 170px !important;
    height: 66px !important;
  }

  .logo img,
  .site-logo {
    height: 56px !important;
    max-width: 160px !important;
    max-height: 56px !important;
  }

  .nav-wrapper {
    min-height: 76px !important;
  }
}


/* Kompakter Header mit sicher begrenztem Logo */
.site-header {
  overflow: visible !important;
}

.nav-wrapper {
  min-height: 68px !important;
  padding: 6px 0 !important;
}

.logo {
  max-width: 170px !important;
  height: 56px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

.logo img,
.site-logo {
  height: 48px !important;
  max-height: 48px !important;
  max-width: 160px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  position: static !important;
}

@media (max-width: 860px) {
  .nav-wrapper {
    min-height: 62px !important;
    padding: 5px 0 !important;
  }

  .logo {
    max-width: 150px !important;
    height: 50px !important;
  }

  .logo img,
  .site-logo {
    height: 42px !important;
    max-height: 42px !important;
    max-width: 140px !important;
  }
}
