@font-face {
  font-family: "Poppins";
  src: url("/assets/webfonts/poppins--v22-normal-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #141719;
  --ink-soft: #343b3f;
  --steel: #667177;
  --line: #dfe3e5;
  --paper: #ffffff;
  --mist: #f3f5f5;
  --warm: #f7f3ef;
  --red: #c9161d;
  --red-dark: #9e0f15;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(18, 25, 29, 0.12);
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--red) 45%, transparent);
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--red) 55%, white);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--red);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1.35em;
}

.button,
button.button,
a.button,
input[type="submit"],
input[type="reset"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
button.button:hover,
a.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  transform: translateY(-2px);
}

.button-primary,
input[type="submit"] {
  color: white !important;
  background: var(--red);
  text-decoration: none !important;
}

.button-primary:hover,
input[type="submit"]:hover,
.button-primary:focus-visible {
  color: white !important;
  background: var(--red-dark);
}

.button-secondary,
input[type="reset"] {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(20, 23, 25, 0.08);
  backdrop-filter: blur(16px);
}

.header-strip {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
  font-size: 0.76rem;
}

.header-strip-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-strip-inner > span {
  margin-right: auto;
}

.header-strip-inner div {
  display: flex;
  gap: 24px;
}

.header-strip a {
  color: white;
  text-decoration: none;
}

.header-main {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 5px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
}

.brand img {
  width: 128px;
  height: 56px;
  object-fit: contain;
}

.primary-nav > ul,
.primary-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 5px;
}

.primary-nav > ul > li {
  position: relative;
}

.nav-item-row {
  display: flex;
  align-items: center;
}

.nav-item-row > a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 12px;
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-item-row > a:hover,
.nav-item-row > a[aria-current="page"] {
  color: var(--red);
  background: #fff2f2;
}

.nav-item-row > a.nav-cta {
  margin-left: 6px;
  padding-inline: 20px;
  color: white;
  background: var(--red);
}

.nav-item-row > a.nav-cta:hover {
  color: white;
  background: var(--red-dark);
}

.submenu-toggle {
  display: inline-grid;
  width: 32px;
  height: 40px;
  margin-left: -8px;
  place-items: center;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
}

.submenu-toggle svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  visibility: hidden;
  width: 260px;
  padding: 10px !important;
  border: 1px solid rgba(20, 23, 25, 0.08);
  border-radius: 15px;
  opacity: 0;
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.submenu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
  content: "";
}

.submenu a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.submenu a:hover {
  color: var(--red);
  background: var(--mist);
}

.submenu > .has-submenu {
  position: relative;
}

.submenu > .has-submenu > .nav-item-row > a {
  min-height: 42px;
  flex: 1;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 650;
}

.submenu > .has-submenu > .nav-item-row > .submenu-toggle {
  width: 38px;
  height: 42px;
  margin: 0;
}

.submenu > .has-submenu > .nav-item-row > .submenu-toggle svg {
  transform: rotate(-90deg);
}

.submenu .submenu-nested {
  top: -10px;
  left: calc(100% + 10px);
  width: 340px;
}

.submenu > .has-submenu.submenu-open > .nav-item-row > .submenu-toggle svg {
  transform: rotate(90deg);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.submenu-open > .submenu {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.has-submenu.submenu-open .submenu-toggle svg {
  transform: rotate(180deg);
}

.nav-toggle {
  display: none;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--red);
  cursor: pointer;
  font-weight: 800;
}

.nav-toggle svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

/* Hero */
.site-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(430px, 61vw, 680px);
  overflow: hidden;
  color: white;
  background: #30383c;
}

.site-hero.compact {
  min-height: 390px;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 21, 23, 0.94) 0%, rgba(17, 21, 23, 0.78) 42%, rgba(17, 21, 23, 0.2) 78%),
    linear-gradient(0deg, rgba(17, 21, 23, 0.48), transparent 50%);
  content: "";
}

.site-hero:not(:has(.hero-media))::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 22, 29, 0.28), transparent 35%),
    linear-gradient(135deg, #20272a, #3d474c);
  content: "";
}

.hero-grid {
  display: grid;
  min-height: inherit;
  align-items: end;
  padding-block: clamp(90px, 12vw, 150px) clamp(70px, 9vw, 110px);
}

.hero-content {
  max-width: 850px;
}

.hero-content .eyebrow {
  color: #ff656a;
}

.hero-content h1 {
  max-width: 14ch;
  margin-bottom: 0.35em;
  color: white;
  text-wrap: balance;
}

.site-hero.compact h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-content > p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

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

.button-light {
  color: var(--ink);
  background: white;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.48);
  color: white;
  background: transparent;
}

.button-light:hover,
.button-light:focus-visible {
  color: white;
  background: var(--red);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  border-color: white;
  color: var(--ink);
  background: white;
}

/* Main content and legacy normalization */
.legacy-content {
  overflow: clip;
  background: white;
}

.legacy-banner {
  display: none !important;
}

.legacy-content > #main,
.legacy-content #main {
  width: 100%;
  margin: 0;
  padding: clamp(34px, 9vw, 12px) 0;
}

.legacy-content #main > .inner,
.legacy-content #main .inner,
.legacy-content > .inner,
.legacy-content .thn_post_wrap {
  width: var(--shell) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.legacy-content #content,
.legacy-content section {
  min-width: 0;
}

.legacy-content #main > .inner:has(> #content + #sidebar) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(30px, 4vw, 52px);
  align-items: start;
}

.legacy-content #main > .inner:has(> #content + #sidebar) > #content {
  min-width: 0;
}

.legacy-content #sidebar .features {
  width: 100%;
  margin: 0;
}

.legacy-content #sidebar .features > a {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.legacy-content #sidebar .features > a:hover,
.legacy-content #sidebar .features > a:focus-visible {
  border-color: var(--red);
  box-shadow: 0 20px 44px rgba(18, 25, 29, 0.16);
  transform: translateY(-4px);
}

.legacy-content #sidebar .features h2.sidebar {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--red);
  color: white;
  font-size: 1rem;
  line-height: 1.35;
}

.legacy-content #sidebar .features p {
  margin: 0;
}

.legacy-content #sidebar .features img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: white;
  object-fit: contain;
}

.legacy-content section {
  margin: 0;
  padding: 0;
}

.legacy-content section + section {
  margin-top: 70px;
}

.legacy-content header {
  margin-bottom: 28px;
}

.legacy-content header > h2:first-child,
.legacy-content .thn_post_wrap > h2:first-child {
  position: relative;
  max-width: 24ch;
  padding-top: 22px;
}

.legacy-content header > h2:first-child::before,
.legacy-content .thn_post_wrap > h2:first-child::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 4px;
  border-radius: 99px;
  background: var(--red);
  content: "";
}

.legacy-content p,
.legacy-content li {
  color: #353b3e;
}

.legacy-content strong,
.legacy-content b {
  color: var(--ink);
  font-weight: 750;
}

.legacy-content ul,
.legacy-content ol {
  padding-left: 1.3em;
}

.legacy-content ul {
  list-style: disc;
}

.legacy-content ol {
  list-style: decimal;
}

.legacy-content a {
  color: var(--red-dark);
}

.legacy-content .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 !important;
}

.legacy-content .row > * {
  min-width: 0;
  padding: 0 !important;
}

.legacy-content .col-12 {
  width: 100%;
}

.legacy-content .col-9 {
  width: calc(75% - 12px);
}

.legacy-content .col-8 {
  width: calc(66.666% - 12px);
}

.legacy-content .col-6 {
  width: calc(50% - 12px);
}

.legacy-content .col-4 {
  width: calc(33.333% - 16px);
}

.legacy-content .col-3 {
  width: calc(25% - 18px);
}

.legacy-content .image {
  display: block;
}

.legacy-content .image img,
.legacy-content img {
  max-width: 100%;
  border-radius: 14px;
}

.legacy-content .image.fit img,
.legacy-content .image.full img,
.legacy-content .proa img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.legacy-content .image.right {
  float: right;
  width: min(46%, 560px);
  margin: 0 0 24px 32px;
}

.legacy-content .image.left {
  float: left;
  width: min(46%, 560px);
  margin: 0 32px 24px 0;
}

.legacy-content iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
}

.legacy-content iframe.video-player {
  min-height: 310px;
  aspect-ratio: 16 / 9;
}

.boxPro,
.services-box,
.KontaktForm,
.legacy-content .box {
  margin: 0 0 28px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 35px rgba(18, 25, 29, 0.06);
}

.suva-compliance-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  margin: 40px 0;
  padding: 14px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00b8cf 90%, #e6f0ff 70%);
}

.suva-compliance-banner .suva-icon-container {
  flex: 0 0 54px;
}

.suva-compliance-banner .suva-icon-container > div {
  width: 54px !important;
  height: 54px !important;
  border-radius: 10px !important;
}

.suva-compliance-banner .suva-icon-container .service-icon {
  width: 27px;
  height: 27px;
}

.suva-compliance-banner .suva-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.25;
}

.suva-compliance-banner .suva-title .service-icon {
  width: 22px;
  height: 22px;
}
.boxPro .titelh2pro {
  margin: 0 0 15px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.boxPro .titelh2pro a {
  color: var(--ink);
  text-decoration: none;
}

.boxPro:hover {
  border-color: color-mix(in srgb, var(--red) 30%, var(--line));
}

.titelH3,
.titelh3 {
  color: var(--red) !important;
}

.legacy-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.legacy-content th,
.legacy-content td {
  min-width: 120px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: left;
}

.legacy-content th {
  color: white;
  background: var(--ink-soft);
}

.legacy-content tr:nth-child(even) td {
  background: var(--mist);
}

.legacy-content hr {
  height: 1px;
  margin: 48px 0;
  border: 0;
  background: var(--line);
}

.stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 35px 0 !important;
}

.stats > div {
  padding: 25px !important;
  border: 0 !important;
  border-radius: 14px;
  text-align: left !important;
  background: var(--mist);
}

.stats .num {
  display: block;
  color: var(--red);
  font-family: Poppins, sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.stats .label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Home sections */
.page-home .legacy-content {
  background: linear-gradient(180deg, #fff 0%, #f7f8f8 44%, #fff 100%);
}

.page-home .site-hero {
  min-height: clamp(620px, 72vh, 820px);
}

.page-home .hero-content {
  max-width: 820px;
}

.page-home .hero-content h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.page-home .hero-content > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.8s ease, transform 6s ease;
}

.home-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-hero-controls {
  position: absolute;
  z-index: 3;
  right: max(22px, calc((100vw - var(--shell)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(15, 18, 20, 0.62);
  backdrop-filter: blur(8px);
}

.home-hero-controls > button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.home-hero-controls > button:hover,
.home-hero-controls > button:focus-visible {
  color: white;
  background: var(--red);
}

.home-hero-dots {
  display: flex;
  gap: 7px;
}

.home-hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.home-hero-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: #ff3b42;
}

.legacy-content .home-section,
.legacy-content .home-guarantee {
  width: var(--shell) !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.legacy-content .home-section {
  padding: clamp(54px, 8vw, 96px) 0 !important;
}

.legacy-content .home-section + .home-section {
  margin-top: 0 !important;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.home-section {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.home-section + .home-section {
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.home-section__intro {
  max-width: 860px;
  margin-bottom: clamp(28px, 5vw, 46px);
}

.home-benefits {
  margin-top: -78px !important;
  padding-top: 0 !important;
  position: relative;
  z-index: 5;
}

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

.home-benefit-card {
  display: grid;
  min-height: 150px;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 55px rgba(18, 25, 29, 0.11);
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.home-benefit-card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.home-benefit-card strong {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 20px;
  color: white;
  background: var(--red);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.home-benefit-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.home-benefit-card p {
  margin: 0;
  color: var(--steel);
  transition: color 200ms ease;
}

.home-benefit-card:hover,
.home-benefit-card:focus-within,
.home-benefit-card--accent {
  border-color: #146f78;
  color: white;
  background: #146f78;
  box-shadow: 0 22px 60px rgba(20, 111, 120, 0.25);
  transform: translateY(-5px);
}

.home-benefit-card:hover p,
.home-benefit-card:focus-within p,
.home-benefit-card--accent p,
.home-benefit-card:hover h3,
.home-benefit-card:focus-within h3,
.home-benefit-card--accent h3 {
  color: white;
}

.home-section__intro p,
.home-section__lead {
  max-width: 860px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.home-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: 0 18px 55px rgba(18, 25, 29, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-product-card:hover,
.home-product-card:focus-within {
  border-color: color-mix(in srgb, var(--red) 34%, var(--line));
  box-shadow: 0 24px 62px rgba(18, 25, 29, 0.13);
  transform: translateY(-4px);
}

.home-product-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mist);
}

.home-product-card > div {
  padding: clamp(24px, 3vw, 34px);
}

.home-product-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-product-card p {
  color: var(--ink-soft);
}

.home-category-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.home-category-links a,
.home-component-grid span,
.home-service-grid span {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-category-links a:hover,
.home-category-links a:focus-visible {
  border-color: var(--red);
  color: white;
  background: var(--red);
  transform: translateY(-2px);
}

.home-engineering,
.home-builder {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.home-engineering__visual,
.home-builder > img {
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.home-engineering__visual img,
.home-builder > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.home-detail-list article,
.home-guarantee-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.home-detail-list h3,
.home-guarantee-grid h3 {
  font-size: 1.16rem;
}

.home-stats {
  display: grid;
  max-width: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.home-stats div {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--mist);
}

.home-stats strong {
  display: block;
  color: var(--red);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.home-stats span {
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-guarantee {
  padding: clamp(46px, 7vw, 82px);
  border: 1px solid color-mix(in srgb, var(--red) 26%, var(--line));
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, #fff 0%, #fff 52%, #fff2f2 100%);
}

.home-guarantee-grid,
.home-component-grid,
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.home-note {
  margin-top: 22px;
  color: var(--steel);
  font-size: 0.95rem;
}

.home-component-grid span,
.home-service-grid span {
  min-height: 58px;
}

.home-component-grid span::before,
.home-service-grid span::before {
  width: 8px;
  height: 8px;
  margin-right: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.home-suva .suva-compliance-banner {
  width: 100%;
  margin: 0;
}

.suva-badge {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: #0056b3;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.home-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: calc(var(--radius) + 4px);
  color: white;
  background: var(--ink);
}

.home-cta-panel strong,
.home-cta-panel span {
  display: block;
}

.home-cta-panel strong {
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.home-cta-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.legacy-content #HeadStyleA {
  padding: clamp(40px, 8vw, 5px) 0;
  background: var(--paper);
}

.legacy-content #HeadStyleA > .inner {
  width: var(--shell) !important;
  margin-inline: auto !important;
}

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

.legacy-content .services-cols2.services-box {
  margin: 0;
  padding: 26px;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease,
    box-shadow 200ms ease, transform 200ms ease;
}

.legacy-content .service-box-inner {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  align-items: start;
}

.legacy-content .service-box-img img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 0;
  object-fit: contain;
}

.legacy-content .service-box-img a {
  display: inline-grid;
  color: var(--red);
  place-items: center;
  text-decoration: none;
}

.legacy-content .service-icon {
  display: block;
  width: 54px;
  height: 54px;
}

.legacy-content .service-box-info h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.legacy-content .service-box-info h3 a {
  color: var(--ink);
  text-decoration: none;
}

.legacy-content .service-desc {
  color: var(--steel);
  transition: color 200ms ease;
}

.legacy-content .services-cols2.services-box:hover,
.legacy-content .services-cols2.services-box:focus-within {
  color: white;
  border-color: #146f78;
  background: #146f78;
  box-shadow: 0 18px 42px rgba(20, 111, 120, 0.24);
  transform: translateY(-5px);
}

.legacy-content .services-cols2.services-box:hover .service-box-img a,
.legacy-content .services-cols2.services-box:hover .service-box-info h3 a,
.legacy-content .services-cols2.services-box:hover .service-desc,
.legacy-content .services-cols2.services-box:focus-within .service-box-img a,
.legacy-content .services-cols2.services-box:focus-within .service-box-info h3 a,
.legacy-content .services-cols2.services-box:focus-within .service-desc {
  color: white;
}

.legacy-content .features {
  width: var(--shell);
  margin: 0 auto;
}

.legacy-content .features.large {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 75px 0;
}

.legacy-content .features.large > a {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  text-decoration: none;
}

.legacy-content .features.large img {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  object-fit: contain;
}

.legacy-content .features.large h3 {
  font-size: 1.25rem;
}

.legacy-content .mini-posts {
  width: var(--shell);
  margin: 0 auto;
  padding: 70px 0;
}

.legacy-content #content > .mini-posts:has(> article.dienst) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article:first-child {
  grid-column: 1 / -1;
  padding-bottom: 8px;
}

.legacy-content #content > .mini-posts:has(> article.dienst) .stats:empty {
  display: none !important;
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst {
  display: flex;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 35px rgba(18, 25, 29, 0.06);
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst .content {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst .actions {
  display: flex;
  margin-top: auto;
  margin-bottom: 0;
  padding: 24px 0 0;
  list-style: none;
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst .actions li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst .actions .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--red);
  border-radius: 5px;
  color: white;
  background: var(--red);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst .actions .button::after {
  content: "›";
  font-size: 1.35em;
  font-weight: 800;
  line-height: 1;
}

.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst .actions .button:hover,
.legacy-content #content > .mini-posts:has(> article.dienst) > article.dienst .actions .button:focus-visible {
  border-color: var(--red-dark);
  background: var(--red-dark);
  transform: translateY(-2px);
}

.legacy-content article.post,
.legacy-content .mini-posts article {
  border-radius: var(--radius);
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  padding: 85px max(20px, calc((100% - 1180px) / 2)) !important;
  color: white;
  background: #303030 !important;
  border-radius: 20px;
}

.carousel .thn_post_wrap {
  width: 100% !important;
}
.suva-icon-container {
    flex: 0 0 100px;
    text-align: center;
}
.carousel h2,
.carousel h3,
.carousel p {
  color: white;
}

.carousel article {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.carousel article.visible {
  display: grid;
}

.carousel article .image img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.carousel nav {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.carousel nav a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

/* Forms */
.legacy-content form,
.callback-card form {
  width: 100%;
}

.legacy-content label,
.callback-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.legacy-content input:not([type="checkbox"]):not([type="radio"]),
.legacy-content select,
.legacy-content textarea,
.callback-card input:not([type="checkbox"]) {
  width: 100%;
  min-height: 52px;
  margin: 0 0 18px;
  padding: 12px 15px;
  border: 1px solid #cfd5d8;
  border-radius: 10px;
  color: var(--ink);
  background: white;
}

.legacy-content textarea {
  min-height: 150px;
  resize: vertical;
}

.legacy-content input:focus,
.legacy-content select:focus,
.legacy-content textarea:focus,
.callback-card input:focus {
  border-color: var(--red);
  outline: 3px solid rgba(201, 22, 29, 0.12);
}

.legacy-content input[type="checkbox"],
.legacy-content input[type="radio"],
.callback-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.check-row {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  margin: 5px 0 22px;
}

.check-row input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.form-error,
#success-message {
  padding: 16px 18px;
  border-radius: 12px;
}

.form-error {
  color: #751218;
  background: #fff0f0;
}

#success-message {
  color: #14552b;
  background: #eaf8ef;
}

/* Contact page */
.page-kontakt-html .legacy-content #main > .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.page-kontakt-html .legacy-content #content {
  min-width: 0;
}

.page-kontakt-html .legacy-content #contact-form-heading h2 {
  max-width: 32ch;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.25;
}

.page-kontakt-html .legacy-content .KontaktForm {
  margin: 0;
  padding: clamp(24px, 3vw, 38px);
}

.page-kontakt-html .legacy-content #contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.page-kontakt-html .legacy-content #contact-form > .col-6 {
  width: auto;
}

.page-kontakt-html .legacy-content #contact-form > .col-12,
.page-kontakt-html .legacy-content #contact-form > label {
  grid-column: 1 / -1;
}

.page-kontakt-html .legacy-content #contact-form > .col-6:has(> input[type="radio"]) {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
}

.page-kontakt-html .legacy-content #contact-form > .col-6:has(> input[type="radio"]) label {
  margin: 0;
}

.page-kontakt-html .legacy-content #contact-form > .col-12:has(> input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.page-kontakt-html .legacy-content #contact-form > .col-12:has(> input[type="checkbox"]) label {
  margin: 0 0 18px;
}

.page-kontakt-html .legacy-content #contact-form .actions {
  display: flex;
  margin: 4px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.page-kontakt-html .legacy-content #contact-form .actions li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-kontakt-html .legacy-content #sidebar {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.page-kontakt-html .legacy-content .adress-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.page-kontakt-html .legacy-content .adress-box header {
  margin: 0;
}

.page-kontakt-html .legacy-content .adress-box h4 {
  margin: 0 0 7px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-kontakt-html .legacy-content .adress-box .btSubTitle {
  color: var(--steel);
  line-height: 1.55;
}

.page-kontakt-html .legacy-content .adress-box .rowZeit {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-kontakt-html .legacy-content .route-icon {
  display: grid;
  min-width: 94px;
  gap: 8px;
  place-items: center;
  padding: 14px 10px;
  border-radius: 12px;
  color: var(--red);
  background: white;
  font-size: 0.76rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.page-kontakt-html .legacy-content .route-icon .service-icon {
  width: 44px;
  height: 44px;
}

.page-kontakt-html .legacy-content .route-icon:hover,
.page-kontakt-html .legacy-content .route-icon:focus-visible {
  color: white;
  background: #146f78;
  transform: translateY(-3px);
}

/* Compact home contact, references and locations */
.legacy-content #contentKo {
  padding: clamp(42px, 5vw, 64px) 0;
  color: white;
  background: var(--ink);
}

.legacy-content #contentKo > .kontakt {
  width: 74vw;
  margin-inline: auto;
}

.legacy-content #contentKo > .kontakt > article {
  padding: clamp(20px, 2.5vw, 34px);
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.legacy-content #contentKo header h2,
.legacy-content #contentKo header h3 {
  color: var(--steel);
}

.legacy-content #contentKo header h2 {
  max-width: none;
  margin-bottom: 8px;
  padding-top: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.legacy-content #contentKo header h2::before {
  display: none;
}

.legacy-content #contentKo header h1,
.legacy-content #contentKo header h2:last-child {
  color: var(--red);
}

.legacy-content #contentKo header {
  margin-bottom: 20px;
}

.legacy-content #contentKo .KontaktForm {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legacy-content #homepage-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.legacy-content #homepage-contact-form > .col-6 {
  width: auto;
}

.legacy-content #homepage-contact-form > .col-12,
.legacy-content #homepage-contact-form > label {
  grid-column: 1 / -1;
}

.legacy-content #homepage-contact-form > .col-6:has(> input[type="radio"]) {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
}

.legacy-content #homepage-contact-form > .col-6:has(> input[type="radio"]) label {
  margin: 0;
}

.legacy-content #homepage-contact-form > .col-12:has(> input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-top: 4px !important;
}

.legacy-content #homepage-contact-form > .col-12:has(> input[type="checkbox"]) label {
  margin: 0 0 18px;
}

.legacy-content #homepage-contact-form input:not([type="checkbox"]):not([type="radio"]),
.legacy-content #homepage-contact-form textarea {
  min-height: 46px;
  margin-bottom: 12px;
}

.legacy-content #homepage-contact-form textarea {
  min-height: 120px;
}

.legacy-content #homepage-contact-form .actions {
  display: flex;
  margin: 4px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.legacy-content #homepage-contact-form .actions li {
  margin: 0;
  list-style: none;
}

.legacy-content #homepage-contact-form .actions input {
  width: auto;
  min-height: 44px;
  margin: 0;
}

.legacy-content #three {
  padding: clamp(65px, 8vw, 95px) 0;
  background: var(--mist);
}

.legacy-content #three > .container {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

.legacy-content #three .row {
  gap: 30px;
  align-items: stretch;
}

.legacy-content #three .row > section {
  display: flex;
  width: calc(33.333% - 20px);
  margin-top: 0;
  align-items: stretch;
}

.legacy-content #three .box {
  display: flex;
  width: 100%;
  min-height: 480px;
  height: 100%;
  margin: 0;
  padding: 0 0 32px;
  border: 1px solid #e5e7e8;
  border-radius: 0;
  flex-direction: column;
  text-align: center;
  background: white;
  box-shadow: none;
}

.legacy-content #three .box img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: cover;
}

.legacy-content #three .box h3 {
  margin: 46px 28px 10px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.legacy-content #three .box p {
  margin: 0 28px;
  color: #111;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: center;
}

.legacy-content #three .box.style1 {
  border-bottom: 4px solid #ff6677;
}

.legacy-content #three .box.style2 {
  border-bottom: 4px solid #00bda5;
}

.legacy-content #three .box.style4 {
  border-bottom: 4px solid #8186e8;
}

.legacy-content #four {
  padding: clamp(65px, 8vw, 95px) 0;
  background: white;
}

.legacy-content #four > .container {
  display: grid;
  width: min(90vw, 1500px);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.legacy-content #four .major {
  grid-column: 1 / -1;
  text-align: center;
}

.legacy-content #four .major h2 {
  max-width: none;
  padding-top: 0;
}

.legacy-content #four .major h2::before {
  display: none;
}

.legacy-content #four .Gmap {
  display: flex;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  background: var(--mist);
}

.legacy-content #four .Gmap h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  text-align: center;
}

.legacy-content #four .Gmap iframe {
  height: 340px;
  background: #e3e7e8;
}

.legacy-content #four .contact-icons {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.legacy-content #four .contact-icons li {
  list-style: none;
}

/* Contact CTA and footer */
.contact-band {
  padding: clamp(58px, 8vw, 95px) 0;
  color: white;
  background: var(--red);
}

.contact-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 40px;
  align-items: center;
}

.contact-band .eyebrow,
.contact-band h2,
.contact-band p {
  color: white;
}

.contact-band h2 {
  max-width: 18ch;
  margin-bottom: 12px;
}

.contact-band p {
  margin: 0;
  opacity: 0.85;
}

.contact-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #111517;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 5vw, 65px);
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: white;
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid address {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  text-decoration: none;
}

.footer-grid a:hover {
  color: white;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 20px;
  /*filter: brightness(0) invert(1);*/
}

.footer-brand p {
  max-width: 39ch;
}

.footer-bottom {
  display: flex;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

/* Callback */
.hidden {
  display: none !important;
}

.callback-modal {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  background: rgba(12, 15, 17, 0.78);
  backdrop-filter: blur(8px);
}

.callback-card {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(25px, 5vw, 48px);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.callback-card > p {
  color: var(--steel);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mist);
  cursor: pointer;
  font-size: 1.55rem;
}

/* Search-focused expert content */
.legacy-content .seo-expansion {
  width: var(--shell);
  max-width: none;
  margin: 0 auto !important;
  padding: clamp(64px, 8vw, 110px) 0 !important;
}

.seo-expansion-intro {
  max-width: 900px;
  margin-bottom: 42px !important;
}

.seo-expansion-intro .eyebrow {
  color: var(--red);
}

.seo-expansion-intro h2 {
  max-width: 20ch;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.seo-expansion-intro p {
  max-width: 78ch;
  color: var(--steel);
  font-size: 1.08rem;
}

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

.seo-expansion-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 35px rgba(18, 25, 29, 0.06);
}

.seo-expansion-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.seo-expansion-card p {
  color: var(--steel);
}

.seo-expansion-card ul {
  margin: 18px 0 0;
  padding-left: 1.2rem;
}

.seo-expansion-card li {
  margin-bottom: 8px;
}

.seo-faq {
  max-width: 900px;
  margin-top: 70px;
}

.seo-faq h2 {
  margin-bottom: 24px;
}

.seo-faq details {
  border-top: 1px solid var(--line);
}

.seo-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.seo-faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--red);
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
}

.seo-faq details[open] summary::after {
  content: "−";
}

.seo-faq details p {
  max-width: 75ch;
  padding: 0 44px 22px 0;
  color: var(--steel);
}

.seo-expansion-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 62px;
  padding: 28px 32px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink-soft);
}

.seo-expansion-cta div {
  display: grid;
  gap: 5px;
}

.seo-expansion-cta strong {
  color: white;
  font-size: 1.15rem;
}

.seo-expansion-cta span {
  color: rgba(255, 255, 255, 0.76);
}

.seo-expansion-cta .button {
  flex: 0 0 auto;
  color: white;
  background: var(--red);
}

/* Cookie layer */
#cookie-banner,
#cookie-settings,
#cookie-overlay,
#cookie-settings-icon {
  z-index: 30000;
}

/* Responsive */
@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 32px, 900px);
  }

  .site-header {
    backdrop-filter: none;
  }

  .header-strip {
    display: none;
  }

  .header-main {
    min-height: 72px;
  }

  .brand img {
    width: 128px;
    height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    z-index: 999;
    top: 72px;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 72px);
    visibility: hidden;
    width: min(420px, 92vw);
    overflow-y: auto;
    padding: 18px;
    opacity: 0;
    background: white;
    box-shadow: -18px 24px 50px rgba(15, 20, 22, 0.18);
    transform: translateX(100%);
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }

  .primary-nav::before {
    position: fixed;
    z-index: -1;
    top: 72px;
    right: min(420px, 92vw);
    bottom: 0;
    left: 0;
    background: rgba(12, 15, 17, 0.5);
    content: "";
    pointer-events: none;
  }

  .primary-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .primary-nav > ul {
    display: block;
  }

  .primary-nav > ul > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-item-row > a {
    min-height: 57px;
    flex: 1;
    padding-inline: 5px 12px;
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-item-row > a.nav-cta {
    margin: 10px 0;
    justify-content: center;
    border-radius: 999px;
  }

  .submenu-toggle {
    width: 52px;
    min-height: 52px;
    margin: 0;
  }

  .submenu {
    position: static;
    display: none;
    visibility: visible;
    width: auto;
    padding: 0 0 13px 16px !important;
    border: 0;
    border-radius: 0;
    opacity: 1;
    box-shadow: none;
    transform: none;
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    display: none;
  }

  .has-submenu.submenu-open > .submenu {
    display: block;
  }

  .submenu a {
    padding: 10px 12px;
  }

  .submenu .submenu-nested {
    width: auto;
    padding-left: 28px !important;
  }

  .submenu > .has-submenu > .nav-item-row > .submenu-toggle svg {
    transform: none;
  }

  .submenu > .has-submenu.submenu-open > .nav-item-row > .submenu-toggle svg {
    transform: rotate(180deg);
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(17, 21, 23, 0.92), rgba(17, 21, 23, 0.52));
  }

  .home-benefit-grid,
  .home-product-grid,
  .home-engineering,
  .home-builder,
  .home-detail-list,
  .home-guarantee-grid,
  .home-component-grid,
  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-category-links {
    grid-template-columns: 1fr;
  }

  .legacy-content .features.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-expansion-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 16px;
  }

  .legacy-content #main > .inner:has(> #content + #sidebar) {
    grid-template-columns: 1fr;
  }

  .legacy-content #sidebar {
    width: 100%;
  }

  .seo-expansion-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-hero,
  .site-hero.compact {
    min-height: 500px;
  }

  .hero-grid {
    padding-block: 90px 62px;
  }

  .hero-content h1 {
    max-width: 16ch;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(17, 21, 23, 0.95) 8%, rgba(17, 21, 23, 0.54) 75%);
  }

  .home-benefit-grid,
  .home-product-grid,
  .home-engineering,
  .home-builder,
  .home-detail-list,
  .home-guarantee-grid,
  .home-component-grid,
  .home-service-grid,
  .home-stats {
    grid-template-columns: 1fr;
  }

  .home-section {
    padding-block: 48px;
  }

  .home-benefits {
    margin-top: -42px !important;
  }

  .home-benefit-card {
    min-height: 0;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
  }

  .home-benefit-card img,
  .home-benefit-card strong {
    width: 58px;
    height: 58px;
  }

  .home-benefit-card strong {
    border-radius: 16px;
    font-size: 2.15rem;
  }

  .home-guarantee {
    width: var(--shell);
    padding: 26px;
  }

  .home-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-cta-panel .button {
    width: 100%;
  }

  .legacy-content > #main,
  .legacy-content #main {
    padding: 58px 0;
  }

  .legacy-content .col-9,
  .legacy-content .col-8,
  .legacy-content .col-6,
  .legacy-content .col-4,
  .legacy-content .col-3 {
    width: 100%;
  }

  .legacy-content .image.right,
  .legacy-content .image.left {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }

  .legacy-content iframe.video-player {
    min-height: 0;
  }

  .legacy-content .features.large {
    grid-template-columns: 1fr;
    padding-block: 55px;
  }

  .legacy-content .service-page {
    grid-template-columns: 1fr;
  }

  .legacy-content #content > .mini-posts:has(> article.dienst),
  .legacy-content #contentKo > .kontakt > article,
  .legacy-content #homepage-contact-form,
  .legacy-content #four > .container {
    grid-template-columns: 1fr;
  }

  .legacy-content #contentKo header {
    max-width: 560px;
  }

  .legacy-content #contentKo > .kontakt {
    width: calc(100% - 24px);
  }

  .page-kontakt-html .legacy-content #main > .inner,
  .page-kontakt-html .legacy-content #contact-form {
    grid-template-columns: 1fr;
  }

  .page-kontakt-html .legacy-content #contact-form > .col-12,
  .page-kontakt-html .legacy-content #contact-form > label {
    grid-column: auto;
  }

  .page-kontakt-html .legacy-content .adress-box {
    grid-template-columns: 1fr auto;
  }

  .legacy-content #homepage-contact-form > .col-12,
  .legacy-content #homepage-contact-form > label,
  .legacy-content #four .major {
    grid-column: auto;
  }

  .legacy-content #three .row > section {
    width: 100%;
  }

  .legacy-content #three .box {
    min-height: 0;
  }

  .legacy-content #four .Gmap iframe {
    height: 300px;
  }

  .legacy-content .service-box-inner {
    grid-template-columns: 62px 1fr;
  }

  .legacy-content .service-box-img img {
    width: 58px !important;
    height: 58px !important;
  }

  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    padding-block: 60px !important;
  }

  .carousel article,
  .contact-band-grid {
    grid-template-columns: 1fr;
  }

  .contact-band-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .callback-modal {
    padding: 12px;
  }
}

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

/* Homepage composition v3: lively, centered, SEO-friendly */
.page-home .legacy-content {
  background:
    radial-gradient(circle at 18% 8%, rgba(201, 22, 29, 0.06), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f6f7f7 48%, #fff 100%);
}

.page-home .site-hero {
  min-height: clamp(590px, 72vh, 790px);
  overflow: hidden;
  background: #101518;
}

.page-home .site-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  content: "";
  pointer-events: none;
}

.page-home .home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.page-home .hero-grid {
  position: relative;
  z-index: 3;
  min-height: inherit;
  align-items: start;
  padding-block: clamp(24px, 3.2vw, 52px) clamp(86px, 9vw, 124px);
}

.page-home .hero-content {
  max-width: 900px;
  padding-block: 0;
  margin-top: 0;
}

.page-home .hero-content h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(3rem, 5.55vw, 5.35rem);
  letter-spacing: -0.055em;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.page-home .hero-content > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
}

.home-slide-messages {
  position: relative;
  width: min(100%, 680px);
  min-height: 132px;
  margin: 26px 0 10px;
}

.home-slide-message {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(100%, 650px);
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 5px solid #ff3037;
  border-radius: 22px;
  opacity: 0;
  color: white;
  background: rgba(17, 20, 23, 0.58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
  backdrop-filter: blur(10px);
}

.home-slide-message.is-active {
  opacity: 1;
  transform: translateY(0);
}

.home-slide-message strong,
.home-slide-message span {
  display: block;
}

.home-slide-message strong {
  margin-bottom: 6px;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.home-slide-message span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.page-home .home-hero-controls {
  z-index: 4;
  right: max(20px, calc((100vw - min(1180px, calc(100% - 40px))) / 2));
  bottom: 42px;
}

.page-home .legacy-content .home-section {
  width: min(1180px, calc(100% - 44px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding: clamp(72px, 8vw, 112px) 0 !important;
}

.page-home .legacy-content .home-section + .home-section {
  border-top: 0;
}

.home-section__intro--center {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.home-section__intro--center .eyebrow {
  justify-content: center;
}

.home-section__intro--center .eyebrow::before {
  width: 56px;
}

.home-benefits {
  margin-top: -68px !important;
  padding-top: 0 !important;
}

.home-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 23, 25, 0.11);
  border-radius: 0 0 28px 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 72px rgba(18, 25, 29, 0.14);
}

.home-benefit-card {
  min-height: 178px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(22px, 2.3vw, 32px);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-benefit-card:last-child {
  border-right: 0;
}

.home-benefit-card strong,
.home-benefit-card img {
  width: 56px;
  height: 56px;
}

.home-benefit-card strong {
  border-radius: 18px;
  font-size: 2.3rem;
}

.home-benefit-card h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.home-benefit-card p {
  font-size: 0.96rem;
  line-height: 1.55;
}

.home-benefit-card:hover,
.home-benefit-card:focus-within,
.home-benefit-card--accent {
  border-color: transparent;
  color: white;
  background: #157b82;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.home-showcase {
  padding-top: clamp(64px, 7vw, 100px) !important;
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
}

.home-showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(18, 25, 29, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-showcase-card--wide {
  grid-row: span 2;
}

.home-showcase-card:hover {
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
  box-shadow: 0 24px 70px rgba(18, 25, 29, 0.16);
  transform: translateY(-4px);
}

.home-showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-showcase-card--wide img {
  aspect-ratio: 16 / 11;
}

.home-showcase-card div {
  padding: clamp(22px, 3vw, 34px);
}

.home-showcase-card span,
.home-product-choice article::before {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-showcase-card h3 {
  margin-bottom: 8px;
}

.home-product-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-product-choice article {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 55px rgba(18, 25, 29, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}



.home-product-choice img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border-radius: 18px;
  object-fit: contain;
  background: linear-gradient(135deg, #f5f6f6, #fff);
}

.home-product-choice h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.48rem);
}

.home-product-choice p {
  color: var(--ink-soft);
}

.home-product-choice .button {
  align-self: flex-start;
  margin-top: auto;
}

.page-home .legacy-content a.button,
.page-home .legacy-content .button-primary,
.page-home .home-product-choice .button,
.page-home .home-suva .button,
.page-home .home-cta-panel .button {
  color: #fff !important;
  text-decoration: none !important;
}

.page-home .home-product-choice .button,
.page-home .home-suva .button,
.page-home .home-cta-panel .button {
  box-shadow: 0 12px 28px rgba(201, 22, 29, 0.22);
}

.page-home .home-product-choice .button:hover,
.page-home .home-suva .button:hover,
.page-home .home-cta-panel .button:hover,
.page-home .home-product-choice .button:focus-visible,
.page-home .home-suva .button:focus-visible,
.page-home .home-cta-panel .button:focus-visible {
  color: #fff !important;
  background: #a90f15;
  box-shadow: 0 16px 34px rgba(201, 22, 29, 0.3);
}

.home-quality {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.home-quality-panel {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 30px;
  color: white;
  background:
    linear-gradient(135deg, rgba(201, 22, 29, 0.96), rgba(143, 12, 17, 0.96)),
    url("/images/time_technology_metallwerkstatt.jpg") center / cover;
  box-shadow: 0 26px 72px rgba(201, 22, 29, 0.24);
}

.home-quality-panel h3 {
  color: white;
}

.home-quality-panel ul {
  margin: 0;
  padding-left: 1.2em;
}

.home-quality-panel li {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
}

.home-suva .suva-compliance-banner {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(0, 160, 180, 0.18);
}

.home-service {
  padding-bottom: clamp(88px, 10vw, 130px) !important;
}

.home-service-grid span:hover,
.home-service-grid span:focus-visible,
.home-component-grid span:hover,
.home-component-grid span:focus-visible {
  border-color: #157b82;
  color: white;
  background: #157b82;
  transform: translateY(-2px);
}

.home-service-grid span:hover::before,
.home-service-grid span:focus-visible::before {
  background: white;
}

.home-cta-panel {
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 22, 29, 0.28), transparent 34%),
    #101518;
  box-shadow: 0 24px 65px rgba(18, 25, 29, 0.18);
}

@media (max-width: 1040px) {
  .home-benefit-grid,
  .home-product-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-showcase-grid,
  .home-quality {
    grid-template-columns: 1fr;
  }

  .home-benefit-card:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .page-home .site-hero {
    min-height: 680px;
  }

  .page-home .hero-content {
    padding-block: 0;
    margin-top: 0;
  }

  .home-slide-messages {
    min-height: 168px;
  }

  .home-slide-message {
    padding: 18px;
  }

  .home-benefits {
    margin-top: -46px !important;
  }

  .home-benefit-grid,
  .home-product-choice,
  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-benefit-card,
  .home-benefit-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-benefit-card:last-child {
    border-bottom: 0;
  }

  .home-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Modern dark navigation for the homepage */
.page-home .site-header {
  background: rgba(18, 21, 23, 0.94);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 38px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.page-home .header-main {
  min-height: 74px;
  background: transparent;
}

.page-home .header-strip {
  background: rgba(255, 255, 255, 0.095);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.page-home .header-strip-inner {
  min-height: 38px;
}

.page-home .header-strip-inner > span {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
  letter-spacing: 0.01em;
  padding-left: 0;
}



.page-home .header-strip .header-strip-inner a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94) !important;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.page-home .header-strip .header-strip-inner a:hover,
.page-home .header-strip .header-strip-inner a:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(201, 22, 29, 0.32);
  transform: translateY(-1px);
}

.page-home .brand {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .brand img {
  width: 148px;
  height: 64px;
}

.page-home .primary-nav > ul > li > .nav-item-row > a {
  color: rgba(255, 255, 255, 0.9);
}

.page-home .primary-nav > ul > li > .nav-item-row > a:hover,
.page-home .primary-nav > ul > li > .nav-item-row > a:focus-visible,
.page-home .primary-nav > ul > li > .nav-item-row > a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.page-home .primary-nav > ul > li > .nav-item-row > .nav-cta {
  color: #fff;
  background: var(--red);
}

.page-home .primary-nav > ul > li > .nav-item-row > .nav-cta:hover,
.page-home .primary-nav > ul > li > .nav-item-row > .nav-cta:focus-visible {
  background: #e21d25;
}

.page-home .submenu-toggle {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .submenu {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 22, 24, 0.96);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.page-home .primary-nav > ul > li > .submenu {
  top: calc(100% + 48px);
}

.page-home .primary-nav > ul > li > .submenu::before {
  height: 50px;
}

.page-home .submenu .submenu-nested {
  top: -10px;
}

.page-home .submenu a,
.page-home .submenu .submenu-toggle {
  color: rgba(255, 255, 255, 0.88);
}

.page-home .submenu a:hover,
.page-home .submenu a:focus-visible {
  color: #fff;
  background: rgba(201, 22, 29, 0.26);
}

@media (max-width: 1040px) {
  .page-home .brand {
    border-radius: 16px;
  }

  .page-home .nav-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
  }

  .page-home .primary-nav {
    background: rgba(18, 22, 24, 0.98);
  }
}
