:root {
  --bg: #070809;
  --panel: rgba(20, 22, 23, .76);
  --panel-strong: rgba(31, 33, 34, .92);
  --line: rgba(255, 255, 255, .12);
  --text: #f4f1ea;
  --muted: #bbb6ab;
  --accent: #c9a45d;
  --accent-2: #79aeb4;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 24%, rgba(201, 164, 93, .12), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(121, 174, 180, .10), transparent 24%),
    linear-gradient(135deg, #050607 0%, #121416 48%, #090a0b 100%);
}

a {
  color: inherit;
}

.navbar {
  padding: 18px 0;
  background: rgba(7, 8, 9, .64);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
  transition: padding .25s ease, background .25s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(7, 8, 9, .92);
}

.navbar-brand img {
  height: 64px;
  width: auto;
  transition: height .25s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 54px;
}

.nav-link {
  color: rgba(244, 241, 234, .76);
  font-size: .93rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.language-switch a {
  min-width: 32px;
  padding: 5px 8px;
  color: rgba(244, 241, 234, .72);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.is-active {
  color: #16130c;
  background: var(--accent);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.btn-accent {
  color: #111;
  background: linear-gradient(135deg, #f1d898, var(--accent));
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 14px 34px rgba(201, 164, 93, .25);
}

.btn-accent:hover {
  color: #050505;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(201, 164, 93, .34);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 9, .96) 0%, rgba(7, 8, 9, .82) 37%, rgba(7, 8, 9, .2) 72%),
    url("../img/hero-industrial-materials.png") center right / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.section-full,
.section-pad {
  position: relative;
}

.section-pad {
  padding: 110px 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
  border-block: 1px solid rgba(255, 255, 255, .08);
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .14em;
  margin-bottom: 18px;
}

.display-title {
  max-width: 950px;
  font-size: clamp(2.05rem, 4.1vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 850;
  margin-bottom: 28px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3.7vw, 3.45rem);
  line-height: 1.06;
  font-weight: 840;
  letter-spacing: 0;
  margin: 0;
}

h3 {
  font-size: 1.13rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.hero-lead,
.section-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.26rem);
  line-height: 1.72;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 34px;
}

.hero-panel,
.info-card,
.material-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  border-radius: 8px;
}

.hero-panel {
  padding: 32px;
}

.mobile-material-areas {
  display: none;
}

.hero-panel span {
  display: block;
  color: var(--accent-2);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-panel strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-panel p,
.info-card p,
.material-card p,
.process-list p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

.info-card,
.material-card {
  height: 100%;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.info-card {
  padding: 30px;
}

.material-card {
  padding: 0;
  overflow: hidden;
}

.info-card:hover,
.material-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 93, .45);
  background: var(--panel-strong);
}

.info-card i,
.material-card i {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 6px;
  color: var(--accent);
  background: rgba(201, 164, 93, .1);
  border: 1px solid rgba(201, 164, 93, .22);
  font-size: 1.35rem;
}

.material-card-image {
  position: relative;
  width: 100%;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111518;
  border: 0;
  cursor: zoom-in;
}

.material-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 8, 9, .34));
  pointer-events: none;
}

.material-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.material-card:hover .material-card-image img {
  filter: brightness(1.06);
  transform: scale(1.045);
}

.material-card-image:focus-visible {
  outline: 3px solid rgba(232, 196, 118, .82);
  outline-offset: -3px;
}

.material-card-body {
  padding: 24px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  color: var(--muted);
  line-height: 1.72;
  margin-top: 24px;
  font-size: 1.1rem;
}

.sortiment-peek {
  display: none;
}

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

.process-list {
  display: grid;
  gap: 18px;
}

.process-list > div {
  padding: 24px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list span {
  display: inline-block;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 12px;
}

.process-list strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.split-band {
  background:
    linear-gradient(110deg, rgba(201, 164, 93, .11), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  border-block: 1px solid rgba(255, 255, 255, .08);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tag-cloud span {
  color: #ede7dc;
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .94rem;
}

.logistics-visual {
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logistics-gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border-radius: 8px;
  background: #111518;
  border: 1px solid rgba(255, 255, 255, .1);
  cursor: zoom-in;
  overflow: hidden;
  animation: floatTile 8s ease-in-out infinite;
}

.logistics-gallery-item::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16130c;
  background: rgba(232, 196, 118, .92);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.logistics-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
  object-fit: cover;
  transition: transform .32s ease, filter .32s ease;
}

.logistics-gallery-item:hover img,
.logistics-gallery-item:focus-visible img {
  filter: brightness(1.08);
  transform: scale(1.045);
}

.logistics-gallery-item:hover::after,
.logistics-gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.logistics-gallery-item:focus-visible {
  outline: 3px solid rgba(232, 196, 118, .82);
  outline-offset: 3px;
}

.logistics-gallery-item:nth-child(2),
.logistics-gallery-item:nth-child(3) {
  animation-delay: -3s;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 32px;
  background: rgba(3, 4, 5, .92);
  backdrop-filter: blur(12px);
}

.lightbox.is-open {
  display: flex;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-content {
  width: min(1040px, 100%);
  margin: 0;
}

.lightbox-content img {
  width: 100%;
  max-height: calc(100vh - 170px);
  display: block;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #080a0b;
  box-shadow: var(--shadow);
}

.lightbox-content figcaption {
  margin-top: 14px;
  color: rgba(244, 241, 234, .78);
  text-align: center;
  font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  color: #16130c;
  background: var(--accent);
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-prev {
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list i {
  color: var(--accent);
}

.contact-section {
  background:
    radial-gradient(circle at 75% 30%, rgba(201, 164, 93, .16), transparent 34%),
    #090a0b;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-card {
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 32px;
  font-style: normal;
}

.contact-logo {
  width: 116px;
  height: auto;
  margin-bottom: 8px;
}

.contact-card strong {
  font-size: 1.35rem;
}

.contact-card span {
  color: var(--muted);
}

.contact-card a {
  color: var(--text);
  text-decoration-color: rgba(201, 164, 93, .5);
}

.site-footer {
  padding: 28px 0;
  color: rgba(244, 241, 234, .62);
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #050607;
  font-size: .94rem;
}

.footer-group {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(244, 241, 234, .5);
}

.footer-group a {
  color: rgba(232, 196, 118, .9);
  text-decoration-color: rgba(232, 196, 118, .42);
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: var(--accent);
}

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

.footer-links a {
  color: rgba(244, 241, 234, .72);
  text-decoration-color: rgba(244, 241, 234, .28);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.legal-page {
  padding: 160px 0 92px;
}

.legal-content {
  max-width: 880px;
}

.legal-content h1 {
  max-width: 780px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 28px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
}

.legal-content a {
  color: var(--accent);
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2100;
  width: min(560px, calc(100vw - 36px));
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  background: rgba(12, 14, 15, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-consent p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatTile {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 14px;
    padding: 14px;
    background: rgba(7, 8, 9, .96);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .language-switch {
    align-self: flex-start;
    margin: 10px 0 0;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 8, 9, .98) 0%, rgba(7, 8, 9, .9) 48%, rgba(7, 8, 9, .72) 100%),
      url("../img/hero-industrial-materials.png") center right / cover no-repeat;
  }

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

@media (max-width: 767.98px) {
  html,
  body {
    overflow-x: clip;
  }

  .section-pad {
    padding: 78px 0;
  }

  .display-title {
    font-size: clamp(1.48rem, 6.2vw, 2rem);
    line-height: 1.08;
    margin-bottom: 14px;
  }

  h2 {
    font-size: clamp(1.55rem, 6.4vw, 2.12rem);
  }

  .hero .row {
    min-height: auto !important;
    padding-top: 90px;
    padding-bottom: 18px;
  }

  .hero-lead {
    margin-bottom: 14px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .9rem;
    line-height: 1.42;
  }

  .hero .d-flex {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px !important;
  }

  .hero .btn-lg {
    width: auto;
    min-height: 42px;
    padding: 9px 12px;
    font-size: .9rem;
  }

  .hero .col-lg-5 {
    display: none;
  }

  .mobile-material-areas {
    display: block;
    padding: 0 0 64px;
    border-top: 0;
  }

  .navbar-brand img {
    height: 48px;
    max-width: 144px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 44px;
  }

  .navbar > .container {
    max-width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  .navbar-brand {
    min-width: 0;
  }

  .navbar-toggler {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .navbar-collapse {
    width: 100%;
    max-width: 100%;
  }

  .container > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .container > .row > * {
    padding-right: 0;
    padding-left: 0;
  }

  #sortiment.section-pad {
    padding-top: 18px;
  }

  #sortiment .section-heading {
    margin-bottom: 22px;
  }

  .sortiment-peek {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 24px;
  }

  .sortiment-peek button {
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: #111518;
    cursor: zoom-in;
  }

  .sortiment-peek button:focus-visible {
    outline: 3px solid rgba(232, 196, 118, .82);
    outline-offset: 2px;
  }

  .sortiment-peek img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  #sortiment .section-heading p:last-child {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .98rem;
    line-height: 1.52;
  }

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

  .hero-panel,
  .info-card,
  .contact-card {
    padding: 24px;
  }

  .material-card {
    display: grid;
    grid-template-columns: minmax(112px, 38%) 1fr;
    min-height: 172px;
  }

  .material-card-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .material-card-body {
    min-width: 0;
    padding: 18px;
  }

  .material-card i {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    font-size: 1.12rem;
  }

  .material-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .material-card p {
    font-size: .9rem;
    line-height: 1.52;
  }

  .logistics-visual {
    min-height: 280px;
    gap: 10px;
    padding: 12px;
  }

  .logistics-gallery-item img {
    min-height: 128px;
  }

  .lightbox {
    padding: 72px 12px 28px;
  }

  .lightbox-content img {
    max-height: calc(100vh - 220px);
  }

  .lightbox-content figcaption {
    margin-bottom: 58px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 56px);
  }

  .lightbox-next {
    right: calc(50% - 56px);
  }

  .btn-lg {
    width: 100%;
  }

  .hero .btn-lg {
    width: auto;
  }

  .legal-page {
    padding: 136px 0 72px;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .logistics-gallery-item img,
  .logistics-gallery-item::after {
    transition: none !important;
  }
}
