/* skeirs.com v4 — dunkel, modernisiert, mit ruhiger Bewegung · Worker Bee Design im Auftrag des Design Minions · 08.10.2026
   (v4 = v3.2 + Abschnitt „Bewegung“ am Dateiende und die Hover-Regeln der Karten, Links, Buttons)
   Grundlage: doku/Gestaltungskonzept_2026-10-08.md, 50_Brand/Brand_Vorgaben.md v1.1 */
/* Work Sans, selbst gehostet (SIL Open Font License 1.1, siehe ../fonts/OFL.txt). Variable Schrift, Gewichte 300–600, Schnitt normal.
   Quelle der Dateien: Google Fonts (v24), Abruf 08.10.2026, siehe QUELLEN.md. */
@font-face {
  font-family: "Work Sans"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/WorkSans-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: "Work Sans"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/WorkSans-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 {
  /* Tokens */
  --bg: #0E0E0D;          /* Grund */
  --surface: #1D1D1B;     /* Flächen (Logo-Dunkel) */
  --text: #EDEDED;        /* Text, ca. 17:1 auf Grund */
  --muted: #A6A6A6;       /* gedämpft, ca. 8:1 */
  --line: #2A2A28;        /* Linien, Rahmen */
  --cyan: #00B1EA;        /* Logo-Cyan: Halbmond, Hervorhebung, Linien, Icons, Links (ca. 8:1 auf Grund) */
  --cyan-deep: #007AA3;   /* nur Mockup-Verläufe */
  --font: "Work Sans", system-ui, sans-serif;
  --max: 1200px;
  --gutter: 16px;
  --space: 8px;
  --header-h: 72px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);   /* Kurve aller Bewegungen */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
strong { color: var(--cyan); font-weight: 500; }
.turquoise { color: var(--cyan); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 300;
  background: var(--cyan); color: var(--bg); padding: 8px 16px; border-radius: 6px; font-weight: 500;
}
.skip:focus { top: 8px; }

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

/* ---------- Kopf ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* Hintergrund und Unschärfe liegen im Pseudo-Element: ein backdrop-filter am Kopf selbst würde das mobile Vollflächen-Menü (position: fixed) auf die Kopfhöhe begrenzen */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 14, 13, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background .25s ease;
}
/* Lesefortschritt: 2 px Cyan-Linie am unteren Rand des Kopfes; --progress setzt site.js (0 bis 1). Ohne JavaScript bleibt sie bei 0 und damit unsichtbar. */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 1; pointer-events: none;
  background: var(--cyan); transform: scaleX(var(--progress, 0)); transform-origin: left center;
}
.header__inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .25s ease;
}
.site-header.is-scrolled::before { background: rgba(14, 14, 13, 0.92); }
.site-header.is-scrolled .header__inner { height: 56px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 40px; width: auto; transition: height .25s ease; }
.site-header.is-scrolled .logo img { height: 36px; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav li a {
  color: var(--text); text-decoration: none; font-weight: 400; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav li a:hover, .main-nav li a:focus-visible { color: var(--cyan); }
.main-nav li a[aria-current="page"] { border-bottom-color: var(--cyan); }
.btn {
  display: inline-block; color: var(--cyan); text-decoration: none; font-weight: 500; font-size: .95rem;
  border: 1.5px solid var(--cyan); border-radius: 999px; padding: 8px 20px; line-height: 1.4;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--cyan); color: var(--bg); }

.nav-toggle { display: none; }

@media (max-width: 819px) {
  :root { --header-h: 64px; }
  .logo img { height: 36px; }
  .header__inner { gap: 12px; }
  /* ohne JavaScript bleibt das Menü sichtbar und umbricht unter dem Logo */
  html:not(.js) .header__inner { flex-wrap: wrap; height: auto; padding-block: 8px; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .main-nav { flex-wrap: wrap; gap: 12px 20px; }
  html:not(.js) .main-nav ul { flex-wrap: wrap; gap: 8px 20px; }
  html:not(.js) main { padding-top: 0; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: none; border: 1.5px solid var(--line); border-radius: 10px; color: var(--text); cursor: pointer;
  }
  .nav-toggle:hover { border-color: var(--cyan); }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    transition: transform .2s ease, background .2s ease;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 32px var(--gutter); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .main-nav ul { flex-direction: column; gap: 4px; }
  .js .main-nav li a { display: block; font-size: 1.6rem; font-weight: 300; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .js .main-nav li a[aria-current="page"] { border-bottom-color: var(--cyan); }
  .js .main-nav .btn { align-self: flex-start; font-size: 1.05rem; padding: 12px 28px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Abschnitte ---------- */
main { padding-top: var(--header-h); }
.section { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.section + .section { border-top: 1px solid var(--line); }
.label {
  margin: 0 0 20px; color: var(--cyan); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: lowercase;
}
.label::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--cyan); vertical-align: middle; margin-right: 12px; }

h1, h2, h3 { font-weight: 300; margin: 0 0 24px; line-height: 1.12; color: var(--text); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 3.4rem + 0vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.25; margin-bottom: 14px; }
p { margin: 0 0 1.1em; color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.copy p:last-child { margin-bottom: 0; }
.copy h1 + p, .copy h2 + p { margin-top: 0; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 500; text-decoration: none; color: var(--cyan); }
.more::after { content: "\2192"; }
.more:hover, .more:focus-visible { text-decoration: underline; }
.copy--wide h2 { max-width: 22ch; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding-block: clamp(72px, 12vw, 160px); border-top: 0; }
.hero::before {
  content: ""; position: absolute; width: 780px; height: 780px; right: -240px; top: -260px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 177, 234, .16), rgba(0, 177, 234, .04) 55%, transparent 100%);
}
.hero .wrap { z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.5rem); line-height: 1.04; margin-bottom: 28px; }
.hero p { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 40ch; }
.hero--home { min-height: min(88vh, 780px); display: flex; align-items: center; }
.hero--home .wrap { max-width: calc(var(--max) + 2 * var(--gutter)); }
.hero--home::before { right: -160px; top: -120px; width: 960px; height: 960px; }
.arc {
  position: absolute; z-index: 0; right: -7%; top: 50%; width: min(50vw, 620px);
  transform: translateY(-50%); pointer-events: none; opacity: .92;
}
.arc svg { width: 100%; height: auto; overflow: visible; }
.arc--page { top: 72px; transform: none; width: min(34vw, 420px); right: -2%; opacity: .75; } /* Unterseiten: Bogen oben rechts, nicht hinter dem Fließtext */
@media (max-width: 819px) {
  .hero--home { min-height: 0; }
  .arc, .arc--page { width: 118vw; right: -52%; top: 42%; opacity: .32; transform: translateY(-50%); } /* hinter dem Text, reduzierte Deckkraft */
  .arc--page { top: 130px; width: 110vw; right: -48%; }
}

/* ---------- Dekor ---------- */
.deco { pointer-events: none; }
.deco--band { margin-top: clamp(40px, 6vw, 80px); opacity: .45; }
.deco--band img { width: 100%; }
.section > .wrap { z-index: 1; }

/* ---------- Karten ---------- */
.cards { display: grid; gap: 20px; margin-top: 40px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--expertise { grid-template-columns: repeat(2, 1fr); }
.copy + .cards, .copy + .split { margin-top: 40px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); transition: border-color .3s ease;
}
.card > * { position: relative; z-index: 1; }   /* Inhalt über dem Lichtfleck (.card::before, nur in der Bewegungsregel unten sichtbar) */
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 0; }
.card:hover, .card:focus-within { border-color: rgba(0, 177, 234, .55); }
.card h2, .card h3 { margin-bottom: 14px; }
.card h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.card p { font-size: 1rem; }
.card__icon-wrap { margin-bottom: 28px; height: 64px; display: flex; align-items: flex-end; }
.card__icon { width: auto; height: 56px; max-width: 72px; }
.card--solution { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.card--solution p { flex: 1; }
.card--expertise { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.card--expertise .card__art img { width: 100%; height: auto; }
.cards--3 .card--expertise, .cards--4 .card--expertise { grid-template-columns: 120px 1fr; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 8px; }
.person { display: flex; flex-direction: column; }
.person h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); color: var(--cyan); margin-bottom: 4px; }
.person .role { color: var(--text); font-weight: 500; font-size: .95rem; margin-bottom: 20px; }
.person p:nth-of-type(n+3):last-child { margin-top: auto; } /* E-Mail-Zeile unten bündig, wenn sie ein eigener Absatz ist */
.person a { word-break: break-word; }

/* Split + Mockup */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 8px; }
.mock { width: 100%; }
.tablet {
  background: #090909; border: 1px solid var(--line); border-radius: 28px; padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 90px rgba(0, 177, 234, .12);
}
.tablet__screen { border-radius: 14px; overflow: hidden; background: linear-gradient(var(--surface) 0%, var(--bg) 100%); min-height: 280px; }
.app__bar { display: flex; align-items: center; justify-content: space-between; background: var(--cyan); color: var(--bg); padding: 10px 14px; font-size: .95rem; }
.app__bar b { font-weight: 600; }
.app__menu { display: grid; gap: 4px; width: 18px; }
.app__menu i { display: block; height: 2px; background: var(--bg); border-radius: 2px; }
.app__search { width: 16px; height: 16px; border: 2px solid var(--bg); border-radius: 50%; position: relative; }
.app__search::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--bg); right: -3px; bottom: -6px; transform: rotate(-45deg); }
.app__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.tile {
  position: relative; aspect-ratio: 1 / .92; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: linear-gradient(165deg, var(--surface) 0%, #0b4e66 55%, var(--cyan-deep) 100%);
}
.tile img { position: absolute; top: 10px; right: 10px; height: 34%; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.tile b { font-weight: 600; font-size: clamp(.78rem, .6rem + .5vw, 1rem); line-height: 1.2; }
.tile span { font-size: clamp(.62rem, .5rem + .3vw, .74rem); color: #E4EEF2; line-height: 1.3; }

/* Rechtstexte */
.section--legal { padding-top: clamp(48px, 8vw, 96px); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); margin-bottom: 32px; }
.legal p { max-width: 70ch; color: var(--text); font-size: 1rem; line-height: 1.75; margin-bottom: 1.4em; }
.legal a { overflow-wrap: anywhere; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px) 28px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.site-footer h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); margin: 0; }
.site-footer h2 a { color: var(--text); text-decoration: none; }
.site-footer h2 a:hover { color: var(--cyan); }
.footer-info p { color: var(--muted); font-size: .98rem; margin-bottom: 1.1em; }
.footer-info a { color: var(--text); }
.footer__sub { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; color: var(--muted); font-size: .88rem; }
.footer__sub ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer__sub a { color: var(--muted); }
.footer__sub a:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--expertise { grid-template-columns: 1fr; }
}
@media (max-width: 819px) {
  .split { grid-template-columns: 1fr; }
  .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card--expertise { grid-template-columns: 88px 1fr; gap: 18px; }
  .app__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { flex-direction: column; }
}

/* ---------- Bewegung (v4) ----------
   Leitlinie: spürbar, aber ruhig. Ein orchestrierter Moment (Ladesequenz des Hero), sonst zurückhaltende Reaktionen.
   Regeln: nur transform/opacity (und die einzelnen Eigenschaften translate, rotate, scale); keine Inline-Styles im Markup;
   Ausgangszustände ruhen nur unter html.motion, das site.js als Erstes setzt (ohne JavaScript oder bei reduced-motion bleibt alles sichtbar). */

@media (prefers-reduced-motion: no-preference) {
  @keyframes arc-in  { from { opacity: 0; rotate: -20deg; scale: .92; } to { opacity: 1; rotate: 0deg; scale: 1; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes grow-x  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes up-in   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes rise    { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes rise-band { from { opacity: 0; transform: translateY(20px); } to { opacity: .45; transform: none; } }
  @keyframes float   { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

  /* --- 1. Ladesequenz Hero (alle Seiten mit Hero, einmalig, ca. 1,4 s) --- */
  /* Ausgangszustand (nur mit .motion): unsichtbar, bis site.js nach dem Zerlegen der Überschrift .hero-go setzt */
  html.motion .arc svg,
  html.motion .hero::before,
  html.motion .hero .wrap > .label,
  html.motion .hero .wrap > .copy > h1:not(.is-split),
  html.motion .hero h1.is-split .line__in,
  html.motion .hero .wrap > .copy > p { opacity: 0; }
  html.motion .hero .wrap > .label::before { transform: scaleX(0); transform-origin: left center; }
  html.motion .hero h1 .line { display: block; }
  html.motion .hero h1 .line__in { display: block; }

  html.motion.hero-go .arc svg { animation: arc-in 1.2s var(--ease) both; }
  html.motion.hero-go .hero::before { animation: fade-in 1.1s ease .35s both; }
  html.motion.hero-go .hero .wrap > .label { animation: fade-in .6s ease .1s both; }
  html.motion.hero-go .hero .wrap > .label::before { animation: grow-x .7s var(--ease) .1s both; }
  html.motion.hero-go .hero .wrap > .copy > h1:not(.is-split) { animation: up-in .8s var(--ease) .25s both; }
  html.motion.hero-go .hero h1.is-split .line__in { animation: up-in .8s var(--ease) calc(.25s + var(--i, 0) * 80ms) both; }
  html.motion.hero-go .hero .wrap > .copy > p { animation: up-in .8s var(--ease) .65s both; }

  /* Notbremse: falls die Sequenz nicht läuft (z. B. Tab im Hintergrund eingefroren), erzwingt site.js nach 4 s den Endzustand */
  html.hero-done .arc svg, html.hero-done .hero::before, html.hero-done .hero .wrap > .label, html.hero-done .hero .wrap > .label::before,
  html.hero-done .hero .wrap > .copy > h1, html.hero-done .hero h1 .line__in, html.hero-done .hero .wrap > .copy > p {
    animation: none !important; opacity: 1 !important; transform: none !important; rotate: none !important; scale: none !important;
  }

  /* --- 2. Bogen und Schein folgen der Maus (Desktop; site.js setzt --ax --ay --ar --gx --gy auf .hero) --- */
  html.motion .arc { translate: var(--ax, 0px) var(--ay, 0px); rotate: var(--ar, 0deg); }
  html.motion .hero::before { translate: var(--gx, 0px) var(--gy, 0px); }
  /* Touch-Geräte: kein Mauseffekt, statt dessen kaum merkliches Schweben (12 s Zyklus, ±6 px) */
  html.motion.touch .arc { animation: float 12s ease-in-out 1.4s infinite; }

  /* --- 3. Einblenden beim Scrollen (einmalig je Element; site.js setzt .in und die Staffelung --d) --- */
  html.motion .section:not(.hero) .label,
  html.motion .section:not(.hero) .copy,
  html.motion .hero .split .copy,
  html.motion .cards .card,
  html.motion .team .card,
  html.motion .mock,
  html.motion .tile,
  html.motion .deco--band { opacity: 0; }
  html.motion .in { animation: rise .6s var(--ease) var(--d, 0ms) both; }
  html.motion .deco--band.in { animation-name: rise-band; }   /* das Band hat Grunddeckkraft .45 */
  html.motion.motion-fail .section .label, html.motion.motion-fail .section .copy, html.motion.motion-fail .card,
  html.motion.motion-fail .mock, html.motion.motion-fail .tile, html.motion.motion-fail .deco--band { opacity: 1 !important; animation: none !important; }

  /* --- 5. Labels: die Linie davor wächst beim Einblenden --- */
  html.motion .section:not(.hero) .label::before { transform: scaleX(0); transform-origin: left center; }
  html.motion .section:not(.hero) .label.in::before { animation: grow-x .7s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
  html.motion.motion-fail .label::before { transform: none !important; animation: none !important; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  /* --- 4. Karten: anheben, Cyan-Rahmen, Lichtfleck folgt dem Mauszeiger (--mx/--my), Icon minimal größer --- */
  .card { transition: border-color .3s ease, translate .35s var(--ease); }
  .card:hover, .card:focus-within { translate: 0 -4px; }
  .card::before {
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), rgba(0, 177, 234, .13), transparent 70%);
    transition: opacity .3s ease;
  }
  .card:hover::before, .card:focus-within::before { opacity: 1; }
  .card__icon, .card--expertise .card__art img { transition: scale .35s var(--ease); }
  .card:hover .card__icon, .card:focus-within .card__icon,
  .card:hover .card__art img, .card:focus-within .card__art img { scale: 1.04; }
}

@media (prefers-reduced-motion: no-preference) {
  /* --- 6. Links und Buttons --- */
  .more, .main-nav li a {
    background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1.5px;
    transition: background-size .35s var(--ease), color .2s ease, border-color .2s ease;
  }
  .more:hover, .more:focus-visible, .main-nav li a:hover, .main-nav li a:focus-visible { background-size: 100% 1.5px; }
  .more:hover, .more:focus-visible { text-decoration: none; }
  .more::after { transition: transform .25s var(--ease); }
  .more:hover::after, .more:focus-visible::after { transform: translateX(4px); }
  .btn {
    background: linear-gradient(var(--cyan), var(--cyan)) no-repeat left center / 0 100%;
    transition: background-size .38s var(--ease), color .2s ease .08s;
  }
  .btn:hover, .btn:focus-visible {
    background: linear-gradient(var(--cyan), var(--cyan)) no-repeat left center / 100% 100%; color: var(--bg);
  }

  /* --- 8. Mockup: leichte Neigung zur Mausposition (max. 4°; site.js setzt --rx/--ry und .is-tilting) --- */
  .tablet.is-tilting { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header::after { display: none; }   /* kein Fortschrittsbalken: keine Bewegung */
}
