/* ============================================================
   BORDATLAS-Wartungsseite – Designwerte aus dem Original:
   Überschriften: #5d1d1d (Dunkelbraun)
   Links/Akzente: #ba7b16 (Gold/Okker), Hover #a26c15
   Blau:          #0089f7
   Hintergrund:   #f4f4f4, Footer dunkel #161922
   Schriften:     Montserrat (UI), Bitter (Serif-Headlines)
   ============================================================ */

:root {
  --brown: #5d1d1d;
  --brown-dark: #501010;
  --gold: #ba7b16;
  --gold-hover: #a26c15;
  --blue: #0089f7;
  --grey-bg: #f4f4f4;
  --text: #333333;
  --radius: 15px;
  --radius-lg: 30px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
.maintenance-page { display: flex; flex-direction: column; min-height: 100vh; }

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; width: 100%; }

h1 { color: #fff; font-weight: 700; }
h6 { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; color: var(--brown); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  border: none;
}
.btn-dark { background: var(--brown); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.disabled { opacity: .55; cursor: default; }

/* ---------- Header ---------- */
.header {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { max-height: 52px; width: auto; }
.logo-text { font-size: 26px; font-weight: 700; color: var(--brown); letter-spacing: 1px; }
.logo-atlas { color: var(--gold); }

.status-pill {
  background: var(--grey-bg);
  color: var(--brown);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  flex: 1;                 /* füllt die Seite bis zum Footer */
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 60px 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(29,20,10,.45), rgba(29,20,10,.65));
}
.hero-content { position: relative; z-index: 2; color: #fff; text-align: center; }
.hero-kicker { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; color: #ffd98a; margin-bottom: 10px; }
.hero h1 {
  font-family: "Bitter", serif;
  font-size: 42px;
  max-width: 820px;
  margin: 0 auto 30px;
}

/* Wartungs-Karte */
.maint-card {
  background: rgba(255,255,255,.96);
  color: var(--text);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto;
  padding: 38px 40px 34px;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.maint-lead { font-size: 16px; color: var(--text); margin-bottom: 16px; }
.maint-lead strong { color: var(--brown); }
.maint-when {
  font-size: 18px;
  color: var(--brown);
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 24px;
}
.maint-count-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Countdown */
.countdown { display: flex; justify-content: center; gap: 14px; }
.cd-box {
  background: var(--brown);
  color: #fff;
  border-radius: var(--radius);
  min-width: 92px;
  padding: 14px 10px 10px;
}
.cd-box span { display: block; font-size: 34px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-box small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #e8d9d9; margin-top: 2px; }

.maint-foot { margin-top: 26px; font-size: 14px; color: #ffe9c4; }

/* ---------- Footer ---------- */
.footer { background: #161922; color: #bbb; }
.footer-slim { margin-top: 0; }
.footer-bottom { padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #bbb; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .maint-card { padding: 26px 20px; }
  .cd-box { min-width: 74px; }
  .cd-box span { font-size: 26px; }
  .status-pill { font-size: 11px; padding: 6px 12px; }
}
