/* ============================================================
   EUWID Recycling- & Entsorgungskongress — Landingpage
   Editorial · seriös · Navy #112f50 / Weiß / Gelb #fff001
   ============================================================ */

/*Google Fonts Local*/
/* archivo-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100;
  src: url('./fonts/archivo-v25-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 200;
  src: url('./fonts/archivo-v25-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/archivo-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/archivo-v25-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/archivo-v25-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/archivo-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/archivo-v25-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  /* Ink / neutrals */
  --ink:        #16212e;
  --ink-soft:   #2a3645;
  --muted:      #5c6675;
  --muted-2:    #8a93a0;
  --line:       rgba(17, 32, 48, 0.12);
  --line-strong:rgba(17, 32, 48, 0.20);

  /* Paper */
  --paper:      #ffffff;
  --paper-warm: #f5f6f9;
  --paper-cool: #eaeef4;

  /* Navy + Gold system.
     Hinweis: Die Token heißen historisch --green-*, enthalten aber Navy/Gold-Werte.
     Bewusst NICHT umbenannt, da die Tokens auch in Inline-Styles der index.html
     sowie ggf. in app.js/image-slot.js referenziert werden. Mapping:
     --green-deep = Primär-Navy · --green = Mittelblau · --green-bright = Gold */
  --green-deep: #112f50;   /* primary navy */
  --green-900:  #0d2542;   /* deeper navy */
  --green:      #245d92;   /* mid blue — links, eyebrows, primary buttons */
  --green-bright:#fff001;  /* gold highlight */
  --green-tint: #e6eef7;   /* light blue tint */

  /* Accent type tones on dark */
  --on-dark:    #f1f5fa;
  --on-dark-mut:#9fb2c8;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 80px);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--green-bright); color: var(--green-deep); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Type ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.04; letter-spacing: -0.02em; }
.display {
  font-size: clamp(2.7rem, 7.2vw, 6.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); font-weight: 400; text-wrap: pretty; }
.muted { color: var(--muted); }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--green); display: inline-block;
}
.eyebrow--ondark { color: var(--green-bright); }
.eyebrow--ondark::before { background: var(--green-bright); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  padding: 1.05em 1.7em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--green-bright); border: none; transform: translateY(-2px); }
.btn--ondark { background: var(--green-bright); color: var(--green-deep); }
.btn--ondark:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost-ondark { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.28); }
.btn--ghost-ondark:hover { border-color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 1.2em 2.1em; font-size: 1.06rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.nav.is-stuck { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 12px; }
.nav.is-stuck .nav__links a { color: var(--green); }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; }
.brand img { height: auto; max-width: 100%; } /* Footer-Logo passt sich der Spalte an */
.nav .brand img { max-width: min(350px, 55vw); } /* Nav-Logo läuft auf schmalen Screens nicht über */
@media (max-width: 560px) {
  .nav .brand img { max-width: 44vw; }
  .nav__cta .btn { padding: .85em 1.2em; font-size: .92rem; }
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--green-bright); transition: color .2s; letter-spacing: 1px; }
.nav__links a:hover { color: var(--green); }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--green-deep); color: var(--on-dark); overflow: hidden;
  padding-top: clamp(185px, 20vh, 220px); padding-bottom: clamp(40px, 6vw, 72px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg image-slot { width: 100%; height: 100%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6,16,28,.95) 0%, rgba(6,16,28,.55) 42%, rgba(6,16,28,.32) 70%, rgba(6,16,28,.45) 100%);
  z-index: 2;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  /*background-image: linear-gradient(160deg, rgba(0, 5, 41, 1) 0%, rgba(13, 76, 145, 1) 100%);*/
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%);
}
.hero .wrap { position: relative; z-index: 3; width: 100%; }
.hero__top {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(22px, 3vw, 34px);
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 1rem;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--on-dark);
  backdrop-filter: blur(6px); background: rgba(255,255,255,.04);
}
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(255,240,1,.25); }
.hero__title { margin: 0 0 1.4rem; max-width: 22ch; font-size: clamp(2.5rem, 6vw, 5.4rem); }
.hero__sub { font-size: clamp(1.1rem, 1.7vw, 1.5rem); max-width: 54ch; color: var(--on-dark-mut); line-height: 1.42; margin-bottom: 2.2rem; }
.hero__sub b { color: var(--on-dark); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__scarcity { display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--on-dark-mut); }
.hero__scarcity strong { color: var(--green-bright); font-weight: 700; }

/* fact bar */
.factbar {
  position: relative; z-index: 3; margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md);
  background: rgba(255,255,255,.03); backdrop-filter: blur(6px); overflow: hidden;
}
.factbar > div { padding: 1.3rem 1.5rem; border-right: 1px solid rgba(255,255,255,.13); }
.factbar > div:last-child { border-right: none; }
.factbar dt { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: .5rem; font-weight: 600; }
.factbar dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; }
.factbar .ph { color: var(--green-bright); }
@media (max-width: 760px) {
  .factbar { grid-template-columns: 1fr 1fr; }
  .factbar > div:nth-child(2) { border-right: none; }
  .factbar > div:nth-child(1), .factbar > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.13); }
}

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: .7rem; }
.cd-unit { min-width: 74px; text-align: center; }
.cd-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cd-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; font-weight: 600; }
@media (max-width: 420px) { .countdown { gap: .5rem; } .cd-unit { min-width: 58px; } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: var(--on-dark); overflow: hidden; padding-block: 18px; }
.strip__track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.strip__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 3rem; color: var(--on-dark-mut); }
.strip__track span::after { content: "●"; color: var(--green-bright); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ---------- Anniversary intro ---------- */
.intro { background: var(--paper-warm); }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }
.bignum {
  font-family: var(--font-display); font-weight: 800; line-height: .82; letter-spacing: -.04em;
  font-size: clamp(6rem, 18vw, 13rem); color: var(--green-deep);
  display: flex; align-items: baseline; gap: .15em;
}
.bignum span { font-size: .26em; color: var(--green); letter-spacing: -.01em; line-height: 1; }
.intro__media { aspect-ratio: 4/5; position: relative; overflow: hidden; margin: 0; }
.intro__media image-slot { width: 100%; height: 100%; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.intro__media:hover img { transform: scale(1.03); }

/* Hover-Caption (Bildunterschrift bei Mouse-over) */
.intro__caption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 4rem 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: .2rem;
  color: #fff;
  background: linear-gradient(to top, rgba(17,47,80,.88) 0%, rgba(17,47,80,.5) 55%, rgba(17,47,80,0) 100%);
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.intro__caption strong { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.2; }
.intro__caption span { font-size: .9rem; font-weight: 500; color: var(--on-dark-mut); }
.intro__media:hover .intro__caption { opacity: 1; transform: none; }

/* Touch-Geräte haben kein Hover → Caption dauerhaft sichtbar */
@media (hover: none) { .intro__caption { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .intro__media img, .intro__caption { transition: none; }
  .intro__media:hover img { transform: none; }
}

/* ---------- Highlights ---------- */
.why { background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (max-width: 900px) { .why__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .why__grid { grid-template-columns: 1fr; } }
.feat { background: var(--paper); padding: 2.2rem 2rem 2.4rem; transition: background .3s var(--ease); position: relative; }
.feat:hover { background: var(--paper-warm); }
.feat__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 1.3rem; }
.feat__ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.feat p { font-size: .98rem; color: var(--muted); margin: 0; line-height: 1.5; }
.feat__no { position: absolute; top: 1.6rem; right: 1.7rem; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--muted-2); }

/* ---------- Themen im Fokus ---------- */
.topics { background: var(--paper-warm); }
.topics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 960px) { .topics__grid { grid-template-columns: 1fr; } }
.topic {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 2.4rem 2.2rem 2.6rem; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.topic::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--green-deep) 0%, var(--green) 65%, var(--green-bright) 100%); }
.topic:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -26px rgba(17, 47, 80, .4); }
@media (prefers-reduced-motion: reduce) { .topic:hover { transform: none; } }
.topic__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 1.3rem; }
.topic__ic svg { width: 24px; height: 24px; }
.topic h3 { font-size: 1.28rem; margin-bottom: .6rem; line-height: 1.2; text-wrap: balance; }
.topic p { font-size: .98rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* „Mehr lesen" — der Text bleibt vollständig im DOM (SEO, Screenreader) und wird
   nur visuell per max-height gekürzt. Die Klasse .is-clamped setzt app.js nur,
   wenn der Text tatsächlich länger ist als --topic-lines Zeilen.
   Zeilenzahl hier zentral anpassbar (auch pro Karte via style="--topic-lines: 8"). */
.topic__text {
  --topic-lines: 6;          /* sichtbare Zeilen im eingeklappten Zustand */
  --topic-lh: 1.55;          /* muss der line-height von .topic p entsprechen */
  line-height: var(--topic-lh);
  position: relative; overflow: hidden;
  transition: max-height .45s var(--ease);
}
.topic__text.is-clamped { max-height: calc(var(--topic-lines) * var(--topic-lh) * 1em); }
.topic__text::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.6em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--paper) 80%);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.topic__text.is-clamped::after { opacity: 1; }
.topic__more {
  display: inline-flex; align-items: center; gap: .45em; margin-top: 1.1rem; padding: 0;
  background: none; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: -.01em;
  color: var(--green); transition: color .2s var(--ease);
}
.topic__more:hover { color: var(--green-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.topic__more:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.topic__more svg { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.topic__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.topic__more[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .topic__text, .topic__text::after, .topic__more svg { transition: none; } }

/* Karten-Innenraum per Subgrid an den Nachbarkarten ausrichten:
   Zeile 1 Icon · Zeile 2 Überschrift (so hoch wie die längste) · Zeile 3 Text + Button.
   So beginnen alle Texte auf gleicher Höhe und die „Mehr lesen"-Buttons liegen in
   einer Linie. Wird eine Karte ausgeklappt, bleiben die Nachbarn oben ausgerichtet
   (Leerraum entsteht nur unten). Browser ohne Subgrid zeigen die bisherige Darstellung.
   Hinweis: row-gap: 0 gilt für das Themen-Grid, weil pro Reihe nur ein Kartenband liegt;
   auf Mobil (eine Spalte) übernimmt der margin-top den Abstand zwischen den Karten. */
@supports (grid-template-rows: subgrid) {
  .topics__grid { row-gap: 0; }
  .topic { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
  @media (max-width: 960px) { .topic + .topic { margin-top: clamp(16px, 2vw, 28px); } }
}

/* ---------- Location ---------- */
.location { background: var(--green-deep); color: var(--on-dark); overflow: hidden; }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } }
.location__media { aspect-ratio: 5/4; border-radius: var(--r-lg); overflow: hidden; }
.location__media image-slot,
.location__media img { width: 100%; height: 100%; }
.location__media img { object-fit: cover; }
.bigquote { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.18; letter-spacing: -.01em; color: #fff; margin: 0 0 1.6rem; text-wrap: balance; }
.bigquote em { color: var(--green-bright); font-style: italic; }
.loc-meta { display: grid; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); overflow: hidden; margin-top: 2rem; }
.loc-meta > div { background: var(--green-deep); padding: 1.1rem 1.3rem; display: flex; align-items: center; gap: 1rem; }
.loc-meta dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); width: 92px; flex: none; font-weight: 600; }
.loc-meta dd { margin: 0; font-weight: 600; color: var(--on-dark); }

/* ---------- Program ---------- */
.program { background: var(--paper-cool); }
.tabs { display: inline-flex; gap: .4rem; padding: .4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 2.6rem; flex-wrap: wrap; }
.tab { border: none; background: transparent; padding: .7rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: all .25s var(--ease); white-space: nowrap; }
.tab.is-active { background: var(--ink); color: var(--on-dark); }
.tab:not(.is-active):hover { color: var(--ink); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

.agenda { display: grid; gap: 0; max-width: 920px; }
.slot { display: grid; grid-template-columns: 150px 1fr auto; gap: 1.5rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.slot:last-child { border-bottom: 1px solid var(--line); }
.slot__time { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--green); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.slot__time small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: .3rem; }
.slot__title { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; margin-bottom: .25rem; }
.slot__desc { font-size: .96rem; color: var(--muted); margin: 0; }
.slot__tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); white-space: nowrap; align-self: center; }
.slot__tag--break { background: #f0ede4; color: var(--ink-soft); }
.slot__tag--food { background: #fbeede; color: #7a4f17; }
@media (max-width: 720px) {
  .slot { grid-template-columns: 1fr; gap: .4rem; }
  .slot__tag { justify-self: start; }
}

/* ---------- Speakers ---------- */
.speakers { background: var(--paper); }
.spk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .spk-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 720px) { .spk-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 440px) { .spk-grid { grid-template-columns: 1fr; } }
.spk { }
.spk__img { aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; background: var(--paper-cool); position: relative; }
.spk__img image-slot { width: 100%; height: 100%; }
.spk__topic { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 5; font-size: .76rem; font-weight: 600; color: #fff; background: rgba(17,47,80,.85); backdrop-filter: blur(4px); padding: .5rem .7rem; border-radius: 8px; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); pointer-events: none; }
.spk:hover .spk__topic { opacity: 1; transform: translateY(0); }
.spk__name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin: 1rem 0 .15rem; letter-spacing: -.01em; }
.spk__role { font-size: .9rem; color: var(--muted); margin: 0; }
.spk__role b { color: var(--green); font-weight: 600; }
.spk-coming {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--green-deep); color: var(--on-dark);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
@media (max-width: 760px) { .spk-coming { grid-template-columns: 1fr; } }
.spk-coming p { color: var(--on-dark-mut); max-width: 62ch; margin: 0; }
.spk-coming .eyebrow { margin-bottom: 1rem; }
.spk-coming .h2 { margin-bottom: .8rem; }

/* ---------- Exhibitors ---------- */
.expo { background: var(--paper-warm); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2,1fr); } }
.logo-cell { background: var(--paper); aspect-ratio: 3/2; display: grid; place-items: center; padding: 1.2rem; transition: background .3s; }
.logo-cell:hover { background: var(--paper-warm); }
.logo-ph { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--muted-2); }
.logo-ph svg { width: 30px; height: 30px; opacity: .6; }
.logo-ph span { font-size: .74rem; font-weight: 600; letter-spacing: .06em; }
.logo-cell img { display: block; max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.logo-link { display: grid; place-items: center; width: 100%; height: 100%; }

/* ---------- Podcast ---------- */
.podcast { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.podcast__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .podcast__grid { grid-template-columns: 1fr; } }
.waveform { display: flex; align-items: center; gap: 5px; height: 120px; margin: 2rem 0; }
.waveform i { flex: 1; background: linear-gradient(#ffd24d, var(--green-bright)); border-radius: 4px; min-height: 8%; animation: wave 1.4s ease-in-out infinite; transform-origin: center; }
@keyframes wave { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .waveform i { animation: none; transform: scaleY(.5); } }
.pod-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 2rem; }
.pod-mic { width: 64px; height: 64px; border-radius: 16px; background: var(--green-bright); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 1.5rem; }
.pod-mic svg { width: 30px; height: 30px; }

/* ---------- Networking + Culinary split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__text { padding: clamp(48px, 7vw, 110px) var(--gut); display: flex; flex-direction: column; justify-content: center; }
.split__text .wrap-inner { max-width: 520px; }
.networking { background: var(--paper); }
.culinary { background: var(--green-900); color: var(--on-dark); }
.split__media { position: relative; min-height: 340px; }
.split__media image-slot,
.split__media > img { width: 100%; height: 100%; position: absolute; inset: 0; }
.split__media > img { object-fit: cover; }
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 500; }
.pill--ondark { border-color: rgba(255,255,255,.22); color: var(--on-dark); }
.tt-badge { display: inline-flex; align-items: center; gap: .7rem; padding: .6rem 1rem .6rem .6rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; margin-bottom: 1.6rem; font-size: .85rem; }
.tt-badge b { font-weight: 700; }
.tt-badge .star { width: 30px; height: 30px; border-radius: 50%; background: var(--green-bright); color: var(--green-deep); display: grid; place-items: center; font-size: .8rem; }

/* ---------- Tickets ---------- */
.tickets { background: var(--paper-cool); }
.tk-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
@media (max-width: 900px) { .tk-grid { grid-template-columns: 1fr; } }
.tk-card { background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(32px, 4vw, 52px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tk-card__grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(120% 80% at 80% 0%, #000, transparent 70%); }
.tk-card > * { position: relative; z-index: 2; }
.tk-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,240,1,.16); color: var(--green-bright); font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 1.8rem; }
.tk-price { display: flex; align-items: baseline; gap: .5rem; margin: .4rem 0 .2rem; }
.tk-price .amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 4.6rem); letter-spacing: -.04em; line-height: 1; }
.tk-price .cur { font-size: 1.6rem; font-weight: 700; color: var(--on-dark-mut); }
.tk-note { font-size: .85rem; color: var(--on-dark-mut); margin-bottom: 1.8rem; }
.tk-incl { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .85rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.8rem; }
.tk-incl li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: var(--on-dark); }
.tk-incl svg { width: 20px; height: 20px; color: var(--green-bright); flex: none; margin-top: 2px; }
.tk-seats { margin-top: auto; }
.seatbar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; margin: .7rem 0 .6rem; }
.seatbar i { display: block; height: 100%; width: 32%; background: linear-gradient(90deg, #54763f, var(--green-bright)); border-radius: 999px; }
.seat-row { display: flex; justify-content: space-between; font-size: .82rem; color: var(--on-dark-mut); }
.seat-row b { color: var(--green-bright); }

/* Tickets ohne Formular: eine zentrierte Karte */
.tk-grid--single { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.tk-cta { margin-top: 2rem; width: 100%; }
.tk-contact { font-size: .85rem; color: var(--on-dark-mut); margin: 1rem 0 0; text-align: center; }
.tk-contact a { color: var(--green-bright); text-decoration: underline; text-underline-offset: 2px; }

/* form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.form-card .sub { color: var(--muted); font-size: .96rem; margin-bottom: 1.8rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .5rem; color: var(--ink-soft); }
.field input, .field select { width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.field input::placeholder { color: var(--muted-2); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .field--row { grid-template-columns: 1fr; } }
.field.err input, .field.err select { border-color: #c0392b; }
.field .msg { font-size: .78rem; color: #c0392b; margin-top: .4rem; display: none; }
.field.err .msg { display: block; }
.form-foot { font-size: .8rem; color: var(--muted); margin-top: 1rem; line-height: 1.5; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.form-success .check svg { width: 32px; height: 32px; }

/* form NL2GO*/
label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .5rem; color: var(--ink-soft); }
input:not([type='checkbox']), select { width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
input:focus:not(.required), select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
input::placeholder { color: var(--muted-2); }
button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  padding: 1.05em 1.7em !important; border-radius: 999px !important; border: 1.5px solid transparent !important;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap; line-height: 1;}
button[type="submit"] { background-color: var(--green) !important; color: #fff !important; margin-top: 0 !important; }
button[type="submit"]:hover { background-color: var(--green-deep) !important; transform: translateY(-2px); }


/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); }
.acc__q:hover { color: var(--green); }
.acc__ic { flex: none; width: 26px; height: 26px; position: relative; }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; transition: transform .3s var(--ease); }
.acc__ic::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.acc__ic::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.acc__item.is-open .acc__ic::after { transform: translateX(-50%) scaleY(0); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__a p { padding: 0 0 1.6rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 60ch; }
.acc__a a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.acc__a a:hover { color: var(--ink); text-decoration-thickness: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(64px, 8vw, 100px); }
.footer__cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 800px) { .footer__cta { grid-template-columns: 1fr; } }
.footer__cta h2 { color: #fff; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: 2.4rem; } }
.footer__brand p { color: var(--on-dark-mut); font-size: .92rem; max-width: 32ch; margin-top: 1rem; }
.footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer ul a { color: var(--on-dark); font-size: .95rem; opacity: .85; transition: opacity .2s, color .2s; }
.footer ul a:hover { opacity: 1; color: var(--green-bright); }
.socials { display: none; /* vorerst ausgeblendet — zum Einblenden wieder auf display:flex setzen */ gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: var(--green-bright); color: var(--green-deep); border-color: transparent; }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.8rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: var(--on-dark-mut); }
.footer__bottom .ph-logo { display: inline-flex; align-items: center; gap: .6rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* placeholder helper text inside image-slots inherit component styling */

/* Ausstellerpaket */
.expo-pack{margin-top:2.4rem;display:grid;grid-template-columns:1.05fr 1fr;gap:2rem 3.5rem;padding:2.2rem 2.4rem;background:var(--green-tint);border-radius:var(--r-md)}
.eb-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:999px;background:var(--green-bright);color:var(--green-deep);font-weight:800;font-size:.78rem;letter-spacing:.07em;text-transform:uppercase}
.expo-prices{display:flex;gap:2.5rem;margin-top:1.5rem;flex-wrap:wrap}
.expo-prices div dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin-bottom:.3rem;font-weight:600}
.expo-prices div dd{margin:0;font-family:var(--font-display);font-weight:800;font-size:1.75rem;letter-spacing:-.02em;color:var(--green-deep)}
.expo-prices div dd small{font-size:.78rem;font-weight:600;color:var(--muted);letter-spacing:0}
.expo-incl{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;align-content:center}
.expo-incl li{display:flex;gap:.65rem;align-items:flex-start;font-size:.97rem;line-height:1.45}
.expo-incl li svg{width:18px;height:18px;flex:none;color:var(--green);margin-top:.18rem}
@media (max-width:860px){.expo-pack{grid-template-columns:1fr;padding:1.6rem 1.4rem}}


/* ============================================================
   Info-Sidebar: Icon-Rail + Drawer (Variante D)
   - sichtbar erst ab #jubilaeum (.is-visible, per app.js)
   - Drawer öffnet bei Hover (nur echte Hover-Geräte) oder .is-open
   - Drawer: Innenabstand oben und unten identisch (--ib-pad-y)
   ============================================================ */
.infobar {
  --ib-rail: 60px;          /* Breite/Höhe je Icon-Feld der Rail */
  --ib-drawer: 310px;       /* Breite des Drawers */
  --ib-pad-y: 20px;         /* Innenabstand Drawer oben = unten */
  --ib-pad-x: 22px;
  --ib-radius: var(--r-md); /* 14px, nur linke Ecken */
  position: fixed; right: 0; top: 50%; z-index: 55;
  transform: translate(0, -50%);
  font-family: var(--font-display);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear 0s;
}
.infobar:not(.is-visible) {
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(24px, -50%);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}

/* --- Rail (Ruhezustand) --- */
.infobar__rail {
  display: flex; flex-direction: column; padding: 0; margin: 0;
  background: var(--green-deep); color: var(--green-bright);
  border: 1px solid rgba(255,255,255,.12); border-right: none;
  border-radius: var(--ib-radius) 0 0 var(--ib-radius);
  box-shadow: -8px 12px 32px rgba(17,47,80,.28);
  overflow: hidden;
  transition: opacity .25s var(--ease);
}
.infobar__icon {
  width: var(--ib-rail); height: var(--ib-rail);
  display: flex; align-items: center; justify-content: center;
}
.infobar__icon + .infobar__icon { border-top: 1px solid rgba(255,255,255,.13); }
.infobar__rail:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }
.infobar svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* --- Drawer (Hover-Zustand) --- */
.infobar__drawer {
  position: absolute; right: 0; top: 50%;
  width: var(--ib-drawer); max-width: calc(100vw - 16px);
  box-sizing: border-box;
  padding: var(--ib-pad-y) var(--ib-pad-x);
  background: var(--green-deep); color: var(--on-dark);
  border: 1px solid rgba(255,255,255,.12); border-right: none;
  border-radius: var(--ib-radius) 0 0 var(--ib-radius);
  box-shadow: -14px 18px 44px rgba(17,47,80,.38);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(16px, -50%);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}
.infobar__head {
  margin: 0; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  font-size: .69rem; line-height: 1.3; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-mut);
}
.infobar__list { margin: 0; }
.infobar__row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
/* letzte Zeile ohne Unterabstand/Linie -> unten exakt --ib-pad-y wie oben */
.infobar__row:last-child { padding-bottom: 0; border-bottom: none; }
.infobar__badge {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,240,1,.12); color: var(--green-bright);
}
.infobar__badge svg { width: 19px; height: 19px; }
.infobar__row dt {
  font-size: .66rem; line-height: 1.3; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-mut);
  margin-bottom: 3px;
}
.infobar__row dd {
  margin: 0; font-size: 1rem; line-height: 1.25; font-weight: 700;
  letter-spacing: -.01em; color: var(--green-bright);
}

/* --- geöffnet: Hover (nur Geräte mit echtem Hover) oder per Klick/Tap/Tastatur --- */
.infobar.is-open .infobar__drawer {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(0, -50%);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear 0s;
}
.infobar.is-open .infobar__rail { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .infobar.is-visible:hover .infobar__drawer {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translate(0, -50%);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear 0s;
  }
  .infobar.is-visible:hover .infobar__rail { opacity: 0; }
}

/* --- kleine Screens: etwas kompaktere Rail --- */
@media (max-width: 560px) {
  .infobar { --ib-rail: 48px; --ib-drawer: 290px; --ib-pad-y: 16px; --ib-pad-x: 18px; }
  .infobar svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .infobar, .infobar:not(.is-visible), .infobar__rail, .infobar__drawer,
  .infobar.is-open .infobar__drawer { transition: none !important; }
  .infobar:not(.is-visible), .infobar__drawer { transform: translate(0, -50%); }
}
