/* Verivalor shared header/footer shell */
nav {
  background: var(--navy, #0B1F3A);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
}
.nav-logo {
  display: block;
  width: 74px;
  height: 54px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--gold, #c9a24c);
  color: #fff;
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--gold-light, var(--gold-soft, #d4af6a));
  color: #fff;
}
.nav-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212,180,131,0.45);
  border-radius: 2px;
  background: rgba(255,255,255,0.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-menu-open .nav-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-open .nav-menu-toggle span:nth-child(2) { opacity: 0; }
.nav-menu-open .nav-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(0,83,139,0.30), transparent 34%),
    linear-gradient(135deg, #051c35 0%, #082845 48%, #061f39 100%);
  padding: 64px clamp(28px, 4.8vw, 86px) 58px;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(170px, 0.9fr)) minmax(230px, 0.95fr);
  gap: clamp(30px, 3.8vw, 64px);
  align-items: start;
  border-top: 1px solid rgba(212,175,106,0.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  max-width: none;
  margin: 0;
  text-align: left;
  color: rgba(255,255,255,0.88);
  font-size: initial;
}
footer > div:first-child img {
  width: 74px !important;
  height: 74px !important;
  margin-bottom: 20px !important;
}
footer a { text-decoration: none; }
.footer-brand-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.94);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.78;
  max-width: 300px;
}
.footer-intro-name {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}
.footer-intro-role {
  max-width: 260px;
  line-height: 1.55;
  letter-spacing: 0;
}
.footer-col h5 {
  font-size: 12px;
  color: var(--gold-light, var(--gold-soft, #d4af6a));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255,255,255,0.94);
  margin-bottom: 15px;
  transition: color 0.2s;
  font-weight: 400;
  overflow-wrap: normal;
  word-break: normal;
}
.footer-col a:hover { color: var(--gold-light, var(--gold-soft, #d4af6a)); }
.footer-seal {
  border-left: 1px solid rgba(212,175,106,0.52);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: clamp(22px, 2.4vw, 34px);
}
.footer-seal img {
  width: min(100%, 265px);
  max-height: 265px;
  object-fit: contain;
  opacity: 0.84;
}
.footer-bottom {
  background: linear-gradient(135deg, #051c35 0%, #082845 100%);
  padding: 20px clamp(28px, 4.8vw, 86px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(184,151,90,0.18);
}

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-menu-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(11,31,58,0.98);
    border-bottom: 1px solid rgba(212,180,131,0.26);
    box-shadow: 0 22px 44px rgba(0,0,0,0.22);
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .nav-menu-open .nav-links {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.07); }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  footer {
    grid-template-columns: 1fr 1fr;
    padding: 34px 24px 28px;
    gap: 26px 22px;
    align-items: start;
  }
  footer > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(212,175,106,0.22);
  }
  footer > div:first-child img {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 14px !important;
  }
  .footer-brand-sub {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .footer-intro-name {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .footer-desc {
    font-size: 13px;
    line-height: 1.65;
    max-width: 310px;
    margin: 0 auto;
  }
  .footer-intro-role {
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
    font-size: 13.5px;
    line-height: 1.55;
  }
  .footer-col h5 {
    font-size: 10.5px;
    letter-spacing: 0.13em;
    margin-bottom: 12px;
  }
  .footer-col a {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .footer-col:nth-of-type(4) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    row-gap: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(212,175,106,0.18);
  }
  .footer-col:nth-of-type(4) h5 { grid-column: 1; grid-row: 1; }
  .footer-col:nth-of-type(4) a[href="/kontakt/"] { grid-column: 1; grid-row: 2; }
  .footer-col:nth-of-type(4) a[href="/kosten/"] { grid-column: 1; grid-row: 3; }
  .footer-col:nth-of-type(4) a[href="/#faq"] { grid-column: 1; grid-row: 4; }
  .footer-col:nth-of-type(4) a[href="/impressum/"] { grid-column: 2; grid-row: 2; }
  .footer-col:nth-of-type(4) a[href="/datenschutzerklaerung/"] { grid-column: 2; grid-row: 3; }
  .footer-seal {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    border-left: 0;
    border-top: 1px solid rgba(212,175,106,0.18);
    min-height: auto;
    padding: 20px 0 0;
  }
  .footer-seal img {
    width: min(48vw, 168px);
    max-height: 168px;
    opacity: 0.72;
  }
  .footer-bottom {
    padding: 16px 24px 18px;
    justify-content: center;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.45;
  }
}

@media (max-width: 560px) {
  nav { padding: 0 20px; }
  .nav-brand { width: 52px; height: 52px; min-width: 52px; }
  .nav-logo { width: 64px; height: 48px; max-height: none; }
}
