/* ============================================
   INTERNATIONAL LANDING
   ============================================
   Die Wurzel: englisch, weltweit. Münster liegt auf /muenster.
   Hero ist immer die dunkle Bühne (Weltkarte). Der Rest folgt den
   Tokens, also auch dem gewaehlten Hell-/Dunkelmodus.

   Groesse und Dichte wie DESIGN.md / PHILOSOPHIE.md: Handelsplatz,
   keine Schaufenster-Karten, keine Attrappen.
   ============================================ */

.intl-page {
  --intl-hero: hsl(230, 10%, 9%);
  --intl-hero-ink: hsl(40, 18%, 92%);
  --intl-hero-muted: hsla(40, 18%, 92%, 0.62);
  --intl-hero-line: hsla(40, 18%, 92%, 0.18);
  --intl-gold: var(--secondary);
  --intl-tabbar: 0px;
  --intl-notch: env(safe-area-inset-top, 0px);
}

.intl-page .main {
  padding-top: 0;
}

/* ── Header: liegt auf der Bühne, wird beim Scrollen hell ── */
.header--intl {
  background: var(--intl-hero);
  border-bottom-color: transparent;
  box-shadow: none;
  color: var(--intl-hero-ink);
  height: calc(var(--header-height) + var(--intl-notch));
  padding-top: var(--intl-notch);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header--intl .header__nav-link,
.header--intl .header__nav-link:hover {
  color: inherit;
}

.header--intl .header__nav-link--active {
  color: var(--intl-hero-ink);
  background: hsla(40, 18%, 92%, 0.08);
  border-color: hsla(40, 18%, 92%, 0.12);
}

.header--intl .theme-toggle,
.header--intl .btn--ghost,
.header--intl .header__action-btn,
.header--intl #notification-btn,
.header--intl .menu-toggle span {
  color: inherit;
}

/* Ring um die rote Zahl folgt der Leiste, nicht der Seitenfarbe. */
.header--intl .badge-counter {
  box-shadow: 0 0 0 2px var(--intl-hero);
}

.header--intl.header--scrolled .badge-counter {
  box-shadow: 0 0 0 2px hsla(40, 20%, 99%, 0.88);
}

:root[data-theme="dark"] .header--intl.header--scrolled .badge-counter {
  box-shadow: 0 0 0 2px hsl(230, 8%, 10%);
}

/* Der Buchstabe im Avatar sitzt auf transparentem Kreis und nimmt sonst
   die Seitintinte -- schwarz auf der dunklen Bühne, unsichtbar. */
.header--intl .header__action-btn .avatar {
  color: var(--intl-hero-ink) !important;
}
.header--intl.header--scrolled .header__action-btn .avatar {
  color: var(--text-primary) !important;
}

.header--intl .menu-toggle span {
  background: currentColor;
}

.header--intl .btn--primary {
  background: var(--intl-hero-ink);
  color: var(--intl-hero);
  border-color: var(--intl-hero-ink);
}

/* Logo folgt dem Modus (layout.css) — nicht mehr der alten dunklen
   Bühne. Sonst bleibt im Hellmodus nur die Goldlinie. */
.header--intl.header--scrolled {
  background: hsla(40, 20%, 99%, 0.88);
  color: var(--text-primary);
  border-bottom-color: var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

:root[data-theme="dark"] .header--intl.header--scrolled {
  background: hsla(230, 8%, 10%, 0.9);
  color: var(--text-primary);
}

.header--intl.header--scrolled .header__nav-link--active {
  color: var(--text-primary);
  background: var(--surface-4);
  border-color: var(--glass-border);
}

.header--intl.header--scrolled .btn--primary {
  background: var(--primary);
  color: var(--surface-0);
  border-color: var(--primary);
}

.header--intl .header__logo {
  flex-shrink: 0;
}

.header--intl .header__inner {
  gap: var(--space-4);
}

.intl-place {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

/* Knopf und Liste teilen sich eine enge Klammer, sonst hängt das
   Menü am ganzen Mittelstreifen und öffnet sich neben dem Knopf. */
.intl-place__box {
  position: relative;
  max-width: 100%;
}

.intl-place__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: inherit;
  min-height: 44px;
  max-width: 100%;
}

.intl-place__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--intl-gold);
  flex: none;
}

.intl-place__caret {
  opacity: 0.4;
  font-size: 10px;
}

.intl-place__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  max-width: min(320px, calc(100vw - 24px));
  max-height: 420px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface-0);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 14px 38px hsla(230, 10%, 8%, 0.24);
  padding: 6px;
  z-index: 9700;
}

.intl-place__item {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 8px 11px;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  color: var(--text-primary);
  text-decoration: none;
  min-height: 44px;
}

.intl-place__item:hover {
  background: hsla(230, 10%, 13%, 0.06);
}

.intl-place__item--on {
  background: hsla(42, 55%, 47%, 0.13);
}

/* Worldwide ist die Standardeinstellung: immer erste Zeile,
   danach ein Strich, darunter erst die Länder. */
.intl-place__item--world {
  font-weight: 500;
}

.intl-place__rule {
  height: 0;
  margin: 4px 8px 5px;
  border: 0;
  border-top: 1px solid hsla(230, 10%, 13%, 0.16);
  pointer-events: none;
}

:root[data-theme="dark"] .intl-place__rule {
  border-top-color: hsla(40, 18%, 92%, 0.16);
}

.intl-place__land + .intl-place__land {
  margin-top: 1px;
}

.intl-place__land-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.intl-place__land-head .intl-place__item--land {
  flex: 1;
}

.intl-place__toggle {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 11px;
  cursor: pointer;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
  min-height: 44px;
}

.intl-place__toggle:hover {
  color: var(--text-primary);
}

.intl-place__land.is-open .intl-place__toggle {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.intl-place__cities {
  display: none;
}

.intl-place__land.is-open .intl-place__cities {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .intl-place__land:hover .intl-place__cities {
    display: block;
  }
  .intl-place__land:hover .intl-place__toggle {
    transform: rotate(180deg);
  }
}

.intl-place__item--city {
  padding-left: 28px;
  font-size: 13px;
}

.intl-place__name {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.intl-place__name > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intl-place__you {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(42, 55%, 40%);
  flex: none;
}

.intl-place__count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.5;
  flex: none;
}

.intl-lang {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.intl-header-link {
  border: none;
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
  font-size: 13.5px;
}

.intl-header-link:hover {
  opacity: 1;
  border-bottom: none;
}

/* ── Hero / Weltkarte ── */
.intl-hero {
  position: relative;
  background: var(--intl-hero);
  color: var(--intl-hero-ink);
  overflow: hidden;
  min-height: clamp(560px, 88vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Stadt-Tür: dieselbe dunkle Bühne, ohne Weltkarte. Die Stadt steht
   im Kicker und im Ortswähler — nicht als zweites Produkt. */
.intl-hero--stadt {
  background:
    radial-gradient(ellipse 80% 55% at 78% 28%, hsla(42, 40%, 28%, 0.22), transparent 58%),
    var(--intl-hero);
}

/* Münster: das Foto ist die Stadt, nicht ein zweites Layout.
   Zürich bleibt bei der goldenen Fläche — dort gibt es kein Bild. */
.intl-hero--stadt.intl-hero--foto {
  background: var(--intl-hero);
}

.intl-hero--foto .hero-stage__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.intl-hero--foto .hero-stage__scrim {
  background:
    linear-gradient(to right, hsla(230, 10%, 6%, 0.78) 0%, hsla(230, 10%, 6%, 0.42) 46%, hsla(230, 10%, 6%, 0.12) 100%),
    linear-gradient(to bottom, hsla(230, 10%, 6%, 0.58) 0%, transparent 30%, hsla(230, 10%, 6%, 0.78) 100%);
}

.intl-hero world-market-map {
  position: absolute;
  inset: 0;
}

.intl-hero__scrim-x,
.intl-hero__scrim-y {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intl-hero__scrim-x {
  background: linear-gradient(to right, hsla(230, 10%, 9%, 0.9) 0%, hsla(230, 10%, 9%, 0.62) 30%, hsla(230, 10%, 9%, 0.12) 58%, hsla(230, 10%, 9%, 0) 100%);
}

.intl-hero__scrim-y {
  background: linear-gradient(to bottom, hsla(230, 10%, 9%, 0.72) 0%, hsla(230, 10%, 9%, 0) 22%, hsla(230, 10%, 9%, 0) 64%, hsla(230, 10%, 9%, 0.92) 96%, hsl(230, 10%, 9%) 100%);
}

.intl-hero__inner,
.intl-hero__foot {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.intl-hero__inner {
  padding-top: calc(var(--header-height) + var(--intl-notch) + 40px);
}

.intl-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: hsl(42, 55%, 58%);
  margin-bottom: 22px;
}

.intl-hero__title {
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 7.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: hsl(40, 20%, 97%);
}

.intl-hero__title em {
  font-style: italic;
  color: hsl(42, 55%, 58%);
}

.intl-hero__lead {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.6vw, 17.5px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--intl-hero-muted);
  text-wrap: pretty;
}

.intl-post {
  margin-top: clamp(26px, 4vh, 44px);
  max-width: 760px;
}

.intl-post__toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--intl-hero-line);
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 12px;
}

.intl-post__toggle .hero-stage__toggle-btn {
  padding: 7px 17px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  color: hsla(40, 18%, 92%, 0.6);
  min-height: 40px;
}

.intl-post__toggle .hero-stage__toggle-btn--active {
  background: hsl(40, 20%, 97%);
  color: hsl(230, 10%, 13%);
}

.intl-post__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.intl-post__input {
  flex: 1;
  min-width: 0;
  padding: 20px 23px;
  font-size: 16px;
  font-weight: 300;
  color: hsl(40, 20%, 97%);
  background: hsla(40, 18%, 92%, 0.08);
  border: 1px solid hsla(40, 18%, 92%, 0.32);
  border-radius: 11px;
  outline: none;
  resize: none;
  min-height: 58px;
  max-height: 160px;
  line-height: 1.4;
  overflow: hidden;
  scrollbar-width: none;
}
.intl-post__input::-webkit-scrollbar { display: none; }

.intl-post__input::placeholder {
  color: hsla(40, 18%, 92%, 0.4);
}

.intl-post__input:focus {
  border-color: hsl(42, 55%, 58%);
  background: hsla(40, 18%, 92%, 0.09);
}

.intl-post__submit {
  flex: none;
  padding: 0 22px;
  border: none;
  border-radius: 11px;
  background: hsl(40, 20%, 97%);
  color: hsl(230, 10%, 13%);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

.intl-post__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.intl-post__meta {
  min-height: 28px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: hsla(40, 18%, 92%, 0.5);
}

.intl-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 4px;
  background: hsla(42, 55%, 58%, 0.16);
  color: hsl(42, 58%, 66%);
}

.intl-hero .gps-status {
  color: hsla(40, 18%, 92%, 0.5);
}

.intl-hero .gps-status--active .gps-status__dot,
.intl-hero .gps-status--manual .gps-status__dot {
  background: var(--intl-gold);
  box-shadow: none;
  animation: none;
}

.intl-hero__foot {
  padding-top: clamp(34px, 6vh, 68px);
  padding-bottom: 38px;
  display: flex;
  gap: clamp(24px, 4.5vw, 56px);
  flex-wrap: wrap;
  align-items: flex-end;
}

.intl-stats {
  display: flex;
  gap: inherit;
  flex-wrap: wrap;
  align-items: flex-end;
}

.intl-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: hsl(40, 20%, 97%);
}

.intl-stat__value--gold {
  color: hsl(42, 55%, 58%);
}

.intl-stat__label {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsla(40, 18%, 92%, 0.58);
}

.intl-tape {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 2px;
}

.intl-tape__row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  animation: intl-tape-in 3.6s ease-in-out;
  min-width: 0;
  max-width: 100%;
}

.intl-tape__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: hsl(42, 55%, 58%);
  flex: none;
}

.intl-tape__text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: hsla(40, 18%, 92%, 0.66);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes intl-tape-in {
  0% { opacity: 0; transform: translateY(6px); }
  14% { opacity: 1; transform: none; }
  86% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes intl-arrive {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@keyframes intl-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes intl-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.intl-hero__inner > * {
  animation: intl-rise 0.8s ease-out both;
}
.intl-kicker { animation-delay: 0s; }
.intl-hero__title { animation-delay: 0.06s; }
.intl-hero__lead { animation-delay: 0.1s; }
.intl-post { animation-delay: 0.14s; }

/* ── Board ── */
.intl-board {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(38px, 6vh, 64px) 30px 52px;
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  align-items: flex-start;
}

.intl-rail {
  flex: 1 1 210px;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + 18px);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.intl-rail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid hsla(230, 10%, 13%, 0.16);
}

:root[data-theme="dark"] .intl-rail__head {
  border-bottom-color: hsla(40, 18%, 92%, 0.12);
}

.intl-rail__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.intl-rail__clear {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 11.5px;
  color: hsl(42, 55%, 42%);
}

.intl-rail__axis {
  display: flex;
  gap: 8px;
  padding: 8px 9px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.intl-rail__axis span:first-child { flex: 1; text-align: right; }
.intl-rail__axis span:nth-child(2) { width: 1px; }
.intl-rail__axis span:last-child { flex: 1; }

.intl-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.intl-field {
  flex: 1 1 180px;
  min-width: 0;
  display: block;
  text-align: left;
  padding: 7px 9px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: inherit;
  min-height: 44px;
  transition: background 0.15s;
}

.intl-field:hover {
  background: hsla(230, 10%, 13%, 0.05);
}

:root[data-theme="dark"] .intl-field:hover {
  background: hsla(40, 18%, 92%, 0.05);
}

.intl-field--on {
  background: hsla(42, 55%, 47%, 0.13);
  box-shadow: inset 0 0 0 1px hsla(42, 55%, 47%, 0.4);
}

.intl-field__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.intl-field__name {
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-tertiary);
}

.intl-field--beide .intl-field__name { color: var(--text-primary); }
.intl-field--on .intl-field__name { color: hsl(42, 55%, 34%); }

.intl-field__split {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
  flex: none;
}

.intl-rail__actions {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.intl-rail__all {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--secondary, #d4af37);
  transition: opacity 0.15s ease;
}

.intl-rail__all:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.intl-field-group {
  margin-bottom: 20px;
}

.intl-field-group__titel {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.intl-field-group__titel .intl-field__mark {
  flex: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-tertiary);
}

/* Alle Fächer: Gruppen aus Tags und Linker, Fächer darunter. */
.intl-field-all {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intl-field-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: hsla(230, 10%, 13%, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

:root[data-theme="dark"] .intl-field-chip {
  background: hsla(40, 18%, 92%, 0.05);
}

.intl-field-chip:hover {
  border-color: var(--secondary, #d4af37);
  background: hsla(42, 50%, 50%, 0.1);
}

.intl-field-chip--on {
  background: var(--secondary, #d4af37) !important;
  border-color: var(--secondary, #d4af37) !important;
  color: #111111 !important;
  font-weight: 600 !important;
}

.intl-field-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 9999px;
  background: hsla(230, 10%, 13%, 0.08);
  font-weight: 600;
}

:root[data-theme="dark"] .intl-field-chip__count {
  background: hsla(40, 18%, 92%, 0.12);
}

.intl-col__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 4px 6px;
}

.intl-col-pager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsla(230, 10%, 13%, 0.05);
  border: 1px solid hsla(230, 10%, 13%, 0.12);
  border-radius: var(--radius-full, 9999px);
  padding: 4px 10px;
}

:root[data-theme="dark"] .intl-col-pager {
  background: hsla(40, 18%, 92%, 0.06);
  border-color: hsla(40, 18%, 92%, 0.12);
}

.intl-col-pager__btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: opacity 0.15s ease;
}

.intl-col-pager__btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.intl-col-pager__info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

.intl-col-sheet-btn {
  background: none;
  border: none;
  color: var(--secondary, #d4af37);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.intl-col-sheet-btn:hover {
  opacity: 1;
}

/* ── Bottom Sheet Drawer for Posts (Option B) ── */
.intl-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: intl-fade-in 0.2s ease-out;
}

.intl-sheet {
  background: var(--surface-0, #0c0e14);
  border: 1px solid var(--glass-border, hsla(42, 50%, 55%, 0.3));
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 620px;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
  animation: intl-slide-up 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes intl-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.intl-sheet__handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-tertiary);
  opacity: 0.4;
  margin: 10px auto 4px;
}

.intl-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.intl-sheet__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}

.intl-sheet__close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
}

.intl-sheet__body {
  padding: 12px 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intl-sheet__body .intl-row {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}



.intl-field__bar {
  position: relative;
  display: flex;
  height: 6px;
  margin-top: 6px;
  border-radius: 1px;
  overflow: hidden;
  background: hsla(230, 10%, 13%, 0.07);
}

.intl-field__want {
  display: block;
  height: 100%;
  background: hsl(230, 8%, 42%);
}

.intl-field__give {
  display: block;
  height: 100%;
  background: hsl(42, 55%, 52%);
}

.intl-field__seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: hsla(230, 10%, 13%, 0.4);
}

.intl-rail__hint {
  margin: 12px 2px 16px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-tertiary);
  text-wrap: pretty;
}

.intl-list {
  flex: 999 1 340px;
  min-width: 0;
}

.intl-list__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
}

.intl-list__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.intl-list__sub {
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* Wie .wm-strom__waage im Original: nur auf dem Handy, Balken plus Zahl,
   nicht über die ganze zweispaltige Tafel. */
.intl-waage {
  display: none;
}

.intl-waage[hidden] {
  display: none;
}

@media (max-width: 899px) {
  .intl-waage:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0 12px;
  }
}

.intl-waage__balken {
  display: flex;
  flex: 1;
  min-width: 0;
  height: 6px;
  border-radius: 1px;
  overflow: hidden;
  background: hsla(230, 10%, 13%, 0.07);
}

.intl-waage__want,
.intl-waage__give {
  display: block;
  height: 100%;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.intl-waage__want { background: hsl(230, 8%, 42%); }
.intl-waage__give { background: hsl(42, 55%, 52%); flex: 1; }

.intl-waage__zahl {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: hsl(230, 6%, 48%);
}

.intl-cols {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  border-top: 1px solid hsla(230, 10%, 13%, 0.16);
}

:root[data-theme="dark"] .intl-cols {
  border-top-color: hsla(40, 18%, 92%, 0.12);
}

.intl-col + .intl-col {
  border-left: 1px solid hsla(230, 10%, 13%, 0.12);
}

:root[data-theme="dark"] .intl-col + .intl-col {
  border-left-color: hsla(40, 18%, 92%, 0.1);
}

.intl-col__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 18px 11px 0;
  border-bottom: 1px solid hsla(230, 10%, 13%, 0.1);
}

.intl-col + .intl-col .intl-col__head,
.intl-col + .intl-col .intl-row,
.intl-col + .intl-col .intl-empty {
  padding-left: 18px;
  padding-right: 0;
}

.intl-col__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.intl-col__n {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: hsl(42, 55%, 42%);
}

.intl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: flex-start;
  padding: 10px 18px 10px 0;
  border-bottom: 1px solid hsla(230, 10%, 13%, 0.07);
}

:root[data-theme="dark"] .intl-row {
  border-bottom-color: hsla(40, 18%, 92%, 0.07);
}

.intl-row__time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-tertiary);
  padding-top: 3px;
  flex: none;
  width: auto;
  white-space: nowrap;
}

.intl-row__text {
  flex: 1 1 190px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.45;
  text-wrap: pretty;
  margin: 0;
}

.intl-row__meta {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: flex-end;
  flex: none;
  margin-left: auto;
  padding-top: 3px;
}

.intl-row__domain {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-tertiary);
}

.intl-empty {
  padding: 22px 18px 22px 0;
  font-size: 13px;
  color: var(--text-tertiary);
  border-bottom: 1px solid hsla(230, 10%, 13%, 0.07);
}

/* ── How it works / linker / agents ── */
.intl-block {
  border-top: 1px solid hsla(230, 10%, 13%, 0.15);
}

:root[data-theme="dark"] .intl-block {
  border-top-color: hsla(40, 18%, 92%, 0.12);
}

.intl-block__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 30px 52px;
}

.intl-block--soft {
  background: hsla(230, 10%, 13%, 0.016);
}

.intl-h2 {
  margin: 0 0 30px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
}

.intl-h2 em {
  font-style: italic;
  color: hsl(42, 55%, 44%);
}

.intl-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid hsla(230, 10%, 13%, 0.09);
}

.intl-step__n {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
  color: var(--secondary);
}

.intl-step__title {
  font-size: 16.5px;
  font-weight: 500;
  margin-bottom: 5px;
}

.intl-step__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  text-wrap: pretty;
}

.intl-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid hsla(230, 10%, 13%, 0.07);
}

.intl-link-pair {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.intl-link-pair span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  white-space: nowrap;
}

.intl-link-line {
  position: relative;
  height: 12px;
  width: clamp(34px, 7vw, 84px);
  flex: none;
}

.intl-link-line i {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  background: var(--secondary);
  width: 100%;
}

.intl-link-why {
  font-size: 13px;
  color: var(--text-secondary);
  text-wrap: pretty;
  flex: 1 1 260px;
  min-width: 0;
}

.intl-agents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.intl-scope {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid hsla(230, 10%, 13%, 0.09);
  align-items: baseline;
}

.intl-scope__name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: hsl(42, 55%, 40%);
}

.intl-term {
  background: hsl(230, 10%, 10%);
  border-radius: 12px;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  color: hsl(40, 14%, 84%);
  overflow: hidden;
}

.intl-term__dots {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.intl-term__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: hsla(40, 14%, 84%, 0.2);
}

.intl-term pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
}

.intl-caret {
  animation: intl-caret 0.7s step-end infinite;
  color: hsl(42, 55%, 58%);
}

.intl-docs {
  font-size: 13.5px;
}

.intl-page .footer__inner {
  max-width: 1180px;
}

@media (max-width: 899px) {
  /* Erster Blick = die dunkle Bühne, kein weisses Brett darunter.
     100svh ist die sichtbare Höhe mit Safari-Leiste; ohne die
     Adresszeile (Home-Bildschirm) fällt svh mit dem Bildschirm zusammen. */
  .intl-hero {
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
  }

  /* Quer-Schleier deckt auf dem Handy die Karte zu. Senkrecht reicht. */
  .intl-hero__scrim-x {
    display: none;
  }

  .intl-hero__scrim-y {
    background: linear-gradient(to bottom,
      hsla(230, 10%, 9%, 0.5) 0%,
      hsla(230, 10%, 9%, 0.22) 28%,
      hsla(230, 10%, 9%, 0.55) 68%,
      hsla(230, 10%, 9%, 0.94) 92%,
      hsl(230, 10%, 9%) 100%);
  }

  .intl-hero__inner {
    padding-top: calc(var(--header-height) + var(--intl-notch) + 20px);
  }

  .intl-hero__foot {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .intl-place {
    justify-content: flex-start;
    max-width: none;
    flex: 1 1 auto;
  }

  .intl-place__menu {
    left: 0;
    right: auto;
  }

  /* Handy: Fächer sind ein Wähler, keine dritte Spalte. Quer
     wischen statt dreissig Zeilen vor dem Brett. */
  .intl-rail {
    position: static;
    max-height: none;
    overflow: visible;
    flex: 1 1 100%;
  }

  .intl-rail__hint {
    display: none;
  }

  .intl-fields {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: -18px;
    padding: 2px 18px 8px;
  }

  .intl-fields::-webkit-scrollbar {
    display: none;
  }

  .intl-field {
    flex: 0 0 152px;
    width: 152px;
    scroll-snap-align: start;
  }

  .intl-rail__clear {
    min-height: 44px;
    padding: 0 8px;
  }

  .intl-post__row {
    flex-direction: column;
  }

  .intl-post__submit {
    width: 100%;
  }

  /* Gesucht und Angeboten bleiben nebeneinander — das ist dasselbe
     Brett wie am Schreibtisch, nur schmaler. */
  .intl-cols {
    grid-template-columns: 1fr 1fr;
  }

  .intl-col + .intl-col {
    border-left: 1px solid hsla(230, 10%, 13%, 0.12);
  }

  :root[data-theme="dark"] .intl-col + .intl-col {
    border-left-color: hsla(40, 18%, 92%, 0.1);
  }

  .intl-col__head,
  .intl-row,
  .intl-empty {
    padding-right: 8px;
  }

  .intl-col + .intl-col .intl-col__head,
  .intl-col + .intl-col .intl-row,
  .intl-col + .intl-col .intl-empty {
    padding-left: 10px;
    padding-right: 0;
  }

  .intl-row {
    flex-direction: column;
    gap: 2px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .intl-row__text {
    flex: 1 1 auto;
    font-size: 12.5px;
  }

  .intl-row__time {
    width: auto;
  }

  .intl-row__meta {
    margin-left: 0;
    justify-content: flex-start;
  }

  .intl-list__sub {
    max-width: 22ch;
  }
}

@media (max-width: 768px) {
  .intl-page {
    --intl-tabbar: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .intl-hero {
    height: calc(100vh - var(--intl-tabbar));
    height: calc(100svh - var(--intl-tabbar));
    min-height: calc(100vh - var(--intl-tabbar));
    min-height: calc(100svh - var(--intl-tabbar));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .intl-hero__inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 14px);
    padding-bottom: 8px;
    min-height: 0;
    box-sizing: border-box;
  }

  .intl-hero__title {
    font-size: clamp(2.05rem, 9.5vw, 2.7rem);
    max-width: 14ch;
    line-height: 1.14;
  }

  /* Post-Bereich wandert in den grosszuegigen unteren Bereich */
  .intl-post {
    margin-top: auto;
    margin-bottom: 12px;
    position: relative;
    z-index: 3;
  }

  /* Weltkarte: nur minimal (Millimeter-Sache) unter "has it" geschoben */
  .intl-hero world-market-map {
    inset: 56px 0 auto 0;
    height: clamp(380px, 50svh, 460px);
    mask-image: linear-gradient(to bottom, black 68%, transparent 98%);
    -webkit-mask-image: linear-gradient(to bottom, black 68%, transparent 98%);
    pointer-events: none;
  }

  .intl-hero__foot {
    padding-top: 6px;
    padding-bottom: 10px;
    flex-shrink: 0;
  }

  /* Zweiter Bereich (Fields / Fächer): Leerraum nach oben beseitigt */
  .intl-board {
    padding-top: 14px;
  }

  /* DE/EN ist ein Hinweis, kein Schalter. Auf der schmalen Leiste
     läuft er dem Ortswähler ins Wort. */
  .intl-lang {
    display: none;
  }

  .intl-header-link--desk {
    display: none;
  }

  .intl-page {
    --header-height: 56px;
  }

  .header--intl .header__inner {
    padding-left: 12px;
    padding-right: 10px;
    gap: 6px;
  }

  .header--intl .header__logo-img--full {
    height: 32px;
  }

  .intl-place__btn {
    padding: 4px 6px;
    font-size: 12.5px;
    min-height: 40px;
    gap: 5px;
  }

  .header--intl .header__actions {
    gap: 0;
    flex: none;
  }

  .intl-hero__inner,
  .intl-hero__foot,
  .intl-board,
  .intl-block__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Das Blatt unter dem Hamburger ist hell — die geerbte Helden-Tinte
     waere creme auf milchweiss. */
  .header--intl .header__nav {
    color: var(--text-primary);
  }
  .header--intl .header__nav-link,
  .header--intl .header__nav-link:hover,
  .header--intl .header__nav-link--active {
    color: var(--text-primary);
    background: transparent;
    border: none;
  }
  .header--intl .header__nav-link--active {
    background: var(--surface-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intl-hero__inner > *,
  .intl-tape__row,
  .intl-caret {
    animation: none !important;
  }
}

/* Anmeldung vom weltweiten Eingang: dieselbe Karte, kein Münster-Foto. */
.auth-page--intl {
  background: hsl(230, 10%, 9%);
}

.auth-page--intl .auth-page__bg-img {
  display: none !important;
}

.auth-page--intl world-market-map,
.auth-page--intl #auth-world-map {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.auth-page--intl .auth-page__bg-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 100%);
}

@media (max-width: 768px) {
  /* Zwei Zimmer, untereinander. Oben die Welt, unten die Tuer.
     Nicht eine hinter der anderen -- die Karte waere dann weg. */
  .auth-page--intl {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    height: 100svh;
    min-height: 100svh !important;
    max-height: 100svh;
    padding: 0;
    box-sizing: border-box;
    background: hsl(230, 10%, 9%);
  }
  .auth-page--intl world-market-map,
  .auth-page--intl #auth-world-map {
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 1;
    display: block;
    pointer-events: none;
  }
  .auth-page--intl .auth-page__bg-overlay {
    display: none;
  }
  .auth-page--intl .auth-page__form-container {
    width: 100%;
    max-width: none;
    margin: 0;
    z-index: 2;
    flex: 0 0 auto;
    padding: 8px 16px max(10px, env(safe-area-inset-bottom));
    background: var(--intl-hero, var(--surface-0));
  }
  .auth-page--intl .auth-card {
    padding: 0 !important;
  }
  .auth-page--intl .auth-card__header {
    margin-bottom: 6px !important;
    text-align: center;
  }
  .auth-page--intl .auth-card .header__logo {
    margin-bottom: 2px !important;
  }
  .auth-page--intl .auth-card .header__logo .header__logo-img--full {
    height: 22px !important;
  }
  .auth-page--intl .auth-card__title {
    font-size: 18px !important;
    margin-bottom: 0 !important;
  }
  .auth-page--intl .auth-card__subtitle {
    display: none;
  }
  .auth-page--intl .auth-tabs {
    margin-bottom: 6px !important;
    padding: 3px !important;
  }
  .auth-page--intl .auth-tab {
    padding: 5px 8px !important;
    font-size: 13px !important;
  }
  .auth-page--intl .form-group {
    margin-bottom: 0 !important;
    position: relative;
  }
  .auth-page--intl .form-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
  }
  .auth-page--intl .form-input {
    height: 48px !important;
    font-size: 16px !important;
    padding: 0 12px !important;
    border-radius: var(--radius-md) !important;
  }
  .auth-page--intl .btn--primary {
    height: 42px !important;
    font-size: 14px !important;
    border-radius: var(--radius-md) !important;
  }
  .auth-page--intl .auth-divider,
  .auth-page--intl #magic-link-btn {
    display: none !important;
  }
  .auth-page--intl #forgot-password-btn,
  .auth-page--intl #login-form > div:has(#forgot-password-btn) {
    display: none !important;
  }
  html.auth-homescreen .auth-page--intl {
    height: 100dvh;
    min-height: 100dvh !important;
    max-height: 100dvh;
    justify-content: flex-start;
  }
  html.auth-homescreen .auth-page--intl world-market-map,
  html.auth-homescreen .auth-page--intl #auth-world-map {
    flex: 0 0 auto;
    height: min(42dvh, 380px, calc(100dvh - 22rem));
    max-height: 380px;
  }
  html.auth-homescreen .auth-page--intl .auth-page__form-container {
    flex: 1 1 auto;
  }
  @media (display-mode: standalone), (display-mode: fullscreen) {
    .auth-page--intl {
      height: 100dvh;
      min-height: 100dvh !important;
      max-height: 100dvh;
      justify-content: flex-start;
    }
    .auth-page--intl world-market-map,
    .auth-page--intl #auth-world-map {
      flex: 0 0 auto;
      height: min(42dvh, 380px, calc(100dvh - 22rem));
      max-height: 380px;
    }
    .auth-page--intl .auth-page__form-container {
      flex: 1 1 auto;
    }
  }
}
