* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #0a0b0d;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0a0b0d;
}

.bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.05) saturate(0.95);
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,9,11,0) 38%, rgba(8,9,11,0.55) 68%, rgba(8,9,11,0.92) 92%),
    linear-gradient(to top, rgba(8,9,11,0.25) 0%, rgba(8,9,11,0) 18%);
}

.content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(28px, 6vh, 72px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 3vh, 26px);
  padding: 0 20px;
  text-align: center;
}

.wordmark-wrap {
  perspective: 900px;
}

.wordmark {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  font-family: "Anton", "Arial Black", sans-serif;
  font-size: clamp(52px, 13vw, 150px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f5f3ef;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  animation: flip 6s ease-in-out infinite;
  will-change: transform;
}

.face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  white-space: nowrap;
}

.face-front {
  position: relative;
  display: block;
}

.face-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: rotateY(180deg);
}

@keyframes flip {
  0%   { transform: rotateY(0deg); }
  40%  { transform: rotateY(0deg); }
  50%  { transform: rotateY(180deg); }
  90%  { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark { animation: none; }
}

.contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact a {
  color: rgba(245, 243, 239, 0.88);
  text-decoration: none;
  font-size: clamp(12px, 1.6vw, 15px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.7);
}

.contact .dot {
  color: rgba(245, 243, 239, 0.4);
  font-size: 10px;
}

.btn-contact {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(245, 243, 239, 0.65);
  color: #f5f3ef;
  font-size: clamp(12px, 1.7vw, 14px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-contact:hover,
.btn-contact:focus-visible {
  background: #f5f3ef;
  color: #0a0b0d;
  border-color: #f5f3ef;
}

@media (max-width: 420px) {
  .contact { gap: 9px; }
}

/* Impressum-Link, ganz klein */
.legal-link {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.4);
  text-decoration: none;
}
.legal-link:hover,
.legal-link:focus-visible {
  color: rgba(245, 243, 239, 0.85);
}

/* Impressum-Seite */
.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0b0d;
  color: #f5f3ef;
  padding: 64px 20px 90px;
}
.legal-page .wrap {
  max-width: 620px;
  margin: 0 auto;
}
.legal-page .back-link {
  display: inline-block;
  margin-bottom: 2.5em;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 243, 239, 0.3);
  padding-bottom: 2px;
}
.legal-page .back-link:hover { color: #fff; border-color: #fff; }
.legal-page h1 {
  font-family: "Anton", "Arial Black", sans-serif;
  font-size: clamp(30px, 6vw, 46px);
  letter-spacing: 0.02em;
  margin: 0 0 0.8em;
}
.legal-page h2 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  color: #f5f3ef;
}
.legal-page p {
  color: rgba(245, 243, 239, 0.78);
  line-height: 1.7;
  font-size: 0.98rem;
  margin: 0 0 0.9em;
}
.legal-page a { color: #f5f3ef; text-decoration: underline; }
.legal-page a:hover { color: #fff; }
