/* ============================================================
   site.css – Gemeinsame Styles für Header und Footer
   (statisch in jede Seite eingebunden, damit Navigation und
   Footer auch ohne JavaScript im HTML stehen)
   ============================================================ */

/* ── HEADER ── */
.g-header {
  background: #fff;
  border-bottom: 1px solid #e0d8cc;
  position: sticky;
  top: 0;
  z-index: 100;
}

.g-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
}

.g-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.g-logo-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.g-logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #A85C00;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: auto;
  margin-right: 32px;
}

.g-nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
  position: relative;
  padding-bottom: 2px;
}

.g-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #E8832A;
  transition: width 0.2s ease;
}

.g-nav-link:hover { color: #E8832A; }
.g-nav-link:hover::after,
.g-nav-link.active::after { width: 100%; }
.g-nav-link.active { color: #E8832A; }

.g-header-cta {
  background: #E8832A;
  color: #fff !important;
  border-radius: 24px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.g-header-cta:hover { background: #c96e1f; }

.g-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.g-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a1a1a;
  transition: all 0.25s ease;
  transform-origin: center;
}

.g-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.g-hamburger.is-open span:nth-child(2) { opacity: 0; }
.g-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.g-mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid #e0d8cc;
  background: #fff;
}

.g-mobile-nav.open { display: flex; }

.g-mobile-nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #555;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebe3;
  transition: color 0.15s ease;
}

.g-mobile-nav-link:last-child { border-bottom: none; }
.g-mobile-nav-link.active,
.g-mobile-nav-link:hover { color: #E8832A; }

@media (max-width: 768px) {
  .g-header-inner { padding: 0 24px; }
  .g-nav, .g-header-cta { display: none; }
  .g-hamburger { display: flex; }
}

/* ── FOOTER ── */
.g-footer {
  background: #1a1a1a;
  color: #888;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 80px;
}

.g-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.g-footer-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.g-footer-tagline {
  font-size: 10px;
  color: #A85C00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}

.g-footer-brand p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  max-width: 320px;
}

.g-footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.g-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.g-footer-col ul li { margin-bottom: 10px; }

.g-footer-col ul li a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.g-footer-col ul li a:hover { color: #E8832A; }

.g-footer-col address {
  font-style: normal;
  font-size: 13px;
  color: #666;
  line-height: 1.9;
}

.g-footer-col address a {
  color: #666;
  text-decoration: none;
  transition: color 0.15s ease;
}

.g-footer-col address a:hover { color: #E8832A; }

.g-footer-contact-link {
  color: #E8832A !important;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.g-footer-contact-link:hover { opacity: 0.8; }

.g-footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}

.g-footer-legal-link {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.g-footer-legal-link:hover { color: #E8832A; }

.g-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 48px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .g-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .g-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }

  .g-footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
