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

:root {
  --green: #174a2b;
  --green2: #2f7a3b;
  --gold: #c49a2d;
  --cream: #fffaf0;
  --border: rgba(23,74,43,.14);
  --shadow: 0 24px 60px rgba(23,74,43,.16);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--green);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(243,194,27,.24), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(47,122,59,.14), transparent 30%),
    linear-gradient(150deg, #fffaf0 0%, #f8efd9 50%, #eef8e9 100%);
}

.maintenance-shell {
  width: min(760px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 16px 34px;
  display: grid;
  align-content: center;
}

.back {
  position: fixed;
  top: 18px;
  left: 18px;
  text-decoration: none;
  color: var(--green);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(23,74,43,.10);
}

.maintenance-card {
  text-align: center;
  padding: clamp(26px, 7vw, 54px);
  border-radius: 34px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 30px rgba(23,74,43,.12);
}

.badge {
  width: fit-content;
  margin: 20px auto 12px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff3cd;
  border: 1px solid rgba(196,154,45,.38);
  color: var(--green);
  font-weight: 950;
}

h1 {
  margin: 10px 0;
  font-size: clamp(2.6rem, 10vw, 5rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.lead {
  max-width: 580px;
  margin: 14px auto 0;
  color: #41584a;
  font-size: clamp(1.08rem, 3.4vw, 1.35rem);
  line-height: 1.45;
  font-weight: 820;
}

.sub {
  max-width: 520px;
  margin: 14px auto 0;
  color: rgba(23,74,43,.72);
  font-weight: 760;
  line-height: 1.45;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.actions a {
  min-height: 54px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0 14px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green2));
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(23,74,43,.18);
}

.actions a:nth-child(3) {
  background: #fff;
  color: var(--green);
  border: 1px solid rgba(23,74,43,.16);
  box-shadow: none;
}

.small {
  margin: 22px 0 0;
  color: rgba(23,74,43,.62);
  font-size: .92rem;
  font-weight: 720;
}

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

  .back {
    position: static;
    width: fit-content;
    margin-bottom: 18px;
  }
}

/* Maintenance page: two action buttons after removing Online bestellen */
.maintenance-card .actions {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .maintenance-card .actions {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}
