/* =============================================================================
   MiRADA – Systembetreuung & Automation
   Website-Stylesheet v1.0
   -----------------------------------------------------------------------------
   Aufbau:
     01  Design-Tokens
     02  Reset & Basis
     03  Typografie
     04  Layout-Helfer
     05  Buttons & Links
     06  Header & Navigation
     07  Hero
     08  Leistungs-Ribbon
     09  Sektionen
     10  Technologien
     11  Branchen / Insights / Band
     12  Unterseiten (Innenseiten, Artikel, Formular)
     13  Footer
     14  Bewegung & motion preferences
     15  Responsive
   ============================================================================= */

/* --- 01  Design-Tokens --------------------------------------------------- */
:root {
  /* Farbe */
  --red:        #A31228;
  --red-700:    #8A0F21;
  --red-600:    #C11B27;
  --red-400:    #E0243F;
  --red-tint:   #F6E9EB;
  --ink:        #121317;
  --ink-2:      #1C1F25;
  --muted:      #5C636E;
  --muted-2:    #858C97;
  --line:       #E4E6EB;
  --line-2:     #EFF1F4;
  --surface:    #F6F7F9;
  --surface-2:  #FBFBFC;
  --white:      #FFFFFF;

  /* Typografie */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Maße */
  --wrap:   1668px;
  --gutter: clamp(20px, 5.6vw, 94px);
  --radius: 14px;
  --radius-s: 8px;

  /* Bewegung */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur:  .38s;

  /* Ebenen */
  --z-header: 60;
  --z-menu:   70;
  --z-overlay: 80;
}

/* --- 02  Reset & Basis --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
  border-radius: 2px;
}

ul { margin: 0; padding: 0; list-style: none; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--red); color: #fff; }

/* --- 03  Typografie ------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 3px;
  height: 20px;
  background: var(--red);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.display-1 {
  font-size: clamp(38px, 3.35vw, 60px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  overflow-wrap: break-word;
  hyphens: auto;
}
.display-1 em { font-style: normal; color: var(--red); }

.display-2 {
  font-size: clamp(30px, 2.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  overflow-wrap: break-word;
  hyphens: auto;
}

.display-3 {
  font-size: clamp(22px, 1.55vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead {
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.62;
  color: #3C434E;
}

.text-muted { color: var(--muted); }
.small { font-size: 13px; }

/* --- 04  Layout-Helfer --------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: 1680px; }

.section { padding: clamp(64px, 7vw, 118px) 0; }
.section--tight { padding: clamp(48px, 5vw, 78px) 0; }
.section--surface { background: var(--surface); }
.section--surface-2 { background: var(--surface-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 62px);
}
.section-head .display-2 { margin-top: 20px; }
.section-head__text { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 52ch; }
.section-head--stacked { grid-template-columns: 1fr; gap: 20px; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .section-head__text { margin-inline: auto; }

.grid { display: grid; gap: 16px; }

/* --- 05  Buttons & Links ------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 26px;
  border: 0;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(163, 18, 40, .26); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  border: 1px solid #C2C8D2;
  color: var(--ink);
  clip-path: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); box-shadow: 0 10px 24px rgba(20, 26, 38, .1); }

.btn--light { --btn-bg: #fff; color: var(--red); }
.btn--light:hover { --btn-bg: #fff; color: var(--red-700); }

.btn--outline-light {
  --btn-bg: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  clip-path: none;
  border-radius: 3px;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--red-700); }
.link-arrow svg { width: 16px; height: 16px; flex: none; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- 06  Header & Navigation --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 251, 252, .72);
  border-bottom-color: rgba(255, 255, 255, .7);
  box-shadow: 0 12px 38px rgba(18, 22, 32, .08);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}
.brand__logo { width: 244px; }
.brand__divider {
  width: 1px;
  height: 46px;
  background: var(--line);
  transform: rotate(16deg);
  flex: none;
}
.brand__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1.85;
  color: var(--ink);
  text-transform: uppercase;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link:hover,
.nav__link[aria-current='page'] { color: var(--red); }
.nav__link svg { width: 11px; height: 11px; transition: transform var(--dur) var(--ease); }
.nav__item:hover .nav__link svg,
.nav__item:focus-within .nav__link svg { transform: rotate(180deg); }

.nav__item { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  min-width: 268px;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(18, 24, 38, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__sub a:hover { background: var(--red-tint); color: var(--red); }
.nav__sub a svg { width: 18px; height: 18px; flex: none; color: var(--red); }

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted-2);
  white-space: nowrap;
}
.nav__lang a { transition: color .2s var(--ease); }
.nav__lang a:hover { color: var(--ink); }
.nav__lang a[aria-current='true'] { color: var(--red); }
.nav__lang span { color: var(--line); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }
.nav-toggle[aria-expanded='true'] .icon-burger { display: none; }

/* Mobile-Navigation */
.mobile-nav {
  position: fixed;
  inset: 88px 0 0;
  z-index: var(--z-menu);
  background: rgba(255, 255, 255, .98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.mobile-nav .mobile-nav__sub {
  padding: 0 0 0 16px;
  border-bottom: 0;
}
.mobile-nav .mobile-nav__sub a {
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 0;
}
.mobile-nav .btn { margin-top: 26px; width: 100%; justify-content: center; }

/* --- 07  Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 50vw, 860px);
  background:
    radial-gradient(ellipse 70% 90% at 74% 40%, #E7EBF3 0%, rgba(231, 235, 243, 0) 62%),
    linear-gradient(180deg, #fff 0%, #FBFBFD 70%, #fff 100%);
}

/* Ring-Motiv (Logo) als eigenständiges Element */
.ring-motif {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ring-motif__arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 26px solid transparent;
}
.ring-motif--hero {
  width: 560px;
  height: 560px;
  right: 30%;
  top: -70px;
  opacity: .55;
}
.ring-motif--hero .ring-motif__arc {
  border-top-color: var(--red-400);
  border-right-color: var(--ink);
  transform: rotate(-24deg);
  filter: drop-shadow(0 14px 22px rgba(120, 10, 30, .16));
}

/* Hero-Artwork aus drei getrennten Ebenen.
   Jede Ebene ist ein eigenes Bild mit Transparenz und läuft beim Scrollen
   mit eigener Geschwindigkeit – dadurch entsteht Tiefe statt einer flachen
   Ebene. Reihenfolge im DOM = Reihenfolge von hinten nach vorn.
   Die Transform-Werte setzt app.js über die Variablen --tx/--ty/--sc. */
/* Atmosphäre: die Szene, in der die Objekte stehen. Ohne sie wirken sie
   wie aufgesetzt. Links blendet sie in die weiße Seite aus. */
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../assets/hero-atmo.webp') right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 26%, #000 52%), linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 26%, #000 52%), linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
  will-change: transform;
}

/* Weißer Lichtkegel hinter den Objekten – schiebt sie in der Szene nach
   vorn und nimmt den harten Konturen die Schwebekraft. */
.hero__stage::before {
  content: '';
  position: absolute;
  left: 42%;
  top: 6%;
  width: 54%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .45) 40%, rgba(255, 255, 255, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

/* Lichtstreifen laufen VOR den Objekten durch die Szene und verbinden sie
   mit dem Hintergrund. Multipliziert auf Weiß bleiben sie unsichtbar. */
.hero__streaks {
  position: absolute;
  inset: 0;
  z-index: 1;              /* hinter den Objekten: sie laufen nicht über
                               SPS und Dashboards hinweg */
  background: url('../assets/hero-streaks.webp') right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 62%), linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 62%), linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  mix-blend-mode: multiply;
  opacity: .75;
  pointer-events: none;
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 6;              /* über dem Ribbon-Wrap (z-index 5) */
  overflow: hidden;
  pointer-events: none;
  /* Unten weich ausblenden: die Hardware fliegt aus dem Ring heraus und
     löst sich dabei auf, statt am Hero-Rand abgeschnitten zu werden. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 150px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 150px), transparent 100%);
}
.hero__layer {
  position: absolute;
  will-change: transform;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(var(--sc, 1));
  transform-origin: var(--ox, 50%) var(--oy, 50%);
}
.hero__layer img {
  display: block;
  width: 100%;
  height: auto;
}

/* E1 – Ring (Markenkern), hinter allem, wandert am langsamsten */
.hero__layer--ring {
  width: min(600px, 40vw);
  right: 23%;
  top: 2%;
  z-index: 1;
}
/* E2 – SCADA-Screens, mittlere Ebene */
.hero__layer--screens {
  width: min(620px, 41vw);
  right: 0%;
  top: 9%;
  z-index: 2;
}
/* E3 – Hardware (Steuerungsmodule), vorderste Ebene, wandert am schnellsten */
.hero__layer--hardware {
  width: min(680px, 45vw);
  right: 5%;
  top: 37%;
  z-index: 3;
}
/* Das Hardwarebild ist zusätzlich in der Höhe begrenzt, damit es auf
   flachen Displays nicht aus dem Hero kippt. */
.hero__layer--hardware img {
  width: auto;
  max-width: 100%;
  max-height: 52vh;
  margin: 0 auto;
}

.hero__inner {
  position: relative;
  z-index: 8;              /* Text bleibt über allem */
  display: flex;
  align-items: center;
  min-height: clamp(620px, 50vw, 860px);
}
.hero__copy { width: min(640px, 52%); padding: 40px 0 132px; }
.hero__copy .display-1 { margin: 24px 0 22px; }
.hero__copy .lead { max-width: 520px; color: #3B424D; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* --- 08  Leistungs-Ribbon ------------------------------------------------ */
.ribbon-wrap {
  position: relative;
  z-index: 5;
  margin-top: -127px;
}
.ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(17, 24, 38, .11);
  overflow: hidden;
}
.ribbon__item {
  position: relative;
  display: flex;
  gap: 15px;
  min-width: 0;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.ribbon__item:hover { background: rgba(246, 233, 235, .55); }
/* Der Inhalt liegt über dem Stretched-Link, gibt aber keine Klicks an ihn
   weiter – so bleibt der externe Link in der Notizzeile klickbar. */
.ribbon__item > span {
  position: relative;
  z-index: 2;
  min-width: 0;
  pointer-events: none;
}
.ribbon__item p { overflow-wrap: break-word; hyphens: auto; }
.ribbon__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ribbon__link:focus-visible { outline: 3px solid var(--red-600); outline-offset: -4px; }
.ribbon__item:last-child { border-right: 0; }
.ribbon__icon {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--red);
}
.ribbon__icon svg { width: 100%; height: 100%; }
.ribbon__item b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.ribbon__item p {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.ribbon__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  pointer-events: auto;
}
.ribbon__note a {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}
.ribbon__note a:hover { text-decoration: underline; }

/* --- 09  Sektionen -------------------------------------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 30px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cap:hover {
  transform: translateY(-5px);
  border-color: #D8DCE3;
  box-shadow: 0 22px 48px rgba(19, 26, 40, .09);
}
.cap__index {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--red);
}
.cap__icon { width: 30px; height: 30px; color: var(--red); }
.cap h3 { font-size: 21px; }
.cap p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.cap__more {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.cap__more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.cap:hover .cap__more svg { transform: translateX(4px); }

/* Ring-Hintergrund in Sektionen */
.section--ringed { position: relative; overflow: hidden; }
.ring-motif--section {
  width: 520px;
  height: 520px;
  right: -190px;
  top: -160px;
  opacity: .5;
}
.ring-motif--section .ring-motif__arc {
  border-width: 34px;
  /* Alle vier Seiten eingefaerbt: der Ring wirkt dadurch als vollstaendiger
     Kreis und nicht wie unten abgeschnitten. */
  border-color: rgba(25, 27, 32, .07);
  border-top-color: rgba(176, 18, 47, .1);
  transform: rotate(-20deg);
}
.ring-motif--section-left { right: auto; left: -220px; top: auto; bottom: -180px; }

/* Stat-Leiste */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats__item { background: var(--white); padding: 30px 26px; }
.stats__value {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--red);
}
.stats__label { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* --- 10  Technologien ---------------------------------------------------- */
.tech-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(32px, 3.4vw, 54px);
  align-items: start;
}
.tech-copy .display-2 { margin: 20px 0 18px; font-size: clamp(27px, 2.15vw, 38px); }
.tech-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.72; }
.tech-copy__rule {
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 30px;
  background: var(--red);
}

.tech-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .62fr);
  gap: 14px;
  align-items: stretch;
}

/* Schräge Karte */
.tech-card {
  --skew: -11deg;
  position: relative;
  display: block;
  min-height: 300px;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transform: skewX(var(--skew));
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tech-card > *:not(.tech-card__visual) { transform: skewX(calc(-1 * var(--skew))); }
/* Das Produktmotiv wird bewusst mit der Karte verformt – es schmiegt sich
   in den Parallelogramm-Verlauf, statt über die Kartenkante zu stehen. */
.tech-card__visual { transform: none; }
.tech-card::after {
  content: '';
  position: absolute;
  left: 4%; right: 4%; bottom: -16px;
  height: 34px;
  background: radial-gradient(ellipse at center, rgba(224, 36, 63, .46), rgba(224, 36, 63, 0) 72%);
  filter: blur(9px);
  pointer-events: none;
}
.tech-card:hover {
  transform: skewX(var(--skew)) translateY(-6px);
  box-shadow: 0 28px 60px rgba(19, 26, 40, .13);
}
.tech-card__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.tech-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.tech-card__sub {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tech-card__text {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  max-width: 24ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}
.tech-card__cta {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tech-card:hover .tech-card__cta { background: var(--red); border-color: var(--red); color: #fff; }
.tech-card__cta svg { width: 17px; height: 17px; }

/* Produktgrafik in der Karte */
.tech-card--evon { background: linear-gradient(140deg, #fff 46%, #EFF2F6 100%); }
.tech-card--beckhoff { background: linear-gradient(140deg, #fff 46%, #EDEFF3 100%); }
.tech-card__visual {
  position: absolute;
  right: 3%;
  bottom: 7%;
  width: 48%;
  opacity: .96;
  z-index: 1;
  pointer-events: none;
}
/* Startseiten-Variante: Produktmotiv dominant, wie im Layout-Entwurf */
.tech-card--feature { min-height: 268px; padding: 28px 26px; }
/* Variante mit Beschreibungstext (Technologien-Seite) */
.tech-card--withtext { min-height: 330px; }
.tech-card--withtext .tech-card__text { max-width: 22ch; }
.tech-card--withtext .tech-card__visual { width: 44%; right: 2%; bottom: 4%; }
.tech-card--withtext .tech-card__visual--panel { width: 46%; bottom: 4%; }
.tech-card--feature .tech-card__visual {
  right: -2%;
  bottom: 0;
  width: 64%;
}
.tech-card--feature .tech-card__cta { right: 30px; bottom: 26px; }
/* Das Visualisierungspanel bekommt eine leichte Perspektive, damit es sich
   in die Bildwelt der Karten einfügt. */
.tech-card__visual--panel {
  width: 58%;
  right: 2%;
  bottom: 2%;
  transform: perspective(760px) rotateY(-11deg);
  transform-origin: right center;
}
/* XAMControl-Oberflaeche als Hintergrundbild der EVON-Karte: leicht
   schraeg gestellt und nach hinten ausgeblendet. */
.tech-card .tech-card__visual--screen {
  width: 84%;
  right: -5%;
  bottom: -3%;
  transform: perspective(900px) rotateY(-13deg) rotateZ(-1.6deg);
  transform-origin: right center;
  opacity: .95;
  filter: drop-shadow(0 18px 38px rgba(20, 26, 40, .20));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 6%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 6%, #000 22%, #000 100%);
}
.tech-card .tech-card__visual--screen img { display: block; }
.tech-card__visual img { width: 100%; height: auto; }
/* Das Beckhoff-Bild ist hoeher als das EVON-Bild -> etwas schmaler,
   damit es nicht in den Beschreibungstext laeuft. */
.tech-card--beckhoff .tech-card__visual--screen { width: 72%; }

/* HMI-Panel (SVG, scharf skalierbar) */

/* Hersteller-Wortmarken */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.wordmark__mark { height: 30px; width: auto; flex: none; }
.wordmark__text { display: grid; gap: 4px; }
.wordmark__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
}
.wordmark__name sup { font-size: .45em; top: -.7em; }
.wordmark__sub {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.wordmark__sub sup { font-size: .7em; }
/* Echte Logo-Dateien (EVON, BECKHOFF, COPA-DATA).
   Die Höhen sind so gewählt, dass die Schrift in allen drei Logos gleich
   hoch wirkt – bei COPA-DATA ist das Icon Teil der Datei und deshalb
   optisch grösser. */
.wordmark--logo { display: inline-flex; align-items: center; gap: 0; }
.wordmark__logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 100%;
}
.wordmark--copadata .wordmark__logo { height: 45px; }

.wordmark--siemens { color: #009999; }
.wordmark--copadata { color: #1A1A1A; }
.wordmark--evon { color: #C80000; }
.wordmark--br { color: #B51230; }
.wordmark--beckhoff { color: #E2001A; }
.wordmark--evon .wordmark__name { color: #17191E; }
.wordmark--evon .wordmark__sub { color: #17191E; opacity: .78; }
.partner__title { margin: 0 0 14px; }
.partner__title .wordmark__name { font-size: 24px; }
.partner__title .wordmark__logo { height: 30px; }
.partner__title .wordmark--br .wordmark__logo { height: 36px; }

/* Die Spalte der kleineren Karten fuellt die volle Hoehe der beiden
   grossen Parallelogramm-Karten – die Unterkante bleibt buendig. */
.tech-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 100%;
}
.tech-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 118px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tech-row:hover {
  transform: translateY(-4px);
  border-color: #D8DCE3;
  box-shadow: 0 20px 44px rgba(19, 26, 40, .1);
}
.tech-row .wordmark__name { font-size: 18px; }
.tech-row .wordmark__mark { height: 24px; }
.tech-row .wordmark__logo { height: 22px; }
.tech-row .wordmark--br .wordmark__logo { height: 26px; }
/* COPA-DATA: das Bild ist 5,6:1 breit – ohne max-width bleibt das
   Seitenverhaeltnis erhalten, das Logo wird also nicht gestaucht. */
.tech-row .wordmark--copadata .wordmark__logo { height: 22px; max-width: none; }
.tech-row__mark { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tech-row__sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tech-row__label { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.tech-row__cta {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tech-row:hover .tech-row__cta { background: var(--red); color: #fff; }
.tech-row__cta svg { width: 16px; height: 16px; }

/* --- 11  Branchen / Insights / Band --------------------------------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.industry:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(19, 26, 40, .09); }
.industry__icon { width: 34px; height: 34px; color: var(--red); }
.industry h3 { margin-top: 22px; font-size: 19px; }
.industry p { margin: 10px 0 0; font-size: 14px; line-height: 1.68; color: var(--muted); }
.industry__more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.industry__more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.industry:hover .industry__more svg { transform: translateX(4px); }

.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #6E0C1D 0%, #A31228 52%, #C11B27 100%);
  color: #fff;
  padding: clamp(60px, 7vw, 104px) 0;
}
.band::before {
  content: '';
  position: absolute;
  right: -140px; top: -180px;
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .06);
  border-top-color: rgba(255, 255, 255, .14);
  transform: rotate(-24deg);
}
.band .eyebrow { color: rgba(255, 255, 255, .82); }
.band .eyebrow::before { background: #fff; }
.band__inner { position: relative; z-index: 2; max-width: 880px; margin: 0; }
.band .display-2 { margin: 22px 0 20px; }
.band p { font-size: 17px; line-height: 1.72; color: rgba(255, 255, 255, .84); max-width: 66ch; }
.band .btn { margin-top: 32px; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.insight {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.insight__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.insight__meta time { color: var(--muted-2); letter-spacing: .1em; }
.insight h3 { margin: 16px 0 12px; font-size: 21px; line-height: 1.28; }
.insight p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.insight__more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.insight__more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.insight:hover .insight__more svg { transform: translateX(4px); }

/* Partner */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.partner {
  padding: 32px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.partner h3 { margin: 18px 0 12px; font-size: 19px; }
.partner p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.partner__url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.partner__url svg { width: 14px; height: 14px; }

/* Partnerschaft seit … – kleine Plakette unter dem Logo */
.partner__since {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 11px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-tint);
  border-radius: 4px;
}

/* Weitere Partnerschaft – nachrangige Leiste unter den Hauptpartnern */
.partner-more {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 16px;
  padding: 26px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.partner-more__label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.partner__title--inline { margin: 10px 0 0; }
.partner__title--inline .wordmark__logo { height: 24px; }
.partner__title--inline .wordmark--br .wordmark__logo { height: 29px; }
.partner__since--inline { margin: 10px 0 0; }
.partner-more__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}
.partner__url--inline { margin-top: 0; white-space: nowrap; }

/* --- 12  Unterseiten ------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) 0 clamp(44px, 5vw, 72px);
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-2);
}
.page-hero .display-1 { margin: 22px 0 18px; }
.page-hero .lead { max-width: 62ch; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { color: var(--line); }

.prose {
  max-width: 780px;
  font-size: 16.5px;
  line-height: 1.82;
  color: #414852;
}
.prose--wide { max-width: 1080px; }
.seo-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}
.prose h2 { margin: 52px 0 18px; font-size: clamp(24px, 2.1vw, 32px); }
.prose h3 { margin: 38px 0 14px; font-size: 20px; }
.prose ul, .prose ol {
  margin: 0 0 1.4em;
  padding-left: 1.25em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .6em; padding-left: .15em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose li > ul, .prose li > ol { margin: .5em 0 .2em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 36px 0; }
.prose figcaption { margin-top: 12px; font-size: 13px; color: var(--muted-2); }

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.aside-card {
  position: sticky;
  top: 112px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.aside-card h3 { font-size: 17px; margin-bottom: 14px; }
.aside-card li { border-top: 1px solid var(--line); }
.aside-card li:first-child { border-top: 0; }
.aside-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.aside-card a:hover { color: var(--red); }
.aside-card a svg { width: 14px; height: 14px; flex: none; color: var(--muted-2); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-card:hover {
  transform: translateY(-4px);
  border-color: #D8DCE3;
  box-shadow: 0 20px 44px rgba(19, 26, 40, .09);
}
.link-card h3 { font-size: 19px; }
.link-card p { margin: 0; font-size: 14px; line-height: 1.68; color: var(--muted); }
.link-card__icon { width: 28px; height: 28px; color: var(--red); margin-bottom: 6px; }

/* Artikel */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 26px 0 8px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

.article-teaser {
  font-size: 20px;
  line-height: 1.6;
  color: #3C434E;
  max-width: 70ch;
}

/* Formular */
.form-grid {
  display: grid;
  gap: 16px;
  max-width: 640px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 15px;
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #CBD0D9;
  border-radius: var(--radius-s);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(163, 18, 40, .1);
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field__hint { font-size: 12.5px; color: var(--muted-2); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.field--check label { font-weight: 500; font-size: 14px; line-height: 1.6; color: var(--muted); }
.form-note { font-size: 12.5px; line-height: 1.6; color: var(--muted-2); }
.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-s);
  font-size: 14px;
  background: var(--red-tint);
  border: 1px solid rgba(163, 18, 40, .18);
  color: var(--red-700);
  margin: 0 0 20px;
}
.form-alert--ok {
  background: #EDF7F0;
  border-color: rgba(30, 122, 60, .22);
  color: #1C6B36;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.contact-list { display: grid; gap: 4px; }
.contact-list__row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-list__row:first-child { border-top: 0; }
.contact-list__icon { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 3px; }
.contact-list__label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.contact-list__value { margin-top: 5px; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.contact-list__value a:hover { color: var(--red); }

/* Status-Panel: Betriebsstatus der für Kunden betriebenen Systeme */
.status-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
}
.status-panel__head { max-width: 46ch; }
.status-panel__title {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-top: 14px;
}
.status-panel__lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.status-panel__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.status-panel__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-2);
}
.status-dot {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 3px;
  background: #C3C8D0;
  box-shadow: 0 0 0 4px rgba(195, 200, 208, .18);
}
.status-dot--up       { background: #2E9E5B; box-shadow: 0 0 0 4px rgba(46, 158, 91, .15); }
.status-dot--degraded { background: #E08A1E; box-shadow: 0 0 0 4px rgba(224, 138, 30, .15); }
.status-dot--down     { background: var(--red); box-shadow: 0 0 0 4px rgba(163, 18, 40, .13); }
.status-panel__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.status-panel__detail {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.status-panel__foot {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-2);
}
.status-panel__state {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.status-panel__cta { margin-top: 24px; }

/* --- 12b  CV / Projekt-Historie (versteckte Seite) ------------------------ */
.cv-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cv-profile__who { display: grid; gap: 6px; }
.cv-profile__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.cv-profile__role {
  font-size: 14px;
  color: var(--muted);
}
.cv-profile__contact {
  display: grid;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}
.cv-profile__contact a { color: var(--ink); font-weight: 600; }
.cv-profile__contact a:hover { color: var(--red); }
@media (max-width: 760px) {
  .cv-profile__contact { text-align: left; }
}

.cv-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.cv-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.cv-table th {
  position: sticky;
  top: 0;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.cv-table td {
  padding: 15px 16px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  vertical-align: top;
}
.cv-table td:first-child {
  width: 118px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.cv-table td:nth-child(2) { color: var(--ink); font-weight: 600; }
.cv-table tbody tr:hover td { background: var(--surface); }
.cv-note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-2);
}
@media (max-width: 760px) {
  .cv-table { font-size: 13px; }
  .cv-table th, .cv-table td { padding: 12px 13px; }
}

/* --- 13  Footer ----------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(52px, 6vw, 82px) 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 60px);
}
.footer-brand img { width: 210px; }
.footer-brand p {
  margin-top: 20px;
  max-width: 38ch;
  font-size: 13.5px;
  line-height: 1.72;
  color: #AEB3BC;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: 13.5px;
  color: #AEB3BC;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-col a[aria-current='page'] { color: #fff; font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid #2B2F37;
  font-size: 12.5px;
  color: #868C96;
}
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* --- 14  Bewegung --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: .08s; }
.reveal[data-delay='2'] { transition-delay: .16s; }
.reveal[data-delay='3'] { transition-delay: .24s; }
.reveal[data-delay='4'] { transition-delay: .32s; }

.skeleton-ring { animation: ring-spin 26s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* --- 15  Responsive ------------------------------------------------------- */
@media (max-width: 1240px) {
  .brand__tag { display: none; }
  .brand__divider { display: none; }
  .nav__list { gap: 22px; }
  .tech-cards { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); }
  .tech-cards .tech-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .header-inner { height: 78px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { inset: 78px 0 0; }
  .hero { min-height: auto; }
  .hero__inner { min-height: auto; }
  .hero__copy { width: 100%; padding: 48px 0 350px; }
  .hero__scene, .hero__streaks {
    inset: auto 0 0 0;
    height: 340px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
  }
  .hero__stage {
    inset: auto 0 0 0;
    height: 330px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 calc(100% - 70px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 calc(100% - 70px), transparent 100%);
  }
  .hero__layer--ring { width: 330px; right: 34%; top: -32%; }
  .hero__layer--screens { width: 320px; right: -8%; top: -6%; }
  .hero__layer--hardware { width: 330px; right: 2%; top: 26%; }
  .ribbon-wrap { margin-top: -40px; }
  .ribbon { grid-template-columns: repeat(3, 1fr); }
  .ribbon__item:nth-child(3) { border-right: 0; }
  .ribbon__item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .seo-split { grid-template-columns: 1fr; gap: 20px; }
  .tech-layout { grid-template-columns: 1fr; }
  .tech-cards { grid-template-columns: repeat(2, 1fr); }
  .tech-cards .tech-stack { grid-column: 1 / -1; }
  .content-split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .insight-grid, .partner-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .header-inner { height: 72px; }
  .mobile-nav { inset: 72px 0 0; }
  .brand__logo { width: 176px; }
  .hero__copy { padding: 36px 0 320px; }
  .hero .display-1 { font-size: clamp(28px, 7.4vw, 44px); }
  .hero__stage { height: 300px; }
  .hero__layer--ring { width: 280px; right: 26%; top: -34%; }
  .hero__layer--screens { width: 290px; right: -10%; top: -6%; }
  .hero__layer--hardware { width: 300px; right: 0%; top: 24%; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .ribbon { grid-template-columns: 1fr; }
  .ribbon__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 18px; }
  .ribbon__item:last-child { border-bottom: 0; }
  .ribbon__note { justify-content: flex-start; padding: 0 18px 16px; }
  .tech-cards { grid-template-columns: 1fr; }
  .tech-cards .tech-stack { grid-template-columns: 1fr; }
  .tech-card { min-height: 216px; }
  .cap-grid, .industry-grid, .insight-grid, .partner-grid, .card-grid, .card-grid--2, .stats { grid-template-columns: 1fr; }
  .partner-more { grid-template-columns: 1fr; gap: 18px; padding: 24px 22px; }
  .partner__url--inline { margin-top: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .ring-motif--section { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ribbon { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* --- Plattform-Bereich (Technologie-Seiten) --------------------------------- */
.platform {
  background: linear-gradient(180deg, #fff 0%, #F7F8FA 100%);
  border-top: 1px solid var(--line);
}
.platform__head {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 46px;
}
.platform__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.platform__logo .wordmark__logo { height: 26px; }
.platform__logo .wordmark--br .wordmark__logo { height: 31px; }
.platform__product {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.platform__lead .display-2 { margin: 14px 0 20px; }
.platform__lead p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  color: #3B424D;
}

/* Zwei Bewerbungspunkte: EMS und digitales Audit */
.platform__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}
.platform__highlight {
  position: relative;
  padding: 32px 32px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(19, 26, 40, .05);
}
.platform__highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--red);
}
.platform__highlight-icon svg { width: 30px; height: 30px; }
.platform__highlight h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.platform__highlight p { font-size: 16px; line-height: 1.68; color: #3B424D; }

/* Funktionsgruppen */
.platform__groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 56px;
  background: var(--line);
  border: 1px solid var(--line);
}
/* Letzte Karte über zwei Spalten – so schließt das Raster ohne Lücke. */
.platform__group:last-child { grid-column: span 2; }
.platform__group {
  padding: 30px 28px 32px;
  background: var(--white);
}
.platform__group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--red);
}
.platform__group-icon svg { width: 26px; height: 26px; }
.platform__group h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 9px;
}
.platform__group p { font-size: 15px; line-height: 1.62; color: #4B5462; }

/* Kennzahlen */
.platform__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}
.platform__stat { display: grid; gap: 6px; }
.platform__stat-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--red);
}
.platform__stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
.platform__stat-sub {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
  max-width: 40ch;
}

/* Protokolle, Feldgeräte, Link */
.platform__foot { display: grid; gap: 12px; }
.platform__protocols,
.platform__devices {
  font-size: 14px;
  line-height: 1.7;
  color: #4B5462;
}
.platform__protocols { font-weight: 600; color: #2A303B; }
.platform__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  margin-top: 14px;
  padding: 13px 22px;
  border: 1px solid var(--red);
  border-radius: 3px;
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.platform__cta svg { width: 18px; height: 18px; }
.platform__cta:hover { background: var(--red); color: #fff; }

@media (max-width: 1080px) {
  .platform__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .platform__intro { flex-direction: row; align-items: center; gap: 16px; }
  .platform__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform__group:last-child { grid-column: span 2; }
  .platform__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
}

@media (max-width: 760px) {
  .platform__highlights { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .platform__groups { grid-template-columns: 1fr; }
  .platform__group:last-child { grid-column: span 1; }
  .platform__stats { grid-template-columns: 1fr; gap: 20px; }
  .platform__stat-value { font-size: 30px; }
  .platform__stat-label { hyphens: auto; }
  .platform__lead p { font-size: 16px; }
}

/* --- FAQ ------------------------------------------------------------------ */
.faq {
  margin: 44px 0 8px;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  margin-left: auto;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); margin-top: 11px; }
.faq__q:hover { color: var(--red); }
.faq__a {
  padding: 0 40px 24px 0;
  max-width: 820px;
}
.faq__a p { font-size: 16px; line-height: 1.68; color: #4B5462; }

@media (max-width: 760px) {
  .faq__q { font-size: 17px; gap: 12px; }
  .faq__a { padding-right: 0; }
}

/* --- Motto --------------------------------------------------------------- */
.hero__motto {
  max-width: 460px;
  margin-top: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.015em;
  color: var(--ink);
}
.footer-motto {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #fff;
}
.footer-brand p + p { margin-top: 12px; }
@media (max-width: 760px) {
  .hero__motto { font-size: 17px; margin-top: 24px; }
  .footer-motto { font-size: 15px; }
}

/* Produktbezeichnung unter der Wortmarke (z. B. XAMControl beim EVON-Logo) */
.partner__label {
  display: block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- Fusszeile: Kontakt, Projekte --------------------------------------- */
.footer-col--contact .footer-contact { margin-bottom: 26px; }
.footer-col--contact .footer-contact__addr { color: var(--muted); }
.footer-subhead {
  margin: 22px 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-subhead:first-of-type { margin-top: 0; }
