/* ============================================================
   Ilse E.C. Rüssau e.K. - Elektrogroßhandel für Schiffs- und
   Industriebedarf, Hamburg. Statische Website, kein Build-Step.
   ============================================================ */

/* ---------- Font (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #081421;
  --navy-900: #0b1d2e;
  --navy-800: #102a40;
  --navy-700: #16354f;

  --paper: #f5f7f9;
  --card: #ffffff;
  --line: #dde4ea;
  --line-dark: rgba(255, 255, 255, 0.14);

  --ink: #1c2b38;
  --muted: #53636f;
  --on-dark: #c9d6e1;
  --on-dark-strong: #ffffff;

  --red: #b5322a;
  --red-deep: #992a23;
  --red-bright: #cf463c;

  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 46, 0.06), 0 2px 8px rgba(11, 29, 46, 0.06);
  --shadow-md: 0 2px 4px rgba(11, 29, 46, 0.07), 0 12px 32px rgba(11, 29, 46, 0.1);

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 36px);
  --section-y: clamp(72px, 9vw, 128px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.no-motion {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(181, 50, 42, 0.12);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

a:hover {
  color: var(--red-deep);
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.9rem);
  font-weight: 740;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 720;
}

h3 {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.008em;
}

p {
  margin: 0 0 1em;
}

.muted {
  color: var(--muted);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main,
section {
  scroll-margin-top: 84px;
}

/* Ohne JavaScript: Header nur ueber dem dunklen Hero, JS-gebundene Bedienelemente aus */
html:not(.js) .site-header {
  position: absolute;
}

html:not(.js) .marquee__toggle,
html:not(.js) #map-load,
html:not(.js) .form__grid,
html:not(.js) .form__foot .btn {
  display: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 180ms var(--ease-out);
}

.skip-link:focus-visible {
  top: 0;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 150ms var(--ease-out), background-color 180ms ease,
    border-color 180ms ease, color 180ms ease, box-shadow 200ms ease;
}

.btn--primary:hover,
.btn--outline:hover {
  transform: translateY(-1px);
}

.btn--primary:hover {
  box-shadow: 0 8px 20px rgba(181, 50, 42, 0.28);
}

.btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

.btn .icon {
  width: 19px;
  height: 19px;
  transition: transform 220ms var(--ease-out);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-deep);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--outline {
  border-color: var(--line);
  color: var(--navy-900);
  background: var(--card);
}

.btn--outline:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__chip {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  flex: none;
}

.brand__chip img {
  display: block;
  width: 132px;
  height: 33px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand__name {
  font-weight: 720;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  transition: color 240ms ease;
}

.brand__claim {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition: color 240ms ease;
}

.main-nav ul {
  display: flex;
  gap: clamp(16px, 2.2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 560;
  font-size: 1rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover {
  color: #fff;
  border-color: var(--red);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(11, 29, 46, 0.07);
}

.site-header.scrolled .brand__name {
  color: var(--navy-900);
}

.site-header.scrolled .brand__claim {
  color: var(--muted);
}

.site-header.scrolled .main-nav a {
  color: var(--ink);
}

.site-header.scrolled .main-nav a:hover {
  color: var(--navy-900);
}

/* Header-Variante für Unterseiten (Impressum/Datenschutz) */
.site-header--solid {
  position: sticky;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.site-header--solid .brand__name {
  color: var(--navy-900);
}

.site-header--solid .brand__claim {
  color: var(--muted);
}

.site-header--solid .main-nav a {
  color: var(--ink);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin: -10px;
  cursor: pointer;
  color: #fff;
  touch-action: manipulation;
}

.site-header.scrolled .nav-toggle,
.site-header--solid .nav-toggle {
  color: var(--navy-900);
}

.nav-toggle .icon {
  width: 28px;
  height: 28px;
}

.nav-toggle .icon--close {
  display: none;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 240ms var(--ease-out), opacity 240ms ease,
      visibility 0s 240ms;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 280ms var(--ease-out), opacity 200ms ease;
  }

  body.nav-open .site-header {
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
  }

  body.nav-open .brand__name {
    color: var(--navy-900);
  }

  body.nav-open .brand__claim {
    color: var(--muted);
  }

  body.nav-open .nav-toggle {
    color: var(--navy-900);
  }

  body.nav-open .nav-toggle .icon--open {
    display: none;
  }

  body.nav-open .nav-toggle .icon--close {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 16px 2px;
    font-size: 1.125rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .main-nav li:last-child a {
    border-bottom-color: transparent;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Ken-Burns-Settle: das Hafenpanorama kommt beim Laden sanft zur Ruhe */
.js:not(.no-motion) .hero__bg {
  animation: hero-settle 7s var(--ease-smooth) both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.07);
  }

  to {
    transform: scale(1);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(8, 20, 33, 0.92) 0%,
      rgba(8, 20, 33, 0.72) 42%,
      rgba(8, 20, 33, 0.38) 75%,
      rgba(8, 20, 33, 0.45) 100%
    ),
    linear-gradient(to top, rgba(8, 20, 33, 0.96) 0%, rgba(8, 20, 33, 0) 34%);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 96px;
}

.hero h1 {
  color: #fff;
  max-width: 22ch;
  margin-bottom: 0.45em;
}

.hero__sub {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--on-dark);
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Einfahrende Textzeilen */
.js:not(.no-motion) [data-rise] {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 750ms var(--ease-smooth) forwards;
  animation-delay: calc(500ms + var(--d, 0) * 160ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Fakten-Strip
   ============================================================ */
.facts {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.facts .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  padding-block: clamp(36px, 5vw, 56px);
}

.fact {
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

.fact__value {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 740;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.fact__label {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .facts .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px var(--gutter);
  }
}

/* ============================================================
   Über uns
   ============================================================ */
.about {
  padding-block: var(--section-y);
}

.about .container {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.6;
}

.about__media figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

.about__badge {
  position: absolute;
  right: -14px;
  top: -14px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.2;
}

.about__badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}

.about__badge span {
  font-size: 0.8125rem;
  color: var(--on-dark);
}

.about__text p {
  color: var(--muted);
}

.about__text p strong {
  color: var(--ink);
  font-weight: 620;
}

.about__sign {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.about__sign div span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}

.about__sign div strong {
  font-weight: 650;
  color: var(--navy-900);
}

@media (max-width: 860px) {
  .about .container {
    grid-template-columns: 1fr;
  }

  .about__media {
    order: 2;
  }

  .about__media img {
    aspect-ratio: 4 / 3;
  }

  .about__badge {
    right: 12px;
    top: 12px;
  }
}

/* ============================================================
   Leistungen
   ============================================================ */
.services {
  background: #fff;
  border-block: 1px solid var(--line);
  padding-block: var(--section-y);
}

.services__head {
  max-width: 64ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.services__head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service {
  background: #fff;
  padding: clamp(24px, 3vw, 36px);
  transition: background-color 200ms ease;
}

.service:hover {
  background: var(--paper);
}

.service .icon {
  width: 30px;
  height: 30px;
  color: var(--red);
  margin-bottom: 16px;
}

.service h3 {
  margin-bottom: 0.35em;
}

.service p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 1020px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Produkte
   ============================================================ */
.products {
  padding-block: var(--section-y);
}

.products__head {
  max-width: 64ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.products__head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.product-card {
  grid-column: span 4;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-card__head .icon {
  width: 26px;
  height: 26px;
  color: var(--red);
}

.product-card h3 {
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.product-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  font-size: 0.9375rem;
  color: var(--muted);
}

.product-card ul li {
  padding: 8px 0 8px 16px;
  position: relative;
  break-inside: avoid;
}

.product-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 7px;
  height: 2px;
  background: var(--red);
}

.product-card--wide {
  grid-column: span 8;
}

.product-card--wide ul {
  columns: 2;
  column-gap: 28px;
}

/* Foto-Karte */
.product-card--photo {
  padding: 0;
  overflow: hidden;
}

.product-card--photo img {
  width: 100%;
  aspect-ratio: 16 / 7.2;
  object-fit: cover;
  transition: transform 500ms var(--ease-smooth);
}

.product-card--photo:hover img {
  transform: scale(1.04);
}

.product-card--photo .product-card__body {
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Dunkle Karte (Ex-Schutz) */
.product-card--dark {
  background: var(--navy-900);
  border-color: var(--navy-800);
}

.product-card--dark h3 {
  color: #fff;
}

.product-card--dark ul {
  color: var(--on-dark);
}

.product-card--dark p {
  color: var(--on-dark);
  font-size: 0.9375rem;
  margin: 0;
}

.products__note {
  grid-column: span 8;
  justify-content: center;
  padding: 24px 28px;
  background: #eef2f5;
  border: 0;
  box-shadow: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--muted);
}

.products__note:hover {
  transform: none;
  box-shadow: none;
}

.products__note p {
  margin: 0;
}

.products__note strong {
  color: var(--ink);
}

@media (max-width: 1020px) {
  .product-card,
  .product-card--wide {
    grid-column: span 6;
  }

  .product-card--wide ul {
    columns: 1;
  }
}

@media (max-width: 680px) {
  .product-card,
  .product-card--wide {
    grid-column: span 12;
  }
}

/* ============================================================
   Marken
   ============================================================ */
.brands {
  background: var(--navy-900);
  color: #fff;
  padding-block: clamp(56px, 7vw, 88px);
  overflow: hidden;
}

.brands .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.brands h2 {
  color: #fff;
  margin: 0;
}

.brands__hint {
  color: var(--on-dark);
  font-size: 0.9375rem;
  margin: 0;
}

.marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.marquee__row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex: none;
  min-width: 100%;
  animation: marquee 64s linear infinite;
}

.marquee__row--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 74s;
}

.marquee.paused .marquee__track,
.no-motion .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.marquee__track span {
  font-weight: 640;
  font-size: 1.1875rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.marquee__track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
  flex: none;
}

.marquee__toggle {
  margin-top: 32px;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 180ms ease, color 180ms ease;
}

.marquee__toggle:hover {
  border-color: #fff;
  color: #fff;
}

/* ============================================================
   Hafen-Band (Divider)
   ============================================================ */
.harbor {
  position: relative;
  min-height: clamp(380px, 52vh, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.harbor__bg {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: center 82%;
}

@supports (animation-timeline: view()) {
  .js:not(.no-motion) .harbor__bg {
    animation: harbor-parallax linear both;
    animation-timeline: view();
  }

  @keyframes harbor-parallax {
    from {
      transform: translateY(-4%);
    }

    to {
      transform: translateY(4%);
    }
  }
}

.harbor__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 20, 33, 0.94) 22%, rgba(8, 20, 33, 0.68) 62%, rgba(8, 20, 33, 0.42));
}

.harbor .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 72px;
}

.harbor p.lead {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  max-width: 22ch;
  margin: 0 0 14px;
  color: #fff;
  text-wrap: balance;
}

.harbor p.sub {
  color: var(--on-dark);
  max-width: 48ch;
  margin: 0;
  font-size: 1.0625rem;
}

/* ============================================================
   Kontakt
   ============================================================ */
.contact {
  padding-block: var(--section-y);
}

.contact__head {
  max-width: 64ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.contact__head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact__card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-md);
}

.contact__row {
  display: flex;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-dark);
  align-items: flex-start;
}

.contact__row:first-child {
  padding-top: 0;
}

.contact__row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact__row .icon {
  color: var(--red-bright);
  width: 22px;
  height: 22px;
  margin-top: 4px;
}

.contact__row a {
  color: #fff;
  text-decoration: none;
}

.contact__row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #fff;
}

.contact__row .label {
  display: block;
  font-size: 0.8125rem;
  color: var(--on-dark);
  margin-bottom: 4px;
}

.contact__row strong {
  font-weight: 640;
  font-size: 1.0625rem;
}

.contact__row .big {
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.contact__hours {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.contact__hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.contact__hours dt {
  color: var(--on-dark);
}

.contact__hours dd {
  margin: 0;
  font-weight: 600;
}

/* Formular */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-900);
}

.form label span {
  color: var(--muted);
  font-weight: 400;
}

.form input,
.form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--muted);
}

.form input:focus-visible,
.form textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 0;
  border-color: var(--red);
  background: #fff;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form__error {
  display: none;
  font-size: 0.875rem;
  color: var(--red-deep);
}

.form__field.invalid .form__error {
  display: block;
}

.form__field.invalid input,
.form__field.invalid textarea {
  border-color: var(--red);
}

.form__foot {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form__hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  max-width: 40ch;
}

@media (max-width: 920px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Anfahrt
   ============================================================ */
.route {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-block: var(--section-y);
}

.route .container {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.route__text p {
  color: var(--muted);
}

.route__text address {
  font-style: normal;
  font-weight: 620;
  color: var(--navy-900);
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 16px 0 24px;
}

.route__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  min-height: 380px;
  box-shadow: var(--shadow-md);
}

.route__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.route__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  color: var(--on-dark);
  padding: 32px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
}

.route__consent .icon {
  width: 34px;
  height: 34px;
  color: var(--red);
}

.route__consent p {
  max-width: 44ch;
  font-size: 0.9375rem;
  margin: 0;
}

@media (max-width: 920px) {
  .route .container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark);
  padding-top: clamp(52px, 6vw, 80px);
}

.site-footer--compact {
  padding-top: 0;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 48px;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 16px;
}

.site-footer p {
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .brand {
  margin-bottom: 18px;
}

.site-footer .brand__name,
.site-footer .brand__claim {
  color: #fff;
}

.site-footer .brand__claim {
  color: var(--on-dark);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9375rem;
}

.footer-legal {
  border-top: 1px solid var(--line-dark);
}

.footer-legal .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  font-size: 0.875rem;
}

.footer-legal nav {
  display: flex;
  gap: 24px;
}

@media (max-width: 860px) {
  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   Unterseiten (Impressum / Datenschutz)
   ============================================================ */
.legal-page {
  padding-block: clamp(48px, 7vw, 96px);
  background: #fff;
}

.legal-page .container {
  max-width: 780px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal-page h2 {
  font-size: 1.3125rem;
  margin-top: 2.2em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page strong {
  color: var(--ink);
}

/* ============================================================
   Scroll-Reveals
   ============================================================ */
.js:not(.no-motion) .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease-smooth), transform 650ms var(--ease-smooth);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js:not(.no-motion) .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* "Bare"-Reveal: Element selbst bleibt sichtbar, .in dient nur als Trigger fuer Kind-Animationen */
.js:not(.no-motion) .reveal--bare {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Foto-Reveals: Bilder schaerfen sich beim Einblenden (Blur maskiert den Uebergang) */
.reveal--media img {
  transition: filter 900ms var(--ease-smooth), transform 1100ms var(--ease-smooth);
}

.js:not(.no-motion) .reveal--media.reveal:not(.in) img {
  filter: blur(14px);
  transform: scale(1.05);
}

/* ============================================================
   Zeitstrahl (Über uns)
   ============================================================ */
.timeline-wrap {
  margin-top: clamp(56px, 7vw, 88px);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--line);
  transform-origin: left;
  transition: transform 1.2s var(--ease-smooth) 150ms;
}

.js:not(.no-motion) .timeline:not(.in)::before {
  transform: scaleX(0);
}

.timeline__item {
  position: relative;
  padding-top: 32px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--red);
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(300ms + var(--i, 0) * 180ms);
}

.js:not(.no-motion) .timeline:not(.in) .timeline__item::before {
  transform: scale(0);
}

.timeline__year {
  display: block;
  font-weight: 740;
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.timeline__item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline::before {
    top: 8px;
    bottom: 8px;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
    transform-origin: top;
  }

  .js:not(.no-motion) .timeline:not(.in)::before {
    transform: scaleY(0);
  }

  .timeline__item {
    padding-top: 0;
    padding-left: 32px;
  }
}

/* ============================================================
   Leistungen: Kopf mit Foto + Icon-Pop
   ============================================================ */
.services__head--split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.services__head--split .services__head {
  margin-bottom: 0;
}

.services__photo img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

@media (max-width: 860px) {
  .services__head--split {
    grid-template-columns: 1fr;
  }
}

.service .icon {
  transition: transform 550ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i, 0) * 90ms + 180ms),
    opacity 300ms var(--ease-smooth) calc(var(--i, 0) * 90ms + 180ms);
}

.js:not(.no-motion) .service.reveal:not(.in) .icon {
  transform: scale(0.4);
  opacity: 0;
}

/* ============================================================
   Ablauf (Bestellprozess)
   ============================================================ */
.process {
  padding-block: var(--section-y);
}

.process__head {
  max-width: 64ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.process__head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.process__steps {
  --step-gap: clamp(24px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--step-gap);
  position: relative;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc(25% - 0.75 * var(--step-gap) - 28px);
  height: 2px;
  background: var(--line);
  transform-origin: left;
  transition: transform 1.2s var(--ease-smooth) 200ms;
}

.js:not(.no-motion) .process__steps:not(.in)::before {
  transform: scaleX(0);
}

.process__step {
  position: relative;
}

.process__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  margin-bottom: 18px;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(260ms + var(--i, 0) * 170ms);
}

.js:not(.no-motion) .process__steps:not(.in) .process__num {
  transform: scale(0);
}

.process__num .icon {
  width: 24px;
  height: 24px;
}

.process__step h3 {
  margin-bottom: 0.3em;
}

.process__step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .process__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process__steps::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    transform-origin: top;
  }

  .js:not(.no-motion) .process__steps:not(.in)::before {
    transform: scaleY(0);
  }

  .process__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .process__num {
    margin-bottom: 0;
  }
}

/* ============================================================
   Blueprint: Bordelektrik an Bord
   ============================================================ */
.blueprint {
  background: var(--navy-900);
  color: #fff;
  padding-block: var(--section-y);
  overflow: hidden;
}

.blueprint h2 {
  color: #fff;
}

.blueprint__head {
  max-width: 64ch;
}

.blueprint__head p {
  color: var(--on-dark);
  font-size: 1.125rem;
}

.blueprint__layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 52px);
}

.blueprint__stage {
  background: var(--navy-950);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(10px, 1.5vw, 20px);
}

.blueprint__svg {
  display: block;
  width: 100%;
  height: auto;
}

.bp-draw {
  fill: none;
  stroke: #bfd9ea;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.35s var(--ease-smooth) calc(var(--d, 0) * 1ms);
}

.js:not(.no-motion) .blueprint__stage:not(.in) .bp-draw {
  stroke-dashoffset: 1;
}

.bp-water {
  stroke: #6fa8c9;
  stroke-dasharray: 10 8;
  stroke-width: 1.7;
  fill: none;
}

.bp-cable {
  fill: none;
  stroke: #bfd9ea;
  stroke-width: 1.7;
  stroke-dasharray: 7 7;
  stroke-linecap: round;
  transition: opacity 500ms var(--ease-smooth) 1000ms;
}

.js:not(.no-motion) .blueprint__stage:not(.in) .bp-cable {
  opacity: 0;
}

.bp-marker {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(1050ms + var(--i, 0) * 140ms);
  cursor: default;
}

.js:not(.no-motion) .blueprint__stage:not(.in) .bp-marker {
  transform: scale(0);
}

.bp-marker circle {
  fill: var(--red-bright);
}

.bp-marker .bp-ring {
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 250ms ease;
}

.bp-marker.active .bp-ring {
  animation: ring-pulse 1.8s var(--ease-smooth) infinite;
}

.no-motion .bp-marker.active .bp-ring {
  animation: none;
  opacity: 0.8;
}

@keyframes ring-pulse {
  0% {
    transform: scale(0.75);
    opacity: 0.9;
  }

  75% {
    transform: scale(1.2);
    opacity: 0;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.bp-marker text {
  fill: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 650;
  font-size: 13px;
  text-anchor: middle;
}

.bp-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.bp-legend li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: background-color 200ms ease;
}

.bp-legend li:hover {
  background: rgba(255, 255, 255, 0.06);
}

.bp-legend__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--red-bright);
  color: #fff;
  font-weight: 650;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.bp-legend h3 {
  color: #fff;
  font-size: 1rem;
  margin: 2px 0 3px;
}

.bp-legend p {
  margin: 0;
  color: var(--on-dark);
  font-size: 0.9375rem;
}

@media (max-width: 980px) {
  .blueprint__layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Kundengruppen
   ============================================================ */
.clients {
  padding-block: var(--section-y);
}

.clients__head {
  max-width: 64ch;
}

.clients__head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(26px, 3.5vw, 48px);
  margin-top: clamp(32px, 4vw, 52px);
}

.client .icon {
  width: 30px;
  height: 30px;
  color: var(--red);
  margin-bottom: 14px;
  transition: transform 550ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i, 0) * 90ms + 180ms),
    opacity 300ms var(--ease-smooth) calc(var(--i, 0) * 90ms + 180ms);
}

.js:not(.no-motion) .client.reveal:not(.in) .icon {
  transform: scale(0.4);
  opacity: 0;
}

.client h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.3em;
}

.client p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 920px) {
  .clients__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .clients__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Sortiment-Slideshow (Fotos von der alten Website)
   ============================================================ */
.stock {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.stock__head h3 {
  font-size: clamp(1.3125rem, 2.4vw, 1.75rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.4em;
}

.stock__head p {
  color: var(--muted);
  margin: 0;
}

.slider__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--card);
}

.js .slider__viewport {
  overflow: hidden;
}

.slider__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 600ms var(--ease-smooth);
}

.no-motion .slider__track {
  transition: none;
}

.slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.slider__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.slider__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

html:not(.js) .slider__nav {
  display: none;
}

.slider__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--navy-900);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 150ms var(--ease-out), border-color 180ms ease, background-color 180ms ease;
}

.slider__btn:hover {
  border-color: var(--navy-900);
}

.slider__btn:active {
  transform: scale(0.94);
}

.slider__btn .icon {
  width: 20px;
  height: 20px;
}

.slider__btn--prev .icon {
  transform: scaleX(-1);
}

.slider__dots {
  display: flex;
  gap: 8px;
}

.slider__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 200ms ease, transform 200ms var(--ease-out);
}

.slider__dots button[aria-current="true"] {
  background: var(--red);
  transform: scale(1.2);
}

@media (max-width: 920px) {
  .stock {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .brand__text {
    display: none;
  }
}
