/* Global header lockup — mybidet + "Endlich frisch." */
header.site .header-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

header.site .header-brand-lockup .logo {
  flex: 0 0 auto;
}

header.site .header-fresh-mark {
  display: inline-grid;
  align-content: center;
  gap: 0;
  flex: 0 0 auto;
  font-family: var(--font-display, "Bricolage Grotesque", "DM Sans", system-ui, sans-serif);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.82;
  text-align: left;
}

/* Der Pfeil bleibt bewusst kompakt, ist aber klar als aufklappbare
   Sprachauswahl erkennbar. */
header.site .lang-caret {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.8 !important;
  opacity: 1 !important;
}

header.site .header-fresh-mark-top {
  color: var(--ink, #0a2540);
}

header.site .header-fresh-mark-accent {
  color: #12b8cf;
}

/* Das bestehende 1280px-Raster bleibt erhalten; nur das Marken-Lockup rückt
   auf großen Ansichten bewusst etwas näher an den linken Rand. */
@media (min-width: 1025px) {
  header.site .header-brand-lockup {
    transform: translateX(-18px);
  }
}

/* Mobile Header: Markenpaar links, ruhige rahmenlose Controls rechts. */
@media (max-width: 899px) {
  header.site .container.nav,
  header.site .nav {
    column-gap: 0.35rem !important;
  }

  header.site .header-brand-lockup {
    gap: 0.54rem;
    flex: 1 1 auto;
    overflow: visible;
  }

  header.site .header-brand-lockup .logo img,
  header.site .header-brand-lockup .logo svg {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 116px !important;
  }

  header.site .header-fresh-mark {
    font-size: 0.91rem;
    line-height: 0.82;
    letter-spacing: -0.03em;
  }

  /* Der KIDS-Einstieg bleibt im Burger-Menü erreichbar. */
  header.site .nav-kids-chip {
    display: none !important;
  }

  header.site .nav-actions {
    gap: 0.15rem !important;
    margin-left: 0 !important;
  }

  /* Sprachwahl ohne Weltkugel und ohne Pillen-Rahmen. */
  header.site .lang-switch-toggle,
  header.site .lang-switch-toggle:hover {
    width: auto !important;
    min-width: 34px !important;
    height: 44px !important;
    padding: 0 0.22rem !important;
    gap: 0.12rem !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  header.site .lang-globe {
    display: none !important;
  }

  header.site .lang-current-flag {
    font-size: 1.16rem !important;
  }

  header.site .lang-caret {
    width: 12px !important;
    height: 12px !important;
    margin-left: 0.04rem;
  }

  /* Burger behält eine ausreichend große Touchfläche, erscheint aber ohne Kreis. */
  header.site .burger,
  header.site button.burger,
  button.burger {
    display: inline-flex !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  header.site .burger span,
  header.site button.burger span,
  button.burger span {
    width: 21px !important;
    height: 2px !important;
    border-radius: 2px !important;
  }
}

@media (max-width: 370px) {
  header.site .container.nav,
  header.site .nav {
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
  }

  header.site .header-brand-lockup {
    gap: 0.44rem;
  }

  header.site .header-brand-lockup .logo img,
  header.site .header-brand-lockup .logo svg {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 108px !important;
  }

  header.site .header-fresh-mark {
    font-size: 0.86rem;
  }
}
