:root {
  --ink: #17191c;
  --muted: #5d646d;
  --line: #d8dde3;
  --paper: #ffffff;
  --soft: #f5f6f7;
  --brand: #d71920;
  --brand-dark: #93171c;
  --steel: #283139;
  --gold: #c9a646;
  --shadow: 0 20px 55px rgba(23, 25, 28, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 24px);
  min-height: 96px;
  padding: 8px clamp(18px, 4vw, 56px) 10px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 221, 227, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  grid-template-rows: auto auto;
  align-items: start;
  flex: 0 1 clamp(310px, 25vw, 442px);
  min-width: 0;
  gap: 2px;
  text-decoration: none;
}

.brand__logo {
  width: clamp(170px, 14vw, 216px);
  height: auto;
}

.brand__cable {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 82%, rgba(0, 0, 0, 0) 100%);
}

.header-seal {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
  color: var(--steel);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  align-content: end;
  padding: clamp(96px, 14vh, 170px) clamp(20px, 5vw, 72px) clamp(26px, 4vw, 42px);
  color: #fff;
  overflow: hidden;
  background: #17191c;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 18, 20, 0.78) 0%, rgba(16, 18, 20, 0.5) 48%, rgba(16, 18, 20, 0.05) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 12px;
  background: linear-gradient(90deg, var(--brand), var(--gold), #fff);
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s ease, transform 7s ease;
}

.hero__slideshow img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
}

.hero__name {
  color: var(--brand);
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.hero__seal {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 24px;
  padding: 17px 22px 17px 17px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.hero__seal img {
  width: 125px;
  height: 125px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
}

.hero__seal strong,
.hero__seal span {
  display: block;
}

.hero__seal strong {
  font-size: 1.38rem;
  line-height: 1.1;
}

.hero__seal span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(23, 25, 28, 0.2);
}

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

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.section--contact .button--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.45);
}

.button--dark {
  color: #fff;
  background: var(--steel);
}

.hero__facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, 100%);
  margin-top: clamp(60px, 12vh, 120px);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero__facts div {
  min-height: 98px;
  padding: 20px;
  background: rgba(16, 18, 20, 0.58);
}

.hero__facts strong,
.hero__facts span {
  display: block;
}

.hero__facts strong {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.hero__facts span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.section {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section__inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.intro {
  padding-block: clamp(40px, 7vw, 82px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: center;
}

.intro p:last-child {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: clamp(34px, 5vw, 54px);
}

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

.service-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--brand);
  font-weight: 900;
}

.service-grid p {
  color: var(--muted);
}

.section--media {
  background: var(--steel);
  color: #fff;
}

.section--media .eyebrow {
  color: var(--brand);
}

.section--contact .eyebrow {
  color: #ffdadc;
}

.section--media p {
  color: rgba(255, 255, 255, 0.82);
}

.split,
.map-grid,
.contact-grid,
.hours-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.media-stack {
  display: grid;
  gap: 14px;
}

.media-stack > img,
.media-stack__pair img,
.hours-grid img,
.route-card {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-stack__pair {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 14px;
}

.media-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stack img.media-stack__fit {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.media-stack > img {
  aspect-ratio: 16 / 7;
}

.media-stack__pair img {
  aspect-ratio: 1 / 1;
}

.story p {
  margin-bottom: 14px;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.gallery-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.gallery-slider {
  display: grid;
  gap: 14px;
}

.gallery-slider__stage {
  position: relative;
  min-height: clamp(340px, 50vw, 640px);
  overflow: hidden;
  border-radius: 8px;
  background: #11161a;
  box-shadow: var(--shadow);
}

.gallery-slider__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(10px, 2vw, 18px);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.gallery-slider__stage img.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-slider__controls {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
}

.gallery-slider__button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-slider__button:hover,
.gallery-slider__button:focus-visible {
  color: #fff;
  background: var(--brand);
}

.gallery-slider__counter {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.section--accent {
  background: #f1f3f4;
}

.hours {
  margin-bottom: 0;
  color: var(--brand);
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  font-weight: 900;
  line-height: 0.96;
}

.hours-grid img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

.map-grid {
  align-items: stretch;
}

address {
  margin: 0 0 26px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.route-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 46px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(23, 25, 28, 0.9), rgba(40, 49, 57, 0.72)),
    url("assets/kabel-detail.jpg") center / cover no-repeat;
}

.route-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  border: 28px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.route-card > * {
  position: relative;
  z-index: 1;
}

.route-card__label {
  margin-bottom: 18px;
  color: #ffdadc;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-card h3 {
  max-width: 520px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.route-card p {
  color: rgba(255, 255, 255, 0.8);
}

.route-card--map {
  padding: 0;
  border: 1px solid var(--line);
  background: #eef1f4;
}

.route-card--map::after {
  display: none;
}

.route-card--map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.route-card--map .button {
  position: absolute;
  left: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 2;
  width: min(360px, calc(100% - 36px));
  box-shadow: 0 16px 36px rgba(23, 25, 28, 0.22);
}

.section--contact {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(147, 23, 28, 0.96), rgba(40, 49, 57, 0.9)),
    url("assets/kontakt-header.jpg") center / cover no-repeat;
}

.section--contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.contact-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-list dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.iban-line {
  display: inline-block;
  white-space: nowrap;
}

.notice {
  border-color: rgba(255, 255, 255, 0.44) !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.section--compact {
  padding-block: clamp(46px, 7vw, 78px);
  background: var(--soft);
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal {
  background: var(--paper);
}

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

.legal-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-grid p,
.disclaimer p {
  color: var(--muted);
}

.disclaimer {
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.disclaimer summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.site-footer p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  white-space: nowrap;
}

.site-footer img {
  flex: 0 0 auto;
}

.site-footer > div:first-child img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.footer-links {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.footer-links a:first-child {
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-links img {
  width: 169px;
  height: 23px;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(760px, calc(100vw - 28px));
  padding: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(23, 25, 28, 0.96);
  box-shadow: 0 24px 70px rgba(23, 25, 28, 0.34);
}

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

.cookie-banner__text h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cookie-banner__text p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.cookie-banner__text a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    min-height: 72px;
    padding-block: 8px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
  }

  .brand__logo {
    width: min(260px, 54vw);
  }

  .brand__cable {
    display: none;
  }

  .header-seal {
    width: 57px;
    height: 57px;
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero__facts,
  .intro__grid,
  .split,
  .gallery-grid,
  .map-grid,
  .contact-grid,
  .hours-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-list {
    grid-template-columns: 1fr;
  }

  .route-card {
    min-height: 360px;
  }

  .gallery-slider__stage {
    min-height: 430px;
  }

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

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand {
    width: auto;
  }

  .brand__logo {
    width: min(205px, 50vw);
  }

  .header-seal {
    width: 49px;
    height: 49px;
  }

  .hero {
    padding-inline: 18px;
    background-position: 58% center;
  }

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

  .button {
    width: 100%;
  }

  .hero__seal {
    width: 100%;
  }

  .hero__seal img {
    width: 103px;
    height: 103px;
  }

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

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

  .service-grid span {
    margin-bottom: 26px;
  }

  .download-band,
  .site-footer,
  .site-footer > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    white-space: normal;
  }

  .hours {
    font-size: 3rem;
  }

  .gallery-slider__stage {
    min-height: 300px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
