/* fuseorg.com: one stylesheet for all pages. Overpass (SIL OFL 1.1, fonts/OFL-overpass.txt) is served from this site. */

@font-face {
  font-family: "Overpass";
  src: url("/fonts/overpass-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sign: #0b5a43;
  --sign-ink: #ffffff;
  --sign-soft: #d3e6de;
  --sign-seam: rgb(255 255 255 / 0.28);
  --ground: #f3f6f4;
  --ink: #13201b;
  --muted: #45564e;
  --seam: #c9d5cf;
  --link: #0b5a43;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  /* Overpass runs narrow: 37rem holds about 75 characters of English body text. */
  --measure: 37rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sign: #0d6249;
    --ground: #0e1512;
    --ink: #e6eeea;
    --muted: #a6b7af;
    --seam: #2a3a33;
    --link: #8fd3b6;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Overpass", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

::selection {
  background: var(--sign);
  color: var(--sign-ink);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Sign panel (the frame) ---------- */

.sign {
  background: var(--sign);
  color: var(--sign-ink);
  padding: clamp(14px, 2.4vw, 28px) var(--gutter) clamp(28px, 5vw, 64px);
}

.sign ::selection {
  background: var(--sign-ink);
  color: var(--sign);
}

.sign :focus-visible {
  outline-color: var(--sign-ink);
}

.sign-board {
  max-width: 72rem;
  margin: 0 auto;
  border: 2px solid var(--sign-ink);
  border-radius: var(--radius);
  padding: clamp(18px, 3.2vw, 40px) clamp(18px, 3.6vw, 48px) clamp(10px, 2vw, 20px);
}

.sign-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(28px, 5vw, 64px);
}

.plate {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  background: var(--sign-ink);
  color: var(--sign);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.1rem 0.75rem 0;
  border-radius: 6px;
  text-decoration: none;
}

.sign-top nav a {
  color: var(--sign-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.sign h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 18ch;
}

.sign-sub {
  margin: 0.9rem 0 0;
  color: var(--sign-soft);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.15rem;
}

.sign-sub span + span::before {
  content: "·";
  margin: 0 0.55em;
  color: var(--sign-seam);
}

/* Destination rows: identical scale, one seam between them. */

.destinations {
  list-style: none;
  margin: clamp(28px, 5vw, 56px) 0 0;
  padding: 0;
  border-top: 1px solid var(--sign-seam);
}

.destinations li {
  border-bottom: 1px solid var(--sign-seam);
}

.destinations li:last-child {
  border-bottom: 0;
}

.dest {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(12px, 2vw, 28px);
  padding: clamp(14px, 1.8vw, 20px) 0;
  color: var(--sign-ink);
  text-decoration: none;
}

.dest-name {
  font-weight: 800;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.dest-what {
  color: var(--sign-soft);
  font-size: 0.98rem;
  line-height: 1.45;
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr);
  align-items: center;
  column-gap: 1rem;
}

.dest-line {
  height: 2px;
  background-image: linear-gradient(to right, var(--sign-ink) 0 3px, transparent 3px 9px);
  background-size: 9px 2px;
  background-repeat: repeat-x;
  opacity: 0.55;
  position: relative;
  overflow: hidden;
}

.dest-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sign-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-to {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.dest-to svg {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  background: var(--sign-ink);
  color: var(--sign);
  border-radius: 5px;
  padding: 0.25rem;
}

.dest:hover .dest-line,
.dest:focus-visible .dest-line {
  opacity: 1;
}

.dest:hover .dest-line::after,
.dest:focus-visible .dest-line::after {
  transform: scaleX(1);
}

.dest:focus-visible {
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .dest-line::after {
    transition: none;
  }
}

@media (max-width: 760px) {
  .dest {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.3rem;
  }
  .dest-to {
    grid-column: 2;
    grid-row: 1;
  }
  .dest-what {
    grid-column: 1 / -1;
    display: block;
  }
  .dest-line {
    display: none;
  }
}

@media (max-width: 480px) {
  .dest {
    grid-template-columns: minmax(0, 1fr);
  }
  .dest-to {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.25rem;
  }
}

/* ---------- Reading column ---------- */

main {
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(48px, 6vw, 88px);
}

.column {
  max-width: 72rem;
  margin: 0 auto;
}

.column > * {
  max-width: var(--measure);
}

main h2 {
  font-weight: 800;
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 2.8em 0 0.6em;
  text-wrap: balance;
}

main h2:first-child {
  margin-top: 0;
}

main p,
.facts dd {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

/* Register details as a two-column list. */

.facts {
  margin: 0;
  border-top: 1px solid var(--seam);
  font-variant-numeric: tabular-nums;
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--seam);
}

.facts dt {
  color: var(--muted);
  font-weight: 600;
}

.facts dd {
  margin: 0;
}

.legal address {
  text-wrap: pretty;
}

.facts .native {
  color: var(--muted);
}

.after-facts {
  margin-top: 1.5rem;
}

@media (max-width: 560px) {
  .facts > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Impressum: plain blocks. */

.legal p,
.legal address {
  font-style: normal;
  margin: 0 0 1em;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--seam);
  padding: 1.5rem var(--gutter) 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

footer .column {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

footer a {
  color: inherit;
}

/* ---------- Small sign (Impressum, 404) ---------- */

.sign--small .sign-top {
  margin-bottom: clamp(20px, 3.5vw, 40px);
}

.sign--small h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem);
}

.sign--small .sign-board {
  padding-bottom: clamp(18px, 3.2vw, 36px);
}
