/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS  (DESIGN.md — Pragmatic Engineering)
═══════════════════════════════════════════════════════════ */

/* Apply theme attribute instantly to avoid FOUC */
html { color-scheme: light dark; }

:root {
  /* Colors */
  --brand:          #004a99;
  --brand-dk:       #00346f;
  --brand-light:    #255dad;
  --brand-subtle:   #d7e2ff;
  --brand-tint:     #eef4ff;

  --ink:            #1a1c1c;
  --ink-muted:      #424751;
  --ink-faint:      #737783;

  --bg:             #f9f9f9;
  --surface:        #ffffff;
  --surface-low:    #f3f3f3;
  --surface-mid:    #eeeeee;

  --rule:           #c2c6d3;
  --rule-strong:    #737783;

  --dark-bg:        #1a1c1c;
  --dark-card:      rgba(255,255,255,.05);
  --dark-border:    rgba(255,255,255,.1);
  --dark-text:      rgba(255,255,255,.7);
  --dark-muted:     rgba(255,255,255,.45);
  --dark-faint:     rgba(255,255,255,.28);

  /* Typography */
  --font-display: 'IBM Plex Sans', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;

  /* Layout */
  --container:    1280px;
  --gutter:       2rem;
  --nav-h:        72px;

  /* Radius — max 8px per design rules */
  --r:            4px;
  --r-sm:         2px;

  /* Transitions */
  --tr: .15s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
address { font-style: normal; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; }
main { padding-top: var(--nav-h); }

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 var(--gutter); } }

.section     { padding: 4rem 0; }
.section-lg  { padding: 6rem 0; }
.text-center { text-align: center; }

/* ── Typography utilities ───────────────────────────────── */
.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.label--subtle  { color: var(--brand-subtle); }
.label--faint   { color: var(--dark-faint); }
.label--white   { color: rgba(255,255,255,.5); }

.heading-display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.heading-md {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}
.title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}
.body-lg  { font-size: 1.125rem; line-height: 1.7; }
.body-md  { font-size: 1rem;     line-height: 1.6; }
.body-sm  { font-size: .875rem;  line-height: 1.5; }
.label-sm { font-size: .75rem;   font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.text-muted { color: var(--ink-muted); }
.text-faint { color: var(--ink-faint); }
.text-brand { color: var(--brand); }
.text-white { color: #fff; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--r);
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary   { background: var(--brand);   color: #fff; border: 1px solid var(--brand); }
.btn-primary:hover { background: var(--brand-dk); border-color: var(--brand-dk); }
.btn-secondary { background: transparent;    color: var(--ink); border: 1px solid var(--rule); }
.btn-secondary:hover { background: var(--surface-low); }
.btn-white     { background: #fff;           color: var(--brand-dk); border: 1px solid #fff; }
.btn-white:hover { background: var(--bg); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-lg  { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-sm  { padding: .4rem 1rem;    font-size: .8125rem; }
.btn-w   { width: 100%; justify-content: center; }

/* ── SVG arrow icon inline helper ──────────────────────── */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--tr);
}
.site-header.scrolled { box-shadow: 0 1px 6px rgba(0,0,0,.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}
.site-logo img { height: 70px; width: auto; object-fit: contain; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem .75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: var(--r);
  transition: color var(--tr), background var(--tr);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active { color: var(--brand); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: .25rem;
  z-index: 200;
}
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  padding: .5rem .75rem;
  font-size: .875rem;
  color: var(--ink-muted);
  border-radius: var(--r-sm);
  transition: background var(--tr), color var(--tr);
}
.dropdown-item:hover { background: var(--surface-low); color: var(--ink); }
.dropdown-divider {
  border-bottom: 1px solid var(--rule);
  margin: .25rem 0;
  padding-bottom: .25rem;
  color: var(--ink-faint);
  font-size: .8125rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  color: var(--ink-muted);
  transition: color var(--tr);
}
.header-phone:hover { color: var(--ink); }
.header-phone svg { color: var(--brand); }

/* Mobile toggle */
.mobile-btn {
  display: none;
  padding: .375rem;
  color: var(--ink-muted);
  border-radius: var(--r);
}
.mobile-btn:hover { color: var(--ink); }

.mobile-nav {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  padding: .75rem 0 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: .625rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: var(--r);
  transition: background var(--tr), color var(--tr);
}
.mobile-nav-link:hover { background: var(--surface-low); color: var(--ink); }
.mobile-nav-sub {
  padding-left: 1rem;
  margin: .25rem 0 .5rem;
}
.mobile-nav-sub a {
  display: block;
  padding: .5rem .75rem;
  font-size: .8125rem;
  color: var(--ink-faint);
  border-radius: var(--r-sm);
  transition: background var(--tr), color var(--tr);
}
.mobile-nav-sub a:hover { background: var(--surface-low); color: var(--ink); }
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--rule);
}

@media (max-width: 767px) {
  .main-nav, .header-cta { display: none; }
  .mobile-btn { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(180deg, #f6f6ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #020023 0%, #0e0e1c 65%) !important;
}
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 420px; min-height: 600px; }
}
@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: 1fr 480px; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-content { padding: 5rem 3.5rem 5rem 0; }
}

.hero-breadcrumb {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* Stats row */
.hero-stats {
  display: flex;
  width: fit-content;
  margin-bottom: 2rem;
  overflow: hidden;
}
.hero-stat {
  padding: .75rem 1.25rem;
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.hero-trust {
  font-size: .875rem;
  color: var(--ink-faint);
}

/* Right column — typographic accent */
.hero-visual {
  display: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
@media (min-width: 1024px) { .hero-visual { display: block; } }

.hero-typo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem 6rem;
  user-select: none;
}
.ht-word {
  display: block;
  font-family: 'IBM Plex Sans', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
}
[data-theme="dark"] .ht-word { color: #fff; }
.ht-1 { font-size: 3.75rem;  opacity: .13; padding-left: 1.5rem; }
.ht-2 { font-size: 2.9rem;   opacity: .09; padding-left: 3.25rem; margin-top: .4rem; }
.ht-3 { font-size: 4.5rem;   opacity: .15; padding-left: .75rem;  margin-top: .15rem; }
.ht-4 { font-size: 2.6rem;   opacity: .08; padding-left: 2.75rem; margin-top: .5rem; }
.ht-5 { font-size: 3.5rem;   opacity: .11; padding-left: 4.25rem; margin-top: .3rem; }

.hero-visual-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
}
.hero-visual-label p:first-child {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(26,28,28,.4);
}
.hero-visual-label p:last-child {
  font-size: .8125rem;
  color: rgba(26,28,28,.25);
  margin-top: .25rem;
}
[data-theme="dark"] .hero-visual-label p:first-child { color: rgba(255,255,255,.4); }
[data-theme="dark"] .hero-visual-label p:last-child  { color: rgba(255,255,255,.25); }

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services-section {
  background: var(--bg);
  padding: 4rem 0;
}
@media (min-width: 1024px) { .services-section { padding: 6rem 0; } }

.services-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .services-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.services-header-right {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 20rem;
  line-height: 1.6;
}
@media (min-width: 1024px) { .services-header-right { text-align: right; } }

/* Card grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Enterprise card — spans 2 columns on lg */
.card-enterprise {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: #001d42;
  color: #fff;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}
@media (min-width: 1024px) { .card-enterprise { grid-column: span 2; } }

.card-enterprise-overlay {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.card-enterprise-top, .card-enterprise-bottom { position: relative; z-index: 1; }

.card-chip {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .125rem .5rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.card-chip--white   { color: rgba(255,255,255,.5); }
.card-chip--blue    { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }
.card-chip--dark    { color: var(--ink-faint); border-color: var(--rule); background: transparent; }

.card-enterprise h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .5rem;
}
.card-enterprise p {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  max-width: 30rem;
  line-height: 1.6;
}
.card-enterprise-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.card-enterprise-stats { display: flex; gap: 1.5rem; }
.card-stat-name {
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
}
.card-stat-sub {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: .125rem;
}
.card-more-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: color var(--tr);
}
.card-more-link:hover { color: #fff; }

/* Private/blue card */
.card-private {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--brand);
  color: #fff;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}
.card-private h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .5rem;
}
.card-private p {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-private-checklist { margin-bottom: 1rem; }
.card-private-checklist li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  margin-bottom: .375rem;
}
.card-private-checklist li svg { color: rgba(255,255,255,.55); flex-shrink: 0; }

/* Light service card */
.card-service {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--tr);
}
.card-service:hover { border-color: var(--brand); }
.card-service-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
  display: block;
}
.card-service h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
}
.card-service p {
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}
.card-service-more {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 1.25rem;
  transition: color var(--tr);
}
.card-service-more:hover { color: var(--brand-dk); }

/* Services text list (homepage) */
.services-list { margin-bottom: 2rem; }
.svc-item { padding: .875rem 0; border-bottom: 1px solid var(--rule); }
.svc-item:first-child { border-top: 1px solid var(--rule); }
.svc-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .2rem;
}
.svc-item-name a { color: inherit; }
.svc-item-name a:hover { color: var(--brand); }
.svc-item-desc {
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.svc-cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.services-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   PRAGMATIC ENGINEERING (dark section)
═══════════════════════════════════════════════════════════ */
.pragmatic-section {
  background: var(--dark-bg);
  padding: 4rem 0;
}
@media (min-width: 1024px) { .pragmatic-section { padding: 6rem 0; } }

.pragmatic-header { margin-bottom: 2.5rem; }
.pragmatic-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.2;
}

.pragmatic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .pragmatic-grid { grid-template-columns: 1fr 1fr; } }

.pragmatic-card {
  border: 1px solid var(--dark-border);
  border-radius: var(--r);
  background: var(--dark-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image area */
.pragmatic-card-img {
  height: 10rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: .75rem 1rem;
}
.pragmatic-card-img-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  position: relative;
  z-index: 1;
}
.pragmatic-card-img-overlay {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}

.pci-enterprise {
  background: linear-gradient(135deg, #00346f 0%, #001428 100%);
}
.pci-enterprise .rack-mini {
  position: absolute;
  inset: .75rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  opacity: .25;
}
.rack-mini-row {
  height: 1.25rem;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 .5rem;
  gap: .375rem;
}
.rack-mini-row .rack-led-g { width: 5px; height: 5px; }
.rack-mini-row .rack-bar   { height: 1px; }

.pci-private {
  background: linear-gradient(135deg, #004a99 0%, #00346f 50%, #001428 100%);
}
.pci-private .donut-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .3;
}

/* Card body */
.pragmatic-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pragmatic-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .5rem;
}
.pragmatic-card-body p {
  font-size: .875rem;
  color: var(--dark-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.pragmatic-checklist { margin-bottom: 1.5rem; flex: 1; }
.pragmatic-checklist li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--dark-text);
  margin-bottom: .5rem;
}
.pragmatic-checklist li svg { color: var(--brand-subtle); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════ */
.reviews-section {
  background: var(--surface);
  padding: 4rem 0;
}
@media (min-width: 1024px) { .reviews-section { padding: 6rem 0; } }

.reviews-header {
  margin-bottom: 2.5rem;
}
.reviews-header-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .5rem;
}
@media (min-width: 640px) {
  .reviews-header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.reviews-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--ink);
}

.g-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  width: fit-content;
  flex-shrink: 0;
}
.g-stars { color: #f59e0b; font-size: .9rem; letter-spacing: -.05em; }
.g-badge-text { font-size: .8125rem; font-weight: 500; color: var(--ink-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: 1fr 1fr 1fr; } }

.review-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--tr);
}
.review-card:hover { border-color: var(--rule-strong); }

.review-stars { color: #f59e0b; font-size: .9rem; letter-spacing: -.05em; }
.review-text {
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}

.review-reviewer {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--rule);
}
.review-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.review-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.review-name .local-guide {
  font-weight: 400;
  font-size: .75rem;
  color: var(--ink-faint);
  margin-left: .25rem;
}
.review-source {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .125rem;
}
.g-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4285F4;
  flex-shrink: 0;
}

.reviews-note {
  text-align: center;
  font-size: .8125rem;
  color: var(--ink-faint);
  margin-top: 1.5rem;
}
.reviews-note a { color: var(--brand); }
.reviews-note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   CONTACT CTA
═══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--brand-dk);
  padding: 4rem 0;
}
@media (min-width: 1024px) { .cta-section { padding: 5rem 0; } }

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .75rem;
}
.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 28rem;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}
@media (min-width: 480px) { .cta-actions { flex-direction: row; } }

.cta-note {
  font-size: .875rem;
  color: rgba(255,255,255,.35);
  margin-top: 1.5rem;
}
.cta-note a { color: rgba(255,255,255,.55); text-decoration: underline; }
.cta-note a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark-bg);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 2rem; } }

.footer-logo { height: 100px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  max-width: 18rem;
  margin-bottom: 1.25rem;
}
.footer-cta-link {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  transition: color var(--tr);
}
.footer-cta-link:hover { color: #fff; }

.footer-col h3 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color var(--tr);
}
.footer-col ul a:hover { color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact a,
.footer-contact address {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color var(--tr);
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg { color: var(--brand-subtle); flex-shrink: 0; margin-top: .125rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}
.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
}
.footer-legal a {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  transition: color var(--tr);
}
.footer-legal a:hover { color: rgba(255,255,255,.55); }

/* ═══════════════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1rem;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cookie-text { flex: 1; }
.cookie-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
}
.cookie-text p {
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: .875rem;
}
.cookie-text p a { color: var(--brand); }
.cookie-text p a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-close {
  color: var(--ink-faint);
  padding: .25rem;
  transition: color var(--tr);
  flex-shrink: 0;
}
.cookie-close:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (dark header used on inner pages)
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--brand-dk);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .page-hero { padding: 5rem 0; } }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 36rem;
  line-height: 1.15;
}
.page-hero p { font-size: 1.125rem; color: rgba(255,255,255,.6); max-width: 32rem; line-height: 1.7; }

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  margin-bottom: 1.25rem;
}
.page-breadcrumb a       { color: rgba(255,255,255,.45); transition: color var(--tr); }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span    { color: rgba(255,255,255,.25); }
.page-breadcrumb em      { font-style: normal; color: var(--brand-subtle); }

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   INFO STRIP (quick features bar below page-hero)
═══════════════════════════════════════════════════════════ */
.info-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.info-strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
}
.info-strip-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.info-strip-item svg { color: var(--brand); flex-shrink: 0; }

/* Info strip embedded inside page-hero — pinned to bottom of hero */
.page-hero .info-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: none;
  padding: 1rem 0;
}
.page-hero .info-strip-item     { color: rgba(255,255,255,.75); }
.page-hero .info-strip-item svg { color: rgba(255,255,255,.5); }
[data-theme="dark"] .page-hero .info-strip { background: transparent; border-bottom: none; border-top-color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════════════════════
   AUDIENCE NAV CARDS (Leistungen split)
═══════════════════════════════════════════════════════════ */
.audience-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2.5rem 0;
}
@media (min-width: 640px) { .audience-nav { grid-template-columns: 1fr 1fr; } }

.audience-nav-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  transition: border-color var(--tr);
}
.audience-nav-card:hover { border-color: var(--brand); }
.audience-nav-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r);
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.audience-nav-icon svg { color: #fff; }
.audience-nav-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); }
.audience-nav-sub   { font-size: .8125rem; color: var(--ink-muted); margin-top: .125rem; }
.audience-nav-arrow { margin-left: auto; color: var(--brand); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   SERVICE OVERVIEW LISTS (below audience-nav on homepage)
═══════════════════════════════════════════════════════════ */
.service-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 0 2.5rem;
}
@media (min-width: 640px) { .service-overview { grid-template-columns: 1fr 1fr; } }
.service-overview-col { padding: 0; }
.service-overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.service-overview-list li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-left: .875rem;
  border-left: 2px solid var(--brand-subtle);
}
.service-overview-list strong {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.service-overview-list span {
  font-size: .825rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* dark mode */
[data-theme="dark"] .service-overview { background: var(--surface); border-color: var(--rule); }

/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL CARD (used on privat/geschäft pages)
═══════════════════════════════════════════════════════════ */
.service-card {
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .service-card-inner { flex-direction: row; align-items: flex-start; }
}
.service-card-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--r);
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card-icon svg { color: var(--brand); }
.service-card-body { flex: 1; }
.service-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
}
.service-card-body p { font-size: .875rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 1rem; }

.check-list { display: flex; flex-direction: column; gap: .375rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .875rem; color: var(--ink-muted);
}
.check-list li svg { color: var(--brand); flex-shrink: 0; margin-top: .125rem; }
.check-list-2col { display: grid; grid-template-columns: 1fr; gap: .375rem; }
@media (min-width: 480px) { .check-list-2col { grid-template-columns: 1fr 1fr; } }

/* ═══════════════════════════════════════════════════════════
   CONTRACT HIGHLIGHT SECTION (Geschäftskunden)
═══════════════════════════════════════════════════════════ */
.contract-section {
  background: var(--brand-tint);
  border-bottom: 1px solid var(--rule);
  padding: 4rem 0;
}
.contract-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) { .contract-grid { grid-template-columns: 1fr 1fr; } }

/* Tag chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .625rem;
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.chip--brand   { background: var(--brand-tint); color: var(--brand); border: 1px solid var(--brand-subtle); }
.chip--dark    { background: rgba(255,255,255,.08); color: var(--brand-subtle); border: 1px solid rgba(255,255,255,.12); }
.chip--navy    { background: rgba(0,74,153,.08); color: var(--brand); border: 1px solid rgba(0,74,153,.15); }

/* ═══════════════════════════════════════════════════════════
   INDUSTRIES / TAG CLOUD (Geschäftskunden)
═══════════════════════════════════════════════════════════ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.tag {
  font-size: .8125rem;
  font-weight: 500;
  padding: .375rem .875rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-muted);
}

/* ═══════════════════════════════════════════════════════════
   ÜBER UNS — timeline + values
═══════════════════════════════════════════════════════════ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; } }

.prose-body p { font-size: 1rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 1rem; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 1.25rem; }
.timeline-spine { display: flex; flex-direction: column; align-items: center; }
.timeline-dot  { width: .75rem; height: .75rem; border-radius: 50%; background: var(--brand); flex-shrink: 0; margin-top: .375rem; }
.timeline-line { width: 2px; flex: 1; background: var(--brand-subtle); margin-top: .375rem; min-height: 2rem; }
.timeline-content { padding-bottom: 1.5rem; }
.timeline-period { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.timeline-heading { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); margin: .25rem 0 .375rem; }
.timeline-desc { font-size: .875rem; color: var(--ink-muted); line-height: 1.6; }

.values-section { background: var(--brand-tint); padding: 4rem 0; }
@media (min-width: 1024px) { .values-section { padding: 5rem 0; } }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4,1fr); } }

.value-card { text-align: center; }
.value-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--brand-subtle);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-icon svg { color: var(--brand); }
.value-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.value-card p  { font-size: .875rem; color: var(--ink-muted); line-height: 1.6; }

.location-strip { background: var(--surface); border-top: 1px solid var(--rule); padding: 3rem 0; }
.location-inner { display: flex; flex-direction: column; gap: 1.5rem; max-width: 36rem; }
@media (min-width: 640px) { .location-inner { flex-direction: row; align-items: flex-start; } }
.location-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--r);
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-icon svg { color: var(--brand); }
.location-body h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.location-body p  { font-size: .9375rem; color: var(--ink-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 5fr 8fr; }
}

.contact-primary {
  background: var(--brand);
  border-radius: var(--r);
  padding: 1.5rem;
  color: #fff;
}
.contact-primary-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .75rem;
}
.contact-primary a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  display: block;
}
.contact-primary p { font-size: .875rem; opacity: .8; margin-top: .375rem; }

.contact-info-card {
  background: var(--surface);
  /*border: 1px solid var(--rule);*/
  border-radius: var(--r);
  padding-top: 1.25rem;
}
.contact-info-card-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .625rem;
}
.contact-info-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { color: var(--brand); }
.contact-info-title { font-family: var(--font-display); font-size: .9375rem; font-weight: 600; color: var(--ink); }
.contact-info-card a {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--brand);
  transition: color var(--tr);
}
.contact-info-card a:hover { color: var(--brand-dk); }
.contact-info-card address {
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.contact-info-note {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--rule);
  font-size: .8125rem;
  color: var(--brand);
  font-weight: 600;
}
.hours-row {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  font-size: .875rem;
  color: var(--ink-muted);
  padding: .25rem 0;
}
.hours-row span:first-child { min-width: 7rem; }
.hours-row span:last-child { font-weight: 500; color: var(--ink); }

.contact-trust { display: flex; flex-direction: column; gap: .5rem; }
.contact-trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--ink-muted);
}
.contact-trust-item svg { color: var(--brand); flex-shrink: 0; }

/* Contact form */
.form-card {
  background: var(--surface);
  /*border: 1px solid var(--rule);*/
  border-radius: var(--r);
  padding: 2rem;
}
.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
}
.form-card .form-sub {
  font-size: .875rem;
  color: var(--ink-faint);
  margin-bottom: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.25rem; }
.field:last-of-type { margin-bottom: 0; }
.field label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .625rem .875rem;
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  outline: none;
  transition: border-color var(--tr);
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,74,153,.12);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field textarea { resize: vertical; min-height: 7rem; }
.field select { appearance: auto; background-color: var(--surface); cursor: pointer; }
.field-note { font-size: .8125rem; color: var(--ink-faint); margin: .75rem 0 1.25rem; }
.field-note a { color: var(--brand); }
.field-note a:hover { text-decoration: underline; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}
.form-success-icon {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: #dcfce7;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.form-success-icon svg { color: #16a34a; }
.form-success h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.form-success p  { font-size: .9375rem; color: var(--ink-muted); max-width: 20rem; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (Impressum / Datenschutz)
═══════════════════════════════════════════════════════════ */
.legal-page { padding: 4rem 0; }
@media (min-width: 1024px) { .legal-page { padding: 6rem 0; } }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .25rem;
}
.legal-page .meta { font-size: .875rem; color: var(--ink-faint); margin-bottom: 2.5rem; }

.prose-legal h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.prose-legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.prose-legal h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 .5rem;
}
.prose-legal p {
  font-size: .9375rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: .875rem;
}
.prose-legal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: .875rem;
}
.prose-legal ul li {
  font-size: .9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: .25rem;
}
.prose-legal a { color: var(--brand); }
.prose-legal a:hover { text-decoration: underline; }
.prose-legal strong { color: var(--ink); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════════════════════════ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--ink-muted);
  background: transparent;
  flex-shrink: 0;
  transition: background var(--tr), color var(--tr);
}
.theme-toggle:hover {
  background: var(--surface-low);
  color: var(--ink);
}
[data-theme="dark"] .theme-toggle:hover { background: var(--surface-mid); }

/* ═══════════════════════════════════════════════════════════
   DARK MODE — variable overrides
═══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --brand:          #5a8fd8;
  --brand-dk:       #4878c0;
  --brand-light:    #6ea0e8;
  --brand-subtle:   #4878c0;
  --brand-tint:     rgba(90,143,216,.15);

  --ink:            #e2e2e8;
  --ink-muted:      #9a9eb8;
  --ink-faint:      #62667a;

  --bg:             #0e0e1a;
  --surface:        #0e0e1a;
  --surface-low:    #1c1c2e;
  --surface-mid:    #222236;

  --rule:           #2a2a48;
  --rule-strong:    #404060;

  --dark-bg:        #080810;
  --dark-card:      rgba(255,255,255,.04);
  --dark-border:    rgba(255,255,255,.07);
  --dark-text:      rgba(255,255,255,.65);
  --dark-muted:     rgba(255,255,255,.42);
  --dark-faint:     rgba(255,255,255,.26);
}

/* ── Component overrides in dark mode ────────────────────── */

/* Header */
[data-theme="dark"] .site-header        { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .dropdown-menu      { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .mobile-nav         { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-sub a:hover { background: var(--surface-low); }

/* Background sections */
[data-theme="dark"] .hero,
[data-theme="dark"] section[style*="background:#fff"],
[data-theme="dark"] .section[style*="background:#fff"] 
[data-theme="dark"] .services-section   { background: var(--bg); }
[data-theme="dark"] .reviews-section    { background: var(--surface); }
[data-theme="dark"] .legal-page        { background: var(--bg); }
[data-theme="dark"] .values-section    { background: var(--surface-low); }
[data-theme="dark"] .location-strip    { background: var(--surface);  border-color: var(--rule); }
[data-theme="dark"] .info-strip        { background: var(--surface-low); border-color: var(--rule); }
[data-theme="dark"] .contract-section  { background: var(--surface-low); border-color: var(--rule); }

/* Section with inline bg white */
[data-theme="dark"] section[style*="background:#fff"],
[data-theme="dark"] section[style*="background: #fff"] { background: var(--bg) !important; }

/* Cards */
[data-theme="dark"] .card-service      { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .card-service:hover { border-color: var(--brand); }
[data-theme="dark"] .review-card       { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .review-card:hover { border-color: var(--rule-strong); }
[data-theme="dark"] .audience-nav-card { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .service-card      { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .service-card-icon { background: rgba(90,143,216,.15); }

/* Contact page */
[data-theme="dark"] .contact-primary   { background: var(--brand-dk); }
[data-theme="dark"] .contact-info-card { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .form-card         { background: var(--surface);     border-color: var(--rule); }
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea    { background: var(--surface-low); border-color: var(--rule); color: var(--ink); }
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field select:focus,
[data-theme="dark"] .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(90,143,216,.18); }

/* Cookie banner */
[data-theme="dark"] .cookie-banner .cookie-inner { background: var(--surface); border-color: var(--rule); }

/* Hero visual stays dark — no override needed */
/* CTA section / footer / pragmatic section stay dark — no override needed */

/* ═══════════════════════════════════════════════════════════
   PRAKTIKUM PAGE
═══════════════════════════════════════════════════════════ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 1.5rem;
}
.card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.card p  { font-size: .875rem; color: var(--ink-muted); line-height: 1.6; }

.card-icon {
  width: 2.75rem; height: 2.75rem;
  background: var(--brand-tint);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { color: var(--brand); }

.check-list-sm li { font-size: .875rem; }
.check-list-sm li svg { width: 14px; height: 14px; }

.map-section { background: var(--surface); border-top: 1px solid var(--rule); }
.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 1024px) { .map-layout { grid-template-columns: 1fr 1fr; } }

.map-info {
  padding: 3rem 2rem 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .map-info { padding: 4rem 3rem 4rem 0; }
}
.map-info h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.map-info p  { font-size: .9375rem; color: var(--ink-muted); line-height: 1.65; }
.map-address { display: flex; flex-direction: column; gap: .375rem; }
.map-address-line { display: flex; align-items: flex-start; gap: .625rem; font-size: .9rem; color: var(--ink-muted); }
.map-address-line svg { color: var(--brand); flex-shrink: 0; margin-top: .15rem; }

.map-embed { position: relative; min-height: 320px; }
@media (min-width: 1024px) { .map-embed { min-height: 100%; } }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.cookie-settings-box { margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: var(--surface-low); border: 1px solid var(--rule); border-radius: .5rem; }
.cookie-settings-label { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin: 0 0 .375rem; }
.cookie-settings-status { font-size: .9375rem; font-weight: 600; color: var(--ink); margin: 0 0 1rem; }
.cookie-settings-actions { display: flex; gap: .625rem; flex-wrap: wrap; }
.cookie-settings-confirm { margin: .75rem 0 0; font-size: .875rem; color: var(--brand); font-weight: 500; }

.map-placeholder { width: 100%; height: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; background: var(--surface-low); border: 1px solid var(--rule); }
.map-placeholder-inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; padding: 2rem; }
.map-placeholder-inner svg { color: var(--ink-faint); }
.map-placeholder-inner p { font-size: .9375rem; font-weight: 500; color: var(--ink-muted); margin: 0; }
.map-placeholder-inner span { font-size: .8125rem; color: var(--ink-faint); }

[data-theme="dark"] .card { background: var(--surface); border-color: var(--rule); }
[data-theme="dark"] .card-icon { background: rgba(90,143,216,.15); }
[data-theme="dark"] .map-section { background: var(--surface); border-color: var(--rule); }

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
