/* Every link on the site, one interaction language.
   Three kinds: quiet (nav, footer, back), pill (band links), accent (email, text links in legal).
   Layout and typography of the surrounding sections stay in style.css. */

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- icons ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-more,
.footer-links a,
.links a { display: inline-flex; align-items: center; gap: 0.6em; }

/* ---------- quiet: nav, footer, back link — sit back at rest, underline on hover ---------- */

.topbar-links a,
.gallery-more,
.footer-links a,
.footer-legal a,
.back {
  opacity: 0.72;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  transition: opacity 0.25s ease, text-decoration-color 0.25s ease;
}

.gallery-more,
.footer-links a,
.footer-legal a,
.back { color: var(--fg); }

.topbar-links a:hover,
.gallery-more:hover,
.footer-links a:hover,
.footer-legal a:hover,
.back:hover {
  opacity: 1;
  text-decoration-color: currentColor;
}

html[lang="de"] .lang-switch a[hreflang="de"],
html[lang="en"] .lang-switch a[hreflang="en"] { opacity: 1; text-decoration-color: currentColor; pointer-events: none; }

.mark,
.scroll-cue { opacity: 0.72; transition: opacity 0.25s ease; }

.mark:hover,
.scroll-cue:hover { opacity: 1; }

/* ---------- pill: links under a band ---------- */

.links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.links a:hover,
.gallery-nav button:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.gallery-nav button {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.gallery-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- accent: the booking email and links inside running text ---------- */

.mail,
.legal p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: color 0.25s ease;
}

.mail:hover,
.legal p a:hover { color: var(--fg); }
