/* KXON Webseiten – page-specific styles */

.web-cover {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: #fff;
  background: #09182d;
}
.web-cover__media,
.web-cover__overlay {
  position: absolute;
  inset: 0;
}
.web-cover__media {
  background: url("../img/hero-webdesign.png") center center / cover no-repeat;
  transform: scale(1.015);
}
.web-cover__overlay {
  background:
    linear-gradient(90deg, rgba(5, 16, 34, .95) 0%, rgba(8, 25, 50, .89) 37%, rgba(8, 25, 50, .54) 61%, rgba(8, 25, 50, .13) 100%),
    linear-gradient(180deg, rgba(5, 14, 28, .08), rgba(5, 14, 28, .42));
}
.web-cover__inner {
  position: relative;
  z-index: 2;
  min-height: 390px;
  display: flex;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 46px;
}
.web-cover__content { max-width: 730px; }
.web-cover__content h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.1vw, 66px);
  line-height: 1.02;
  letter-spacing: -.047em;
}
.web-cover__content > p {
  max-width: 690px;
  margin-bottom: 26px;
  color: #e4ecf9;
  font-size: 18px;
  line-height: 1.7;
}
.web-cover__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.web-cover__text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 760;
}
.web-cover__text-link span { transition: transform var(--transition); }
.web-cover__text-link:hover span { transform: translateX(4px); }
.breadcrumb--cover { margin-bottom: 22px; color: #c9d8ee; }
.breadcrumb--cover a:hover { color: #fff; }
.eyebrow--hero { color: #c6d8ff; }

.web-projects__heading { margin-bottom: 42px; }
.web-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.web-project-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 27px 25px 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .045);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.web-project-card:hover {
  transform: translateY(-5px);
  border-color: #bfd1f8;
  box-shadow: 0 20px 48px rgba(25, 57, 112, .10);
}
.web-project-card--featured {
  border-color: #9ebcf8;
  box-shadow: 0 18px 48px rgba(21, 94, 239, .11);
}
.web-project-card__badge {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.web-project-card__index {
  display: block;
  margin-bottom: 24px;
  color: #b6c5dc;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
}
.web-project-card__type {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.web-project-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.web-project-card > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.web-project-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 13px;
}
.web-project-card li { position: relative; padding-left: 19px; }
.web-project-card li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 184, 167, .11);
}
.web-project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.web-project-card__footer span { color: var(--muted); font-size: 11px; font-weight: 700; }
.web-project-card__footer a { color: var(--primary); font-size: 13px; font-weight: 800; }
.web-project-card__footer a:hover { color: var(--primary-dark); }

.web-scope__heading,
.web-quality__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: end;
  gap: 50px;
  margin-bottom: 34px;
}
.web-scope__heading h2,
.web-quality__heading h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.web-scope__heading p,
.web-quality__heading p { margin-bottom: 5px; color: var(--muted); font-size: 17px; }
.web-scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.web-scroll-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.web-scope__scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(16, 24, 40, .06);
  scrollbar-width: thin;
}
.web-scope-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  font-size: 13px;
}
.web-scope-table th,
.web-scope-table td {
  padding: 17px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.web-scope-table th:last-child,
.web-scope-table td:last-child { border-right: 0; }
.web-scope-table tbody tr:last-child th,
.web-scope-table tbody tr:last-child td { border-bottom: 0; }
.web-scope-table thead th {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  background: #102a55;
  font-size: 12px;
  letter-spacing: .02em;
}
.web-scope-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 260px;
  text-align: left;
  background: #0b2145;
}
.web-scope-table tbody th:not([colspan]) {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 260px;
  min-width: 260px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  font-size: 13px;
}
.web-scope-table tbody th span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}
.web-scope-table__group th {
  padding: 10px 18px;
  color: #34517c;
  background: #edf3fe;
  text-align: left;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.web-scope-table td { color: var(--ink-2); }
.web-scope-table td b { color: var(--ink); }
.web-check {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #087b62;
  background: #e8f8f3;
  font-weight: 900;
}
.web-dash { color: #98a2b3; }

.web-showcase__grid {
  display: grid;
  grid-template-columns: minmax(430px, .96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 78px;
}
.web-showcase__visual { position: relative; }
.web-showcase__visual > img {
  width: 100%;
  border: 1px solid #dfe6f0;
  border-radius: 24px;
  box-shadow: 0 28px 75px rgba(27, 62, 117, .14);
}
.web-showcase__status {
  position: absolute;
  right: -18px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 230px;
  padding: 14px 16px;
  border: 1px solid #dce5f4;
  border-radius: 13px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 15px 38px rgba(25, 55, 104, .14);
}
.web-showcase__status > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(7, 148, 85, .11);
}
.web-showcase__status strong,
.web-showcase__status small { display: block; }
.web-showcase__status strong { font-size: 12px; }
.web-showcase__status small { color: var(--muted); font-size: 10px; }
.web-showcase__copy h2 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.web-showcase__copy > p { margin-bottom: 28px; color: var(--muted); font-size: 17px; }
.web-showcase__points { display: grid; gap: 4px; margin-bottom: 30px; }
.web-showcase__points article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.web-showcase__points article:last-child { border-bottom: 0; }
.web-showcase__points svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 11px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.7;
  background: var(--primary-soft);
}
.web-showcase__points h3 { margin-bottom: 3px; font-size: 15px; }
.web-showcase__points p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.web-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
}
.web-process-grid::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: #cfd9e9;
}
.web-process-grid article { position: relative; z-index: 1; padding: 0 20px; text-align: center; }
.web-process-grid article > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid #b8cae8;
  border-radius: 50%;
  color: var(--primary);
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 7px 20px rgba(27, 62, 117, .08);
}
.web-process-grid h3 { margin-bottom: 8px; font-size: 17px; }
.web-process-grid p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.web-quality__heading { margin-bottom: 40px; }
.web-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.web-quality-grid article {
  min-height: 250px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 180ms ease;
}
.web-quality-grid article:hover { background: #f9fbff; }
.web-quality-grid__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft);
}
.web-quality-grid__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.web-quality-grid h3 { margin-bottom: 10px; font-size: 19px; }
.web-quality-grid p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.web-care { color: #fff; background: #0d284f; }
.web-care::before,
.web-care::after { border-color: rgba(255,255,255,.08) !important; }
.web-care__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 80px;
}
.web-care__copy .eyebrow { color: #bcd0ff; }
.web-care__copy h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.1vw, 50px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.web-care__copy p { margin-bottom: 27px; color: #cbd7e9; font-size: 17px; }
.web-care__list { border-top: 1px solid rgba(255,255,255,.16); }
.web-care__list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.web-care__list article > span { color: #789ee0; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.web-care__list h3 { margin-bottom: 5px; color: #fff; font-size: 17px; }
.web-care__list p { margin-bottom: 0; color: #b9c8de; font-size: 13px; }

.web-details { padding: 104px 0; }
.web-details__layout {
  display: grid;
  grid-template-columns: minmax(290px, .68fr) minmax(0, 1.32fr);
  gap: 80px;
  align-items: start;
}
.web-details__intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}
.web-details__intro h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.7vw, 46px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.web-details__intro p { margin-bottom: 26px; color: var(--muted); font-size: 16px; }
.accordion--web details { border-color: #dfe4ec; }
.accordion--web summary { padding: 22px 6px; font-size: 15px; }
.accordion--web details div { padding-bottom: 22px; }
.accordion--web details p + p { margin-top: 12px; }

.web-cta { background: linear-gradient(120deg, #0c2d5c 0%, #155eef 100%); }

@media (max-width: 1120px) {
  .web-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .web-showcase__grid { grid-template-columns: .9fr 1.1fr; gap: 50px; }
  .web-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 0; }
  .web-process-grid::before { display: none; }
  .web-quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .web-cover,
  .web-cover__inner { min-height: 360px; }
  .web-cover__media { background-position: 62% center; }
  .web-cover__overlay {
    background: linear-gradient(90deg, rgba(5,16,34,.96) 0%, rgba(8,25,50,.90) 60%, rgba(8,25,50,.55) 100%);
  }
  .web-scope__heading,
  .web-quality__heading { grid-template-columns: 1fr; gap: 10px; }
  .web-scroll-hint { display: flex; }
  .web-showcase__grid,
  .web-care__grid,
  .web-details__layout { grid-template-columns: 1fr; gap: 45px; }
  .web-showcase__visual { width: min(100%, 650px); margin-inline: auto; }
  .web-details__intro { position: static; max-width: 720px; }
}

@media (max-width: 680px) {
  .web-cover,
  .web-cover__inner { min-height: 410px; }
  .web-cover__inner { padding-top: 34px; padding-bottom: 38px; }
  .web-cover__content h1 { font-size: 40px; }
  .web-cover__content > p { font-size: 16px; }
  .web-cover__actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .web-project-grid,
  .web-quality-grid,
  .web-process-grid { grid-template-columns: 1fr; }
  .web-project-card { padding: 25px 22px 21px; }
  .web-project-card__footer { align-items: flex-start; flex-direction: column; }
  .web-showcase__status { position: static; width: calc(100% - 24px); margin: -18px auto 0; }
  .web-process-grid article { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 0; text-align: left; }
  .web-process-grid article > span { grid-row: 1 / span 2; margin: 0; }
  .web-quality-grid { border-left: 0; }
  .web-quality-grid article { min-height: 0; border-left: 1px solid var(--line); }
  .web-care__list article { grid-template-columns: 37px 1fr; }
  .web-details { padding: 76px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .web-project-card,
  .web-cover__media,
  .web-cover__text-link span { transition: none; transform: none; }
}
