/* Montserrat lokal aus dem Theme (keine Verbindung zu Google) */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-v31-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-v31-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-v31-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Bricks-Grundstile neutralisieren
   Bricks setzt in seiner Kaskadenebene „bricks" eigene Grundwerte (Schrift-
   größe 62,5 %, Georgia-Zitate, graue Bildunterschriften, Rahmenfarbe …).
   Das Design baut auf den Browser-Standards auf, deshalb hier zurück auf
   diese („revert"). Ohne Gewicht (:where), die Regeln des Designs gehen vor.
   ========================================================================== */
:where(html) { font-size: 100%; line-height: normal; }   /* 1rem = Browser-Standard (meist 16 px) */
:where(body) { font-size: revert; line-height: revert; color: revert; font-family: revert; background-position: revert; transition: none; }
:where([class*=brxe-]) { max-width: revert; }
:where(*) { border-color: revert; }
:where(a) { color: revert; text-decoration: revert; cursor: revert; border-color: revert; }
:where(h1, h2, h3, h4, h5, h6) { margin: revert; font-size: revert; line-height: revert; }
:where(h1, h2, h3, h4, h5, h6) :where(a) { color: revert; }
:where(p) { margin-block: revert; }
:where(figure) { margin: revert; }
:where(img) { height: revert; max-width: revert; vertical-align: revert; outline: revert; }
:where(button) { border: revert; cursor: revert; outline: revert; padding: revert; }
:where(button, input, optgroup, select, textarea) { font-family: revert; font-size: revert; line-height: revert; margin: revert; text-align: revert; }
:where(hr) { border: revert; margin: revert; }
:where(table) { width: revert; }
:where(label) { color: revert; display: revert; font-weight: revert; margin-bottom: revert; }
:where(select) { appearance: revert; background: revert; border-radius: revert; }
:where(svg:not([width])) { min-width: revert; }
:where(svg:not([height])) { min-height: revert; }
:where(:before, :after) { outline: revert; }

/* ==========================================================================
   Viromed Medical AG – viromed.css
   Prototyp Startseite · Basis für die Umsetzung in Bricks
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Komponenten · 5 Sektionen · 6 Utilities
   Farben nach Logo-Guidelines ViroMed (2022)
   ========================================================================== */


/* 1 · DESIGN-TOKENS
   In Bricks: als Global Variables / Theme Styles übernehmen.
   -------------------------------------------------------------------------- */
:root {
  /* Farben – Marke (Guidelines S. 05) */
  --c-red:          #e30613;   /* ViroMed Red – nur Logo, keine Abstufungen */
  --c-green:        #5ab482;   /* ViroMed Green – Flächen, Linien, Buttons. Als Text auf Weiß nur 2,5 : 1 */
  --c-green-dark:   #2f6e49;   /* ViroMed Green Dark – grüner Text auf Hell (6,1 : 1) */
  --c-green-medium: #a3d6ba;   /* Akzent auf Dunkel, Linien */
  --c-green-light:  #ecf7f1;   /* helle Flächen, Badges */

  /* Farben – Neutral (Guidelines-Grautöne + Tinte/Footer) */
  --c-ink:          #17221c;   /* Überschriften (16 : 1) */
  --c-text:         #4d4d4d;   /* Gray Dark – Fließtext (8,5 : 1) */
  --c-muted:        #666666;   /* Meta, Datum (5,7 : 1) */
  --c-line:         #d8d8d8;   /* Gray Medium */
  --c-surface:      #ffffff;
  --c-surface-alt:  #f6f6f6;   /* Gray Light */
  --c-footer:       #0f1a14;
  --c-hero-bg:      #0f1418;   /* Randfarbe des Hero-Bildes */
  --c-on-dark:      #ffffff;
  --c-on-dark-muted: rgba(255, 255, 255, .78);

  /* Kategorien Finanznachrichten (funktional, nicht Marke) */
  --c-cat-adhoc:      #1f5f95;  --c-cat-adhoc-bg:     #e3eef8;
  --c-cat-corporate:  var(--c-green-dark); --c-cat-corporate-bg: var(--c-green-light);
  --c-cat-dd:         #4d4d4d;  --c-cat-dd-bg:        #eeeeee;

  /* Schrift – Montserrat: Regular für Headlines/Copy, Semibold für Highlights */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* Schriftgrößen – 7 Stufen, Minimum 12 px (vorher 64 verschiedene Werte) */
  --fs-xs:   0.75rem;                                    /* 12 px  Eyebrow, Badge */
  --fs-sm:   0.875rem;                                   /* 14 px  Meta, Kleintext */
  --fs-body: 1rem;                                       /* 16 px  Fließtext */
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);     /* 17–20 px */
  --fs-h3:   clamp(1.0625rem, 1rem + .25vw, 1.1875rem);  /* 17–19 px Kartentitel */
  --fs-h2:   clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);    /* 28–40 px */
  --fs-h1:   clamp(2.25rem, 1.4rem + 3.4vw, 4rem);       /* 36–64 px */

  --lh-body: 1.7;
  --lh-heading: 1.2;
  --ls-caps: .14em;

  /* Abstände – 8er-Raster */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-section: clamp(4rem, 2.8rem + 5vw, 7rem);

  /* Breiten */
  --w-container: 77.5rem;   /* 1240 px */
  --measure: 62ch;
  --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --header-h: 84px;
  --strip-h: 5.5rem;   /* Höhe der Aktien-Leiste unter dem Hero (Desktop) */

  /* Form */
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 20, .06);
  --shadow-md: 0 10px 30px -12px rgba(15, 26, 20, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}


/* 2 · BASIS
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
  color: var(--c-ink);
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); letter-spacing: 0; line-height: 1.4; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-green-dark); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-ink); }

img, svg { display: block; max-width: 100%; height: auto; }

strong, b { font-weight: var(--fw-semibold); color: inherit; }

::selection { background: var(--c-green-light); color: var(--c-ink); }

:focus-visible { outline: 2px solid var(--c-green-dark); outline-offset: 3px; }

address { font-style: normal; }


/* 3 · LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--w-container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); }
.section--alt { background: var(--c-surface-alt); }
.section--green { background: var(--c-green); color: var(--c-on-dark); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4) var(--sp-6);
  margin-bottom: var(--sp-7);
}
.section-head h2 { max-width: 18ch; }

.grid-3, .grid-4 { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }


/* 4 · KOMPONENTEN
   -------------------------------------------------------------------------- */

/* Eyebrow – kleine Rubrikzeile mit Linie, Green Dark statt Green (Kontrast) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--c-green-dark);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.eyebrow--on-dark { color: var(--c-green-medium); }
.eyebrow--on-green { color: var(--c-on-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: var(--fw-semibold) var(--fs-sm)/1.2 var(--font);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--c-green); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-green-medium); color: var(--c-ink); }
.hero .btn--primary:hover { background: var(--c-on-dark); color: var(--c-ink); }   /* auf dem dunklen Hero: Weiß statt Hellgrün */
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--c-on-dark); }
.btn--ghost-light:hover { background: var(--c-on-dark); color: var(--c-ink); }

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-green-dark);
  text-decoration: none;
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--c-ink); }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Karte – Grundform */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Ganze Karte klickbar, Link bleibt im Titel (zugänglich) */
.card__link-cover { color: inherit; text-decoration: none; }
.card__link-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link-cover:focus-visible { outline: none; }
.card:has(.card__link-cover:focus-visible) { outline: 2px solid var(--c-green-dark); outline-offset: 3px; }

/* Kategorie-Badge */
.badge {
  display: inline-block;
  padding: .3em .7em;
  border-radius: 2px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cat, var(--c-cat-corporate));
  background: var(--cat-bg, var(--c-cat-corporate-bg));
}
.cat--adhoc     { --cat: var(--c-cat-adhoc);     --cat-bg: var(--c-cat-adhoc-bg); }
.cat--corporate { --cat: var(--c-cat-corporate); --cat-bg: var(--c-cat-corporate-bg); }
.cat--dd        { --cat: var(--c-cat-dd);        --cat-bg: var(--c-cat-dd-bg); }

/* Meldungskarte – ohne Bild: Kategorie-Streifen, Datum, Badge, Titel */
.news-card { border-top: 3px solid var(--cat, var(--c-green)); padding: var(--sp-5) var(--sp-5) var(--sp-5); }
.news-card:hover { border-top-color: var(--cat, var(--c-green)); }   /* Kategorie-Streifen bleibt beim Überfahren stehen */
.news-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-5); }
/* Jahr steht auf der Grundlinie des Tages, der Monat darüber schließt oben mit dem Tag ab */
.news-card__date { display: flex; align-items: last baseline; gap: var(--sp-2); color: var(--c-ink); }
.news-card__day { font-size: 2.25rem; line-height: 1; font-weight: var(--fw-regular); letter-spacing: -.02em; }
.news-card__month { font-size: var(--fs-sm); line-height: 1.1; color: var(--c-muted); }
.news-card h3 { margin-bottom: var(--sp-5); }
.news-card .link-arrow { margin-top: auto; }


/* IR-Karte – Icon, Titel, Text, Link */
.ir-card { padding: var(--sp-6) var(--sp-5); }
.ir-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--sp-5);
  border-radius: 50%;
  background: var(--c-green-light);
  color: var(--c-green-dark);
}
.ir-card h3 { margin-bottom: var(--sp-3); }
.ir-card p { font-size: var(--fs-sm); line-height: 1.65; color: var(--c-text); margin-bottom: var(--sp-5); }
.ir-card .link-arrow { margin-top: auto; }


/* Kontaktkarte – auf Grün: weiße Schrift, Box nur als zarte Fläche mit Linie */
.contact-card {
  padding: var(--sp-6) var(--sp-5);
  color: var(--c-on-dark);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
}
.contact-card__label {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--c-on-dark);
  opacity: .9;
}
.contact-card address { font-size: var(--fs-body); font-weight: var(--fw-medium); line-height: 1.65; }
.contact-card address strong { color: var(--c-on-dark); font-weight: var(--fw-semibold); }
.contact-list { display: grid; gap: var(--sp-2); margin: var(--sp-5) 0 0; padding: 0; list-style: none; font-size: var(--fs-body); font-weight: var(--fw-medium); }
.contact-list a { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--c-on-dark); text-decoration: none; }
.contact-list a:hover { color: var(--c-on-dark); text-decoration: underline; }
.contact-list .icon { width: 1rem; height: 1rem; color: var(--c-on-dark); }
.contact-card__meta { margin-top: var(--sp-5); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-on-dark); opacity: .9; }


/* 5 · SEKTIONEN
   -------------------------------------------------------------------------- */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-surface);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); height: var(--header-h); }
.site-logo { flex-shrink: 0; }
.site-logo img { width: 200px; height: auto; }

.main-nav ul { display: flex; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
.main-nav a, .sub-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  border: 0;
  background: none;
  font: var(--fw-medium) .9375rem/var(--lh-body) var(--font);
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.main-nav > ul > li > a::after, .sub-toggle::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 2px;
  height: 2px;
  background: var(--c-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover, .sub-toggle:hover { color: var(--c-ink); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current="page"]::after,
.sub-toggle:hover::after, .has-sub:has([aria-current="page"]) > .sub-toggle::after { transform: scaleX(1); }
.main-nav a[aria-current="page"], .has-sub:has([aria-current="page"]) > .sub-toggle { color: var(--c-ink); }
.sub-toggle::after { right: calc(var(--sp-3) + 1.1rem); }
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Dropdown „Investor Relations“ – öffnet per Maus (Hover) sowie per Klick/Tastatur */
.has-sub { position: relative; }
@media (min-width: 1100px) {
  .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 10;
    flex-direction: column;
    gap: 0;
    min-width: 13.5rem;
    padding: var(--sp-2);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
  }
  .main-nav .sub-menu { display: flex; }
  .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* Hover-Brücke */
  .has-sub:hover > .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .sub-menu a { padding: var(--sp-2) var(--sp-3); border-radius: 2px; }
  .sub-menu a:hover { background: var(--c-surface-alt); }
  .sub-menu a[aria-current="page"] { color: var(--c-green-dark); font-weight: var(--fw-semibold); }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; margin: auto; }
.nav-toggle .icon--close { display: none; }

/* Unter 1100 px: Hamburger (vorher überlagerte das Logo bei ~800 px den Menüpunkt „Home“) */
@media (max-width: 1099px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-surface);
    border-top: 1px solid var(--c-line);
    padding: var(--sp-5) var(--gutter);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a, .sub-toggle { width: 100%; padding: var(--sp-4) 0; font-size: 1.125rem; border-bottom: 1px solid var(--c-line); }
  .sub-toggle { justify-content: space-between; text-align: left; }
  .sub-toggle .icon { width: 1.25rem; height: 1.25rem; }
  .main-nav a::after, .sub-toggle::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--c-green-dark); }
  /* Handy: Unterpunkte klappen unter „Investor Relations“ auf */
  .main-nav .sub-menu { display: none; }
  .main-nav .sub-toggle[aria-expanded="true"] + .sub-menu { display: flex; }
  .sub-menu a { padding-left: var(--sp-5); font-size: 1rem; }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-open .nav-toggle .icon--menu { display: none; }
  .nav-open .nav-toggle .icon--close { display: block; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 599px) {
  :root { --header-h: 72px; }
  .site-logo img { width: 156px; }
}

/* Hero – Desktop: volle Bildschirmhöhe abzüglich Header (Wunsch Geschäftsführung); Handy/Tablet: gestapelt */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: var(--sp-8);
  color: var(--c-on-dark);
  background: var(--c-hero-bg);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 20, 24, .9) 0%, rgba(15, 20, 24, .6) 45%, rgba(15, 20, 24, .1) 80%),
    linear-gradient(0deg, rgba(15, 20, 24, .4), rgba(15, 20, 24, 0) 40%);
}
/* Desktop: Bild beginnt erst bei 27 %, die Personen rücken nach rechts, links bleibt Ruhe für den Text */
@media (min-width: 1024px) {
  .hero {
    /* Bildschirmhöhe minus Header und Aktien-Leiste – die Leiste ist beim Ankommen noch sichtbar */
    min-height: calc(100vh - var(--header-h) - var(--strip-h) - 2px);   /* 2px = Trennlinien von Header und Leiste */
    min-height: calc(100svh - var(--header-h) - var(--strip-h) - 2px);
    /* Text vertikal mittig (mit Milchglas-Leiste: mittig im Bereich über der Leiste) */
    padding-block: var(--sp-8);
  }
  .hero__media { left: 27%; }
  .hero::before {
    background:
      linear-gradient(90deg, #0f1418 0%, #0f1418 27%, rgba(15, 20, 24, .6) 41%, rgba(15, 20, 24, 0) 60%),
      linear-gradient(0deg, rgba(15, 20, 24, .35), rgba(15, 20, 24, 0) 35%);
  }
}
.hero__content { max-width: 44rem; }
.hero__lead { max-width: 34rem; }
.hero h1 { color: var(--c-on-dark); margin-bottom: var(--sp-5); letter-spacing: -.02em; }
.hero h1 span { color: var(--c-green); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-on-dark-muted); margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Handy und Tablet: Bild oben, Text auf Dunkel darunter (statt hellgrüner Fläche mit weißer Schrift) */
@media (max-width: 1023px) {
  .hero { display: block; min-height: 0; padding: 0; }
  .hero__media { position: relative; aspect-ratio: 16 / 10; }
  .hero__media img { object-position: 62% 40%; }
  .hero::before { display: none; }
  .hero__content { padding-block: var(--sp-6) var(--sp-7); }
  /* Startseite: Schein unten rechts in der Textfläche wie bei den Unterseiten, etwas höher wegen der Aktienleiste darunter */
  .hero:not(.hero--page) {
    background:
      radial-gradient(ellipse 60% 45% at 95% 85%, rgba(5, 175, 208, .24), transparent 70%),
      radial-gradient(ellipse 50% 40% at 70% 90%, rgba(79, 180, 140, .18), transparent 70%),
      var(--c-hero-bg);
  }
}
@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Seitenkopf Unterseiten – gleiche Bildsprache wie der Startseiten-Hero, aber flach */
.hero--page h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.hero--page .hero__lead { margin-bottom: 0; }
@media (min-width: 1024px) {
  .hero--page {
    min-height: clamp(22rem, 46vh, 30rem);
    padding-block: var(--sp-8);
  }
  .hero--page .hero__media { left: 40%; }
  .hero--page .hero__media img { object-position: 50% 25%; }
  /* Schein in Grün und Türkis im Übergang vom Dunkel zum Foto (wie im Kopf der Einzelmeldung) */
  .hero--page::before {
    background:
      radial-gradient(ellipse 22% 75% at 46% 55%, rgba(5, 175, 208, .26), transparent 70%),
      radial-gradient(ellipse 20% 70% at 36% 65%, rgba(79, 180, 140, .22), transparent 70%),
      linear-gradient(90deg, #0f1418 0%, #0f1418 40%, rgba(15, 20, 24, .55) 52%, rgba(15, 20, 24, 0) 70%);
  }
}
@media (max-width: 1023px) {
  .hero--page .hero__media { aspect-ratio: 2 / 1; }
  .hero--page .hero__media img { object-position: 55% 20%; }
  /* Schein unten rechts im Textbereich unter dem Bild */
  .hero--page {
    background:
      radial-gradient(ellipse 60% 55% at 95% 100%, rgba(5, 175, 208, .26), transparent 70%),
      radial-gradient(ellipse 50% 50% at 70% 100%, rgba(79, 180, 140, .2), transparent 70%),
      var(--c-hero-bg);
  }
}

/* Aktie auf einen Blick – schmale Leiste direkt unter dem Hero */
.share-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.share-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4) var(--sp-6); padding-block: var(--sp-5); }
.share-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-5); margin: 0; flex: 1 1 auto; }
.share-strip__list dt { margin-bottom: 2px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-muted); }
.share-strip__list dd { margin: 0; font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--c-ink); font-variant-numeric: tabular-nums; }
.share-strip__list dd span { display: block; font-size: var(--fs-sm); font-weight: var(--fw-regular); color: var(--c-muted); }
@media (min-width: 1024px) {
  .share-strip__inner { flex-wrap: nowrap; min-height: var(--strip-h); padding-block: 0; }
  .share-strip__list { display: flex; gap: 0; }
  .share-strip__list > div { padding: 0 var(--sp-6); border-left: 1px solid var(--c-line); }
  .share-strip__list > div:first-child { padding-left: 0; border-left: 0; }
  .share-strip__list dd span { display: inline; font-size: var(--fs-body); }
  .share-strip__list dd span::before { content: "· "; }
}
@media (max-width: 1023px) { .share-strip .link-arrow { flex-basis: 100%; } }

/* Milchglas-Leiste: auf dem Desktop unten im Hero-Bild, auf Handy und Tablet dunkel unter dem Hero */
.share-strip--glass { background: var(--c-hero-bg); border-bottom: 0; color: var(--c-on-dark); }
.share-strip--glass .share-strip__list dt { color: var(--c-green-medium); }
.share-strip--glass .share-strip__list dd { color: var(--c-on-dark); }
.share-strip--glass .share-strip__list dd span { color: var(--c-on-dark-muted); }
.share-strip--glass .link-arrow { color: var(--c-green-medium); }
.share-strip--glass .link-arrow:hover { color: var(--c-on-dark); }
@media (max-width: 1023px) {
  /* Handy und Tablet: Leiste etwas heller als der Hero, feine Linie trennt beide */
  .share-strip--glass { background: #182027; border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (min-width: 1024px) {
  .share-strip--glass .share-strip__list > div { border-left-color: rgba(255, 255, 255, .16); }
  /* Der Hero reicht bis zum Bildschirmrand, die Leiste liegt unten im Bild */
  .hero:has(+ .share-strip--glass) {
    min-height: calc(100vh - var(--header-h) - 1px);
    min-height: calc(100svh - var(--header-h) - 1px);
    padding-bottom: calc(var(--sp-8) + var(--strip-h));
  }
  .share-strip--glass {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * var(--strip-h) - 1px);   /* 1px = eigene Linie oben */
    background: rgba(15, 20, 24, .45);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    backdrop-filter: blur(16px) saturate(1.15);
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
}

/* Unternehmen */
.about__text p { max-width: var(--measure); }
.about__text h2 { margin-bottom: var(--sp-5); }
.about__text .link-arrow { margin-top: var(--sp-5); }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
/* Ab Desktop im selben 4er-Raster wie die IR-Karten darüber: Text über Spalte 1–2, Bild über 3–4
   (Bild schließt links mit der Karte „Finanzkalender“ ab) */
@media (min-width: 1100px) {
  .split--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
  .split--cards > .about__text { grid-column: 1 / span 2; padding-right: var(--sp-7); }
  .split--cards > .about__media { grid-column: 3 / span 2; }
}

/* Kontakt auf Grün – weiße Schrift, bewusst entschieden (2,5 : 1; bei Bedarf --c-green-dark: 6,1 : 1) */
.contact h2 { margin-bottom: var(--sp-7); color: var(--c-on-dark); }

/* Firmendaten – Organe: Vorstand links, Aufsichtsrat rechts */
.organs { display: grid; gap: var(--sp-7) var(--sp-6); }
@media (min-width: 900px) { .organs { grid-template-columns: 1fr 3fr; } }
.organs__group-title {
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
  color: var(--c-ink);
}
.organs > div { display: flex; flex-direction: column; }
/* Liste füllt die Spalte, damit Vorstand und Aufsichtsrat unten bündig abschließen */
.organs__list { flex: 1; display: grid; grid-auto-rows: 1fr; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .organs__list--board { grid-template-columns: repeat(3, 1fr); } }

.person-card { height: 100%; padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.person-card__role {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--c-green-dark);
}
.person-card__name { margin: 0; font-size: 1.125rem; font-weight: var(--fw-semibold); line-height: 1.35; color: var(--c-ink); }
.person-card__note { margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--c-muted); }

/* Datentabellen – Label/Wert-Zeilen in Panels */
/* Firmendaten: Karten einspaltig untereinander, Label links, Wert rechts */
.data-grid { display: grid; gap: var(--sp-5); }
.data-grid__col { display: grid; gap: var(--sp-5); }

.data-panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.data-panel__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-line);
}
.data-panel__head .icon { color: var(--c-green-dark); }
.data-panel__head h3 { font-size: var(--fs-body); }

.data-list { margin: 0; }
.data-list__row { display: grid; gap: var(--sp-1) var(--sp-5); padding: var(--sp-4) var(--sp-5); }
.data-list__row + .data-list__row { border-top: 1px solid var(--c-line); }
@media (min-width: 600px) { .data-list__row { grid-template-columns: 13rem minmax(0, 1fr); gap: var(--sp-1) var(--sp-6); } }
.data-list dt {
  padding-top: .2em;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.data-list dd { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--c-ink); }
.data-list dd small { display: block; font-size: var(--fs-sm); color: var(--c-muted); }

/* Unterseiten mit Seitenleiste – Liste links, Infokästen rechts (ab Desktop mitlaufend) */
.with-aside { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 1024px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--sp-8); }
  .with-aside > aside { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
}
.aside-stack { display: grid; gap: var(--sp-4); }
.info-box { padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.info-box--green { background: var(--c-green-light); border-color: transparent; }
.info-box .btn { width: 100%; }   /* Hauptaktion der Seitenleiste über die volle Boxbreite */
.info-box h2 { margin-bottom: var(--sp-2); font-size: var(--fs-body); font-weight: var(--fw-semibold); letter-spacing: 0; }
.info-box p { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--sp-4); }
.info-box address { font-size: var(--fs-sm); line-height: 1.6; color: var(--c-text); }
.info-box .contact-list { margin-top: var(--sp-3); font-size: var(--fs-sm); font-weight: var(--fw-regular); }
.info-box .contact-list a { color: var(--c-ink); }
.info-box .contact-list a:hover { color: var(--c-green-dark); }
.info-box .contact-list .icon { color: var(--c-green-dark); }

/* Filter – Kategorien als Umschalter mit Anzahl */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-6); padding: 0; list-style: none; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 2.5rem;
  padding: .45rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  font: var(--fw-medium) var(--fs-sm)/1.2 var(--font);
  color: var(--c-text);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.filter-btn:hover { border-color: var(--c-green); color: var(--c-ink); }
.filter-btn[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }

/* Jahresgruppen */
.year-group + .year-group { margin-top: var(--sp-7); }
.year-group__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-green-dark);   /* feine dunkelgrüne Linie unter der Jahreszahl */
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
}
.year-group__title small { font-size: var(--fs-sm); font-weight: var(--fw-regular); color: var(--c-muted); }

/* Meldungsliste – Datum, Badge, Titel; ganze Zeile klickbar */
.news-list { margin: 0; padding: 0; list-style: none; }
.news-row { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--sp-2) var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--c-line); }
.news-row[hidden] { display: none; }
.news-row__date { display: flex; flex-direction: column; color: var(--c-ink); line-height: 1.1; }
.news-row__day { font-size: 1.75rem; letter-spacing: -.02em; }
.news-row__month { margin-top: var(--sp-1); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.news-row__body { display: grid; gap: var(--sp-2); justify-items: start; }
.news-row__title { margin: 0; font-size: var(--fs-body); font-weight: var(--fw-medium); line-height: 1.5; color: var(--c-ink); }
.news-row__title a { color: inherit; text-decoration: none; }
.news-row__title a::after { content: ""; position: absolute; inset: 0; }
.news-row:hover .news-row__title { color: var(--c-green-dark); }
.news-row:has(a:focus-visible) { outline: 2px solid var(--c-green-dark); outline-offset: 2px; }
.news-row a:focus-visible { outline: none; }
@media (min-width: 768px) {
  .news-row { grid-template-columns: 4.5rem minmax(0, 1fr) 1.25rem; align-items: center; }
  .news-row__arrow { color: var(--c-line); transition: color .2s var(--ease), transform .2s var(--ease); }
  .news-row:hover .news-row__arrow { color: var(--c-green-dark); transform: translateX(3px); }
}
@media (max-width: 767px) { .news-row__arrow { display: none; } }

/* Archiv – PDF-Zeilen */
.pdf-row { position: relative; display: grid; gap: var(--sp-1) var(--sp-5); padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.pdf-row[hidden] { display: none; }
@media (min-width: 768px) { .pdf-row { grid-template-columns: 11rem minmax(0, 1fr) auto; align-items: baseline; } }
.pdf-row__date { font-size: var(--fs-sm); color: var(--c-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pdf-row__title { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: var(--c-ink); }
.pdf-row__title a { color: inherit; text-decoration: none; }
.pdf-row__title a::after { content: ""; position: absolute; inset: 0; }
.pdf-row:hover .pdf-row__title { color: var(--c-green-dark); }
.pdf-row:has(a:focus-visible) { outline: 2px solid var(--c-green-dark); outline-offset: 2px; }
.pdf-row a:focus-visible { outline: none; }
.pdf-row__meta { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .06em; text-transform: uppercase; color: var(--c-green-dark); white-space: nowrap; }
.pdf-row__meta .icon { width: 1rem; height: 1rem; }

/* Finanzberichte – Dokumentliste je Jahr: Symbol · Art + Titel · PDF-Größe; ganze Zeile klickbar */
.report-list { margin: 0; padding: 0; list-style: none; }
.report-row { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--sp-2) var(--sp-4); align-items: center; padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 600px) { .report-row { grid-template-columns: 2.75rem minmax(0, 1fr) auto; } }
.report-row:hover h3 { color: var(--c-green-dark); }
.report-row:has(a:focus-visible) { outline: 2px solid var(--c-green-dark); outline-offset: 2px; }
.report-row a:focus-visible { outline: none; }
.report-row h3 a { color: inherit; text-decoration: none; }
.report-row h3 a::after { content: ""; position: absolute; inset: 0; }
.report-row__meta { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; }
.report-row__meta .icon { width: 1rem; height: 1rem; color: var(--c-green-dark); transition: transform .2s var(--ease); }
.report-row:hover .report-row__meta .icon { transform: translateY(2px); }
@media (max-width: 599px) { .report-row__meta { grid-column: 2; } }
.report-row__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--c-green-light);
  color: var(--c-green-dark);
}
.report-row__body { display: grid; gap: var(--sp-1); min-width: 0; }
.report-row__type { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-green-dark); }
.report-row h3 { font-size: var(--fs-body); line-height: 1.45; transition: color .2s var(--ease); }
.report-row__note { font-size: var(--fs-sm); color: var(--c-muted); }
/* Einzelmeldung – dunkler Kopf mit Kategorie, Titel, Datum; Text aus EQS mit Tabellen */
.article-head {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-7) var(--sp-8);
  /* Anthrazit, rechts hinter dem Puls-Zeichen ein dezenter Schein in Grün und Türkis (Farbwelt der Viromed Medical GmbH) */
  background:
    radial-gradient(ellipse 45% 120% at 88% 50%, rgba(5, 175, 208, .3), transparent 70%),
    radial-gradient(ellipse 40% 110% at 70% 60%, rgba(79, 180, 140, .26), transparent 70%),
    var(--c-hero-bg);
  color: var(--c-on-dark);
  isolation: isolate;
}
/* Puls-Symbol aus dem Logo als ruhiges Wasserzeichen (vgl. Titelblatt der Logo-Guidelines) */
.article-head::after {
  content: "";
  position: absolute;
  top: 50%;
  /* Größe folgt der Kopfhöhe (läuft oben, unten und rechts aus dem Bild) – passt so bei jeder Titellänge */
  right: calc(-1 * clamp(5rem, 2rem + 8vw, 11rem));
  z-index: -1;
  height: 180%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%235ab482' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='50' cy='50' r='45'/%3E%3Cpath d='M15 53h17l8-27 10 48 9-36 6 19 4-6h16'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .16;
  /* nach links weich ausblenden, damit lange Titel frei bleiben */
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 55%);
  pointer-events: none;
}
@media (max-width: 767px) { .article-head::after { display: none; } }   /* auf dem Handy kein freier Platz neben dem Titel */
.article-head .container { display: grid; justify-items: start; gap: var(--sp-4); }
.article-head h1 { max-width: 52rem; color: var(--c-on-dark); font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.25; }
.article-head__back { display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-on-dark-muted); text-decoration: none; }
.article-head__back .icon { width: 1rem; height: 1rem; transform: rotate(180deg); transition: transform .2s var(--ease); }
.article-head__back:hover { color: var(--c-on-dark); }
.article-head__back:hover .icon { transform: rotate(180deg) translateX(3px); }
.article-head__date { margin: 0; font-size: var(--fs-sm); color: var(--c-on-dark-muted); }

.article { max-width: 48rem; overflow-wrap: break-word; hyphens: auto; }
.article p { margin: 0 0 1em; line-height: 1.75; }
.article b, .article strong { color: var(--c-ink); }
.article hr { margin: var(--sp-5) 0; border: 0; border-top: 1px solid var(--c-line); }
.article > p:first-child { font-size: var(--fs-sm); color: var(--c-muted); }
.article table { width: 100%; margin: 0 0 var(--sp-5); border: 0; border-collapse: collapse; font-size: var(--fs-sm); }   /* EQS liefert border="1" */
.article td, .article th { padding: var(--sp-2) var(--sp-3); border: 1px solid var(--c-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.article td:first-child:not(:only-child) { width: 40%; color: var(--c-muted); }   /* Beschriftungsspalte */
.article ul, .article ol { margin: 0 0 1em; padding-left: 1.4em; line-height: 1.75; }

.article-nav { display: grid; gap: var(--sp-4); max-width: 48rem; margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid var(--c-line); }
@media (min-width: 768px) { .article-nav { grid-template-columns: 1fr 1fr; } }
.article-nav__item { display: grid; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.article-nav__item:hover { border-color: transparent; box-shadow: var(--shadow-md); }
.article-nav__item--next { text-align: right; }
@media (min-width: 768px) { .article-nav__item--next:only-child { grid-column: 2; } }
.article-nav__label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-green-dark); }
.article-nav__title { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-ink); }

.info-list { display: grid; gap: var(--sp-3); margin: var(--sp-3) 0 var(--sp-4); }
.info-list dt { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.info-list dd { margin: 0; font-size: var(--fs-sm); color: var(--c-ink); }

/* 404 – dunkler Kopf im Stil des Hero, große Ziffer als ruhiges Gestaltungselement */
.error-head { position: relative; overflow: hidden; padding-block: var(--sp-8) clamp(4rem, 3rem + 4vw, 6rem); background: var(--c-hero-bg); color: var(--c-on-dark); isolation: isolate; }
.error-head__code {
  position: absolute;
  right: var(--gutter);
  bottom: -.18em;
  z-index: -1;
  margin: 0;
  font-size: clamp(9rem, 6rem + 16vw, 22rem);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(90, 180, 130, .12);
  user-select: none;
}
.error-head h1 { margin-bottom: var(--sp-5); color: var(--c-on-dark); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.error-head .hero__lead { max-width: 34rem; }

/* Rechtstexte (Datenschutz, Impressum) – schmale Textspalte */
.section--tight { padding-block: var(--sp-7) var(--sp-section); }
/* Impressum – eine Spalte: Bezeichnung links, Angaben rechts, Zeile für Zeile untereinander (wie bisher live) */
.imprint-grid { display: grid; }
/* Linien nur zwischen den Abschnitten: der erste beginnt direkt mit dem Text, nach dem letzten keine Abschlusslinie */
.imprint-grid section { display: grid; gap: var(--sp-2) var(--sp-6); padding-block: var(--sp-5); }
.imprint-grid section + section { border-top: 1px solid var(--c-line); }
.imprint-grid section:first-child { padding-top: 0; }
.imprint-grid section:last-child { padding-bottom: 0; }
@media (min-width: 600px) { .imprint-grid section { grid-template-columns: 13rem minmax(0, 1fr); align-items: baseline; } }
.legal .imprint-grid h2 { margin: 0; hyphens: manual; font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-green-dark); }
.imprint-text > p:last-child { margin-bottom: 0; }
.imprint-grid p { line-height: 1.7; }
.imprint-grid strong { color: var(--c-ink); }
.legal { max-width: 48rem; overflow-wrap: break-word; hyphens: auto; }   /* lange Fachwörter auf dem Handy trennen */
.legal p, .legal li { line-height: 1.75; }   /* ohne „>“: in Bricks liegen die Absätze in einem Textblock */
.legal h2 { margin: var(--sp-8) 0 var(--sp-4); font-size: var(--fs-h2); }
.legal h3 { margin: var(--sp-6) 0 var(--sp-3); font-size: var(--fs-h3); scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }
.legal h2[id], .legal h3[id] { scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 1.4em; }
.legal li + li { margin-top: var(--sp-1); }
/* Inhaltsverzeichnis: Handy oben über dem Text, Desktop rechts und mitlaufend */
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: minmax(0, 48rem) 18rem; justify-content: space-between; gap: var(--sp-8); }
  .legal-layout > .legal { grid-column: 1; grid-row: 1; }
  .legal-layout > .legal-toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + var(--sp-5)); max-height: calc(100vh - var(--header-h) - var(--sp-7)); overflow-y: auto; }
}
.legal-toc { padding: var(--sp-5); background: var(--c-surface-alt); border-radius: var(--radius); font-size: var(--fs-sm); }
.legal-toc h2 { margin: 0 0 var(--sp-3); font-size: var(--fs-body); font-weight: var(--fw-semibold); letter-spacing: 0; }
.legal-toc h3 { margin: var(--sp-4) 0 var(--sp-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.legal-toc ol { margin: 0; padding-left: 1.3em; }
.legal-toc li { line-height: 1.5; }
.legal-toc li + li { margin-top: var(--sp-1); }
.legal-toc a { color: var(--c-text); text-decoration: none; }
.legal-toc a:hover { color: var(--c-green-dark); text-decoration: underline; }
.legal-toc a.is-active { color: var(--c-green-dark); font-weight: var(--fw-semibold); }
.legal > :first-child, .legal > :first-child > :first-child { margin-top: 0; }
/* Cookiebot-Erklärung (wird per Skript ausgegeben) */
.legal .CookieDeclaration { margin: var(--sp-5) 0; font-size: var(--fs-sm); }
.legal .CookieDeclarationType { margin: var(--sp-5) 0; padding: var(--sp-4); border: 1px solid var(--c-line) !important; border-radius: var(--radius); }
.legal .CookieDeclarationTypeHeader { font-weight: var(--fw-semibold); color: var(--c-ink); }
.legal .CookieDeclarationTable { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: var(--fs-xs); }
.legal .CookieDeclarationTable th, .legal .CookieDeclarationTable td { padding: var(--sp-2) var(--sp-3) var(--sp-2) 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.legal .CookieDeclarationTable th { font-weight: var(--fw-semibold); color: var(--c-ink); }

/* Hauptversammlung – aktuelle HV hervorgehoben, darunter Unterlagen und vergangene HVs */
.hv-box { margin-bottom: var(--sp-7); padding: var(--sp-6); background: var(--c-green-light); border-radius: var(--radius); }
@media (min-width: 768px) { .hv-box { padding: var(--sp-7); } }
.hv-box h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-bottom: var(--sp-5); }
.hv-box__facts { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-7); margin: 0 0 var(--sp-6); }
.hv-box__facts dt { margin-bottom: var(--sp-1); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-green-dark); }
.hv-box__facts dd { margin: 0; font-size: var(--fs-lead); color: var(--c-ink); }
.hv-box .btn .icon { width: 1rem; height: 1rem; }
.hv-docs { margin-bottom: var(--sp-8); }
.hv-past__title { margin-bottom: var(--sp-6); font-size: var(--fs-h2); }
.year-group__note { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
h3.year-group__title { font-size: var(--fs-h3); }

/* IR-News – Formularkarte */
.form-card { padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
@media (min-width: 768px) { .form-card { padding: var(--sp-7); } }
.form-card h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-bottom: var(--sp-3); }
.form-card__intro { margin-bottom: var(--sp-6); color: var(--c-text); }

/* EQS-Formular – Markup kommt per Skript von EQS; ID-Selektoren schlagen dessen eigene Klassen.
   Reihenfolge der Felder: 1 Anrede · 2 Vorname · 3 Nachname · 4 Unternehmen · 5 E-Mail · 6 Zugehörigkeit · 7 Datenschutz */
#eqs-cms-irtools-contactform { font-family: var(--font); color: var(--c-ink); }
#eqs-cms-irtools-contactform form, #eqs-cms-irtools-contactform section { margin: 0; padding: 0; }
#eqs-cms-irtools-contactform .eqs-form-main { display: grid; gap: var(--sp-5); margin: 0; padding: 0; }
@media (min-width: 600px) {
  #eqs-cms-irtools-contactform .eqs-form-main { grid-template-columns: 1fr 1fr; gap: var(--sp-5) var(--sp-4); }
  #eqs-cms-irtools-contactform .eqs-form-main__element:nth-child(1),
  #eqs-cms-irtools-contactform .eqs-form-main__element:nth-child(n+6) { grid-column: 1 / -1; }
}
#eqs-cms-irtools-contactform .eqs-form-main__element { margin: 0; padding: 0; }
#eqs-cms-irtools-contactform label,
#eqs-cms-irtools-contactform .eqs-form-main__label {
  display: block;
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-ink);
}
#eqs-cms-irtools-contactform input[type="text"],
#eqs-cms-irtools-contactform input[type="email"],
#eqs-cms-irtools-contactform select {
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: .7rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  font: var(--fw-regular) var(--fs-body)/1.3 var(--font);
  color: var(--c-ink);
  box-shadow: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
#eqs-cms-irtools-contactform select {
  appearance: none;
  padding-right: 2.75rem;
  background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317221c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat;
}
#eqs-cms-irtools-contactform input:hover, #eqs-cms-irtools-contactform select:hover { border-color: #b5b5b5; }
#eqs-cms-irtools-contactform input:focus, #eqs-cms-irtools-contactform select:focus {
  outline: none;
  border-color: var(--c-green-dark);
  box-shadow: 0 0 0 3px rgba(47, 110, 73, .18);
}
/* Anrede als Auswahlknöpfe nebeneinander */
#eqs-cms-irtools-contactform ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: 0; padding: 0; list-style: none; }
#eqs-cms-irtools-contactform ul li { display: flex; align-items: center; gap: var(--sp-2); margin: 0; }
#eqs-cms-irtools-contactform ul li label { margin: 0; font-weight: var(--fw-regular); font-size: var(--fs-body); cursor: pointer; }
#eqs-cms-irtools-contactform input[type="radio"],
#eqs-cms-irtools-contactform input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--c-green-dark); flex-shrink: 0; cursor: pointer; }
/* Datenschutz-Häkchen */
#eqs-cms-irtools-contactform .checkbox label { position: relative; display: block; margin: 0; padding-left: 1.9rem; font-weight: var(--fw-regular); font-size: var(--fs-sm); line-height: 1.5; color: var(--c-text); cursor: pointer; }
#eqs-cms-irtools-contactform .checkbox input[type="checkbox"] { position: absolute; left: 0; top: .15em; }
#eqs-cms-irtools-contactform .checkbox a { color: var(--c-green-dark); }
/* Honeypot-Feld gegen Spam (für Menschen unsichtbar, nicht entfernen) */
#eqs-cms-irtools-contactform .ht-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#eqs-cms-irtools-contactform button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: var(--sp-6);
  padding: .75rem 2rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-green);
  font: var(--fw-semibold) var(--fs-sm)/1.2 var(--font);
  letter-spacing: .02em;
  text-transform: none;
  color: var(--c-ink);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
#eqs-cms-irtools-contactform button[type="submit"]:hover { background: var(--c-green-medium); }
#eqs-cms-irtools-contactform button[type="submit"]:focus-visible { outline: 2px solid var(--c-green-dark); outline-offset: 3px; }

/* Finanzkalender – Terminliste mit Datumskachel */
.notice { display: flex; gap: var(--sp-4); align-items: flex-start; margin-bottom: var(--sp-7); padding: var(--sp-5); background: var(--c-green-light); border-radius: var(--radius); }
.notice .icon { margin-top: .15em; color: var(--c-green-dark); }
.notice p { font-size: var(--fs-body); line-height: 1.6; color: var(--c-ink); }
.notice strong { display: block; margin-bottom: var(--sp-1); }

.event-list { margin: 0; padding: 0; list-style: none; }
.event { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--c-line); }
.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--c-ink);
  color: var(--c-on-dark);
  line-height: 1.1;
}
.event__day { font-size: 2rem; letter-spacing: -.02em; }
.event__day--month { font-size: 1.375rem; }
.event__month { margin-top: var(--sp-1); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .06em; text-transform: uppercase; color: var(--c-green-medium); }
.event--past .event__date { background: var(--c-surface-alt); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); }
.event--past .event__date .event__month { color: var(--c-muted); }
.event__body { display: grid; gap: var(--sp-1); justify-items: start; align-content: center; }
.event__status { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-muted); }
.event__status--next { color: var(--c-green-dark); }
.event__title { font-size: var(--fs-h3); }
.event__text { margin: 0 0 var(--sp-2); font-size: var(--fs-sm); color: var(--c-text); }


/* Footer */
.site-footer { padding-block: var(--sp-8) var(--sp-6); background: var(--c-footer); color: var(--c-on-dark-muted); font-size: var(--fs-sm); }
.site-footer a { color: var(--c-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--c-on-dark); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--sp-7) var(--sp-6); padding-bottom: var(--sp-7); border-bottom: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-brand img { width: 160px; margin-bottom: var(--sp-5); }
.footer-brand p { max-width: 34ch; line-height: 1.7; }
.footer-heading {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--c-green-medium);
}
.footer-links { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.footer-links button { padding: 0; border: 0; background: none; font: inherit; color: var(--c-on-dark-muted); cursor: pointer; }
.footer-links button:hover { color: var(--c-on-dark); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-5); }


/* 6 · UTILITIES
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 100;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-ink);
  color: var(--c-on-dark);
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--sp-4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ==========================================================================
   Anpassungen für Bricks: Bausteine, die Bricks um den Inhalt legt
   ========================================================================== */
.brx-body { display: block; }                        /* Bricks: Flex-Spalte um Header, Inhalt, Footer */
#brx-header { display: contents; }                     /* Header bleibt am Seitenrand haften (sticky) */
#brx-content, #brx-footer { display: block; }
.main-nav > .brxe-shortcode { display: contents; }     /* Menü aus Design → Menüs ohne zusätzliche Box */
/* Angemeldet: Header und Handymenü unter der WordPress-Adminleiste (32 px, mobil 46 px) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 1099px) { .admin-bar .main-nav { inset-block-start: calc(var(--header-h) + 32px); } }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .main-nav { inset-block-start: calc(var(--header-h) + 46px); } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .admin-bar .main-nav { inset-block-start: var(--header-h); } }   /* WordPress lässt die Leiste hier mitscrollen */
.footer-links li > .brxe-shortcode { display: contents; }
.footer-links li:is(:empty, :has(> .brxe-shortcode:empty)) { display: none; }   /* ohne Cookiebot kein leerer Punkt */
.with-aside > div > .brxe-shortcode, .section-head + .brxe-shortcode { display: block; }
.legal > .brxe-html { display: block; }                /* Cookie-Erklärung zwischen den Textblöcken */
.legal__text:not(:last-child) > p:last-child { margin-bottom: 1em; }    /* wie im Prototyp: Abstand zur Cookie-Erklärung (Grundregel p:last-child greift im Textblock) */
.article > :first-child { margin-top: 0; }             /* Beitragsinhalt (Bricks-Element „Post Content“) */
.article-head .container > .brxe-shortcode, .info-list dd > .brxe-shortcode { display: contents; }   /* Badge/Kategorie ohne Zusatzbox */
