/* =====================================================================
   MISS GIN, Baustellenseite (Relaunch)
   Eigenstaendiges Stylesheet. Tokens und Schriften sind 1:1 aus dem
   Design-System der Hauptwebsite uebernommen
   (website/assets/css/design-system.css), damit die Seite exakt wie
   Miss Gin aussieht, aber ohne dass sie vom grossen Bundle abhaengt.
   ===================================================================== */

/* ---------- Schriften: nur die Schnitte, die diese Seite braucht ---------- */
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens (identisch zum Design-System) ---------- */
:root {
  --mg-black: #000000;
  --mg-white: #ffffff;
  --mg-ink: #111111;
  --mg-gold: #cba33a;
  --mg-gold-hover: #ae8a2c;
  --mg-red: #a42325;
  --mg-muted: #666666;
  --mg-paper: #f7f4ee;

  --mg-font-heading: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --mg-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --mg-radius-button: 100px;
  --mg-gutter: clamp(20px, 5vw, 48px);
}

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

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

/* Nur die Baustellenseite selbst wird komplett schwarz. Impressum und
   Datenschutz laden zusaetzlich site.css und sollen hell bleiben,
   deshalb haengt diese Regel an der Klasse am <body>. */
body.mg-baustellenseite {
  margin: 0;
  min-height: 100svh;
  background: var(--mg-black);
  color: var(--mg-white);
  font-family: var(--mg-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  display: grid;
  grid-template-rows: 1fr auto;
}

.mg-baustellenseite img { max-width: 100%; height: auto; display: block; }

/* Fokus sichtbar lassen, Barrierefreiheit wie auf der Hauptseite. */
.mg-baustellenseite a:focus-visible,
.mg-fuss a:focus-visible,
.mg-baustellenkopf a:focus-visible {
  outline: 2px solid var(--mg-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =====================================================================
   BUEHNE
   Ein einziger, zentrierter Block. Der Hintergrund ist schwarz mit
   zwei sehr weichen Gold-Schleiern (radial-gradient). Das gibt der
   Flaeche Tiefe, ohne ein Bild laden zu muessen.
   ===================================================================== */
.mg-baustelle {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(36px, 7vh, 76px) var(--mg-gutter) clamp(28px, 5vh, 52px);
  overflow: hidden;
}

.mg-baustelle::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(60% 45% at 50% 12%, rgba(203, 163, 58, .20), transparent 70%),
    radial-gradient(45% 40% at 82% 88%, rgba(164, 35, 37, .16), transparent 72%);
  pointer-events: none;
}

/* Feine Kornstruktur, damit die Verlaeufe nicht bandartig wirken. */
.mg-baustelle::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .5;
  pointer-events: none;
}

.mg-baustelle__inner {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2.2vh, 20px);
}

.mg-baustelle__logo {
  width: clamp(104px, 13vw, 140px);
  height: auto;
}

/* ---------- Eyebrow mit zwei Haarlinien links und rechts ---------- */
.mg-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mg-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mg-gold);
  margin: 0;
}
.mg-eyebrow::before,
.mg-eyebrow::after {
  content: "";
  width: clamp(18px, 6vw, 46px);
  height: 1px;
  background: rgba(203, 163, 58, .55);
}

/* ---------- Headline ---------- */
.mg-baustelle__title {
  font-family: var(--mg-font-heading);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(2.5rem, 7.5vw, 4.8rem);
  margin: 0;
  color: var(--mg-white);
  text-wrap: balance;
}
.mg-baustelle__title em {
  font-style: normal;
  color: var(--mg-gold);
}

.mg-baustelle__lead {
  margin: 0;
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: rgba(255, 255, 255, .74);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- Statusleiste: kleiner pulsierender Punkt ---------- */
.mg-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--mg-radius-button);
  background: rgba(255, 255, 255, .04);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, .78);
}
.mg-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mg-gold);
  box-shadow: 0 0 0 0 rgba(203, 163, 58, .65);
  animation: mg-puls 2.4s ease-out infinite;
  flex: none;
}
@keyframes mg-puls {
  0%   { box-shadow: 0 0 0 0 rgba(203, 163, 58, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(203, 163, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(203, 163, 58, 0); }
}

/* ---------- Button (Form und Masse aus dem Design-System) ---------- */
.mg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--mg-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--mg-radius-button);
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.mg-btn:active { transform: translateY(1px); }
.mg-btn--lg { font-size: 1.2rem; padding: 19px 32px; }

.mg-btn--primary {
  background: var(--mg-gold);
  color: var(--mg-black);
  border-color: var(--mg-gold);
}
.mg-btn--primary:hover {
  background: var(--mg-gold-hover);
  border-color: var(--mg-gold-hover);
}

/* ---------- Statement-Zeile unter dem Button ---------- */
.mg-claim {
  font-family: var(--mg-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  color: rgba(255, 255, 255, .40);
  margin: 4px 0 0;
}

/* Niedrige Fenster (Laptops im Querformat, kleine Handys): noch etwas
   enger stellen, damit alles ohne Scrollen sichtbar bleibt. */
@media (max-height: 780px) {
  .mg-baustelle { padding-top: 28px; padding-bottom: 24px; }
  .mg-baustelle__inner { gap: 12px; }
  .mg-baustelle__logo { width: clamp(88px, 10vw, 108px); }
  .mg-baustelle__title { font-size: clamp(2.1rem, 6vw, 3.6rem); }
  .mg-baustelle__lead { font-size: 1rem; }
}

/* =====================================================================
   SCHLANKER KOPF, nur auf Impressum und Datenschutz
   Die grosse Navigation der Hauptseite waere waehrend des Umbaus
   irrefuehrend: die Zielseiten sind ja nicht online.
   ===================================================================== */
.mg-baustellenkopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--mg-gutter);
  background: var(--mg-black);
}
.mg-baustellenkopf img {
  width: 68px;
  height: auto;
  display: block;
}
.mg-baustellenkopf__zurueck {
  font-family: var(--mg-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mg-gold);
  text-decoration: none;
}
.mg-baustellenkopf__zurueck:hover { color: var(--mg-gold-hover); }

/* =====================================================================
   FUSS, auf allen drei Seiten gleich, deshalb eigener dunkler Grund
   ===================================================================== */
.mg-fuss {
  position: relative;
  z-index: 1;
  background: var(--mg-black);
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 22px var(--mg-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .45);
  text-align: center;
}
.mg-fuss a {
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  padding-bottom: 1px;
}
.mg-fuss a:hover { color: var(--mg-gold); border-color: var(--mg-gold); }

/* ---------- Bewegungsreduktion respektieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .mg-status__dot { animation: none; }
  * { transition-duration: .01ms !important; }
}
