@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  font-family: 'DM Sans', Arial, sans-serif;
  color: #f2f2f2;
  background: #202020;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #f2f2f2;
  --paper: #252525;
  --accent: #14a596;
  --accent-dark: #53c9bd;
  --muted: #b7b7b7;
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

body,
button,
a {
  font-family: inherit;
}

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

button {
  color: inherit;
}

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

::selection {
  color: white;
  background: var(--accent-dark);
}

#root {
  min-height: 100vh;
}

.site-shell {
  overflow: hidden;
}

.header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100% - 64px, 1400px);
  height: 96px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(240px, 25vw, 340px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 600;
}

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
  color: white;
  background: var(--ink);
  transition: background 180ms ease;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

.nav-cta svg,
.button svg,
.mail-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.nav-cta:hover svg,
.button:hover svg,
.mail-link:hover svg {
  transform: translateX(4px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  grid-template-rows: 1fr auto;
  color: var(--ink);
  background: #fff;
}

.hero-grid {
  position: absolute;
  inset: 0 48% 0 0;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(8, 120, 110, .8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 120, 110, .8) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 5%, black 40%, transparent 95%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  padding:
    165px
    clamp(32px, 6vw, 115px)
    70px
    max(
      32px,
      calc(
        (100vw - 1400px) / 2
        - clamp(0px, calc(12.93vw - 181px), 150px)
      )
    );
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--accent-dark);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(56px, 6vw, 92px);
  font-weight: 500;
  letter-spacing: -5px;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  color: var(--accent-dark);
  font-weight: 400;
}

.hero-intro {
  max-width: 570px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 46px;
}

.button {
  min-height: 58px;
  padding: 0 26px;
  font-size: 14px;
}

.button-primary {
  color: white;
  background: var(--ink);
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.text-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #3f4c4a;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 700px;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .6) 10%, transparent 24%),
    linear-gradient(0deg, rgba(5, 25, 24, .3), transparent 42%);
}

.hero-image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(.86) contrast(1.04);
}

.hero-status {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1400px) / 2));
  bottom: 38px;
  display: flex;
  max-width: 390px;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(16, 23, 22, .1);
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 45px rgba(16, 42, 39, .14);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: #60df88;
  box-shadow: 0 0 0 5px rgba(96, 223, 136, .15);
}

.hero-status small,
.hero-status strong {
  display: block;
}

.hero-status small {
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.hero-status strong {
  font-size: 13px;
  font-weight: 500;
}

.hero-index {
  position: absolute;
  z-index: 2;
  top: 132px;
  right: 28px;
  font-size: 10px;
  letter-spacing: 2px;
  color: white;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.hero-footer {
  position: relative;
  z-index: 3;
  display: flex;
  grid-column: 1 / -1;
  min-height: 104px;
  align-items: center;
  gap: 54px;
  padding: 0 max(32px, calc((100vw - 1400px) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}

.hero-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-capabilities {
  display: flex;
  gap: 44px;
  font-size: 14px;
}

.hero-capabilities span {
  position: relative;
}

.hero-capabilities span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -24px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  content: '';
}

.section {
  padding: 130px max(32px, calc((100vw - 1400px) / 2));
}

.services {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 32% 68%;
  margin-bottom: 74px;
}

.section-heading > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 50px;
}

.section h2 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -3.5px;
  line-height: 1.05;
}

.section h2 em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 400;
}

.section-heading > div > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(21, 48, 45, .11);
}

.service-image {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #d8ddda;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-image img {
  transform: scale(1.035);
}

.service-content {
  min-height: 335px;
  padding: 34px;
}

.service-content h3 {
  margin: 0 0 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1px;
}

.service-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: #52605e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.process {
  display: grid;
  grid-template-columns: 44% 56%;
  color: var(--ink);
  background: #dcecea;
}

.eyebrow-light {
  color: var(--accent-dark);
}

.process-copy {
  padding-right: 10vw;
}

.process-copy h2 em {
  color: var(--accent-dark);
}

.process-copy > p:last-child {
  max-width: 440px;
  margin: 32px 0 0;
  color: #f0f0f0;
  font-size: 17px;
  line-height: 1.8;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  padding: 32px 0;
  border-top: 1px solid rgba(16, 23, 22, .17);
}

.process-steps li:last-child {
  border-bottom: 1px solid rgba(16, 23, 22, .17);
}

.process-steps > li > span {
  padding-top: 6px;
  color: var(--accent-dark);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.process-steps h3 {
  margin: 0 0 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 25px;
  font-weight: 500;
}

.process-steps p {
  margin: 0;
  color: #53615f;
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 100px;
  background: #fff;
}

.contact-panel h2 {
  max-width: 850px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(16, 23, 22, .35);
  color: var(--accent-dark);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 600;
}

.contact-details {
  display: grid;
  align-content: end;
  gap: 28px;
  padding-bottom: 5px;
}

.contact-details > div {
  padding-top: 20px;
  border-top: 1px solid rgba(16, 23, 22, .18);
}

.contact-details small {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-details p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  padding: 30px max(32px, calc((100vw - 1400px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f3f4ef;
  font-size: 12px;
}

.brand-footer {
  color: var(--ink);
}

.brand-footer .brand-logo {
  width: 250px;
}

.footer > div {
  display: flex;
  gap: 24px;
}

.footer a:not(.brand):hover {
  color: var(--accent-dark);
}

.legal-shell {
  min-height: 100vh;
  background: #fff;
}

.legal-header {
  display: flex;
  width: min(100% - 64px, 1400px);
  height: 112px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.legal-back {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
}

.legal-main {
  width: min(100% - 64px, 920px);
  min-height: 62vh;
  margin: 0 auto;
  padding: 110px 0 140px;
}

.legal-main > h1 {
  margin: 0 0 70px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 500;
  letter-spacing: -5px;
  line-height: 1;
}

.legal-content {
  max-width: 760px;
}

.legal-content section {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 20px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -1px;
}

.legal-content p,
.legal-content address {
  margin: 0 0 16px;
  color: #53615f;
  font-size: 16px;
  font-style: normal;
  line-height: 1.8;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-footer {
  margin-top: auto;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 58% 42%;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 76px);
  }

  .section-heading,
  .section-heading > div {
    display: block;
  }

  .section-heading .eyebrow,
  .section-heading h2 {
    margin-bottom: 30px;
  }

  .section-heading > div > p {
    max-width: 580px;
  }

  .service-image {
    height: 250px;
  }

  .service-content {
    min-height: 380px;
    padding: 26px;
  }

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

@media (max-width: 780px) {
  .header {
    width: calc(100% - 40px);
    height: 80px;
  }

  .brand-logo {
    width: min(62vw, 270px);
  }

  .nav {
    margin-left: 12px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
    gap: 10px;
    font-size: 12px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 80px;
  }

  .hero-grid {
    inset: 0;
  }

  .hero-copy {
    padding: 90px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 68px);
    letter-spacing: -3.5px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    width: fit-content;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero-actions .text-link {
    margin-left: 12px;
  }

  .hero-visual {
    display: none;
  }

  .hero-image-wrap::after {
    background: linear-gradient(0deg, rgba(5,25,24,.35), transparent 60%);
  }

  .hero-index {
    top: 22px;
  }

  .hero-status {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .hero-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 28px 20px;
  }

  .hero-capabilities {
    flex-wrap: nowrap;
    gap: 18px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero-capabilities span:not(:last-child)::after {
    right: -11px;
  }

  .section {
    padding: 88px 20px;
  }

  .section h2 {
    font-size: clamp(40px, 11vw, 56px);
    letter-spacing: -2.5px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: min(78vw, 390px);
  }

  .service-content {
    min-height: auto;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .process-copy {
    padding-right: 0;
  }

  .process-steps li {
    grid-template-columns: 50px 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .mail-link {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .brand-footer .brand-logo {
    width: min(76vw, 250px);
  }

  .legal-header {
    width: calc(100% - 40px);
    height: 90px;
  }

  .legal-header .brand-logo {
    width: min(58vw, 250px);
  }

  .legal-back {
    font-size: 12px;
  }

  .legal-main {
    width: calc(100% - 40px);
    padding: 80px 0 100px;
  }

  .legal-main > h1 {
    margin-bottom: 50px;
    font-size: clamp(46px, 15vw, 68px);
    letter-spacing: -3px;
  }

  .legal-content section {
    padding: 30px 0;
  }
}

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

  .brand-logo {
    width: min(76vw, 250px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* Windows-inspired charcoal dark theme */
body, .site-shell { background: #202020; color: var(--ink); }
.hero { background: #202020; }
.about, .process, .contact { background: #252525; }
.services { background: #1b1b1b; }
.footer { background: #181818; }
.legal-shell { background: #202020; }
.hero-status, .service-card, .service-content, .contact-panel { background-color: #303030; }
.hero-image-wrap::after { background: linear-gradient(90deg, #202020 0%, rgba(32,32,32,.6) 10%, transparent 24%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 42%); }
.hero-grid { opacity: .12; }
.text-link, .legal-content p, .legal-content address, .service-content p, .service-content li { color: #c4c4c4; }
.nav-cta, .button-primary { color: #151515; background: #e0e0e0; }
.nav-cta:hover, .button-primary:hover { color: #101010; background: #53c9bd; }
.contact-details > div { border-color: rgba(255,255,255,.18); }
.mail-link { border-color: rgba(255,255,255,.3); }
.brand-logo { width: clamp(290px, 30vw, 440px); }
.brand-footer .brand-logo { width: 340px; }
.legal-header .brand-logo { width: clamp(290px, 30vw, 440px); }
@media (max-width: 780px) {
  .brand-logo { width: min(69vw, 340px); }
  .brand-footer .brand-logo { width: min(83vw, 320px); }
  .legal-header .brand-logo { width: min(68vw, 340px); }
}
@media (max-width: 480px) {
  .brand-logo { width: min(79vw, 310px); }
}

/* Requested visual refinements */
.hero-footer { background: #252525; }
.contact, .contact-panel, .contact-details { background: #1b1b1b; }
.brand-logo { width: clamp(362.5px, 37.5vw, 550px); }
.brand-footer .brand-logo { width: 425px; }
.legal-header .brand-logo { width: clamp(362.5px, 37.5vw, 550px); }
@media (max-width: 780px) {
 .brand-logo { width: min(86.25vw, 425px); }
 .brand-footer .brand-logo { width: min(100%, 400px); }
 .legal-header .brand-logo { width: min(85vw, 425px); }
}
@media (max-width: 480px) { .brand-logo { width: min(98.75vw, 387.5px); } }

/* PCB circuit pattern in the hero: CSS only, no image assets */
.hero-grid {
  opacity: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(69,190,176,.24) 1.5px, transparent 2px),
    radial-gradient(circle, transparent 3px, rgba(69,190,176,.24) 3.5px, rgba(69,190,176,.24) 4.5px, transparent 5px),
    linear-gradient(90deg, transparent 0 15%, rgba(69,190,176,.13) 15% 15.2%, transparent 15.2% 100%),
    linear-gradient(90deg, transparent 0 63%, rgba(69,190,176,.16) 63% 63.2%, transparent 63.2% 100%),
    linear-gradient(0deg, transparent 0 35%, rgba(69,190,176,.13) 35% 35.3%, transparent 35.3% 100%),
    linear-gradient(0deg, transparent 0 74%, rgba(69,190,176,.13) 74% 74.3%, transparent 74.3% 100%),
    linear-gradient(135deg, transparent 0 48.9%, rgba(69,190,176,.13) 49% 49.2%, transparent 49.3% 100%);
  background-size: 34px 34px, 260px 220px, 320px 230px, 460px 320px, 380px 280px, 520px 390px, 340px 340px;
  background-position: 0 0, 46px 24px, 0 12px, 70px 50px, 10px 40px, 100px 30px, 40px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 82%, transparent 100%);
}

/* Anpassungen Oktober 2026 */
.header { left: 0; width: 100%; max-width: none; transform: none; background: #181818; padding-inline: clamp(20px, 4vw, 64px); border-bottom-color: rgba(255,255,255,.12); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; padding-left: clamp(20px, 5vw, 90px); padding-right: clamp(20px, 5vw, 90px); }
.hero h1 { font-size: clamp(70px, 7.5vw, 115px); margin-inline: auto; }
.hero-copy .eyebrow { justify-content: center; }
.hero-intro { margin-inline: auto; }
.hero-actions { justify-content: center; }
.hero-capabilities { font-size: 125%; justify-content: center; }
.about .eyebrow, .services .eyebrow, .process .eyebrow, .contact .eyebrow { font-size: 14.4px; }
.process-steps { background: #1b1b1b; border-radius: 12px; padding: 20px clamp(22px, 3vw, 48px); }
.process-steps li { border-color: rgba(255,255,255,.18); }
.process-steps li:last-child { border-color: rgba(255,255,255,.18); }
.process-steps h3, .process-steps p, .process-steps li > span { color: #f0f0f0; }
@media (max-width: 780px) {
 .header { width: 100%; padding-inline: 20px; }
 .hero h1 { font-size: clamp(52px, 17.5vw, 85px); letter-spacing: -3px; }
 .hero-actions { align-items: center; }
 .hero-capabilities { flex-wrap: wrap; white-space: normal; }
 .process-steps { padding: 12px 22px; }
}

/* Korrekturen: Header, Zentrierung und Abschnittstitel */
.header {
  height: 115.2px;
  box-sizing: border-box;
  padding-left: max(32px, calc((100vw - 1400px) / 2));
  padding-right: max(32px, calc((100vw - 1400px) / 2));
}
.hero-footer {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.hero-footer > p { font-size: 13.75px; text-align: center; }
.hero-footer .hero-capabilities {
  width: 100%;
  justify-content: center;
  align-items: center;
  font-size: 17.5px;
  text-align: center;
}
.hero .eyebrow, .services .eyebrow, .process .eyebrow, .contact .eyebrow {
  font-size: 14.4px;
}
.process-steps { background-color: #303030; }
@media (max-width: 780px) {
  .header { height: 96px; padding-left: 20px; padding-right: 20px; }
  .hero-footer { align-items: center; gap: 12px; padding: 28px 20px; }
  .hero-footer .hero-capabilities { justify-content: center; flex-wrap: wrap; font-size: 15px; }
}
