/* Elektrotechnik Wallner e.U. — Palette aus dem Logo: Grün + Gold */
:root {
  --green: #005800;
  --green-deep: #003d00;
  --green-soft: #e8f0e8;
  --gold: #f8c028;
  --gold-deep: #d4a010;
  --ink: #1a241a;
  --mute: #5a655a;
  --line: rgba(0, 88, 0, 0.12);
  --paper: #f7f5ef;
  --white: #fffcf7;
  --card: #ffffff;
  /* Aliase für bestehende Regeln */
  --teal: var(--green);
  --teal-deep: var(--green-deep);
  --teal-soft: var(--green-soft);
  --moss: var(--green);
  --copper: var(--gold);
  --copper-deep: var(--gold-deep);
  --amber: var(--gold);
  --amber-deep: var(--gold-deep);
  --sand: var(--paper);
  --blush: var(--white);
  --sage: var(--green-soft);
  --sky: var(--green-soft);
  --navy: var(--green-deep);
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --nav-h: 5.2rem;
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 380px at 8% -10%, rgba(0, 88, 0, 0.07), transparent 55%),
    radial-gradient(700px 320px at 100% 0%, rgba(248, 192, 40, 0.1), transparent 50%),
    var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(196, 98, 45, 0.22);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.08;
}

h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--copper);
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.05rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}

h3 {
  font-size: 1.22rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--mute);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-ghost:hover {
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 241, 231, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 252, 246, 0.98);
}

.nav-shell {
  width: min(100% - 1.4rem, var(--max));
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}

.logo img,
.logo-full {
  width: auto;
  height: 3.35rem;
  max-width: min(28rem, 46vw);
  object-fit: contain;
  display: block;
  background: transparent;
}

.logo-mark-only {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: contain;
}

.footer-brand img.logo-full {
  height: 3.6rem;
  max-width: 22rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--copper);
}

.nav-cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
}

.nav-toggle span::before {
  top: -8px;
}

.nav-toggle span::after {
  top: 8px;
}

.hero {
  padding: 2.4rem 0 3.8rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0.85rem 0 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-visual {
  position: relative;
}

.hero-visual .hero-main {
  width: 100%;
  height: min(34rem, 72vw);
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 28px 50px rgba(27, 36, 40, 0.16);
}

.float-card {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  max-width: 16.5rem;
  padding: 0.95rem 1.05rem;
  background: rgba(255, 252, 246, 0.94);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(27, 36, 40, 0.14);
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.float-card span {
  color: var(--mute);
  font-size: 0.9rem;
}

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 2.6rem;
  position: relative;
  z-index: 2;
}

.band article {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.25rem;
  box-shadow:
    0 12px 28px rgba(0, 40, 0, 0.07),
    inset 0 0 0 1px rgba(0, 88, 0, 0.1);
}

.band b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--teal);
  margin-bottom: 0.15rem;
}

.band article:nth-child(1) b { color: var(--green); }
.band article:nth-child(2) b { color: var(--gold-deep); }
.band article:nth-child(3) b { color: var(--green); }

.band article:nth-child(1),
.band article:nth-child(2),
.band article:nth-child(3) {
  background: var(--card);
}

.section {
  padding: 5.6rem 0;
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
  position: relative;
}

.section + .section,
.marquee + .section,
.section + .contact-panel {
  border-top: 1px solid rgba(0, 88, 0, 0.14);
  margin-top: 0.35rem;
}

.section-sand,
.section-sky,
.section-blush {
  background: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 252, 247, 0.65);
}

.section-sage {
  background: var(--green-soft);
  box-shadow: inset 0 1px 0 rgba(255, 252, 247, 0.65);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  margin: 0.45rem 0 0.7rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.55rem;
  align-items: stretch;
}

.tile {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 14px 34px rgba(0, 40, 0, 0.08),
    inset 0 0 0 1px rgba(0, 88, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tile img,
.tile-band {
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
}

.tile-band {
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.12), transparent 40%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 246, 0.12) 0 2px,
      transparent 2px 18px
    ),
    var(--green);
}

.tile-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.tile-body p {
  color: var(--mute);
}

.tile .nr {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.tile:nth-child(3n),
.tile:nth-child(3n + 2),
.tile.plain {
  background: var(--card);
}

.tile.plain .nr {
  color: var(--green);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  border-radius: 1.7rem;
}

.facts {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.facts li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.facts strong {
  color: var(--teal);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.4rem;
  box-shadow:
    0 12px 28px rgba(0, 40, 0, 0.07),
    inset 0 0 0 1px rgba(0, 88, 0, 0.1);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper);
}

.step p {
  color: var(--mute);
  margin-top: 0.35rem;
}

.map-frame {
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 100%;
  height: 100%;
  box-shadow:
    0 18px 40px rgba(0, 40, 0, 0.12),
    inset 0 0 0 1px rgba(0, 88, 0, 0.1);
  background: var(--card);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
  display: block;
}

.map-consent {
  min-height: 26rem;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(0, 88, 0, 0.06), rgba(248, 192, 40, 0.08)),
    var(--green-soft, #e8f0e8);
}

.map-consent.is-loaded {
  padding: 0;
  background: transparent;
  display: block;
}

.map-consent-panel {
  max-width: 22rem;
  text-align: center;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.map-consent-panel p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

.map-consent-panel a {
  color: var(--green, #005800);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.map-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 0;
  background: var(--green, #005800);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.map-consent-btn:hover {
  background: var(--green-deep, #003d00);
}

.map-consent-ext {
  font-size: 0.88rem;
  font-weight: 600;
}

.map-consent iframe {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
  display: block;
}

.reach-head {
  max-width: 42rem;
}

.reach-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
  align-items: stretch;
}

.reach-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.2rem;
  padding: 2rem 1.85rem 1.9rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(248, 192, 40, 0.22), transparent 55%),
    linear-gradient(165deg, #003d00 0%, #005800 58%, #002800 100%);
  color: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: 0 20px 44px rgba(0, 40, 0, 0.18);
}

.reach-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.reach-address {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.reach-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--white);
  border-bottom: 2px solid rgba(248, 192, 40, 0.55);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.reach-maps:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.reach-mail,
.reach-phone {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 252, 246, 0.18);
}

.phone-hit {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.2rem;
  line-height: 1.2;
}

.phone-hit:hover {
  color: var(--gold);
}

.reach-mail .mail-hit {
  margin-top: 0;
  color: var(--white);
  border-bottom-color: var(--gold);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  word-break: break-word;
}

.reach-note {
  margin-top: 0.85rem;
  color: rgba(255, 252, 246, 0.78);
  font-size: 0.95rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 16px 36px rgba(27, 36, 40, 0.08);
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 650;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.8rem;
  padding: 0.75rem 0.85rem;
}

.form-grid textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-ways {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.contact-ways a,
.contact-ways p {
  padding: 0.95rem 1.05rem;
  border-radius: 0.9rem;
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px rgba(0, 88, 0, 0.12);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 252, 246, 0.82);
  padding: 2.4rem 0 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.6rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand .logo-full {
  height: 3.2rem;
  width: auto;
  filter: none;
}

.site-footer .logo-full {
  /* Logo is yellow/green – readable on dark footer */
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2));
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-top: 0.28rem;
}

.footer-col a:hover {
  color: var(--copper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 252, 246, 0.12);
  font-size: 0.86rem;
}

.page-hero {
  padding: 3rem 0 1.4rem;
}

.legal-card {
  display: grid;
  gap: 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 3rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.legal-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.legal-card p,
.legal-card li {
  color: var(--mute);
}

.legal-card a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

[data-reveal] {
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .reach-grid,
  .footer-grid,
  .band,
  .steps {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual .hero-main,
  .split img {
    height: 22rem;
  }

  .map-frame iframe {
    min-height: 18rem;
  }

  .facts li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .logo-full {
    height: 2.55rem;
    max-width: min(15rem, 52vw);
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0.8rem auto;
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(27, 36, 40, 0.16);
  }

  body.nav-open .nav-links {
    display: flex;
  }
}


.circuit {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(58%, 26rem);
  pointer-events: none;
  opacity: 0.18;
  overflow: hidden;
}

.circuit svg {
  width: 100%;
  height: 100%;
}

.circuit path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.4;
  stroke-dasharray: 8 14;
  animation: dash 28s linear infinite;
}

.circuit circle {
  fill: var(--amber);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy::after {
  content: "ETW";
  position: absolute;
  left: -0.15em;
  top: -0.2em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.7;
  color: var(--teal);
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual .hero-main {
  width: 100%;
  height: min(34rem, 72vw);
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 28px 50px rgba(27, 36, 40, 0.16);
}

.hero-offset {
  position: absolute;
  right: -1.4rem;
  top: -1.35rem;
  width: 42%;
  height: 9.2rem;
  object-fit: cover;
  border-radius: 1.1rem;
  box-shadow: 0 16px 32px rgba(27, 36, 40, 0.18);
  outline: 6px solid var(--paper);
}

.kicker::before {
  animation: pulse 2.4s var(--ease) infinite;
}

.band article {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.band article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(27, 36, 40, 0.08);
}

.tile {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tile img {
  transition: transform 0.7s var(--ease);
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(27, 36, 40, 0.12);
}

.tile:hover img {
  transform: scale(1.06);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: transparent;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--gold));
  box-shadow: 0 0 10px rgba(0, 88, 0, 0.25);
}

.rail {
  position: fixed;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: grid;
  gap: 0.7rem;
}

.rail a {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 99px;
  background: rgba(27, 36, 40, 0.18);
  position: relative;
}

.rail a.is-on {
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(196, 98, 45, 0.2);
}

.rail a span {
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.rail a:hover span,
.rail a.is-on span {
  opacity: 1;
}

.rail a:hover span,
.rail a.is-on span {
  opacity: 1;
}

.marquee {
  border-block: 0;
  background: var(--green);
  overflow: hidden;
  padding: 1.05rem 0;
  margin: 0.35rem 0;
  box-shadow:
    0 8px 22px rgba(0, 40, 0, 0.14),
    0 -1px 0 rgba(248, 192, 40, 0.4),
    0 1px 0 rgba(248, 192, 40, 0.4);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  color: var(--white);
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 1.1rem;
  padding-right: 1.1rem;
}

.marquee-group i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.split-photo {
  position: relative;
}

.betrieb-photo {
  outline: 8px solid var(--white);
  box-shadow: 0 22px 40px rgba(27, 36, 40, 0.14);
  transform: rotate(1.4deg);
}

.steps-line {
  position: relative;
}

.steps-line::before {
  content: "";
  position: absolute;
  top: 1.85rem;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0.4;
}

.step {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
}

.contact-panel {
  background:
    radial-gradient(640px 240px at 90% 10%, rgba(248, 192, 40, 0.22), transparent 55%),
    linear-gradient(160deg, #003d00 0%, #005800 55%, #002800 100%);
  color: var(--white);
  padding: 5.8rem 0 5.2rem;
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
  border-top: 4px solid var(--gold);
  box-shadow: inset 0 18px 40px rgba(0, 0, 0, 0.16);
}

.contact-inner h2,
.contact-panel .lead {
  color: var(--white);
}

.kicker-light {
  color: var(--amber);
}

.kicker-light::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.28);
}

.mail-hit {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  border-bottom: 3px solid var(--amber);
  padding-bottom: 0.25rem;
}

.mail-hit span {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

@keyframes dash {
  to {
    stroke-dashoffset: -400;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(196, 98, 45, 0.22);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(196, 98, 45, 0.08);
  }
}

@media (max-width: 960px) {
  .rail,
  .hero-offset,
  .steps-line::before {
    display: none;
  }

  .betrieb-photo {
    transform: none;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .mail-hit {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .circuit path,
  .marquee-track,
  .marquee-group,
  .kicker::before {
    animation: none;
  }

  .tile img,
  .tile,
  .band article,
  .step {
    transition: none;
  }
}
