:root {
  --bg: #09131f;
  --bg-soft: #f5f7fa;
  --bg-soft-2: #eef2f6;
  --surface: #ffffff;
  --surface-2: rgba(255, 255, 255, .72);
  --text: #0f1c2b;
  --muted: #5d6c7e;
  --line: rgba(15, 28, 43, .12);
  --brand: #5CC4E5;
  --brand-dark: #094068;
  --brand-ink: #03131c;
  --radius-xl: 4px;
  --radius-lg: 4px;
  --radius-md: 4px;
  --shadow-lg: 0 26px 70px rgba(10, 20, 32, .14);
  --shadow-md: 0 18px 42px rgba(10, 20, 32, .10);
  --container: 1240px;
  --header-h: 74px;
  --pcb-bg: #0d4676;
  --pcb-trace: #7fd6ff;
  --pcb-border: #09395f;
  --pcb-silk: #d8f4ff;
  --pcb-text: #f4fbff;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden
}

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

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

button,
input,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

main {
  overflow: hidden
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--line)
}

.skip-link:focus {
  top: 16px
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px)
}

.section {
  padding: clamp(72px, 8vw, 108px) 0;
  position: relative
}

.section-dark {
  background: linear-gradient(180deg, #081321 0%, #0c1a2a 100%);
  color: #fff
}

.section-muted {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft-2) 100%)
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 18px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-dark)
}

.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .35
}

.kicker.light {
  color: #bdefff
}

.h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  max-width: 14ch;
}

.lead {
  margin: 18px 0 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.75;
}

.section-dark .lead {
  color: rgba(255, 255, 255, .78)
}

.site-header {
  position: fixed;
  left: 18px;
  right: 18px;
  top: 18px;
  z-index: 1000;
}

.site-header .inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 4px;
  background: rgba(37, 37, 37, 0.377);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(15, 15, 15, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 2
}

.brand img {
  width: 178px;
  height: auto
}

.logo {
  display: block
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  min-width: 0
}

.menu a {
  color: rgba(255, 255, 255, .86);
  font-size: .94rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 4px;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.menu a:hover,
.menu a:focus-visible {
  background: rgba(92, 196, 229, .12);
  color: #fff
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 4px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  flex: 0 0 auto;
  position: relative;
  z-index: 2
}

.menu-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 999px
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px)
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #87e0f7 100%);
  color: var(--brand-ink);
  box-shadow: 0 12px 28px rgba(92, 196, 229, .22)
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .18)
}

.btn-ghost-dark {
  background: #fff;
  color: var(--text);
  border-color: var(--line)
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #081321;
  color: #fff
}

.hero video,
.hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero .hero-poster {
  display: none
}

.hero video {
  filter: saturate(1.06) contrast(1.04) brightness(.94);
  object-position: center center
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, .05) 0%, rgba(5, 10, 18, .20) 34%, rgba(5, 10, 18, .64) 100%),
    linear-gradient(90deg, rgba(5, 10, 18, .58) 0%, rgba(5, 10, 18, .30) 42%, rgba(5, 10, 18, .10) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(150px, 18vh, 200px);
  padding-bottom: 72px
}

.hero-copy {
  max-width: min(760px, 90vw)
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 10px 16px;
  margin: 0 0 22px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .10);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e8fbff
}

.hero-title {
  margin: 0;
  font-size: clamp(2.05rem, 3.6vw, 3.3rem);
  line-height: .98;
  letter-spacing: -.05em;
  max-width: 11.5ch;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 20px 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.75
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 980px
}

.hero-fact {
  padding: 18px 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px)
}

.hero-fact strong {
  display: block;
  font-size: .92rem;
  color: #fff;
  margin-bottom: 5px
}

.hero-fact span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.55
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 54px;
  align-items: start
}

.statement-side {
  display: grid;
  gap: 24px
}

.value-list {
  display: grid;
  gap: 22px
}

.value-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line)
}

.value-row:last-child {
  border-bottom: 1px solid var(--line)
}

.value-row .num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-dark)
}

.value-row h3 {
  margin: 0 0 6px;
  font-size: 1.08rem
}

.value-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7
}

.board-showcase {
  overflow: hidden
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(360px, .98fr) minmax(0, 1.02fr);
  gap: 42px;
  align-items: center
}

.board-layout--right {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr)
}

.board-layout--right .pcb-card {
  order: 2
}

.board-layout--right .board-copy {
  order: 1
}

.board-copy .btn {
  margin-top: 14px
}

.board-copy--light .btn-ghost-dark {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: rgba(255, 255, 255, .18)
}

.bullet-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted)
}

.bullet-list li {
  margin: 8px 0;
  line-height: 1.75
}

.light-list {
  color: rgba(255, 255, 255, .82)
}

.service-list {
  display: grid;
  gap: 20px;
  margin-top: 30px
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.15fr) minmax(180px, .55fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line)
}

.service-row:last-child {
  border-bottom: 1px solid var(--line)
}

.service-row .nr {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-dark)
}

.service-row h3 {
  margin: 0;
  font-size: 1.12rem
}

.service-row p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7
}

.service-tag {
  justify-self: start;
  padding: 10px 14px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 700;
  color: var(--brand-dark)
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  color: var(--text)
}

.link-btn:hover,
.link-btn:focus-visible {
  background: #f5fbfe;
  border-color: rgba(9, 64, 104, .18)
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px
}

.process-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  box-shadow: var(--shadow-md)
}

.process-card .step {
  display: inline-flex;
  min-width: 46px;
  height: 46px;
  border-radius: 4px;
  background: #e9f7fc;
  color: var(--brand-dark);
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68
}

.contact-intro {
  padding-bottom: 12px
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 24px
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg)
}

.contact-card h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -.02em
}

.contact-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px 28px
}

.contact-grid-wide {
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(0, .9fr);
  gap: 26px;
  align-items: start;
  margin-top: 26px
}

.contact-lead {
  max-width: 56ch
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.contact-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 18px;
  margin: 18px 0 0
}

.contact-list dt {
  font-weight: 800;
  color: var(--brand-dark)
}

.contact-list dd {
  margin: 0
}

.contact-list a {
  color: var(--text)
}

.people {
  display: grid;
  gap: 20px;
  margin-top: 28px
}

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

.person {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%)
}

.person img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 18px
}

.person--large {
  grid-template-columns: 168px 1fr;
  gap: 24px;
  padding: 26px;
  border-radius: 4px;
  align-items: start;
  box-shadow: var(--shadow-md)
}

.person--large img {
  width: 168px;
  height: 168px;
  border-radius: 24px
}

.person-label {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  opacity: .9
}

.person-name {
  font-weight: 800;
  font-size: 1.72rem;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-top: 10px
}

.person-role {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px
}

.person-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  font-weight: 700;
  background: #fff
}

.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 340px
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0
}

.map-blocked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  background: var(--bg-alt, #f5f7fa);
  color: var(--text-muted, #6b7280);
  text-align: center;
  font-size: .9rem;
  padding: 24px
}

.map-blocked p {
  margin: 0;
  max-width: 320px;
  line-height: 1.5
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 30px
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
  font-size: 1rem;
  position: relative
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--brand-dark)
}

.faq-item[open] summary::after {
  content: "–"
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.75
}

.site-footer {
  background: #091522;
  color: rgba(255, 255, 255, .8);
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.footer-brand p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  line-height: 1.65
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.footer-contact strong {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 4px
}

.footer-contact address {
  font-style: normal;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  line-height: 1.6
}

.footer-contact a {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  transition: color .18s ease
}

.footer-contact a:hover {
  color: var(--brand)
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-nav strong {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 4px
}

.footer-nav a {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  transition: color .18s ease, padding-left .18s ease
}

.footer-nav a:hover {
  color: var(--brand);
  padding-left: 4px
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: .87rem;
  color: rgba(255, 255, 255, .38)
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }

  .footer-brand {
    grid-column: 1 / -1
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr
  }
}

/* =====================
   Desktop Hover Effects
   ===================== */
@media (hover: hover) {
  /* Prozess-Karten: anheben + Akzentfarbe am Step-Badge */
  .process-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease
  }

  .process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 64px rgba(10, 20, 32, .18);
    border-color: rgba(92, 196, 229, .28)
  }

  .process-card:hover .step {
    background: var(--brand);
    color: var(--brand-ink);
    transition: background .22s ease, color .22s ease
  }

  /* Service-Reihen: Karte anheben */
  .service-row {
    transition: transform .22s ease, box-shadow .22s ease
  }

  .service-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 20, 32, .12), 0 0 0 1px rgba(92, 196, 229, .22)
  }

  /* Value-Rows: Karte anheben + Nummer aufleuchten */
  .value-row {
    transition: transform .22s ease, box-shadow .22s ease
  }

  .value-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 20, 32, .12), 0 0 0 1px rgba(92, 196, 229, .22)
  }

  .value-row:hover .num {
    color: var(--brand);
    transition: color .22s ease
  }

  /* PCB-Karten: anheben + Glimmer */
  .pcb-card {
    transition: transform .3s ease, box-shadow .3s ease
  }

  .pcb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 36px 90px rgba(10, 20, 32, .28), 0 0 0 1px rgba(92, 196, 229, .25)
  }

  /* Person-Karten: anheben + Bild-Zoom */
  .person--large {
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden
  }

  .person--large:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 72px rgba(10, 20, 32, .2)
  }

  .person--large > img {
    transition: transform .4s ease
  }

  .person--large:hover > img {
    transform: scale(1.04)
  }

  /* Person-Links */
  .person-links a {
    transition: background .18s ease, border-color .18s ease, transform .18s ease
  }

  .person-links a:hover {
    background: #eef7fc;
    border-color: rgba(9, 64, 104, .22);
    transform: translateY(-1px)
  }

  /* Hero-Facts: Rand aufleuchten */
  .hero-fact {
    transition: border-color .22s ease, background .22s ease
  }

  .hero-fact:hover {
    border-color: rgba(92, 196, 229, .4);
    background: rgba(255, 255, 255, .13)
  }

  /* FAQ-Items: Summary-Hover */
  .faq-item summary {
    transition: background .18s ease
  }

  .faq-item:not([open]) summary:hover {
    background: rgba(9, 64, 104, .04)
  }

  /* Kontakt-Links */
  .contact-list a {
    transition: color .18s ease
  }

  .contact-list a:hover {
    color: var(--brand-dark)
  }

  /* Nav-Links: Unterstrich-Animation */
  .menu a {
    position: relative
  }

  .menu a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .22s ease
  }

  .menu a:hover::after {
    transform: scaleX(1)
  }

  /* Detail-Close-Button */
  .detail-close {
    transition: background .18s ease, transform .18s ease
  }

  .detail-close:hover {
    background: rgba(10, 20, 32, .14);
    transform: scale(1.1)
  }

  /* Footer-Nav schon oben abgedeckt */
}

.detail-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(980px, calc(100vw - 28px));
  width: 100%
}

.detail-dialog::backdrop {
  background: rgba(5, 10, 18, .64);
  backdrop-filter: blur(8px)
}

.detail-panel {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24)
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: rgba(10, 20, 32, .08);
  font-size: 1.7rem;
  line-height: 1
}

#detailTitle {
  margin: 0;
  padding: 28px 74px 0 28px;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -.03em
}

.detail-body {
  padding: 24px 28px 30px
}

.detail-copy p,
.detail-copy li {
  color: var(--muted);
  line-height: 1.75
}

.detail-copy ul {
  padding-left: 20px;
  margin: 14px 0 0
}

.detail-has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .86fr);
  gap: 24px;
  align-items: start
}

.detail-media-el {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 20px
}

.detail-stack {
  padding-top: 6px
}

/* PCB cards */
.pcb-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--pcb-bg) 0%, #09395f 100%);
  border: 1px solid color-mix(in oklab, var(--pcb-border), black 12%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.pcb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Crect width='200' height='200' fill='%230d4676'/%3E%3Cg fill='none' stroke='%237fd6ff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 30H90V70H140V30H190'/%3E%3Cpath d='M30 10V90'/%3E%3Cpath d='M10 100H70V140H120'/%3E%3Cpath d='M110 10V60H190'/%3E%3Cpath d='M80 110V190H150'/%3E%3Cpath d='M20 170H90V130H170'/%3E%3C/g%3E%3Cg fill='none' stroke='%237fd6ff' stroke-width='4'%3E%3Ccircle cx='10' cy='30' r='3'/%3E%3Ccircle cx='30' cy='10' r='3'/%3E%3Ccircle cx='90' cy='70' r='3'/%3E%3Ccircle cx='140' cy='30' r='3'/%3E%3Ccircle cx='190' cy='30' r='3'/%3E%3Ccircle cx='10' cy='100' r='3'/%3E%3Ccircle cx='70' cy='140' r='3'/%3E%3Ccircle cx='120' cy='140' r='3'/%3E%3Ccircle cx='80' cy='110' r='3'/%3E%3Ccircle cx='150' cy='190' r='3'/%3E%3Ccircle cx='110' cy='10' r='3'/%3E%3Ccircle cx='190' cy='60' r='3'/%3E%3Ccircle cx='20' cy='170' r='3'/%3E%3Ccircle cx='170' cy='130' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 260px;
  background-repeat: repeat
}

.pcb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(0, 0, 0, .15) 100%)
}

.pcb-card--dark {
  box-shadow: none;
  background: linear-gradient(180deg, #0d4676 0%, #08375c 100%)
}

.pcb-card__content {
  position: relative;
  z-index: 1;
  max-width: 30rem
}

.pcb-overline {
  margin: 0 0 12px;
  color: rgba(219, 255, 232, .78);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.pcb-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--pcb-text);
  max-width: 12ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35)
}

.pcb-card p {
  margin: 14px 0 0;
  color: rgba(239, 255, 246, .82);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 34ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28)
}

.silk {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--pcb-silk);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: .7px;
  z-index: 1
}

.comp {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  opacity: 0;
  transition: opacity .12s ease, transform .12s ease;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .35));
  z-index: 0
}

.comp.placed {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg))
}

/* --- SMD Widerstände: Tan/Beige mit Markierband --- */
.comp.pkg-r0603,
.comp.pkg-r0805 {
  background: linear-gradient(180deg, #ddd0a0 0%, #c4b87e 100%);
  border: 1px solid #8a7a50;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .22)
}

.comp.pkg-r0603::before,
.comp.pkg-r0805::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 22%; right: 22%;
  background: rgba(0, 0, 0, .14)
}

/* --- Keramik-Kondensatoren: Gelblich --- */
.comp.pkg-c0603,
.comp.pkg-c1206 {
  background: linear-gradient(180deg, #d8cf9e 0%, #bfb47a 100%);
  border: 1px solid #8a7a50;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45)
}

/* --- LED: Rot mit Linsen-Highlight --- */
.comp.pkg-led0603 {
  background: radial-gradient(circle at 38% 32%, #ff9090 0 30%, #e03050 45% 100%);
  border: 1px solid #8a1a28;
  box-shadow: 0 0 10px rgba(224, 60, 80, .55), 0 0 3px rgba(255, 100, 120, .8)
}

.comp.pkg-led0603::before {
  content: '';
  position: absolute;
  top: 10%; left: 12%;
  width: 30%; height: 35%;
  background: rgba(255, 255, 255, .42);
  border-radius: 50%;
  transform: rotate(-20deg)
}

/* --- SOIC-8: mit IC-Beschriftung --- */
.comp.pkg-soic8 {
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 36'><circle cx='7' cy='7' r='2' fill='%23c8d4e0' opacity='.5'/><text x='29' y='17' font-family='monospace' font-size='7' text-anchor='middle' fill='%23c8d4e0' opacity='.62'>LM358N</text><text x='29' y='27' font-family='monospace' font-size='5' text-anchor='middle' fill='%23c8d4e0' opacity='.32'>2501-YX</text></svg>") center/100% 100% no-repeat,
    linear-gradient(180deg, #2e3640 0%, #161c22 100%);
  border: 1px solid #08090d
}

.comp.pkg-soic8::before,
.comp.pkg-soic8::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  height: 2px;
  top: 50%;
  background: repeating-linear-gradient(90deg, #c6ccd3 0 6px, transparent 6px 12px);
  transform: translateY(-50%)
}

.comp.pkg-qfn32 {
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'><circle cx='9' cy='9' r='3' fill='%23c8d4e0' opacity='.45'/><text x='40' y='35' font-family='monospace' font-size='8' text-anchor='middle' fill='%23c8d4e0' opacity='.6'>STM32F</text><text x='40' y='46' font-family='monospace' font-size='7' text-anchor='middle' fill='%23c8d4e0' opacity='.55'>103C8T6</text><text x='40' y='58' font-family='monospace' font-size='5' text-anchor='middle' fill='%23c8d4e0' opacity='.3'>2501 WX</text></svg>") center/100% 100% no-repeat,
    linear-gradient(180deg, #343b45, #1a2028);
  border: 1px solid #0b0d11
}

.comp.pkg-qfp44 {
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='11' cy='11' r='3.5' fill='%23c8d4e0' opacity='.45'/><text x='50' y='43' font-family='monospace' font-size='9' text-anchor='middle' fill='%23c8d4e0' opacity='.6'>ATMEGA</text><text x='50' y='55' font-family='monospace' font-size='8' text-anchor='middle' fill='%23c8d4e0' opacity='.55'>328P-AU</text><text x='50' y='66' font-family='monospace' font-size='5' text-anchor='middle' fill='%23c8d4e0' opacity='.3'>2501 AXB</text></svg>") center/100% 100% no-repeat,
    linear-gradient(180deg, #343b45, #1a2028);
  border: 1px solid #0b0d11
}

.comp.pkg-qfn32::before,
.comp.pkg-qfn32::after,
.comp.pkg-qfp44::before,
.comp.pkg-qfp44::after {
  content: "";
  position: absolute;
  inset: -10px;
  background: repeating-linear-gradient(90deg, #c6ccd3 0 10px, transparent 10px 20px) top/100% 2px no-repeat, repeating-linear-gradient(90deg, #c6ccd3 0 10px, transparent 10px 20px) bottom/100% 2px no-repeat, repeating-linear-gradient(0deg, #c6ccd3 0 10px, transparent 10px 20px) left/2px 100% no-repeat, repeating-linear-gradient(0deg, #c6ccd3 0 10px, transparent 10px 20px) right/2px 100% no-repeat
}

.comp.pkg-sot23,
.comp.pkg-sot223 {
  background: linear-gradient(180deg, #2e3742, #171d25);
  border: 1px solid #0a0d12
}

.comp.pkg-sot23::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #c6ccd3
}

.comp.pkg-sot223::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: #c6ccd3
}

/* --- Kristall: Metallgehäuse mit Glanz --- */
.comp.pkg-xtal3225 {
  background: linear-gradient(150deg, #eef2f6 0%, #c0cad4 40%, #8898a8 100%);
  border: 1px solid #5a6878;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8)
}

.comp.pkg-xtal3225::after {
  content: '';
  position: absolute;
  top: 15%; bottom: 15%;
  left: 10%; right: 10%;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 2px
}

/* --- Induktivität --- */
.comp.pkg-inductor {
  background: linear-gradient(180deg, #6b757d, #32383f);
  border: 1px solid #20262d;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .06)
}

/* --- Stiftleiste --- */
.comp.pkg-header1x6 {
  background: repeating-linear-gradient(90deg, #252a31 0 6px, #e7ba46 6px 8px, transparent 8px 12px);
  border: 1px solid #191d23
}

/* --- Elektrolytkondensator --- */
.comp.pkg-electrolytic {
  background: radial-gradient(circle at 50% 42%, #4a5260 0 40%, #1a1e26 55% 100%);
  border: 2px solid #080a0e;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4)
}

.comp.pkg-electrolytic::before {
  content: '';
  position: absolute;
  top: 6%; left: 18%; right: 18%;
  height: 18%;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%
}

.comp.pkg-electrolytic::after {
  content: "+";
  position: absolute;
  top: 3px; left: 3px;
  font-weight: 900;
  font-size: 10px;
  color: #f4f6f8
}

/* ===========================
   Neue Bauteil-Styles
   =========================== */

/* --- Diode (SOD-123): schwarz mit Kathoden-Streifen --- */
.comp.pkg-diode {
  background: linear-gradient(180deg, #2a2d34 0%, #14161c 100%);
  border: 1px solid #0a0b0e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08)
}

.comp.pkg-diode::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 18%;
  width: 3px;
  background: rgba(200, 212, 222, .78)
}

/* --- Tantal-Kondensator: Braun mit + Markierung --- */
.comp.pkg-tantalum {
  background: linear-gradient(180deg, #b05a28 0%, #7a3c18 100%);
  border: 1px solid #552810;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14)
}

.comp.pkg-tantalum::before {
  content: '+';
  position: absolute;
  left: 5px; top: 50%;
  transform: translateY(-50%);
  font: 900 10px/1 sans-serif;
  color: rgba(255, 255, 255, .85)
}

.comp.pkg-tantalum::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 28%;
  width: 2px;
  background: rgba(0, 0, 0, .28)
}

/* --- BGA: Dunkler Chip mit Lötball-Raster --- */
.comp.pkg-bga {
  background: linear-gradient(160deg, #1e2530 0%, #0e1218 100%);
  border: 1px solid #060810;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .55)
}

.comp.pkg-bga::before {
  content: '';
  position: absolute;
  inset: 10px;
  background-image: radial-gradient(circle, rgba(180, 192, 204, .72) 1.5px, transparent 1.5px);
  background-size: 9px 9px
}

.comp.pkg-bga::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 7px; height: 7px;
  background: rgba(255, 255, 255, .75);
  border-radius: 50%
}

/* --- DPAK/TO-252: Power-Transistor mit Metallpad + Beschriftung --- */
.comp.pkg-dpak {
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 50'><text x='22' y='22' font-family='monospace' font-size='7' text-anchor='middle' fill='%23c8d4e0' opacity='.6'>IRF</text><text x='22' y='32' font-family='monospace' font-size='6' text-anchor='middle' fill='%23c8d4e0' opacity='.55'>540N</text></svg>") left/62% 100% no-repeat,
    linear-gradient(180deg, #242830 0%, #14161c 100%);
  border: 1px solid #0a0b10
}

.comp.pkg-dpak::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 38%;
  background: linear-gradient(90deg, #6a7480 0%, #c4ccd4 50%, #8898a4 100%);
  border-left: 1px solid #3e4850
}

.comp.pkg-dpak::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 8%; right: 44%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #c6ccd3 0 7px, transparent 7px 14px)
}

/* --- Größere Spule/Induktivität --- */
.comp.pkg-coil {
  background: linear-gradient(180deg, #3c4450 0%, #20262e 100%);
  border: 1px solid #14181e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06)
}

.comp.pkg-coil::before {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%;
  left: 10%; right: 10%;
  background: repeating-linear-gradient(
    90deg,
    rgba(92, 196, 229, .28) 0px 3px,
    transparent 3px 7px
  );
  border-radius: 2px
}

.comp.pkg-coil::after {
  content: '';
  position: absolute;
  top: 28%; bottom: 28%;
  left: 0; right: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

/* --- Relais: mit Spule und Kontakten --- */
.comp.pkg-relay {
  background: linear-gradient(180deg, #16191e 0%, #0c0e12 100%);
  border: 1px solid #07080b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04)
}

.comp.pkg-relay::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  height: 14px;
  border: 1.5px solid rgba(92, 196, 229, .38);
  border-radius: 2px;
  background: rgba(92, 196, 229, .04)
}

.comp.pkg-relay::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 8px; right: 8px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    rgba(198, 204, 211, .55) 0 5px,
    transparent 5px 11px
  )
}

/* --- Sicherung: Keramik mit Metallkappen --- */
.comp.pkg-fuse {
  background: linear-gradient(180deg, #ece8d8 0%, #cecab0 100%);
  border: 1px solid #a09880
}

.comp.pkg-fuse::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 22%;
  background: linear-gradient(180deg, #e0e0e0 0%, #989898 100%);
  border-right: 1px solid #787878
}

.comp.pkg-fuse::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 22%;
  background: linear-gradient(180deg, #e0e0e0 0%, #989898 100%);
  border-left: 1px solid #787878
}

/* --- USB-A SMD Buchse: Silbergehäuse mit Goldpins --- */
.comp.pkg-usb {
  background: linear-gradient(180deg, #b0bac4 0%, #7a8490 100%);
  border: 1px solid #505860;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4)
}

.comp.pkg-usb::before {
  content: '';
  position: absolute;
  top: 18%; bottom: 18%;
  left: 10%; right: 10%;
  background: #1a1a1a;
  border-radius: 2px
}

.comp.pkg-usb::after {
  content: '';
  position: absolute;
  top: 28%; bottom: 28%;
  left: 14%; right: 14%;
  background: repeating-linear-gradient(
    90deg,
    rgba(200,162,40,.9) 0 7px,
    #1a1a1a 7px 13px
  )
}

/* --- Mini-Display (OLED-Stil): Dunkles Display mit Pixelraster --- */
.comp.pkg-display {
  background: linear-gradient(180deg, #1a1e24 0%, #0c0e12 100%);
  border: 2px solid #303840;
  box-shadow: 0 0 8px rgba(92,196,229,.15)
}

.comp.pkg-display::before {
  content: '';
  position: absolute;
  inset: 6px;
  background:
    radial-gradient(circle, rgba(92,196,229,.22) 1px, transparent 1px);
  background-size: 5px 5px;
  border-radius: 2px
}

.comp.pkg-display::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: auto;
  transform: translateX(-50%);
  width: 30%; height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(200,162,40,.8) 0 5px,
    #1a1e24 5px 9px
  )
}

/* --- SMA HF-Buchse: Rundes Metallgehäuse --- */
.comp.pkg-sma {
  background: radial-gradient(circle at 45% 38%, #d0d8e0 0%, #909aa4 50%, #606870 100%);
  border: 1px solid #404850;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.5)
}

.comp.pkg-sma::before {
  content: '';
  position: absolute;
  inset: 22%;
  background: radial-gradient(circle at 40% 35%, #d4e0ec 0%, #606870 100%);
  border-radius: 50%;
  border: 1px solid #303840
}

.comp.pkg-sma::after {
  content: '';
  position: absolute;
  inset: 40%;
  background: #c8a820;
  border-radius: 50%
}

/* --- Steckverbinder (JST-Stil): mit Goldpins --- */
.comp.pkg-connector {
  background: linear-gradient(180deg, #1e1e1e 0%, #0e0e0e 100%);
  border: 1px solid #090909;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05)
}

.comp.pkg-connector::before {
  content: '';
  position: absolute;
  top: 18%; bottom: 18%;
  left: 8px; right: 8px;
  background: repeating-linear-gradient(
    90deg,
    rgba(200, 162, 40, .9) 0 8px,
    #0e0e0e 8px 15px
  );
  border-radius: 2px
}

/* Workarea */
.workarea {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  contain: layout paint
}

.rail-x {
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  transform: translateY(40vh);
  background: linear-gradient(180deg, #fff 0%, #cfd6dd 48%, #9ea7b1 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .10)
}

.placer {
  position: absolute;
  width: 420px;
  height: 240px;
  transform: translate(16px, 40vh)
}

.sled {
  fill: #e4e9ef
}

.sled-line {
  fill: none;
  stroke: #9aa4af;
  stroke-width: 2
}

.head-body {
  fill: #24282d;
  stroke: #3b4249;
  stroke-width: 2
}

.head-slot {
  fill: #3a4046
}

.led {
  fill: #ff6b6b
}

.led-b {
  fill: #ff4444
}

.led-c {
  fill: #e03636
}

.nozzle-body {
  fill: #3b4147
}

.nozzle-tip {
  fill: #d93045
}

.workarea.is-focus .nozzle {
  transform-box: fill-box;
  transform-origin: center;
  animation: nozzleTap .65s ease
}

@keyframes nozzleTap {
  0% {
    transform: translateY(0)
  }

  45% {
    transform: translateY(12px)
  }

  100% {
    transform: translateY(0)
  }
}

.hero.no-video video {
  display: none
}

.hero.no-video .hero-poster {
  display: block
}

@media (max-width: 1180px) {
  .hero-facts {
    grid-template-columns: 1fr
  }

  .statement-grid,
  .board-layout,
  .board-layout--right,
  .contact-grid-wide,
  .detail-has-media {
    grid-template-columns: 1fr
  }

  .board-layout--right .pcb-card,
  .board-layout--right .board-copy {
    order: initial
  }

  .people--large {
    grid-template-columns: 1fr
  }

  .service-row {
    grid-template-columns: 54px 1fr;
    align-items: start
  }

  .service-tag {
    grid-column: 2;
    justify-self: start
  }

  .service-row .link-btn {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px
  }

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

@media (max-width: 920px) {
  :root {
    --header-h: 70px
  }

  .site-header {
    left: 14px;
    right: 14px;
    top: 14px
  }

  .site-header .inner {
    padding: 12px 14px;
    border-radius: 22px
  }

  .menu-toggle {
    display: inline-flex;
    order: 3
  }

  .header-cta {
    display: none
  }

  .menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(14px + var(--header-h) + 10px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 12px;
    border-radius: 4px;
    background: rgba(8, 13, 20, .98);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none
  }

  .menu[aria-expanded="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto
  }

  .menu a {
    padding: 14px 16px
  }

  .hero-inner {
    padding-top: 150px;
    padding-bottom: 60px
  }

  .hero-title {
    font-size: clamp(2.1rem, 8vw, 3.2rem)
  }

  .brand img {
    width: 160px
  }

  .person--large {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .person--large img {
    width: 144px;
    height: 144px
  }
}

@media (min-width: 921px) {
  .menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important
  }
}

@media (max-width: 640px) {
  .section {
    padding: 62px 0
  }

  .h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem)
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.8rem)
  }

  .hero-kicker,
  .kicker {
    letter-spacing: .13em
  }

  .btn {
    min-height: 48px;
    padding-inline: 18px;
    font-size: .94rem
  }

  .hero-actions,
  .contact-actions {
    gap: 10px
  }

  .value-row {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px
  }

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

  .person {
    grid-template-columns: 1fr
  }

  .person img {
    width: 84px;
    height: 84px
  }

  .person-name {
    font-size: 1.25rem
  }

  #detailTitle {
    padding: 24px 64px 0 20px;
    font-size: 1.35rem
  }

  .detail-body {
    padding: 20px
  }

  .pcb-card {
    min-height: 280px;
    padding: 22px
  }

  .pcb-card h3 {
    font-size: clamp(1.35rem, 7vw, 1.9rem)
  }
}

.person--large {
  grid-template-columns: minmax(230px, 290px) 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
  overflow: hidden;
}

.person--large>img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 0;
  align-self: end;
}

.person--large>div:last-child {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.person-label {
  font-size: .84rem
}

.person-role {
  font-size: 1.04rem
}

.person-links a {
  background: #fff
}

.hero-fact,
.contact-card,
.process-card,
.faq-item,
.person,
.person--large,
.pcb-card,
.detail-panel,
.service-tag,
.link-btn,
.btn,
.hero-kicker,
.menu a,
.menu-toggle,
.site-header .inner,
.map-wrap,
.detail-media-el {
  border-radius: 4px !important
}

@media (max-width: 920px) {
  .person--large {
    grid-template-columns: 1fr;
  }

  .person--large>img {
    width: 60%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
    justify-self: center;
  }

  .person--large>div:last-child {
    padding: 24px 20px;
  }
}


.menu-toggle .bar {
  background: #fff !important;
  border-radius: 4px !important
}

.detail-media-el {
  width: 100% !important;
  aspect-ratio: 16/7 !important;
  max-height: 240px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 4px !important
}

@media (max-width: 640px) {
  .detail-media-el {
    aspect-ratio: 16/9 !important;
    max-height: 200px !important
  }
}

/* ==============================
   Konstruktionsgitter (PCB-Stil)
   Hauptraster 80 px + Hilfsraster 20 px
   ============================== */

/* Helle Abschnitte – dunkel-blaues Gitter */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(9, 64, 104, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 64, 104, .07) 1px, transparent 1px),
    linear-gradient(rgba(9, 64, 104, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 64, 104, .028) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  background-position: -.5px -.5px;
}

/* Dunkle Abschnitte – PCB-Trace-blaues Gitter */
.section-dark::before {
  background-image:
    linear-gradient(rgba(92, 196, 229, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 196, 229, .09) 1px, transparent 1px),
    linear-gradient(rgba(92, 196, 229, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 196, 229, .038) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  background-position: -.5px -.5px;
}

/* Value-Rows und Service-Rows: weißer Karteihintergrund,
   damit das Gitter dahinter verschwindet und nur
   im freien Bereich sichtbar bleibt */
.value-row {
  background: #fff;
  border-top: none;
  border-radius: 4px;
  padding: 20px 18px;
  box-shadow: 0 1px 4px rgba(10, 20, 32, .06), 0 0 0 1px var(--line);
}

.value-row:last-child {
  border-bottom: none;
}

.service-row {
  background: #fff;
  border-top: none;
  border-radius: 4px;
  padding: 20px 18px;
  box-shadow: 0 1px 4px rgba(10, 20, 32, .06), 0 0 0 1px var(--line);
}

.service-row:last-child {
  border-bottom: none;
}

/* Sicherstellen dass Inhalte über dem Gitter liegen */
.section > .container {
  position: relative;
  z-index: 1;
}

/* =====================
   Fun-Dialog (Platine voll)
   ===================== */
.fun-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(480px, calc(100vw - 28px));
  width: 100%
}

.fun-dialog::backdrop {
  background: rgba(5, 10, 18, .7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none
}

.fun-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 20, 32, .98) 0%, rgba(7, 16, 27, .98) 100%);
  border: 1px solid rgba(92, 196, 229, .22);
  border-radius: 4px;
  padding: 36px 32px 30px;
  text-align: center;
  color: #fff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(92, 196, 229, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px)
}

.fun-silk {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(127, 214, 255, .4);
  font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: .6px
}

.fun-close {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .6);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease
}

.fun-close:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff
}

.fun-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px
}

.fun-panel h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: #fff
}

.fun-panel p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .72);
  font-size: .97rem;
  line-height: 1.7
}

.fun-actions {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.fun-actions .btn-ghost-dark {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border-color: rgba(255, 255, 255, .16)
}

.fun-actions .btn-ghost-dark:hover {
  background: rgba(255, 255, 255, .12)
}

@keyframes funIn {
  from { opacity: 0; transform: translateY(16px) scale(.97) }
  to   { opacity: 1; transform: translateY(0)    scale(1)   }
}

.fun-dialog[open] .fun-panel {
  animation: funIn .3s ease forwards
}

/* =====================
   Cookie Consent
   ===================== */
.cookie-consent-layer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 5000 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 24px max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)) !important;
  pointer-events: auto !important;
}

.cookie-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: rgba(0, 0, 0, .44) !important;
  opacity: 1 !important;
  transition: opacity .24s ease !important;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.cookie-banner {
  position: relative !important;
  z-index: 1 !important;
  width: min(920px, 100%) !important;
  max-width: 920px !important;
  color: #fff !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity .24s ease, transform .24s ease !important;
  pointer-events: auto !important;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(9, 20, 32, .97) 0%, rgba(7, 16, 27, .97) 100%);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner__top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cookie-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(92, 196, 229, .30);
  background: rgba(92, 196, 229, .10);
  color: #d8f6ff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cookie-banner__top strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: .01em;
}

.cookie-banner__copy {
  grid-column: 1 / 2;
}

.cookie-banner__copy p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  line-height: 1.65;
}

.cookie-banner__actions {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner .cookie-link {
  color: var(--text);
  background: rgba(255, 255, 255, .96);
  border-color: rgba(255, 255, 255, .16);
}

.cookie-banner .cookie-link:hover,
.cookie-banner .cookie-link:focus-visible {
  background: #fff;
  border-color: #fff;
}

.cookie-banner .cookie-decline {
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}

.cookie-banner .cookie-decline:hover,
.cookie-banner .cookie-decline:focus-visible {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .28);
}

.cookie-banner .cookie-accept,
.cookie-banner .cookie-decline,
.cookie-banner .cookie-link {
  min-width: 132px;
}

.cookie-consent-layer.is-hiding .cookie-overlay,
.cookie-consent-layer.is-hiding .cookie-banner {
  opacity: 0 !important;
}

.cookie-consent-layer.is-hiding .cookie-banner {
  transform: translateY(10px) !important;
}

body.cookie-consent-pending {
  overflow: hidden;
}

@media (max-width: 820px) {
  .cookie-consent-layer {
    padding: 18px 12px 12px 12px !important;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .cookie-banner__copy,
  .cookie-banner__actions {
    grid-column: auto;
    grid-row: auto;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}