.topbar {
  height: 102px;
  padding: 0 clamp(24px, 2.4vw, 44px);
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 3px solid var(--ink);
  border-bottom: 0;
  background: rgba(244, 242, 238, .98);
}

.topbar .brand {
  flex: 0 0 auto;
}

.topbar .brand img {
  width: clamp(155px, 14vw, 205px);
  height: auto;
  display: block;
}

.topbar nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.45vw, 27px);
}

.topbar nav a {
  position: relative;
  padding: 10px 0;
  color: #302d2e;
  font-size: clamp(11px, .92vw, 14px);
  white-space: nowrap;
}

.topbar nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--wine);
  transition: right .3s ease;
}

.topbar nav a:hover::after { right: 0; }

.topbar .nav-cta {
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 58px;
  margin-left: 8px;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease;
}

.topbar .nav-cta span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.topbar .nav-cta:hover { transform: translateY(-2px); background: var(--rose); }
.hero { padding-top: 102px; }

/* ── EN | DE language switch ──────────────────────────────────────────
   A compact segmented control. EN is active (Lora Ruby indicator). DE is
   prepared but not yet a page: rendered as a visibly disabled segment,
   never a link, and hovering it never implies it is usable.
   When /de/ ships: make DE an <a href="/de/…">, drop aria-disabled, and
   set data-active="de" on .lang-switch so the ruby indicator slides over.
   Also then add: <link rel="alternate" hreflang="en"|"de"|"x-default">,
   per-language <link rel="canonical">, and the /de/ URL in sitemap.xml. */
.topbar .lang-switch {
  flex: 0 0 auto;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--color-plum-18);
  border-radius: 999px;
  background: var(--color-ivory);
  font-family: 'Manrope', system-ui, sans-serif;
  transition: border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.lang-switch:hover { border-color: rgba(46, 35, 46, .3); }

/* Ruby indicator — under the active option. */
.lang-switch::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--color-ruby);
  transition: transform .22s cubic-bezier(.4, 0, .2, 1), box-shadow .2s ease;
  z-index: 0;
}
.lang-switch:hover::before { box-shadow: 0 3px 12px rgba(144, 0, 0, .22); }
.lang-switch[data-active="de"]::before { transform: translateX(100%); }

.lang-opt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--color-plum);
  transition: color .18s ease, background-color .18s ease;
}
.lang-opt.is-active { color: var(--color-ivory); }            /* sits on ruby */
.lang-opt.is-upcoming {
  color: rgba(46, 35, 46, .62);
  cursor: default;
}
/* DE hover: a restrained warm tint only — never the ruby fill, so it
   never reads as already available. The title attr carries the note. */
.lang-opt.is-upcoming:hover {
  background: var(--color-plum-08);
  color: var(--color-plum-72);
}

@media (prefers-reduced-motion: reduce) {
  .lang-switch,
  .lang-switch::before,
  .lang-opt { transition: none; }
}

.lang-switch-mobile { display: none; }

@media (max-width: 1180px) {
  .topbar { height: 78px; }
  .topbar .brand img { width: 158px; }
  .topbar nav,
  .topbar > .lang-switch,
  .topbar .nav-cta { display: none; }
  /* Comfortable tap target across the whole range where the hamburger
     is shown (previously only sized ≤760px). */
  .topbar .menu {
    display: grid;
    place-items: center;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: 0;
    color: var(--ink);
    font-size: 25px;
    z-index: 12;
  }
  .topbar .mobile-nav { position: fixed; inset: 0; z-index: 11; padding: 100px 30px 34px; overflow-y: auto; flex-direction: column; gap: 10px; background: var(--cream); }
  .nav-open .topbar .mobile-nav { display: flex; }
  .topbar .mobile-nav a { padding: 4px 0; color: var(--ink); text-decoration: none; font: 600 clamp(31px, 7vw, 54px)/1.05 'Manrope'; letter-spacing: -.055em; }
  /* Segmented control in the open menu: directly after the nav links,
     before the primary CTA — clearly visible, not tucked at the bottom. */
  .topbar .mobile-nav .lang-switch-mobile {
    display: inline-flex;
    align-self: flex-start;
    height: 46px;
    margin: 22px 0 6px;
    font-size: 15px;
  }
  .topbar .mobile-nav .lang-switch-mobile .lang-opt {
    min-width: 46px;
    padding: 0 20px;
    font-size: 15px;
  }
  .nav-open { overflow: hidden; }
  .hero { padding-top: 78px; }
}

@media (max-width: 760px) {
  .topbar { height: 72px; padding: 0 20px; }
  .topbar .brand img { width: 140px; }
  .hero { padding-top: 72px; }
}
