/* Gemeinsame Stile aller Seiten (ergänzt tw-main.css) */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

.glass-morphism {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.neon-glow {
  box-shadow: 0 0 40px -10px rgba(19, 127, 236, 0.3);
}

.bg-pattern {
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #137fec;
  color: #fff;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #137fec;
  outline-offset: 3px;
}

/* Rechtstexte */
.legal-text h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
  color: #fff;
}
.legal-text p,
.legal-text li {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  overflow-wrap: anywhere;
}
.legal-text ul {
  list-style: disc;
  padding-left: 1.25rem;
}
.legal-text a {
  color: #137fec;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Kurzer Hinweis unten (z. B. „Link kopiert“) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 1rem);
  opacity: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #137fec;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
