/* ============================================================
   STRUKTUR — Software Engineering brand site
   Recreated from the Claude Design prototype (Startseite.dc.html).
   Palette / type / spacing values are lifted verbatim from the
   prototype's inline styles.
   ============================================================ */

:root {
  --bg: #090d14;
  --grid-line: #0d1420;
  --accent: #3b82f6;
  --accent-hover: #5b9bff;
  --accent-soft: #7fb0ff;

  --panel: #0c111a;
  --panel-alt: #0b0f18;
  --panel-deep: #0a0e16;
  --panel-blue: #0c1422;

  --border: #141c29;
  --border-card: #18212f;
  --border-blue: #22314a;
  --border-nav: #283447;

  --text-hi: #f3f6fa;
  --text: #eaeef4;
  --text-soft: #dfe6f1;
  --text-muted: #9aa6b6;
  --text-dim: #8793a4;
  --text-dimmer: #7d8a9c;
  --text-faint: #5f6b7b;

  --font-display: "Bruno Ace", sans-serif;
  --font-ui: "Space Grotesk", sans-serif;
  --font-body: "Hanken Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
}

::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
}

a {
  color: inherit;
}

section[id] {
  scroll-margin-top: 80px;
}

/* ---- grid backdrop ---- */
.site {
  background: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  min-height: 100vh;
}

/* ---- keyframes ---- */
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, -6px);
  }
}
@keyframes drift2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-6px, 5px);
  }
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.75;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 36px;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  display: block;
}
.brand-name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.nav-link:hover {
  color: var(--text);
}
.nav-link--btn {
  color: var(--text);
  border: 1px solid var(--border-nav);
  padding: 8px 16px;
  border-radius: 5px;
}
.nav-link--btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-ui);
  text-decoration: none;
  border-radius: 5px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #07101e;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
}
.btn--primary:hover {
  background: var(--accent-hover);
}
.btn--secondary {
  color: #cfd8e6;
  border: 1px solid #2c3850;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 22px;
}
.btn--secondary:hover {
  border-color: var(--accent);
}
.btn--lg {
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 6px;
}

/* ============================================================
   SHARED SECTION PRIMITIVES
   ============================================================ */
.section {
  border-bottom: 1px solid var(--border);
}
.section--alt {
  background: var(--panel-alt);
}
.section--empty {
  min-height: 1px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 36px;
}
.container--cta {
  padding: 120px 36px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: #f2f5f9;
  margin: 0;
}
.h2--wide {
  max-width: 650px;
}
.h2--gap {
  max-width: 560px;
  margin-bottom: 48px;
}
.h2--gap-lg {
  max-width: 560px;
  margin-bottom: 56px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 24px 0 0;
  max-width: 460px;
}
.lead--wide {
  max-width: 600px;
  margin-top: 22px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__glow {
  position: absolute;
  right: -60px;
  top: 60px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.16),
    rgba(59, 130, 246, 0) 62%
  );
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.hero__graphic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    #090d14 34%,
    rgba(9, 13, 20, 0.45) 54%,
    rgba(9, 13, 20, 0) 72%
  );
}
.hero__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 36px;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
}
.hero__content {
  max-width: 600px;
  padding-bottom: 100px;
}
.hero .eyebrow {
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text-hi);
  margin: 0;
  width: 800px;
  max-width: 100%;
}
.hero__title .nowrap {
  white-space: nowrap;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* drifting nodes in the hero graphic */
.drift-a {
  animation: drift 6.8s ease-in-out infinite;
}
.drift-b {
  animation: drift2 7s ease-in-out infinite;
}
.drift-a.slow {
  animation-duration: 8s;
}
.drift-b.slow {
  animation-duration: 9s;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.problem-viz svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   ROLLE — translator diagram
   ============================================================ */
.translator {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.translator__card {
  padding: 26px;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: var(--panel);
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.kicker--accent {
  letter-spacing: 0.12em;
  color: #5d7aa6;
  margin: 10px 0 0;
}
.translator__title {
  font-family: var(--font-ui);
  font-size: 20px;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.translator__desc {
  font-size: 14.5px;
  color: var(--text-dimmer);
  line-height: 1.5;
}
.translator__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}
.services-head .h2 {
  max-width: 560px;
}
.services-head__link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border-nav);
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.services-head__link:hover {
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid var(--border-card);
  border-radius: 9px;
  background: var(--panel);
  padding: 26px;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.service-card:hover {
  border-color: #2f4f86;
  transform: translateY(-3px);
}
.service-card__art {
  width: 100%;
  height: auto;
  margin-bottom: 22px;
}
.service-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #eef2f7;
  margin: 0 0 8px;
}
.service-card__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-dimmer);
  margin: 0;
}

/* ============================================================
   HALTUNG — nicht / sondern
   ============================================================ */
.stance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stance-col {
  border: 1px solid var(--border-card);
  border-radius: 9px;
  background: var(--panel-deep);
  padding: 32px;
}
.stance-col--do {
  border-color: var(--border-blue);
  background: linear-gradient(180deg, #0c1422, #0a0e16);
}
.stance-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-bottom: 22px;
}
.stance-label--accent {
  color: #5d7aa6;
}
.stance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stance-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.stance-item__mark {
  color: #3a4658;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.4;
  flex: none;
}
.stance-item__mark--accent {
  color: var(--accent);
}
.stance-item__text {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.45;
}
.stance-item__text--strong {
  color: var(--text-soft);
}

/* ============================================================
   ARBEITSWEISE — timeline
   ============================================================ */
.timeline {
  position: relative;
}
.timeline__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
}
.timeline__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--panel-deep);
  border: 1.5px solid #2a3a52;
  margin-bottom: 22px;
}
.step__dot--active {
  border-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__dot-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.step__title {
  font-family: var(--font-ui);
  font-size: 19px;
  color: #eef2f7;
  margin-bottom: 7px;
}
.step__desc {
  font-size: 14px;
  color: var(--text-dimmer);
  line-height: 1.5;
}

/* ============================================================
   KONTAKT CTA
   ============================================================ */
.cta {
  position: relative;
  border: 1px solid var(--border-blue);
  border-radius: 14px;
  background: linear-gradient(150deg, #0c1422 0%, #0a0e16 70%);
  padding: 72px 56px;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.14),
    rgba(59, 130, 246, 0) 65%
  );
}
.cta__inner {
  position: relative;
  max-width: 680px;
}
.cta .eyebrow {
  margin-bottom: 26px;
}
.cta__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: 0.005em;
  color: var(--text-hi);
  margin: 0;
}
.cta__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 24px 0 0;
  max-width: 560px;
}
.cta__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.cta__email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}
a.cta__email:hover {
  color: var(--text-dim);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 36px 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}
.nav__brand--footer {
  margin-bottom: 14px;
}
.footer__tagline {
  font-size: 14px;
  color: var(--text-faint);
  max-width: 300px;
  line-height: 1.5;
}
.footer__cols {
  display: flex;
  gap: 64px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #475467;
  margin-bottom: 4px;
}
.footer__link {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__link:hover {
  color: var(--text);
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #3a4658;
  align-self: flex-end;
}

/* ============================================================
   RESPONSIVE (the prototype was desktop-only)
   ============================================================ */
@media (max-width: 900px) {
  .nav {
    padding: 0 20px;
  }
  .nav__links {
    gap: 18px;
    font-size: 13.5px;
  }
  .container {
    padding: 72px 20px;
  }
  .container--cta {
    padding: 80px 20px;
  }

  .hero {
    min-height: 600px;
  }
  .hero__inner {
    min-height: 600px;
    padding: 0 20px;
  }
  .hero__content {
    padding-bottom: 64px;
  }
  .hero__title {
    font-size: 40px;
    width: auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .translator {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .translator__mid {
    flex-direction: row;
    gap: 14px;
    padding: 4px 0;
  }
  .translator__mid svg {
    transform: rotate(90deg);
  }
  .kicker--accent {
    margin-top: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .stance-grid {
    grid-template-columns: 1fr;
  }

  .timeline__line {
    display: none;
  }
  .timeline__steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta {
    padding: 48px 28px;
  }
  .cta__title {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .nav__links a:not(.nav-link--btn) {
    display: none;
  }
  .hero__title {
    font-size: 32px;
  }
  .h2 {
    font-size: 25px;
  }
}

/* ============================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 96px 36px 104px;
}
.legal__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: 0.005em;
  color: var(--text-hi);
  margin: 0 0 40px;
}
.legal h2 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 20px;
  color: #eef2f7;
  margin: 44px 0 12px;
}
.legal h3 {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-soft);
  margin: 28px 0 8px;
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.legal a:hover {
  border-bottom-color: var(--accent);
}
.legal address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.legal__updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-card);
}
.legal__back {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.legal__back:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .legal {
    padding: 64px 20px 80px;
  }
  .legal__title {
    font-size: 26px;
  }
}

/* respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
