/* ======================================
   das werbestudio — STYLES
   CMYK · Bold · Werkstatt
   ====================================== */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --fg: #f4f4f0;
  --fg-dim: #999;
  --magenta: #FF0080;
  --cyan: #00B7FF;
  --yellow: #FFD800;
  --black: #000;
  --grid-line: rgba(255, 255, 255, 0.05);

  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --pad: clamp(20px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 900px) {
  body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }
button, a { cursor: none; }
@media (max-width: 900px) {
  button, a { cursor: pointer; }
}

::selection {
  background: var(--magenta);
  color: var(--fg);
}

/* === CUSTOM CURSOR === */
.cursor, .cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}
.cursor {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--fg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--fg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor.is-hovering {
  width: 64px;
  height: 64px;
  background: var(--magenta);
  border-color: var(--magenta);
  mix-blend-mode: normal;
}
@media (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

/* === NOISE OVERLAY === */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* === SCROLL PROGRESS === */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--magenta), var(--yellow), var(--cyan));
  z-index: 200;
  transition: width 0.1s linear;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--pad);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px var(--pad);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__logo img {
  height: 80px;
  width: auto;
  transition: transform 0.3s var(--ease);
}
.nav__logo:hover img {
  transform: rotate(-3deg) scale(1.05);
}
.nav__menu {
  display: flex;
  list-style: none;
  gap: 40px;
}
.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--magenta);
  transition: width 0.3s var(--ease);
}
.nav__menu a:hover::after {
  width: 100%;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.active span:nth-child(2) {
  opacity: 0;
}
.nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 800px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 49;
  padding: 100px 30px 30px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.active {
  transform: translateY(0);
}
.mobile-menu ul {
  list-style: none;
}
.mobile-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu a {
  display: block;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad) 140px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
}
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.shape {
  position: absolute;
  mix-blend-mode: screen;
  filter: blur(60px);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}
.shape--cyan {
  width: 500px; height: 500px;
  background: var(--cyan);
  top: -100px; left: -150px;
  opacity: 0.5;
}
.shape--magenta {
  width: 600px; height: 600px;
  background: var(--magenta);
  top: 30%; right: -200px;
  opacity: 0.4;
  animation-delay: -7s;
}
.shape--yellow {
  width: 400px; height: 400px;
  background: var(--yellow);
  bottom: 0; left: 30%;
  opacity: 0.3;
  animation-delay: -14s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  margin-bottom: 40px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}
.hero__tag-dot {
  width: 8px;
  height: 8px;
  background: var(--magenta);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(54px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  margin-bottom: 40px;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line .word {
  display: inline-block;
  animation: heroWord 1s var(--ease-out) both;
}
.hero__line:nth-child(1) .word:nth-child(1) { animation-delay: 0.3s; }
.hero__line:nth-child(1) .word:nth-child(2) { animation-delay: 0.4s; }
.hero__line:nth-child(2) .word { animation-delay: 0.5s; }
.hero__line:nth-child(3) .word { animation-delay: 0.6s; }

.word--magenta {
  color: var(--magenta);
  position: relative;
}
.word--magenta::after {
  content: '';
  position: absolute;
  right: -0.05em;
  bottom: 0.18em;
  width: 0.18em;
  height: 0.18em;
  background: var(--cyan);
  mix-blend-mode: difference;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes heroWord {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  font-size: clamp(16px, 1.5vw, 22px);
  max-width: 560px;
  color: var(--fg-dim);
  margin-bottom: 50px;
  animation: fadeInUp 0.8s var(--ease-out) 0.9s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s var(--ease-out) 1.1s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--magenta);
  color: var(--fg);
}
.btn--primary:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-3px);
}
.btn--ghost {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--fg);
}
.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-3px);
  border-color: var(--fg);
}

.hero__scroll {
  position: absolute;
  bottom: 130px;
  right: var(--pad);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--fg-dim) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--fg);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: -50%; }
  100% { top: 100%; }
}
@media (max-width: 800px) {
  .hero__scroll { display: none; }
}

/* === MARQUEE === */
.hero__marquee {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}
.marquee {
  display: flex;
  gap: 30px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}
.marquee span:not(.dot) { color: var(--fg); }
.marquee .dot {
  color: var(--magenta);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === SECTION HEADER === */
.section-header {
  margin-bottom: 80px;
  max-width: 900px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  margin-bottom: 30px;
}
.section-label .num {
  color: var(--magenta);
  font-weight: 600;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}
.section-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 600px;
}

/* === INTRO === */
.intro {
  padding: 140px var(--pad) 80px;
  border-top: 1px solid var(--grid-line);
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.intro__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
}
.intro__label .num {
  color: var(--magenta);
  font-weight: 600;
}
.intro__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.intro__heading em {
  font-style: normal;
  color: var(--magenta);
}
.intro__text {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  max-width: 600px;
  color: var(--fg-dim);
  font-size: 17px;
}
@media (max-width: 800px) {
  .intro__grid { grid-template-columns: 1fr; gap: 30px; }
  .intro__text { grid-column: 1; }
}

/* === SERVICES === */
.services {
  padding: 140px var(--pad) 100px;
  border-top: 1px solid var(--grid-line);
  position: relative;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--grid-line);
  border-radius: 4px;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}
.service {
  padding: 40px 32px;
  border-right: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.service:nth-child(3n) { border-right: none; }
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--service-color);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.service[data-color="magenta"] { --service-color: var(--magenta); }
.service[data-color="cyan"] { --service-color: var(--cyan); }
.service[data-color="yellow"] { --service-color: var(--yellow); }
.service[data-color="all"] {
  --service-color: linear-gradient(135deg, var(--magenta), var(--cyan), var(--yellow));
}
.service:hover::before {
  opacity: 1;
}
.service:hover { color: var(--bg); }
.service:hover .service__num { color: rgba(0,0,0,0.4); }
.service:hover .service__tags span {
  background: rgba(0,0,0,0.15);
  color: var(--bg);
  border-color: transparent;
}

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

.service__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  transition: color 0.3s;
}
.service__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  color: var(--fg);
  transition: color 0.3s, transform 0.4s var(--ease);
}
.service:hover .service__icon {
  transform: scale(1.15) rotate(-5deg);
}
.service__icon svg {
  width: 100%;
  height: 100%;
}
.service__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin-bottom: 16px;
}
.service__desc {
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  transition: color 0.3s;
}
.service:hover .service__desc { color: rgba(0,0,0,0.7); }
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service__tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}
.service--wide {
  grid-column: span 3;
  border-right: none;
  background: var(--bg-alt);
}
@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid var(--grid-line); }
  .service:nth-child(2n) { border-right: none; }
  .service--wide { grid-column: span 2; border-right: none; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .service { border-right: none !important; min-height: auto; }
  .service--wide { grid-column: span 1; }
}

/* === WORKFLOW === */
.workflow {
  padding: 140px var(--pad) 100px;
  border-top: 1px solid var(--grid-line);
  background: var(--bg-alt);
}
.workflow__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}
.step {
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--magenta);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.step:nth-child(3) .step__num { color: var(--cyan); }
.step:nth-child(5) .step__num { color: var(--yellow); }
.step:nth-child(7) .step__num { color: var(--fg); }

.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step p {
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.step__connector {
  width: 40px;
  height: 1px;
  background: var(--fg-dim);
  margin-top: 50px;
  position: relative;
}
.step__connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 0;
  height: 0;
  border-left: 5px solid var(--fg-dim);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
@media (max-width: 1100px) {
  .workflow__steps { grid-template-columns: 1fr 1fr; gap: 50px; }
  .step__connector { display: none; }
}
@media (max-width: 600px) {
  .workflow__steps { grid-template-columns: 1fr; }
}

/* === WORKS === */
.works {
  padding: 140px var(--pad) 100px;
  border-top: 1px solid var(--grid-line);
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.work {
  cursor: none;
  transition: transform 0.4s var(--ease);
}
@media (max-width: 900px) { .work { cursor: pointer; } }
.work:hover {
  transform: translateY(-8px);
}
.work__visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-alt);
}
.work__visual.no-image {
  background: var(--fallback, linear-gradient(135deg, var(--magenta), var(--cyan)));
}
.work__visual.no-image::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: rgba(0,0,0,0.4);
  text-transform: lowercase;
  letter-spacing: -0.02em;
}
.work__visual svg,
.work__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.work__visual img {
  filter: saturate(1.05) contrast(1.02);
}
.work:hover .work__visual svg,
.work:hover .work__visual img {
  transform: scale(1.08);
}
.work__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
  pointer-events: none;
}
.work__meta {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: 10px;
}
.work__meta span:nth-child(2) { color: var(--magenta); }
.work h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
@media (max-width: 900px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .works__grid { grid-template-columns: 1fr; }
}

/* === CONFIGURATOR === */
.configurator {
  padding: 140px var(--pad) 100px;
  border-top: 1px solid var(--grid-line);
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.configurator::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--magenta) 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(60px);
  pointer-events: none;
}
.config {
  max-width: 900px;
  margin: 0 auto;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.config__steps {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}
.config__step {
  flex: 1;
  padding: 20px 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  border-right: 1px solid var(--grid-line);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.config__step:last-child { border-right: none; }
.config__step span {
  font-weight: 600;
  color: var(--fg-dim);
  transition: color 0.3s;
}
.config__step.active {
  color: var(--fg);
  background: #242424;
}
.config__step.active span {
  color: var(--magenta);
}
.config__step.completed span {
  color: var(--cyan);
}

.config__form {
  padding: 50px 40px;
  position: relative;
  min-height: 500px;
}
@media (max-width: 600px) {
  .config__form { padding: 30px 20px; }
}
.config__panel {
  display: none;
  animation: panelFade 0.5s var(--ease-out);
}
.config__panel.active { display: block; }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.config__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin-bottom: 40px;
}

.config__chosen {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255, 0, 128, 0.12);
  border: 1px solid rgba(255, 0, 128, 0.35);
  border-radius: 100px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.config__chosen-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}
.config__chosen-value {
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  flex-grow: 1;
}
.config__chosen-edit {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 0, 128, 0.4);
  transition: all 0.2s;
}
.config__chosen-edit:hover {
  background: var(--magenta);
  color: var(--fg);
}

.config__group {
  margin-bottom: 24px;
}
.config__common {
  margin-top: 8px;
}
.config__group[hidden] {
  display: none !important;
}

.config__products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
@media (max-width: 700px) {
  .config__products { grid-template-columns: repeat(2, 1fr); }
}
.product-card {
  cursor: none;
  display: block;
}
@media (max-width: 900px) { .product-card { cursor: pointer; } }
.product-card input { position: absolute; opacity: 0; pointer-events: none; }
.product-card__inner {
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 130px;
  justify-content: center;
}
.product-card:hover .product-card__inner {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}
.product-card input:checked + .product-card__inner {
  border-color: var(--magenta);
  background: rgba(255, 0, 128, 0.12);
}
.product-card__icon {
  width: 32px;
  height: 32px;
  color: var(--c);
}
.product-card__icon svg { width: 100%; height: 100%; }
.product-card span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.config__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .config__fields { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  color: var(--fg);
  transition: border-color 0.2s, background 0.2s;
  border-radius: 8px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta);
  background: rgba(0, 0, 0, 0.6);
}
.field input.field-invalid,
.field select.field-invalid,
.field textarea.field-invalid {
  border-color: var(--magenta);
  background: rgba(255, 0, 128, 0.08);
  animation: fieldShake 0.4s ease-in-out;
}

/* Eingabefeld mit fester Einheit rechts (z.B. "mm") */
.field-with-suffix {
  position: relative;
  display: flex;
  align-items: center;
}
.field-with-suffix input {
  flex: 1;
  padding-right: 50px;
  width: 100%;
}
.field-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
  pointer-events: none;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23999' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  appearance: none;
}
.field select option {
  background: var(--bg);
  color: var(--fg);
}
.field textarea { resize: vertical; }

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.radio-pill {
  cursor: none;
  position: relative;
}
@media (max-width: 900px) { .radio-pill { cursor: pointer; } }
.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-pill span {
  display: inline-block;
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  font-size: 13px;
  transition: all 0.3s;
}
.radio-pill:hover span {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.5);
}
.radio-pill input:checked + span {
  background: var(--magenta);
  border-color: var(--magenta);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: none;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
}
@media (max-width: 900px) { .checkbox { cursor: pointer; } }
.checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox__box {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: all 0.2s;
}
.checkbox:hover .checkbox__box {
  border-color: rgba(255, 255, 255, 0.4);
}
.checkbox input:checked + .checkbox__box {
  background: var(--magenta);
  border-color: var(--magenta);
}
.checkbox input:checked + .checkbox__box::after {
  content: '';
  position: absolute;
  top: 2px; left: 6px;
  width: 5px; height: 10px;
  border-right: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(45deg);
}

.config__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.success {
  text-align: center;
  padding: 30px 20px;
}
.success__icon {
  width: 80px;
  height: 80px;
  color: var(--cyan);
  margin: 0 auto 30px;
}
.success__icon svg {
  width: 100%; height: 100%;
  animation: successPop 0.6s var(--ease-out);
}
@keyframes successPop {
  0% { transform: scale(0) rotate(-45deg); }
  60% { transform: scale(1.2) rotate(0); }
  100% { transform: scale(1) rotate(0); }
}
.success h3 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin-bottom: 14px;
}
.success p {
  color: var(--fg-dim);
  font-size: 16px;
}

/* === CONTACT === */
.contact {
  padding: 140px var(--pad) 100px;
  border-top: 1px solid var(--grid-line);
  position: relative;
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, var(--magenta) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, var(--cyan) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, var(--yellow) 0%, transparent 40%);
  opacity: 0.08;
  filter: blur(60px);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}
@media (max-width: 800px) {
  .contact__grid { grid-template-columns: 1fr; }
}
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  border: 1px solid var(--grid-line);
  border-radius: 6px;
  position: relative;
  transition: all 0.4s var(--ease);
  background: var(--bg-alt);
  min-height: 200px;
}
.contact-card:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  transform: translateY(-6px);
}
.contact-card:nth-child(2):hover {
  background: var(--cyan);
  border-color: var(--cyan);
}
.contact-card:nth-child(3):hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  margin-bottom: 16px;
  transition: color 0.3s;
}
.contact-card:hover .contact-card__label { color: rgba(255,255,255,0.7); }
.contact-card:nth-child(3):hover .contact-card__label { color: rgba(0,0,0,0.6); }

.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  flex-grow: 1;
}
.contact-card__arrow {
  margin-top: 30px;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--grid-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease);
  align-self: flex-start;
}
.contact-card__arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.contact-card:hover .contact-card__arrow {
  transform: rotate(-45deg);
  border-color: currentColor;
}

.contact__hours {
  display: flex;
  gap: 60px;
  padding: 30px 0;
  border-top: 1px solid var(--grid-line);
}
.contact__hours > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__hours-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
}
.contact__hours-value {
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 600px) {
  .contact__hours { flex-direction: column; gap: 20px; }
}

/* === FOOTER === */
.footer {
  padding: 80px var(--pad) 0;
  border-top: 1px solid var(--grid-line);
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}
.footer__logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}
.footer__brand p {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a, .footer__col li {
  font-size: 14px;
  color: var(--fg);
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--magenta);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid var(--grid-line);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .footer__bottom { flex-direction: column; gap: 12px; align-items: center; }
}

/* === LEGAL PAGES (Impressum/Datenschutz) === */
.legal {
  padding: 140px var(--pad) 80px;
  min-height: 70vh;
}
.legal__inner {
  max-width: 820px;
  margin: 0 auto;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: all 0.2s;
}
.legal__back svg { width: 14px; height: 14px; }
.legal__back:hover {
  color: var(--fg);
  border-color: var(--magenta);
  background: rgba(255, 0, 128, 0.1);
}
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  margin-bottom: 60px;
  margin-top: 24px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  margin: 50px 0 18px;
  color: var(--fg);
}
.legal h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--fg);
}
.legal p, .legal ul {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 244, 240, 0.78);
  margin-bottom: 16px;
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.legal a {
  color: var(--magenta);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s;
}
.legal a:hover {
  opacity: 0.7;
}
.legal hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 50px 0 30px;
}
.legal__updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  margin-left: auto;
  z-index: 100;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(calc(100% + 30px));
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-banner__icon {
  font-size: 22px;
}
.cookie-banner__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 244, 240, 0.75);
  margin-bottom: 16px;
}
.cookie-banner__text a {
  color: var(--magenta);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-banner__btn--primary {
  background: var(--magenta);
  color: var(--fg);
  border: 1.5px solid var(--magenta);
}
.cookie-banner__btn--primary:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.cookie-banner__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 20px;
  }
}

/* === MOBILE FINE-TUNING === */
@media (max-width: 600px) {
  .nav__logo img { height: 56px; }
  .footer__logo { height: 50px; }

  .hero {
    padding: 120px 24px 120px;
    min-height: auto;
  }
  .hero__title { margin-bottom: 30px; }
  .hero__sub { margin-bottom: 36px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .marquee { font-size: 16px; gap: 18px; }
  .hero__marquee { padding: 10px 0; }

  .intro { padding: 80px 24px 60px; }
  .services, .workflow, .works, .configurator, .contact {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .section-header { margin-bottom: 50px; }

  .step__num { font-size: 60px; }

  .config__step {
    padding: 14px 12px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }
  .config__step span { display: none; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee, .shape, .word--magenta::after, .hero__tag-dot { animation: none !important; }
}
