:root {
  --bg: #0b0f14;
  --text: #eef2f7;
  --muted: #a7b0bb;
  --glass: rgba(15, 20, 28, 0.38);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #d9b867;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #0b0f14;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    linear-gradient(120deg, rgba(8, 12, 18, 0.88), rgba(8, 12, 18, 0.7)),
    url('/assets/Hintergrund.jpg') center/cover no-repeat;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  align-items: start;
}

.brand {
  display: grid;
  gap: 10px;
}

.brand h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp 0.9s ease forwards;
}

.brand h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.2s;
}

.brand p {
  margin: 0;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.6;
  font-size: clamp(13px, 1.6vw, 14px);
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand h1,
  .brand h2,
  .brand p {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.clock-wrap {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: start;
}

.clock-face {
  --clock-size: clamp(140px, 40vw, 200px);
  width: var(--clock-size);
  height: var(--clock-size);
  border-radius: 50%;
  position: relative;
  background: transparent;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.03);
}

.clock-face::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(5, 6, 8, 0.65);
  border: 1px solid rgba(42, 42, 42, 0.55);
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.55);
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 999px;
}

.hour-hand {
  width: 4px;
  height: 28%;
  margin-left: -2px;
  background: #e0e0e0;
}

.minute-hand {
  width: 3px;
  height: 36%;
  margin-left: -1.5px;
  background: #e0e0e0;
}

.second-hand {
  width: 1.5px;
  height: 40%;
  margin-left: -0.75px;
  background: #c45e4c;
}

.tick {
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: 0 calc(var(--clock-size) / 2);
  width: 1.5px;
}

.center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: #e0e0e0;
}

.hour-num {
  position: absolute;
  font-weight: 300;
  font-size: 0.95rem;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.clock-label {
  margin-top: 8px;
  font-size: clamp(11px, 1.3vw, 12px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #555;
}

.clock-digital {
  margin-top: 6px;
  font-weight: 300;
  font-size: clamp(12px, 1.6vw, 14px);
  letter-spacing: 0.15em;
  color: #e0e0e0;
}

.panel {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: 420px;
  width: 100%;
}

.panel .title {
  margin: 0;
  font-size: clamp(12px, 1.5vw, 13px);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.panel .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 12px);
  letter-spacing: 0.3px;
  min-height: 44px;
  justify-content: center;
}

.panel .note {
  margin: 0;
  color: var(--muted);
  font-size: clamp(11px, 1.4vw, 12px);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .page {
    grid-template-columns: 1fr;
  }

  .panel {
    justify-self: start;
    width: 100%;
    max-width: 420px;
  }

  .brand h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 18px;
    background-image:
      linear-gradient(120deg, rgba(8, 12, 18, 0.88), rgba(8, 12, 18, 0.7)),
      url('/assets/Hintergrund_Handy.jpg');
    background-size: cover;
    background-position: center;
  }

  .page {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand {
    justify-items: center;
    text-align: center;
  }

  .brand p {
    max-width: 100%;
  }

  .clock-wrap {
    justify-items: center;
  }

  .panel {
    justify-items: center;
    text-align: center;
    max-width: 100%;
  }

  .panel .cta {
    width: 100%;
  }
}
