/* InfraHost – zentrale Styles */

:root {
  --infra-dark: #0d1117;
  --infra-darker: #010409;
  --infra-accent: #58a6ff;
  --infra-accent-hover: #79b8ff;
  --infra-accent-soft: rgba(88, 166, 255, 0.12);
  --infra-muted: #8b949e;
  --infra-card: #161b22;
  --infra-border: #30363d;
  --infra-success: #3fb950;
  --infra-danger: #f85149;
  --infra-danger-soft: rgba(248, 81, 73, 0.12);
  --infra-radius: 12px;
  --infra-radius-sm: 8px;
  --infra-nav-height: 72px;
  --infra-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --infra-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --infra-prose-width: 48rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--infra-darker);
  color: #e6edf3;
  overflow-x: hidden;
  position: relative;
  padding-top: var(--infra-nav-height);
  line-height: 1.6;
  font-size: 1rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--infra-accent);
  color: var(--infra-darker);
  font-weight: 600;
  border-radius: var(--infra-radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.main-content {
  position: relative;
  z-index: 1;
}

.link-accent {
  color: var(--infra-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-accent:hover {
  color: var(--infra-accent-hover);
  text-decoration: underline;
}

*:focus-visible {
  outline: 2px solid var(--infra-accent);
  outline-offset: 2px;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: 
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(88, 166, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 80% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Navbar – Scroll-Effekt */
.navbar {
  background: rgba(13, 17, 23, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom-color: var(--infra-border);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
}

.nav-link {
  color: var(--infra-muted) !important;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--infra-accent) !important;
}

/* Dropdown – Dark Theme */
.navbar .dropdown-menu {
  background: var(--infra-card);
  border: 1px solid var(--infra-border);
  border-radius: 8px;
  padding: 0.5rem 0;
}

.navbar .dropdown-item {
  color: var(--infra-muted);
  padding: 0.5rem 1rem;
}

.navbar .dropdown-item:hover {
  background: rgba(88, 166, 255, 0.1);
  color: var(--infra-accent);
}

.navbar .dropdown-divider {
  border-color: var(--infra-border);
}

.navbar .dropdown-item.text-muted {
  color: var(--infra-muted) !important;
  font-size: 0.85rem;
}

.btn-outline-infra {
  background: linear-gradient(#010409, #010409) padding-box,
    linear-gradient(90deg, #22d3ee, #58a6ff, #8b5cf6) border-box;
  border: 2px solid transparent;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-outline-infra:hover {
  background: linear-gradient(90deg, #22d3ee, #58a6ff) padding-box;
  border-color: transparent;
  color: #010409;
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(88, 166, 255, 0.35), 0 0 30px rgba(139, 92, 246, 0.2);
}

.btn-infra {
  background: linear-gradient(90deg, #22d3ee, #38bdf8, #58a6ff);
  color: var(--infra-darker);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.3);
}

.btn-infra:hover {
  background: linear-gradient(90deg, #38bdf8, #58a6ff);
  color: var(--infra-darker);
  transform: translateY(-2px);
  box-shadow: 0 4px 30px rgba(88, 166, 255, 0.5), 0 0 40px rgba(34, 211, 238, 0.2);
}

.hero {
  min-height: calc(100dvh - var(--infra-nav-height));
  min-height: calc(100vh - var(--infra-nav-height));
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero .container {
  z-index: 2;
}

/* Hero – Lichteffekte (Blau → Lila wie Referenz) */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse at 30% 40%, rgba(34, 211, 238, 0.2) 0%, rgba(88, 166, 255, 0.1) 40%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.18) 0%, rgba(168, 85, 247, 0.08) 40%, transparent 70%);
  pointer-events: none;
  animation: heroGlowAlt 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.7; transform: scale(1) translate(0, 0); }
  100% { opacity: 1; transform: scale(1.08) translate(2%, 2%); }
}

@keyframes heroGlowAlt {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Zusätzliche Licht-Orbs im Hero */
.hero-light-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.4;
}

.hero-light-orb-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, rgba(88, 166, 255, 0.1) 50%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite;
}

.hero-light-orb-2 {
  width: 350px;
  height: 350px;
  top: 30%;
  right: 5%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.1); }
}

.hero .hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-gradient-text {
  background: linear-gradient(90deg, #22d3ee, #58a6ff, #8b5cf6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero .lead {
  color: var(--infra-muted);
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.page-header,
.page-hero {
  padding: 3.5rem 0 2.75rem;
  border-bottom: 1px solid var(--infra-border);
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(88, 166, 255, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  animation: fadeIn 0.5s ease-out;
}

.page-eyebrow {
  color: var(--infra-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.page-header h1,
.page-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  max-width: 18ch;
}

.page-header .lead,
.page-hero .lead {
  color: var(--infra-muted);
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 42rem;
  line-height: 1.65;
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--infra-muted);
  margin-bottom: 3rem;
}

.card-infra {
  background: var(--infra-card);
  border: 1px solid var(--infra-border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-infra::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--infra-accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-infra:hover {
  border-color: var(--infra-accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(88, 166, 255, 0.1);
}

.card-infra:hover::before {
  opacity: 0.6;
}

.card-infra .card-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.card-infra .card-subtitle {
  color: var(--infra-accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.card-infra .card-text {
  color: var(--infra-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card-infra .badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.card-infra .badge-infra {
  background: rgba(88, 166, 255, 0.15);
  color: var(--infra-accent);
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

.stats-section {
  padding: 4rem 0;
  border-top: 1px solid var(--infra-border);
  border-bottom: 1px solid var(--infra-border);
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--infra-accent-hover);
}

.stat-number {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--infra-accent);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.stat-label {
  color: var(--infra-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.cta-section,
.cta-band {
  padding: 4.5rem 0;
}

.cta-section .section-title,
.cta-band .section-title {
  margin-bottom: 1rem;
}

.cta-section .lead,
.cta-band-lead {
  color: var(--infra-muted);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band-inner {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--infra-radius);
  border: 1px solid var(--infra-border);
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.9) 0%, rgba(13, 17, 23, 0.95) 100%);
  box-shadow: var(--infra-shadow-sm);
}

.site-footer {
  background: var(--infra-dark);
  border-top: 1px solid var(--infra-border);
  padding: 3.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.site-footer .footer-brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.site-footer .footer-tagline {
  color: var(--infra-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.site-footer .footer-contact {
  color: var(--infra-muted);
  font-size: 0.9375rem;
}

.site-footer .footer-heading {
  font-weight: 600;
  font-size: 0.875rem;
  color: #e6edf3;
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer .footer-links li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-links a {
  color: var(--infra-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.site-footer .footer-links a:hover {
  color: var(--infra-accent);
}

.site-footer .footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--infra-border);
  color: var(--infra-muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 992px) {
  .site-footer .footer-bottom {
    text-align: left;
  }
}

.badge-soon {
  background: rgba(210, 153, 34, 0.2);
  color: #d4a534;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* Unterseiten: Content-Bereiche */
.content-section {
  padding: 3.5rem 0;
}

.section-block {
  padding: 4rem 0;
}

.section-block-tight {
  padding: 2.5rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--infra-muted);
  font-size: 0.875rem;
}

.hero-trust svg {
  color: var(--infra-accent);
  flex-shrink: 0;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--infra-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--infra-accent-soft);
  color: var(--infra-accent);
  margin-bottom: 1rem;
}

.info-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--infra-radius);
  border: 1px solid var(--infra-border);
  background: rgba(22, 27, 34, 0.65);
}

.info-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt-layout .row {
  align-items: start;
}

.kontakt-aside {
  position: sticky;
  top: calc(var(--infra-nav-height) + 1.5rem);
}

.kontakt-aside-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--infra-border);
}

.kontakt-aside-item:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.kontakt-aside-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--infra-muted);
  margin-bottom: 0.35rem;
}

.kontakt-aside-value {
  margin: 0;
  font-size: 1rem;
  color: #e6edf3;
}

.kontakt-aside-note {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--infra-border);
  color: var(--infra-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.info-card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--infra-muted);
  margin-bottom: 0.35rem;
}

.info-card-value {
  font-size: 1rem;
  color: #e6edf3;
  margin: 0;
}

.prose-infra {
  max-width: var(--infra-prose-width);
}

.prose-infra h2,
.prose-infra h3 {
  color: #e6edf3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-infra h2:first-child,
.prose-infra h3:first-child {
  margin-top: 0;
}

.prose-infra p,
.prose-infra li {
  color: var(--infra-muted);
  line-height: 1.7;
}

.prose-infra a {
  color: var(--infra-accent);
}

.prose-infra ul {
  padding-left: 1.25rem;
}

.form-infra .alert-success {
  background: rgba(63, 185, 80, 0.12);
  border-color: rgba(63, 185, 80, 0.35);
  color: #7ee787;
}

.form-infra .alert-danger {
  background: var(--infra-danger-soft);
  border-color: rgba(248, 81, 73, 0.35);
  color: #ff7b72;
}

.form-infra .alert-info {
  background: rgba(88, 166, 255, 0.1);
  border-color: rgba(88, 166, 255, 0.3);
  color: #a5d6ff;
}

.form-infra textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-infra-enhanced textarea.form-control {
  min-height: 160px;
}

.card-infra .card-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-infra.is-static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--infra-border);
}

.card-infra.is-static:hover::before {
  opacity: 0;
}

.team-role {
  color: var(--infra-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.team-card .team-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.35rem;
}

.highlight-band {
  padding: 2rem;
  border-radius: var(--infra-radius);
  border: 1px solid var(--infra-border);
  background: rgba(88, 166, 255, 0.05);
}

.anwalt-contact {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.anwalt-contact > div {
  display: grid;
  gap: 0.15rem;
}

.anwalt-contact dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--infra-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.anwalt-contact dd {
  margin: 0;
  color: #e6edf3;
}

.form-infra .form-control,
.form-infra .form-select {
  background: var(--infra-card);
  border: 1px solid var(--infra-border);
  color: #e6edf3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-infra .form-control::placeholder {
  color: var(--infra-muted);
}

.form-infra .form-control:focus,
.form-infra .form-select:focus {
  background: var(--infra-card);
  border-color: var(--infra-accent);
  color: #e6edf3;
  box-shadow: 0 0 0 0.2rem rgba(88, 166, 255, 0.25);
}

.form-infra label {
  color: var(--infra-muted);
  font-weight: 500;
}

/* Form UX – Termin & Kontakt (ui-ux-pro-max: touch targets, field errors, steps) */
.form-infra-enhanced .form-control,
.form-infra-enhanced .form-select {
  min-height: 44px;
  font-size: 1rem;
}

.form-infra-enhanced .form-control.is-invalid,
.form-infra-enhanced .form-select.is-invalid {
  border-color: #f85149;
  box-shadow: 0 0 0 0.2rem rgba(248, 81, 73, 0.15);
}

.form-infra-enhanced .invalid-feedback {
  display: block;
  min-height: 1.25rem;
  color: #ff7b72;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.form-infra-enhanced .form-text {
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.form-infra-enhanced .form-select:focus,
.form-infra-enhanced .form-control:focus {
  outline: none;
}

.form-infra-enhanced .form-select.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.btn-infra-lg {
  min-height: 44px;
  padding: 0.65rem 1.5rem;
}

.btn-infra:disabled,
.btn-infra[aria-busy="true"] {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.termin-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: rgba(88, 166, 255, 0.08);
  border: 1px solid rgba(88, 166, 255, 0.25);
  color: #e6edf3;
}

.termin-info-banner p {
  color: var(--infra-muted);
  font-size: 0.925rem;
}

.termin-info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(88, 166, 255, 0.15);
  color: var(--infra-accent);
}

.termin-steps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.termin-step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--infra-muted);
  transition: color 0.2s ease;
}

.termin-step.is-active {
  color: #e6edf3;
}

.termin-step.is-complete {
  color: var(--infra-accent);
}

.termin-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--infra-border);
  background: var(--infra-card);
}

.termin-step.is-active .termin-step-number {
  border-color: var(--infra-accent);
  background: rgba(88, 166, 255, 0.15);
  color: var(--infra-accent);
}

.termin-step.is-complete .termin-step-number {
  border-color: var(--infra-accent);
  background: var(--infra-accent);
  color: var(--infra-darker);
}

.termin-step-label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.termin-step-connector {
  flex: 1;
  height: 1px;
  background: var(--infra-border);
  min-width: 1rem;
}

.termin-fieldset {
  border: 1px solid var(--infra-border);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 0;
  background: rgba(1, 4, 9, 0.35);
}

.termin-legend {
  float: none;
  width: auto;
  padding: 0 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e6edf3;
}

.form-infra .alert {
  border-radius: 8px;
}

@media (max-width: 575.98px) {
  .termin-steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .termin-step-connector {
    width: 1px;
    height: 1rem;
    margin-left: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .btn-infra,
  .form-infra .form-control,
  .form-infra .form-select,
  .termin-step,
  .hero::before,
  .hero::after,
  .hero-light-orb,
  .hero-gradient-text {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.text-muted-infra {
  color: var(--infra-muted);
}

.login-card {
  max-width: 400px;
  margin: 0 auto;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--infra-card);
  border: 2px solid var(--infra-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--infra-muted);
  font-weight: 700;
  transition: all 0.3s ease;
}

.card-infra:hover .team-avatar {
  border-color: var(--infra-accent);
  box-shadow: 0 0 20px rgba(88, 166, 255, 0.2);
}

/* Scroll-Animationen */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Link-Hover mit Unterstreichung */
.site-footer .footer-links a,
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--infra-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

