/* =============================================================
   UBS-style Static Page — Main Stylesheet
   ============================================================= */

/* ── Custom Fonts ────────────────────────────────────────────── */
@font-face {
  font-family: 'FrutigerforUBS';
  src: url('../fonts/FrutigerforUBSWeb-Lt.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerforUBS';
  src: url('../fonts/FrutigerforUBSWeb-LtIt.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerforUBS';
  src: url('../fonts/FrutigerforUBSWeb.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerforUBS';
  src: url('../fonts/FrutigerforUBSWeb-It.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerforUBS';
  src: url('../fonts/FrutigerforUBSWeb-Md.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerforUBS';
  src: url('../fonts/FrutigerforUBSWeb-Bd.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'FrutigerforUBS', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #e00e16;
  text-decoration: none;
}

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

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Layout Wrapper ──────────────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #5a5d5c;
  margin: 0;
  gap: 20px;
}

.site-logo img,
.site-logo svg {
  height: 32px;
  width: auto;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.lang-switcher li {
  display: flex;
  align-items: center;
}

.lang-switcher li + li::before {
  content: '|';
  color: #cccccc;
  margin-right: 4px;
  font-size: 0.8rem;
}

.lang-switcher a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666666;
  padding: 4px 6px;
  border-radius: 2px;
  transition: color 0.15s ease;
}

.lang-switcher a:hover,
.lang-switcher a:focus {
  color: #1a1a1a;
}

.lang-switcher a.active {
  color: #1a1a1a;
  font-weight: 700;
}

/* ── Main Content ────────────────────────────────────────────── */
.site-main {
  flex: 1;
  padding: 72px 0 96px;
}

.maintenance-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Illustration left + CTA right */
.maintenance-body-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  background-color: #f9f9f7;
  box-shadow: 0 0 0 100vmax #f9f9f7;
  clip-path: inset(0 -100vmax);
  padding: 35px;

}

/* Illustration */
.maintenance-illustration {
    flex: 0 0 400px;
    width: 400px;
    margin: 0;
}

.maintenance-illustration img {
  width: 100%;
  height: auto;
}

/* Headline area with red left border */
.maintenance-headline-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 4px solid #e00e16;
  padding-left: 20px;
}

.maintenance-eyebrow {
  font-size: 1.2rem;
  font-weight: 300;
  color: #1c1c1c;
}

.maintenance-headline {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.25;
  color: #1a1a1a;
}

/* Description + CTA area */
.maintenance-cta-area {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.maintenance-cta-area h2:not(:first-child) {
    margin-top: 45px;
}

.maintenance-description {
  font-size: 0.9375rem;
  font-weight: 300;
  color: #444444;
  line-height: 1.75;
}

.maintenance-description a {
  color: #e00e16;
}

/* CTA button */
.maintenance-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #e00e16;
  border: 1px solid #e00e16;
  padding: 11px 28px;
  border-radius: 2px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  align-self: flex-start;
}

.maintenance-back:hover,
.maintenance-back:focus {
  background-color: #b50b12;
  border-color: #b50b12;
  color: #ffffff;
  text-decoration: none;
  outline: none;
}

.maintenance-back svg {
  width: 16px;
  height: 16px;
  display: inline;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background-color: #f9f9f7;
  color: #cccccc;
  padding: 28px 0;
  font-size: 0.8125rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  color: #999999;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header .container {
    height: 56px;
  }

  .site-logo img,
  .site-logo svg {
    height: 26px;
  }

  .site-main {
    padding: 48px 0 64px;
  }

  .maintenance-content {
    gap: 32px;
  }

  .maintenance-body-row {
    flex-direction: column;
  }

  .maintenance-illustration {
    width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
