/* campingferien.ch · Sichtbare, ruhige Header-/Footer-Abgrenzung · 10.11.2026
   Bestehende Navigation, Responsive-Menüs und Partnerflächen bleiben unverändert. */

/* Leicht abgesetzte, aber bewusst helle Kopfzeile. */
.site-header {
  background: rgba(247,248,243,.98) !important;
  border-bottom: 2px solid rgba(23,58,48,.35) !important;
  box-shadow: 0 6px 20px rgba(23,58,48,.09);
}
.site-header .mainnav a {
  color: #234738 !important;
  font-weight: 650 !important;
  transition: color .18s ease;
}
.site-header .mainnav a:hover,
.site-header .mainnav a:focus-visible {
  color: #106246 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-header .mobile-toggle {
  color: #173a30;
  background: #eaf1e7;
  border: 1px solid #a8c3ad;
}

/* Footer als eigenstaendiger Abschluss statt als weiterer Inhaltsblock. */
.footer {
  background: #e7efe6 !important;
  border-top: 4px solid #517a5e !important;
}
.footer .footer-top {
  padding-top: 46px;
  padding-bottom: 43px;
  row-gap: 30px;
}
.footer .brand { color: #173a30 !important; }
.footer .footer-top :is(h3,h4:where(.chapter-detail-heading),p:where(.footer-nav-heading)) {
  color: #173a30 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  margin: 4px 0 15px;
}
.footer .footer-top p {
  color: #435c4d !important;
  line-height: 1.7;
}
.footer .footer-top nav a {
  color: #284c3a !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.65;
}
.footer .footer-top nav a:hover,
.footer .footer-top nav a:focus-visible {
  color: #106246 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 960px) {
  .footer .footer-top > nav {
    border-left: 1px solid rgba(23,58,48,.16);
    padding-left: 22px;
  }
}
/* Dunkelgruener Schlussstreifen, rechts die rechtlichen Links. */
.footer .footer-bottom {
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  background: #173a30;
  color: #edf5eb !important;
  border-top: 1px solid #426958 !important;
  padding: 18px max(20px, calc((100vw - 1112px)/2));
}
.footer .footer-bottom .legal-links a {
  color: #edf5eb !important;
  text-decoration: none;
}
.footer .footer-bottom .legal-links a:hover,
.footer .footer-bottom .legal-links a:focus-visible {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 800px) {
  .footer .footer-top { padding-top: 36px; padding-bottom: 30px; }
  .footer .footer-bottom { padding: 17px 16px !important; }
}
@media (max-width: 560px) {
  .footer .footer-bottom { padding: 18px 14px !important; }
  .footer .footer-top nav a { font-size: 14px; }
}

/* 10.11.2026: ausschliesslich Header- und Footer-Typografie. */
@media (min-width: 1321px) {
  .site-header .mainnav a { font-size: 14px !important; }
}
@media (min-width: 1121px) and (max-width: 1320px) {
  .site-header .mainnav a { font-size: 13px !important; }
}
.site-header .brand { font-size: 19px; }
.site-header .mobile-nav a { font-size: 16px; }
.footer .brand { font-size: 19px; }
.footer .footer-top :is(h3,h4:where(.chapter-detail-heading),p:where(.footer-nav-heading)) { font-size: 14px; }
.footer .footer-top nav a { font-size: 16px; }
.footer .footer-top p { font-size: 15px; }
.footer .footer-bottom, .footer .footer-bottom a { font-size: 14px; }
@media (max-width: 560px) {
  .footer .footer-top nav a { font-size: 16px; }
  .footer .footer-top p { font-size: 15px; }
  .footer .footer-bottom, .footer .footer-bottom a { font-size: 14px; }
}
