/* ==================================================
   MeteoWiden – Gemeinsame Navigation
   Version 1.1
   28.11.2026
   ================================================== */

/* Zentrale Design-Variablen */

:root {
  --nav-accent: #eac47b;
  --nav-background: #101822;
  --nav-border: #eac47b;
  --nav-size: 44px;
  --nav-icon-size: 28px;
}

/* Zurück zum MeteoWiden-Portal */

#portal-back {
  display: grid;
  place-items: center;
  width: var(--nav-size);
  height: var(--nav-size);
  box-sizing: border-box;
  border: 2px solid var(--nav-border);
  border-radius: 50%;
  background: var(--nav-background);
  color: var(--nav-accent);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: filter .2s ease;
}

/* Pfeilsymbol */

#portal-back svg {
  display: block;
  width: var(--nav-icon-size);
  height: var(--nav-icon-size);
  max-width: none;
  fill: currentColor;
  background: transparent;
  border-radius: 0;
  clip-path: none;
  overflow: visible;
}

/* Interaktion */

#portal-back:hover {
  filter: brightness(1.15);
}

#portal-back:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: 3px;
}

/* Barrierefreiheit */

@media (prefers-reduced-motion: reduce) {
  #portal-back {
    transition: none;
  }
}