/* ==========================================================
   PAGE: Wartung
   Spezielle Wartungsseite
   ========================================================== */

:root {
  --bg1: #0b1020;
  --bg2: #0b3a55;
  --text: #eaf2ff;
  --muted: rgba(234, 242, 255, 0.75);
  --accent: #7dd3fc;
  --border: rgba(255, 255, 255, 0.18);
  --panel: rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(125, 211, 252, 0.22), transparent 55%),
    radial-gradient(1000px 700px at 80% 20%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(140deg, var(--bg1), var(--bg2));
}

main {
  width: min(980px, calc(100% - (clamp(16px, 4vw, 40px) * 2)));
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px) 0 40px;
}

h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin: 0 0 10px;
  line-height: 1.1;
}

h2 {
  font-size: clamp(20px, 2.5vw, 22px);
  margin: 0 0 14px;
  text-align: center;
}

p {
  color: var(--muted);
  font-size: clamp(15px, 0.5vw + 14px, 16px);
  line-height: 1.6;
  margin: 12px 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  margin: 40px 0 30px;
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.badge {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.35);
  margin-bottom: 14px;
}

.info {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.info div {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.info span {
  opacity: 0.95;
}

.slideshow-text {
  margin-bottom: 8px;
  text-align: center;
}

/* Slideshow full width */
.slideshow-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.slideshow-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
  touch-action: pan-y;
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: clamp(260px, 60vh, 700px);
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

#footer-placeholder {
  margin-top: 20px;
  text-align: center;
}

.footer-fallback {
  opacity: 0.85;
  text-align: center;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .slide {
    height: clamp(230px, 40vh, 320px);
    max-height: 320px;
  }
}
