@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-600.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/sora-800.woff2") format("woff2");
}

:root {
  --bg: #e9f1f7;
  --bg-soft: #f8fbfe;
  --bg-glow-a: #dae8f8;
  --bg-glow-b: #d8efe8;
  --surface: #ffffff;
  --surface-alt: #f2f7fc;
  --text-strong: #102538;
  --text-body: #243a4e;
  --text-muted: #607589;
  --brand: #0f5f8d;
  --brand-strong: #0a4568;
  --cta-blue-start: #24a69e;
  --cta-blue-end: #12877f;
  --cta-blue-hover-start: #2db3aa;
  --cta-blue-hover-end: #17968c;
  --brand-focus: var(--cta-blue-start);
  --accent: #0fa384;
  --accent-soft: #daf4ec;
  --line: #c8d8e8;
  --line-strong: #b8cadb;
  --warning: #f0a24e;
  --case-yellow: #d39b2d;
  --case-blue: #3f85d8;
  --case-green: #3f9f69;
  --case-red: #cf5f68;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-1: 0 18px 42px rgba(8, 43, 71, 0.14);
  --shadow-2: 0 10px 24px rgba(8, 43, 71, 0.1);

  --max-width: 1220px;
  --header-height: 92px;
  --section-space: clamp(2.8rem, 5vw, 4.8rem);
  --section-space-tight: clamp(2rem, 4vw, 3.2rem);

  --font-title: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1822;
  --bg-soft: #152332;
  --bg-glow-a: rgba(35, 72, 104, 0.52);
  --bg-glow-b: rgba(27, 81, 76, 0.42);
  --surface: #192b3d;
  --surface-alt: #21374a;
  --text-strong: #f4f9ff;
  --text-body: #d8e8f8;
  --text-muted: #adc0d3;
  --brand: #62c7ff;
  --brand-strong: #8ad8ff;
  --accent: #52d5ad;
  --accent-soft: #1b5044;
  --line: #30495d;
  --line-strong: #3a556a;
  --warning: #ffc174;
  --case-yellow: #f0c05e;
  --case-blue: #87bff8;
  --case-green: #7fcd95;
  --case-red: #e68d95;

  --shadow-1: 0 18px 42px rgba(3, 10, 18, 0.48);
  --shadow-2: 0 10px 24px rgba(3, 10, 18, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--header-height);
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-body);
  background:
    radial-gradient(980px 560px at 4% -12%, var(--bg-glow-a) 0%, transparent 66%),
    radial-gradient(760px 460px at 94% 0%, var(--bg-glow-b) 0%, transparent 62%),
    linear-gradient(
      180deg,
      var(--bg-soft) 0%,
      var(--bg) 68%,
      color-mix(in srgb, var(--bg) 84%, var(--surface-alt)) 100%
    );
}

html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-menu-open {
  touch-action: none;
}

.menu-backdrop {
  display: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(42px);
  pointer-events: none;
}

body::before {
  width: 340px;
  height: 340px;
  right: -130px;
  top: 120px;
  background: rgba(16, 154, 123, 0.16);
}

body::after {
  width: 320px;
  height: 320px;
  left: -150px;
  bottom: 90px;
  background: rgba(15, 95, 141, 0.12);
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.24;
  font-family: var(--font-title);
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
}

p {
  margin: 0;
  color: var(--text-body);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 58%, transparent);
  outline-offset: 2px;
  border-radius: 10px;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
input:not([type="checkbox"]):not([type="radio"]):focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: 2px;
  border-color: var(--brand-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-focus) 30%, transparent);
}

main p a:not(.btn):not(.news-link):not(.case-link),
main li a:not(.btn):not(.news-link):not(.case-link) {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -120px;
  padding: 0.66rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  z-index: 3000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

.site-shell,
.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.03rem, 1.8vw, 1.15rem);
  color: var(--text-strong);
  max-width: 68ch;
}

.small,
.muted {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.surface-card,
.card,
.panel {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

.card-body {
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
  min-width: 0;
}

.card-body > * {
  min-width: 0;
}

.btn,
.header-cta {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-pill);
  padding: 0.66rem 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary,
.header-cta {
  background: linear-gradient(145deg, var(--cta-blue-start), var(--cta-blue-end));
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 47, 74, 0.25);
}

.btn-primary:hover,
.header-cta:hover {
  background: linear-gradient(145deg, var(--cta-blue-hover-start), var(--cta-blue-hover-end));
  transform: translateY(-1px);
}

.btn-primary:active,
.header-cta:active {
  transform: translateY(0);
}

.btn-secondary,
.btn-ghost {
  border: 1.5px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  color: var(--brand-strong);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 58%, var(--line-strong));
  background: color-mix(in srgb, var(--surface-alt) 92%, transparent);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  transform: translateY(0);
  background: color-mix(in srgb, var(--bg-soft) 84%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line-strong) 60%, transparent);
  backdrop-filter: blur(10px) saturate(120%);
  transition: transform 0.22s ease, backdrop-filter 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 8px));
}

.site-header:focus-within {
  transform: translateY(0);
}

.site-header.is-sticky {
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  box-shadow: 0 10px 24px rgba(10, 39, 63, 0.14);
}

.header-row {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 0;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: clamp(1.12rem, 3vw, 1.42rem);
}

.brand-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: 48px;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link,
.services-toggle {
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  font-weight: 550;
  border-radius: var(--radius-pill);
  height: 40px;
  padding: 0 12px;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.services-toggle:hover,
.services-toggle:focus-visible {
  background: color-mix(in srgb, var(--accent-soft) 68%, transparent);
}

.nav-link[aria-current="page"],
.nav-link[aria-current="page"]:hover,
.nav-link[aria-current="page"]:focus-visible {
  padding: 0 12px;
  background: transparent;
  color: color-mix(in srgb, var(--text-strong) 92%, #000 8%);
}

.services-toggle[aria-expanded="true"] {
  background: color-mix(in srgb, var(--accent-soft) 56%, transparent);
}

.services-toggle.is-current {
  background: transparent;
}

.services-toggle.is-current:hover,
.services-toggle.is-current:focus-visible {
  background: transparent;
}

.nav-link[aria-current="page"]::after,
.services-toggle.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9adfbb 0%, #1f8753 50%, #9adfbb 100%);
}

.nav-item-services {
  position: relative;
}

.services-toggle {
  justify-content: flex-start;
  gap: 0.2rem;
}

.services-toggle svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.services-mobile-row {
  display: none;
}

.services-panel {
  position: absolute;
  top: calc(100% + 0.62rem);
  left: 0;
  width: min(600px, calc(100vw - 2rem));
  padding: 1rem;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-1);
}

.services-panel.is-open {
  display: grid;
}

.services-panel-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.services-panel-item {
  min-width: 0;
}

.services-panel-title {
  grid-column: 1 / -1;
  margin: 0 0 0.2rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.services-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: color-mix(in srgb, var(--surface-alt) 88%, transparent);
  padding: 0.78rem 0.82rem;
  text-decoration: none;
  line-height: 1.35;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.services-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line-strong));
  background: color-mix(in srgb, var(--surface) 97%, transparent);
}

.services-link strong {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  color: var(--text-strong);
}

.services-link strong::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 6px;
}

.services-link span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.header-tools {
  margin-left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.nav-item-search {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-search-toggle {
  appearance: none;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-search-toggle:hover,
.nav-search-toggle:focus-visible,
.nav-item-search.is-open .nav-search-toggle {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line-strong));
  background: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(8, 43, 71, 0.12);
}

.nav-search-panel {
  position: absolute;
  top: calc(100% + 0.48rem);
  right: 0;
  min-width: min(330px, calc(100vw - 2rem));
  padding: 0.38rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  gap: 0.36rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item-search.is-open .nav-search-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-search-input {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  color: var(--text-strong);
  padding: 0.5rem 0.72rem;
  font: inherit;
}

.nav-search-input::placeholder {
  color: var(--text-muted);
}

.nav-search-submit {
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: linear-gradient(145deg, #0e5f8d, #0a4568);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.48rem 0.8rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.nav-search-submit:hover {
  background: linear-gradient(145deg, #11689a, #0b4d74);
}

.theme-btn {
  position: relative;
  --theme-toggle-width: 60px;
  --theme-toggle-height: 30px;
  --theme-thumb-size: 26px;
  --theme-thumb-offset: 2px;
  --theme-thumb-shift: calc(var(--theme-toggle-width) - var(--theme-thumb-size) - (var(--theme-thumb-offset) * 2));
  --theme-track-icon-size: 12px;
  --theme-thumb-icon-size: 13px;
  width: var(--theme-toggle-width);
  height: var(--theme-toggle-height);
  margin-left: 24px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  background: linear-gradient(160deg, #eaf2fa, #dfeaf5);
  color: transparent;
  font-size: 0;
  line-height: 1;
  border-radius: var(--radius-pill);
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 4px 10px rgba(8, 43, 71, 0.12);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.theme-icon {
  position: relative;
  z-index: 1;
  width: var(--theme-track-icon-size);
  height: var(--theme-track-icon-size);
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  color: #35536f;
  transition: opacity 0.2s ease, filter 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.theme-glyph {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.theme-glyph-sun circle {
  fill: currentColor;
  stroke: none;
}

.theme-glyph-moon {
  fill: currentColor;
  stroke: none;
}

.theme-icon-sun {
  opacity: 1;
  color: #a06816;
}

.theme-icon-moon {
  opacity: 0.5;
  color: #35536f;
}

.theme-thumb {
  position: absolute;
  left: var(--theme-thumb-offset);
  top: var(--theme-thumb-offset);
  width: var(--theme-thumb-size);
  height: var(--theme-thumb-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(170deg, #fff8d8, #ffd679);
  box-shadow: 0 2px 7px rgba(10, 39, 63, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.58);
  transform: translateX(0);
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  z-index: 2;
  pointer-events: none;
}

.theme-thumb-icon {
  grid-area: 1 / 1;
  width: var(--theme-thumb-icon-size);
  height: var(--theme-thumb-icon-size);
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  transition: opacity 0.2s ease, filter 0.2s ease, color 0.2s ease;
}

.theme-thumb-icon .theme-glyph {
  width: 100%;
  height: 100%;
}

.theme-thumb-icon-sun {
  opacity: 1;
  color: #8d5710;
}

.theme-thumb-icon-moon {
  opacity: 0;
  color: #10324e;
}

.theme-btn[aria-pressed="true"] {
  background: linear-gradient(155deg, #34485c, #243649);
  border-color: color-mix(in srgb, #2d4660 64%, var(--line-strong));
}

.theme-btn[aria-pressed="true"] .theme-thumb {
  transform: translateX(var(--theme-thumb-shift));
  background: linear-gradient(170deg, #e4f0ff, #9fc8ff);
  box-shadow: 0 5px 12px rgba(4, 14, 24, 0.38), inset 0 0 0 1px rgba(228, 240, 255, 0.58);
}

.theme-btn[aria-pressed="true"] .theme-icon-sun {
  opacity: 0.45;
  color: #95a8bc;
}

.theme-btn[aria-pressed="true"] .theme-icon-moon {
  opacity: 1;
  color: #dce9f7;
  filter: saturate(1.06);
}

.theme-btn[aria-pressed="true"] .theme-thumb-icon-sun {
  opacity: 0;
}

.theme-btn[aria-pressed="true"] .theme-thumb-icon-moon {
  opacity: 1;
  color: #10324e;
  filter: none;
}

.theme-btn:hover {
  border-color: color-mix(in srgb, var(--brand) 54%, var(--line-strong));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 6px 14px rgba(8, 43, 71, 0.18);
}

html[data-theme="dark"] .theme-btn {
  border-color: color-mix(in srgb, var(--brand-strong) 34%, var(--line-strong));
  background: linear-gradient(160deg, #1a3044, #142537);
  box-shadow: inset 0 0 0 1px rgba(198, 225, 246, 0.16), 0 5px 12px rgba(2, 10, 17, 0.42);
}

html[data-theme="dark"] .theme-btn[aria-pressed="true"] {
  background: linear-gradient(155deg, #223b54, #15293c);
  border-color: color-mix(in srgb, var(--brand) 46%, var(--line-strong));
}

html[data-theme="dark"] .theme-btn[aria-pressed="true"] .theme-thumb {
  background: linear-gradient(170deg, #d6e8ff, #8ab8f2);
  box-shadow: 0 5px 13px rgba(2, 8, 14, 0.58), inset 0 0 0 1px rgba(243, 250, 255, 0.72);
}

html[data-theme="dark"] .theme-btn[aria-pressed="true"] .theme-icon-sun {
  opacity: 1;
  color: #ffd86a;
  filter: drop-shadow(0 0 4px rgba(255, 216, 106, 0.45));
}

html[data-theme="dark"] .theme-btn[aria-pressed="true"] .theme-icon-moon {
  opacity: 0.78;
  color: #9cb5ca;
  filter: none;
}

html[data-theme="dark"] .theme-btn[aria-pressed="false"] .theme-icon-sun {
  color: #70470a;
}

html[data-theme="dark"] .theme-btn[aria-pressed="false"] .theme-icon-moon {
  opacity: 0.72;
  color: #9cb5ca;
}

.header-cta {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
}

.page-main {
  padding-bottom: 3rem;
}

.section {
  padding-block: var(--section-space);
}

.section-tight {
  padding-block: var(--section-space-tight);
}

.section-head {
  margin-bottom: clamp(1.1rem, 2.4vw, 1.9rem);
}

.breadcrumb {
  margin: 0 0 clamp(0.72rem, 1.6vw, 0.98rem);
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.section-head p {
  max-width: 68ch;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.kicker-compact {
  margin-bottom: 0.42rem;
}

.hero {
  padding-block: clamp(2.6rem, 5.5vw, 4.6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
  align-items: stretch;
}

.hero-copy {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  border-radius: var(--radius-xl);
  padding: clamp(1.45rem, 3vw, 2.35rem) clamp(1.35rem, 3vw, 2.25rem) clamp(1.6rem, 3.2vw, 2.45rem);
  box-shadow: var(--shadow-2);
}

.hero-copy .kicker {
  margin-bottom: clamp(0.95rem, 2.3vw, 1.3rem);
}

.hero-copy h1 {
  margin: 0 0 clamp(1.5rem, 3.1vw, 1.75rem);
}

.hero-copy .hero-subline {
  margin: 0 0 clamp(1rem, 2.2vw, 1.2rem);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
  font-weight: 500;
  line-height: 1.55;
  max-width: 52ch;
}

.hero-points {
  margin: 0;
  padding-left: 1.22rem;
  display: grid;
  gap: 0.52rem;
}

.hero-actions {
  margin-top: clamp(1.35rem, 2.8vw, 1.95rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-actions .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-actions .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 78%);
  transform: translateX(-72%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.58s ease, opacity 0.34s ease;
}

.hero-actions .btn:hover::after,
.hero-actions .btn:focus-visible::after {
  transform: translateX(72%);
  opacity: 0.28;
}

.hero-actions .btn:hover,
.hero-actions .btn:focus-visible {
  box-shadow: 0 12px 24px rgba(8, 43, 71, 0.2);
}

body[data-page="home"] .hero-actions {
  gap: clamp(0.75rem, 1.6vw, 0.95rem);
}

body[data-page="home"] .hero-actions .btn-primary {
  border: 0;
  background: linear-gradient(145deg, var(--cta-blue-start), var(--cta-blue-end));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 47, 74, 0.25);
}

body[data-page="home"] .hero-actions .btn-primary:hover,
body[data-page="home"] .hero-actions .btn-primary:focus-visible {
  background: linear-gradient(145deg, var(--cta-blue-hover-start), var(--cta-blue-hover-end));
  box-shadow: 0 12px 24px rgba(8, 47, 74, 0.28);
}

body[data-page="home"] .hero-actions .btn:nth-child(2),
body[data-page="home"] .hero-actions .btn:nth-child(3) {
  background: #ffffff;
  border: 1.5px solid var(--cta-blue-start);
  color: var(--cta-blue-end);
  box-shadow: 0 4px 10px -9px rgba(8, 47, 74, 0.18);
}

body[data-page="home"] .hero-actions .btn:nth-child(2):hover,
body[data-page="home"] .hero-actions .btn:nth-child(2):focus-visible,
body[data-page="home"] .hero-actions .btn:nth-child(3):hover,
body[data-page="home"] .hero-actions .btn:nth-child(3):focus-visible {
  background: color-mix(in srgb, var(--cta-blue-start) 10%, #ffffff);
  border-color: var(--cta-blue-start);
  color: var(--cta-blue-end);
  box-shadow: 0 6px 12px -10px rgba(8, 47, 74, 0.18);
}

body[data-page="home"] .hero-actions .btn:nth-child(2)::after,
body[data-page="home"] .hero-actions .btn:nth-child(3)::after {
  display: none;
}

html[data-theme="dark"] body[data-page="home"] .hero-actions .btn:nth-child(2),
html[data-theme="dark"] body[data-page="home"] .hero-actions .btn:nth-child(3) {
  background: color-mix(in srgb, var(--surface) 86%, #152636);
  border-color: color-mix(in srgb, var(--brand-strong) 34%, var(--line-strong));
  color: color-mix(in srgb, var(--brand-strong) 86%, var(--text-strong));
}

html[data-theme="dark"] body[data-page="home"] .hero-actions .btn:nth-child(2):hover,
html[data-theme="dark"] body[data-page="home"] .hero-actions .btn:nth-child(2):focus-visible,
html[data-theme="dark"] body[data-page="home"] .hero-actions .btn:nth-child(3):hover,
html[data-theme="dark"] body[data-page="home"] .hero-actions .btn:nth-child(3):focus-visible {
  background: color-mix(in srgb, var(--surface) 78%, #102131);
  border-color: color-mix(in srgb, var(--brand-strong) 46%, var(--line-strong));
  color: var(--brand-strong);
}

.hero-media {
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
  position: relative;
  box-shadow: var(--shadow-1);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(9, 40, 62, 0.66));
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--line-strong) 75%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 10px 26px rgba(8, 43, 71, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card-link {
  color: inherit;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line-strong));
  box-shadow: 0 16px 30px rgba(8, 43, 71, 0.14);
}

.service-card img {
  min-height: 184px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card-body {
  padding: 1.02rem 1rem 1.1rem;
  display: grid;
  gap: 0.62rem;
}

.service-card p {
  color: color-mix(in srgb, var(--text-strong) 80%, var(--text-muted));
}

.service-mini-list {
  margin: 0;
  padding: 0.72rem 0 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  display: grid;
  gap: 0.42rem;
}

.service-mini-list li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text-strong) 84%, var(--text-muted));
}

.service-mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-soft) 76%, transparent);
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.service-card-cta::after {
  content: "›";
  font-size: 1rem;
}

body[data-page="home"] #leistungen .service-grid {
  gap: clamp(0.95rem, 1.6vw, 1.15rem);
  align-items: stretch;
}

body[data-page="home"] #leistungen .section-head .lead {
  max-width: 62ch;
  color: color-mix(in srgb, var(--text-body) 88%, var(--text-muted));
}

body[data-page="home"] #leistungen .service-card {
  grid-template-rows: auto auto 1fr;
  align-content: start;
  border-width: 2.5px;
  border-color: color-mix(in srgb, var(--brand) 22%, var(--line-strong));
  background: color-mix(in srgb, var(--surface) 98%, var(--surface-alt));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--surface) 72%, var(--line-strong)),
    0 14px 28px -22px rgba(8, 43, 71, 0.45),
    0 6px 14px -12px rgba(8, 43, 71, 0.25);
}

body[data-page="home"] #leistungen .service-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line-strong));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--surface) 74%, var(--line-strong)),
    0 20px 34px -22px rgba(8, 43, 71, 0.5),
    0 10px 18px -12px rgba(8, 43, 71, 0.3);
}

html[data-theme="dark"] body[data-page="home"] #leistungen .service-card {
  border-color: color-mix(in srgb, var(--brand-strong) 34%, var(--line-strong));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 74%, #0f2334),
    0 16px 30px -20px rgba(3, 10, 18, 0.64),
    0 8px 16px -12px rgba(3, 10, 18, 0.44);
}

html[data-theme="dark"] body[data-page="home"] #leistungen .service-card:hover {
  border-color: color-mix(in srgb, var(--brand-strong) 46%, var(--line-strong));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 78%, #11283a),
    0 20px 34px -20px rgba(3, 10, 18, 0.7),
    0 10px 18px -10px rgba(3, 10, 18, 0.5);
}

body[data-page="home"] #leistungen .service-card:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: 2px;
}

body[data-page="home"] #leistungen .service-card img {
  width: 100%;
  min-height: 190px;
  display: block;
}

body[data-page="home"] #leistungen .service-card-title-badge {
  margin: 0.82rem 0.92rem 0;
  padding: 0.5rem 0.72rem;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 64%, transparent);
  background: color-mix(in srgb, var(--surface-alt) 90%, var(--surface));
}

body[data-page="home"] #leistungen .service-card-title-badge h3 {
  margin: 0;
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 1.24;
  font-weight: 800;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}

body[data-page="home"] #leistungen .service-card-body {
  padding: 0.72rem 0.92rem 1rem;
  gap: 0.62rem;
  align-content: start;
}

body[data-page="home"] #leistungen .service-card-body p {
  margin: 0;
  font-size: 0.99rem;
  line-height: 1.5;
}

body[data-page="home"] #leistungen .service-mini-list {
  margin: 0;
  padding-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  border-top-color: color-mix(in srgb, var(--line-strong) 78%, transparent);
}

body[data-page="home"] #leistungen .service-mini-list li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.56rem;
  padding-left: 0;
  font-size: 0.99rem;
  line-height: 1.42;
  color: color-mix(in srgb, var(--text-strong) 88%, var(--text-body));
  overflow-wrap: anywhere;
}

body[data-page="home"] #leistungen .service-mini-list li::before {
  position: static;
  flex: 0 0 6px;
  margin-top: 0.42em;
  width: 6px;
  height: 6px;
  background: color-mix(in srgb, var(--accent) 88%, #0f8f78);
  box-shadow: none;
}

body[data-page="home"] #leistungen .service-card-cta {
  margin-top: 0.12rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand-strong) 88%, var(--text-strong));
}

body[data-page="home"] #leistungen .service-card-cta::after {
  content: "\203A";
  font-size: 1.02rem;
}

.filter-bar {
  margin-top: 1rem;
  padding: clamp(0.88rem, 2vw, 1.1rem);
  border-color: color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.filter-bar h2 {
  margin: 0 0 0.58rem;
  font-size: clamp(1.05rem, 2.1vw, 1.22rem);
}

.filter-bar [data-case-filter-list] {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.52rem;
  align-items: stretch;
}

.filter-bar [data-case-filter] {
  appearance: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--case-accent, var(--accent)) 34%, var(--line-strong));
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 8%, var(--surface));
  color: color-mix(in srgb, var(--case-accent, var(--accent)) 20%, var(--text-strong));
  border-radius: var(--radius-pill);
  min-height: 2.38rem;
  padding: 0.46rem 1rem 0.96rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-bar .case-filter-chip .case-group-label-text {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  text-align: center;
  line-height: 1.14;
  padding-bottom: 0;
}

.filter-bar .case-filter-chip::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.42rem;
  height: 4px;
  border-radius: 999px;
  background: var(--case-accent, var(--accent));
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.filter-bar [data-case-filter]:hover,
.filter-bar [data-case-filter]:focus-visible {
  border-color: color-mix(in srgb, var(--case-accent, var(--accent)) 58%, var(--line-strong));
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 14%, var(--surface));
}

.filter-bar [data-case-filter][aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--case-accent, var(--accent)) 82%, var(--line-strong));
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 28%, var(--surface));
  color: color-mix(in srgb, var(--case-accent, var(--accent)) 46%, var(--text-strong));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--case-accent, var(--accent)) 42%, transparent),
    0 2px 5px -3px color-mix(in srgb, var(--case-accent, var(--accent)) 36%, transparent);
}

.filter-bar [data-case-filter][aria-pressed="true"] .case-group-label-text {
  font-weight: 700;
}

.filter-bar [data-case-filter]:hover::after,
.filter-bar [data-case-filter]:focus-visible::after {
  opacity: 0.95;
}

.filter-bar [data-case-filter][aria-pressed="true"]::after {
  opacity: 1;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--case-accent, var(--accent)) 34%, transparent);
}

.filter-bar [data-case-filter-list] > .case-filter-chip--all {
  background: var(--surface-alt);
  border: 1.5px solid var(--line-strong);
  color: var(--text-body);
  border-radius: 999px;
}

.filter-bar [data-case-filter-list] > .case-filter-chip--all ~ [data-case-filter] {
  border-radius: 999px;
}

.filter-bar .case-filter-chip--all:hover,
.filter-bar .case-filter-chip--all:focus-visible {
  background: color-mix(in srgb, var(--surface-alt) 88%, var(--brand) 12%);
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line-strong));
  color: var(--text-strong);
}

.filter-bar .case-filter-chip--all[aria-pressed="true"] {
  background: linear-gradient(145deg, var(--cta-blue-start), var(--cta-blue-end));
  color: #ffffff;
  border-color: transparent;
  box-shadow:
    0 8px 14px -10px rgba(8, 43, 71, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.filter-bar .case-filter-chip--all::after {
  display: block;
  background: #ffffff;
  opacity: 0.92;
  box-shadow: none;
}

.filter-bar .case-filter-chip--all[aria-pressed="true"]::after,
.filter-bar .case-filter-chip--all:hover::after,
.filter-bar .case-filter-chip--all:focus-visible::after {
  box-shadow: none;
}

@media (max-width: 1360px) {
  .filter-bar [data-case-filter-list] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .filter-bar [data-case-filter-list] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .filter-bar [data-case-filter-list] {
    grid-template-columns: 1fr;
  }
}

.filter-bar input[data-case-search-input] {
  width: 100%;
  margin-top: 0.58rem;
  min-height: 2.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  color: var(--text-strong);
  padding: 0.56rem 0.86rem;
  font: inherit;
}

.filter-bar input[data-case-search-input]::placeholder {
  color: var(--text-muted);
}

.filter-bar input[data-case-search-input].is-guided-highlight {
  border-color: color-mix(in srgb, var(--brand) 64%, var(--line-strong));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--brand) 24%, transparent),
    0 0 0 6px color-mix(in srgb, var(--accent-soft) 30%, transparent);
  animation: case-search-highlight 0.85s ease-out 1;
}

@keyframes case-search-highlight {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 0%, transparent);
  }

  36% {
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--brand) 26%, transparent),
      0 0 0 8px color-mix(in srgb, var(--accent-soft) 34%, transparent);
  }

  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 0%, transparent);
  }
}

.filter-bar [data-case-search-status] {
  margin: 0.56rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  min-height: 1.32rem;
}

.filter-bar .case-zero-cta {
  width: 100%;
  margin-top: 0.42rem;
  padding: 0;
  border: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.56rem;
  flex-wrap: wrap;
}

.filter-bar .case-zero-cta.is-visible {
  display: flex;
}

.filter-bar .case-zero-cta-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

.filter-bar .case-zero-cta .btn {
  min-height: 2.1rem;
  padding-inline: 0.98rem;
}

.cases-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.86rem;
}

.cases-nav {
  padding: 0.45rem;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  scrollbar-color: color-mix(in srgb, var(--brand) 52%, var(--line-strong)) color-mix(in srgb, var(--surface-alt) 86%, transparent);
}

.cases-nav::-webkit-scrollbar {
  width: 11px;
}

.cases-nav::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--surface-alt) 86%, transparent);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 38%, transparent);
}

.cases-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 54%, #dff1ff),
    color-mix(in srgb, var(--brand-strong) 68%, #8cccf2)
  );
}

.cases-nav::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 66%, #e6f5ff),
    color-mix(in srgb, var(--brand-strong) 78%, #9dd7f8)
  );
}

.cases-nav::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

.cases-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.cases-nav [data-case-empty] {
  margin: 0;
  padding: 0.85rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.case-empty-card {
  margin: 0;
  padding: 0.78rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--line-strong) 68%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  display: grid;
  gap: 0.5rem;
}

.case-empty-title {
  margin: 0;
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
}

.case-empty-copy {
  margin: 0;
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.45;
}

.case-empty-action {
  width: fit-content;
}

.case-category--gebaeude {
  --case-accent: var(--case-yellow);
}

.case-category--vermessung {
  --case-accent: var(--case-blue);
}

.case-category--landwirtschaft {
  --case-accent: var(--case-green);
}

.case-category--sicherheit {
  --case-accent: var(--case-red);
}

.case-nav-item {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--case-accent, var(--accent)) 26%, var(--line-strong));
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 4%, var(--surface));
  color: var(--text-strong);
  border-radius: var(--radius-md);
  padding: 0.68rem 0.78rem 0.68rem 0.96rem;
  display: grid;
  gap: 0.28rem;
  font: inherit;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.case-nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  bottom: 0.46rem;
  width: 3px;
  border-radius: 999px;
  background: var(--case-accent, var(--accent));
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.case-nav-item:hover,
.case-nav-item:focus-visible {
  border-color: color-mix(in srgb, var(--case-accent, var(--accent)) 54%, var(--line-strong));
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 10%, var(--surface-alt));
}

.case-nav-item[aria-current="true"] {
  border-color: color-mix(in srgb, var(--case-accent, var(--accent)) 68%, var(--line-strong));
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 16%, var(--surface-alt));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--case-accent, var(--accent)) 30%, transparent);
}

.case-nav-item:hover::before,
.case-nav-item:focus-visible::before {
  opacity: 0.8;
}

.case-nav-item[aria-current="true"]::before {
  opacity: 1;
}

.case-nav-item strong {
  font-size: calc(0.94rem * 1.1);
  line-height: 1.32;
}

.case-nav-item small {
  color: var(--text-body);
  line-height: 1.4;
}

.case-group-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.16rem 0.52rem 0.2rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-strong);
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--case-accent, var(--accent)) 42%, transparent);
}

.case-group-label-text {
  display: inline-flex;
  line-height: 1.1;
}

.case-nav-item:hover .case-group-label,
.case-nav-item:focus-visible .case-group-label {
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 20%, transparent);
  border-color: color-mix(in srgb, var(--case-accent, var(--accent)) 50%, transparent);
}

.case-nav-item[aria-current="true"] .case-group-label {
  background: color-mix(in srgb, var(--case-accent, var(--accent)) 24%, transparent);
  border-color: color-mix(in srgb, var(--case-accent, var(--accent)) 58%, transparent);
}

.cases-detail .case-detail-group {
  margin-bottom: 0.14rem;
}

.cases-detail {
  padding: clamp(0.95rem, 2.2vw, 1.25rem);
  min-height: 320px;
}

.cases-detail [data-case-back-to-list] {
  margin-bottom: 0.78rem;
}

.cases-detail article {
  display: grid;
  gap: 0.58rem;
}

.cases-detail h2 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.46rem);
}

.cases-detail h3 {
  margin: 0.34rem 0 0;
  font-size: 0.77rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.cases-detail p {
  margin: 0;
  color: var(--text-body);
}

.cases-detail img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cases-detail [data-case-image-placeholder] {
  min-height: 150px;
  border-radius: var(--radius-md);
  border: 1px dashed color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: color-mix(in srgb, var(--surface-alt) 78%, transparent);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cases-detail .detail-actions {
  margin-top: 0.38rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cases-detail [data-case-empty] {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .cases-layout {
    grid-template-columns: minmax(290px, 0.95fr) minmax(0, 1.7fr);
    align-items: start;
  }

  .cases-nav {
    position: sticky;
    top: calc(var(--header-height) + 0.85rem);
    max-height: calc(100vh - var(--header-height) - 1.8rem);
    overflow: auto;
  }

  .cases-detail [data-case-back-to-list] {
    display: none;
  }
}

/* Rechtstexte (Datenschutz, Impressum): klare Lesefuehrung */
body[data-page="legal"] .breadcrumb {
  margin: 0 0 0.8rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

body[data-page="legal"] .page-main .surface-card {
  padding: clamp(1rem, 2.1vw, 1.5rem);
  max-width: 100%;
  min-width: 0;
}

body[data-page="legal"] .page-main .surface-card > h1 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.72rem, 7vw, 2.35rem);
  line-height: 1.14;
  hyphens: auto;
  overflow-wrap: anywhere;
}

body[data-page="legal"] .page-main .surface-card > * {
  min-width: 0;
}

body[data-page="legal"] .page-main .surface-card section + section {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 58%, transparent);
}

body[data-page="legal"] .page-main .surface-card h2 {
  font-size: clamp(1.02rem, 1.9vw, 1.24rem);
}

body[data-page="legal"] .page-main .surface-card p,
body[data-page="legal"] .page-main .surface-card li {
  font-size: 0.96rem;
  hyphens: auto;
  overflow-wrap: anywhere;
}

body[data-page="legal"] .page-main .surface-card a,
body[data-page="legal"] .page-main .surface-card code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

body[data-page="legal"] .page-main address {
  font-style: normal;
  line-height: 1.6;
}

/* Defensive overflow guard: keep legal text inside card on very narrow viewports */
body[data-page="legal"] .page-main .surface-card,
body[data-page="legal"] .page-main .surface-card > *,
body[data-page="legal"] .page-main .surface-card > section,
body[data-page="legal"] .page-main .surface-card > section > * {
  min-width: 0;
}

body[data-page="legal"] .page-main .surface-card > h1,
body[data-page="legal"] .page-main .surface-card p,
body[data-page="legal"] .page-main .surface-card li,
body[data-page="legal"] .page-main .surface-card a,
body[data-page="legal"] .page-main .surface-card code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Dienstleistungen-Seite: klare Hierarchie, ruhige Materialwirkung, starke Nutzerfuehrung */
body[data-page="services"] {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg-soft) 92%, var(--surface)) 0%,
    color-mix(in srgb, var(--bg) 88%, var(--surface-alt)) 100%
  );
}

body[data-page="services"]::before,
body[data-page="services"]::after {
  display: none;
}

body[data-page="services"] .site-header {
  background: color-mix(in srgb, var(--surface) 90%, var(--bg-soft));
  border-bottom: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  backdrop-filter: blur(8px) saturate(110%);
}

body[data-page="services"] .site-header.is-sticky {
  background: color-mix(in srgb, var(--surface) 95%, var(--bg-soft));
  box-shadow: var(--shadow-2);
}

/* Dienstleistungs-Detailseiten: Scan- und Entscheidungslayout */
.service-detail-page .container {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
  padding-top: clamp(0.95rem, 2vw, 1.55rem);
}

.service-detail-page .breadcrumb {
  margin: 0 0 clamp(0.92rem, 2vw, 1.28rem);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.service-detail-page .section-title {
  margin: 0;
  font-size: clamp(1.28rem, 2.4vw, 1.84rem);
}

.service-detail-page h1.section-title {
  margin-top: 0;
  margin-bottom: clamp(0.5rem, 1.25vw, 0.86rem);
  font-size: clamp(1.92rem, 4vw, 2.72rem);
}

.service-detail-page .section-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  color: color-mix(in srgb, var(--text-strong) 70%, var(--text-muted));
  max-width: 66ch;
}

.service-detail-page .section-title-underlined {
  position: relative;
  padding-bottom: 0.5rem;
}

.service-detail-page .section-title-underlined::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(88px, 16vw, 132px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand-strong) 76%, var(--accent)), transparent 86%);
}

.service-detail-page .section-tight {
  padding-block: clamp(1.4rem, 3vw, 2.15rem);
}

.service-detail-page .section-tight > .section-title-underlined {
  margin-bottom: clamp(0.82rem, 1.8vw, 1.18rem);
}

.service-detail-page .section-tight > h3 {
  margin-top: clamp(0.78rem, 1.8vw, 1.14rem);
  margin-bottom: clamp(0.34rem, 0.9vw, 0.56rem);
}

.service-detail-page .section-tight > p + h3 {
  margin-top: clamp(1rem, 2.1vw, 1.4rem);
}

.service-detail-page .section-tight > p + p {
  margin-top: clamp(0.72rem, 1.45vw, 1rem);
}

.service-detail-page .section-tight > ul,
.service-detail-page .section-tight > ol,
.service-detail-page .section-tight > .grid,
.service-detail-page .section-tight > .notice-box {
  margin-top: clamp(0.74rem, 1.55vw, 1.04rem);
}

.service-detail-page .section-tight.related-cases {
  padding-top: clamp(1.62rem, 3.2vw, 2.24rem);
  padding-bottom: clamp(1.78rem, 3.5vw, 2.46rem);
}

.service-detail-page .section-tight.related-cases > .section-title-underlined {
  margin-bottom: clamp(1rem, 2.2vw, 1.44rem);
}

.service-detail-page .section-tight.related-cases > .check-list:not(.decision-facts-grid) {
  margin-top: 0;
  gap: clamp(0.62rem, 1.2vw, 0.9rem);
}

.service-detail-page .section-tight.related-cases > .check-list:not(.decision-facts-grid) li {
  padding-left: 1.12rem;
  line-height: 1.52;
}

.service-detail-page .section-tight.related-cases > .check-list + p {
  margin-top: clamp(0.92rem, 1.9vw, 1.28rem);
}

.service-detail-page .section-tight + .section-tight {
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
}

.service-detail-page .service-hero-media + .section-tight.decision-fit {
  margin-top: clamp(1rem, 2.2vw, 1.45rem);
}

.service-detail-page .section-tight.decision-fit + .section-tight.decision-intro {
  margin-top: clamp(0.92rem, 2vw, 1.35rem);
  border-top: 0;
}

.service-detail-page .service-hero-media {
  margin-top: clamp(1.2rem, 2.4vw, 1.7rem) !important;
  padding: clamp(0.92rem, 1.8vw, 1.12rem) !important;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--line-strong) 66%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-2);
}

.service-detail-page .service-hero-media img {
  border-radius: calc(var(--radius-md) - 2px);
  min-height: clamp(220px, 42vw, 360px);
  object-fit: cover;
}

.service-detail-page .decision-fit {
  border-radius: var(--radius-lg);
  padding: clamp(0.95rem, 2.3vw, 1.2rem);
  background: color-mix(in srgb, var(--surface) 95%, var(--surface-alt));
  box-shadow: var(--shadow-2);
}

.service-detail-page .decision-fit-grid {
  margin-top: 0.22rem;
  display: grid;
}

.service-detail-page .decision-fit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.service-detail-page .decision-fit-row + .decision-fit-row {
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 64%, transparent);
}

.service-detail-page .decision-fit-cell {
  padding-block: 0.78rem;
}

.service-detail-page .decision-fit-situation {
  padding-right: 2rem;
}

.service-detail-page .decision-fit-benefit {
  border-left: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
  padding-left: 2rem;
}

.service-detail-page .decision-fit-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.service-detail-page .decision-fit-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 72%, var(--brand));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-soft) 68%, transparent);
}

.service-detail-page .decision-fit-cell p {
  margin: 0;
}

.service-detail-page .decision-fit-cell p + p {
  margin-top: 0.28rem;
}

.service-detail-page .decision-fit-cell p:last-child {
  color: var(--text-body);
  max-width: 62ch;
}

.service-detail-page .decision-intro {
  border-radius: var(--radius-md);
  padding: clamp(0.92rem, 2.1vw, 1.18rem);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: var(--shadow-2);
}

.service-detail-page .decision-intro p {
  margin: 0;
  max-width: 76ch;
}

.service-detail-page .decision-intro p + p {
  margin-top: 0.7rem;
}

.service-detail-page .decision-facts-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
}

.service-detail-page .decision-facts-grid li {
  margin: 0;
  padding: 0.58rem 0.08rem;
  display: grid;
  grid-template-columns: minmax(180px, 0.92fr) minmax(0, 1.78fr);
  gap: 0.82rem;
  align-items: start;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 56%, transparent);
  color: var(--text-body);
}

.service-detail-page .decision-facts-grid li:first-child {
  border-top: 0;
}

.service-detail-page .decision-facts-grid li strong {
  display: block;
  margin: 0;
  color: var(--text-strong);
  font-weight: 800;
}

.service-detail-page .check-list:not(.decision-facts-grid) {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.44rem;
}

.service-detail-page .check-list:not(.decision-facts-grid) li {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  color: var(--text-body);
}

.service-detail-page .check-list:not(.decision-facts-grid) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 70%, var(--brand));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-soft) 66%, transparent);
}

.service-detail-page .grid.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.84rem;
}

.service-detail-page .trust-item {
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-strong) 68%, transparent);
  box-shadow: var(--shadow-2);
}

.service-detail-page .trust-item strong {
  display: block;
  margin-bottom: 0.44rem;
  color: var(--text-strong);
}

.service-detail-page .trust-item p + p {
  margin-top: clamp(0.46rem, 0.95vw, 0.66rem);
}

.service-detail-page .notice-box {
  margin-top: 0.86rem;
  padding: 0.76rem 0.84rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid color-mix(in srgb, var(--brand) 64%, var(--accent));
  background: color-mix(in srgb, var(--surface-alt) 74%, transparent);
}

.service-detail-page .notice-box p {
  margin: 0;
}

.service-detail-page .notice-box p + p {
  margin-top: 0.54rem;
}

.service-detail-page .list-steps {
  margin: 0.58rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.56rem;
}

.service-detail-page .list-steps li {
  margin: 0;
  padding: 0.7rem 0.8rem 0.72rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid color-mix(in srgb, var(--brand) 58%, var(--accent));
  background: color-mix(in srgb, var(--surface-alt) 72%, transparent);
}

.services-page .services-hero {
  padding-block: clamp(2.8rem, 5vw, 4.4rem) clamp(1.1rem, 2vw, 1.5rem);
  text-align: left;
}

.services-hero-inner {
  max-width: none;
}

.services-page h1 {
  font-size: clamp(2.05rem, 4.3vw, 3.2rem);
  line-height: 1.1;
  max-width: 14ch;
}

.services-lead {
  margin-top: 0.95rem;
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  color: var(--text-body);
}

.services-hero-actions {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0;
}

.services-page .services-catalog {
  padding-top: clamp(2.4rem, 3.8vw, 3rem);
}

.services-section-head {
  margin-bottom: clamp(1.1rem, 2.8vw, 1.9rem);
}

.services-section-head h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  margin-bottom: 0.48rem;
}

.services-section-head p {
  max-width: 66ch;
  color: var(--text-body);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-offer-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-offer-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line-strong));
  box-shadow: var(--shadow-1);
}

.service-offer-image {
  height: 186px;
  object-fit: cover;
  border-radius: 0;
}

.service-offer-content {
  padding: 1.05rem 1.05rem 1.12rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.78rem;
  min-height: 100%;
}

.service-offer-meta {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-offer-content h3 {
  margin: 0;
  font-size: clamp(1.16rem, 1.6vw, 1.34rem);
}

.service-offer-intro {
  margin: 0;
  color: var(--text-body);
}

.service-offer-chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.service-offer-chips li {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0.46rem 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.22;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  color: color-mix(in srgb, var(--brand-strong) 82%, var(--text-body));
  background: color-mix(in srgb, var(--surface-alt) 88%, var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
}

@media (max-width: 420px) {
  .service-offer-chips {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1280px) {
  .service-offer-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-offer-when {
  margin: 0;
  padding-top: 0.72rem;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  font-size: 0.93rem;
  color: var(--text-body);
}

.service-offer-when strong {
  color: var(--text-strong);
}

.service-offer-cta {
  margin-top: auto;
  width: fit-content;
  align-self: flex-start;
}

.services-guidance {
  padding-top: clamp(2.2rem, 4.2vw, 3rem);
}

.services-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.services-step {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  border-radius: var(--radius-md);
  padding: 0.92rem 0.9rem;
  box-shadow: var(--shadow-2);
}

.services-step-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  background: var(--brand);
  margin-bottom: 0.58rem;
}

.services-step h3 {
  font-size: 1rem;
  margin-bottom: 0.28rem;
}

.services-step p {
  margin: 0;
  font-size: 0.92rem;
}

.services-decision-cta {
  padding-top: clamp(1.5rem, 3vw, 2.2rem);
}

.services-decision-inner {
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-strong) 42%, #06283f),
    color-mix(in srgb, var(--brand) 30%, #041f33)
  );
  color: #e6f4ff;
  padding: clamp(1.2rem, 2.3vw, 1.7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-1);
}

.services-decision-copy {
  max-width: 66ch;
}

.services-kicker-compact {
  margin-bottom: 0.45rem;
}

.services-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-decision-copy .services-kicker {
  color: #b8dcf4;
}

.services-decision-copy h2 {
  color: #f4faff;
  margin-bottom: 0.42rem;
}

.services-decision-copy p {
  margin: 0;
  color: #cfe5f5;
}

.services-decision-actions {
  display: inline-flex;
  gap: 0.56rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.services-decision-cta .btn-secondary {
  background: color-mix(in srgb, #ffffff 7%, transparent);
  border-color: rgba(184, 216, 238, 0.56);
  color: #eaf6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.services-decision-cta .btn-secondary:hover {
  background: color-mix(in srgb, #ffffff 12%, transparent);
  border-color: rgba(212, 233, 248, 0.72);
}

html[data-theme="dark"] .services-step-number {
  color: #0b2538;
}

.auto-strip {
  position: relative;
  background: color-mix(in srgb, var(--surface) 94%, var(--surface-alt));
  border-radius: var(--radius-xl);
  padding: 1.15rem;
  box-shadow:
    0 24px 38px -30px rgba(16, 44, 70, 0.34),
    0 10px 20px -18px rgba(16, 44, 70, 0.2);
}

.auto-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

html[data-theme="dark"] .auto-strip {
  background: color-mix(in srgb, var(--surface) 88%, #0c1824);
  box-shadow:
    0 30px 48px -28px rgba(0, 0, 0, 0.62),
    0 14px 24px -18px rgba(0, 0, 0, 0.52);
}

html[data-theme="dark"] .auto-strip::before {
  box-shadow: inset 0 1px 0 rgba(201, 227, 245, 0.1);
}

.scroller-frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
}

.h-scroll-arrow {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: color-mix(in srgb, var(--surface) 95%, var(--surface-alt));
  color: var(--brand-strong);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 12px 20px -16px rgba(16, 44, 70, 0.36),
    0 6px 12px -12px rgba(16, 44, 70, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.h-scroll-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 18px 28px -16px rgba(16, 44, 70, 0.42),
    0 9px 15px -11px rgba(16, 44, 70, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

html[data-theme="dark"] .h-scroll-arrow {
  background: color-mix(in srgb, var(--surface) 92%, #0b1723);
  box-shadow:
    0 16px 24px -14px rgba(0, 0, 0, 0.62),
    0 8px 14px -10px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(201, 227, 245, 0.1);
}

html[data-theme="dark"] .h-scroll-arrow:hover:not(:disabled) {
  box-shadow:
    0 22px 32px -14px rgba(0, 0, 0, 0.66),
    0 10px 16px -10px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(201, 227, 245, 0.12);
}

.h-scroll-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.h-scroll-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border-radius: calc(var(--radius-lg) + 2px);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.h-scroll-viewport::-webkit-scrollbar {
  display: none;
}

.h-scroll-viewport.is-dragging {
  cursor: grabbing;
}

.h-scroll-track {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
  padding: 0.12rem;
}

.h-scroll-card {
  flex: 0 0 clamp(255px, 31vw, 332px);
  position: relative;
  display: grid;
  background: color-mix(in srgb, var(--surface) 97%, var(--surface-alt));
  border-radius: var(--radius-lg);
  box-shadow:
    0 16px 26px -20px rgba(16, 44, 70, 0.38),
    0 8px 16px -14px rgba(16, 44, 70, 0.26);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.h-scroll-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.h-scroll-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 34px -18px rgba(16, 44, 70, 0.44),
    0 12px 18px -12px rgba(16, 44, 70, 0.3);
}

html[data-theme="dark"] .h-scroll-card {
  background: color-mix(in srgb, var(--surface) 94%, #0c1723);
  box-shadow:
    0 20px 32px -16px rgba(0, 0, 0, 0.66),
    0 10px 18px -12px rgba(0, 0, 0, 0.56);
}

html[data-theme="dark"] .h-scroll-card::before {
  box-shadow: inset 0 1px 0 rgba(201, 227, 245, 0.1);
}

html[data-theme="dark"] .h-scroll-card:hover {
  box-shadow:
    0 26px 40px -16px rgba(0, 0, 0, 0.7),
    0 12px 20px -12px rgba(0, 0, 0, 0.58);
}

.h-scroll-card .card-body {
  padding: 1rem;
  gap: 0.6rem;
}

.h-scroll-card h3 {
  font-size: 1.04rem;
}

.h-scroll-card--case .card-body {
  padding: 0.94rem 0.96rem 1rem;
  gap: 0.66rem;
}

.case-study-body {
  display: grid;
  align-content: start;
  gap: 0.66rem;
}

.case-study-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.52rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--brand-strong) 72%, var(--text-strong));
  background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.case-study-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.26;
}

.case-study-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.54rem;
  position: relative;
}

.case-study-flow::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: color-mix(in srgb, var(--line-strong) 68%, transparent);
  opacity: 0.82;
}

.case-study-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.56rem;
  align-items: start;
}

.case-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--brand-strong) 70%, var(--text-strong));
  background: color-mix(in srgb, var(--surface) 90%, var(--surface-alt));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 10px -8px rgba(16, 44, 70, 0.42);
}

.case-step-glyph {
  width: 13px;
  height: 13px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.case-step-copy {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.case-step-heading {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.case-step-text {
  margin: 0;
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.44;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.case-study-step--result {
  padding: 0.38rem 0.44rem 0.42rem 0.02rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-soft) 42%, transparent);
}

.case-study-step--result .case-step-icon {
  color: color-mix(in srgb, var(--accent) 78%, var(--brand-strong));
  background: color-mix(in srgb, var(--accent-soft) 65%, var(--surface));
}

.case-study-step--result .case-step-heading {
  color: color-mix(in srgb, var(--accent) 68%, var(--brand-strong));
}

.case-study-link {
  margin-top: 0.06rem;
}

html[data-theme="dark"] .case-study-badge {
  background: color-mix(in srgb, var(--accent-soft) 46%, var(--surface));
  box-shadow: inset 0 1px 0 rgba(210, 231, 246, 0.14);
}

html[data-theme="dark"] .case-study-flow::before {
  background: color-mix(in srgb, var(--line-strong) 64%, #2c4559);
}

html[data-theme="dark"] .case-step-icon {
  background: color-mix(in srgb, var(--surface) 92%, #102235);
  box-shadow:
    inset 0 1px 0 rgba(201, 227, 245, 0.13),
    0 8px 12px -10px rgba(0, 0, 0, 0.62);
}

html[data-theme="dark"] .case-study-step--result {
  background: color-mix(in srgb, var(--accent-soft) 34%, transparent);
}

.news-overview-list {
  margin-top: clamp(0.9rem, 2.1vw, 1.35rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.95rem, 2.3vw, 1.35rem);
}

body[data-page="news-overview"] .breadcrumb {
  margin-bottom: clamp(0.42rem, 1vw, 0.62rem);
}

body[data-page="news-overview"] .section-head {
  margin-bottom: clamp(1.35rem, 2.8vw, 2.2rem);
}

body[data-page="news-overview"] .section-head h1 {
  margin: 0 0 clamp(0.8rem, 1.9vw, 1.08rem);
  line-height: 1.12;
}

body[data-page="news-overview"] .section-head p {
  margin: 0;
  max-width: 70ch;
  line-height: 1.62;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
}

body[data-page="news-overview"] .section-head p + p {
  margin-top: 0.58rem;
}

body[data-page="news-overview"] .section-head .small {
  font-size: 0.95rem;
}

.news-overview-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  box-shadow:
    0 14px 24px -20px rgba(10, 44, 70, 0.34),
    0 6px 12px -10px rgba(10, 44, 70, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.news-overview-card:hover,
.news-overview-card:focus-within {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 44%, var(--line-strong));
  box-shadow:
    0 24px 34px -22px rgba(10, 44, 70, 0.42),
    0 10px 16px -10px rgba(10, 44, 70, 0.3);
}

.news-overview-card.is-targeted {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line-strong));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent),
    0 20px 28px -20px rgba(10, 44, 70, 0.38);
}

.news-overview-card .news-card-image {
  width: 100%;
  min-height: 176px;
  max-height: 242px;
  display: block;
  object-fit: cover;
}

.news-overview-content {
  padding: clamp(0.88rem, 1.8vw, 1.05rem);
  display: grid;
  align-content: start;
  gap: 0.74rem;
  min-height: 100%;
}

.news-overview-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.58rem;
  flex-wrap: wrap;
}

.news-meta {
  display: flex;
  gap: 0.52rem;
  flex-wrap: wrap;
  font-size: 0.77rem;
  color: var(--text-muted);
}

.news-overview-card .news-meta {
  margin: 0;
}

.news-overview-card .news-meta > * {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.news-overview-card .news-meta > * + * {
  padding-left: 0.64rem;
}

.news-overview-card .news-meta > * + *::before {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--line-strong) 78%, transparent);
}

.news-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.52rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 82%, #01291f);
}

.news-source-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-left: auto;
  padding: 0.2rem 0.58rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface-alt) 78%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--text-strong) 62%, var(--text-muted));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-overview-card h3 {
  margin: 0;
  font-size: clamp(1.06rem, 1.56vw, 1.24rem);
  line-height: 1.3;
  color: var(--text-strong);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-overview-excerpt {
  margin: 0;
  color: var(--text-body);
  line-height: 1.64;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-overview-actions {
  margin-top: auto;
  padding-top: 0.08rem;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  flex-wrap: wrap;
}

.news-card-image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-link,
.news-link {
  color: var(--brand-strong);
  font-weight: 800;
  text-decoration: none;
}

.news-overview-card .news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border-radius: var(--radius-pill);
  line-height: 1.1;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.news-overview-card .news-link--detail {
  padding: 0.52rem 0.86rem;
  background: linear-gradient(145deg, var(--cta-blue-start), var(--cta-blue-end));
  color: #fff;
  box-shadow: 0 10px 16px -12px rgba(8, 47, 74, 0.4);
}

.news-overview-card .news-link--detail::after {
  content: "›";
  font-size: 0.98rem;
}

.news-overview-card .news-link--detail:hover,
.news-overview-card .news-link--detail:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(145deg, var(--cta-blue-hover-start), var(--cta-blue-hover-end));
}

.news-overview-card .news-link--source {
  padding: 0.49rem 0.74rem;
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  color: color-mix(in srgb, var(--brand-strong) 76%, var(--text-strong));
}

.news-overview-card .news-link--source:hover,
.news-overview-card .news-link--source:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 52%, var(--line-strong));
  background: color-mix(in srgb, var(--surface-alt) 88%, var(--surface));
  color: var(--brand-strong);
}

@media (min-width: 760px) {
  .news-overview-card:not(.news-overview-card--no-image) {
    grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
  }

  .news-overview-card:not(.news-overview-card--no-image) .news-card-image {
    min-height: 100%;
    max-height: none;
    height: 100%;
    aspect-ratio: auto;
  }

  .news-overview-card .news-overview-content {
    padding: clamp(0.94rem, 1.7vw, 1.14rem);
  }
}

@media (max-width: 520px) {
  .news-overview-card .news-link--detail {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1060px) {
  .news-overview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-theme="dark"] .news-overview-card {
  background: color-mix(in srgb, var(--surface) 92%, #102132);
  border-color: color-mix(in srgb, var(--line-strong) 76%, transparent);
  box-shadow:
    0 20px 30px -18px rgba(0, 0, 0, 0.62),
    0 10px 16px -10px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .news-overview-card:hover,
html[data-theme="dark"] .news-overview-card:focus-within {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line-strong));
  box-shadow:
    0 26px 38px -20px rgba(0, 0, 0, 0.66),
    0 12px 18px -10px rgba(0, 0, 0, 0.54);
}

html[data-theme="dark"] .news-overview-card.is-targeted {
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--brand) 26%, transparent),
    0 22px 30px -18px rgba(0, 0, 0, 0.62);
}

html[data-theme="dark"] .news-source-chip {
  border-color: color-mix(in srgb, var(--line-strong) 74%, #35526a);
  background: color-mix(in srgb, var(--surface-alt) 70%, #0f2336);
  color: color-mix(in srgb, var(--text-body) 82%, var(--text-muted));
}

html[data-theme="dark"] .news-overview-card .news-link--source {
  border-color: color-mix(in srgb, var(--line-strong) 72%, #345068);
  background: color-mix(in srgb, var(--surface) 90%, #102335);
  color: color-mix(in srgb, var(--brand-strong) 74%, var(--text-body));
}

body[data-page="news-detail"] .news-article,
body[data-page="news-static"] .news-article {
  padding: clamp(1.12rem, 2.4vw, 1.85rem);
  border-color: color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  display: grid;
  align-content: start;
  gap: clamp(0.72rem, 1.8vw, 1rem);
}

body[data-page="news-detail"] .news-article .news-meta,
body[data-page="news-static"] .news-article .news-meta {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.4;
}

body[data-page="news-detail"] .news-article h1,
body[data-page="news-static"] .news-article h1 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.44rem, 3vw, 2.16rem);
  line-height: 1.16;
}

body[data-page="news-detail"] .news-article .news-card-image,
body[data-page="news-static"] .news-article .news-card-image {
  width: 100%;
  min-height: clamp(210px, 42vw, 420px);
  max-height: clamp(260px, 52vw, 470px);
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-top: 0.12rem;
}

body[data-page="news-detail"] .news-article > p:not(.news-meta),
body[data-page="news-static"] .news-article > p:not(.news-meta) {
  margin: 0;
  max-width: 72ch;
  font-size: clamp(1rem, 1.22vw, 1.1rem);
  line-height: 1.72;
  color: color-mix(in srgb, var(--text-body) 92%, var(--text-strong));
}

body[data-page="news-detail"] .news-article .article-content,
body[data-page="news-static"] .news-article .article-content {
  margin-top: 0.12rem;
  max-width: 74ch;
  display: grid;
  gap: 0.88rem;
}

body[data-page="news-detail"] .news-article .article-content > *,
body[data-page="news-static"] .news-article .article-content > * {
  margin: 0;
}

body[data-page="news-detail"] .news-article .article-content h2,
body[data-page="news-static"] .news-article .article-content h2 {
  margin-top: 0.46rem;
  font-size: clamp(1.16rem, 1.82vw, 1.42rem);
  line-height: 1.28;
  color: var(--text-strong);
}

body[data-page="news-detail"] .news-article .article-content h3,
body[data-page="news-static"] .news-article .article-content h3 {
  margin-top: 0.28rem;
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.32;
  color: var(--text-strong);
}

body[data-page="news-detail"] .news-article .article-content p,
body[data-page="news-detail"] .news-article .article-content li,
body[data-page="news-static"] .news-article .article-content p,
body[data-page="news-static"] .news-article .article-content li {
  color: var(--text-body);
  line-height: 1.72;
}

body[data-page="news-detail"] .news-article .article-content ul,
body[data-page="news-detail"] .news-article .article-content ol,
body[data-page="news-static"] .news-article .article-content ul,
body[data-page="news-static"] .news-article .article-content ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

body[data-page="news-detail"] [data-news-detail-nav],
body[data-page="news-static"] [data-news-detail-nav] {
  margin-top: clamp(0.8rem, 1.9vw, 1.06rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

body[data-page="news-detail"] [data-news-detail-nav] .btn,
body[data-page="news-static"] [data-news-detail-nav] .btn {
  min-height: 2.3rem;
}

.strip-controls {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}

.strip-copy {
  display: grid;
  gap: 0.26rem;
}

.strip-hint {
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.strip-mobile-hint {
  display: none;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.strip-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.auto-strip .strip-actions .btn-secondary {
  border: 0;
  background: color-mix(in srgb, var(--surface) 95%, var(--surface-alt));
  box-shadow:
    0 14px 22px -16px rgba(16, 44, 70, 0.36),
    0 7px 12px -11px rgba(16, 44, 70, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.auto-strip .strip-actions .btn-secondary:hover,
.auto-strip .strip-actions .btn-secondary:focus-visible {
  background: color-mix(in srgb, var(--surface) 95%, var(--surface-alt));
  transform: translateY(-2px);
  box-shadow:
    0 20px 30px -16px rgba(16, 44, 70, 0.42),
    0 9px 14px -10px rgba(16, 44, 70, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

html[data-theme="dark"] .auto-strip .strip-actions .btn-secondary {
  background: color-mix(in srgb, var(--surface) 93%, #0b1723);
  box-shadow:
    0 18px 28px -14px rgba(0, 0, 0, 0.64),
    0 8px 14px -10px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(201, 227, 245, 0.1);
}

html[data-theme="dark"] .auto-strip .strip-actions .btn-secondary:hover,
html[data-theme="dark"] .auto-strip .strip-actions .btn-secondary:focus-visible {
  background: color-mix(in srgb, var(--surface) 93%, #0b1723);
  box-shadow:
    0 24px 34px -14px rgba(0, 0, 0, 0.68),
    0 10px 16px -10px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(201, 227, 245, 0.12);
}

.strip-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.strip-progress span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 30%, var(--line));
}

.strip-progress span:first-child {
  background: color-mix(in srgb, var(--brand) 58%, var(--line));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  gap: 1rem;
}

.about-panel,
.about-facts {
  border-color: color-mix(in srgb, var(--line-strong) 72%, transparent);
}

.about-panel {
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
}

.about-panel .lead {
  margin-top: 0.72rem;
}

.prose {
  margin-top: 0.78rem;
  max-width: 72ch;
}

.prose h3 {
  margin-top: 1.05rem;
  margin-bottom: 0.35rem;
}

.prose p + p {
  margin-top: 0.72rem;
}

.about-benefits {
  margin: 0.9rem 0 0;
  padding: 0 0 0 1.05rem;
  display: grid;
  gap: 0.4rem;
}

.about-benefits li::marker {
  color: var(--accent);
}

.about-facts {
  padding: 1.05rem 1.08rem;
}

.about-facts h3 {
  margin-bottom: 0.72rem;
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.68rem;
}

.fact-list li {
  padding: 0.62rem 0.68rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 78%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  display: grid;
  gap: 0.2rem;
}

.fact-list span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.fact-list strong {
  font-size: 0.95rem;
  line-height: 1.4;
}

.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.15rem, 2.2vw, 1.45rem);
  border-color: color-mix(in srgb, var(--line-strong) 72%, transparent);
}

.callout-copy h2 {
  margin-bottom: 0.42rem;
}

.callout-actions {
  display: grid;
  gap: 0.55rem;
}

.callout-actions .btn {
  min-width: clamp(13.5rem, 18vw, 15.5rem);
  justify-content: center;
}

.service-detail-page .callout {
  padding-inline: 0;
}

.service-detail-page .callout-grid {
  display: grid;
  gap: clamp(0.8rem, 1.7vw, 1.05rem);
}

.service-detail-page .callout-grid > div p {
  margin-top: 0.44rem;
}

.service-detail-page .callout-grid .btn {
  justify-self: start;
  margin-top: clamp(0.18rem, 0.6vw, 0.34rem);
}

.contact-layout {
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.78fr);
  gap: clamp(0.85rem, 2vw, 1.2rem);
  align-items: start;
}

.contact-form-card,
.contact-aside-card {
  border-color: color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
}

.contact-form-card {
  padding: clamp(1.05rem, 2.6vw, 1.55rem);
}

.contact-form-card h2 {
  margin-bottom: 0.36rem;
  font-size: clamp(1.22rem, 2.2vw, 1.52rem);
}

.contact-form-lead {
  margin: 0 0 0.95rem;
  color: var(--text-body);
  max-width: 68ch;
}

.contact-form {
  display: grid;
  gap: 0.72rem;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.contact-field {
  display: grid;
  align-content: start;
  gap: 0.34rem;
  min-width: 0;
}

.contact-field--full,
.contact-preference {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-strong);
}

.contact-label-optional {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-field input:not([type="radio"]):not([type="checkbox"]),
.contact-field textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  color: var(--text-strong);
  border-radius: 12px;
  padding: 0.64rem 0.78rem;
  font: inherit;
  line-height: 1.42;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-muted);
}

.contact-field textarea {
  min-height: 176px;
  resize: vertical;
}

.contact-field.is-hidden {
  display: none;
}

.contact-preference {
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-alt) 58%, var(--surface));
  overflow: hidden;
}

.contact-preference-toggle {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.68rem 0.78rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-strong);
  text-align: left;
}

.contact-preference-toggle-icon {
  width: 1.26rem;
  height: 1.26rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-strong);
  border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.contact-preference.is-open .contact-preference-toggle-icon {
  transform: rotate(180deg);
}

.contact-preference-panel {
  height: 0;
  opacity: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: height 0.28s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.contact-preference.is-open .contact-preference-panel {
  opacity: 1;
  border-top-color: color-mix(in srgb, var(--line-strong) 68%, transparent);
}

.contact-preference-body {
  padding: 0.2rem 0.78rem 0.74rem;
}

.contact-preference-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.contact-preference-fieldset legend {
  margin: 0 0 0.46rem;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.68rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  color: var(--text-strong);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.contact-choice:hover {
  border-color: color-mix(in srgb, var(--brand) 52%, var(--line-strong));
  background: color-mix(in srgb, var(--surface-alt) 84%, var(--surface));
}

.contact-choice:focus-within {
  border-color: color-mix(in srgb, var(--brand) 66%, var(--line-strong));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

.contact-choice input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  inline-size: 1px;
  block-size: 1px;
  pointer-events: none;
}

.contact-choice.is-selected {
  border-color: color-mix(in srgb, var(--brand) 66%, var(--line-strong));
  background: color-mix(in srgb, var(--brand) 16%, var(--surface));
  color: var(--brand-strong);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 28%, transparent);
}

.contact-consent {
  display: grid;
  gap: 0.34rem;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.contact-checkbox input[type="checkbox"] {
  margin-top: 0.14rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--brand);
}

.contact-checkbox a {
  color: var(--brand-strong);
  text-underline-offset: 2px;
}

.contact-error {
  margin: 0;
  min-height: 1.05rem;
  font-size: 0.79rem;
  color: #b84455;
}

.contact-error:empty {
  min-height: 0;
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
  border-color: color-mix(in srgb, #c84c5c 70%, var(--line-strong));
  background: color-mix(in srgb, #c84c5c 6%, var(--surface));
}

.contact-submit {
  width: fit-content;
  min-height: 2.65rem;
  padding-inline: 1.3rem;
}

.contact-submit-note {
  margin: -0.12rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.contact-form-status {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.contact-form-status.is-success {
  color: color-mix(in srgb, var(--accent) 78%, #0b3d31);
}

.contact-form-status.is-error {
  color: #b84455;
}

.contact-aside-card {
  padding: clamp(0.95rem, 2.1vw, 1.25rem);
  display: grid;
  align-content: start;
  gap: 0.82rem;
  position: sticky;
  top: calc(var(--header-height) + 0.9rem);
}

.contact-aside-card h2 {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
}

.contact-aside-lead {
  margin: -0.2rem 0 0;
  color: var(--text-body);
}

.contact-action-list {
  display: grid;
  gap: 0.52rem;
}

.contact-action {
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  padding: 0.7rem 0.74rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.34rem 0.72rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-action:hover,
.contact-action:focus-within {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 52%, var(--line-strong));
  background: color-mix(in srgb, var(--surface-alt) 78%, var(--surface));
}

.contact-action-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.24rem;
  text-decoration: none;
}

.contact-action-main:hover strong,
.contact-action-main:focus-visible strong {
  color: var(--brand-strong);
}

.contact-action-label {
  display: block;
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-action strong {
  display: block;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.22;
  font-weight: 700;
  color: var(--text-strong);
}

.contact-action-tools {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.36rem;
  justify-self: end;
  transform: translateY(0.24rem);
}

.contact-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  text-decoration: none;
  cursor: pointer;
}

.contact-action-icon {
  color: #ffffff;
  border: 0;
  box-shadow:
    0 10px 18px -12px rgba(12, 36, 58, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-action-icon:hover,
.contact-action-icon:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.contact-action--phone .contact-action-icon {
  background: linear-gradient(155deg, var(--cta-blue-start), var(--cta-blue-end));
}

.contact-action--whatsapp .contact-action-icon {
  background: linear-gradient(155deg, #2ecb66, #159f48);
}

.contact-action--mail .contact-action-icon {
  background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 88%, #1f866e), color-mix(in srgb, var(--accent) 72%, #186f5b));
}

.contact-copy-button {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
}

.contact-action-icon svg,
.contact-copy-button svg {
  width: 24px;
  height: 24px;
  display: block;
}

.contact-action-icon svg {
  fill: currentColor;
  stroke: none;
}

.contact-copy-button svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-copy-button {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  color: color-mix(in srgb, var(--brand-strong) 62%, var(--text-strong));
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.contact-copy-button:hover,
.contact-copy-button:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 52%, var(--line-strong));
  background: color-mix(in srgb, var(--surface-alt) 82%, var(--surface));
  color: var(--brand-strong);
}

.contact-copy-button:active {
  transform: translateY(1px);
}

.contact-copy-status {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.2;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent) 70%, var(--brand-strong));
  opacity: 0;
  transition: opacity 0.16s ease, max-height 0.16s ease, margin-top 0.16s ease;
}

.contact-action.is-copied .contact-copy-status,
.contact-action.is-copy-error .contact-copy-status {
  margin-top: 0.1rem;
  max-height: 1.1rem;
  opacity: 1;
}

.contact-action.is-copy-error .contact-copy-status {
  color: #b84455;
}

.contact-area-note {
  margin: 0.1rem 0 0;
  color: var(--text-body);
  font-size: 0.9rem;
}

.contact-location {
  margin-top: 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 66%, transparent);
  display: grid;
  align-items: center;
  gap: 0.5rem;
}

.contact-location h3 {
  margin: 0;
  font-size: 0.92rem;
}

.contact-map-button {
  width: 100%;
  min-height: 2.55rem;
  padding-block: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  border-color: color-mix(in srgb, var(--line-strong) 84%, transparent);
}

html[data-theme="dark"] .contact-form-card,
html[data-theme="dark"] .contact-aside-card {
  background: color-mix(in srgb, var(--surface) 90%, #0f1d2b);
  border-color: color-mix(in srgb, var(--line-strong) 78%, transparent);
}

html[data-theme="dark"] .contact-preference {
  background: color-mix(in srgb, var(--surface-alt) 68%, #102132);
}

html[data-theme="dark"] .contact-choice {
  background: color-mix(in srgb, var(--surface) 93%, #0e1c29);
}

html[data-theme="dark"] .contact-choice.is-selected {
  background: color-mix(in srgb, var(--brand) 18%, #132537);
}

html[data-theme="dark"] .contact-action {
  background: color-mix(in srgb, var(--surface) 93%, #0f1d2c);
}

html[data-theme="dark"] .contact-copy-button {
  border-color: color-mix(in srgb, var(--line-strong) 78%, #2a4154);
  background: color-mix(in srgb, var(--surface) 92%, #0f1e2c);
}

html[data-theme="dark"] .contact-copy-button {
  color: color-mix(in srgb, var(--brand-strong) 78%, var(--text-body));
}

html[data-theme="dark"] .contact-field input[aria-invalid="true"],
html[data-theme="dark"] .contact-field textarea[aria-invalid="true"] {
  background: color-mix(in srgb, #ad4655 14%, #17283a);
}

.site-footer {
  margin-top: clamp(2.2rem, 5vw, 3rem);
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 95%, transparent), color-mix(in srgb, var(--surface-alt) 72%, transparent));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-height: 0;
  align-items: stretch;
  padding-block: 1.35rem 1.2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line-strong) 66%, transparent);
}

.footer-brand-block {
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  font-family: var(--font-title);
  font-weight: 800;
}

.footer-lead {
  max-width: 62ch;
}

.footer-quick-title {
  margin: 0;
  font-weight: 800;
}

.footer-highlights {
  margin: 0.28rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.22rem;
  font-size: 0.9rem;
}

.footer-highlights a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-strong);
}

.appear {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.44s ease, transform 0.44s ease;
}

body.is-ready .appear {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .appear:nth-of-type(2) {
  transition-delay: 0.06s;
}

body.is-ready .appear:nth-of-type(3) {
  transition-delay: 0.12s;
}

/* Header-Desktop: kollisionsfrei zwischen 901px und Desktop */
@media (min-width: 901px) {
  .header-row {
    flex-wrap: nowrap;
    min-width: 0;
  }

  .header-row > .brand {
    flex: 0 0 auto;
  }

  .header-row > .main-nav,
  .header-row > .header-tools,
  .header-row > .header-actions {
    min-width: 0;
    flex-shrink: 1;
  }

  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: clamp(12px, 1.8vw, 34px);
    overflow: visible;
  }

  .main-nav > .nav-list {
    min-width: 0;
    gap: clamp(8px, 1.2vw, 22px);
  }

  .main-nav > .nav-list > li,
  .main-nav > .nav-list > li + li,
  .main-nav > .nav-list > .nav-item-search,
  .main-nav > .nav-list > .nav-item-search + li {
    margin-left: 0;
  }

  .main-nav .nav-link,
  .main-nav .services-toggle {
    white-space: nowrap;
    height: 40px;
    padding: 0 clamp(6px, 0.8vw, 10px);
    font-size: clamp(0.9rem, 0.32vw + 0.79rem, 1rem);
  }

  .main-nav .nav-link[aria-current="page"],
  .main-nav .nav-link[aria-current="page"]:hover,
  .main-nav .nav-link[aria-current="page"]:focus-visible {
    padding: 0 clamp(6px, 0.8vw, 10px);
  }

  .header-tools {
    margin-left: clamp(8px, 1.2vw, 18px);
    gap: clamp(0.28rem, 0.6vw, 0.55rem);
    flex: 0 0 auto;
    min-width: 0;
  }

  .header-tools .header-cta {
    display: inline-flex;
    flex: 0 0 auto;
    white-space: nowrap;
    height: 40px;
    padding-inline: clamp(12px, 1vw, 18px);
    font-size: 0.95rem;
  }

  .header-tools .theme-btn {
    margin-left: 0;
    --theme-toggle-width: 56px;
    --theme-toggle-height: 28px;
    --theme-thumb-size: 24px;
    --theme-track-icon-size: 11px;
    --theme-thumb-icon-size: 12px;
  }
}

@media (min-width: 901px) and (max-width: 1220px) {
  .main-nav .nav-item-search {
    display: none;
  }

  .brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .header-tools .header-cta {
    display: none;
  }

  .header-tools {
    margin-left: 6px;
    gap: 0;
  }
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout > .contact-aside-card {
    order: 1;
  }

  .contact-layout > .contact-form-card {
    order: 2;
  }

  .contact-aside-card {
    position: static;
    top: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .service-detail-page .decision-fit-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-detail-page .decision-fit-benefit {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
    padding-left: 0;
    padding-top: 0.7rem;
    margin-top: 0.02rem;
  }

  .service-detail-page .decision-fit-situation {
    padding-right: 0;
  }

  .service-detail-page .decision-facts-grid li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .service-detail-page .grid.grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-row {
    min-height: 80px;
    gap: 0.45rem;
  }

  .brand-title {
    font-size: clamp(1rem, 4.8vw, 1.24rem);
  }

  .brand-sub {
    font-size: 0.74rem;
  }

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

  .header-tools {
    order: 2;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(430px, 100vw);
    max-width: 100%;
    margin-left: 0;
    padding:
      calc(env(safe-area-inset-top, 0px) + 0.95rem)
      calc(env(safe-area-inset-right, 0px) + 0.92rem)
      calc(env(safe-area-inset-bottom, 0px) + 1rem)
      calc(env(safe-area-inset-left, 0px) + 0.92rem);
    border-radius: 0;
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--line-strong) 78%, transparent);
    background: color-mix(in srgb, var(--surface) 98%, #fff 2%);
    box-shadow: -16px 0 30px rgba(6, 26, 43, 0.22);
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    transform: translate3d(104%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.2s step-end;
    z-index: 2601;
  }

  .main-nav.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0s;
  }

  .site-header.is-menu-open {
    z-index: 2600;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header.is-menu-open .main-nav {
    will-change: transform, opacity;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(5, 16, 28, 0.56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s step-end;
    z-index: 2600;
  }

  .menu-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.22s ease;
  }

  .site-header.is-menu-open .menu-backdrop {
    will-change: opacity;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .nav-list > li {
    padding-block: 0.12rem;
  }

  .nav-list > li + li {
    border-top: 1px solid color-mix(in srgb, var(--line-strong) 64%, transparent);
  }

  .nav-link,
  .services-toggle,
  .services-mobile-link {
    width: 100%;
    text-align: left;
    min-height: 48px;
    height: auto;
    padding: 0.56rem 0.9rem;
    border-radius: 12px;
    font-weight: 620;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .services-mobile-link:hover,
  .services-mobile-link:focus-visible {
    background: color-mix(in srgb, var(--accent-soft) 48%, transparent);
  }

  .nav-link[aria-current="page"],
  .services-mobile-link[aria-current="page"] {
    background: color-mix(in srgb, var(--accent-soft) 68%, var(--surface));
    color: var(--text-strong);
    padding-left: 1.12rem;
  }

  .nav-link[aria-current="page"]::after,
  .services-mobile-link[aria-current="page"]::after {
    display: none;
  }

  .nav-link[aria-current="page"]::before,
  .services-mobile-link[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 22px;
    border-radius: 999px;
    background: var(--accent);
  }

  .nav-item-search {
    display: none !important;
  }

  .nav-item-services.has-mobile-controls > .services-toggle {
    display: none;
  }

  .services-mobile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.24rem;
    border-radius: 12px;
    padding-right: 0.2rem;
  }

  .nav-item-services.is-open > .services-mobile-row {
    background: color-mix(in srgb, var(--accent-soft) 44%, transparent);
  }

  .services-mobile-link {
    margin: 0;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
  }

  .services-mobile-toggle {
    appearance: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-strong);
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .services-mobile-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    transition: transform 0.2s ease;
  }

  .nav-item-services.is-open .services-mobile-toggle svg {
    transform: rotate(180deg);
  }

  .services-mobile-toggle:hover,
  .services-mobile-toggle:focus-visible {
    border-color: color-mix(in srgb, var(--brand) 56%, var(--line-strong));
    background: color-mix(in srgb, var(--surface-alt) 78%, var(--surface));
  }

  .services-panel {
    --services-mobile-open-height: 0px;
    position: static;
    width: 100%;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.26s ease, opacity 0.2s ease, padding-top 0.2s ease;
  }

  .services-panel.is-open {
    max-height: var(--services-mobile-open-height, 560px);
    opacity: 1;
    pointer-events: auto;
    padding-top: 0.18rem;
  }

  .services-panel-title {
    margin: 0 0 0.24rem;
    padding-left: 0.64rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .services-panel-list {
    grid-template-columns: 1fr;
    gap: 0.1rem;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
  }

  .services-link {
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    padding: 0.5rem 0.56rem;
    border-radius: 10px;
    line-height: 1.3;
  }

  .services-link:hover,
  .services-link:focus-visible {
    transform: none;
    border-color: color-mix(in srgb, var(--line-strong) 74%, transparent);
    background: color-mix(in srgb, var(--surface-alt) 68%, transparent);
  }

  .services-link strong {
    font-size: 0.94rem;
    font-weight: 650;
    gap: 0.4rem;
  }

  .services-link strong::before {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
  }

  .services-link span {
    margin-top: 0.16rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }

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

  .hero-media {
    display: none !important;
    min-height: 0;
  }

  .services-page .services-hero {
    padding-block: clamp(2rem, 5.4vw, 2.6rem) clamp(0.75rem, 1.9vw, 1rem);
  }

  .services-page .services-catalog {
    padding-top: clamp(1.3rem, 3.1vw, 1.5rem);
  }

  body[data-page="home"] .hero {
    padding-block: 0.78rem 1.3rem;
  }

  body[data-page="home"] .hero-copy {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface) 94%, var(--surface-alt)) 0%,
      color-mix(in srgb, var(--surface-alt) 92%, var(--bg-soft)) 100%
    );
    border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
    border-left: 4px solid var(--cta-blue-start);
    border-radius: 16px;
    padding: clamp(0.92rem, 3.4vw, 1.22rem) clamp(0.88rem, 3.3vw, 1.06rem) clamp(0.98rem, 3.5vw, 1.18rem);
    box-shadow:
      0 18px 28px -20px rgba(8, 43, 71, 0.3),
      0 8px 16px -12px rgba(8, 43, 71, 0.2);
  }

  body[data-page="home"] .hero-copy .kicker {
    margin-bottom: 0.84rem;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--line-strong) 70%, var(--accent-soft));
    background: color-mix(in srgb, var(--surface-alt) 82%, var(--accent-soft));
    color: color-mix(in srgb, var(--brand-strong) 72%, var(--text-strong));
    letter-spacing: 0.13em;
    font-size: 0.76rem;
    line-height: 1;
  }

  body[data-page="home"] .hero-copy .kicker::before {
    display: none;
  }

  body[data-page="home"] .hero-copy h1 {
    margin: 0 0 clamp(1.2rem, 4.5vw, 1.6rem);
    font-size: clamp(2rem, 10.2vw, 3.05rem);
    line-height: 1.07;
    letter-spacing: -0.01em;
    color: var(--text-strong);
  }

  body[data-page="home"] .hero-copy .hero-subline {
    margin: 0 0 clamp(0.95rem, 3.2vw, 1.15rem);
    font-size: clamp(1rem, 3.6vw, 1.12rem);
    font-weight: 500;
    line-height: 1.55;
    color: color-mix(in srgb, var(--text-body) 92%, var(--text-muted));
  }

  body[data-page="home"] .hero-points {
    padding-left: 1.15rem;
    gap: 0.44rem;
  }

  body[data-page="home"] .hero-points li {
    line-height: 1.45;
    color: color-mix(in srgb, var(--text-body) 92%, var(--text-muted));
  }

  body[data-page="home"] .hero-points li::marker {
    color: color-mix(in srgb, var(--brand-strong) 78%, var(--text-body));
  }

  body[data-page="home"] .hero-actions {
    margin-top: 0.82rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  body[data-page="home"] .hero-actions .btn {
    width: 100%;
    min-height: 3.1rem;
    font-size: 1.01rem;
    justify-content: center;
  }

  .services-decision-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-decision-actions {
    justify-content: flex-start;
  }

  .theme-btn {
    --theme-toggle-width: 56px;
    --theme-toggle-height: 28px;
    --theme-thumb-size: 24px;
    --theme-track-icon-size: 11px;
    --theme-thumb-icon-size: 12px;
    margin-left: 18px;
  }

  .scroller-frame {
    grid-template-columns: 1fr;
    gap: 0.68rem;
  }

  .h-scroll-arrow {
    display: none;
  }

  .strip-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip-actions {
    width: 100%;
    justify-content: space-between;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .callout-actions {
    width: 100%;
  }

  .callout-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: calc(100% - 1.25rem);
  }

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

  body[data-page="home"] #leistungen .service-card-title-badge {
    margin: 0.74rem 0.88rem 0;
    padding: 0.48rem 0.66rem;
  }

  body[data-page="home"] #leistungen .service-card-body {
    padding: 0.68rem 0.88rem 0.98rem;
    gap: 0.66rem;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  body[data-page="services"] .services-cards-grid {
    gap: 1.62rem;
  }

  .service-offer-image {
    height: 172px;
  }

  body[data-page="services"] .service-offer-image {
    border-bottom: 2px solid color-mix(in srgb, var(--brand) 24%, var(--line-strong));
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--surface) 72%, var(--line-strong));
  }

  body[data-page="services"] .service-offer-card {
    border-width: 2.5px;
    border-color: color-mix(in srgb, var(--brand) 22%, var(--line-strong));
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--surface) 72%, var(--line-strong)),
      0 16px 28px -22px rgba(8, 43, 71, 0.52),
      0 8px 16px -14px rgba(8, 43, 71, 0.3);
  }

  body[data-page="services"] .service-offer-card:nth-child(even) {
    background: color-mix(in srgb, var(--surface-alt) 88%, var(--surface));
    border-color: color-mix(in srgb, var(--brand) 28%, var(--line-strong));
  }

  html[data-theme="dark"] body[data-page="services"] .service-offer-card {
    border-color: color-mix(in srgb, var(--brand-strong) 34%, var(--line-strong));
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 74%, #0f2334),
      0 16px 30px -20px rgba(3, 10, 18, 0.64),
      0 8px 16px -12px rgba(3, 10, 18, 0.44);
  }

  html[data-theme="dark"] body[data-page="services"] .service-offer-image {
    border-bottom-color: color-mix(in srgb, var(--brand-strong) 38%, var(--line-strong));
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--line-strong) 78%, #0f2334);
  }

  html[data-theme="dark"] body[data-page="services"] .service-offer-card:nth-child(even) {
    background: color-mix(in srgb, var(--surface-alt) 78%, #102131);
    border-color: color-mix(in srgb, var(--brand-strong) 42%, var(--line-strong));
  }

  .service-offer-content {
    padding: 0.92rem 0.9rem 0.96rem;
  }

  body[data-page="services"] .service-offer-content {
    gap: 0.66rem;
  }

  body[data-page="services"] .service-offer-meta {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  body[data-page="services"] .service-offer-content h3 {
    display: block;
    width: 100%;
    margin: 0.1rem 0 0.24rem;
    padding: 0.44rem 0.64rem 0.48rem;
    font-family: var(--font-title);
    font-size: clamp(1.28rem, 5.4vw, 1.5rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0.005em;
    color: var(--text-strong);
    border-left: 4px solid var(--cta-blue-start);
    border-bottom: 1px solid color-mix(in srgb, var(--line-strong) 60%, transparent);
    border-radius: 0 12px 12px 0;
    background: color-mix(in srgb, var(--surface-alt) 78%, var(--brand) 11%);
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 62%, transparent),
      0 3px 8px -8px color-mix(in srgb, var(--brand) 32%, transparent);
  }

  .contact-field-grid {
    grid-template-columns: 1fr;
    gap: 0.68rem;
  }

  .contact-choice-row {
    gap: 0.44rem;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-aside-card {
    gap: 0.72rem;
  }

  .contact-action {
    padding: 0.68rem 0.68rem;
    gap: 0.3rem 0.58rem;
  }

  .contact-action-tools {
    gap: 0.34rem;
    transform: translateY(0.22rem);
  }

  .contact-action-icon,
  .contact-copy-button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .contact-copy-button {
    border-radius: 10px;
  }

  .contact-map-button {
    min-height: 2.45rem;
  }

  .services-steps {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  .services-hero-actions {
    width: 100%;
  }

  .services-hero-actions .btn {
    width: 100%;
  }

  .services-decision-actions {
    width: 100%;
  }

  .services-decision-actions .btn {
    width: 100%;
  }

  .service-mini-list {
    gap: 0.34rem;
  }

  .service-detail-page .decision-fit-mobile-cards .decision-fit-grid {
    margin-top: 0.34rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(86%, 86%);
    gap: 0.72rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    user-select: none;
  }

  .service-detail-page .decision-fit-mobile-cards .decision-fit-row {
    grid-template-columns: 1fr;
    border: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 97%, var(--surface-alt));
    overflow: hidden;
    scroll-snap-align: start;
  }

  .service-detail-page .decision-fit-mobile-cards .decision-fit-row + .decision-fit-row {
    border-top: 0;
  }

  .service-detail-page .decision-fit-mobile-cards .decision-fit-cell {
    padding: 0.78rem 0.86rem;
  }

  .service-detail-page .decision-fit-mobile-cards .decision-fit-situation {
    padding-right: 0.86rem;
  }

  .service-detail-page .decision-fit-mobile-cards .decision-fit-benefit {
    margin-top: 0;
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
    padding-top: 0.78rem;
    padding-left: 0.86rem;
  }

  .service-detail-page .use-cases-mobile-cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(100%, 100%);
    gap: 0.72rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    user-select: none;
  }

  .service-detail-page .use-cases-mobile-cards .trust-item {
    scroll-snap-align: start;
  }

  .brand-title {
    font-size: clamp(0.98rem, 5.8vw, 1.14rem);
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .nav-search-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .nav-search-panel {
    gap: 0.28rem;
  }

  .nav-search-input {
    padding: 0.46rem 0.62rem;
  }

  .nav-search-submit {
    padding: 0.44rem 0.66rem;
    font-size: 0.8rem;
  }

  .theme-btn {
    --theme-toggle-width: 54px;
    --theme-toggle-height: 28px;
    --theme-thumb-size: 24px;
    --theme-track-icon-size: 11px;
    --theme-thumb-icon-size: 12px;
    margin-left: 0;
  }

  .filter-bar .case-zero-cta {
    justify-content: flex-start;
  }

  .filter-bar .case-zero-cta-text {
    text-align: left;
  }

  .header-cta {
    display: none;
  }

  .strip-mobile-hint {
    display: block;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
  }

  .appear,
  body.is-ready .appear {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-actions .btn::after {
    opacity: 0 !important;
    transform: none !important;
  }
}

body[data-page="news-overview"] .news-category-tabs {
  margin-top: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: thin;
  -webkit-user-select: none;
  user-select: none;
}

body[data-page="news-overview"] .news-category-tab {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  color: color-mix(in srgb, var(--text-strong) 84%, var(--text-body));
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.48rem 0.86rem;
}

body[data-page="news-overview"] .news-category-tab.is-active,
body[data-page="news-overview"] .news-category-tab[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line-strong));
  background: color-mix(in srgb, var(--surface-alt) 88%, transparent);
  color: var(--brand-strong);
  box-shadow: var(--shadow-2);
}

body[data-page="news-overview"] .news-active-count {
  margin-top: 0.58rem;
}

body[data-page="news-overview"] .news-overview-region {
  margin-top: clamp(0.9rem, 2.1vw, 1.3rem);
  display: grid;
  gap: 0.8rem;
}

body[data-page="news-overview"] .news-overview-list {
  margin-top: 0;
  display: grid;
  gap: clamp(0.95rem, 2.2vw, 1.25rem);
  grid-template-columns: 1fr;
}

body[data-page="news-overview"] .news-overview-group {
  display: grid;
  gap: 0.82rem;
}

body[data-page="news-overview"] .news-overview-stack {
  display: grid;
  gap: 0.82rem;
}

body[data-page="news-overview"] .news-overview-section-title {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-strong) 68%, var(--text-muted));
}

body[data-page="news-overview"] .news-overview-section-title--divider {
  margin-top: clamp(0.2rem, 0.7vw, 0.45rem);
  padding-top: clamp(0.58rem, 1.3vw, 0.74rem);
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
}

body[data-page="news-overview"] .news-overview-list--gesetz {
  gap: 0.82rem;
}

body[data-page="news-overview"] .news-overview-list--blog {
  gap: clamp(0.95rem, 2.2vw, 1.25rem);
}

body[data-page="news-overview"] .news-overview-card {
  cursor: pointer;
}

body[data-page="news-overview"] .news-overview-card:hover,
body[data-page="news-overview"] .news-overview-card:focus-within {
  transform: translateY(-1px);
}

body[data-page="news-overview"] .news-overview-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

body[data-page="news-overview"] .news-overview-card-link:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: -2px;
  border-radius: inherit;
}

body[data-page="news-overview"] .news-overview-card--gesetz {
  border-left: 4px solid color-mix(in srgb, var(--brand) 70%, transparent);
  background: color-mix(in srgb, var(--surface) 98%, var(--surface-alt));
  box-shadow: none;
}

body[data-page="news-overview"] .news-overview-card--gesetz:hover,
body[data-page="news-overview"] .news-overview-card--gesetz:focus-within {
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

body[data-page="news-overview"] .news-overview-card--gesetz .news-link--detail {
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--brand-strong);
}

body[data-page="news-overview"] .news-overview-card--gesetz .news-link--detail::after {
  content: "";
}

body[data-page="news-overview"] .news-overview-card--gesetz .news-link--detail:hover,
body[data-page="news-overview"] .news-overview-card--gesetz .news-link--detail:focus-visible {
  transform: none;
  background: none;
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

body[data-page="news-overview"] .news-overview-card--blog {
  box-shadow: var(--shadow-2);
}

body[data-page="news-overview"] .news-overview-card .news-overview-content {
  min-height: auto;
}

body[data-page="news-overview"] .news-overview-topline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  flex-wrap: wrap;
  font-size: 0.79rem;
  line-height: 1.4;
  color: var(--text-muted);
}

body[data-page="news-overview"] .news-overview-topline time {
  font-weight: 700;
  color: color-mix(in srgb, var(--text-strong) 70%, var(--text-muted));
}

body[data-page="news-overview"] .news-category-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.17rem 0.54rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-category-badge--gesetz {
  color: color-mix(in srgb, var(--brand-strong) 82%, var(--text-strong));
  background: color-mix(in srgb, var(--surface-alt) 78%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--line-strong) 68%, transparent);
}

.news-category-badge--blog {
  color: color-mix(in srgb, var(--accent) 80%, var(--brand-strong));
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--line-strong) 62%, transparent);
}

body[data-page="news-overview"] .news-overview-card .news-meta {
  margin: 0;
  margin-top: 0.06rem;
}

body[data-page="news-overview"] .news-overview-footer-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: color-mix(in srgb, var(--text-strong) 56%, var(--text-muted));
}

body[data-page="news-overview"] .news-overview-footer-meta > * {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body[data-page="news-overview"] .news-overview-footer-meta > * + * {
  padding-left: 0.58rem;
}

body[data-page="news-overview"] .news-overview-footer-meta > * + *::before {
  content: "";
  position: absolute;
  left: 0.18rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--line-strong) 78%, transparent);
}

body[data-page="news-overview"] .news-overview-source-name {
  max-width: min(100%, 48ch);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="news-overview"] .news-source-hint {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand-strong) 72%, var(--text-body));
}

body[data-page="news-overview"] .news-overview-card--blog .news-card-image {
  min-height: 176px;
  max-height: 236px;
}

body[data-page="news-overview"] .news-card-image--placeholder {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--surface-alt) 72%, var(--surface));
  font-size: 0.8rem;
  font-weight: 700;
}

body[data-page="news-overview"] .news-overview-actions {
  margin-top: auto;
}

body[data-page="news-overview"] .news-empty-hint {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}

body[data-page="news-overview"] .news-detail-view {
  margin-top: clamp(0.95rem, 2.2vw, 1.45rem);
  display: grid;
  gap: 0.8rem;
}

body[data-page="news-overview"] .news-detail-view .news-article {
  padding: clamp(1.12rem, 2.4vw, 1.85rem);
  border-color: color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  display: grid;
  align-content: start;
  gap: clamp(0.72rem, 1.8vw, 1rem);
}

body[data-page="news-overview"] .news-detail-view .news-article .news-meta {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.4;
}

body[data-page="news-overview"] .news-detail-view .news-article h1 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.44rem, 3vw, 2.16rem);
  line-height: 1.16;
}

body[data-page="news-overview"] .news-detail-view .news-article .news-card-image {
  width: 100%;
  min-height: clamp(210px, 42vw, 420px);
  max-height: clamp(260px, 52vw, 470px);
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-top: 0.12rem;
}

body[data-page="news-overview"] .news-detail-view .news-article .article-content {
  margin-top: 0.12rem;
  max-width: 74ch;
  display: grid;
  gap: 0.88rem;
}

body[data-page="news-overview"] .news-detail-view .news-article .article-content > * {
  margin: 0;
}

body[data-page="news-overview"] .news-detail-view .news-article .article-content h2 {
  margin-top: 0.46rem;
  font-size: clamp(1.16rem, 1.82vw, 1.42rem);
  line-height: 1.28;
  color: var(--text-strong);
}

body[data-page="news-overview"] .news-detail-view .news-article .article-content h3 {
  margin-top: 0.28rem;
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.32;
  color: var(--text-strong);
}

body[data-page="news-overview"] .news-detail-view .news-article .article-content p,
body[data-page="news-overview"] .news-detail-view .news-article .article-content li {
  color: var(--text-body);
  line-height: 1.72;
}

body[data-page="news-overview"] .news-detail-view .news-article .article-content ul,
body[data-page="news-overview"] .news-detail-view .news-article .article-content ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

body[data-page="news-overview"] .news-detail-view [data-news-detail-nav] {
  margin-top: clamp(0.8rem, 1.9vw, 1.06rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

body[data-page="news-overview"] .news-detail-view [data-news-detail-nav] .btn {
  min-height: 2.3rem;
}

.news-source-block {
  margin-top: 0.38rem;
  max-width: 74ch;
  padding: 0.82rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface-alt) 62%, transparent);
  display: grid;
  gap: 0.44rem;
}

.news-source-block h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.news-source-name,
.news-source-missing {
  margin: 0;
  color: var(--text-body);
  line-height: 1.5;
}

.news-source-block .news-link--source {
  width: fit-content;
  padding: 0.44rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  color: color-mix(in srgb, var(--brand-strong) 76%, var(--text-strong));
}

@media (min-width: 760px) {
  body[data-page="news-overview"] .news-overview-card--blog {
    grid-template-columns: 1fr;
  }

  body[data-page="news-overview"] .news-overview-card--blog .news-card-image {
    min-height: 176px;
    max-height: 236px;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  body[data-page="news-overview"] .news-category-tabs {
    flex-wrap: nowrap;
  }

  body[data-page="news-overview"] .news-category-tab {
    padding-inline: 0.74rem;
  }
}

@media (min-width: 1060px) {
  body[data-page="news-overview"] .news-overview-list--blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="news-overview"] .news-card {
  overflow: hidden;
}

body[data-page="news-overview"] .news-card-header {
  position: relative;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  display: block;
  cursor: pointer;
}

body[data-page="news-overview"] .news-card-header-main {
  padding: clamp(0.86rem, 1.8vw, 1.04rem);
  padding-right: 3rem;
  display: grid;
  align-content: start;
  gap: 0.64rem;
  min-width: 0;
}

body[data-page="news-overview"] .news-overview-card--blog .news-card-header-main {
  padding-top: 0.84rem;
}

body[data-page="news-overview"] .news-card-header:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: -2px;
}

body[data-page="news-overview"] .news-toggle-icon {
  position: absolute;
  top: 0.82rem;
  right: 0.82rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  display: grid;
  place-items: center;
  pointer-events: none;
}

body[data-page="news-overview"] .news-toggle-icon::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid color-mix(in srgb, var(--text-strong) 72%, var(--brand-strong));
  border-bottom: 2px solid color-mix(in srgb, var(--text-strong) 72%, var(--brand-strong));
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.22s ease;
}

body[data-page="news-overview"] .news-card.is-open .news-toggle-icon::before {
  transform: rotate(-135deg) translateY(1px);
}

body[data-page="news-overview"] .news-card-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.34s ease, opacity 0.24s ease;
  will-change: max-height, opacity;
}

body[data-page="news-overview"] .news-card.is-open .news-card-panel {
  max-height: var(--news-panel-max, 1200px);
  opacity: 1;
}

body[data-page="news-overview"] .news-card-panel-inner {
  padding: 0 clamp(0.86rem, 1.8vw, 1.04rem) clamp(0.88rem, 1.9vw, 1.08rem);
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 98%, var(--surface-alt));
  display: grid;
  gap: 0.72rem;
}

body[data-page="news-overview"] .news-card-panel-title {
  margin: 0;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.3;
  color: var(--text-strong);
}

body[data-page="news-overview"] .news-card-panel .news-meta {
  margin: 0;
}

body[data-page="news-overview"] .news-card-panel-content {
  margin: 0;
  display: grid;
  gap: 0.72rem;
}

body[data-page="news-overview"] .news-card-panel .news-source-block {
  margin-top: 0.12rem;
}

body[data-page="news-overview"] .news-card-panel .news-source-block h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

body[data-page="news-overview"] .news-liability-note {
  margin: 0;
  padding: 0.62rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: color-mix(in srgb, var(--surface-alt) 62%, transparent);
  color: var(--text-body);
  line-height: 1.52;
}
