/* TeleVITA – Wartungsseite / maintenance page */

:root {
  --red: #9e1b22;
  --red-light: #c4262e;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --page: #f2f2f2;
  --card: #ffffff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 1rem;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #f7f7f7 0%, var(--page) 100%);
}

.card {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: var(--card);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(0,0,0,.05),
    0 12px 40px rgba(0,0,0,.08);
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem);
  overflow: hidden;
}

/* roter Akzentbalken oben */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 50%, var(--red) 100%);
}

.brand {
  text-align: center;
}

.brand img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0 auto;
}

/* Wählscheiben-Punkte als Lade-Animation (angelehnt an das Logo) */
.dial {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin: clamp(1.25rem, 4vw, 2rem) 0;
}

.dial span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  opacity: .25;
  animation: pulse 1.6s ease-in-out infinite;
}

.dial span:nth-child(2) { animation-delay: .2s; }
.dial span:nth-child(3) { animation-delay: .4s; }
.dial span:nth-child(4) { animation-delay: .6s; }
.dial span:nth-child(5) { animation-delay: .8s; }

@keyframes pulse {
  0%, 100% { opacity: .2; transform: scale(.85); }
  40%      { opacity: 1;  transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .dial span { animation: none; opacity: .6; }
}

.messages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.divider {
  height: 1px;
  background: var(--line);
}

.label {
  margin: 0 0 .35rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

h1,
h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

section p {
  margin: 0 0 .6rem;
  color: var(--muted);
}

section p:last-child { margin-bottom: 0; }

.contact {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

a:hover,
a:focus-visible { text-decoration: underline; }

.footer {
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}

/* Tablet & Desktop: Sprachen nebeneinander */
@media (min-width: 760px) {
  .messages {
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
  }

  .divider {
    width: 1px;
    height: auto;
  }
}
