:root {
  --blue: #3d6099;
  --blue-dark: #264880;
  --red: #c8142f;
  --yellow: #f0bc17;
  --ink: #303030;
  --text: #4a4a4a;
  --muted: #707070;
  --line: #d8d8d8;
  --page: #e6e6e6;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

p,
h1,
h2,
h3,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  line-height: 1.12;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 12px rgb(0 0 0 / 22%);
}

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

.info-line {
  background: var(--ink);
  color: #cccccc;
  font-size: 13px;
}

.info-line__inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.info-line p {
  margin: 0;
}

.info-line a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.brand-header {
  border-bottom: 1px solid rgb(61 96 153 / 24%);
  background:
    linear-gradient(90deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 30%)),
    url("../images/bg-ebk-brandschutz.jpg") center / cover no-repeat;
}

.brand-header__inner {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-panel {
  width: 254px;
  padding: 15px 22px;
  border-left: 5px solid var(--blue);
  background: var(--white);
  box-shadow: 0 9px 26px rgb(38 72 128 / 14%);
}

.header-contact {
  display: flex;
  min-width: 310px;
  flex-direction: column;
  align-items: flex-end;
  padding: 16px 20px;
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 8px 22px rgb(38 72 128 / 10%);
}

.header-contact__label {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-contact a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.nav-shell {
  height: 46px;
  background: linear-gradient(to bottom, #4a4a4a, #3a3a3a);
}

.nav-marker {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 24px;
  border-top: 4px solid var(--blue);
  background: var(--white);
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.maintenance {
  padding: 54px 0;
  background: var(--page);
}

.maintenance__panel {
  display: grid;
  overflow: hidden;
  border-top: 5px solid var(--blue);
  background: var(--white);
  box-shadow: 0 18px 46px rgb(0 0 0 / 10%);
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
}

.maintenance__copy {
  padding: clamp(42px, 6vw, 76px);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.maintenance h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.maintenance h1::after {
  display: block;
  width: 92px;
  height: 5px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--red) 0 72%, var(--yellow) 72%);
  content: "";
}

.lead {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}

.maintenance__copy > p:not(.eyebrow):not(.lead) {
  max-width: 680px;
}

.service-notice {
  display: flex;
  max-width: 760px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 19px 20px 19px 24px;
  border-left: 5px solid var(--yellow);
  background: #f2f4f8;
}

.service-notice div {
  display: flex;
  flex-direction: column;
}

.service-notice span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-notice strong {
  color: var(--ink);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.button--primary {
  background: var(--blue);
  color: var(--white);
}

.button--primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
}

.button--secondary {
  background: var(--white);
  color: var(--blue);
}

.button--secondary:hover {
  background: #f5f7fb;
}

.button--service {
  flex: 0 0 auto;
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.button--service:hover {
  border-color: #a50d24;
  background: #a50d24;
  color: var(--white);
}

.contact-card {
  position: relative;
  padding: 62px 44px;
  background: #f4f4f4;
  border-left: 1px solid var(--line);
}

.contact-card__accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-top: 10px solid var(--yellow);
  border-right: 10px solid var(--yellow);
}

.contact-card__overline {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

.contact-card address {
  margin-bottom: 28px;
  font-style: normal;
}

.contact-card dl {
  margin-bottom: 0;
}

.contact-card dl div {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.contact-card dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card dd {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-card dd a {
  text-decoration: none;
}

.services {
  padding: 76px 0 84px;
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.section-heading .eyebrow {
  margin-bottom: 4px;
}

.section-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 47px);
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  min-height: 220px;
  padding: 32px;
  border-top: 4px solid var(--blue);
  background: #f4f4f4;
}

.service-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.service-grid h3 {
  margin: 28px 0 12px;
  font-size: 25px;
}

.service-grid p {
  margin-bottom: 0;
}

.legal-area {
  padding: 72px 0;
  background: #eeeeee;
}

.legal-card {
  padding: clamp(30px, 5vw, 60px);
  border-top: 4px solid var(--blue);
  background: var(--white);
}

.legal-card + .legal-card {
  margin-top: 30px;
}

.legal-card:target {
  box-shadow: 0 0 0 4px rgb(61 96 153 / 18%);
}

.legal-card > h2 {
  margin-bottom: 38px;
  font-size: clamp(30px, 4vw, 44px);
}

.legal-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-grid h3 {
  margin: 28px 0 8px;
  color: var(--blue-dark);
  font-size: 18px;
}

.legal-grid h3:first-child {
  margin-top: 0;
}

.legal-grid p {
  font-size: 14px;
}

.footer-main {
  padding: 48px 0;
  background: var(--text);
  color: #cccccc;
}

.footer-main__inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.footer-main strong {
  color: var(--white);
}

.footer-main p {
  margin: 9px 0 0;
  font-size: 14px;
}

.footer-main nav {
  display: flex;
  gap: 24px;
}

.footer-main a {
  color: var(--white);
  font-weight: 700;
}

.footer-line {
  padding: 17px 0;
  background: var(--ink);
  color: #8b8b8b;
  font-size: 12px;
}

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

  .contact-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 0;
  }
}

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

  .info-line__inner,
  .brand-header__inner,
  .footer-main__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .info-line__inner {
    gap: 3px;
    padding: 10px 0;
  }

  .brand-header__inner {
    gap: 14px;
    padding: 26px 0;
  }

  .logo-panel {
    width: min(254px, 100%);
  }

  .header-contact {
    min-width: 0;
    align-items: flex-start;
  }

  .nav-shell {
    height: 42px;
  }

  .nav-marker {
    min-height: 42px;
    padding-inline: 15px;
    font-size: 12px;
  }

  .maintenance {
    padding: 22px 0;
  }

  .maintenance__copy,
  .contact-card {
    padding: 34px 25px;
  }

  .maintenance h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  .lead {
    font-size: 18px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .service-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .services,
  .legal-area {
    padding: 54px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 12px;
  }

  .footer-main nav {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
