/* AITONIO – Digitale Systeme (Homepage-Teaser & Unterseite /digitale-systeme/) */
.links a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--ink, #080808);
  font-weight: 680;
}

/* --- Homepage Compact Teaser (#digitale-systeme) --- */
.ds.ds-teaser {
  padding: 8rem 0 5rem;
}
.ds-teaser .section-head {
  margin-bottom: 2.8rem;
}
.ds-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.ds-teaser-card.card {
  min-height: 0;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.ds-teaser-card.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(8,8,10,.09);
}
.ds-teaser-card.card:not(.light) {
  color: #fff;
}
.ds-teaser-card.card > span {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .68rem;
  color: #8a8a90;
}
.ds-teaser-card.card h3 {
  font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 1.2rem 0 .85rem;
}
.ds-teaser-card.card p {
  margin: 0 0 1.5rem;
  font-size: .96rem;
  line-height: 1.56;
  color: #a2a2a8;
}
.ds-teaser-card.card.light p {
  color: var(--muted, #6e6e73);
}
.ds-teaser-card.card em {
  font-style: normal;
  display: inline-block;
  margin-left: .3rem;
  padding: .08rem .5rem;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  font-size: .68rem;
  color: #d8d8de;
  white-space: nowrap;
}
.ds-teaser-card.card.light em {
  border-color: #c9c9ce;
  color: #444;
}
.ds-teaser-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .86rem;
  font-weight: 650;
  color: #fff;
}
.ds-teaser-card.card.light .ds-teaser-link {
  color: var(--ink, #080808);
}
.ds-teaser-cta {
  margin-top: 2.4rem;
}

/* --- Subpage /digitale-systeme/ --- */
.ds-subpage-hero {
  padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}
.ds-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.ds-subpage-hero h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: .94;
  letter-spacing: -.058em;
  margin: 1rem 0 1.6rem;
}
.ds-subpage-hero h1 span {
  display: block;
}
.ds-h1-muted {
  color: #9ea0a6;
}
.ds-subpage-hero .lead {
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.58;
  color: var(--muted, #6e6e73);
  margin: 0 0 1rem;
  max-width: 620px;
}
.ds-subpage-hero .lead-sub {
  font-size: .98rem;
  line-height: 1.6;
  color: var(--muted, #6e6e73);
  margin: 0;
  max-width: 600px;
}
.ds-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

/* Monochrome White-Glow Architecture Stage */
.ds-stage-outer {
  position: relative;
  border-radius: 32px;
  padding: 12px;
  background: linear-gradient(160deg, #16171d 0%, #08080a 52%, #131419 100%);
  border: 1.5px solid rgba(255,255,255,.58);
  box-shadow:
    0 0 60px rgba(255,255,255,.52),
    0 28px 76px rgba(8,8,10,.2),
    inset 0 1px 1px rgba(255,255,255,.5),
    inset 0 0 34px rgba(255,255,255,.1);
}
.ds-stage-inner {
  border-radius: 22px;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  background: radial-gradient(80% 70% at 20% 10%, rgba(255,255,255,.08) 0%, rgba(8,8,10,0) 65%), #0b0b0e;
  border: 1px solid rgba(255,255,255,.18);
  color: #f5f5f7;
}
.ds-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #9ea0a6;
}
.ds-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #f5f5f7;
  font-size: .66rem;
  letter-spacing: .08em;
}
.ds-stage-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,.9);
  display: inline-block;
}
.ds-stage-layers {
  display: grid;
  gap: .75rem;
  margin: 1.2rem 0;
}
.ds-layer {
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.11);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .65rem;
  align-items: start;
}
.ds-layer > span {
  font-size: .72rem;
  font-weight: 700;
  color: #8a8a92;
  padding-top: .15rem;
}
.ds-layer strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: .22rem;
}
.ds-layer small {
  display: block;
  font-size: .83rem;
  line-height: 1.45;
  color: #9ea0a6;
}
.ds-stage-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ds-stage-foot span {
  font-size: .72rem;
  color: #c8c8cf;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}

/* Section 2: Was das ist (dark band) */
.ds-what {
  background: #080808;
  color: #fff;
  padding: clamp(4.5rem, 8vw, 8.5rem) 0;
}
.ds-what .section-head h2 {
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  max-width: 920px;
}
.ds-what .section-head > p {
  color: #9ea0a6;
}
.ds-what-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.ds-what-card.card {
  min-height: 0;
  height: 100%;
  padding: 2.2rem;
}
.ds-what-card.card > span {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .68rem;
  color: #8a8a90;
}
.ds-what-card.card h3 {
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 1.3rem 0 .9rem;
}
.ds-what-card.card p {
  margin: 0 0 1.4rem;
  font-size: .96rem;
  line-height: 1.58;
}
.ds-what-card.card ul {
  margin-top: auto;
}
.ds-what-card.card li em {
  font-style: normal;
  margin-left: .4rem;
  padding: .08rem .5rem;
  border: 1px solid #555;
  border-radius: 999px;
  font-size: .66rem;
  white-space: nowrap;
}

/* Section 3: Beispiele & Live-Demos */
.ds-examples {
  padding: clamp(4.5rem, 8vw, 8.5rem) 0 clamp(3rem, 5vw, 5rem);
}
.ds-examples .section-head h2 {
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
}
.ds-featured {
  background: #080808;
  color: #fff;
  border-radius: var(--r, 32px);
  padding: clamp(2rem, 4vw, 3.4rem);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 44px rgba(255,255,255,.35), 0 24px 64px rgba(8,8,10,.14);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: center;
  margin-bottom: 1rem;
}
.ds-featured-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #9ea0a6;
  margin-bottom: .8rem;
}
.ds-featured h3 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: .96;
  letter-spacing: -.05em;
  margin: 0 0 1rem;
}
.ds-featured p {
  color: #a8a8b0;
  line-height: 1.6;
  margin: 0 0 1.8rem;
  font-size: 1rem;
}
.ds-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.ds-featured-actions .white {
  margin-top: 0;
}
.ds-btn-ghost-light {
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
  background: rgba(255,255,255,.05);
}
.ds-btn-ghost-light:hover {
  background: rgba(255,255,255,.12);
}
.ds-featured-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #26262a;
}
.ds-featured-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #26262a;
  display: grid;
  gap: .25rem;
}
.ds-featured-list b {
  font-size: .92rem;
  color: #fff;
}
.ds-featured-list span {
  font-size: .86rem;
  color: #9ea0a6;
  line-height: 1.45;
}
.ds-featured-list em {
  font-style: normal;
  display: inline-block;
  margin-left: .35rem;
  padding: .08rem .5rem;
  border: 1px solid #48484f;
  border-radius: 999px;
  font-size: .66rem;
  color: #d4d4da;
}

.ds-examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.ds-example-card.site-card {
  height: 100%;
  padding: 2.2rem;
}
.ds-example-card.site-card h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin: .7rem 0 .85rem;
}
.ds-example-card.site-card > p {
  margin-bottom: 1.6rem;
  font-size: .95rem;
}

/* Section 4: Für wen */
.ds-who {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(4.5rem, 8vw, 8.5rem);
}
.ds-who .section-head h2 {
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
}
.ds-who-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.ds-who-note {
  margin: 1.5rem 0 0;
  font-size: .9rem;
  color: var(--muted, #6e6e73);
}

/* Section 5: CTA refinements on subpage */
.ds-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.ds-cta-actions .white {
  margin-top: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .ds-who-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .ds-teaser-grid,
  .ds-hero-grid,
  .ds-what-grid,
  .ds-featured,
  .ds-examples-grid {
    grid-template-columns: 1fr;
  }
  .ds-stage-outer {
    border-radius: 24px;
    padding: 8px;
  }
  .ds-stage-inner {
    border-radius: 18px;
  }
}
@media (max-width: 700px) {
  .ds.ds-teaser {
    padding: 5.5rem 0 3.5rem;
  }
  .ds-teaser-card.card,
  .ds-what-card.card,
  .ds-example-card.site-card {
    padding: 1.5rem;
  }
  .ds-subpage-hero h1 {
    font-size: clamp(2.15rem, 8.8vw, 3rem);
    line-height: .96;
  }
  .ds-what .section-head h2,
  .ds-examples .section-head h2,
  .ds-who .section-head h2 {
    font-size: clamp(2rem, 8.6vw, 2.8rem);
  }
  .ds-hero-actions,
  .ds-featured-actions,
  .ds-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ds-who-grid {
    grid-template-columns: 1fr;
  }
}
