:root {
  --brand: #2f66f6;
  --brand-hover: #2054df;
  --brand-soft: #edf3ff;
  --ink: #0d1729;
  --text: #354154;
  --muted: #68758a;
  --line: #dfe5ee;
  --line-strong: #cbd3df;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --container: 1450px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

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

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;

  display: flex;
  flex-direction: column;

  color: var(--ink);
  background: var(--surface);

  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

.site-shell {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;

  padding: 9px 14px;

  color: #ffffff;
  background: var(--brand);

  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  min-height: 86px;

  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 86px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;

  text-decoration: none;
}

.brand img {
  width: 205px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link,
.header-button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding-inline: 18px;

  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.header-link {
  color: var(--ink);
}

.header-link:hover {
  color: var(--brand);
}

.header-button {
  gap: 10px;

  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 5px;
}

.header-button svg {
  width: 17px;
  height: 17px;
}

.header-button:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

/* Main */

.page-main {
  flex: 1;
  display: flex;
}

.maintenance {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      850px 540px at 14% 26%,
      rgba(47, 102, 246, 0.09),
      transparent 66%
    ),
    linear-gradient(
      90deg,
      #ffffff 0%,
      #fbfcff 55%,
      #f7f9fd 100%
    );

  border-bottom: 1px solid var(--line);
}

.maintenance::before,
.maintenance::after {
  content: "";

  position: absolute;

  pointer-events: none;
}

.maintenance::before {
  left: -170px;
  bottom: -230px;

  width: 630px;
  height: 630px;

  border: 1px solid rgba(47, 102, 246, 0.09);

  transform: rotate(32deg);
}

.maintenance::after {
  left: -310px;
  bottom: -360px;

  width: 790px;
  height: 790px;

  background:
    linear-gradient(
      145deg,
      rgba(47, 102, 246, 0.10),
      rgba(47, 102, 246, 0.01) 58%,
      transparent 58%
    );

  transform: rotate(10deg);
}

.maintenance-decoration {
  position: absolute;
  left: -95px;
  top: 42%;

  width: 340px;
  height: 340px;

  border: 1px solid rgba(47, 102, 246, 0.07);

  transform: rotate(45deg);
  pointer-events: none;
}

.maintenance-grid {
  position: relative;
  z-index: 2;

  min-height: 745px;
  padding-block: 78px;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.78fr);
  align-items: center;
  gap: clamp(80px, 9vw, 150px);
}

.maintenance-copy {
  max-width: 750px;
}

.eyebrow {
  margin: 0 0 22px;

  color: var(--brand);

  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;

  font-size: clamp(52px, 5vw, 76px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.052em;
}

.title-accent {
  width: 48px;
  height: 4px;

  display: block;

  margin-top: 34px;

  background: var(--brand);
}

.intro {
  max-width: 650px;
  margin: 34px 0 0;

  color: var(--text);

  font-size: 18px;
  line-height: 1.62;
}

.actions {
  margin-top: 38px;

  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 0 26px;

  border: 2px solid transparent;
  border-radius: 5px;

  font-size: 15px;
  font-weight: 650;
  text-decoration: none;

  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: #ffffff;
  background: var(--brand);
}

.button-primary:hover {
  background: var(--brand-hover);
}

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface-soft);
}

.contact-note {
  margin: 34px 0 0;

  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--text);

  font-size: 14px;
}

.contact-note-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  display: grid;
  place-items: center;

  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
}

.contact-note-icon svg {
  width: 19px;
  height: 19px;
}

.contact-note a {
  color: var(--brand);
  font-weight: 650;
  text-underline-offset: 3px;
}

/* Status panel */

.service-panel {
  position: relative;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: 10px;

  box-shadow:
    0 26px 72px rgba(15, 23, 42, 0.11),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

.service-panel-accent {
  height: 7px;
  background: var(--brand);
}

.service-panel-content {
  padding: 42px 42px 40px;
}

.service-kicker {
  margin: 0 0 16px;

  color: var(--brand);

  font-size: 13px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.service-panel h2 {
  margin: 0;

  font-size: 34px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.service-intro {
  max-width: 440px;
  margin: 20px 0 0;

  color: var(--text);

  font-size: 16px;
  line-height: 1.58;
}

.service-details {
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.service-details > div {
  min-height: 80px;

  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(170px, 1fr);
  align-items: center;
  gap: 24px;

  padding: 16px 0;

  border-bottom: 1px dotted #cfd7e3;
}

.service-details dt,
.service-details dd {
  margin: 0;
}

.service-details dt {
  display: flex;
  align-items: center;
  gap: 15px;

  color: var(--text);

  font-size: 14px;
}

.service-details dd {
  color: var(--ink);

  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.service-details .status-highlight {
  color: var(--brand);
}

.detail-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;

  display: grid;
  place-items: center;

  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
}

.detail-icon svg {
  width: 23px;
  height: 23px;
}

.detail-icon-hash {
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.security-note {
  margin-top: 18px;
  padding: 17px 18px;

  display: flex;
  align-items: flex-start;
  gap: 14px;

  color: var(--text);
  background: var(--brand-soft);
  border-radius: 6px;
}

.security-note-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;

  display: grid;
  place-items: center;

  color: var(--brand);
}

.security-note-icon svg {
  width: 24px;
  height: 24px;
}

.security-note p {
  margin: 0;

  font-size: 13px;
  line-height: 1.55;
}

.security-note strong {
  display: block;
  color: var(--ink);
}

/* Footer */

.site-footer {
  margin-top: auto;

  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 94px;
  padding-block: 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.footer-brandline {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brandline img {
  width: 118px;
  height: auto;
}

.footer-divider {
  width: 1px;
  height: 28px;

  background: var(--line-strong);
}

.footer-brandline p {
  margin: 0;

  color: var(--text);

  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links > span {
  width: 1px;
  height: 22px;

  background: var(--line-strong);
}

.footer-links a,
.footer-links button {
  padding: 0;

  color: var(--text);
  background: transparent;
  border: 0;

  font-size: 13px;
  text-decoration: none;

  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--brand);
}

.brand:focus-visible,
.header-link:focus-visible,
.header-button:focus-visible,
.button:focus-visible,
.contact-note a:focus-visible,
.footer-links a:focus-visible,
.footer-links button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* Tablet */

@media (max-width: 1080px) {
  .site-shell {
    width: min(calc(100% - 48px), var(--container));
  }

  .maintenance-grid {
    min-height: auto;
    padding-block: 70px;

    grid-template-columns: 1fr;
    gap: 56px;
  }

  .maintenance-copy,
  .service-panel {
    width: 100%;
    max-width: 760px;
  }

  .service-panel {
    justify-self: start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Mobile */

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header,
  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 164px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-link {
    display: none;
  }

  .header-button {
    min-height: 40px;
    padding-inline: 13px;

    font-size: 13px;
  }

  .header-button svg {
    display: none;
  }

  .maintenance::before,
  .maintenance::after,
  .maintenance-decoration {
    opacity: 0.6;
  }

  .maintenance-grid {
    padding-block: 54px;
    gap: 42px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 11px;
  }

  h1 {
    font-size: clamp(39px, 11vw, 52px);
    line-height: 1.06;
  }

  .title-accent {
    width: 40px;
    height: 3px;
    margin-top: 26px;
  }

  .intro {
    margin-top: 26px;

    font-size: 16px;
    line-height: 1.58;
  }

  .actions {
    margin-top: 30px;

    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .contact-note {
    align-items: flex-start;
    margin-top: 28px;
  }

  .service-panel-content {
    padding: 30px 22px 24px;
  }

  .service-panel h2 {
    font-size: 28px;
  }

  .service-intro {
    font-size: 15px;
  }

  .service-details {
    margin-top: 28px;
  }

  .service-details > div {
    min-height: auto;

    grid-template-columns: 1fr;
    gap: 10px;

    padding: 16px 0;
  }

  .service-details dd {
    padding-left: 61px;
    text-align: left;
  }

  .detail-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .security-note {
    padding: 15px;
  }

  .footer-inner {
    padding-block: 26px;
  }

  .footer-brandline {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-divider {
    width: 42px;
    height: 1px;
  }

  .footer-links {
    gap: 13px 16px;
  }

  .footer-links > span {
    display: none;
  }
}

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

  .button:hover {
    transform: none;
  }
}

/* ==========================================================================
   EMAN GROUP — Wartung final responsive refinement
   Logo più grande, footer compatto, tablet e mobile migliorati
   ========================================================================== */

/* --------------------------------------------------------------------------
   Desktop
   -------------------------------------------------------------------------- */

.brand img {
  width: 232px !important;
  max-width: 100% !important;
  height: auto !important;
}

.footer-inner > p {
  margin: 0 !important;

  color: var(--muted) !important;

  font-size: 11.5px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.footer-links a,
.footer-links button {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

.footer-inner {
  min-height: 86px !important;
}

/* --------------------------------------------------------------------------
   Tablet landscape / piccoli laptop
   -------------------------------------------------------------------------- */

@media (min-width: 901px) and (max-width: 1180px) {
  .site-shell {
    width: min(calc(100% - 48px), var(--container)) !important;
  }

  .site-header,
  .header-inner {
    min-height: 78px !important;
  }

  .brand img {
    width: 214px !important;
  }

  .header-actions {
    gap: 8px !important;
  }

  .header-link,
  .header-button {
    min-height: 44px !important;
    padding-inline: 14px !important;
    font-size: 13px !important;
  }

  .maintenance-grid {
    min-height: 650px !important;
    padding-block: 58px !important;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(360px, .78fr) !important;

    gap: clamp(42px, 6vw, 76px) !important;
  }

  .maintenance-copy {
    max-width: 620px !important;
  }

  h1 {
    font-size: clamp(45px, 5.3vw, 62px) !important;
  }

  .intro {
    max-width: 580px !important;
    font-size: 16px !important;
  }

  .service-panel-content {
    padding: 34px 30px 30px !important;
  }

  .service-panel h2 {
    font-size: 28px !important;
  }

  .service-details > div {
    grid-template-columns:
      minmax(145px, .8fr)
      minmax(145px, 1fr) !important;

    gap: 16px !important;
  }

  .service-details dd {
    font-size: 13.5px !important;
  }

  .footer-inner {
    gap: 26px !important;
  }

  .footer-links {
    gap: 14px !important;
  }
}

/* --------------------------------------------------------------------------
   Tablet portrait
   -------------------------------------------------------------------------- */

@media (min-width: 681px) and (max-width: 900px) {
  .site-shell {
    width: min(calc(100% - 40px), var(--container)) !important;
  }

  .site-header,
  .header-inner {
    min-height: 74px !important;
  }

  .brand img {
    width: 204px !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  .header-link,
  .header-button {
    min-height: 42px !important;
    padding-inline: 12px !important;
    font-size: 12.5px !important;
  }

  .maintenance {
    align-items: flex-start !important;
  }

  .maintenance-grid {
    min-height: auto !important;
    padding-block: 58px 64px !important;

    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }

  .maintenance-copy,
  .service-panel {
    width: 100% !important;
    max-width: 720px !important;
  }

  .maintenance-copy {
    justify-self: start !important;
  }

  h1 {
    max-width: 660px !important;
    font-size: clamp(44px, 7.4vw, 60px) !important;
  }

  .intro {
    max-width: 640px !important;
    font-size: 16.5px !important;
  }

  .service-panel {
    justify-self: stretch !important;
  }

  .service-panel-content {
    padding: 34px 32px 30px !important;
  }

  .service-details > div {
    grid-template-columns:
      minmax(180px, .8fr)
      minmax(220px, 1fr) !important;
  }

  .footer-inner {
    min-height: auto !important;
    padding-block: 22px !important;

    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .footer-links {
    justify-content: flex-start !important;
  }
}

/* --------------------------------------------------------------------------
   Smartphone
   -------------------------------------------------------------------------- */

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--container)) !important;
  }

  .site-header,
  .header-inner {
    min-height: 64px !important;
  }

  .header-inner {
    gap: 10px !important;
  }

  .brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .brand img {
    width: 178px !important;
    max-width: calc(100vw - 190px) !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    gap: 6px !important;
  }

  /* Nasconde solo Startseite e mantiene Suchen disponibile */
  .header-actions .header-link:first-child {
    display: none !important;
  }

  .header-search {
    min-height: 38px !important;
    display: inline-flex !important;

    padding-inline: 9px !important;

    font-size: 12px !important;
  }

  .header-button {
    min-height: 38px !important;

    padding-inline: 11px !important;

    border-radius: 5px !important;

    font-size: 12px !important;
  }

  .maintenance {
    align-items: flex-start !important;
  }

  .maintenance::before,
  .maintenance::after,
  .maintenance-decoration {
    opacity: .3 !important;
  }

  .maintenance-grid {
    min-height: auto !important;

    padding-block: 44px 54px !important;

    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .maintenance-copy,
  .service-panel {
    width: 100% !important;
    max-width: none !important;
  }

  .eyebrow {
    margin-bottom: 14px !important;

    font-size: 10.5px !important;
    letter-spacing: .13em !important;
  }

  h1 {
    max-width: 100% !important;

    font-size: clamp(36px, 10.4vw, 48px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.045em !important;
  }

  .title-accent {
    width: 38px !important;
    height: 3px !important;

    margin-top: 22px !important;
  }

  .intro {
    max-width: 100% !important;
    margin-top: 22px !important;

    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  .actions {
    margin-top: 26px !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .button {
    width: 100% !important;
    min-height: 46px !important;

    padding-inline: 14px !important;

    border-radius: 5px !important;

    font-size: 13px !important;
  }

  .contact-note {
    margin-top: 24px !important;

    align-items: flex-start !important;
    gap: 10px !important;

    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .contact-note-icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  .service-panel {
    border-radius: 7px !important;
  }

  .service-panel-content {
    padding: 26px 18px 20px !important;
  }

  .service-kicker {
    margin-bottom: 11px !important;
    font-size: 10.5px !important;
  }

  .service-panel h2 {
    font-size: 25px !important;
    line-height: 1.2 !important;
  }

  .service-intro,
  .service-panel-content > p:not(.service-kicker) {
    margin-top: 14px !important;

    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .service-details {
    margin-top: 22px !important;
  }

  .service-details > div {
    min-height: auto !important;

    grid-template-columns: 1fr !important;
    gap: 6px !important;

    padding: 14px 0 !important;
  }

  .service-details dt {
    gap: 10px !important;
    font-size: 12px !important;
  }

  .service-details dd {
    padding-left: 0 !important;

    font-size: 13px !important;
    text-align: left !important;
  }

  .detail-icon {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
  }

  .detail-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .security-note {
    margin-top: 14px !important;
    padding: 13px !important;

    gap: 10px !important;

    border-radius: 5px !important;
  }

  .security-note p {
    font-size: 11.5px !important;
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom) !important;
  }

  .footer-inner {
    min-height: auto !important;
    padding-block: 20px !important;

    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  .footer-inner > p {
    max-width: 100% !important;

    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  .footer-links {
    justify-content: flex-start !important;
    gap: 10px 14px !important;
  }

  .footer-links a,
  .footer-links button {
    font-size: 10.5px !important;
  }
}

/* Telefoni molto stretti */
@media (max-width: 390px) {
  .brand img {
    width: 164px !important;
    max-width: calc(100vw - 172px) !important;
  }

  .header-search {
    display: none !important;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 43px) !important;
  }

  .service-panel-content {
    padding-inline: 16px !important;
  }
}