/* ==========================================================================
   COMPIMEX – MAIN STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS – Inter self-hosted (latin-ext + latin)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --------------------------------------------------------------------------
   2. VARIABLES – Design Tokens
   -------------------------------------------------------------------------- */

:root {
  --color-primary:        #D40000;
  --color-primary-dark:   #D40000;

  --color-black:          #000000;
  --color-dark:           #000000;
  --color-bg:             #000000;
  --color-surface:        #0A0A0A;
  --color-gray-50:        #0A0A0A;
  --color-gray-100:       #111111;
  --color-gray-200:       rgba(255,255,255,0.08);
  --color-gray-400:       rgba(255,255,255,0.24);
  --color-border:         rgba(255,255,255,0.08);
  --color-border-red:     rgba(227,6,19,0.30);

  --color-white:          #FFFFFF;
  --color-text:           rgba(255,255,255,0.88);
  --color-text-light:     rgba(255,255,255,0.58);

  --shadow-red:           none;

  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs:    0.75rem;
  --font-size-sm:    0.875rem;
  --font-size-base:  1rem;
  --font-size-lg:    1.125rem;
  --font-size-xl:    1.25rem;
  --font-size-2xl:   1.5rem;
  --font-size-3xl:   1.875rem;
  --font-size-4xl:   2.25rem;
  --font-size-5xl:   3rem;
  --font-size-6xl:   4rem;

  --font-weight-normal:    400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;
  --font-weight-black:     900;

  --line-height-tight:   1.1;
  --line-height-snug:    1.3;
  --line-height-normal:  1.5;
  --line-height-relaxed: 1.7;

  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  --container-2xl:  1440px;

  --radius-sm:   0px;
  --radius-md:   0px;
  --radius-lg:   0px;
  --radius-xl:   0px;
  --radius-full: 9999px;

  --transition-fast:    150ms ease;
  --transition-base:    250ms ease;
  --transition-slow:    400ms ease;

  --header-height:          150px;
  --header-height-scrolled: 70px;
}

@media (max-width: 1024px) {
  :root { --header-height: 80px; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --font-size-5xl: 2.5rem;
    --font-size-6xl: 3rem;
  }
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*, *:hover, *:focus { box-shadow: none; }
*, *:hover { transform: none; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: rgba(255,255,255,0.88);
  background-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-2xl);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-4); }
}

.section {
  padding-block: var(--space-32);
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .section { padding-block: var(--space-16); }
}

@media (max-width: 480px) {
  .section { padding-block: var(--space-12); }
}

.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--3 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   5. TYPOGRAPHY
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: #fff;
}

h1 { font-size: clamp(2rem, 5vw, var(--font-size-6xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--font-size-4xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--font-size-2xl)); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  line-height: var(--line-height-relaxed);
  color: rgba(255,255,255,0.65);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, var(--font-size-4xl));
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  line-height: var(--line-height-relaxed);
}

.section-header { margin-bottom: var(--space-12); }

.section-header--center { text-align: center; }
.section-header--center .section-label { margin-inline: auto; }
.section-header--center .section-subtitle { margin-inline: auto; }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-6);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: 8px;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: rgba(255,255,255,0.88);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: #c8050f;
  border-color: #c8050f;
  color: rgba(255,255,255,0.88);
  box-shadow: 0 0 24px rgba(227,6,19,0.85);
}

.header-cta .btn.nav-current {
  background: #c8050f;
  border-color: #c8050f;
  color: #fff;
  box-shadow: 0 0 24px rgba(227,6,19,0.85);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.65);
  padding-block: 0.9rem;
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.08);
}

.btn--outline-dark {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.65);
}

.btn--outline-dark:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.08);
}

.btn--lg { padding: var(--space-2) var(--space-8); }

.btn svg,
.btn .material-symbols-outlined {
  width: 16px;
  height: 16px;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

/* --------------------------------------------------------------------------
   7. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */

.site-header,
.site-header.scrolled {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: #000;
  transition: all var(--transition-base);
}

.site-header.scrolled { height: var(--header-height-scrolled); }

.site-header__progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-primary);
  transition: width 0.1s linear, top 0.25s ease;
  pointer-events: none;
  z-index: 999;
}

.site-header__progress.scrolled { top: var(--header-height-scrolled); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-8);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.site-logo img {
  height: 36px;
  width: auto;
  background: transparent;
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.primary-nav__item { position: relative; }

.primary-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: rgba(255,255,255,0.55);
  transition: all var(--transition-fast);
}

.primary-nav__link:hover { color: #fff; }

.primary-nav__item.current-menu-item > .primary-nav__link,
.primary-nav__item.current-menu-ancestor > .primary-nav__link,
.primary-nav__link.nav-current {
  color: var(--color-primary);
}

.primary-nav__link .nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.primary-nav__item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  min-width: 220px;
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition-fast);
  padding: var(--space-2) 0;
  z-index: 100;
}

.primary-nav__item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.55);
  transition: all var(--transition-fast);
}

.nav-dropdown a:hover,
.nav-dropdown a.nav-current {
  color: var(--color-primary);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header-cta .btn { display: none; }
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  transition: background var(--transition-fast);
}

.nav-toggle:hover { background: rgba(255,255,255,0.08); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0; bottom: 0;
  background: #000;
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
}

.mobile-nav__item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav__item--sub { border-bottom: none; }

.mobile-nav__link {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link.nav-current { color: var(--color-primary); }

.mobile-nav__sub-link {
  display: block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.60);
  transition: color var(--transition-fast);
}

.mobile-nav__sub-link::before {
  content: '↳ ';
  color: var(--color-primary);
  font-size: 0.7em;
}

.mobile-nav__sub-link:hover,
.mobile-nav__sub-link.nav-current { color: var(--color-primary); }

.mobile-nav-cta {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-toggle, .mobile-nav { display: flex; }
  .mobile-nav.active { display: flex; flex-direction: column; }
}

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
  padding-top: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,6,19,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
}

.hero__content {
  max-width: 680px;
  position: relative;
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: -60px -80px;
  background: radial-gradient(ellipse at 40% 50%, rgba(0,0,0,0.72) 20%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.hero__visual {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__network { width: 100%; height: 100%; }

.hero__terminal-wrap {
  background: transparent;
  padding: 0;
  display: none;
}

.hero__terminal {
  width: 440px;
  background: #080808;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.hero__terminal-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px 10px 0 0;
}

.hero__terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.hero__terminal-dot:nth-child(1) { background: #ff5f57; }
.hero__terminal-dot:nth-child(2) { background: #febc2e; }
.hero__terminal-dot:nth-child(3) { background: #28c840; }

.hero__terminal-title {
  margin-left: var(--space-2);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

.hero__terminal-body {
  padding: var(--space-8) var(--space-10);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.hero__terminal-output {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.hero__terminal-output > * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__terminal-output .t-cmd {
  color: rgba(255,255,255,0.80);
}

.hero__terminal-output .t-cmd::before {
  content: '$ ';
  color: var(--color-primary);
}

.hero__terminal-output .t-ok {
  color: #28c840;
  padding-left: 1.2em;
}

.hero__terminal-output .t-info {
  color: rgba(255,255,255,0.40);
  padding-left: 1.2em;
}

.hero__terminal-output .t-warn {
  color: #febc2e;
  padding-left: 1.2em;
}

.hero__terminal-output .t-gap { margin-top: var(--space-2); }

.hero__terminal-line {
  display: flex;
  align-items: center;
  margin-top: var(--space-2);
  color: rgba(255,255,255,0.80);
}

.hero__terminal-prompt { color: var(--color-primary); }

.hero__terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--color-primary);
  animation: terminal-blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes terminal-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero__eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-primary);
}

.hero__eyebrow-text {
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: var(--font-weight-black);
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}

.hero__title-accent {
  color: var(--color-primary);
  display: inline-block;
}

.hero__title-dim {
  color: rgba(255,255,255,0.35);
  display: inline-block;
}

.hero__description {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
}

@media (max-width: 768px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
}

/* --------------------------------------------------------------------------
   9. SERVICES GRID
   -------------------------------------------------------------------------- */

.service-card {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  background: rgba(255,255,255,0.02);
  border-top-color: var(--color-primary);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(192,0,26,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}

.service-card__icon svg { width: 24px; height: 24px; }
.service-card__icon .material-symbols-outlined { font-size: 24px; color: var(--color-primary); }

.service-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: var(--space-3);
}

.service-card__text {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   10. PARTNER LOGOS
   -------------------------------------------------------------------------- */

.partners-section {
  padding-block: var(--space-32);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

@media (max-width: 768px) { .partners-section { padding-block: var(--space-16); } }
@media (max-width: 480px) { .partners-section { padding-block: var(--space-12); } }

.partners-section .text-center { margin-bottom: var(--space-10); }

@keyframes partners-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-marquee {
  display: flex;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  animation: partners-marquee 28s linear infinite;
  flex-shrink: 0;
}

.partners-marquee:hover .partners-track { animation-play-state: paused; }

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
}

.partner-logo__img {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img { height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.partner-logo-text { font-size: var(--font-size-xl); font-weight: var(--font-weight-black); letter-spacing: -0.02em; color: rgba(255,255,255,0.6); white-space: nowrap; }
.partner-logo-label { font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.35); text-align: center; white-space: nowrap; }

/* --------------------------------------------------------------------------
   11. CONTACT FORM
   -------------------------------------------------------------------------- */

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-form-wrapper { grid-template-columns: 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info-item { display: flex; gap: var(--space-4); }

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(192,0,26,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-info-item__icon svg,
.contact-info-item__icon .material-symbols-outlined { width: 20px; height: 20px; font-size: 20px; }

.contact-info-item__label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.contact-info-item__value {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: #fff;
}

.contact-info-item__value a {
  color: inherit;
  transition: color var(--transition-fast);
}

.contact-info-item__value a:hover { color: var(--color-primary); }

.contact-form {
  background: transparent;
  padding: var(--space-10);
}

@media (max-width: 640px) { .contact-form { padding: var(--space-6); } }

.form-group { margin-bottom: var(--space-5); }

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: var(--font-weight-medium);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.form-group label .required {
  color: var(--color-primary);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: var(--space-3) 0;
  font-size: var(--font-size-sm);
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus { border-bottom-color: #fff; }
.form-control::placeholder { color: rgba(255,255,255,0.25); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit { width: 100%; margin-top: var(--space-6); }

.form-message {
  padding: var(--space-4);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
  display: none;
}

.form-message.success {
  background: rgba(0,160,80,0.10);
  border: 1px solid rgba(0,160,80,0.35);
  color: #4caf82;
  display: block;
}

.form-message.error {
  background: rgba(192,0,26,0.08);
  border: 1px solid rgba(192,0,26,0.2);
  color: var(--color-primary-dark);
  display: block;
}

/* --------------------------------------------------------------------------
   12. NEWS / BLOG CARDS
   -------------------------------------------------------------------------- */

.news-card {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  background: rgba(255,255,255,0.02);
  border-top-color: var(--color-primary);
}

.news-card__image { aspect-ratio: 16/9; overflow: hidden; }

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card__content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.news-card__category {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(192,0,26,0.08);
  padding: 2px var(--space-2);
}

.news-card__date {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.24);
}

.news-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: var(--space-3);
  line-height: var(--line-height-snug);
  transition: color var(--transition-fast);
}

.news-card:hover .news-card__title { color: var(--color-primary); }

.news-card__excerpt {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--line-height-relaxed);
  flex: 1;
  margin-bottom: var(--space-5);
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.news-card:hover .news-card__link { gap: var(--space-3); }
.news-card__link svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   13. CTA SECTION
   -------------------------------------------------------------------------- */

.cta-section {
  background: #000;
  position: relative;
  overflow: hidden;
}

.cta-section__accent { display: none; }

.cta-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .cta-section__inner { flex-direction: column; text-align: center; }
}

.cta-section__title {
  font-size: clamp(1.75rem, 3vw, var(--font-size-4xl));
  font-weight: var(--font-weight-black);
  color: #fff;
  margin-bottom: var(--space-3);
}

.cta-section__text {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.65);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cta-section__actions { flex-direction: column; width: 100%; }
  .cta-section__actions .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.footer-inner { padding-block: var(--space-16) var(--space-8); }

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: start;
  gap: var(--space-16);
  align-items: start;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-main.footer--visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); }

.footer-logo img {
  height: 32px;
  width: auto;
  background: transparent;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-logo:hover img { opacity: 1; }

.footer-tagline {
  font-size: var(--font-size-xl);
  color: rgba(255,255,255,0.40);
  line-height: var(--line-height-relaxed);
  padding: var(--space-6) 0;
}

.footer-nav__heading {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-4);
}

.footer-nav__list { display: flex; flex-direction: column; }
.footer-nav__list li { border-bottom: none; }

.footer-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.60);
  transition: color 0.2s ease, padding-left 0.2s ease;
  position: relative;
}

.footer-nav__list a::after {
  content: '↗';
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--color-primary);
}

.footer-nav__list a:hover,
.footer-nav__list a.nav-current {
  color: var(--color-primary);
  padding-left: var(--space-2);
}

.footer-nav__list a:hover::after { opacity: 1; transform: translateX(0); }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

.footer-bottom.footer--visible { opacity: 1; }

.footer-copy {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-brand { display: none; }
}

/* --------------------------------------------------------------------------
   15. PAGE HERO
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.page-hero::before,
.page-hero::after { display: none; }

.page-hero__bg,
.page-hero__bg::after { display: none; }

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--font-weight-bold);
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}

.page-hero__subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: rgba(255,255,255,0.82);
  line-height: var(--line-height-relaxed);
  max-width: 600px;
}

.page-hero__accent-line {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .page-hero { padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-10); }
  .page-hero__title { font-size: var(--font-size-4xl); }
}

/* --------------------------------------------------------------------------
   16. ITL SECTIONS (Onepager: IT-Lösungen, Service-Konzepte, Über uns)
   -------------------------------------------------------------------------- */

.itl-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-20);
}

.itl-section__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.itl-section__visual {
  position: sticky;
  top: calc(var(--header-height-scrolled) + 60px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.itl-section__num {
  font-size: 6rem;
  font-weight: var(--font-weight-black);
  line-height: 1;
  color: #fff;
  opacity: 0.12;
  letter-spacing: -0.04em;
  user-select: none;
}

.itl-section__icon {
  width: 56px;
  height: 56px;
  background: rgba(227,6,19,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: background var(--transition-base);
}

.itl-section:hover .itl-section__icon { background: rgba(227,6,19,0.18); }

.itl-section__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}
.itl-section__icon .material-symbols-outlined { font-size: 28px; color: var(--color-primary); }

.itl-section__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--color-border-red);
}

.itl-section__intro {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: rgba(255,255,255,0.70);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-4);
}

.itl-section__text {
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
  max-width: 680px;
}

.itl-features {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-8);
  list-style: none;
}

.itl-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.65);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.2s ease;
}

.itl-feature::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.js-feat-ready .itl-feature { opacity: 0; transform: translateX(-20px); }
.js-feat-ready .itl-feature--visible { opacity: 1; transform: translateX(0); }

.itl-feature::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

.itl-feature:hover { color: #fff; }
.itl-feature span { line-height: var(--line-height-snug); }

@media (max-width: 900px) {
  .itl-section__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .itl-section__visual { position: static; flex-direction: row; align-items: center; gap: var(--space-4); }
  .itl-section__num { font-size: 4rem; }
  .itl-section__icon { width: 48px; height: 48px; margin-bottom: 0; }
  .itl-section__icon svg { width: 24px; height: 24px; }
  .itl-section__icon .material-symbols-outlined { font-size: 24px; }
}

@media (max-width: 768px) {
  .itl-section { padding-block: var(--space-10); }
  .itl-section__num { display: none; }
}

@media (max-width: 480px) {
  .itl-section { padding-block: var(--space-8); }
  .itl-section__visual { display: none; }
}

/* --------------------------------------------------------------------------
   17. ONEPAGER NAV
   -------------------------------------------------------------------------- */

.onepager-nav {
  position: sticky;
  top: var(--header-height-scrolled);
  z-index: 90;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.onepager-nav__progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-primary);
  transition: width 0.1s linear;
  z-index: 1;
  pointer-events: none;
}

.onepager-nav__list {
  display: flex;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.onepager-nav__list::-webkit-scrollbar { display: none; }

.onepager-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.onepager-nav__link:hover { color: rgba(255,255,255,0.80); }
.onepager-nav__link.active { color: var(--color-primary); }
.onepager-nav__link.active .onepager-nav__num { opacity: 1; }

.onepager-nav__num {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   18. SPLIT LAYOUT
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
}

.split__placeholder svg {
  width: 96px;
  height: 96px;
  color: var(--color-primary);
  opacity: .6;
}
.split__placeholder .material-symbols-outlined {
  font-size: 96px;
  color: var(--color-primary);
}

@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-10); } }

/* --------------------------------------------------------------------------
   19. LEISTUNGEN ÜBERSICHT
   -------------------------------------------------------------------------- */

.srv-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.srv-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-10);
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.srv-card:hover { border-top-color: var(--color-primary); background: rgba(255,255,255,0.02); }
.srv-card:hover::before { transform: scaleX(1); }

.srv-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(205,47,26,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.srv-card__icon svg { width: 28px; height: 28px; color: var(--color-primary); }
.srv-card__icon .material-symbols-outlined { font-size: 28px; color: var(--color-primary); }

.srv-card__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: var(--space-4);
}

.srv-card__text {
  color: rgba(255,255,255,0.65);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.srv-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex: 1;
}

.srv-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.65);
}

.srv-card__list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) { .srv-overview { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   20. ABOUT STATS
   -------------------------------------------------------------------------- */

.about-stats {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-12) 0;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.about-stats__val {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-black);
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.about-stats__label {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 600px) {
  .about-stats__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* --------------------------------------------------------------------------
   21. HELPDESK
   -------------------------------------------------------------------------- */

.hd-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (max-width: 900px) { .hd-download-grid { grid-template-columns: 1fr; } }

.hd-download-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-10);
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.hd-download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.hd-download-card:hover { border-top-color: var(--color-primary); background: rgba(255,255,255,0.02); }
.hd-download-card:hover::before { transform: scaleX(1); }

.hd-download-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(227,6,19,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hd-download-card__icon svg,
.hd-download-card__icon .material-symbols-outlined { width: 28px; height: 28px; font-size: 28px; color: var(--color-primary); }

.hd-download-card__os {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-text-light);
  margin-bottom: var(--space-1);
}

.hd-download-card__name {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: #fff;
}

.hd-download-card__info {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  flex: 1;
}

.hd-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-left: 2px solid var(--color-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.hd-note svg,
.hd-note .material-symbols-outlined { flex-shrink: 0; width: 18px; height: 18px; font-size: 18px; color: var(--color-primary); }

/* --------------------------------------------------------------------------
   22. 404
   -------------------------------------------------------------------------- */

.error-404__number {
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: var(--font-weight-black);
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
  opacity: 0.85;
}

.error-404__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* --------------------------------------------------------------------------
   23. IMPRESSUM / DATENSCHUTZ
   -------------------------------------------------------------------------- */

.impressum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.impressum-block {
  padding: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.impressum-block:nth-child(even) { border-right: none; }
.impressum-block--wide { grid-column: 1 / -1; border-right: none; }

.impressum-block > h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-4);
}

.impressum-block__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.impressum-block__title::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.impressum-block__content h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.impressum-block__content h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
}

.impressum-block__content p {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-3);
}

.impressum-block__content p:last-child { margin-bottom: 0; }

.impressum-block__content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-left: var(--space-4);
}

.impressum-block__content ul li {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--line-height-relaxed);
  position: relative;
}

.impressum-block__content ul li::before {
  content: '–';
  position: absolute;
  left: calc(-1 * var(--space-4));
  color: var(--color-primary);
}

.impressum-block__content strong { color: rgba(255,255,255,0.88); }

.impressum-block__content a {
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.impressum-block__content a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

@media (max-width: 768px) {
  .impressum-grid { grid-template-columns: 1fr; }
  .impressum-block { border-right: none; }
}

/* --------------------------------------------------------------------------
   24. VORTEILE
   -------------------------------------------------------------------------- */

.vorteile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.vorteile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.vorteile-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  color: rgba(255,255,255,0.75);
  font-size: var(--font-size-base);
  line-height: var(--line-height-snug);
  transition: color var(--transition-fast);
}

.vorteile-item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.vorteile-item:hover { color: #fff; }

@media (max-width: 900px) { .vorteile-layout { grid-template-columns: 1fr; gap: var(--space-8); } }

/* --------------------------------------------------------------------------
   25. BACK TO TOP
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 900;
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--color-primary-dark); }
.back-to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   26. UTILITIES
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.hidden { display: none !important; }
.lazy { opacity: 0; transition: opacity var(--transition-slow); }
.lazy.loaded { opacity: 1; }

/* --------------------------------------------------------------------------
   27. PROSE – WordPress Editor Content
   -------------------------------------------------------------------------- */

.prose {
  max-width: 72ch;
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
}

.prose h1, .prose h2, .prose h3,
.prose h4, .prose h5, .prose h6 {
  color: #fff;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-top: 2em;
  margin-bottom: .75em;
}

.prose h2 { font-size: var(--font-size-2xl); }
.prose h3 { font-size: var(--font-size-xl); }
.prose h4 { font-size: var(--font-size-lg); }

.prose p { margin-bottom: 1.25em; color: var(--color-text-light); }

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.prose a:hover { color: var(--color-primary-dark); }

.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5em; color: var(--color-text-light); }
.prose li::marker { color: var(--color-primary); }

.prose blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-gray-50);
}

.prose blockquote p { color: rgba(255,255,255,0.75); font-style: italic; margin: 0; }

.prose img { margin-block: 2rem; width: 100%; height: auto; }

.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: var(--font-size-sm); }
.prose th, .prose td { padding: .75rem 1rem; border: 1px solid var(--color-gray-200); text-align: left; }
.prose th { background: var(--color-gray-50); font-weight: var(--font-weight-semibold); color: #fff; }

.prose hr { border: none; border-top: 1px solid var(--color-gray-200); margin-block: 3rem; }
.prose strong { font-weight: var(--font-weight-bold); color: #fff; }
.prose code { font-size: .875em; background: var(--color-gray-100); padding: 2px 6px; font-family: 'Courier New', monospace; }

/* --------------------------------------------------------------------------
   28. PRINT
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .back-to-top { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero { min-height: auto; padding-top: 0; }
}

/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.55);
  border-radius: 4px;
  flex-shrink: 0;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.theme-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.theme-toggle .material-symbols-outlined { font-size: 20px; }

/* ==========================================================================
   LIGHT THEME  –  .light-theme auf <html>
   ========================================================================== */

/* --- CSS-Variable-Overrides ----------------------------------------------- */
.light-theme {
  --color-bg:           #F0EEE9;
  --color-surface:      #E8E5E0;
  --color-gray-50:      #E8E5E0;
  --color-gray-100:     #DDD9D3;
  --color-gray-200:     rgba(0,0,0,0.06);
  --color-gray-400:     rgba(0,0,0,0.20);
  --color-border:       rgba(0,0,0,0.08);
  --color-border-red:   rgba(212,0,0,0.30);
  --color-text:         rgba(0,0,0,0.87);
  --color-text-light:   rgba(0,0,0,0.55);
}

/* --- Body ----------------------------------------------------------------- */
.light-theme body {
  background-color: #F0EEE9;
  color: rgba(0,0,0,0.87);
}

/* --- Typografie ----------------------------------------------------------- */
.light-theme h1, .light-theme h2, .light-theme h3,
.light-theme h4, .light-theme h5, .light-theme h6 { color: #1A1A1A; }

.light-theme p { color: rgba(0,0,0,0.65); }

.light-theme .section-title  { color: #1A1A1A; }
.light-theme .section-subtitle { color: rgba(0,0,0,0.65); }

/* --- Layout --------------------------------------------------------------- */
.light-theme .section {
  background: #F0EEE9;
  border-top-color: rgba(0,0,0,0.08);
}

/* --- Buttons -------------------------------------------------------------- */
.light-theme .btn--outline {
  border-color: rgba(0,0,0,0.20);
  color: rgba(0,0,0,0.65);
}
.light-theme .btn--outline:hover {
  border-color: rgba(0,0,0,0.55);
  color: #1A1A1A;
  box-shadow: 0 0 14px rgba(0,0,0,0.08);
}
.light-theme .btn--outline-dark {
  border-color: rgba(0,0,0,0.20);
  color: rgba(0,0,0,0.65);
}
.light-theme .btn--outline-dark:hover {
  border-color: rgba(0,0,0,0.55);
  color: #1A1A1A;
  box-shadow: 0 0 14px rgba(0,0,0,0.08);
}

/* --- Header (warmes Steingrau im Light-Theme) ----------------------------- */
.light-theme .site-header,
.light-theme .site-header.scrolled {
  background: #0F0E0D;
  border-bottom-color: rgba(255,255,255,0.07);
}

/* Solange Hero sichtbar UND noch nicht gescrollt: Header transparent */
.light-theme .site-header.header-over-hero:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}

/* --- Mobile-Navigation (passt zum Header) --------------------------------- */
.light-theme .mobile-nav { background: #0F0E0D; }

/* --- Logo (kein Filter – Footer-Logo auf schwarzem Hintergrund lesbar) ---- */

/* --- Theme-Toggle (auf schwarzem Header wie im Dark-Theme) ---------------- */
/* Kein Override – Standardfarben (weiß/transparent) passen auf schwarz */

/* --- Nav-Toggle (auf schwarzem Header wie im Dark-Theme) ------------------ */
/* Kein Override nötig */

/* --- Desktop-Navigation (auf warmem Dunkelgrau) --------------------------- */
/* Kein Override nötig – weiße/rote Nav-Farben passen auf #2E2B27 */

/* --- Dropdown (auf warmem Steingrau) -------------------------------------- */
.light-theme .nav-dropdown {
  background: #0A0908;
  border-color: rgba(255,255,255,0.08);
}

/* --- Mobile-Navigation (auf warmem Dunkelgrau) ---------------------------- */
/* Kein Override – Standard-Mobile-Nav-Farben passen auf #2E2B27 */

/* --- Hero (moderner Gradient im Light-Theme) ------------------------------ */
.light-theme .hero {
  background: linear-gradient(135deg, #0F0E0D 0%, #1E0200 55%, #3A0400 100%);
}

/* Schrift- und Button-Farben in der Hero auf Dark-Theme zurücksetzen */
.light-theme .hero h1,
.light-theme .hero h2,
.light-theme .hero h3 { color: #fff; }

.light-theme .hero p,
.light-theme .hero .hero__description { color: rgba(255,255,255,0.65); }

.light-theme .hero .hero__eyebrow-text { color: rgba(255,255,255,0.50); }
.light-theme .hero .hero__title-dim    { color: rgba(255,255,255,0.35); }

.light-theme .hero .btn--outline {
  border-color: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.65);
}
.light-theme .hero .btn--outline:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.08);
}

/* --- Services Grid -------------------------------------------------------- */
.light-theme .service-card {
  background: #fff;
  border-top-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.light-theme .service-card:hover {
  background: #fff;
  border-top-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.light-theme .service-card__title { color: #1A1A1A; }
.light-theme .service-card__text  { color: rgba(0,0,0,0.65); }

/* --- Partner-Logos -------------------------------------------------------- */
.light-theme .partners-section {
  border-top-color: rgba(0,0,0,0.08);
  border-bottom-color: rgba(0,0,0,0.08);
}
.light-theme .partners-marquee {
  -webkit-mask: linear-gradient(90deg, transparent 0%, #F0EEE9 12%, #F0EEE9 88%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, #F0EEE9 12%, #F0EEE9 88%, transparent 100%);
}
.light-theme .partner-logo-text  { color: rgba(0,0,0,0.60); }
.light-theme .partner-logo-label { color: rgba(0,0,0,0.35); }

/* --- Kontaktformular ------------------------------------------------------ */
.light-theme .contact-info-item__label { color: rgba(0,0,0,0.55); }
.light-theme .contact-info-item__value { color: #1A1A1A; }
.light-theme .form-group label         { color: rgba(0,0,0,0.55); }
.light-theme .form-control {
  color: #1A1A1A;
  border-bottom-color: rgba(0,0,0,0.15);
}
.light-theme .form-control:focus       { border-bottom-color: #1A1A1A; }
.light-theme .form-control::placeholder { color: rgba(0,0,0,0.25); }

/* --- News-Cards ----------------------------------------------------------- */
.light-theme .news-card {
  background: #fff;
  border-top-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.light-theme .news-card:hover {
  background: #fff;
  border-top-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.light-theme .news-card__date    { color: rgba(0,0,0,0.24); }
.light-theme .news-card__title   { color: #1A1A1A; }
.light-theme .news-card__excerpt { color: rgba(0,0,0,0.65); }

/* --- CTA-Section ---------------------------------------------------------- */
.light-theme .cta-section        { background: #F0EEE9; }
.light-theme .cta-section__title { color: #1A1A1A; }
.light-theme .cta-section__text  { color: rgba(0,0,0,0.65); }

/* --- Footer (warmes Steingrau im Light-Theme) ----------------------------- */
.light-theme .site-footer { background: #0F0E0D; }
.light-theme .footer-nav__heading { color: rgba(255,255,255,0.70); }

/* --- Page Hero ------------------------------------------------------------ */
.light-theme .page-hero {
  background: #F0EEE9;
  border-bottom-color: rgba(0,0,0,0.08);
}
.light-theme .page-hero__title    { color: #1A1A1A; }
.light-theme .page-hero__subtitle { color: rgba(0,0,0,0.82); }

/* --- ITL-Sections --------------------------------------------------------- */
.light-theme .itl-section { border-top-color: rgba(0,0,0,0.08); }
.light-theme .itl-section__num   { color: #1A1A1A; }
.light-theme .itl-section__intro { color: rgba(0,0,0,0.70); }
.light-theme .itl-feature        { color: rgba(0,0,0,0.65); }
.light-theme .itl-feature:hover  { color: #1A1A1A; }

/* --- Onepager-Nav --------------------------------------------------------- */
.light-theme .onepager-nav {
  background: #F0EEE9;
  border-bottom-color: rgba(0,0,0,0.08);
}
.light-theme .onepager-nav__link { color: rgba(0,0,0,0.55); }
.light-theme .onepager-nav__link:hover { color: rgba(0,0,0,0.80); }
.light-theme .onepager-nav__link.active { color: var(--color-primary); }

/* --- Split ---------------------------------------------------------------- */
.light-theme .split__placeholder { border-color: rgba(0,0,0,0.08); }

/* --- Leistungen-Übersicht ------------------------------------------------- */
.light-theme .srv-card {
  background: #fff;
  border-top-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.light-theme .srv-card:hover {
  background: #fff;
  border-top-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.light-theme .srv-card__title   { color: #1A1A1A; }
.light-theme .srv-card__text    { color: rgba(0,0,0,0.65); }
.light-theme .srv-card__list li { color: rgba(0,0,0,0.65); }

/* --- About-Stats ---------------------------------------------------------- */
.light-theme .about-stats {
  background: #F0EEE9;
  border-top-color: rgba(0,0,0,0.08);
  border-bottom-color: rgba(0,0,0,0.08);
}
.light-theme .about-stats__val   { color: #1A1A1A; }
.light-theme .about-stats__label { color: rgba(0,0,0,0.55); }

/* --- HelpDesk ------------------------------------------------------------- */
.light-theme .hd-download-card {
  background: #fff;
  border-top-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.light-theme .hd-download-card:hover {
  background: #fff;
  border-top-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.light-theme .hd-download-card__name { color: #1A1A1A; }

/* --- Vorteile ------------------------------------------------------------- */
.light-theme .vorteile-item       { color: rgba(0,0,0,0.75); }
.light-theme .vorteile-item:hover { color: #1A1A1A; }

/* --- Impressum / Datenschutz ---------------------------------------------- */
.light-theme .impressum-block {
  border-top-color: rgba(0,0,0,0.08);
  border-right-color: rgba(0,0,0,0.08);
}
.light-theme .impressum-block > h3 { color: rgba(0,0,0,0.88); }
.light-theme .impressum-block__content h3   { color: rgba(0,0,0,0.88); }
.light-theme .impressum-block__content p    { color: rgba(0,0,0,0.65); }
.light-theme .impressum-block__content ul li { color: rgba(0,0,0,0.65); }
.light-theme .impressum-block__content strong { color: rgba(0,0,0,0.88); }
.light-theme .impressum-block__content a {
  color: rgba(0,0,0,0.65);
  border-bottom-color: rgba(0,0,0,0.15);
}

/* --- Prose ---------------------------------------------------------------- */
.light-theme .prose h1, .light-theme .prose h2,
.light-theme .prose h3, .light-theme .prose h4,
.light-theme .prose h5, .light-theme .prose h6 { color: #1A1A1A; }
.light-theme .prose p              { color: rgba(0,0,0,0.65); }
.light-theme .prose li             { color: rgba(0,0,0,0.65); }
.light-theme .prose blockquote p   { color: rgba(0,0,0,0.75); font-style: italic; }
.light-theme .prose th             { color: #1A1A1A; }
.light-theme .prose strong         { color: #1A1A1A; }
