/* AI & Machines, Entwurf 05 „Signal“. Grundlagen: Tokens, Schrift, Kopf, Laufzeile, Menü, Fuß. */
@font-face { font-family: "Archivo"; src: url(fonts/archivo-var-latin.woff2) format("woff2"); font-weight: 400 700; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(fonts/martianmono-var-latin.woff2) format("woff2"); font-weight: 400 500; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  /* Ausgelost: cobalt-on-sand, Archivo + Martian Mono. Der Sand ist für den Feed heller gesetzt,
     das Fließtext-Blau tiefer, damit die Rubrikfarben tragen und lange Texte ruhig bleiben. */
  --bg: #f3ecdf; --surface: #e6dbc7; --ink: #0a1040; --muted: #3f4670; --cobalt: #062b8a;
  --line: color-mix(in oklab, var(--ink) 16%, transparent);
  --action: var(--cobalt); --action-ink: #f3ecdf; --accent: var(--cobalt);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;
  --gut: 80px; --gap: 12px; --wrap: 1280px; --head: 64px; --tick: 40px; --bar: 56px;
  --r: 4px; --r-lg: 8px;
  --t-card: 22px; --ease: cubic-bezier(.2,.8,.2,1);
}
/* Rubrikfarben. --c ist die Fläche, --on die Schrift darauf. Jedes Paar hält mindestens 4,5 zu 1. */
[data-r="alle"] { --c: var(--cobalt); --on: #f3ecdf; }
[data-r="robotik"] { --c: #ff5a1f; --on: #0a1040; }
[data-r="ki"] { --c: #22c7f2; --on: #0a1040; }
[data-r="haushalt"] { --c: #19c76f; --on: #0a1040; }
[data-r="drohnen"] { --c: #ffd60a; --on: #0a1040; }
[data-r="business"] { --c: #ff7aae; --on: #0a1040; }
[data-r="markt"] { --c: #007a6c; --on: #ffffff; }
[data-r="wissen"] { --c: #3355ff; --on: #ffffff; }

@media (max-width: 1100px) { :root { --gut: 48px; } }
@media (max-width: 640px) { :root { --gut: 20px; --head: 56px; --tick: 36px; --bar: 52px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + var(--bar) + 16px); }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--font); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus, var(--cobalt)); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--bg); }

.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); clip-path: inset(50%); }
.skip:focus { clip-path: none; }

.arr { display: inline-block; width: .72em; height: .72em; vertical-align: -.02em; margin-left: .32em; transition: transform var(--m-out) var(--m-ease); }
a:hover > .arr, button:hover > .arr { transform: translate(3px, 0); transition-duration: var(--m-in); }
a:hover > .arr--ne { transform: translate(2px, -2px); }

.tag { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: -.01em; padding: 6px 8px; background: var(--c); color: var(--on); border-radius: 2px; white-space: nowrap; }
.meta { font: 400 13px/1.4 var(--mono); letter-spacing: -.02em; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r); font: 500 16px/1 var(--font); font-stretch: 100%; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--action); color: var(--action-ink); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }

.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-thickness var(--m-in); }
.link:hover { text-decoration-thickness: 2px; }

/* ---- Laufzeile ---- */
.ticker { display: flex; align-items: stretch; height: var(--tick); background: var(--ink); color: #f3ecdf; font: 400 13px/1 var(--mono); letter-spacing: -.03em; --focus: #ffd60a; }
.ticker__pause { flex: none; width: var(--tick); display: grid; place-items: center; background: #ffd60a; color: var(--ink); border: 0; cursor: pointer; }
.ticker__pause svg { width: 12px; height: 12px; }
.ticker__pause[aria-pressed="true"] .i-pause, .ticker__pause:not([aria-pressed="true"]) .i-play { display: none; }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker__track { display: flex; width: max-content; }
.ticker__track:has(> :nth-child(2)) { animation: tick 110s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; }
.ticker__list li { display: flex; align-items: center; white-space: nowrap; }
.ticker__list li::before { content: ""; width: 8px; height: 8px; margin: 0 14px; background: var(--c); border-radius: 50%; }
.ticker__list a { text-decoration: none; }
.ticker__list a:hover { text-decoration: underline; text-underline-offset: .25em; }
.ticker__side { flex: none; display: flex; align-items: center; padding: 0 var(--gut) 0 24px; background: var(--ink); text-decoration: none; white-space: nowrap; font-size: 12px; }
.ticker__side:hover { text-decoration: underline; text-underline-offset: .25em; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (max-width: 1100px) { .ticker__side { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track:has(> :nth-child(2)) { animation: none; }
  .ticker__view { overflow-x: auto; }
  .ticker__pause { display: none; }
  .ticker__list[aria-hidden="true"] { display: none; }
}

/* ---- Kopf ---- */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--ink); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head); }
.logo { flex: none; display: inline-flex; align-items: baseline; gap: .22em; font: 600 25px/1 var(--font); font-stretch: 112%; letter-spacing: -.035em; text-decoration: none; color: var(--ink); }
.logo b { font-weight: 600; color: var(--cobalt); }
.logo i { font-style: normal; display: inline-block; transition: transform 300ms var(--ease); }
.logo:hover i { transform: rotate(-12deg) scale(1.12); }
.nav-main { flex: 1; min-width: 0; }
.nav-main ul { display: flex; justify-content: center; gap: clamp(8px, 1vw, 15px); }
.nav-main a { position: relative; display: block; padding: 8px 0; font: 500 13.5px/1 var(--font); font-stretch: 78%; white-space: nowrap; text-decoration: none; }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--ink)); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--m-out) var(--m-ease); }
.nav-main a:hover::after, .nav-main a[aria-current]::after { transform: scaleX(1); transition-duration: var(--m-in); }
.head-actions { flex: none; display: flex; align-items: center; gap: 16px; }
.head-search { font: 500 14px/1 var(--font); text-decoration: none; }
.head-search:hover { text-decoration: underline; text-underline-offset: .25em; }
.head-actions .btn { height: 40px; padding: 0 14px; font-size: 14px; }
.menu-open { display: none; height: 40px; padding: 0 12px; background: transparent; border: 1px solid var(--ink); border-radius: var(--r); font: 500 14px/1 var(--font); cursor: pointer; }
@media (max-width: 1279px) {
  .nav-main, .head-search { display: none; }
  .menu-open { display: inline-flex; align-items: center; }
}
@media (max-width: 480px) { .head-actions .btn { display: none; } .logo { font-size: 22px; } }

/* ---- Menü ---- */
.menu { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--cobalt); color: #f3ecdf; --focus: #ffd60a; }
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: var(--cobalt); }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--head); padding: 0 var(--gut); flex: none; }
.menu__head .logo, .menu__head .logo b { color: #f3ecdf; }
.menu-close { height: 40px; padding: 0 12px; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: var(--r); cursor: pointer; font: 500 14px/1 var(--font); }
.menu__list { flex: 1; overflow: auto; padding: 8px var(--gut) 32px; }
.menu__list a { display: flex; align-items: center; gap: 12px; min-height: 56px; border-bottom: 1px solid color-mix(in oklab, #f3ecdf 28%, transparent); font: 500 clamp(22px, 5vw, 34px)/1.1 var(--font); letter-spacing: -.02em; text-decoration: none; }
.menu__list a::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--c, #f3ecdf); border-radius: 50%; }

/* ---- Fuß ---- */
.partner { padding: 16px 0; background: var(--surface); font-size: 15px; }
.partner a { font-weight: 500; }
.site-foot { background: var(--ink); color: #f3ecdf; overflow: hidden; --focus: #ffd60a; }
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; padding: 72px 0 40px; }
.foot__about { grid-column: span 6; max-width: 46ch; display: grid; gap: 16px; justify-items: start; font-size: 18px; }
.foot__col { grid-column: span 3; }
.foot__col h2 { margin-bottom: 14px; font: 400 13px/1.3 var(--mono); letter-spacing: -.02em; color: #b9bfd9; }
.foot__col li + li { margin-top: 8px; }
.foot__col a, .foot__about a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--m-out) var(--m-ease); }
.foot__col a:hover, .foot__about a:hover { background-size: 100% 1px; transition-duration: var(--m-in); }
.foot__word { display: block; text-decoration: none; font: 600 clamp(48px, 15.2vw, 232px)/.86 var(--font); font-stretch: 100%; letter-spacing: -.055em; white-space: nowrap; color: #f3ecdf; margin: 0 0 24px -.012em; }
.foot__word span { color: #ffd60a; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0 28px; border-top: 1px solid color-mix(in oklab, #f3ecdf 26%, transparent); font: 400 13px/1.5 var(--mono); letter-spacing: -.02em; }
@media (max-width: 760px) {
  .foot__about { grid-column: 1 / -1; }
  .foot__col { grid-column: span 6; }
  .foot__top { padding-top: 48px; }
}
@media (max-width: 420px) { .foot__col { grid-column: 1 / -1; } }

