:root {
  --blue: #2f54d8;
  --white: #ffffff;
  --link: #5bc0eb;
  --bg: #000000;
  --box-pad: clamp(0.9rem, 2.4vw, 1.25rem);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.video-bg,
.video-bg .video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-bg .video {
  object-fit: cover;
  filter: brightness(0.7);
}

/* Zentrales Layout */
.content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: grid;
  place-items: center;
  justify-items: center;
  text-align: center;
  gap: 0.08rem; 
  padding: 4rem 1.5rem 6rem;
}

.brand {
  margin: 0;
  line-height: 1;
}

/* Weiße Box */
.brand-box {
  display: inline-grid;
  place-items: center;
  padding: var(--box-pad); 
  border: 4px solid var(--white);
  background: transparent;
}

/* Schriftzug in der Box */
.brand-text {
  display: block;
  color: var(--blue);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 9rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  text-align: center;


  transform: translateY(-0.04em);
}


.email {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.email a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.55);
}
.email a:hover { border-bottom-color: var(--white); }

/* Footer */
.legal {
  position: fixed;
  z-index: 2;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  font-size: 0.95rem;
  opacity: 0.9;
}

.legal a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,0.55);
}
.legal a:hover { border-bottom-color: var(--white); }

/* Rechtstexte */
.legal-page { background: #0a0a0a; }

.legal-header, .legal-content, .legal-foot {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.legal-header {
  padding-top: 2rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.legal-header h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.back { color: var(--link); text-decoration: none; }
.back:hover { text-decoration: underline; }

.legal-content p { line-height: 1.65; }
.smallprint { opacity: 0.7; font-size: 0.95em; margin-top: 1rem; }

.legal-foot {
  padding-bottom: 3rem;
  color: #ddd;
}
.legal-foot a { color: var(--link); text-decoration: none; }
.legal-foot a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .video-bg .video { filter: none; }
}
