:root {
  --bg: #05070d;
  --bg-2: #080b12;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f8fafc;
  --muted: #b6becd;
  --muted-2: #7f8797;
  --purple: #8b5cf6;
  --purple-2: #6d28d9;
  --purple-3: #a78bfa;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 15%, rgba(139, 92, 246, 0.2), transparent 27rem),
    radial-gradient(circle at 18% 0%, rgba(69, 39, 160, 0.16), transparent 34rem),
    linear-gradient(180deg, #05070d 0%, #070a11 44%, #05070d 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(72px);
  opacity: 0.22;
}

.page-glow-one {
  right: -17vw;
  top: 18vh;
  background: #7c3aed;
}

.page-glow-two {
  left: -20vw;
  bottom: 8vh;
  background: #312e81;
}

.section-divider {
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 13, 0.88);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 96px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(130px, 10vw, 162px);
  aspect-ratio: 1200 / 755;
  height: auto;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.28));
}

.site-footer .brand {
  width: 220px;
  aspect-ratio: 1200 / 755;
  height: auto;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 32px;
}

.brand-mark span {
  position: absolute;
  display: block;
  border-radius: 5px;
  background: linear-gradient(145deg, var(--purple-3), var(--purple-2));
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.42);
}

.brand-mark span:nth-child(1) {
  left: 2px;
  top: 3px;
  width: 8px;
  height: 29px;
  transform: skewX(-28deg);
}

.brand-mark span:nth-child(2) {
  left: 13px;
  top: 6px;
  width: 9px;
  height: 25px;
  transform: skewX(31deg);
}

.brand-mark span:nth-child(3) {
  right: 4px;
  top: 1px;
  width: 9px;
  height: 30px;
  transform: skewX(-16deg);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  color: #f2f5fb;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  color: rgba(248, 250, 252, 0.84);
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--purple);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(167, 139, 250, 0.58);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 18px rgba(139, 92, 246, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  border-color: var(--purple-3);
  background: rgba(139, 92, 246, 0.12);
}

.header-cta span,
.btn span {
  transition: transform 180ms ease;
}

.header-cta:hover span,
.btn:hover span {
  transform: translateX(4px);
}

.menu-toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 28px;
}

.menu-toggle.is-open span:first-child {
  transform: translate(-50%, 5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translate(-50%, -5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  align-items: center;
  gap: clamp(42px, 5vw, 78px);
  padding-block: clamp(74px, 10vw, 124px) 56px;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--purple-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow.pill {
  padding: 9px 14px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  box-shadow: inset 0 0 16px rgba(139, 92, 246, 0.08);
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  margin-top: 26px;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.06;
}

.hero h1 span {
  color: var(--purple);
}

.hero p {
  max-width: 610px;
  margin-top: 28px;
  color: #d0d5df;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 12px;
  padding: 0 26px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 48%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 20px 46px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: #eef2f8;
}

.btn-secondary:hover {
  border-color: rgba(167, 139, 250, 0.7);
  background: rgba(139, 92, 246, 0.1);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
  color: #dbe1ea;
  font-size: 13px;
  font-weight: 500;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-row i {
  color: var(--purple);
  font-size: 17px;
  font-style: normal;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  transform-style: flat;
}

.visual-aura {
  position: absolute;
  z-index: 0;
  inset: 8% 0 5% 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 58%, rgba(139, 92, 246, 0.64), transparent 28%),
    radial-gradient(circle at 72% 45%, rgba(93, 63, 211, 0.38), transparent 35%);
  filter: blur(30px);
  opacity: 0.85;
}

.rock-shape {
  display: none;
}

.laptop {
  position: absolute;
  z-index: 3;
  right: 12%;
  top: 9%;
  width: min(700px, 88%);
  transform: perspective(1250px) rotateY(-17deg) rotateX(7deg) rotateZ(-6deg);
  transform-origin: center;
  filter: drop-shadow(0 42px 46px rgba(0, 0, 0, 0.6));
}

.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  z-index: 2;
  border: 4px solid #272a33;
  border-radius: 18px 18px 10px 10px;
  background:
    radial-gradient(circle at 66% 43%, rgba(139, 92, 246, 0.48), transparent 19%),
    radial-gradient(circle at 82% 26%, rgba(37, 99, 235, 0.16), transparent 26%),
    linear-gradient(145deg, #0c0f18 0%, #080a11 60%, #121522 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.laptop-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 74px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #05060a;
}

.screen-top {
  position: absolute;
  inset: 22px 26px auto 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-logo {
  width: 62px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), rgba(255, 255, 255, 0.54));
}

.screen-chip {
  width: 42px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}

.screen-content {
  position: absolute;
  left: 44px;
  top: 120px;
  max-width: 320px;
}

.screen-content h2 {
  font-size: clamp(18px, 2vw, 29px);
  line-height: 1.12;
  font-weight: 800;
}

.screen-content p {
  margin-top: 14px;
  color: rgba(230, 233, 242, 0.64);
  font-size: 11px;
  line-height: 1.6;
}

.screen-buttons {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.screen-buttons span {
  width: 82px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}

.screen-buttons span:last-child {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.screen-logos {
  position: absolute;
  right: 32px;
  bottom: 34px;
  left: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(238, 242, 248, 0.52);
  font-size: 11px;
  text-align: center;
}

.laptop-base {
  position: relative;
  z-index: 1;
  width: 116%;
  height: 62px;
  margin-left: -8%;
  transform: perspective(900px) rotateX(63deg);
  transform-origin: top;
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(180deg, #9fa1a6 0%, #50535c 24%, #22252c 60%, #0f1118 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 30px 50px rgba(0, 0, 0, 0.62);
}


.phone {
  position: absolute;
  z-index: 40;
  right: -2%;
  top: 24%;
  width: min(176px, 25vw);
  min-width: 132px;
  aspect-ratio: 0.52;
  padding: 48px 18px 20px;
  border: 4px solid #292d38;
  border-radius: 31px;
  background:
    radial-gradient(circle at 68% 35%, rgba(139, 92, 246, 0.4), transparent 32%),
    linear-gradient(150deg, #111420, #06070d);
  box-shadow: 0 34px 58px rgba(0, 0, 0, 0.64), 0 0 42px rgba(139, 92, 246, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 48px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05060a;
}

.phone span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 600;
}

.phone h3 {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.phone h3 {
  font-size: clamp(15px, 1.5vw, 20px);
}

.phone-cta {
  width: 58px;
  height: 20px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}

.phone-grid {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.phone-grid i {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

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

.services,
.projects,
.process,
.cta-section {
  padding-block: clamp(72px, 9vw, 104px);
}

.section-heading h2,
.project-copy h2,
.process-copy h2,
.cta-banner h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 800;
  line-height: 1.18;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.service-card {
  min-height: 220px;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-media {
  width: calc(100% + 56px);
  height: auto;
  margin: -30px -28px 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 240ms ease;
}

.service-card:hover .service-media {
  transform: scale(1.04);
}

@media (max-width: 760px) {
  .service-media {
    aspect-ratio: 4 / 3;
  }
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-7px);
}

.service-card:hover {
  border-color: rgba(167, 139, 250, 0.38);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple);
}

.icon-badge svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.service-card h3 {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 800;
}

.service-card p,
.project-card p,
.timeline-step p,
.cta-banner p,
.site-footer p,
.site-footer a,
.site-footer small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-card p {
  margin-top: 12px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 70px);
}

.project-copy .btn {
  margin-top: 28px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  transition: transform 180ms ease;
}

.project-shot {
  position: relative;
  display: flex;
  min-height: 152px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: #111;
  box-shadow: var(--shadow);
}

.project-shot::before,
.project-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-shot::before {
  background: radial-gradient(circle at 84% 26%, rgba(255, 255, 255, 0.12), transparent 34%);
}

.project-shot::after {
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.project-shot span,
.project-shot strong {
  position: relative;
  z-index: 1;
}

.project-shot span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  text-transform: uppercase;
}

.project-shot strong {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* CMS-Projekte: Titel beliebiger Länge sauber umbrechen statt abschneiden */
.project-shot.cms strong {
  margin-top: 10px;
  font-size: clamp(19px, 2.1vw, 27px);
  letter-spacing: 0.02em;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-shot i {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 72%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.gravitas {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    #0e0f12;
}

.luxora {
  background:
    linear-gradient(90deg, rgba(245, 240, 233, 0.98), rgba(224, 218, 209, 0.82)),
    linear-gradient(140deg, transparent, rgba(0, 0, 0, 0.08));
}

.luxora span,
.luxora strong {
  color: #2b2927;
}

.athlex {
  background:
    radial-gradient(circle at 88% 38%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(90deg, #0b0b0c 0%, #0d0e11 54%, #303033 100%);
}

.athlex strong {
  max-width: 220px;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(21px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.project-card h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 800;
}

.project-card p {
  margin-top: 3px;
  color: #aab2c1;
  font-size: 13px;
}

/* Klickbare Projekte mit Bild */
a.project-card { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.project-shot.has-img {
  background-size: cover;
  background-position: center;
  justify-content: flex-end;
  align-items: flex-start;
}
.project-shot.has-img::before {
  background: linear-gradient(to top, rgba(8, 6, 18, 0.62), rgba(8, 6, 18, 0.04) 55%);
}
.project-shot.has-img span {
  color: #fff;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}
.project-go {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  padding: 7px 13px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}
a.project-card:hover .project-go { opacity: 1; transform: none; }

.process {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.process-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 78px);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-top: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 10%;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.38), rgba(255, 255, 255, 0.08));
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.timeline-step span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--purple-3), var(--purple-2));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.32);
}

.timeline-step h3 {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 800;
}

.timeline-step p {
  margin-top: 10px;
  color: #b8c0ce;
  font-size: 13px;
}

.cta-section {
  padding-top: 24px;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  padding: clamp(34px, 4vw, 54px) clamp(30px, 5vw, 58px);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 52%, rgba(167, 139, 250, 0.38), transparent 27%),
    linear-gradient(135deg, rgba(40, 25, 86, 0.92), rgba(29, 27, 44, 0.96) 40%, rgba(99, 53, 197, 0.86));
  box-shadow: 0 30px 90px rgba(69, 39, 160, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  max-width: 390px;
  margin-top: 0;
}

.cta-banner p {
  max-width: 375px;
  margin-top: 16px;
}

.cta-banner ul {
  display: grid;
  gap: 12px;
  list-style: none;
  color: #eef2ff;
  font-size: 14px;
  font-weight: 600;
}

.cta-banner li {
  position: relative;
  padding-left: 24px;
}

.cta-banner li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--purple-3);
}

.cta-banner .btn {
  min-width: 315px;
}

.site-footer {
  padding-block: 54px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.55fr) repeat(3, minmax(130px, 0.8fr));
  gap: 58px;
}

.footer-brand p {
  max-width: 290px;
  margin-top: 18px;
}

.footer-brand small {
  display: block;
  margin-top: 64px;
  color: var(--muted-2);
}

.site-footer h3 {
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 800;
}

.site-footer a:not(.brand) {
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: #c4cad6;
  font-size: 14px;
  transition: color 180ms ease;
}

.site-footer a:not(.brand):hover {
  color: var(--purple-3);
}

.socials {
  display: flex;
  gap: 13px;
  margin-top: 22px;
}

.socials a {
  display: grid !important;
  place-items: center;
  width: 40px !important;
  height: 40px;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.62);
  background: rgba(139, 92, 246, 0.18);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.animations-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 96px 18px auto;
    z-index: 45;
    display: grid;
    gap: 26px;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: rgba(10, 13, 22, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    transition: max-height 220ms ease, padding 220ms ease, border-color 220ms ease;
  }

  .mobile-menu.is-open {
    max-height: 520px;
    padding: 26px;
    border-color: var(--line);
  }

  .mobile-menu nav {
    display: grid;
    gap: 4px;
  }

  .mobile-menu nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #f4f7fb;
    font-size: 20px;
    font-weight: 800;
  }

  .mobile-menu .btn {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero h1,
  .hero p {
    max-width: 760px;
  }

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

  .projects-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .project-copy {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
  }

  .project-copy h2,
  .process-copy h2 {
    max-width: 520px;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner .btn {
    width: fit-content;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    width: 100%;
    min-height: 86px;
    padding-inline: 16px;
  }

  .menu-toggle {
    position: fixed;
    top: 19px;
    right: 16px;
    z-index: 80;
    margin-left: 0;
  }

  .brand {
    width: 132px;
    aspect-ratio: 1200 / 755;
    height: auto;
  }

  .brand-mark {
    width: 34px;
    height: 29px;
  }

  .mobile-menu {
    top: 86px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 32px 52px;
  }

  .hero-content {
    text-align: left;
    padding-right: 16px;
  }

  .hero p {
    max-width: min(100%, 34ch);
    overflow-wrap: break-word;
  }

  .hero-actions,
  .trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    width: calc(100vw - 48px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row {
    gap: 14px;
  }

  .hero-visual {
    min-height: clamp(430px, 104vw, 480px);
    margin-top: 6px;
    isolation: isolate;
  }

  .visual-aura {
    inset: 4% -18% 8% -8%;
    filter: blur(24px);
    opacity: 0.7;
  }

  .rock-shape {
    display: none;
  }

  .laptop {
    right: 2%;
    top: 18px;
    width: 92%;
    transform: perspective(920px) rotateY(-7deg) rotateX(4deg) rotateZ(-3deg);
    filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.56));
  }

  .laptop-screen {
    border-width: 3px;
    border-radius: 16px 16px 9px 9px;
  }

  .screen-top {
    inset: 16px 20px auto 20px;
  }

  .screen-content {
    left: 24px;
    top: 74px;
    max-width: 176px;
  }

  .screen-content h2 {
    font-size: 18px;
  }

  .screen-content p,
  .screen-logos {
    display: none;
  }

  .screen-buttons {
    margin-top: 16px;
  }

  .screen-buttons span {
    width: 58px;
    height: 18px;
  }

  .laptop-base {
    height: 42px;
  }

  .phone {
    display: block;
    right: auto;
    left: min(50vw, calc(100% - 154px));
    top: 158px;
    width: clamp(112px, 31vw, 126px);
    min-width: 0;
    aspect-ratio: 0.50;
    padding: 34px 11px 12px;
    border-width: 3px;
    border-radius: 26px;
    transform: rotate(4deg);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.58), 0 0 34px rgba(139, 92, 246, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .phone h3 {
    font-size: 11px;
  }

  .phone-cta {
    width: 44px;
    height: 16px;
    margin-top: 14px;
  }

  .phone-grid {
    gap: 5px;
    margin-top: 12px;
  }

  .phone-grid i {
    min-height: 18px;
  }

  .services,
  .projects,
  .process,
  .cta-section {
    padding-block: 62px;
  }

  .services-grid,
  .project-gallery,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .project-copy {
    display: block;
  }

  .project-copy .btn {
    width: 100%;
  }

  .timeline {
    gap: 24px;
    padding-left: 0;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 23px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.4), rgba(255, 255, 255, 0.08));
  }

  .timeline-step {
    padding-left: 72px;
  }

  .timeline-step span {
    position: absolute;
    left: 0;
    top: 0;
  }

  .timeline-step h3 {
    margin-top: 5px;
  }

  .cta-banner {
    gap: 28px;
    border-radius: 14px;
  }

  .cta-banner .btn {
    width: 100%;
    min-width: 0;
  }

  .footer-brand small {
    margin-top: 32px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 39px;
  }

  .hero-visual {
    min-height: 448px;
  }

  .laptop {
    right: 4%;
    top: 16px;
    width: 90%;
  }

  .laptop-base {
    height: 40px;
  }

  .phone {
    display: block;
    top: 148px;
    right: auto;
    left: min(48vw, calc(100% - 146px));
    width: 112px;
  }
}

.subpage-hero {
  padding-block: clamp(72px, 9vw, 118px) clamp(54px, 7vw, 86px);
  background:
    radial-gradient(circle at 78% 15%, rgba(139, 92, 246, 0.18), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: clamp(34px, 6vw, 76px);
}

.narrow-hero {
  max-width: 820px;
}

.subpage-hero h1 {
  max-width: 820px;
  margin-top: 22px;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 800;
  line-height: 1.04;
}

.subpage-hero p {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.72;
}

.subpage-side-card,
.contact-aside,
.contact-form,
.legal-card,
.legal-nav {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.subpage-side-card {
  padding: 30px;
  border-radius: 18px;
}

.subpage-side-card span {
  color: var(--purple-3);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.subpage-side-card strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.15;
}

.subpage-side-card p {
  margin-top: 14px;
  font-size: 15px;
}

.legal-section,
.contact-section {
  padding-block: clamp(70px, 9vw, 110px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.legal-nav {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
}

.legal-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.legal-nav a:hover,
.legal-nav a.active {
  color: #fff;
  background: rgba(139, 92, 246, 0.18);
}

.legal-card {
  max-width: 920px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 18px;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.legal-card a,
.checkbox-row a {
  color: var(--purple-3);
  font-weight: 800;
}

.legal-note {
  padding: 18px 20px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.09);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-aside,
.contact-form {
  border-radius: 18px;
}

.contact-aside {
  padding: 32px;
}

.contact-aside h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.contact-aside p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: block;
  color: #eef2f8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 42px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-group {
  display: grid;
  gap: 10px;
  color: #eef2f8;
  font-size: 14px;
  font-weight: 800;
}

.field-group span {
  color: var(--purple-3);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(5, 7, 13, 0.66);
  color: #fff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field-group input,
.field-group select {
  min-height: 54px;
  padding: 0 16px;
}

/* Dropdown-Optionen lesbar machen (sonst im nativen Menü weiß auf weiß) */
.field-group select option {
  color: #14142a;
  background-color: #ffffff;
}
.field-group select option[disabled] {
  color: #7f8797;
}

.field-group small {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted-2);
}

/* ── Custom Auswahl-Felder (im Look des Selects) ──────────────────── */
.multiselect,
.customselect {
  position: relative;
}
.multiselect-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(5, 7, 13, 0.66);
  color: #fff;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.multiselect-toggle:hover {
  border-color: rgba(167, 139, 250, 0.42);
}
.multiselect-toggle[aria-expanded="true"] {
  border-color: rgba(167, 139, 250, 0.72);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}
.ms-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms-placeholder {
  color: rgba(167, 139, 250, 0.7);
}
.ms-arrow {
  flex: none;
  transition: transform 180ms ease;
}
.multiselect-toggle[aria-expanded="true"] .ms-arrow {
  transform: rotate(180deg);
}
.multiselect-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #0b0e16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
}
.multiselect-panel[hidden] {
  display: none;
}
.multiselect-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 10px;
  border-radius: 9px;
  color: #eef2f8;
  font-weight: 500;
  cursor: pointer;
  transition: background 140ms ease;
}
.multiselect-option:hover {
  background: rgba(139, 92, 246, 0.14);
}
/* Custom-Checkbox (statt nativer Browser-Optik) */
.multiselect-option input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.multiselect-option input::before {
  content: "";
  width: 11px;
  height: 11px;
  transform: scale(0);
  transition: transform 120ms ease;
  background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.multiselect-option input:checked {
  background: var(--purple);
  border-color: var(--purple);
}
.multiselect-option input:checked::before {
  transform: scale(1);
}
.multiselect-option:hover input {
  border-color: var(--purple-3);
}

/* Einfach-Auswahl-Optionen (z. B. Budget) */
.select-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #eef2f8;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease;
}
.select-option:hover {
  background: rgba(139, 92, 246, 0.14);
}
.select-option[aria-selected="true"] {
  background: rgba(139, 92, 246, 0.22);
  color: #fff;
}
.field-group.has-error .multiselect-toggle {
  border-color: rgba(248, 113, 113, 0.75);
}

.field-group textarea {
  min-height: 174px;
  padding: 16px;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(167, 139, 250, 0.7);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(167, 139, 250, 0.72);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea,
.checkbox-row.has-error {
  border-color: rgba(248, 113, 113, 0.75);
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-error {
  color: #fca5a5;
}

.form-status.is-success {
  color: #c4b5fd;
}

@media (max-width: 980px) {
  .subpage-hero-grid,
  .legal-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .legal-nav a {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .subpage-hero {
    padding-block: 46px 52px;
  }

  .subpage-hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .form-row,
  .legal-nav {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
  }
}




