:root {
  color-scheme: dark;
  --bg: #070a0d;
  --bg-2: #0d1116;
  --bg-3: #141a20;
  --surface: rgba(18, 23, 29, 0.86);
  --surface-strong: #171d23;
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(216, 224, 26, 0.32);
  --text: #f4f2ec;
  --text-soft: #c9c2b6;
  --text-muted: #8f979d;
  --brand: #d8e01a;
  --brand-2: #f4bd57;
  --amber: #d89132;
  --danger: #fe805f;
  --success: #8ed28c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max: 1200px;
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.85, 0.22, 1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 22% 8%, rgba(216, 224, 26, 0.09), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(216, 145, 50, 0.12), transparent 34rem),
    linear-gradient(180deg, #070a0d 0%, #0b0f13 45%, #06080a 100%);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--brand);
  color: #111;
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(7, 10, 13, 0.88), rgba(7, 10, 13, 0.38));
  backdrop-filter: blur(16px);
  transition: background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 10, 13, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 180px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(245, 242, 232, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.brand-mark img {
  width: 164px;
  height: auto;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.86rem;
  font-weight: 850;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  position: relative;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 760;
  padding: 0.62rem 0.75rem;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.42rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  border-radius: 6px;
  background: var(--brand);
  color: #15160a;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 0.6rem 0.95rem;
  box-shadow: 0 14px 32px rgba(216, 224, 26, 0.16);
  white-space: nowrap;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #eef55a;
  color: #111307;
  transform: translateY(-1px);
}

.header-cta svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.section {
  position: relative;
  padding: 7rem 0;
}

.section--tight {
  padding: 5.6rem 0;
}

.section--band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    linear-gradient(90deg, rgba(216, 224, 26, 0.045), transparent 32%, rgba(216, 145, 50, 0.045));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

#leistungen {
  padding-top: 2.6rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 78svh;
  display: grid;
  align-items: end;
  padding: 7rem 0 1.5rem;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(7, 10, 13, 0.98) 0%, rgba(7, 10, 13, 0.8) 38%, rgba(7, 10, 13, 0.2) 78%),
    linear-gradient(180deg, rgba(7, 10, 13, 0.4), #070a0d 92%),
    url("../generated/loercher-hero-industrial.png");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(216, 224, 26, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 80% 44%, black, transparent 58%);
  opacity: 0.42;
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 4.2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 3.4rem;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: 5.8rem;
  line-height: 0.92;
  font-weight: 920;
}

.hero p {
  max-width: 625px;
  margin: 1.45rem 0 0;
  color: var(--text-soft);
  font-size: 1.16rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 850;
  padding: 0.78rem 1.05rem;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--brand);
  color: #16170a;
  box-shadow: 0 20px 42px rgba(216, 224, 26, 0.16);
}

.button--primary:hover {
  color: #111;
  background: #eef55a;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button--ghost:hover {
  border-color: var(--line-strong);
  background: rgba(216, 224, 26, 0.08);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 650px;
  margin-top: 2.4rem;
}

.proof-item {
  border-left: 2px solid var(--brand);
  padding-left: 0.8rem;
}

.proof-item strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
}

.proof-item span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 730;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 500px;
  align-self: stretch;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 52% 38%, rgba(216, 224, 26, 0.18), transparent 19rem),
    radial-gradient(circle at 70% 62%, rgba(216, 145, 50, 0.16), transparent 18rem),
    linear-gradient(160deg, rgba(16, 22, 27, 0.62), rgba(7, 10, 13, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual canvas {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.visual-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: min(calc(100% - 2rem), 470px);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text-soft);
  padding: 0.62rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.35;
  backdrop-filter: blur(16px);
}

.visual-caption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(216, 224, 26, 0.7);
}

.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

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

.service-card,
.value-card,
.download-card,
.job-card,
.testimonial,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.service-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  overflow: hidden;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(216, 224, 26, 0.25);
  border-radius: 6px;
  background: rgba(216, 224, 26, 0.08);
  color: var(--brand);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.service-card__number {
  color: rgba(255, 255, 255, 0.15);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.service-card h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.3rem;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-card__bar {
  height: 3px;
  width: 100%;
  margin-top: 1.3rem;
  background: linear-gradient(90deg, var(--brand), rgba(216, 145, 50, 0.8), transparent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.62fr);
  gap: 3.8rem;
  align-items: center;
}

.text-panel h2 {
  margin: 0;
  font-size: 3.05rem;
  line-height: 1.04;
}

.text-panel p {
  color: var(--text-soft);
  margin: 1.15rem 0 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.value-card {
  padding: 1.2rem;
}

.value-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.value-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.media-stack {
  position: relative;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 13, 0.74));
}

.media-note {
  position: absolute;
  left: -1.35rem;
  bottom: 1.35rem;
  max-width: 260px;
  border: 1px solid rgba(216, 224, 26, 0.28);
  border-radius: 6px;
  background: rgba(7, 10, 13, 0.82);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(14px);
}

.media-note strong {
  display: block;
  line-height: 1.25;
}

.media-note span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.gallery-filter button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 820;
  padding: 0.58rem 0.8rem;
}

.gallery-filter button.is-active {
  border-color: var(--line-strong);
  background: rgba(216, 224, 26, 0.13);
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.project-card[hidden] {
  display: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
}

.project-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.project-card__label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 4.4rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 13, 0.9));
}

.project-card__label strong {
  line-height: 1.2;
}

.project-card__label span {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 830;
  text-transform: uppercase;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.testimonial {
  padding: 1.35rem;
}

.testimonial p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.testimonial strong {
  display: block;
  margin-top: 1rem;
  color: var(--text);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.timeline-card {
  min-height: 185px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1rem;
}

.timeline-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.timeline-card span {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 780;
  text-align: center;
}

.jobs-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.jobs-intro {
  position: sticky;
  top: 100px;
}

.jobs-intro h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
}

.jobs-intro p {
  color: var(--text-soft);
}

.jobs-list {
  display: grid;
  gap: 0.85rem;
}

.job-card {
  overflow: hidden;
}

.job-card__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  padding: 1.15rem;
  text-align: left;
}

.job-card__trigger strong {
  display: block;
  font-size: 1.06rem;
}

.job-card__trigger span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.job-card__trigger svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
  transition: transform 180ms var(--ease);
}

.job-card__trigger[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.job-card__content {
  display: grid;
  gap: 1rem;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-soft);
}

.job-card__content[hidden] {
  display: none;
}

.job-card__content h4 {
  margin: 0.2rem 0 0.3rem;
  color: var(--text);
  font-size: 0.9rem;
}

.job-card__content ul {
  margin: 0;
  padding-left: 1.1rem;
}

.job-card__content li {
  margin: 0.18rem 0;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1rem;
}

.download-card {
  min-width: 0;
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem;
}

.download-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.download-card__head > div {
  min-width: 0;
}

.download-card__head img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.download-card strong {
  display: block;
  line-height: 1.2;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.download-card span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 850;
}

.download-link svg {
  width: 17px;
  height: 17px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr);
  gap: 2rem;
  align-items: stretch;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 224, 26, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  padding: 2rem;
}

.contact-panel h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.02;
}

.contact-panel p {
  color: var(--text-soft);
  max-width: 650px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 1.35rem;
}

.contact-card h3 {
  margin: 0 0 0.8rem;
}

.contact-card p {
  margin: 0.35rem 0;
  color: var(--text-soft);
}

.footer {
  border-top: 1px solid var(--line);
  background: #06080a;
  padding: 2rem 0;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 780;
}

.legal-page {
  padding: 8rem 0 5rem;
}

.legal-shell {
  width: min(100% - 2rem, 940px);
  margin: 0 auto;
}

.legal-shell h1 {
  margin: 0 0 1.2rem;
  font-size: 3.3rem;
  line-height: 1;
}

.legal-shell h2 {
  margin-top: 2.2rem;
  font-size: 1.55rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--text-soft);
}

.legal-shell a {
  color: var(--brand);
  font-weight: 800;
}

.legal-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 1.2rem;
  margin: 1rem 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 4.7rem;
  }

  .hero-inner,
  .split {
    gap: 2.5rem;
  }

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

  .timeline,
  .downloads-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 148px;
    height: 40px;
  }

  .brand-mark img {
    width: 135px;
  }

  .brand-copy {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 68px 1rem auto;
    display: grid;
    gap: 0.2rem;
    justify-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(9, 12, 15, 0.96);
    box-shadow: var(--shadow);
    padding: 0.6rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 6.6rem 0 3rem;
  }

  .hero-inner,
  .section-heading,
  .split,
  .jobs-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-visual,
  .hero-visual canvas {
    min-height: 360px;
  }

  .section {
    padding: 5.2rem 0;
  }

  #leistungen {
    padding-top: 3.2rem;
  }

  .section-heading h2,
  .text-panel h2,
  .jobs-intro h2,
  .contact-panel h2 {
    font-size: 2.55rem;
  }

  .jobs-intro {
    position: static;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 1.25rem, var(--max));
  }

  .hero {
    background-position: 62% center;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-proof,
  .values-grid,
  .service-grid,
  .project-grid,
  .timeline,
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 5.5rem 0 1.2rem;
  }

  .hero-proof {
    display: none;
  }

  .hero-actions {
    margin-top: 1.45rem;
  }

  .hero-visual,
  .hero-visual canvas {
    display: none;
  }

  #leistungen {
    padding-top: 2.3rem;
  }

  .button,
  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .hero-visual,
  .hero-visual canvas {
    min-height: 340px;
  }

  .visual-caption {
    left: 0.75rem;
    right: 0.75rem;
  }

  .media-note {
    position: static;
    max-width: none;
    margin-top: 0.85rem;
  }

  .project-card,
  .project-card img {
    min-height: 235px;
  }

  .section-heading h2,
  .text-panel h2,
  .jobs-intro h2,
  .contact-panel h2,
  .legal-shell h1 {
    font-size: 2.25rem;
  }

  .contact-panel,
  .contact-card {
    padding: 1.2rem;
  }
}

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