/* HEADER + MENU MOBILE + FOOTER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h-mobile);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: var(--z-header);
  transition: border-color var(--t-base), background var(--t-base);
}
body.has-scrolled .site-header {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
@media (min-width: 768px) {
  .site-header { height: var(--header-h); }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .header-inner { padding: 0 32px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  z-index: 2;
}
.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.brand-name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}
.brand-tag {
  font-family: var(--ff-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  font-size: 0.94rem;
  color: var(--text);
  transition: color var(--t-base);
  position: relative;
  font-weight: 500;
}
.nav-desktop a:hover { color: var(--accent); }

.header-cta {
  display: none;
  align-items: center;
  gap: 12px;
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
}

/* BURGER */
.burger {
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  z-index: calc(var(--z-header) + 50);
  border-radius: 8px;
}
@media (min-width: 768px) {
  .burger {
    top: calc((var(--header-h) - 44px) / 2);
    right: 28px;
  }
}
@media (min-width: 900px) {
  .burger { display: none; }
}
.burger-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.burger-bars span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}
.burger.is-open .burger-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger-bars span:nth-child(2) { opacity: 0; }
.burger.is-open .burger-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MENU MOBILE */
.menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 32px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
.menu-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .35s ease, opacity .35s ease;
}
.menu-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6px;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color var(--t-base), padding-left var(--t-base);
}
.menu-mobile a:hover {
  color: var(--accent);
  padding-left: 12px;
}
.menu-mobile a.btn {
  justify-content: center;
  gap: 10px;
  padding: 14px 1.6rem;
  min-height: 52px;
  border-bottom: 0;
  margin-top: 18px;
  font-family: var(--ff-body);
  font-size: 1rem;
  border-radius: var(--r-md);
}
.menu-mobile a.btn:hover { padding-left: 1.6rem; }
.menu-mobile a.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.menu-mobile-foot {
  margin-top: auto;
  padding-top: 28px;
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.7;
}
.menu-mobile-foot strong { color: var(--text); font-weight: 600; }

@media (min-width: 900px) {
  .menu-mobile { display: none; }
}

/* FOOTER */
.site-footer {
  background: var(--surface-deep);
  color: var(--on-dark);
  padding: 56px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
  }
}
.footer-brand .brand-name { color: var(--on-dark); }
.footer-brand .brand-mark { color: var(--accent-soft); }
.footer-brand .brand-tag { color: var(--accent-soft); }
.footer-brand p {
  margin-top: 14px;
  color: var(--on-dark-2);
  max-width: 36ch;
  font-size: 0.94rem;
}
.footer-block h4 {
  font-family: var(--ff-body);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.footer-block ul li, .footer-block p {
  font-size: 0.96rem;
  color: var(--on-dark-2);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-block a {
  color: var(--on-dark);
  transition: color var(--t-base);
}
.footer-block a:hover { color: var(--accent-soft); }
.footer-block svg { color: var(--accent-soft); width: 16px; height: 16px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(243, 239, 231, 0.14);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--on-dark-2);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-bottom button {
  color: var(--on-dark-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.84rem;
}
.footer-bottom button:hover { color: var(--on-dark); }

/* FAB Appeler mobile */
.fab-call {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  z-index: 990;
  box-shadow: 0 8px 24px rgba(36, 48, 41, 0.32);
  opacity: 0;
  transform: translateY(20px) scale(.8);
  transition: opacity var(--t-base), transform var(--t-base);
  pointer-events: none;
}
.fab-call.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-call svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .fab-call { display: none; } }
