@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─── */
:root {
  --bg:          #0D0D0D;
  --surface:     #161616;
  --text:        #F0F0F0;
  --muted:       #888888;
  --accent:      #76FF03;
  --accent-dark: #5AB802;
  --border:      rgba(255,255,255,0.07);
  --nav-h:       76px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --r:           4px;

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --border:    rgba(118,255,3,0.09);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  cursor: none;
}

@media (max-width: 768px) {
  body { cursor: auto; }
  a, button, input, select, textarea { cursor: pointer; }
  #cursor-dot, #cursor-glow { display: none; }
}




/* Custom cursor */
#cursor-glow {
  position: fixed;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  opacity: 0.55;
  mix-blend-mode: screen;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
}
#cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
}

/* ─── Typography ─── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: left;
}
h1 { font-size: clamp(2.6rem, 6vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4vw, 4.2rem); }
h3 { font-size: clamp(1.7rem, 3vw, 3rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

em, i { font-style: normal; font-family: inherit; }
.h2-light { font-weight: 300; color: var(--muted); }

p { font-family: var(--font-body); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #000; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ─── Utilities ─── */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}
.accent { color: var(--accent); }

/* Uppercase eyebrow label */
.label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.label::before {
  content: '//';
  opacity: 0.45;
  letter-spacing: 0;
  font-size: 0.9em;
  flex-shrink: 0;
}
@keyframes radar-ping {
  0%   { box-shadow: 0 0 0 0 rgba(118,255,3,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(118,255,3,0); }
  100% { box-shadow: 0 0 0 0 rgba(118,255,3,0); }
}
.tag-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: radar-ping 2.5s ease-out infinite;
}

/* ─── Buttons ─── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  border-radius: 100px;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn-pill::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease-out);
  z-index: 2;
}
.btn-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dark);
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.btn-pill:hover { box-shadow: 0 0 55px rgba(118,255,3,0.5), 0 8px 24px rgba(118,255,3,0.18); transform: translateY(-3px); }
.btn-pill:hover::before { left: 125%; }
.btn-pill:hover::after { transform: scaleX(1); }
.btn-pill > * { position: relative; z-index: 3; }
.btn-pill svg { transition: transform 0.3s var(--ease); }
.btn-pill:hover svg { transform: translateX(5px); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: #000;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  border-radius: 100px;
  border: 1px solid rgba(118,255,3,0.25);
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.3s, color 0.1s 0.15s;
  white-space: nowrap;
}
.btn-dark::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease-out);
  z-index: 2;
}
.btn-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.btn-dark:hover { box-shadow: 0 0 55px rgba(118,255,3,0.45), 0 8px 24px rgba(118,255,3,0.15); transform: translateY(-3px); border-color: var(--accent); color: #000; }
.btn-dark:hover::before { left: 125%; }
.btn-dark:hover::after { transform: scaleX(1); }
.btn-dark > * { position: relative; z-index: 3; }
.btn-dark svg { transition: transform 0.3s var(--ease); }
.btn-dark:hover svg { transform: translateX(5px); }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}
.nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118,255,3,0.35), transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4.5rem);
}
.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .nav-cta {
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(118,255,3,0.35);
  color: var(--accent);
  border-radius: 100px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--accent); color: #000; border-color: var(--accent); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  transition: all 0.35s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 799;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  overflow: hidden;
}
.nav-overlay::before {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -25%;
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(118,255,3,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.nav-overlay.open { transform: translateX(0); }

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--nav-h) clamp(2rem, 8vw, 3.5rem) 2.5rem;
}

.nav-overlay-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 1rem 0;
}
.nav-overlay-links li { border-top: 1px solid var(--border); }
.nav-overlay-links li:last-child { border-bottom: 1px solid var(--border); }
.nav-overlay-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 8vw, 2.6rem);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 0.25s, padding-left 0.3s var(--ease);
  cursor: pointer;
}
.nav-overlay-links a:hover { color: var(--accent); padding-left: 0.75rem; }
.nav-overlay-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
  margin-top: 0.3em;
}
.nav-overlay-footer {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-overlay-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-overlay-contact a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.25s;
  cursor: pointer;
}
.nav-overlay-contact a:hover { color: var(--accent); }
.nav-overlay-social {
  display: flex;
  gap: 0.55rem;
}
.nav-overlay-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
}
.nav-overlay-social a:hover { border-color: var(--accent); background: rgba(118,255,3,0.06); }
.nav-overlay-social svg { fill: var(--muted); transition: fill 0.25s; }
.nav-overlay-social a:hover svg { fill: var(--accent); }

/* ─── Hero ─── */
/* ─── Hero Slider ─── */
.hero-slider {
  --hs-clients-h: clamp(56px, 9vh, 84px);
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

/* Track is just a clipping container — slides are individually positioned */
.hs-track {
  position: absolute;
  inset: 0;
}

.hs-slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  will-change: transform;
  overflow: hidden;
}
.hs-slide.is-active {
  transform: translateX(0);
  z-index: 2;
}
.hs-slide.is-leaving {
  z-index: 1;
}

/* Bg image */
.hs-bg {
  position: absolute;
  inset: 0;
  transform: scale(1.07);
}

/* Two-phase zoom: ease-in-out snap, then slow linear drift inward */
@keyframes hs-ken-burns {
  0%   { transform: scale(1.07); animation-timing-function: ease-in-out; }
  8%   { transform: scale(1.12); animation-timing-function: linear; }
  100% { transform: scale(1.20); }
}
.hs-bg.is-zooming {
  animation: hs-ken-burns 6s forwards;
}

.hs-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hs-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0.82) 30%, rgba(8,8,8,0.38) 58%, rgba(8,8,8,0.08) 80%, transparent 100%),
    linear-gradient(to top,   rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.52) 22%, rgba(8,8,8,0.15) 44%, transparent 62%),
    linear-gradient(to bottom,rgba(8,8,8,0.45) 0%, transparent 18%);
}

/* Slide content — vertically centred */
.hs-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2rem) clamp(2rem, 5vw, 6rem) calc(var(--hs-clients-h) + clamp(8rem, 15vh, 11rem));
}

.hs-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: 0.12s;
}
.hs-slide.is-active .hs-tag { opacity: 1; transform: none; }
.hs-slide.is-leaving .hs-tag { opacity: 0; transform: translateY(-8px); transition-delay: 0s; }

/* Accent rule between tag and title */
.hs-rule {
  width: 0;
  height: 1.5px;
  background: var(--accent);
  opacity: 0;
  margin-bottom: 1.75rem;
  transition: width 0.55s var(--ease-out), opacity 0.4s var(--ease-out);
  transition-delay: 0.15s;
}
.hs-slide.is-active .hs-rule { width: 52px; opacity: 0.5; }
.hs-slide.is-leaving .hs-rule { width: 0; opacity: 0; transition-delay: 0s; transition-duration: 0.25s; }

/* Clip container — overflow:hidden masks title below the baseline */
.hs-title-clip {
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hs-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0;
  hyphens: manual;
  display: block;
  /* Default: hidden below clip boundary */
  transform: translateY(110%);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.2s;
}
/* Entering: title rises from below */
.hs-slide.is-active .hs-title { transform: translateY(0); opacity: 1; }
/* Leaving: title drifts up slightly and fades */
.hs-slide.is-leaving .hs-title {
  transform: translateY(-10%);
  opacity: 0;
  transition: transform 0.52s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.4s var(--ease);
  transition-delay: 0s;
}

.hs-btn {
  margin-top: 2rem;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out),
              box-shadow 0.35s var(--ease);
  transition-delay: 0.38s;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 100px;
  color: #fff;
  padding: 0.85rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hs-btn::after { background: var(--accent); border-radius: 100px; }
.hs-btn:hover {
  box-shadow: none;
  transform: none;
  border-color: var(--accent);
  color: #000;
}
.hs-slide.is-active .hs-btn { opacity: 1; transform: none; }
.hs-slide.is-leaving .hs-btn { opacity: 0; transform: translateY(-8px); transition-delay: 0s; }


/* Slide descriptor */
.hs-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
  max-width: 360px;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: 0.32s;
}
.hs-slide.is-active .hs-desc { opacity: 1; transform: none; }
.hs-slide.is-leaving .hs-desc { opacity: 0; transform: translateY(-8px); transition-delay: 0s; }

/* Credentials strip */
.hs-creds {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: 0.42s;
}
.hs-creds-dot { opacity: 0.4; }
.hs-slide.is-active .hs-creds { opacity: 1; transform: none; }
.hs-slide.is-leaving .hs-creds { opacity: 0; transform: translateY(-8px); transition-delay: 0s; }


/* Progress bar — vertical left edge */
@keyframes hs-prog {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.hs-progress-wrap {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 9;
  overflow: hidden;
  pointer-events: none;
}
.hs-progress-fill {
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top center;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(118,255,3,0.6);
}

/* Bottom UI */
.hs-bottom-ui {
  position: absolute;
  bottom: calc(var(--hs-clients-h) + clamp(1.5rem, 3.5vh, 2.8rem));
  left: clamp(2rem, 5vw, 6rem);
  right: clamp(2rem, 5vw, 6rem);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Kunden-Läufer — fixiert am unteren Bildschirmrand des Heros */
.hs-clients {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--hs-clients-h);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
}
.hs-clients-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 0 clamp(2rem, 5vw, 4rem);
  animation: hsClientsScroll 168s linear infinite;
  will-change: transform;
}
.hs-clients-track .logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(34px, 5.5vh, 52px);
  flex-shrink: 0;
}
.hs-clients-track .logo-chip img {
  height: 65%;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
@keyframes hsClientsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .hs-clients-track { animation-duration: 90s; }
}

.hs-dots { display: flex; gap: 0.45rem; }
.hs-dot {
  width: 22px;
  height: 2px;
  border-radius: 100px;
  background: rgba(255,255,255,0.22);
  border: none;
  cursor: none;
  transition: background 0.3s, width 0.35s var(--ease-out);
}
.hs-dot.is-active {
  background: var(--accent);
  width: 42px;
  box-shadow: 0 0 8px rgba(118,255,3,0.5);
}

.hs-counter {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.hs-counter b { color: var(--accent); font-weight: 700; font-size: 1.05rem; line-height: 1; }

.hs-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.38);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
  cursor: none;
}
.hs-down:hover { color: var(--accent); }
.hs-down svg { animation: hs-bounce 2.2s ease-in-out infinite; }
@keyframes hs-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ─── Hero arrows ─── */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: none;
  border: none;
  color: rgba(255,255,255,0.22);
  cursor: none;
  padding: 1rem 0.9rem;
  line-height: 0;
  transition: color 0.3s;
}
.hs-arrow--prev { left: clamp(0.8rem, 2vw, 2rem); }
.hs-arrow--next { right: clamp(0.8rem, 2vw, 2rem); }
.hs-arrow:hover { color: var(--accent); }

/* ─── Kunden ─── */
.clients {
  background: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.clients .label { margin-bottom: 2.5rem; }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.clients-grid img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* ─── Services sticky scroll ─── */
.services { padding-top: clamp(5rem, 10vh, 9rem); }

.svc-intro {
  padding-bottom: clamp(4rem, 7vh, 7rem);
}
.svc-intro h2 { max-width: 640px; }

/* ─── 3-card overview ─── */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: clamp(6rem, 12vh, 11rem);
}
.svc-card {
  background: var(--surface);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--border);
  transition:
    border-top-color 0.4s var(--ease),
    background      0.4s var(--ease),
    transform       0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow      0.4s var(--ease);
}
/* top sweep line — mirror of bottom */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(118,255,3,0.55) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
/* bottom sweep line */
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(118,255,3,0.55) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover {
  background: #181818;
  transform: translateY(-6px);
  box-shadow: 0 28px 52px rgba(0,0,0,0.5), inset 0 0 60px -20px rgba(118,255,3,0.07);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after  { transform: scaleX(1); }
.svc-card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1.25rem;
  opacity: 0.7;
  transition: opacity 0.35s ease, letter-spacing 0.35s ease;
}
.svc-card:hover .svc-card-num {
  opacity: 1;
  letter-spacing: 0.18em;
}
.svc-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover h3 { transform: translateX(6px); }
.svc-card > p {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  transition: color 0.35s ease;
}
.svc-card:hover > p { color: rgba(255,255,255,0.52); }
.svc-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.svc-card-list li {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
  transition: transform 0.35s ease, color 0.35s ease;
}
.svc-card:hover .svc-card-list li                    { transform: translateX(5px); color: rgba(255,255,255,0.6); }
.svc-card:hover .svc-card-list li:nth-child(2)        { transition-delay: 0.05s; }
.svc-card:hover .svc-card-list li:nth-child(3)        { transition-delay: 0.10s; }
.svc-card:hover .svc-card-list li:nth-child(4)        { transition-delay: 0.15s; }
.svc-card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  line-height: 1.5;
  transition: opacity 0.35s ease;
}
.svc-card:hover .svc-card-list li::before { opacity: 1; }

/* Tall scroll container — 6 panels × 45vh each */
.svc-scroll-area {
  height: calc(6 * 45vh);
  position: relative;
}

/* Sticky viewport panel */
.svc-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── Image panel ── */
.svc-img-panel {
  position: relative;
  overflow: hidden;
}
.svc-img-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.svc-img-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.svc-img-slide img,
.svc-img-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Text panel ── */
.svc-text-panel {
  background: var(--surface);
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--accent);
}
.svc-text-panel::before,
.svc-text-panel::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: rgba(118,255,3,0.4);
  border-style: solid;
  pointer-events: none;
  z-index: 10;
}
.svc-text-panel::before { top: 1.5rem; right: 1.5rem; border-width: 1px 1px 0 0; }
.svc-text-panel::after  { bottom: 1.5rem; right: 1.5rem; border-width: 0 1px 1px 0; }
.svc-text-slide {
  position: absolute;
  inset: 0;
  padding: var(--nav-h) clamp(3rem, 5vw, 6rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.svc-text-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Staggered children on enter */
.svc-text-slide .label,
.svc-text-slide h3,
.svc-text-slide > p,
.svc-text-slide .svc-list {
  transform: translateY(22px);
  transition: transform 0.6s var(--ease-out);
}
.svc-text-slide.is-active .label      { transform: none; transition-delay: 0.05s; }
.svc-text-slide.is-active h3          { transform: none; transition-delay: 0.13s; }
.svc-text-slide.is-active > p         { transform: none; transition-delay: 0.2s;  }
.svc-text-slide.is-active .svc-list   { transform: none; transition-delay: 0.27s; }

.svc-text-slide h3 { margin: 0.6rem 0 1.25rem; }
.svc-text-slide > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; max-width: 400px; }

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.svc-list li {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.svc-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Dots rail (right edge of sticky panel) ── */
.svc-dots-rail {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 10;
}
.svc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.svc-dot.is-active {
  background: var(--accent);
  transform: scale(1.5);
}
.svc-counter {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-family: var(--font-head);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.svc-counter b {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}


/* ─── References ─── */
.references { padding: clamp(5rem, 10vh, 9rem) 0 clamp(2.5rem, 5vh, 4.5rem); }

.ref-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3rem, 5vh, 5rem);
  flex-wrap: wrap;
}
.ref-intro {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 340px;
  line-height: 1.7;
}

/* Uniform grid */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(180px, 20vw, 260px);
  gap: 6px;
}
.ref-item {
  position: relative;
  overflow: hidden;
  cursor: none;
}
/* green veil on hover — from all sides */
.ref-item::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(118,255,3,0.14);
  background: radial-gradient(ellipse at center, transparent 42%, rgba(118,255,3,0.07) 100%);
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  z-index: 2;
}
.ref-item:hover::before { opacity: 1; }

/* black gradient — always visible */
.ref-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.48) 45%, rgba(0,0,0,0.12) 70%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}
.ref-caption { z-index: 3; }

/* wrapper handles hover scale — parent overflow:hidden clips the zoom */
.ref-img-wrap {
  position: absolute;
  inset: 0;
  transition: transform 0.65s var(--ease-out);
}
.ref-item:hover .ref-img-wrap {
  transform: scale(1.06);
}
/* img handles parallax — no CSS transition so JS lerp is the only smoothing */
.ref-item img {
  width: 100%;
  height: 112%;
  margin-top: -6%;
  object-fit: cover;
  transform: translateY(var(--ry, 0px));
  will-change: transform;
}
.ref-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
  transform: translateY(4px);
  transition: transform 0.35s var(--ease);
}
.ref-item:hover .ref-caption { transform: translateY(0); }
.ref-caption h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  margin-bottom: 0.2rem;
}
.ref-caption span { font-size: 0.78rem; color: var(--muted); }

/* ─── About ─── */
.about { padding: clamp(2.5rem, 5vh, 4.5rem) 0 clamp(2.5rem, 5vh, 4.5rem); }

.about-img-col {
  padding-top: clamp(2rem, 3vw, 2.8rem); /* skip past the label row */
}
.about-person--offset {
  margin-top: clamp(8rem, 12vw, 14rem); /* Geschäftsleiter starts lower */
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 7vw, 10rem);
  align-items: start;
}

.about-img-stack {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: visible;
}
.about-person {
  flex: 0 0 48%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  will-change: transform;
}
.about-person:first-child  { z-index: 2; } /* Inhaber in front */
.about-person--offset {
  flex: 0 0 48%;
  z-index: 1;
}
.about-img-main,
.about-img-offset {
  width: 100%;
  aspect-ratio: 800/976;
  object-fit: cover;
  object-position: center 15%;
}
.about-person-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  z-index: 3; /* stay above overlapping second image */
}
.about-person-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}
.about-person-name {
  font-size: 0.88rem;
  color: var(--muted);
}

.about-text-col h2 { margin-bottom: 1.75rem; }
.about-text-col p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }

.about-values {
  display: flex;
  gap: 2.5rem;
  margin: 2.5rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.av-item { display: flex; flex-direction: column; gap: 0.3rem; }
.av-item b {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.av-item span { font-size: 0.78rem; color: var(--muted); }

.about-certs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.about-certs-label {
  margin-bottom: 0.1rem;
}
.about-certs-members {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cert-badge--member {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  padding: 0.6rem 1.4rem;
  color: var(--text);
  border-color: var(--border);
}
.cert-badge {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.35rem 0.8rem;
  transition: border-color 0.25s, color 0.25s;
}
.cert-badge:hover { border-color: rgba(118,255,3,0.3); color: var(--accent); }

/* ─── CTA Band ─── */

/* ─── Contact ─── */
.contact {
  padding: clamp(2.5rem, 5vh, 4.5rem) 0 clamp(5rem, 10vh, 9rem);
  background: var(--surface);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(4rem, 7vw, 9rem);
  align-items: start;
}

.contact-info h2 { margin-bottom: 0.75rem; }

.cinfo-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  transition: padding-left 0.3s var(--ease);
}
.ci-item:first-child { border-top: 1px solid var(--border); }
.ci-item:hover { padding-left: 0.5rem; }
.ci-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s;
}
.ci-item:hover .ci-icon { border-color: var(--accent); }
.ci-icon svg { width: 16px; height: 16px; stroke: var(--accent); }
.ci-lbl {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.ci-val { font-size: 0.9rem; color: var(--muted); }

/* Form */
.contact-form-wrap h3 { margin-bottom: 2.5rem; font-size: clamp(1.6rem, 2.5vw, 2.4rem); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.fg { display: flex; flex-direction: column; gap: 0.5rem; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fg label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.fg input,
.fg select,
.fg textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(118,255,3,0.06);
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23707070' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
  cursor: none;
}
.fg textarea { min-height: 140px; resize: vertical; }
.fg input::placeholder,
.fg textarea::placeholder { color: rgba(255,255,255,0.08); }
.fg select:has(option[value=""]:checked) { color: rgba(255,255,255,0.08); }

.form-foot { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-hint { font-size: 0.78rem; color: var(--muted); }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 100px;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease-out);
  z-index: 2;
}
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dark);
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.btn-submit:hover::before { left: 125%; }
.btn-submit:hover::after { transform: scaleX(1); }
.btn-submit:hover { box-shadow: 0 0 55px rgba(118,255,3,0.5), 0 8px 24px rgba(118,255,3,0.18); transform: translateY(-3px); }
.btn-submit > * { position: relative; z-index: 3; }
.btn-submit svg { transition: transform 0.3s var(--ease); }
.btn-submit:hover svg { transform: translateX(5px); }

/* ─── Impressum Drawer Modal ─── */
.imp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.imp-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.imp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(680px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.imp-drawer.is-open {
  transform: translateX(0);
}

.imp-drawer-inner {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  min-height: 100%;
}

.imp-close {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.imp-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(118,255,3,0.06);
}

.imp-drawer h2 { margin: 0.5rem 0 3rem; }

.imp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.imp-grid h4 { font-size: 1.1rem; margin-bottom: 1.1rem; }
.imp-grid p { color: var(--muted); font-size: 0.88rem; line-height: 1.9; }
.imp-grid a { color: var(--muted); transition: color 0.25s; }
.imp-grid a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .imp-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── Footer ─── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
}
.footer-logo { height: 36px; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 300px; line-height: 1.85; }

.footer-social { display: flex; gap: 0.65rem; margin-top: 1.75rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.footer-social a:hover { border-color: var(--accent); background: rgba(118,255,3,0.07); }
.footer-social svg { width: 15px; height: 15px; fill: var(--muted); transition: fill 0.25s; }
.footer-social a:hover svg { fill: var(--accent); }

.footer-nav-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  font-weight: 600;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-nav a { color: var(--muted); font-size: 0.88rem; transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact-col p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.footer-contact-col .footer-nav-title { color: var(--accent); }
.footer-contact-col a { color: var(--muted); font-size: 0.88rem; line-height: 1.7; transition: color 0.25s; }
.footer-contact-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem clamp(1.5rem, 3vw, 3rem);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-bottom p, .footer-bottom a { color: var(--muted); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--accent); }
.footer-sep { color: var(--muted); font-size: 0.8rem; opacity: 0.4; }
.footer-muted { color: var(--muted); font-size: 0.8rem; }
.footer-dc { color: var(--muted); font-size: 0.8rem; transition: color 0.25s; }
.footer-dc:hover { color: #fff; }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-l {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-r {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.on, .reveal-l.on, .reveal-r.on { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .about-inner { grid-template-columns: 1fr; gap: 4rem; }
  .about-person--offset { margin-top: 0; }
  .about-img-col { padding-top: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 4rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hs-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .hs-content { padding-bottom: calc(var(--hs-clients-h) + clamp(6rem, 16vh, 9rem)); }
  .hs-desc { display: none; }
  .hs-overlay {
    background:
      linear-gradient(108deg, rgba(8,8,8,0.72) 0%, rgba(8,8,8,0.3) 50%, transparent 80%),
      linear-gradient(to top,   rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.35) 32%, transparent 58%),
      linear-gradient(to bottom, rgba(8,8,8,0.38) 0%, transparent 20%);
  }
  .svc-cards { grid-template-columns: 1fr; gap: 1.25rem; }
  /* hover effects always visible on mobile */
  .svc-card { background: #181818; }
  .svc-card::before,
  .svc-card::after  { transform: scaleX(1); }
  .svc-card .svc-card-num { opacity: 1; letter-spacing: 0.18em; }
  .svc-card h3 { transform: translateX(6px); }
  .svc-card > p { color: rgba(255,255,255,0.52); }
  .svc-card-list li { transform: translateX(5px); color: rgba(255,255,255,0.6); }

  /* Services: stack image top, text below */
  .svc-scroll-area { height: calc(6 * 55vh); }
  .svc-sticky {
    grid-template-columns: 1fr;
    grid-template-rows: 45vh 1fr;
  }
  .svc-text-panel { border-left: none; border-top: 3px solid var(--accent); }
  .svc-text-slide { padding: 2rem clamp(1.5rem, 4vw, 2.5rem) 2rem; justify-content: flex-start; padding-top: 2rem; }
  .svc-dots-rail { right: 1rem; top: 22.5vh; }

  .ref-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .ref-item--wide { grid-column: span 2; }
  .ref-item--tall { grid-row: span 1; }
  .ref-item:nth-child(n+5) { display: none; }
  .ref-header { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .impressum-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .footer-bottom-right { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .fg-row { grid-template-columns: 1fr; }
  .about-values {
    flex-wrap: nowrap;
    gap: 1.25rem;
    margin: 1.75rem 0 1.5rem;
    padding-top: 1.5rem;
  }
  .av-item b { font-size: 0.88rem; }
  .av-item span { font-size: 0.68rem; }
}
@media (max-width: 480px) {
  .ref-grid { grid-template-columns: 1fr; }
  .ref-item--wide { grid-column: span 1; }
  .ref-item--tall { grid-row: span 1; }

}
