/* InnovationX Holding GmbH, statische Website 10/2026
   Kein JavaScript: Farbwechsel, Fortschrittsbalken und Schaltblitz laufen über CSS. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/instrument-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/instrument-sans-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;
}

:root {
  --paper: #FAF9F6;
  --white: #FFFFFF;
  --card: #F2F1EC;
  --line: #E4E1D9;
  --line-soft: #E7E4DD;
  --ink: #1C1F22;
  --anth: #43484C;
  --text: #3A3F43;
  --grey: #5F6468;
  --grey-small: #686D72;
  --grey-large: #868B90;
  --dark: #1D2023;
  --dark-line: #33373B;
  --dark-text: #F3F4F4;
  --dark-grey: #A3A8AC;
  --dark-grey-large: #7E8489;
  --blue: #07A1E2;
  --gold: #E5BB26;
  --teal: #63A8A1;
  --red: #CB5A2C;
  --green: #A9C937;
  --gutter: clamp(16px, 6.67vw, 96px);
  --cycle: 11.2s;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: var(--ink); }
a:hover { color: var(--anth); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(1248px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 2px;
}
.skip:focus { top: 12px; color: var(--paper); }

/* Haarlinien am Seitenrand */
@media (min-width: 1200px) {
  .page::before, .page::after {
    content: ""; position: fixed; top: 0; bottom: 0; width: 0;
    border-left: 1px dashed #E3E0D8; pointer-events: none; z-index: -1;
  }
  .page::before { left: 48px; }
  .page::after { right: 48px; }
}

/* Kopf */
.site-header { border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand img { width: auto; height: 32px; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 2px;
}
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2B2F33; color: var(--paper); }
.btn-light { background: var(--white); color: var(--ink); border: 1px solid #D9D6CE; }
.btn-light:hover { border-color: #BDB9AF; color: var(--ink); }
.nav .btn { height: 40px; padding: 0 18px; color: var(--paper); }

/* Kleine Markierung: farbiger Strich aus dem X */
.leg { width: 10px; height: 13px; flex: none; }
.leg path { fill: var(--c, var(--blue)); }

.label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--grey); }

/* Einstieg */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; color: var(--grey);
}
.hero h1 { margin-top: 28px; max-width: 1200px; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -0.03em; }
.tone { display: block; color: var(--grey-large); }
.hero .lead { margin-top: 26px; max-width: 700px; font-size: clamp(17px, 1.5vw, 19px); color: var(--grey); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Schwerpunkte-Leiste */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.strip a {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
  padding: 20px 26px 22px; background: var(--white); color: var(--ink); text-decoration: none;
  transition: background-color 0.3s ease;
}
.strip .name { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.strip .name .leg { width: 11px; height: 14px; }
.strip .sub { font-size: 13px; color: var(--grey-small); }
.strip .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left center; }

/* Farbcode je Schwerpunkt */
.k-1 { --c: var(--gold); --dl: 0s; }
.k-2 { --c: var(--blue); --dl: 2.8s; }
.k-3 { --c: var(--teal); --dl: 5.6s; }
.k-4 { --c: var(--red); --dl: 8.4s; }

/* Abschnitte */
.section { padding-top: clamp(80px, 9vw, 128px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section h2 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.025em; }
.xsig { width: 100px; height: 116px; flex: none; }
.xsig .xmain { fill: var(--anth); }
.xsig .xleg { fill: var(--blue); }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.card {
  display: flex; flex-direction: column; min-height: 300px; padding: 28px;
  background: var(--card); border: 1px solid var(--line);
  transition: background-color 0.45s ease, border-color 0.45s ease;
}
.card .leg { width: 18px; height: 23px; }
.card .body { padding-top: 64px; }
.card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.card h3 .tone { color: var(--grey-small); }
.card p { margin-top: 14px; font-size: 15px; color: var(--grey); }
.note { margin-top: 20px; font-size: 14px; color: var(--grey-small); }

/* Ansatz */
.panel {
  position: relative; overflow: hidden; margin-top: clamp(80px, 9vw, 128px);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(36px, 4.5vw, 64px);
  background-color: var(--dark);
  background-image: radial-gradient(ellipse 55% 75% at 86% 100%, rgba(7, 161, 226, 0.30), rgba(7, 161, 226, 0) 72%);
  color: var(--dark-text);
}
.panel .xdeco { position: absolute; right: 56px; bottom: -48px; width: 430px; height: 498px; }
.panel .xdeco .xmain { fill: #FFFFFF; fill-opacity: 0.06; }
.panel .xdeco .xleg { fill: var(--blue); }
.panel-inner { position: relative; max-width: 780px; }
.panel .label { color: var(--dark-grey); }
.panel h2 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.025em; }
.panel h2 .tone { color: var(--dark-grey-large); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 48px; }
.principles div { padding: 28px 0; border-top: 1px solid var(--dark-line); }
.principles h3 { font-size: 20px; }
.principles p { margin-top: 10px; font-size: 16px; color: var(--dark-grey); }

/* Kontakt */
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: clamp(80px, 8vw, 120px); }
.contact h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.contact .lead { margin-top: 22px; max-width: 600px; font-size: 18px; color: var(--grey); }
.contact-line { margin-top: 18px; font-size: 15px; color: var(--grey-small); }
.contact-line a { color: var(--text); }

/* Schaltblitz im Knopf */
.btn-led {
  display: inline-flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 32px;
  padding: 11px 26px 13px; background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 2px;
}
.btn-led:hover { color: var(--paper); }
.btn-led .label-row { display: flex; align-items: center; gap: 10px; }
.btn-led .label-row svg { width: 16px; height: 16px; }
.leds { display: flex; gap: 5px; }
.led { width: 6px; height: 6px; border-radius: 50%; background: #3A3F43; transition: background-color 0.1s ease, box-shadow 0.1s ease; }
.led:nth-child(-n+3) { --l: var(--green); }
.led:nth-child(n+4):nth-child(-n+6) { --l: var(--gold); }
.led:nth-child(n+7) { --l: var(--red); }
.led:nth-child(1) { --d: 0ms; }
.led:nth-child(2) { --d: 65ms; }
.led:nth-child(3) { --d: 130ms; }
.led:nth-child(4) { --d: 195ms; }
.led:nth-child(5) { --d: 260ms; }
.led:nth-child(6) { --d: 325ms; }
.led:nth-child(7) { --d: 390ms; }
.led:nth-child(8) { --d: 455ms; }
.led:nth-child(9) { --d: 520ms; }
.btn-led:is(:hover, :focus-visible, :active) .led {
  background: var(--l); box-shadow: 0 0 7px var(--l); transition-delay: var(--d);
  animation: shift 0.32s steps(1, end) 0.7s infinite;
}
@keyframes shift { 50% { opacity: 0.25; } }

/* Fuß */
.site-footer { border-top: 1px solid var(--line-soft); padding-top: 56px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-top img { width: auto; height: 88px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 72px; font-size: 15px; line-height: 1.7; }
.footer-cols div { display: flex; flex-direction: column; }
.footer-cols .head { margin-bottom: 8px; font-size: 13px; color: var(--grey-small); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--grey-small); }

/* Rechtstexte */
.legal { max-width: calc(760px + 2 * var(--gutter)); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(64px, 7vw, 104px); }
.legal h1 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.legal .meta { margin-top: 10px; font-size: 15px; color: var(--grey-small); }
.legal h2 { margin-top: 40px; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.legal p { margin-top: 12px; color: var(--text); }
.legal .box { margin-top: 40px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); }
.legal .box h2 { margin-top: 0; }
.back { display: inline-flex; margin-top: 48px; font-size: 15px; }

/* Bewegung: Farbwechsel im Takt von 2,8 s, nur ohne „Bewegung reduzieren“ */
@media (prefers-reduced-motion: no-preference) {
  .strip a.cyc { animation: stripOn var(--cycle) ease var(--dl, 0s) infinite; }
  .strip a.cyc .bar { animation: barFill var(--cycle) linear var(--dl, 0s) infinite; }
  .card.cyc { animation: cardOn var(--cycle) ease var(--dl, 0s) infinite; }
  .xsig .xleg.cyc { animation: legCycle var(--cycle) ease 0s infinite; }
}

@keyframes stripOn {
  0%, 23% { background-color: color-mix(in srgb, var(--c) 9%, #FFFFFF); }
  27%, 96% { background-color: #FFFFFF; }
  100% { background-color: color-mix(in srgb, var(--c) 9%, #FFFFFF); }
}
@keyframes barFill {
  0% { transform: scaleX(0); }
  25% { transform: scaleX(1); }
  25.01%, 100% { transform: scaleX(0); }
}
@keyframes cardOn {
  0%, 23% { background-color: color-mix(in srgb, var(--c) 16%, #F2F1EC); border-color: color-mix(in srgb, var(--c) 55%, #E4E1D9); }
  27%, 96% { background-color: #F2F1EC; border-color: #E4E1D9; }
  100% { background-color: color-mix(in srgb, var(--c) 16%, #F2F1EC); border-color: color-mix(in srgb, var(--c) 55%, #E4E1D9); }
}
@keyframes legCycle {
  0%, 22% { fill: #E5BB26; }
  25%, 47% { fill: #07A1E2; }
  50%, 72% { fill: #63A8A1; }
  75%, 97% { fill: #CB5A2C; }
  100% { fill: #E5BB26; }
}

/* Maus oder Tastatur auf einem Schwerpunkt hält den Wechsel an und zeigt diesen Bereich */
.page:has(.k-1:is(:hover, :focus-visible)) :is(.cyc, .cyc .bar),
.page:has(.k-2:is(:hover, :focus-visible)) :is(.cyc, .cyc .bar),
.page:has(.k-3:is(:hover, :focus-visible)) :is(.cyc, .cyc .bar),
.page:has(.k-4:is(:hover, :focus-visible)) :is(.cyc, .cyc .bar) { animation: none; }

.page:has(.k-1:is(:hover, :focus-visible)) .strip .k-1,
.page:has(.k-2:is(:hover, :focus-visible)) .strip .k-2,
.page:has(.k-3:is(:hover, :focus-visible)) .strip .k-3,
.page:has(.k-4:is(:hover, :focus-visible)) .strip .k-4 { background-color: color-mix(in srgb, var(--c) 9%, #FFFFFF); }

.page:has(.k-1:is(:hover, :focus-visible)) .strip .k-1 .bar,
.page:has(.k-2:is(:hover, :focus-visible)) .strip .k-2 .bar,
.page:has(.k-3:is(:hover, :focus-visible)) .strip .k-3 .bar,
.page:has(.k-4:is(:hover, :focus-visible)) .strip .k-4 .bar { transform: scaleX(1); transition: transform 0.3s ease; }

.page:has(.k-1:is(:hover, :focus-visible)) .card.k-1,
.page:has(.k-2:is(:hover, :focus-visible)) .card.k-2,
.page:has(.k-3:is(:hover, :focus-visible)) .card.k-3,
.page:has(.k-4:is(:hover, :focus-visible)) .card.k-4 {
  background-color: color-mix(in srgb, var(--c) 16%, #F2F1EC);
  border-color: color-mix(in srgb, var(--c) 55%, #E4E1D9);
}

.page:has(.k-1:is(:hover, :focus-visible)) .xsig .xleg { fill: var(--gold); }
.page:has(.k-2:is(:hover, :focus-visible)) .xsig .xleg { fill: var(--blue); }
.page:has(.k-3:is(:hover, :focus-visible)) .xsig .xleg { fill: var(--teal); }
.page:has(.k-4:is(:hover, :focus-visible)) .xsig .xleg { fill: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip a, .card, .led { transition: none; }
  .btn-led:is(:hover, :focus-visible, :active) .led { animation: none; transition-delay: 0s; }
}

/* Tablet */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 0; }
  .card .body { padding-top: 40px; }
  .panel .xdeco { width: 300px; height: 348px; right: 24px; opacity: 0.6; }
}

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

/* Smartphone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 68px; }
  .brand img { height: 26px; }
  .nav { gap: 0; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .pill { font-size: 13px; }
  .strip a { padding: 15px 12px 17px 14px; }
  .strip .name { font-size: 14.5px; gap: 7px; letter-spacing: -0.01em; }
  .strip .name .leg { width: 9px; height: 12px; }
  .strip .sub { font-size: 12.5px; }
  .section-head { align-items: flex-start; }
  .xsig { width: 56px; height: 65px; margin-top: 4px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .card .body { padding-top: 28px; }
  .panel .xdeco { width: 180px; height: 209px; right: -24px; bottom: -64px; opacity: 0.3; }
  .contact .lead { font-size: 17px; }
  .contact-line a, .contact-line span { display: inline-block; }
  .footer-top img { height: 72px; }
}
