/* ── Header — Phase 30 verified: fixed, 81px, white, z-99999 ── */
.lc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--lc-header-height);   /* 81px */
  background: var(--lc-surface);     /* #FFFFFF */
  z-index: var(--lc-z-header);       /* 99999 */
  display: flex;
  align-items: center;
  /* Scroll behavior controlled by navigation.js:
     hide on scroll-down, show on scroll-up (transform 0.35s ease) */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

/* Visually hidden state (JS adds this class) */
.lc-header--hidden {
  transform: translateY(-100%);
}

/* Scrolled state (subtle shadow) */
.lc-header--scrolled {
  box-shadow: 0 2px 12px rgba(40,39,37,.08);
}

/* Offset page content so it's not behind fixed header */
body { padding-top: var(--lc-header-height); }

/* ── Logo ─────────────────────────────────────────────────── */
.lc-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.lc-logo img {
  height: 50px;   /* 88×50 natural size */
  width: auto;
  display: block;
}

/* ── Primary nav ──────────────────────────────────────────── */
.lc-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.lc-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lc-nav a {
  font-family: var(--lc-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--lc-text-base);   /* #333333 */
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.lc-nav a:hover,
.lc-nav a:focus-visible {
  color: var(--lc-brand-primary);   /* #ED7D00 */
}
/* Active nav item */
.lc-nav .current-menu-item > a,
.lc-nav .current-page-ancestor > a {
  color: var(--lc-brand-primary);
}

/* ── Header CTA button (far right) ───────────────────────── */
.lc-header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: var(--lc-btn-padding);    /* 15px 30px */
  background: var(--lc-btn-bg);      /* #ED7D00 */
  color: var(--lc-text-inverse);     /* #FFFFFF */
  font: var(--lc-btn-font);          /* Sora 500 18px */
  text-decoration: none;
  border-radius: var(--lc-btn-radius); /* 300px */
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.lc-header-cta:hover {
  background: var(--lc-brand-dark);  /* #5F3200 */
  color: var(--lc-text-inverse);
}

/* ── Mobile hamburger ────────────────────────────────────── */
.lc-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--lc-text-base);
  line-height: 1;
}
.lc-menu-toggle__icon {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}
.lc-menu-toggle__icon::before,
.lc-menu-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.lc-menu-toggle__icon::before { top: -7px; }
.lc-menu-toggle__icon::after  { top: 7px; }

/* ── Language switcher (EN/DE badge) ─────────────────────── */
.lc-lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: var(--lc-brand-primary);
  color: var(--lc-text-inverse);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.lc-lang-switch:hover { background: var(--lc-brand-dark); }

/* ── Mobile layout ────────────────────────────────────────── */
@media (max-width: 768px) {
  .lc-menu-toggle { display: flex; }

  .lc-nav {
    display: none;
    position: fixed;
    top: var(--lc-header-height);
    left: 0; right: 0;
    background: var(--lc-surface);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid var(--lc-surface-gray);
    box-shadow: 0 8px 24px rgba(40,39,37,.12);
    z-index: calc(var(--lc-z-header) - 1);
  }
  .lc-nav[data-open="true"] { display: flex; }
  .lc-nav ul { flex-direction: column; gap: 1rem; width: 100%; }
  .lc-nav a { font-size: 18px; padding-block: 0.5rem; }
  .lc-header-cta { display: none; }   /* Hidden in mobile nav; show inside nav */
}
