/* =====================================================================
   MEDIADATEN – gemeinsames Stylesheet aller Mediadatenseiten
   Erich Schmidt Verlag
   ---------------------------------------------------------------------
   Zusammengefuehrt aus den bisherigen <style>-Bloecken der einzelnen
   Mediadatenseiten; die Darstellung jeder Seite bleibt unveraendert.

   Zuordnung: Jede Seite traegt am <html>-Element Klassen, z. B.
       <html lang="de" class="md md-kv">
     .md        = Seite nach der gemeinsamen Vorlage (alle Titel)
     .md-<kuerzel> = titelspezifische Regeln (Kuerzel = Dateiname)

   Alle Selektoren sind mit :where(.md…) vorangestellt. :where() hat die
   Spezifitaet 0 – die Regeln wirken also genau so wie zuvor im
   <style>-Block der Seite, nur eben auf die jeweilige Seite begrenzt.
   Neue titelspezifische Regeln bitte ebenso schreiben, z. B.
       :where(.md-kv) .sticker{...}

   Aufbau
     1. Gemeinsame Vorlage (.md) – inkl. @font-face Piktogrammschrift
        und @page (gelten global)
     2. Titelspezifisch, alphabetisch: arbd, ARCHIV, BAB, BePr, BP, BVW, compd, consbay, DaF, DS, ER, FD, GW, ImS, ird, KRS, KSI, KV, MA, PinG, PV, RV, SGbZ, sis, SRTour, SuS, uwd, VW, WzS, ZBoS, ZCG, ZESAR, ZfdPh, ZfRM, ZIR, ZRFC
     3. altlasten spektrum (.md md-alts) – Abweichungen von der Vorlage
     4. Cookie-Banner aus _responsive/_cookie-script.phtml (alle Seiten)
   ===================================================================== */

/* #####################################################################
   1. GEMEINSAME VORLAGE  (:where(.md))
   ##################################################################### */

/* ---------- Farben aus dem Print-PDF ausgelesen ---------- */
:root:where(.md){
  --font-body: 'Titillium Web', Arial, Helvetica, sans-serif;
  --font-display: 'Titillium Web', Arial, Helvetica, sans-serif;
  --blue-900:#003C78;
  --blue-800:#00447E;
  --blue:#004F9F;
  --blue-600:#0C5BA7;
  --cyan:#00A3F5;
  --cyan-text:#0086DB;   /* dunkler fuer Text: WCAG-Kontrast */
  --cyan-300:#8EE3F9;
  --ice:#E8F3FC;
  --ice-2:#F4FAFE;
  --ink:#14181D;
  --muted:#54606D;
  --hair:#A9CBEA;
  --line:#DCE6F0;
  --maxw:1140px;
  --gut:clamp(1.25rem,4vw,2.75rem);
}

*:where(.md), :where(.md) *,*:where(.md)::before, :where(.md) *::before,*:where(.md)::after, :where(.md) *::after{box-sizing:border-box}
html:where(.md){-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html:where(.md){scroll-behavior:auto}}
:where(.md) body{
  margin:0;background:#fff;color:var(--ink);
  font-family:var(--font-body);
  font-size:clamp(1rem,.96rem + .18vw,1.0625rem);line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
:where(.md) h1,:where(.md) h2,:where(.md) h3,:where(.md) h4{margin:0;line-height:1.14;font-weight:700;letter-spacing:-.005em}
:where(.md) p{margin:0 0 .9em}
:where(.md) p:last-child{margin-bottom:0}
:where(.md) a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:.18em}
:where(.md) a:hover{color:var(--blue-900)}
:focus-visible:where(.md), :where(.md) :focus-visible{outline:3px solid var(--cyan);outline-offset:2px;border-radius:2px}
:where(.md) img{max-width:100%;height:auto}
:where(.md) .wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gut)}
:where(.md) .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ================= Marke ================= */
:where(.md) .brand{display:flex;align-items:flex-start;gap:.7rem;text-decoration:none;color:inherit}
:where(.md) .brand__mark{width:clamp(74px,9vw,104px);color:var(--blue-800);flex:none}
:where(.md) .brand__mark svg{display:block;width:100%;height:auto}
:where(.md) .brand__sub{
  font-size:clamp(.63rem,.55rem + .22vw,.78rem);line-height:1.32;
  color:#8C99A6;font-weight:400;padding-top:.3rem;
}

/* ================= Kopfleiste ================= */
:where(.md) .topbar{background:var(--blue-900)}
:where(.md) .topbar .wrap{display:flex;align-items:center;justify-content:flex-end;min-height:clamp(60px,6.5vw,92px)}
:where(.md) .topbar__logo{display:block;width:clamp(112px,13vw,172px);color:#fff}
:where(.md) .topbar__logo:hover,:where(.md) .topbar__logo:focus{color:#fff}/* sonst greift a:hover (dunkelblau auf dunkelblau) und das Logo verschwindet */
:where(.md) .topbar__logo svg{display:block;width:100%;height:auto}
:where(.md) .topbar__logo svg path[fill="#004F9F"]{fill:#fff}

/* ================= Hero (Titelseite) ================= */
:where(.md) .hero{position:relative;overflow:hidden;background:#fff;isolation:isolate}
:where(.md) .hero::before{ /* diagonaler Verlauf wie auf dem Titel – reines CSS */
  content:"";position:absolute;inset:-10% 0% -10% -24%; z-index:-2;
  background:
    radial-gradient(120% 90% at 8% 62%, #0079DE 0%, #00A3F5 30%, #7EDDF8 52%, #CFEFFC 68%, rgba(255,255,255,0) 82%),
    linear-gradient(118deg, #0F86E8 0%, #37B7F4 34%, #A9E6FA 52%, #FFFFFF 70%);
  clip-path:polygon(0 0, 62% 0, 30% 100%, 0 100%);
}
:where(.md) .hero::after{ /* weiche weiße Aufhellung nach rechts oben */
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg, rgba(255,255,255,0) 34%, rgba(255,255,255,.72) 52%, #fff 66%);
}
:where(.md) .hero__inner{
  max-width:var(--maxw);margin-inline:auto;padding:clamp(1.5rem,4vw,2.5rem) var(--gut) clamp(2.5rem,6vw,4rem);
  display:grid;gap:clamp(1.75rem,5vw,3.5rem);align-items:center;
  grid-template-columns:1fr;
}
@media (min-width:960px){
  :where(.md) .hero__inner{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);padding-block:2.5rem 4.5rem}
  :where(.md) .hero__devices{order:1}
  :where(.md) .hero__text{order:2}
}
:where(.md) .hero__head{margin-bottom:clamp(1.5rem,4vw,2.25rem)}
:where(.md) .hero__year{
  font-size:clamp(3.4rem,2rem + 8vw,6.5rem);font-weight:300;line-height:.9;
  color:var(--cyan-text);margin:.5em 0 0 -.05em;letter-spacing:-.02em;
}
:where(.md) .hero h1{
  font-size:clamp(2.1rem,1.3rem + 4.6vw,3.9rem);font-weight:300;color:var(--blue-900);
  letter-spacing:-.015em;margin:.05em 0 .5rem;
}
:where(.md) .hero__claim{
  font-weight:600;color:var(--blue-800);font-size:clamp(1rem,.94rem + .3vw,1.2rem);
  margin:0 0 1.1rem;
}
:where(.md) .hero__lead{max-width:34em;color:#2A333D;margin-bottom:1.6rem}
:where(.md) .hero__facts{
  list-style:none;margin:0 0 1.8rem;padding:0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:1px;
  background:var(--hair);border:1px solid var(--hair);
}
:where(.md) .hero__facts li{background:rgba(255,255,255,.86);padding:.7rem .85rem}
:where(.md) .hero__facts li > b{display:block;font-size:1.22rem;font-weight:700;color:var(--blue);line-height:1.2}
:where(.md) .hero__facts li > span{font-size:.8rem;color:var(--muted);display:block}
:where(.md) .cta{display:flex;flex-wrap:wrap;gap:.7rem}
:where(.md) .btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font:inherit;font-weight:600;text-decoration:none;cursor:pointer;
  padding:.72rem 1.35rem;border:1.5px solid var(--blue);border-radius:2px;
  background:var(--blue);color:#fff;transition:background .16s,border-color .16s,color .16s;
}
:where(.md) .btn:hover{background:var(--blue-900);border-color:var(--blue-900);color:#fff}
:where(.md) .btn--ghost{background:rgba(255,255,255,.85);color:var(--blue)}
:where(.md) .btn--ghost:hover{background:var(--blue);color:#fff}
:where(.md) .btn--small{padding:.5rem 1rem;font-size:.9rem}
:where(.md) .btn--icon{padding:.55rem;line-height:0}
:where(.md) .btn--icon svg{display:block}
:where(.md) .hero__devices{position:relative;display:flex;justify-content:left;align-items:center}
:where(.md) .hero__devices img{display:block;filter:drop-shadow(0 18px 30px rgba(0,52,105,.22))}
:where(.md) .hero__devices .dev-mon{width: min(90%,510px);padding-bottom: 5%;}
:where(.md) .hero__devices .dev-tab{width: min(58%,305px);position: absolute;left: 44%;bottom: -7%;}
:where(.md) .hero__devices img{max-width:max-content}   /* Bilder nie groesser als ihre Pixelgroesse darstellen */
@media (max-width:959px){
  :where(.md) .hero__devices{margin-top:.5rem}
  :where(.md) .hero__devices .dev-mon{width:min(86%,440px)}
  /* Verlauf wandert nach unten, damit die Schrift auf Weiss steht */
  :where(.md) .hero::before{clip-path:polygon(0 56%,100% 40%,100% 100%,0 100%)}
  :where(.md) .hero::after{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.9) 34%,rgba(255,255,255,0) 54%)}
}

/* ================= Sprungnavigation (aus Seite "Inhalt") ================= */
:where(.md) .subnav{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(0,79,159,.04);
}
:where(.md) .subnav__inner{
  max-width:var(--maxw);margin-inline:auto;padding:0 var(--gut);
  display:flex;flex-wrap:wrap;align-items:center;gap:.15rem;
}
:where(.md) .subnav__inner > a{
  display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap;
  padding:.8rem .5rem;text-decoration:none;color:#33404D;font-weight:600;font-size:.92rem;
  border-bottom:3px solid transparent;
}
:where(.md) .subnav__inner > a:hover{color:var(--blue)}
:where(.md) .subnav__inner > a[aria-current="true"]{color:var(--blue-900);border-bottom-color:var(--cyan)}
:where(.md) .subnav .key{
  display:grid;place-items:center;width:1.35rem;height:1.35rem;flex:none;
  background:linear-gradient(150deg,#01AAF9,#0046B4);color:#fff;
  font-size:.76rem;font-weight:400;
}
:where(.md) .subnav__cta{margin-left:auto;padding-left:.6rem}
/* Sprungnavigation bricht bei wenig Platz in weitere Zeilen um, statt seitlich
   abgeschnitten zu werden; Abstaende werden schrittweise kompakter (NT3, Punkt F).
   "screen": der Druck (A4 quer, ca. 1025 px) behaelt seine eigene Navigation */
@media screen and (min-width:1321px){
  /* Kontakt-Knopf sitzt im rechten Seitenrand der Leiste: so rutscht er nie
     allein in eine zweite Zeile, egal wie viele Punkte ein Titel hat */
  :where(.md) .subnav__inner{position:relative}
  :where(.md) .subnav__cta{position:absolute;right:.2rem;top:.43rem;margin:0;padding:0}
}
@media (max-width:1320px){
  :where(.md) .subnav__inner > a{padding:.8rem .42rem;font-size:.88rem}
  :where(.md) .subnav__cta{display:none}
}
@media screen and (max-width:1100px){
  :where(.md) .subnav__inner{padding-block:.3rem}
  :where(.md) .subnav__inner > a{padding:.42rem .4rem;font-size:.86rem;border-bottom-width:2px}
}
@media screen and (max-width:720px){
  :where(.md) .subnav__inner{padding-block:.35rem;gap:.15rem .25rem}
  :where(.md) .subnav__inner > a{padding:.28rem .3rem;font-size:.82rem;gap:.35rem}
  :where(.md) .subnav .key{width:1.15rem;height:1.15rem;font-size:.68rem}
  html:where(.md){scroll-padding-top:3rem}   /* Sprungziel nicht unter der mehrzeiligen Leiste */
}

/* ================= Abschnitte ================= */
:where(.md) .sec{padding:clamp(2.75rem,7vw,4.75rem) 0;border-top:1px solid var(--line);scroll-margin-top:4rem}
:where(.md) .sec:first-of-type{border-top:0}
:where(.md) .sec--tint{background:linear-gradient(180deg,var(--ice-2),#fff 62%)}
:where(.md) .sec__head{display:flex;align-items:flex-start;gap:.85rem;margin-bottom:clamp(1.5rem,4vw,2.25rem)}
:where(.md) .sec__head h2{
  font-size:clamp(1.4rem,1.05rem + 1.5vw,2.1rem);font-weight:700;color:var(--ink);
  text-transform:uppercase;letter-spacing:.005em;padding-top:.15em;
}
:where(.md) .flag{
  flex:none;width:clamp(30px,3.4vw,42px);aspect-ratio:1;
  background:linear-gradient(150deg,#01AAF9 8%,#0046B4 92%);
  color:#fff;display:grid;place-items:center;
  font-size:clamp(1.05rem,1.5vw,1.45rem);font-weight:300;
}
:where(.md) .sec__intro{max-width:60ch;color:#333E49;margin-bottom:2rem}

/* Zwei-Spalten-Grid für Label/Wert (Print-Logik) */
:where(.md) .grid2{display:grid;gap:clamp(1.75rem,4vw,3rem)}
@media (min-width:900px){
  :where(.md) .grid2{grid-template-columns:1fr 1fr}
  :where(.md) .grid2--wide{grid-template-columns:minmax(0,2.05fr) minmax(0,1fr)}
}
/* Abbildungen am Spaltenende: stehen bei zwei Spalten auf gleicher Hoehe,
   auch wenn die Texte darueber unterschiedlich lang sind
   (Text in .grid2__text gekapselt, damit die Absatzabstaende unveraendert bleiben) */
:where(.md) .grid2--fig > div{display:flex;flex-direction:column}
:where(.md) .grid2--fig .grid2__fig{margin-top:auto;padding-top:1.5rem}

:where(.md) .dl{margin:0}
:where(.md) .dl__row{
  display:grid;gap:.15rem .9rem;padding:.85rem 0;
  border-bottom:1px dotted var(--hair);
}
@media (min-width:520px){:where(.md) .dl__row{grid-template-columns:minmax(8.5rem,11rem) 1fr}}
:where(.md) .dl__row:first-child{border-top:1px dotted var(--hair)}
:where(.md) .dl dt{font-weight:600;color:var(--blue);margin:0}
:where(.md) .dl dd{margin:0}
:where(.md) .dl dd small{color:var(--muted)}

:where(.md) h3.sub{
  font-size:1.06rem;font-weight:600;color:var(--blue);margin:0 0 .6rem;
}
:where(.md) h3.sub + p, :where(.md) h3.sub + .chips{margin-top:0}
:where(.md) .block + .block{margin-top:2rem}

:where(.md) .chips{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}
:where(.md) .chips li{
  background:var(--ice);color:#1F3346;border:1px solid #D2E5F5;
  padding:.3rem .68rem;font-size:.9rem;border-radius:2px;
}

/* ================= Überblick-Karten ================= */
:where(.md) .tracks{display:grid;gap:1.25rem;align-items:start}
@media (min-width:820px){:where(.md) .tracks{grid-template-columns:1fr 1fr}}
:where(.md) .track{
  border:1px solid var(--line);border-top:4px solid var(--blue);
  padding:clamp(1.15rem,3vw,1.6rem);background:#fff;
}
:where(.md) .track--soft{border-top-color:var(--cyan)}
:where(.md) .track h3{font-size:1.2rem;color:var(--blue);margin-bottom:.15rem}
:where(.md) .track p.track__sub{font-weight:600;color:var(--blue-800);font-size:.98rem;margin-bottom:1rem}
:where(.md) .track ol{list-style:none;margin:0;padding:0}
:where(.md) .track li{display:flex;gap:.7rem;padding:.42rem 0;border-bottom:1px dotted var(--hair);font-size:.97rem}
:where(.md) .track li:last-child{border-bottom:0}
:where(.md) .track li .key{
  flex:none;width:1.3rem;height:1.3rem;display:grid;place-items:center;
  background:var(--ice);color:var(--blue);font-size:.78rem;font-weight:600;
}
:where(.md) .track li a{text-decoration:none;font-weight:400;color:#1F2A35}
:where(.md) .track li a:hover{color:var(--blue);text-decoration:underline}

/* ================= Termine ================= */
:where(.md) .deadline[hidden]{display:none}
:where(.md) .deadline{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;
  background:var(--blue);color:#fff;padding:1rem 1.25rem;margin-bottom:1.75rem;
}
:where(.md) .deadline b{font-size:1.15rem;font-weight:700}
:where(.md) .deadline span{font-size:.95rem;color:#CFE6FA}
:where(.md) .deadline .btn{margin-left:auto;background:#fff;color:var(--blue);border-color:#fff}
:where(.md) .deadline .btn:hover{background:var(--blue-900);color:#fff;border-color:#fff}

:where(.md) .issues{display:grid;gap:1rem;margin-bottom:2.25rem}
:where(.md) .issues.hide-past .issue--past{display:none}
:where(.md) .toolbar{display:flex;justify-content:flex-end;margin:-.75rem 0 1rem}
:where(.md) .linkbtn{
  background:none;border:0;font:inherit;font-weight:600;color:var(--blue);cursor:pointer;
  padding:.35rem .15rem;text-decoration:underline;text-underline-offset:.2em;
}
:where(.md) .linkbtn:hover{color:var(--blue-900)}
@media (min-width:640px){:where(.md) .issues{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){:where(.md) .issues{grid-template-columns:repeat(3,1fr)}}
:where(.md) .issue{border:1px solid var(--line);padding:1rem 1.1rem 1.1rem;background:#fff;position:relative}
:where(.md) .issue__no{
  font-size:.82rem;font-weight:600;color:var(--blue);text-transform:uppercase;
  letter-spacing:.04em;margin-bottom:.55rem;display:flex;align-items:center;
  gap:.5rem;flex-wrap:wrap;
}
:where(.md) .issue__no b{
  background:linear-gradient(150deg,#01AAF9,#0046B4);color:#fff;
  width:1.6rem;height:1.6rem;display:grid;place-items:center;font-weight:400;font-size:.95rem;
  clip-path:polygon(0 0,100% 0,100% 100%,32% 100%);
}
:where(.md) .issue dl{display:grid;grid-template-columns:1fr auto;gap:.28rem .8rem;margin:0;font-size:.93rem}
:where(.md) .issue dt{color:var(--muted)}
:where(.md) .issue dd{margin:0;font-variant-numeric:tabular-nums;text-align:right}
:where(.md) .issue dd.is-key{font-weight:700;color:var(--blue-900)}
:where(.md) .issue--past{background:#FAFBFC;border-color:#E7ECF1}
:where(.md) .issue--past .issue__no{color:#8B98A5}
:where(.md) .issue--past .issue__no b{background:#C3CDD7}
:where(.md) .issue--past dt,:where(.md) .issue--past dd{color:#8B98A5}
:where(.md) .issue--past dd.is-key{color:#78848F}
:where(.md) .issue--next{border-color:var(--cyan);box-shadow:inset 0 0 0 1px var(--cyan)}
:where(.md) .issue__badge{
  display:inline-block;background:var(--cyan);color:#003052;font-weight:700;
  font-size:.72rem;letter-spacing:.03em;padding:.12rem .45rem;white-space:nowrap;
}
:where(.md) .topics{border:1px solid var(--line);border-left:4px solid var(--cyan);padding:1.25rem 1.4rem;background:var(--ice-2)}
:where(.md) .topics h3{font-size:1.05rem;color:var(--blue);margin-bottom:.8rem}
:where(.md) .topics ul{margin:0;padding:0;list-style:none;columns:2;column-gap:2rem}
@media (max-width:700px){:where(.md) .topics ul{columns:1}}
:where(.md) .topics li{padding-left:1rem;position:relative;margin-bottom:.4rem;break-inside:avoid;font-size:.96rem}
:where(.md) .topics li::before{content:"";position:absolute;left:0;top:.55em;width:.35rem;height:.35rem;background:var(--blue)}

/* ================= Tabellen ================= */
:where(.md) .tablewrap{overflow-x:auto;margin-bottom:1.25rem}
:where(.md) table.price{width:100%;border-collapse:collapse;font-size:.96rem;min-width:640px}
:where(.md) table.price thead tr{background:linear-gradient(90deg,var(--blue-900),var(--blue) 48%,#00A3F5)}
:where(.md) table.price thead th{
  background:transparent;
  color:#fff;text-align:left;font-weight:600;padding:.75rem .85rem;vertical-align:bottom;
  font-size:.92rem;
}
:where(.md) table.price thead th:first-child{padding-left:1rem}
:where(.md) table.price th[scope="row"]{text-align:left;font-weight:600;padding:.85rem 1rem;vertical-align:middle}
:where(.md) table.price td{padding:.85rem;border-bottom:1px dotted var(--hair);vertical-align:middle}
:where(.md) table.price th[scope="row"]{border-bottom:1px dotted var(--hair)}
:where(.md) table.price tbody tr:hover td,:where(.md) table.price tbody tr:hover th{background:var(--ice-2)}
:where(.md) table.price .num{font-variant-numeric:tabular-nums;white-space:nowrap}
:where(.md) table.price .thumb{width:56px;padding-right:0}
:where(.md) .fmt{display:block;width:38px;height:54px;border:1px solid var(--blue);position:relative;background:#fff}
:where(.md) .fmt i{position:absolute;left:2px;right:2px;bottom:2px;background:#CFE2F4;border:1px solid #7FAEDB;display:block}
:where(.md) .fmt--us{border-width:2px}
:where(.md) .fmt--us i{inset:2px}

/* Preistabelle als Karten auf kleinen Schirmen */
@media (max-width:719px){
  :where(.md) .tablewrap{overflow:visible}
  :where(.md) table.price{min-width:0;font-size:.95rem}
  :where(.md) table.price thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  :where(.md) table.price tbody tr{display:grid;grid-template-columns:auto 1fr;gap:0 .9rem;
    border:1px solid var(--line);border-top:3px solid var(--blue);padding:.9rem 1rem;margin-bottom:.9rem}
  :where(.md) table.price tbody tr:hover td,:where(.md) table.price tbody tr:hover th{background:transparent}
  :where(.md) table.price .thumb{grid-row:span 5;align-self:start;padding:0}
  :where(.md) table.price th[scope="row"]{padding:0 0 .5rem;font-size:1.05rem;color:var(--blue);border:0}
  :where(.md) table.price td{display:flex;justify-content:space-between;gap:1rem;padding:.3rem 0;border-bottom:1px dotted var(--hair)}
  :where(.md) table.price td:last-child{border-bottom:0}
  :where(.md) table.price td::before{content:attr(data-label);color:var(--muted);font-size:.88rem}
}

/* Staffel-Tabellen */
:where(.md) .staffel{display:grid;gap:1.25rem 2rem;margin:0}
@media (min-width:520px){:where(.md) .staffel{grid-template-columns:1fr 1fr}}
:where(.md) table.mini{width:100%;border-collapse:collapse;font-size:.95rem}
:where(.md) table.mini caption{text-align:left;font-weight:600;color:var(--blue);padding-bottom:.4rem}
:where(.md) table.mini th,:where(.md) table.mini td{padding:.38rem .5rem;border-bottom:1px dotted var(--hair);text-align:left}
:where(.md) table.mini td:last-child{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
:where(.md) table.mini th{font-weight:400;color:#2A333D}

/* Hinweis-Kästen */
:where(.md) .aside{background:var(--blue);color:#EAF4FC;padding:clamp(1.25rem,3vw,1.75rem);font-size:.94rem}
:where(.md) .aside h3{color:#fff;font-size:1.02rem;margin-bottom:.7rem}
:where(.md) .aside p{color:#D6E8F8}
:where(.md) .aside a{color:#fff}
:where(.md) .aside .btn{background:#fff;color:var(--blue-900);border-color:#fff;margin-bottom:.35rem}
:where(.md) .aside .btn:hover{background:var(--cyan-300);color:var(--blue-900);border-color:var(--cyan-300)}
:where(.md) .sticker{
  background:linear-gradient(150deg,#F4F8FC,#D9E8F5);color:var(--blue);
  font-weight:700;font-size:clamp(1rem,.95rem + .2vw,1.12rem);line-height:1.32;
  width:min(100%,238px);aspect-ratio:1;border-radius:50%;
  display:grid;place-items:center;text-align:center;padding:1.6rem;
  margin:0 auto 1.25rem;box-shadow:0 6px 18px rgba(0,64,128,.10);
}
:where(.md) .notes{font-size:.86rem;color:var(--muted);margin-top:1rem}
:where(.md) .notes p{margin-bottom:.5rem}

:where(.md) .stack{display:grid;gap:1.5rem;align-content:start}

/* ================= Fußzeile ================= */
:where(.md) .foot{background:var(--blue-900);color:#C9DEF2;padding:clamp(2.25rem,6vw,3.25rem) 0;font-size:.94rem}
:where(.md) .foot__inner{display:grid;gap:2rem}
@media (min-width:820px){:where(.md) .foot__inner{grid-template-columns:1.1fr 1fr;align-items:start}}
:where(.md) .foot h2{color:#fff;font-size:clamp(1.35rem,1.1rem + 1vw,1.8rem);font-weight:300;margin-bottom:1rem}
:where(.md) .foot a{color:#fff}
:where(.md) .foot__meta{font-size:.84rem;color:#8FB6DA;margin-top:2rem;border-top:1px solid rgba(255,255,255,.16);padding-top:1rem}
:where(.md) .foot__meta a{color:#C9DEF2}
:where(.md) .foot .btn{background:#fff;color:var(--blue-900);border-color:#fff}
:where(.md) .foot .btn--outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
:where(.md) .foot .btn--outline:hover{background:#fff;color:var(--blue-900);border-color:#fff}
:where(.md) .foot .btn:hover{background:var(--cyan-300);color:var(--blue-900);border-color:var(--cyan-300)}

/* ================= Info-Blasen (PDF-Seite 7) ================= */
:where(.md) .bubbles{
  display:grid;gap:.85rem;
  grid-template-columns:repeat(auto-fit,minmax(178px,1fr));
  background:linear-gradient(155deg,#EBF5FD,#D8EBFA);
  padding:clamp(1rem,3vw,1.6rem);
}
:where(.md) .bubble{
  background:#fff;border-radius:50%;aspect-ratio:1;
  display:grid;place-items:center;text-align:center;
  padding:1.15rem;font-size:.79rem;line-height:1.34;
  box-shadow:0 5px 16px rgba(0,64,128,.14);
}
:where(.md) .bubble b{display:block;color:var(--blue);font-size:.88rem;margin-bottom:.15rem}
:where(.md) .bubble--avoid{background:#F7FBFE;border:1.5px dashed var(--blue-600);box-shadow:none}
:where(.md) .dia{margin:0}
:where(.md) .dia__svg{display:none;width:100%;height:auto}
@media (min-width:700px){
  :where(.md) .dia__svg{display:block}
  :where(.md) .dia .bubbles{display:none}
}
@media (max-width:620px){
  :where(.md) .bubbles{grid-template-columns:1fr 1fr;gap:.6rem}
  :where(.md) .bubble{border-radius:4px;aspect-ratio:auto;place-items:start;text-align:left;padding:.75rem .85rem}
}

/* ================= Balken-Tabellen (PDF-Seite 8) ================= */
:where(.md) table.bars{width:100%;border-collapse:collapse;font-size:.95rem}
:where(.md) table.bars caption{
  background:linear-gradient(90deg,var(--blue-900),var(--blue) 55%,#0090E6);
  color:#fff;text-align:left;font-weight:600;padding:.7rem .9rem;
}
:where(.md) table.bars th[scope="row"]{
  text-align:left;font-weight:400;padding:.42rem .9rem;
  border-bottom:1px dotted var(--hair);white-space:nowrap;
}
:where(.md) table.bars td{padding:.42rem .9rem;border-bottom:1px dotted var(--hair);vertical-align:middle}
:where(.md) table.bars td.cell-bar{width:52%;padding-inline:0}
:where(.md) table.bars td.val{text-align:right;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
:where(.md) .bar{display:block;height:.55rem;background:linear-gradient(90deg,var(--blue),#00A3F5);min-width:2px}
:where(.md) .split-bar{display:flex;height:1.5rem;margin:.5rem 0 .85rem}
:where(.md) .split-bar span{display:block}
:where(.md) .split-bar .in{background:var(--blue);flex:0 0 98.7%}
:where(.md) .split-bar .out{background:#8FB6D8;flex:1}
@media (max-width:520px){:where(.md) table.bars td.cell-bar{width:38%}}

/* ================= Donut (PDF-Seite 9) ================= */
:where(.md) .donut-wrap{margin:0}
:where(.md) .donut2{width:100%;height:auto}
@media (min-width:900px){:where(.md) .donut-wrap .legend{display:none}}
:where(.md) .legend{list-style:none;margin:0;padding:0}
@media (min-width:640px){:where(.md) .legend{columns:2;column-gap:2.25rem}}
:where(.md) .legend li{
  display:flex;align-items:baseline;gap:.55rem;padding:.34rem 0;
  border-bottom:1px dotted var(--hair);break-inside:avoid;font-size:.94rem;
}
:where(.md) .legend .sw{width:.8rem;height:.8rem;flex:none;position:relative;top:.1em;border:1px solid rgba(0,0,0,.08)}
:where(.md) .legend .pct{margin-left:auto;padding-left:.75rem;font-weight:700;color:var(--blue-900);font-variant-numeric:tabular-nums}
:where(.md) .legend--flat{columns:auto;display:flex;flex-wrap:wrap;gap:.25rem 2rem;margin-bottom:2.25rem}
:where(.md) .legend--flat li{flex:0 0 auto;border-bottom:0;padding:.15rem 0}
:where(.md) .legend--flat .pct{margin-left:0;padding-left:.45rem}
:where(.md) .method{font-size:.9rem;color:var(--muted);margin-bottom:1.75rem}
:where(.md) .method ol{margin:.35rem 0 0;padding-left:1.2rem}

/* ================= Werbeform-Skizzen (PDF-Seiten 11 und 13) ================= */
:where(.md) .wf{
  display:block;position:relative;width:100%;max-width:190px;aspect-ratio:1.55;
  border:1px solid #C6D5E3;background-color:#fff;
  background-image:
    linear-gradient(#EEF3F8,#EEF3F8),
    repeating-linear-gradient(#E4EAF0 0 3px,#fff 3px 10px);
  background-size:100% 15%,56% 56%;
  background-position:0 0,7% 26%;
  background-repeat:no-repeat;
}
:where(.md) .wf__ad{display:block;position:absolute;background:var(--blue-800)}
:where(.md) .wf--sky   .wf__ad{right:6%;top:20%;width:9%;height:68%}
:where(.md) .wf--rect  .wf__ad{right:7%;top:36%;width:27%;height:27%}
:where(.md) .wf--btn   .wf__ad{left:7%;top:22%;width:17%;height:9%}
:where(.md) .wf--lead  .wf__ad{left:7%;right:7%;top:52%;height:12%}
:where(.md) .wf--medr  .wf__ad{left:7%;top:34%;width:26%;height:34%}
:where(.md) table.price--online .thumb{width:1%}
:where(.md) table.price--online .wf{min-width:118px;max-width:158px}
@media (max-width:719px){
  :where(.md) table.price tbody tr .thumb::before{content:none}
  :where(.md) table.price--online tbody tr{grid-template-columns:1fr}
  :where(.md) table.price--online .thumb{grid-row:auto;width:auto;padding:0 0 .7rem;justify-content:flex-start}
  :where(.md) table.price--online .wf{max-width:190px;min-width:0;margin:0}
}

/* ================= Bild-und-Text-Abschnitte ================= */
:where(.md) .media{display:grid;gap:clamp(1.5rem,4vw,3rem);align-items:center}
@media (min-width:900px){:where(.md) .media{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
:where(.md) .media img{display:block;margin-inline:auto;filter:drop-shadow(0 16px 28px rgba(0,52,105,.20))}
:where(.md) .url{font-size:1.06rem;font-weight:600}

/* ================= Meta-Kasten (PDF-Seite 14) ================= */
:where(.md) .metabox{background:linear-gradient(158deg,#E9F3FC,#D5E7F7);padding:clamp(1.25rem,3.5vw,2.1rem)}
:where(.md) .metabox h3{color:var(--blue);font-size:clamp(1.05rem,.98rem + .4vw,1.28rem);margin-bottom:1.1rem;line-height:1.3}
:where(.md) .metabox ul{margin:0;padding:0;list-style:none;font-size:1.02rem}
:where(.md) .metabox li{padding:.34rem 0 .34rem 1.15rem;position:relative}
:where(.md) .metabox li::before{content:"";position:absolute;left:0;top:.66em;width:.38rem;height:.38rem;background:var(--blue)}

/* ================= Anzeigenteam in der Fusszeile ================= */
:where(.md) .team{list-style:none;margin:.5rem 0 1.2rem;padding:0}
:where(.md) .team li{padding:.28rem 0}
:where(.md) .team b{display:block;color:#fff;font-weight:600}
:where(.md) .foot .hl{color:#fff}
:where(.md) .team a{color:#C9DEF2}

/* ================= ESV-Standardfooter (CSS aus der LP-Vorlage) ================= */
/* Einzige extern geladene Datei der Seite. Faellt sie aus (offline, Blocker),
   blendet das Skript die Platzhalterbuchstaben ueber .no-pictos aus.
   EOT-Varianten fuer IE 8 wurden entfernt, WOFF genuegt. */
@font-face {
  font-family: 'modernpictogramspro_neu';
  src: url('https://i.esv.info/webfonts/modernpictogramspro_neu.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
/* Selektoren entsprechen dem ESV-Anzeigenfooter (.footer-box + folgender .container-2sp),
   Darstellung unveraendert wie zuvor. */
:where(.md) .footer-box,
:where(.md) .footer-box + .container-2sp{
  /* Variablen der Vorlage, hier lokal gesetzt, damit das CSS unveraendert bleibt */
  --paper:#ffffff;
  --deep:#0b3854;
  --deep-2:#154c70;
  --line:#dcdee1;
  --font-body:'Titillium Web', Arial, Helvetica, sans-serif;

  background:#e2e4e6;
  font-family:var(--font-body);
  font-size:14px;
  color:#333;
  line-height:1.6;
}
:where(.md) .footer-box{border-top:1px solid var(--line)}

/* Spalten (bisher .esv-footer-inner / .esv-footer-col) */
:where(.md) .footer-box > .container-2sp{
  max-width:var(--maxw);          /* Vorlage: 900px – an das Seitenraster angepasst */
  margin:0 auto;
  padding:28px var(--gut) 20px;
  display:flex;
  flex-wrap:wrap;
}
:where(.md) .footer-box .footer-anz1{flex:1.3 1 220px;padding:0 24px 20px 0}
:where(.md) .footer-box .footer-anz2,
:where(.md) .footer-box .footer-anz3,
:where(.md) .footer-box .footer-anz4{flex:1 1 180px;padding:0 24px 20px 0}
:where(.md) .footer-box .clear-20px{flex:0 0 100%;height:0}

/* Spaltenueberschrift (bisher .esv-footer-heading) */
:where(.md) .footer-box .footer-content-box > .normal{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--deep);
  margin-bottom:12px;
}

/* Zeilen (bisher .esv-footer-row) */
:where(.md) .footer-box table{border-collapse:collapse;border-spacing:0}
:where(.md) .footer-box td{padding:0 0 6px;vertical-align:top}
:where(.md) .footer-box td.normal{color:#333}
:where(.md) .footer-box td.normal a{color:var(--deep-2);text-decoration:none}
:where(.md) .footer-box td.normal a:hover{text-decoration:underline;color:var(--deep)}

/* Piktogramme (bisher .esv-footer-icon / --lg); !important uebersteuert die
   Inline-Schriftgroessen im Markup, damit die Groessen wie bisher bleiben */
:where(.md) .footer-box .symbol-inline{
  width:29px;                     /* 22px Symbol + 7px Abstand */
  padding:0 7px 12px 0;           /* 12px = bisher 6px Symbol + 6px Zeilenabstand */
  font-family:'modernpictogramspro_neu', Arial, sans-serif;
  color:var(--deep);
  font-size:16px !important;
  line-height:.95;
  text-align:center;
}
:where(.md) .footer-box .symbol-inline[style*="38px"]{font-size:22px !important}
/* Ohne die ESV-Piktogrammschrift wuerden hier einzelne Buchstaben stehen */
.no-pictos:where(.md) .footer-box .symbol-inline{visibility:hidden}

/* Unterer Bereich (bisher .esv-footer-bottom) */
:where(.md) .footer-box + .container-2sp{
  background:var(--paper);
  border-top:1px solid var(--line);
  padding:24px 0 28px;
}
/* Rechtliche Hinweise (bisher .esv-footer-legal) */
:where(.md) .footer-box + .container-2sp .abspann{
  max-width:var(--maxw);          /* Vorlage: 900px – an das Seitenraster angepasst */
  margin:0 auto;
  padding-inline:var(--gut);
  font-size:12.5px;
  color:#555;
  line-height:1.7;
  text-align:left;
}
:where(.md) .footer-box + .container-2sp .bibliotext{margin-bottom:10px}
:where(.md) .footer-box + .container-2sp .abspann a{color:var(--deep-2);text-decoration:none}
:where(.md) .footer-box + .container-2sp .abspann a:hover{text-decoration:underline;color:var(--deep)}
:where(.md) .footer-box + .container-2sp .abspann strong{color:#333}
@media(max-width:600px){
  :where(.md) .footer-box .footer-anz1,:where(.md) .footer-box .footer-anz2,
  :where(.md) .footer-box .footer-anz3,:where(.md) .footer-box .footer-anz4{flex:1 1 100%;padding:0 0 16px}
  :where(.md) .footer-box > .container-2sp{padding:20px var(--gut) 10px}
  :where(.md) .footer-box + .container-2sp{padding:18px 0 24px}
}

/* ================= Druck / PDF-Ausgabe ================= */
@page{size:A4 landscape;margin:14mm 13mm 15mm}

@media print{
  html:where(.md),:where(.md) body{background:#fff}
  :where(.md) body{font-size:9.6pt;line-height:1.45;color:#111}
  :where(.md) .wrap{max-width:none;padding-inline:0}

  /* Flaechen und Verlaeufe auch drucken, wenn "Hintergrundgrafiken" aus ist */
  :where(.md) .topbar,:where(.md) .hero,:where(.md) .hero::before,:where(.md) .hero::after,:where(.md) .hero__facts li,:where(.md) .sec--tint,:where(.md) .flag,
  :where(.md) table.price thead tr,:where(.md) table.bars caption,:where(.md) .bar,:where(.md) .split-bar span,:where(.md) .legend .sw,
  :where(.md) .issue__no b,:where(.md) .issue__badge,:where(.md) .deadline,:where(.md) .sticker,:where(.md) .aside,:where(.md) .bubbles,:where(.md) .bubble,:where(.md) .topics,
  :where(.md) .metabox,:where(.md) .track,:where(.md) .dia__svg,:where(.md) .donut2,:where(.md) .footer-box,:where(.md) .footer-box + .container-2sp,:where(.md) .wf,:where(.md) .wf__ad,
  :where(.md) .fmt,:where(.md) .fmt i,:where(.md) .foot{
    -webkit-print-color-adjust:exact;print-color-adjust:exact;
  }

  /* Bedienelemente raus (Titelseite und Sprungnavigation haben eigene Ausnahmen) */
  :where(.md) .toolbar,:where(.md) .linkbtn{display:none!important}
  :where(.md) .btn{display:none!important}
  :where(.md) a[href^="http"]::after{content:none!important}

  /* Sprungnavigation als Kopfzeile der Inhalt-Seite drucken */
  :where(.md) .subnav{
    display:block!important;position:static;background:#fff;
    border-bottom:1px solid var(--line);box-shadow:none;margin-bottom:6mm;
  }
  :where(.md) .subnav__inner{max-width:none;padding:0;overflow-x:visible;flex-wrap:wrap}
  :where(.md) .subnav__cta{display:block!important;margin-left:auto}
  :where(.md) .subnav .btn{display:inline-flex!important}
  :where(.md) .subnav,:where(.md) .subnav .key{-webkit-print-color-adjust:exact;print-color-adjust:exact}

  /* Titelseite: Bild und Text nebeneinander, wie auf der Website */
  :where(.md) .topbar{background:var(--blue-900);border:0}
  :where(.md) .topbar .wrap{min-height:22mm}
  :where(.md) .topbar__logo{color:#fff;width:34mm}
  :where(.md) .topbar__logo svg path[fill="#004F9F"]{fill:#fff}
  :where(.md) .hero{break-after:page}
  :where(.md) .hero__inner{
    display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);
    column-gap:10mm;align-items:center;padding:6mm 0 0;
  }
  :where(.md) .hero__devices{order:1;display:flex;justify-content:center;align-items:flex-end;margin-top:0}
  :where(.md) .hero__text{order:2}
  :where(.md) .hero__devices .dev-mon{width:92mm}
  :where(.md) .hero__devices .dev-tab{display:block;width:42mm}
  :where(.md) .hero__year{font-size:38pt;margin:1.5mm 0 0}
  :where(.md) .hero h1{font-size:26pt}
  :where(.md) .hero__facts{max-width:none}
  :where(.md) .hero .cta{display:flex!important}
  :where(.md) .hero .cta .btn{display:inline-flex!important}

  /* Jeder Abschnitt beginnt auf einer neuen Seite */
  :where(.md) .sec{break-before:page;padding:0 0 4mm;border-top:0;scroll-margin:0}
  /* Inhalt-Uebersicht bleibt auf der Seite mit der Sprungnavigation (PDF-Seite 2) */
  :where(.md) #ueberblick{break-before:avoid;padding-top:0}
  :where(.md) .sec__head{margin-bottom:5mm}
  :where(.md) .sec__head h2{font-size:16pt}
  :where(.md) .flag{width:9mm}

  /* Tabellen: echte Tabellen statt Kartenansicht, nichts abgeschnitten */
  :where(.md) .tablewrap{overflow:visible !important;margin-bottom:4mm}
  :where(.md) table.price{min-width:0 !important;font-size:8.4pt}
  :where(.md) table.price thead{display:table-header-group;position:static;width:auto;height:auto;clip-path:none}
  :where(.md) table.price tbody tr{display:table-row;border:0;padding:0;margin:0}
  :where(.md) table.price tbody td,:where(.md) table.price tbody th{display:table-cell;padding:2.2mm 2mm;border-bottom:1px solid #CBD9E6}
  :where(.md) table.price tbody td::before{content:none !important}
  :where(.md) table.price th[scope="row"]{font-size:8.6pt;color:#111;padding-left:2mm}
  :where(.md) table.price .thumb,:where(.md) table.price--online .thumb{width:14mm;grid-row:auto;padding:1mm 0}
  :where(.md) table.price--online .wf{min-width:0;max-width:24mm}
  :where(.md) .fmt{width:9mm;height:12.8mm}
  :where(.md) table.bars{font-size:8.6pt}
  :where(.md) table.mini{font-size:8.6pt}

  /* Verbreitungstabellen nebeneinander wie im Print */
  :where(.md) #verbreitung .grid2{grid-template-columns:1fr 1fr;gap:6mm}
  :where(.md) #website .btn{display:inline-flex!important}
  :where(.md) #newsletter img{max-height:95mm;width:auto;max-width:100%}
  :where(.md) #verbreitung .sec__intro{margin-bottom:2.5mm}
  :where(.md) #verbreitung .sec__head{margin-bottom:2.5mm}
  :where(.md) #verbreitung .split-bar{margin:1.5mm 0 2mm;height:3.5mm}
  :where(.md) #verbreitung .legend--flat{margin-bottom:2.5mm}
  :where(.md) #verbreitung table.bars{font-size:7.6pt}
  :where(.md) #verbreitung table.bars td,:where(.md) #verbreitung table.bars th[scope="row"]{padding:.5mm 2mm}
  :where(.md) #verbreitung table.bars caption{padding-bottom:1mm;margin-bottom:1mm;font-size:8.6pt}
  :where(.md) #verbreitung .bar{height:1.6mm}

  /* Diagramme: immer die grafische Fassung, nicht die Kachel-Liste */
  :where(.md) .dia__svg{display:block !important}
  :where(.md) .dia .bubbles,:where(.md) .donut-wrap .legend{display:none !important}
  :where(.md) .donut2{max-width:170mm;margin-inline:auto}

  /* Termine: im PDF wie auf der Website – nur die naechste Ausgabe, mit Toggle-Hinweis */
  :where(.md) .issues{grid-template-columns:1fr 1fr;gap:3mm}
  :where(.md) #termine .toolbar,:where(.md) #termine .linkbtn{display:flex!important}
  :where(.md) #termine .linkbtn{display:inline-block!important}
  :where(.md) .deadline .btn{display:inline-flex!important}

  :where(.md) .foot .btn{display:inline-flex!important}

  /* Spaltenraster: was hoeher als eine Seite wird, laeuft einspaltig,
     der Rest bleibt zweispaltig wie im Print */
  :where(.md) .grid2{grid-template-columns:1fr 1fr;gap:7mm}
  :where(.md) .grid2--wide{grid-template-columns:2fr 1fr;gap:7mm}
  :where(.md) .media{grid-template-columns:1fr 1fr;gap:7mm}
  :where(.md) .tracks{grid-template-columns:1fr 1fr}
  /* Preisliste: Tabelle und Kontaktbox nebeneinander wie auf der Website */
  :where(.md) #preise .aside .btn{display:inline-flex!important}
  :where(.md) #formate .dia{max-width:100mm;margin:0 auto}
  :where(.md) #portraet .grid2{grid-template-columns:1fr 1.12fr}
  :where(.md) #portraet .stack{gap:5mm}
  :where(.md) #portraet .block+.block{margin-top:0}
  :where(.md) #online-konditionen .stack{gap:5mm}
  :where(.md) #online-konditionen .block+.block{margin-top:0}
  :where(.md) #portraet .chips{gap:1.8mm}
  :where(.md) #portraet .chips li{padding:1mm 2.4mm;font-size:8.4pt}
  :where(.md) .dl__row{grid-template-columns:26mm 1fr;padding:1.6mm 0}
  :where(.md) .aside{max-width:120mm}
  :where(.md) .foot{break-inside:avoid}

  /* Umbrueche sauber halten */
  :where(.md) .issue,:where(.md) .track,:where(.md) .topics,:where(.md) .tablewrap,:where(.md) .bubbles,:where(.md) .dia,:where(.md) .donut-wrap,:where(.md) .metabox,:where(.md) .aside,
  :where(.md) .media,:where(.md) .staffel,:where(.md) .block,:where(.md) .dl__row,:where(.md) .legend li,:where(.md) figure,:where(.md) img,:where(.md) table.bars{break-inside:avoid}
  :where(.md) h2,:where(.md) h3,:where(.md) .sub{break-after:avoid}
  :where(.md) .sec__head{break-after:avoid}

  /* Fussbereich: bleibt zusammen mit der Kontakt-Box auf der Seite */
  :where(.md) .foot{padding:3.5mm 0 2.5mm}
  :where(.md) .footer-box{border-top:0}
  :where(.md) .footer-box > .container-2sp{padding:1.5mm var(--gut) 1mm;max-width:none}
  :where(.md) .footer-box .footer-anz1,:where(.md) .footer-box .footer-anz2,
  :where(.md) .footer-box .footer-anz3,:where(.md) .footer-box .footer-anz4{padding-bottom:1.5mm}
  :where(.md) .footer-box .footer-content-box > .normal{margin-bottom:1.5mm}
  :where(.md) .footer-box td{padding-bottom:.8mm}
  :where(.md) .footer-box + .container-2sp{padding:1.5mm 0 2mm;background:#fff}
  :where(.md) .foot p{margin-bottom:.55em}
  :where(.md) .foot .team{margin:.3rem 0 .6rem}
  :where(.md) .footer-box + .container-2sp .abspann{font-size:7.2pt;line-height:1.3}
  :where(.md) .footer-box + .container-2sp .bibliotext{margin-bottom:.6mm}
    :where(.md) .footer-box + .container-2sp .abspann{max-width:none;padding-inline:0;font-size:7.8pt}
  :where(.md) .footer-box .symbol-inline{display:none}
}

@media print{
  /* Kontakt: im PDF/Druck 10px Abstand der Schrift zum linken und rechten Rand */
  :where(.md) #kontakt .wrap{padding-inline:10px}
}


/* #####################################################################
   2. TITELSPEZIFISCH  (:where(.md-<kuerzel>))
   ##################################################################### */

/* =====================================================================
   TITELSPEZIFISCH: ARBEITSSCHUTZdigital (reines Online-Produkt)
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Weil es keine Zeitschrift gibt (keine Termine, keine
   Print-Preisliste, keine Druckunterlagen), ist die Seite als Produkt-
   Mediadaten einer Datenbank gestaltet: Titelrot aus dem Logo als Akzent,
   Kennzahlen des Wissenspools im Hero, Themen als Kartenraster,
   schematische Platzierungsskizze der Website-Werbeformen, Newsletter mit
   Meta-Kreis wie im PDF, Kombi-Seite "Die Welt der Betriebssicherheit"
   (3 Angebote), Kontaktfoto, eigene Druckregeln (12 Seiten wie das PDF).
   ===================================================================== */
:root:where(.md-arbd){
  --accent:#B4191F;        /* Titelrot der Schrift im PDF (Logo #B90C1C); weiss darauf 6,6:1, als Schrift auf Weiss 6,6:1 */
  --accent-dark:#8E1218;   /* dunkleres Rot fuer kleine Schrift auf heller Tonflaeche */
  --accent-soft:#FBECEB;   /* helle Tonflaeche Rot */
  --accent-line:#F0C9C6;
  --digital:#8A8C8E;       /* Grau "digital" (Logo #BCBEC0) als Schrift dunkler (3,5:1 nur fuer grosse Ziffern) */
  --meta-bg:#DCE6F1;       /* Kasten Meta-Informationen: helles Blaugrau wie im PDF */
  --ad:#B4191F;            /* Werbemittel in den Skizzen rot wie im PDF */
  --job:#F7D9D6;           /* Hinweiskreis Jobware (PDF rosa), Schrift #004F9F (6,4:1) */
}

/* ---------- Titel-Logo (Vektor aus dem PDF) + Unterzeile ---------- */
:where(.md-arbd) .brand--logo img{display:block;width:clamp(240px,13rem + 7vw,400px);max-width:100%;height:auto}
:where(.md-arbd) .hero__claim{margin:.75rem 0 0;font-size:clamp(1rem,.9rem + .45vw,1.24rem);font-weight:600;line-height:1.32;
  color:#3B4148;max-width:25em;padding-left:.8rem;border-left:3px solid var(--accent)}

/* Hero-Kennzahlen des Wissenspools: Ziffern titelrot, nie ueberlaufen */
:where(.md-arbd) .hero__facts li{min-width:0}
:where(.md-arbd) .hero__facts li > b{white-space:nowrap;color:var(--accent);font-size:1.32rem}
:where(.md-arbd) .hero__facts li > span{line-height:1.3}
:where(.md-arbd) .hero .btn:not(.btn--ghost){background:var(--accent);border-color:var(--accent)}
:where(.md-arbd) .hero .btn:not(.btn--ghost):hover{background:var(--accent-dark);border-color:var(--accent-dark)}

/* ---------- Inhalt (#ueberblick): zwei Kanaele Website / Newsletter ---------- */
:where(.md-arbd) #ueberblick .sec__intro{max-width:70ch}
:where(.md-arbd) .track{position:relative;overflow:hidden}
:where(.md-arbd) .track--soft{border-top-color:var(--accent)}
:where(.md-arbd) .track__eyebrow{margin:0 0 .2rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
:where(.md-arbd) .track h3{font-size:1.08rem;margin-bottom:1rem;overflow-wrap:anywhere}
:where(.md-arbd) .track h3 a{color:var(--blue-900);text-decoration:none}
:where(.md-arbd) .track h3 a:hover,:where(.md-arbd) .track h3 a:focus-visible{text-decoration:underline}
:where(.md-arbd) .track li .key{background:transparent;color:var(--accent);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-arbd) .track li .key--none{visibility:hidden}

/* ---------- Porträt ---------- */
:where(.md-arbd) .portraet__fig{margin:0}
:where(.md-arbd) .portraet__fig img{display:block;width:100%;max-width:520px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
:where(.md-arbd) .chips--accent li{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-dark);font-weight:600}

/* ---------- Themen (PDF-Seite 4): Einleitung als rote Karte (2 Felder breit) + 10 nummerierte Themenkarten
   = 12 Felder, geht bei 4, 3, 2 und 1 Spalte ohne Luecke auf ---------- */
:where(.md-arbd) .themen{display:grid;gap:1rem;counter-reset:thema;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
:where(.md-arbd) .themen__lead{grid-column:span 2;background:linear-gradient(140deg,var(--accent) 0%,#8E1218 100%);color:#fff;
  padding:1.4rem 1.5rem;display:flex;align-items:center;font-size:1.02rem;line-height:1.5}
:where(.md-arbd) .themen__lead strong{color:#fff}
@media (max-width:540px){:where(.md-arbd) .themen__lead{grid-column:auto}}
:where(.md-arbd) .thema{counter-increment:thema;position:relative;background:#fff;border:1px solid var(--line);
  border-top:3px solid var(--accent);padding:1.05rem 1.15rem 1.1rem;min-width:0;
  transition:box-shadow .18s,transform .18s}
:where(.md-arbd) .thema:hover{box-shadow:0 10px 24px rgba(0,52,105,.10);transform:translateY(-2px)}
:where(.md-arbd) .thema::before{content:counter(thema,decimal-leading-zero);position:absolute;right:.9rem;top:.55rem;
  font-size:1.6rem;font-weight:300;line-height:1;color:#B5C1CD}
:where(.md-arbd) .thema h3{font-size:1rem;color:var(--accent);margin:0 2.4rem .45rem 0;line-height:1.25}
:where(.md-arbd) .thema p{margin:0;font-size:.93rem;color:#2A333D}
@media (prefers-reduced-motion:reduce){:where(.md-arbd) .thema{transition:none}:where(.md-arbd) .thema:hover{transform:none}}

/* ---------- Werbeform-Skizzen: Werbemittel rot, Video mit Abspielzeichen ---------- */
:where(.md-arbd) .wf__ad{background:var(--ad)}
:where(.md-arbd) .wf--video .wf__ad{right:7%;bottom:10%;width:16%;height:20%}
:where(.md-arbd) .wf--video .wf__ad::after{content:"";position:absolute;left:40%;top:28%;border-left:6px solid #fff;
  border-top:4px solid transparent;border-bottom:4px solid transparent}
:where(.md-arbd) table.price th[scope="row"]{white-space:nowrap}
@media (max-width:719px){:where(.md-arbd) table.price .num{white-space:normal}:where(.md-arbd) table.price th[scope="row"]{white-space:normal}
  :where(.md-arbd) table.price td{overflow-wrap:anywhere;min-width:0}
  :where(.md-arbd) table.price td::before{flex:none;overflow-wrap:normal}
  :where(.md-arbd) table.price td[data-label="Platzierung"]{text-align:right}}

/* ---------- Platzierungsskizze der Website (schematisch) ---------- */
:where(.md-arbd) .adsmap{margin:2.25rem 0 0;display:grid;gap:1.5rem 2.5rem;align-items:center}
@media (min-width:860px){:where(.md-arbd) .adsmap{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
:where(.md-arbd) .adsmap__screen{border:1px solid #C6D5E3;background:#fff;box-shadow:0 18px 36px rgba(0,52,105,.12);
  border-radius:6px 6px 0 0;overflow:hidden;max-width:560px;width:100%;margin-inline:auto}
:where(.md-arbd) .adsmap__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .9rem;
  border-bottom:1px solid #E4EAF0;background:linear-gradient(90deg,#fff 55%,#FCEFE2)}
:where(.md-arbd) .adsmap__logo{font-weight:700;font-size:.82rem;letter-spacing:.01em;color:var(--accent)}
:where(.md-arbd) .adsmap__logo i{font-style:normal;font-weight:400;color:var(--digital)}
:where(.md-arbd) .adsmap__search{width:32%;height:.85rem;border:1px solid #E0A9A6;border-radius:2px}
:where(.md-arbd) .adsmap__nav{height:.75rem;margin:.45rem .9rem;background:repeating-linear-gradient(90deg,#DCE3EA 0 13%,transparent 13% 15%)}
:where(.md-arbd) .adsmap__body{position:relative;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:.8rem;
  padding:.6rem 2.6rem 1rem .9rem}
:where(.md-arbd) .adsmap__main,:where(.md-arbd) .adsmap__side{display:grid;gap:.55rem;align-content:start}
:where(.md-arbd) .adsmap__lines{display:block;height:2.4rem;background:repeating-linear-gradient(#E6EBF0 0 4px,transparent 4px 9px)}
:where(.md-arbd) .adsmap__lines--short{height:1.3rem;width:70%}
:where(.md-arbd) .adsmap__lines--side{height:3.2rem}
:where(.md-arbd) .adsmap__ad{position:relative;display:grid;place-items:center;background:var(--ad);color:#fff}
:where(.md-arbd) .adsmap__ad b{display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#fff;
  color:var(--accent);font-size:.78rem;font-weight:700}
:where(.md-arbd) .adsmap__ad--btn{width:34%;height:1.9rem}
:where(.md-arbd) .adsmap__ad--rect{height:3.9rem;width:82%}
:where(.md-arbd) .adsmap__ad--video{width:62%;height:4.4rem;justify-self:end}
:where(.md-arbd) .adsmap__ad--video::after{content:"";position:absolute;right:.7rem;bottom:.6rem;border-left:9px solid #fff;
  border-top:6px solid transparent;border-bottom:6px solid transparent}
:where(.md-arbd) .adsmap__ad--sky{position:absolute;right:.55rem;top:.6rem;bottom:1rem;width:1.55rem;align-items:start;padding-top:.4rem}
:where(.md-arbd) .adsmap__ad--sky b{width:1.15rem;height:1.15rem;font-size:.7rem}
:where(.md-arbd) .adsmap__legend{list-style:none;margin:0;padding:0}
:where(.md-arbd) .adsmap__legend li{display:flex;gap:.7rem;align-items:center;padding:.45rem 0;border-bottom:1px dotted var(--hair)}
:where(.md-arbd) .adsmap__legend li:last-child{border-bottom:0}
:where(.md-arbd) .adsmap__legend b{flex:none;display:grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;
  background:var(--accent);color:#fff;font-size:.8rem}
:where(.md-arbd) .adsmap figcaption .notes{margin-top:.6rem}

/* ---------- Konditionen Website ---------- */
:where(.md-arbd) .konditionen__fig img{display:block;width:100%;max-width:470px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
@media (min-width:900px){:where(.md-arbd) #website-konditionen .grid2{align-items:center}}
:where(.md-arbd) table.mini td:last-child{color:var(--accent-dark)}

/* ---------- Rubrik Stellenanzeigen (PDF-Seite 7): Hinweiskreis Jobware als Text ---------- */
:where(.md-arbd) table.price--job th[scope="row"]{white-space:normal;min-width:9rem}
@media screen and (min-width:900px){:where(.md-arbd) #stellenanzeigen .tablewrap{max-width:860px}}
:where(.md-arbd) .job{margin-top:2.25rem}
:where(.md-arbd) .job__fig{position:relative}
:where(.md-arbd) .job__fig img{display:block;width:100%;max-width:560px;height:auto;margin-inline:auto}
:where(.md-arbd) .job__sticker{background:var(--job);color:#004F9F;width:min(100%,180px);font-size:.98rem;font-weight:600;padding:1.2rem;margin:0 auto 1rem}
:where(.md-arbd) .job__sticker b{font-weight:700}
@media (min-width:900px){:where(.md-arbd) .job__sticker{position:absolute;right:0;top:-1.5rem;z-index:1;margin:0}}
@media (max-width:719px){:where(.md-arbd) table.price--job tbody tr{grid-template-columns:1fr}}

/* ---------- Newsletter ---------- */
:where(.md-arbd) #newsletter .grid2__fig img{max-width:440px;width:100%}
:where(.md-arbd) #newsletter .dl__row{grid-template-columns:1fr}
@media (min-width:520px){:where(.md-arbd) #newsletter .dl__row{grid-template-columns:minmax(7.5rem,9rem) 1fr}}

/* ---------- Meta-Kreis (PDF-Seite 10): roter Kreis auf blaugrauem Kasten mit Zahnraedern ---------- */
:where(.md-arbd) .metabox--accent{position:relative;overflow:hidden;background:var(--meta-bg)}
:where(.md-arbd) .metabox--accent h3{position:relative;z-index:1;max-width:19em}
:where(.md-arbd) .metabox__gears{position:absolute;right:-18px;top:28%;width:min(46%,210px);height:auto;color:#9CB3CF;opacity:.75}
:where(.md-arbd) .metabox--accent ul{position:relative;z-index:1;background:var(--accent);color:#fff;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto 0 0;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.1rem;
  box-shadow:0 14px 30px rgba(140,18,24,.25)}
:where(.md-arbd) .metabox--accent li::before{background:#fff}
@media (max-width:520px){:where(.md-arbd) .metabox__gears{display:none}:where(.md-arbd) .metabox--accent ul{margin:0 auto}}

/* ---------- Kombi-Seite "Die Welt der Betriebssicherheit" (3 Angebote) ---------- */
:where(.md-arbd) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-arbd) .kombi__claim span{color:var(--cyan-text)}
:where(.md-arbd) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){:where(.md-arbd) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:980px){:where(.md-arbd) .kombi{grid-template-columns:repeat(3,minmax(0,1fr))}}
:where(.md-arbd) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;
  display:flex;flex-direction:column;gap:.7rem;min-width:0}
:where(.md-arbd) .kombi__item img{display:block;width:100%;height:220px;object-fit:contain;object-position:center;margin:0 auto;filter:drop-shadow(0 10px 18px rgba(0,52,105,.16))}
:where(.md-arbd) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-arbd) .kombi__item p{margin:0;font-size:.95rem}
:where(.md-arbd) #kombi .btn{background:var(--accent);border-color:var(--accent)}
:where(.md-arbd) #kombi .btn:hover{background:var(--accent-dark);border-color:var(--accent-dark)}

/* ---------- Kontakt: Foto rund wie im PDF ---------- */
:where(.md-arbd) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-arbd) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-arbd) .foot__person{flex-direction:column}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-arbd) .url,:where(.md-arbd) .track__sub,:where(.md-arbd) .kombi__item p,:where(.md-arbd) #kontakt p,:where(.md-arbd) #portraet dd{overflow-wrap:anywhere}

@media print{
  :where(.md-arbd) .hero__facts li,:where(.md-arbd) .track,:where(.md-arbd) .chips li,:where(.md-arbd) .themen__lead,:where(.md-arbd) .thema,:where(.md-arbd) .wf__ad,:where(.md-arbd) .adsmap__screen,:where(.md-arbd) .adsmap__bar,:where(.md-arbd) .adsmap__nav,:where(.md-arbd) .adsmap__lines,
  :where(.md-arbd) .adsmap__ad,:where(.md-arbd) .adsmap__ad b,:where(.md-arbd) .adsmap__legend b,:where(.md-arbd) .metabox--accent,:where(.md-arbd) .metabox--accent ul,:where(.md-arbd) .metabox__gears,:where(.md-arbd) .kombi__item,
  :where(.md-arbd) .job__sticker,:where(.md-arbd) .foot__photo{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-arbd) .brand--logo img{width:64mm}
  :where(.md-arbd) .hero__claim{font-size:10pt;margin-top:2mm}
  :where(.md-arbd) .hero__facts li > b{font-size:12pt}
  :where(.md-arbd) .hero .btn:not(.btn--ghost){background:var(--accent)!important}
  :where(.md-arbd) #ueberblick .sec__intro{margin-bottom:4mm}
  /* Porträt */
  :where(.md-arbd) #portraet .grid2{grid-template-columns:1.1fr 1fr}
  :where(.md-arbd) #portraet .block p,:where(.md-arbd) #portraet dd{font-size:8.8pt;line-height:1.35}
  :where(.md-arbd) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-arbd) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm;grid-template-columns:30mm 1fr}
  :where(.md-arbd) #portraet .chips li{padding:.6mm 2mm;font-size:7.8pt}
  :where(.md-arbd) .portraet__fig img{max-height:52mm;width:auto}
  /* Themen: 10 Karten in 3 Spalten */
  :where(.md-arbd) .themen{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-arbd) .themen__lead{padding:3mm 4mm;font-size:8.8pt;line-height:1.38}
  :where(.md-arbd) .thema{padding:2.2mm 3mm;break-inside:avoid}
  :where(.md-arbd) .thema::before{font-size:13pt;top:1.5mm;right:2.5mm}
  :where(.md-arbd) .thema h3{font-size:9pt;margin-bottom:.8mm}
  :where(.md-arbd) .thema p{font-size:8.2pt;line-height:1.3}
  /* Website-Preise mit Skizze auf einer Seite */
  :where(.md-arbd) #online-preise table.price td,:where(.md-arbd) #online-preise table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-arbd) #online-preise .wf{max-width:20mm}
  :where(.md-arbd) .adsmap{grid-template-columns:1fr 1fr;gap:8mm;margin-top:4mm;break-inside:avoid}
  :where(.md-arbd) .adsmap__screen{max-width:92mm;box-shadow:none}
  :where(.md-arbd) .adsmap__legend li{font-size:8.6pt;padding:1mm 0}
  :where(.md-arbd) #website-konditionen .stack{gap:4mm}
  :where(.md-arbd) #website-konditionen .block+.block{margin-top:0}
  :where(.md-arbd) #website-konditionen p[style],:where(.md-arbd) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-arbd) #website-konditionen table.mini th,:where(.md-arbd) #website-konditionen table.mini td,
  :where(.md-arbd) #online-konditionen table.mini th,:where(.md-arbd) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-arbd) .konditionen__fig img{max-height:80mm;width:auto}
  /* Stellenanzeigen */
  :where(.md-arbd) #stellenanzeigen table.price td,:where(.md-arbd) #stellenanzeigen table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-arbd) #stellenanzeigen .dl__row{grid-template-columns:32mm 1fr}
  :where(.md-arbd) #stellenanzeigen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-arbd) .job{margin-top:4mm;gap:6mm}
  :where(.md-arbd) .job__fig img{max-height:66mm;width:auto}
  :where(.md-arbd) .job__sticker{width:30mm;padding:2.5mm;font-size:8pt}
  /* Newsletter */
  :where(.md-arbd) #newsletter .grid2__fig img{max-height:118mm;width:auto}
  :where(.md-arbd) #newsletter dd,:where(.md-arbd) #newsletter p{font-size:8.8pt;line-height:1.35}
  :where(.md-arbd) #newsletter .dl__row{grid-template-columns:24mm 1fr}
  /* Konditionen Newsletter */
  :where(.md-arbd) #online-konditionen .dl__row{grid-template-columns:30mm 1fr;padding:1.2mm 0}
  :where(.md-arbd) #online-konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-arbd) .metabox--accent{padding:5mm}
  :where(.md-arbd) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-arbd) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  /* Kombi */
  :where(.md-arbd) .kombi{grid-template-columns:repeat(3,1fr);gap:6mm}
  :where(.md-arbd) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-arbd) .kombi__item img{height:50mm;filter:none}
  :where(.md-arbd) .kombi__item p{font-size:9pt}
  :where(.md-arbd) #kombi .btn{display:none!important}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-arbd) #kontakt{break-before:page}
  :where(.md-arbd) .foot__photo{width:18mm;height:18mm}
  :where(.md-arbd) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-arbd) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Archiv für das Studium der neueren Sprachen und Literaturen
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarbe Orange (aus dem Print-PDF, #F7A600),
   Titel-Logo als SVG, Info-Blasen orange, Termine mit Themenkasten,
   kleine Preistabelle mit Seitenleiste, Kombi-Seite "Die Welt der
   Philologie", Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-archiv){
  --accent:#F7A600;        /* Orange des Titel-Schriftzugs und der Info-Blasen im PDF */
  --accent-ink:#004979;    /* Schrift auf dem hellen Orange (Kreis Meta-Informationen), wie im PDF */
  --accent-text:#A86800;   /* Orange-Braun fuer Text auf Weiss (PDF: #F7A600, Kontrast 4,5:1) */
  --accent-soft:#FCC569;   /* helles Orange des Kreises Meta-Informationen im PDF */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-archiv) .brand--logo img{display:block;width:clamp(220px,14rem + 6vw,340px);max-width:100%;height:auto}

/* Hero-Kennzahlen: "155 × 230" nie ueberlaufen lassen */
:where(.md-archiv) .hero__facts li{min-width:0}
:where(.md-archiv) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben orange wie im PDF */
:where(.md-archiv) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-archiv) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-archiv) .track__sub--accent a:hover,:where(.md-archiv) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-archiv) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-archiv) .track li .key--none{visibility:hidden}

/* Akzent: Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-archiv) .wf__ad{background:var(--accent)}
:where(.md-archiv) .metabox--accent ul{background:var(--accent-soft);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-archiv) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": orange mit dunkler Schrift wie im PDF */
:where(.md-archiv) .bubble{background:var(--accent);color:#1A1A1A}
:where(.md-archiv) .bubble b{color:#1A1A1A}
:where(.md-archiv) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(120,80,0,.16)}

/* Termine: nur die vier Daten je Heft; die Themen gelten fuer beide Hefte (Kasten .topics) */
:where(.md-archiv) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
@media (min-width:640px){:where(.md-archiv) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-archiv) .topics p{margin:0;font-size:.96rem}
:where(.md-archiv) .topics p + ul{margin-top:.6rem}

/* Preisliste: kleine Tabelle mit Seitenleiste, darunter Sonderwerbeformen/Zahlung/Kontakt */
:where(.md-archiv) table.price .thumb{width:72px}
:where(.md-archiv) table.price th[scope="row"]{white-space:nowrap}
:where(.md-archiv) table.price--print thead th{white-space:nowrap}
:where(.md-archiv) #preise table.price{min-width:0}   /* nur 3 Spalten: passt ohne Mindestbreite in die schmalere Spalte */
:where(.md-archiv) .sub small{font-weight:400;color:var(--muted);font-size:.84em}
:where(.md-archiv) .preise-top{display:grid;gap:1.25rem 2rem;align-items:start}
@media (min-width:900px){:where(.md-archiv) .preise-top{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
:where(.md-archiv) .preise-top .tablewrap{margin-bottom:0}
:where(.md-archiv) .preise-top .aside{max-width:none}
:where(.md-archiv) .preise-bottom{margin-top:2rem}
@media (max-width:719px){
  :where(.md-archiv) table.price .num{white-space:normal}
  :where(.md-archiv) table.price th[scope="row"]{white-space:normal}
}

/* Die Welt der Philologie (PDF-Seite 10) */
:where(.md-archiv) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-archiv) .kombi__claim span{color:var(--cyan-text)}
:where(.md-archiv) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-archiv) .kombi{grid-template-columns:repeat(2,minmax(0,1fr));max-width:48rem}}
:where(.md-archiv) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-/Tablet-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar (Korrektur 14.10.2026) */
:where(.md-archiv) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-archiv) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-archiv) .kombi__item p{margin:0;font-size:.95rem;overflow-wrap:anywhere}

/* Kontakt: Foto rund wie im PDF */
:where(.md-archiv) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-archiv) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-archiv) .foot__person{flex-direction:column}}

@media print{
  :where(.md-archiv) .bubble,:where(.md-archiv) .metabox--accent ul,:where(.md-archiv) .kombi__item,:where(.md-archiv) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-archiv) .brand--logo img{width:62mm}
  :where(.md-archiv) .topics{padding:3mm 4mm}
  :where(.md-archiv) #termine .issues{grid-template-columns:1fr 1fr}
  :where(.md-archiv) table.price .thumb{width:14mm}
  :where(.md-archiv) #preise .fmt{width:6mm;height:8.5mm}
  :where(.md-archiv) .preise-top{grid-template-columns:1.5fr 1fr;gap:6mm}
  :where(.md-archiv) .preise-bottom{margin-top:5mm}
  :where(.md-archiv) #preise .stack{gap:4mm}
  :where(.md-archiv) #preise p,:where(.md-archiv) #preise dd{font-size:9pt;line-height:1.35}
  :where(.md-archiv) #preise .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-archiv) #preise .aside{padding:3mm 4mm;font-size:8.4pt}
  :where(.md-archiv) #online-konditionen .stack{gap:4mm}
  :where(.md-archiv) #online-konditionen p{font-size:9pt;line-height:1.35}
  :where(.md-archiv) .metabox--accent{padding:5mm}
  :where(.md-archiv) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-archiv) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-archiv) #online-preise .wf{max-width:22mm}
  :where(.md-archiv) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-archiv) #portraet .block p,:where(.md-archiv) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-archiv) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-archiv) #portraet .stack{gap:4.5mm}
  :where(.md-archiv) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:none}
  :where(.md-archiv) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-archiv) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-archiv) .kombi__item p{font-size:9pt}
  :where(.md-archiv) .foot__photo{width:18mm;height:18mm}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-archiv) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-archiv) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-archiv) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Berliner Anwaltsblatt
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelrot (aus dem Print-PDF), Titel-Logo als SVG,
   Info-Blasen und Meta-Kreis rot mit weisser Schrift, Sticker hellgrau mit
   roter Schrift (wie im PDF), 10 Termine (zwei Doppelhefte) mit fuenf Daten,
   Schwerpunkt und Messe/Ausstellung je Ausgabe, Preistabelle mit U-Seiten
   und Hoch-/Quer-Formaten, Seiten Advertorial und Rubrikanzeigen mit
   unscharfem Beispiel-Mockup, Website-Werbeformen mit Crossmedia-Spalte,
   Infodienst + Newsletter Recht, Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-bab){
  --accent:#B51F2A;        /* Titelrot aus dem PDF (Logo "Berliner", Blasen, Kennbuchstaben); weiss darauf 6,6:1 */
  --accent-ink:#FFFFFF;
  --accent-text:#B51F2A;   /* rote Schrift auf Weiss/Hellblau (6,6:1) */
  --accent-soft:#FBEDEE;   /* helle Tonflaeche */
  --sticker:#E4E3E3;       /* Kreis-Sticker hellgrau wie im PDF ... */
  --sticker-ink:#B51F2A;   /* ... mit roter Schrift (5,0:1) */
  --meta:#B51F2A;          /* Kreis Meta-Informationen rot wie im PDF */
  --meta-ink:#FFFFFF;
  --ad:#B51F2A;            /* Werbemittel in den Online-Skizzen, rot wie im PDF */
}

/* Titel-Logo (aus dem Rasterlogo des PDFs nachgezeichnet, als SVG eingebettet) + Unterzeile */
:where(.md-bab) .brand--logo img{display:block;width:clamp(230px,12rem + 7vw,360px);max-width:100%;height:auto}
:where(.md-bab) .hero__claim{margin:.6rem 0 0;font-size:clamp(1rem,.9rem + .4vw,1.2rem);font-weight:600;letter-spacing:.02em;line-height:1.3;color:#5C5C5B;max-width:24em}

/* Hero: Tablet mit BABdigital.de, Heft (hochformatig) davor */
:where(.md-bab) .hero__devices .dev-mon{width:min(88%,480px)}
:where(.md-bab) .hero__devices .dev-tab{width:min(32%,170px);left:auto;right:4%;bottom:-6%}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-bab) .hero__facts li{min-width:0}
:where(.md-bab) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben titelrot wie im PDF */
:where(.md-bab) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-bab) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-bab) .track__sub--accent a:hover,:where(.md-bab) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-bab) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-bab) .track li .key--none{visibility:hidden}

/* Porträt: Redaktion mit Teamzeilen; lange E-Mail-Adresse darf umbrechen */
:where(.md-bab) .team-red{display:block;margin-top:.45rem}
:where(.md-bab) #portraet dd a{overflow-wrap:anywhere}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-bab) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(0,52,105,.16)}
:where(.md-bab) .sticker--accent sup{color:inherit}
:where(.md-bab) .wf__ad{background:var(--ad)}
:where(.md-bab) .metabox--accent ul{background:var(--meta);color:var(--meta-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-bab) .metabox--accent li::before{background:#fff}
/* Info-Blasen "Dateiformate und Farben": rot wie im PDF, Schrift weiss */
:where(.md-bab) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-bab) .bubble b{color:var(--accent-ink)}
:where(.md-bab) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: 10 Ausgaben (Doppelhefte 1/2 und 7/8) mit fuenf Daten, Schwerpunkt und
   Messe/Ausstellung je Ausgabe (Muster der Vorlage; Bloecke OPTIONAL) */
:where(.md-bab) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
@media screen and (min-width:640px){:where(.md-bab) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-bab) .issue{min-width:0}
:where(.md-bab) .issue__topic{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair);font-size:.95rem}
:where(.md-bab) .issue__topic p{margin:0;font-weight:600}
:where(.md-bab) .issue__lbl{display:block;font-size:.78rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--accent-text);margin-bottom:.15rem}
:where(.md-bab) .issue__events{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair)}
:where(.md-bab) .issue__events ul{list-style:none;margin:0;padding:0;font-size:.9rem}
:where(.md-bab) .issue__events li{display:grid;grid-template-columns:6.4rem minmax(0,1fr);gap:.6rem;padding:.2rem 0}
:where(.md-bab) .issue__events li:has(time:empty){grid-template-columns:minmax(0,1fr)}
:where(.md-bab) .issue__events time:empty{display:none}
:where(.md-bab) .issue__events time{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
:where(.md-bab) .issue--past .issue__topic,:where(.md-bab) .issue--past .issue__events{color:#8B98A5}
:where(.md-bab) .issue__events span a{color:inherit;text-decoration:underline;text-decoration-color:var(--hair);text-underline-offset:.18em}
:where(.md-bab) .issue__events span a:hover{color:var(--blue);text-decoration-color:currentColor}
:where(.md-bab) .issue--past .issue__lbl{color:#8B98A5}
@media (max-width:420px){:where(.md-bab) .issue__events li{grid-template-columns:minmax(0,1fr);gap:0}}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-bab) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-bab) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px;width:46%}
:where(.md-bab) .fmt i.hq{left:2px;right:auto;bottom:2px;width:46%}
:where(.md-bab) table.price .thumb{width:92px}
:where(.md-bab) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-bab) table.price th[scope="row"]{white-space:nowrap}
:where(.md-bab) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-bab) table.price .num{white-space:normal}
  :where(.md-bab) table.price th[scope="row"]{white-space:normal}
  :where(.md-bab) table.price td .v{text-align:right}
  /* Skizze neben der Formatbezeichnung, Werte darunter ueber die volle Kartenbreite (sonst bricht
     "178 × 250" bei 320 px um) */
  :where(.md-bab) #preise table.price .thumb{grid-row:auto;width:auto}
  :where(.md-bab) #preise table.price th[scope="row"]{align-self:center}
  :where(.md-bab) #preise table.price td.num{grid-column:1/-1}
  :where(.md-bab) #preise table.price td.num .sub{text-align:right}
}
:where(.md-bab) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-bab) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-bab) .preise-extra .sticker{margin:0 auto}
:where(.md-bab) .staffel{align-items:start}
:where(.md-bab) .auflage b{font-size:1.25rem;color:var(--blue)}

/* Sonderplatzierung Advertorial / Rubrikanzeigen (PDF-Seiten 9 und 10): Text links, Beispielseite
   (im PDF bereits unscharf) rechts mit Kreis-Sticker */
:where(.md-bab) .sp__claim{font-size:clamp(1.2rem,1rem + .8vw,1.55rem);line-height:1.3;color:var(--blue);margin:0 0 1rem;max-width:22em}
:where(.md-bab) .sp__box{background:linear-gradient(90deg,#DCEBF8,rgba(220,235,248,.25));padding:1rem 1.2rem;margin:1.25rem 0 1rem}
:where(.md-bab) .sp__box h3{font-size:1.05rem;font-weight:400;color:var(--blue);margin:0 0 .35rem}
:where(.md-bab) .sp__box h3 strong{font-weight:700}
:where(.md-bab) .sp__box ul{margin:0;padding:0 0 0 1.1rem;font-size:.96rem}
:where(.md-bab) .sp__note{font-size:.92rem;color:var(--muted)}
:where(.md-bab) .sp__fig{position:relative;padding-bottom:2rem}
:where(.md-bab) .sp__fig img{display:block;width:min(100%,360px);height:auto;margin-inline:auto;box-shadow:0 14px 30px rgba(0,52,105,.22);filter:none}
:where(.md-bab) .sp__sticker{position:absolute;left:0;bottom:0;width:min(46%,180px);font-size:clamp(.95rem,.9rem + .2vw,1.05rem);
  background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(0,52,105,.18)}
@media (max-width:719px){:where(.md-bab) .sp__fig{padding-bottom:0}:where(.md-bab) .sp__sticker{position:static;margin:-3rem auto 0;width:170px}}

/* Meta-Informationen Website (Liste) */
:where(.md-bab) .checklist{margin:0;padding:0;list-style:none}
:where(.md-bab) .checklist li{padding:.25rem 0 .25rem 1.15rem;position:relative}
:where(.md-bab) .checklist li::before{content:"";position:absolute;left:0;top:.72em;width:.38rem;height:.38rem;background:var(--accent)}

/* Kontakt: Foto rund wie im PDF */
:where(.md-bab) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-bab) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-bab) .foot__person{flex-direction:column}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-bab) .url,:where(.md-bab) .track__sub,:where(.md-bab) #kontakt p{overflow-wrap:anywhere}

@media print{
  :where(.md-bab) .sticker--accent,:where(.md-bab) .bubble,:where(.md-bab) .metabox--accent ul,:where(.md-bab) .wf__ad,:where(.md-bab) .foot__photo,:where(.md-bab) .sp__sticker,:where(.md-bab) .sp__box,:where(.md-bab) .issue__lbl,:where(.md-bab) .checklist li::before{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-bab) .brand--logo img{width:62mm}
  :where(.md-bab) .hero__claim{font-size:10pt;margin-top:1.5mm}
  :where(.md-bab) .hero__devices .dev-tab{width:30mm;position:absolute;right:2mm;left:auto;bottom:0}
  /* Termine: 10 Karten mit Schwerpunkt/Messe, im Druck 3-spaltig (Vorlage) und verdichtet */
  :where(.md-bab) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm}
  :where(.md-bab) #termine .issue{padding:1.8mm 2.6mm}
  :where(.md-bab) #termine .issue dt,:where(.md-bab) #termine .issue dd{font-size:7.6pt;line-height:1.12;padding-top:.15mm;padding-bottom:.15mm}
  :where(.md-bab) #termine .issue__no{margin-bottom:.8mm;font-size:8pt}
  :where(.md-bab) #termine .sec__head{margin-bottom:2mm}
  :where(.md-bab) #termine .deadline{padding:1.6mm 4mm;margin-bottom:1mm}
  :where(.md-bab) #termine .deadline .btn{padding:1mm 3mm;font-size:8pt}
  :where(.md-bab) #termine .toolbar{margin:0 0 1.2mm}
  :where(.md-bab) #termine .issue__badge{font-size:6.4pt;padding:0 1.4mm;margin-top:0;margin-bottom:.4mm;line-height:1.5}
  :where(.md-bab) .issue__topic,:where(.md-bab) .issue__events{margin-top:1.4mm;padding-top:1.2mm;font-size:7.8pt}
  :where(.md-bab) .issue__lbl{font-size:6.6pt;margin-bottom:.2mm}
  :where(.md-bab) .issue__events li{grid-template-columns:19mm 1fr;padding:.2mm 0}
  :where(.md-bab) .issue__events ul{font-size:7.6pt}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-bab) #kontakt{break-before:page}
  :where(.md-bab) table.price .thumb{width:20mm}
  :where(.md-bab) #preise .fmt{width:5mm;height:7mm}
  :where(.md-bab) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-bab) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-bab) #preise .fmt i.h,:where(.md-bab) #preise .fmt i.hq{right:auto}
  :where(.md-bab) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-bab) #preise .sub{margin-bottom:1mm}
  :where(.md-bab) table.price .sub{font-size:7.6pt}
  :where(.md-bab) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-bab) #preise table.price td,:where(.md-bab) #preise table.price th[scope="row"]{padding:.9mm 2mm}
  :where(.md-bab) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-bab) #preise table.price thead th{padding:1.4mm 2mm}
  :where(.md-bab) #preise .sticker{width:28mm;padding:2.5mm;font-size:7.6pt;margin:0}
  :where(.md-bab) #preise .aside{max-width:none;padding:2.5mm 4mm;font-size:7.6pt;line-height:1.3}
  :where(.md-bab) #preise .aside p{margin-bottom:1mm}
  :where(.md-bab) #konditionen .stack,:where(.md-bab) #online-konditionen .stack{gap:3.5mm}
  :where(.md-bab) #konditionen .block+.block{margin-top:0}
  :where(.md-bab) #konditionen table.mini th,:where(.md-bab) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-bab) #konditionen .dl__row{grid-template-columns:24mm 1fr}
  :where(.md-bab) #konditionen p,:where(.md-bab) #konditionen dd{font-size:8.6pt;line-height:1.3}
  /* Inline-Stile (Bankverbindung, Rabatt-Hinweis) im Druck nicht groesser als der Text */
  :where(.md-bab) #konditionen p[style],:where(.md-bab) #online-preise p[style],:where(.md-bab) #online-konditionen p[style]{font-size:8.6pt!important}
  /* Advertorial / Rubrikanzeigen */
  :where(.md-bab) .sp{gap:8mm}
  :where(.md-bab) .sp p{font-size:9.2pt;line-height:1.4}
  :where(.md-bab) .sp__claim{font-size:14pt!important;margin-bottom:3mm}
  :where(.md-bab) .sp__box{padding:2.5mm 4mm;margin:3mm 0}
  :where(.md-bab) .sp__box h3{font-size:10pt}
  :where(.md-bab) .sp__box ul{font-size:9pt}
  :where(.md-bab) .sp__fig{padding-bottom:6mm}
  :where(.md-bab) .sp__fig img{max-height:120mm;width:auto}
  :where(.md-bab) .sp__sticker{width:30mm;padding:2.5mm;font-size:8.4pt}
  :where(.md-bab) .sp .btn{display:none}
  /* Website-Preise + Konditionen Website auf einer Seite */
  :where(.md-bab) #online-preise .grid2{margin-top:4mm !important;gap:6mm}
  :where(.md-bab) #online-preise .stack{gap:3mm}
  :where(.md-bab) #online-preise p,:where(.md-bab) #online-preise dd,:where(.md-bab) #online-preise li{font-size:8.6pt;line-height:1.3}
  :where(.md-bab) #online-preise .checklist li{padding:.4mm 0 .4mm 3.5mm}
  :where(.md-bab) #online-preise table.mini th,:where(.md-bab) #online-preise table.mini td{padding:.6mm 1.5mm}
  :where(.md-bab) #online-preise table.price td,:where(.md-bab) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-bab) #online-preise .wf{max-width:20mm}
  :where(.md-bab) .metabox--accent{padding:5mm}
  :where(.md-bab) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-bab) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-bab) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-bab) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-bab) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-bab) #website .media p{font-size:9pt;line-height:1.35}
  :where(.md-bab) #online-konditionen table.mini th,:where(.md-bab) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-bab) #online-konditionen p{font-size:8.6pt;line-height:1.3}
  :where(.md-bab) #portraet .dl__row{padding-top:.8mm;padding-bottom:.8mm}
  :where(.md-bab) #portraet .block p,:where(.md-bab) #portraet dd{font-size:8.8pt;line-height:1.34}
  :where(.md-bab) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-bab) #portraet .stack{gap:4mm}
  :where(.md-bab) .team-red{margin-top:.8mm}
  :where(.md-bab) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-bab) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-bab) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Betriebliche Prävention
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026). Hier stehen nur Ergaenzungen fuer
   diesen Titel: Titelfarbe Gruen (aus dem Print-PDF), Titelschriftzug,
   zusaetzliche Bausteine (Termine mit Schwerpunkt/Messe, Preistabelle
   mit vier Preisspalten, Doppel-Formatskizzen, Sonderplatzierungen,
   Video-/Text-Skizze, Kombi-Seite) und deren Druckregeln.
   ===================================================================== */
:root:where(.md-bepr){
  --accent:#AFCB37;        /* BePr-Gruen aus dem PDF: Schrift (wie im PDF) und Flaechen */
  --accent-ink:#004F9F;    /* Schrift auf Gruen, wie im PDF (Kontrast 4,4:1, nur fett/gross) */
  --accent-soft:#EFF5D6;   /* helle Gruen-Tonflaeche */
  --title-blue:#005F93;    /* Titelschriftzug "Betriebliche Praevention" */
}

/* Titelschriftzug als Text (im PDF Vektorschrift, keine Grafik noetig) */
:where(.md-bepr) .brand--word{display:block;text-decoration:none;color:var(--title-blue);
  font-weight:600;font-size:clamp(2.3rem,1.5rem + 3.4vw,3.7rem);line-height:1.02;letter-spacing:-.012em}
:where(.md-bepr) .brand--word:hover,:where(.md-bepr) .brand--word:focus-visible{color:var(--title-blue)}
/* Unterzeile gruen wie auf dem Titel des PDF */
:where(.md-bepr) .hero__claim.hero__claim--accent{color:var(--accent);font-weight:400;
  font-size:clamp(1.05rem,.96rem + .45vw,1.35rem);margin-top:.55rem;letter-spacing:.005em}
:where(.md-bepr) .hero__claim--accent .sep{color:#8FA0AE;padding:0 .12em;font-weight:300}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben gruen wie im PDF */
:where(.md-bepr) .track p.track__sub.track__sub--accent{color:var(--accent)}
:where(.md-bepr) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-bepr) .track__sub--accent a:hover,:where(.md-bepr) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-bepr) .track li .key{background:transparent;color:var(--accent);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-bepr) .track li .key--none{visibility:hidden}

/* Split-Bar: Anteil kommt aus dem HTML (style="flex-basis:..."), nicht mehr aus dem CSS */
:where(.md-bepr) .split-bar .in{flex:0 0 auto}

/* Akzent: Sticker, Info-Blasen, Kreise, Werbemittel in den Skizzen */
:where(.md-bepr) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(90,110,10,.22)}
:where(.md-bepr) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-bepr) .bubble b{color:var(--accent-ink)}
:where(.md-bepr) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}
:where(.md-bepr) .wf__ad{background:var(--accent)}
:where(.md-bepr) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-bepr) .metabox--accent li::before{background:var(--accent-ink)}

/* Termine: Schwerpunkt und Messe/Ausstellung je Ausgabe – jeweils OPTIONAL,
   siehe DATENPFLEGE-Kommentar im Kopf. Fehlt fuer eine Ausgabe die Messe-
   Liste, entfaellt im Markup der ganze issue__events-Block (nicht leer
   lassen) – die Karte wird dann einfach kuerzer. */
@media (min-width:1000px){:where(.md-bepr) .issues--rich{grid-template-columns:repeat(2,1fr)}}
:where(.md-bepr) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-bepr) .issue__topic{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair);font-size:.95rem}
:where(.md-bepr) .issue__topic p{margin:0}
:where(.md-bepr) .issue__lbl{display:block;font-size:.78rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--blue);margin-bottom:.15rem}
:where(.md-bepr) .issue__events{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair)}
:where(.md-bepr) .issue__events ul{list-style:none;margin:0;padding:0;font-size:.9rem}
:where(.md-bepr) .issue__events li{display:grid;grid-template-columns:6.8rem 1fr;gap:.6rem;padding:.2rem 0}
:where(.md-bepr) .issue__events time{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
:where(.md-bepr) .issue__events b{font-weight:600}
/* Link je Veranstaltung (im Editor optional): Textfarbe, hellblaue Unterstreichung */
:where(.md-bepr) .issue__events span a{color:inherit;text-decoration-color:var(--hair)}
:where(.md-bepr) .issue__events span a:hover,:where(.md-bepr) .issue__events span a:focus-visible{color:var(--blue)}
:where(.md-bepr) .issue--past .issue__topic,:where(.md-bepr) .issue--past .issue__events,:where(.md-bepr) .issue--past .issue__lbl{color:#8B98A5}

/* Preistabelle mit vier Preisspalten und Doppel-Skizzen (hoch/quer) */
:where(.md-bepr) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-bepr) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-bepr) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-bepr) .fmt--cover{background:linear-gradient(160deg,#DDEAF6,#fff)}
:where(.md-bepr) .fmt--cover i{inset:3px 3px auto 3px;height:24%;background:var(--accent);border-color:#8FA52A}
:where(.md-bepr) table.price .thumb{width:92px}
:where(.md-bepr) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-bepr) table.price th[scope="row"]{white-space:nowrap}
:where(.md-bepr) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-bepr) table.price .num{white-space:normal}
  :where(.md-bepr) table.price th[scope="row"]{white-space:normal}
  :where(.md-bepr) table.price td .v{text-align:right}
  :where(.md-bepr) table.price td.merge{justify-content:space-between}
  :where(.md-bepr) #preise table.price .thumb{grid-row:span 7}
}
:where(.md-bepr) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-bepr) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-bepr) .preise-extra .sticker{margin:0 auto}

/* Sonderplatzierungen: Aufmacher-Karte + vier Karten */
:where(.md-bepr) .promos{display:grid;gap:1.25rem}
@media (min-width:820px){:where(.md-bepr) .promos{grid-template-columns:1fr 1fr}}
:where(.md-bepr) .promo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.25rem;align-items:start;
  background:linear-gradient(158deg,#EEF5FC,#E1ECF7);padding:clamp(1.1rem,3vw,1.5rem)}
:where(.md-bepr) .promo h3{font-size:1.18rem;color:var(--blue);margin-bottom:.55rem}
:where(.md-bepr) .promo p{font-size:.95rem;margin-bottom:.45rem}
:where(.md-bepr) .promo .price-tag{font-weight:700;color:var(--blue-900)}
:where(.md-bepr) .promo img{width:clamp(110px,14vw,160px);filter:drop-shadow(0 10px 16px rgba(0,52,105,.2))}
:where(.md-bepr) .promo__media{display:flex;flex-direction:column;align-items:center;gap:.5rem}
:where(.md-bepr) .promo__media .round{width:70px;border-radius:50%;filter:none;box-shadow:0 4px 12px rgba(0,52,105,.2)}
@media (max-width:480px){:where(.md-bepr) .promo{grid-template-columns:1fr}:where(.md-bepr) .promo__media{align-items:flex-start}}
/* Aufmacher "Titel + Produktbericht + Online-Praesenz" (blaue Flaeche im PDF) */
:where(.md-bepr) .promo--lead{grid-column:1/-1;background:var(--blue);color:#EAF4FC;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
:where(.md-bepr) .promo--lead h3{color:#fff}
:where(.md-bepr) .promo--lead .price-tag{color:#fff}
:where(.md-bepr) .promo--lead p{color:#D6E8F8}
:where(.md-bepr) .promo--lead strong{color:#fff}
:where(.md-bepr) .promo--lead .sticker{color:var(--accent-ink);width:clamp(150px,16vw,190px);margin:0;padding:1.1rem;font-size:clamp(.95rem,.9rem + .2vw,1.08rem)}
:where(.md-bepr) .promo--lead img{width:clamp(180px,24vw,300px)}
@media (max-width:819px){:where(.md-bepr) .promo--lead{grid-template-columns:1fr}:where(.md-bepr) .promo--lead .sticker{margin:0 auto}}

/* Werbeform-Skizzen Video Ad (Play-Symbol) und Text-Anzeige */
:where(.md-bepr) .wf--video .wf__ad{right:7%;bottom:10%;width:14%;height:18%}
:where(.md-bepr) .wf--video .wf__ad::after{content:"";position:absolute;left:38%;top:26%;border-left:7px solid #fff;
  border-top:5px solid transparent;border-bottom:5px solid transparent}
:where(.md-bepr) .wf--text .wf__ad{left:7%;right:42%;top:30%;height:44%;background:#fff;border:2px solid var(--accent)}
:where(.md-bepr) table.price td.merge{text-align:center}

/* Kooperationshinweis Stellenanzeigen (gruener Kreis im PDF) */
:where(.md-bepr) .coop{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--accent);color:var(--accent-ink);
  padding:.8rem 1rem;font-size:.95rem;font-weight:600;margin-bottom:1.25rem}
:where(.md-bepr) .coop strong{font-weight:700}
:where(.md-bepr) .coop img{width:120px;height:auto;background:#fff;padding:4px 6px}

/* Die Welt der Betriebssicherheit (PDF-Seite 19) */
:where(.md-bepr) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-bepr) .kombi__claim span{color:var(--cyan-text)}
:where(.md-bepr) .kombi{display:grid;gap:1.25rem}
@media (min-width:820px){:where(.md-bepr) .kombi{grid-template-columns:repeat(3,1fr)}}
:where(.md-bepr) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem}
:where(.md-bepr) .kombi__item img{display:block;width:100%;max-width:300px;margin:0 auto;filter:drop-shadow(0 10px 18px rgba(0,52,105,.18))}
:where(.md-bepr) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-bepr) .kombi__item p{margin:0;font-size:.95rem}

@media print{
  :where(.md-bepr) .sticker--accent,:where(.md-bepr) .bubble,:where(.md-bepr) .metabox--accent ul,:where(.md-bepr) .promo,:where(.md-bepr) .promo--lead,:where(.md-bepr) .coop,:where(.md-bepr) .issue__lbl,:where(.md-bepr) .kombi__item,
  :where(.md-bepr) .fmt--cover,:where(.md-bepr) .fmt--cover i{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-bepr) .brand--word{font-size:30pt}
  :where(.md-bepr) .hero__claim.hero__claim--accent{font-size:13pt}
  :where(.md-bepr) .issues--rich{grid-template-columns:1fr 1fr 1fr;gap:3mm}
  :where(.md-bepr) .issue{padding:2.5mm 3mm}
  :where(.md-bepr) .issue__events li{grid-template-columns:20mm 1fr;padding:.3mm 0}
  :where(.md-bepr) .issue__topic,:where(.md-bepr) .issue__events{margin-top:2mm;padding-top:1.6mm}
  :where(.md-bepr) .issue__events ul{font-size:7.8pt}
  :where(.md-bepr) table.price .thumb{width:20mm}
  :where(.md-bepr) #preise .fmt{width:5mm;height:7mm}
  :where(.md-bepr) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-bepr) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-bepr) #preise .fmt--cover i{inset:1px 1px auto 1px}
  :where(.md-bepr) #preise table.price{font-size:8pt;line-height:1.2}
  :where(.md-bepr) #preise .sub{margin-bottom:1mm}
  :where(.md-bepr) table.price .sub{font-size:7.6pt}
  :where(.md-bepr) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-bepr) #preise table.price td,:where(.md-bepr) #preise table.price th[scope="row"]{padding:.9mm 2mm}
  :where(.md-bepr) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-bepr) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-bepr) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-bepr) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-bepr) #preise .aside p{margin-bottom:1mm}
  :where(.md-bepr) #konditionen .stack,:where(.md-bepr) #online-konditionen .stack{gap:4mm}
  :where(.md-bepr) #konditionen .block+.block{margin-top:0}
  :where(.md-bepr) #konditionen table.mini th,:where(.md-bepr) #konditionen table.mini td{padding:.7mm 1.5mm}
  :where(.md-bepr) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-bepr) .metabox--accent{padding:5mm}
  :where(.md-bepr) .promos{grid-template-columns:1fr 1fr;gap:3.5mm}
  :where(.md-bepr) .promo{padding:3.5mm;break-inside:avoid}
  :where(.md-bepr) .promo p{font-size:8.4pt;margin-bottom:1mm}
  :where(.md-bepr) .promo h3{font-size:10.5pt;margin-bottom:1mm}
  :where(.md-bepr) .promo img{width:26mm}
  :where(.md-bepr) .promo--lead{grid-template-columns:auto minmax(0,1fr) auto}
  :where(.md-bepr) .promo--lead .sticker{width:30mm;padding:2mm;font-size:8pt}
  :where(.md-bepr) .promo--lead img{width:44mm}
  :where(.md-bepr) .promo__media .round{width:13mm}
  :where(.md-bepr) #stellen .media img{max-height:70mm;width:auto}
  :where(.md-bepr) #online-preise table.price td,:where(.md-bepr) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-bepr) #online-preise .wf{max-width:20mm}
  :where(.md-bepr) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-bepr) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-bepr) .kombi{grid-template-columns:repeat(3,1fr);gap:5mm}
  :where(.md-bepr) .kombi__item{padding:3mm;break-inside:avoid}
  :where(.md-bepr) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-bepr) #formate .dl__row,:where(.md-bepr) #stellen .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-bepr) #website .dl__row{grid-template-columns:26mm 1fr}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig, damit Kontakt + Footer auf eine Seite passen */
  :where(.md-bepr) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-bepr) #kontakt .team b{display:inline;margin-right:1.5mm}
  :where(.md-bepr) #kontakt h2{margin-bottom:2mm}
  /* Kontakt beginnt auf eigener Seite (Kombi-Seite davor), ESV-Footer bleibt mit drauf */
  :where(.md-bepr) #kontakt{break-before:page}
  :where(.md-bepr) #impressum{break-before:avoid}   /* seit NT3-Footer: <footer> ohne Klasse */
}


/* =====================================================================
   TITELSPEZIFISCH: StBp – Die steuerliche Betriebsprüfung
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelgruen (aus dem Print-PDF), Titel-Logo als SVG mit
   Unterzeile, Info-Blasen und Sticker gruen mit weisser Schrift, Meta-Kreis
   hell, 12 Termine mit Themenkasten, Preistabelle mit U-Seiten-Zeile und
   Doppel-Formatskizzen, Newsletter + Infodienst, Kombi-Seite "Die Welt des
   Steuerrechts", Kontaktfoto und deren Druckregeln (Muster der 12-Ausgaben-Titel + Kombi-Seite).
   ===================================================================== */
:root:where(.md-bp){
  --accent:#007866;        /* Titelgruen "StBp" (Logo, Info-Blasen, Sticker im PDF) */
  --accent-ink:#FFFFFF;    /* weisse Schrift auf Gruen wie im PDF (5,6:1) */
  --accent-text:#007866;   /* Titelgruen auf der Inhaltsseite, wie im PDF */
  --accent-soft:#E3F0ED;   /* helle Tonflaeche */
  --sticker:#007866;
  --sticker-ink:#FFFFFF;
  --meta:#C2DBD6;          /* Kreis Meta-Informationen: helles Gruengrau wie im PDF */
  --meta-ink:#004979;      /* Schrift im Meta-Kreis (7,1:1) */
  --title-ink:#3C3C3B;     /* Unterzeile */
  --title-green:#007866;
  --ad:#007866;            /* Werbemittel in den Online-Skizzen, wie im PDF */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-bp) .brand--logo img{display:block;width:clamp(170px,8rem + 5vw,260px);max-width:100%;height:auto}
:where(.md-bp) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;letter-spacing:.02em;line-height:1.3;color:var(--title-ink);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-bp) .hero__facts li{min-width:0}
:where(.md-bp) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben titelrot wie im PDF */
:where(.md-bp) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-bp) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-bp) .track__sub--accent a:hover,:where(.md-bp) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-bp) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-bp) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-bp) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(0,120,102,.25)}
:where(.md-bp) .sticker--accent sup{color:inherit}
:where(.md-bp) .wf__ad{background:var(--ad)}
:where(.md-bp) .metabox--accent ul{background:var(--meta);color:var(--meta-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-bp) .metabox--accent li::before{background:var(--title-green)}
/* Info-Blasen "Dateiformate und Farben": gruen mit weisser Schrift wie im PDF */
:where(.md-bp) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-bp) .bubble b{color:var(--accent-ink)}
:where(.md-bp) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe (12 Ausgaben); die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter mit Einleitung + Liste, wie im PDF) */
:where(.md-bp) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-bp) .topics + .topics{margin-top:1rem}
:where(.md-bp) .topics p{margin:0;font-size:.96rem;max-width:62em}
:where(.md-bp) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-bp) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-bp) .topics--cols li{break-inside:avoid}}
:where(.md-bp) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-bp) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-bp) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-bp) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-bp) table.price .thumb{width:92px}
:where(.md-bp) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-bp) table.price th[scope="row"]{white-space:nowrap}
:where(.md-bp) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-bp) table.price .num{white-space:normal}
  :where(.md-bp) table.price th[scope="row"]{white-space:normal}
  :where(.md-bp) table.price td .v{text-align:right}
  :where(.md-bp) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-bp) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-bp) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-bp) .preise-extra .sticker{margin:0 auto}
:where(.md-bp) .staffel{align-items:start}


/* Kontakt: Foto rund wie im PDF */
:where(.md-bp) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-bp) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-bp) .foot__person{flex-direction:column}}

@media print{
  :where(.md-bp) .sticker--accent,:where(.md-bp) .bubble,:where(.md-bp) .metabox--accent ul,:where(.md-bp) .kombi__item,:where(.md-bp) .wf__ad,:where(.md-bp) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-bp) .brand--logo img{width:44mm}
  :where(.md-bp) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-bp) .topics{padding:3mm 4mm}
  :where(.md-bp) .topics + .topics{margin-top:3mm}
  /* Ausgaben im Druck 4-spaltig (12 Ausgaben = 3 Zeilen), Themen-Text darunter */
  :where(.md-bp) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-bp) #termine .issue{padding:2mm 3mm}
  :where(.md-bp) #termine .issue dt,:where(.md-bp) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-bp) #termine .issue__no{margin-bottom:1mm}
  :where(.md-bp) #termine .deadline{margin-bottom:2mm}
  :where(.md-bp) .topics-row{margin-top:3mm}
  /* 12 Ausgaben: Karten verdichten, damit der Themenkasten auch mit allen Ausgaben auf die Seite passt */
  :where(.md-bp) #termine .sec__head{margin-bottom:2mm}
  :where(.md-bp) #termine .issue{padding:1.4mm 2.4mm}
  :where(.md-bp) #termine .issue dt,:where(.md-bp) #termine .issue dd{font-size:7.4pt;line-height:1.1;padding-top:.15mm;padding-bottom:.15mm}
  :where(.md-bp) #termine .issue__no{margin-bottom:.6mm;font-size:8pt}
  :where(.md-bp) #termine .topics{padding:2.5mm 4mm}
  :where(.md-bp) #termine .topics p{max-width:none}
  :where(.md-bp) #termine .deadline{padding:2.5mm 4mm;margin-bottom:1mm}
  :where(.md-bp) #termine .toolbar{margin:0 0 1.2mm}
  :where(.md-bp) #termine .issue__badge{font-size:6.4pt;padding:0 1.4mm;margin-top:0;margin-bottom:.4mm;line-height:1.5}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-bp) #kontakt{break-before:page}
  :where(.md-bp) #termine .topics--cols ul{columns:3;column-gap:6mm}
  :where(.md-bp) #termine .topics p + ul{margin-top:1mm}
  /* StBp: Themenliste (5 Punkte) unter 12 Ausgaben – verdichtet, sonst springt der Kasten mit allen
     Ausgaben auf eine Extraseite (185 > 181 mm) */
  :where(.md-bp) #termine .deadline{padding:1.6mm 4mm;margin-bottom:.8mm}
  :where(.md-bp) #termine .deadline .btn{padding:1mm 3mm;font-size:8pt}
  :where(.md-bp) #termine .topics h3{display:inline;margin:0 2mm 0 0}
  :where(.md-bp) #termine .topics h3 + p{display:inline}
  :where(.md-bp) #termine .topics li{font-size:8pt;line-height:1.2;padding-top:.3mm;padding-bottom:.3mm;margin-bottom:.4mm}
  :where(.md-bp) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-bp) .topics p{font-size:8.8pt}
  :where(.md-bp) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-bp) table.price .thumb{width:20mm}
  :where(.md-bp) #preise .fmt{width:5mm;height:7mm}
  :where(.md-bp) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-bp) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-bp) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-bp) #preise .sub{margin-bottom:1mm}
  :where(.md-bp) table.price .sub{font-size:7.6pt}
  :where(.md-bp) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-bp) #preise table.price td,:where(.md-bp) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-bp) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-bp) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-bp) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-bp) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-bp) #preise .aside p{margin-bottom:1mm}
  :where(.md-bp) #konditionen .stack,:where(.md-bp) #online-konditionen .stack{gap:3.5mm}
  :where(.md-bp) #konditionen .block+.block{margin-top:0}
  :where(.md-bp) #konditionen table.mini th,:where(.md-bp) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-bp) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-bp) #konditionen p,:where(.md-bp) #konditionen dd{font-size:8.6pt;line-height:1.3}
  /* Inline-Stile (Bankverbindung, Rabatt-Hinweis) im Druck nicht groesser als der Text */
  :where(.md-bp) #konditionen p[style],:where(.md-bp) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-bp) .metabox--accent{padding:5mm}
  :where(.md-bp) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-bp) #online-preise table.price td,:where(.md-bp) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-bp) #online-preise .wf{max-width:20mm}
  :where(.md-bp) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-bp) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-bp) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-bp) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-bp) #website .media p{font-size:9pt;line-height:1.35}
  :where(.md-bp) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:180mm}
  :where(.md-bp) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-bp) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-bp) .kombi__item p{font-size:9pt}
  :where(.md-bp) #online-konditionen table.mini th,:where(.md-bp) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-bp) #online-konditionen p{font-size:8.6pt;line-height:1.3}
  :where(.md-bp) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm}
  :where(.md-bp) #portraet .block p,:where(.md-bp) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-bp) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-bp) #portraet .stack{gap:4.5mm}
  :where(.md-bp) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-bp) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-bp) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Termin-Karten: 4 Daten passen am Bildschirm nur 2 x 2 */
@media screen and (min-width:640px){:where(.md-bp) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-bp) .url,:where(.md-bp) .track__sub,:where(.md-bp) .kombi__item p,:where(.md-bp) #kontakt p{overflow-wrap:anywhere}

/* Kombi-Seite "Die Welt des Steuerrechts" (2 Titel) */
:where(.md-bp) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-bp) .kombi__claim span{color:var(--cyan-text)}
:where(.md-bp) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr);max-width:760px}
@media (min-width:560px){:where(.md-bp) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-bp) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent-text);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-Fotos haben einen weissen Rand (kein Alpha) */
:where(.md-bp) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-bp) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-bp) .kombi__item p{margin:0;font-size:.95rem}


/* =====================================================================
   TITELSPEZIFISCH: Ideen- und Innovationsmanagement
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Gruen/Petrol (aus dem Print-PDF), Titel-Logo
   als SVG, Info-Blasen petrol, Sticker gruengrau, Termine mit Themenkasten,
   Preistabelle mit U-Seiten-Zeile und Doppel-Formatskizzen, Infodienst +
   Newsletter, Kombi-Seite "Die Welt der Compliance", Kontaktfoto und
   deren Druckregeln.
   ===================================================================== */
:root:where(.md-bvw){
  --accent:#006771;        /* Petrol der Info-Blasen und Werbemittel im PDF */
  --accent-ink:#FFFFFF;    /* Schrift auf Petrol, wie im PDF (7,0:1) */
  --accent-text:#006F39;   /* Gruen des Titel-Schriftzugs, auch Schrift auf der Inhaltsseite (6,4:1) */
  --accent-soft:#E3EFE8;   /* helle Tonflaeche */
  --sticker:#C6DACC;       /* Sticker "ohne Mehrkosten im eJournal" (Schrift #004F9F wie im PDF) */
  --meta:#AAC7CC;          /* Kreis Meta-Informationen (Schrift #004F9F wie im PDF) */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-bvw) .brand--logo img{display:block;width:clamp(220px,12rem + 6vw,380px);max-width:100%;height:auto}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-bvw) .hero__facts li{min-width:0}
:where(.md-bvw) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben gruen wie im PDF */
:where(.md-bvw) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-bvw) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-bvw) .track__sub--accent a:hover,:where(.md-bvw) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-bvw) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-bvw) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-bvw) .sticker--accent{background:var(--sticker);color:#004F9F;box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-bvw) .sticker--accent sup{color:inherit}
:where(.md-bvw) .wf__ad{background:var(--accent)}
:where(.md-bvw) .metabox--accent ul{background:var(--meta);color:#004F9F;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-bvw) .metabox--accent li::before{background:#004F9F}
/* Info-Blasen "Dateiformate und Farben": petrol mit weisser Schrift wie im PDF */
:where(.md-bvw) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-bvw) .bubble b{color:var(--accent-ink)}
:where(.md-bvw) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; die Themen gelten fuer alle
   Ausgaben (Kasten .topics darunter) */
:where(.md-bvw) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-bvw) .topics + .topics{margin-top:1rem}
:where(.md-bvw) .topics p{margin:0;font-size:.96rem}
:where(.md-bvw) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-bvw) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-bvw) .topics--cols li{break-inside:avoid}}
:where(.md-bvw) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-bvw) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-bvw) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-bvw) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-bvw) table.price .thumb{width:92px}
:where(.md-bvw) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-bvw) table.price th[scope="row"]{white-space:nowrap}
:where(.md-bvw) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-bvw) table.price .num{white-space:normal}
  :where(.md-bvw) table.price th[scope="row"]{white-space:normal}
  :where(.md-bvw) table.price td .v{text-align:right}
  :where(.md-bvw) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-bvw) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-bvw) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-bvw) .preise-extra .sticker{margin:0 auto}
:where(.md-bvw) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-bvw) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-bvw) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-bvw) .foot__person{flex-direction:column}}

@media print{
  :where(.md-bvw) .sticker--accent,:where(.md-bvw) .bubble,:where(.md-bvw) .metabox--accent ul,:where(.md-bvw) .kombi__item,:where(.md-bvw) .wf__ad,:where(.md-bvw) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-bvw) .brand--logo img{width:62mm}
  :where(.md-bvw) .topics{padding:3mm 4mm}
  :where(.md-bvw) .topics + .topics{margin-top:3mm}
  /* Ausgaben im Druck 4-spaltig, damit auch mit allen 4 Ausgaben eine Seite reicht */
  :where(.md-bvw) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm}
  :where(.md-bvw) #termine .issue{padding:3mm}
  :where(.md-bvw) #termine .issue dt,:where(.md-bvw) #termine .issue dd{font-size:8.4pt}
  :where(.md-bvw) .topics-row{margin-top:4mm}
  :where(.md-bvw) .topics-row .topics + .topics{margin-top:0}
  :where(.md-bvw) .topics--cols ul{columns:2;column-gap:6mm}
  :where(.md-bvw) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-bvw) .topics p{font-size:8.8pt}
  :where(.md-bvw) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-bvw) table.price .thumb{width:20mm}
  :where(.md-bvw) #preise .fmt{width:5mm;height:7mm}
  :where(.md-bvw) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-bvw) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-bvw) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-bvw) #preise .sub{margin-bottom:1mm}
  :where(.md-bvw) table.price .sub{font-size:7.6pt}
  :where(.md-bvw) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-bvw) #preise table.price td,:where(.md-bvw) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-bvw) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-bvw) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-bvw) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-bvw) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-bvw) #preise .aside p{margin-bottom:1mm}
  :where(.md-bvw) #konditionen .stack,:where(.md-bvw) #online-konditionen .stack{gap:3.5mm}
  :where(.md-bvw) #konditionen .block+.block{margin-top:0}
  :where(.md-bvw) #konditionen table.mini th,:where(.md-bvw) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-bvw) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-bvw) #konditionen p,:where(.md-bvw) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-bvw) .metabox--accent{padding:5mm}
  :where(.md-bvw) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-bvw) #online-preise table.price td,:where(.md-bvw) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-bvw) #online-preise .wf{max-width:20mm}
  :where(.md-bvw) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-bvw) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-bvw) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-bvw) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-bvw) #portraet .block p,:where(.md-bvw) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-bvw) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-bvw) #portraet .stack{gap:4.5mm}
  :where(.md-bvw) .foot__photo{width:18mm;height:18mm}
  :where(.md-bvw) .kombi{grid-template-columns:repeat(3,1fr);gap:6mm;max-width:none}
  :where(.md-bvw) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-bvw) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-bvw) .kombi__item p{font-size:9pt}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-bvw) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-bvw) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-bvw) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Werbemittel in den Skizzen: Website gruen, Infodienst/Newsletter petrol wie im PDF */
:where(.md-bvw) .wf--sky .wf__ad,:where(.md-bvw) .wf--rect .wf__ad,:where(.md-bvw) .wf--btn .wf__ad{background:#006E39}

/* Termin-Karten: 4 Daten passen am Bildschirm nur 2 x 2 */
@media screen and (min-width:640px){:where(.md-bvw) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lange Domain (IDEENMANAGEMENTdigital.de) darf bei 320 px nicht querscrollen */
:where(.md-bvw) .url,:where(.md-bvw) .track__sub,:where(.md-bvw) .kombi__item p,:where(.md-bvw) #kontakt p{overflow-wrap:anywhere}

/* Kombi-Seite "Die Welt der Compliance" (Muster DaF/Archiv, hier 3 Titel) */
:where(.md-bvw) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-bvw) .kombi__claim span{color:var(--cyan-text)}
:where(.md-bvw) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-bvw) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:960px){:where(.md-bvw) .kombi{grid-template-columns:repeat(3,minmax(0,1fr))}}
:where(.md-bvw) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar */
:where(.md-bvw) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-bvw) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-bvw) .kombi__item p{margin:0;font-size:.95rem}


/* =====================================================================
   TITELSPEZIFISCH: COMPLIANCEdigital (reines Online-Produkt)
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Weil es keine Zeitschrift gibt (keine Termine, keine
   Print-Preisliste, keine Druckunterlagen), ist die Seite als Produkt-
   Mediadaten einer Datenbank gestaltet: Logo-Blau als Akzent, Gelbgruen
   des PDF nur als Flaeche (Werbemittel, Meta-Kreis, Jobware-Kreis) mit
   blauer Schrift, Kennzahlen des Wissenspools im Hero (3 Kacheln),
   Themen als Kartenraster mit den Fachzeitschriften, schematische
   Platzierungsskizze der Website-Werbeformen, Infodienst + Newsletter,
   Meta-Kreis wie im PDF, Kombi-Seite "Die Welt der Compliance"
   (3 Zeitschriften), Kontaktfoto, eigene Druckregeln (12 Seiten wie das PDF).
   Aufbau und Muster uebernommen aus den Online-Mediadaten eines anderen
   Datenbank-Titels (gleicher PDF-Aufbau).
   ===================================================================== */
:root:where(.md-compd){
  --accent:#25378D;        /* Logo-Blau "COMPLIANCE" (PDF #25378D); weiss darauf 10,4:1 */
  --accent-dark:#1A2766;   /* dunkleres Blau fuer Hover und kleine Schrift auf Tonflaeche */
  --accent-soft:#F3F6D9;   /* helle Tonflaeche Gelbgruen */
  --accent-line:#DCE48C;
  --lime:#C7D300;          /* Gelbgruen des PDF: nur als Flaeche, Schrift darauf #25378D (6,3:1) */
  --digital:#95AD0D;       /* Gruen "digital" im Logo (2,5:1 auf Weiss: nur dekorativ) */
  --digital-text:#5F7008;  /* Gruen als Schrift auf Weiss (5,5:1) */
  --meta-bg:#DCE6F1;       /* Kasten Meta-Informationen: helles Blaugrau wie im PDF */
  --ad:#C7D300;            /* Werbemittel in den Skizzen gelbgruen wie im PDF */
  --job:#DEE37E;           /* Hinweiskreis Jobware (PDF #DEE37E), Schrift #25378D (7,6:1) */
}

/* ---------- Titel-Logo (Vektor aus dem PDF) + Unterzeile ---------- */
:where(.md-compd) .brand--logo img{display:block;width:clamp(230px,12rem + 7vw,380px);max-width:100%;height:auto}
:where(.md-compd) .hero__claim{margin:.75rem 0 0;font-size:clamp(1rem,.9rem + .45vw,1.24rem);font-weight:600;line-height:1.32;
  color:#3B4148;max-width:25em;padding-left:.8rem;border-left:3px solid var(--accent)}

/* Hero-Kennzahlen des Wissenspools: Ziffern im Logo-Blau, nie ueberlaufen; 3 Kacheln:
   die dritte bei 2 Spalten ueber die volle Breite (kein Loch) */
:where(.md-compd) .hero__facts li{min-width:0}
:where(.md-compd) .hero__facts li > b{white-space:nowrap;color:var(--accent);font-size:1.32rem}
:where(.md-compd) .hero__facts li > span{line-height:1.3}
@media (max-width:599px){:where(.md-compd) .hero__facts li:last-child:nth-child(odd){grid-column:1/-1}}
:where(.md-compd) .hero .btn:not(.btn--ghost){background:var(--accent);border-color:var(--accent)}
:where(.md-compd) .hero .btn:not(.btn--ghost):hover{background:var(--accent-dark);border-color:var(--accent-dark)}

/* ---------- Inhalt (#ueberblick): zwei Kanaele Website / Newsletter ---------- */
:where(.md-compd) #ueberblick .sec__intro{max-width:70ch}
:where(.md-compd) .track{position:relative;overflow:hidden}
:where(.md-compd) .track--soft{border-top-color:var(--accent)}
:where(.md-compd) .track__eyebrow{margin:0 0 .2rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
:where(.md-compd) .track h3{font-size:1.08rem;margin-bottom:1rem;overflow-wrap:anywhere}
:where(.md-compd) .track h3 a{color:var(--blue-900);text-decoration:none}
:where(.md-compd) .track h3 a:hover,:where(.md-compd) .track h3 a:focus-visible{text-decoration:underline}
:where(.md-compd) .track li .key{background:transparent;color:var(--accent);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-compd) .track li .key--none{visibility:hidden}

/* ---------- Porträt ---------- */
:where(.md-compd) .portraet__fig{margin:0}
:where(.md-compd) .portraet__fig img{display:block;width:100%;max-width:520px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
:where(.md-compd) .chips--accent li{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-dark);font-weight:600}

/* ---------- Themen (PDF-Seite 4): Einleitung als blaue Karte (2 Felder breit) + 5 Fachzeitschriften
   + 5 nummerierte Inhaltskarten = 12 Felder, geht bei 4, 3, 2 und 1 Spalte ohne Luecke auf ---------- */
:where(.md-compd) .themen{display:grid;gap:1rem;counter-reset:thema;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
:where(.md-compd) .themen__lead{grid-column:span 2;background:linear-gradient(140deg,var(--accent) 0%,#1A2766 100%);color:#fff;
  padding:1.4rem 1.5rem;display:flex;flex-direction:column;justify-content:center;font-size:1.02rem;line-height:1.5}
:where(.md-compd) .themen__lead p{margin:0}
:where(.md-compd) .themen__lead p + p{margin-top:.7rem}
:where(.md-compd) .themen__lead strong{color:#fff}
@media (max-width:540px){:where(.md-compd) .themen__lead{grid-column:auto}}
:where(.md-compd) .thema{counter-increment:thema;position:relative;background:#fff;border:1px solid var(--line);
  border-top:3px solid var(--accent);padding:1.05rem 1.15rem 1.1rem;min-width:0;
  transition:box-shadow .18s,transform .18s}
:where(.md-compd) .thema:hover{box-shadow:0 10px 24px rgba(0,52,105,.10);transform:translateY(-2px)}
:where(.md-compd) .thema::before{content:counter(thema,decimal-leading-zero);position:absolute;right:.9rem;top:.55rem;
  font-size:1.6rem;font-weight:300;line-height:1;color:#B5C1CD}
:where(.md-compd) .thema h3{font-size:1rem;color:var(--accent);margin:0 2.4rem .45rem 0;line-height:1.25}
:where(.md-compd) .thema p{margin:0;font-size:.93rem;color:#2A333D}
/* Fachzeitschriften: Kuerzel gross, ohne Nummer, gelbgruene Kante */
:where(.md-compd) .thema--zs{counter-increment:none;border-top-color:var(--lime);background:var(--accent-soft)}
:where(.md-compd) .thema--zs::before{content:none}
:where(.md-compd) .thema__eyebrow{margin:0 0 .15rem!important;font-size:.74rem!important;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--digital-text)!important}
:where(.md-compd) .thema--zs h3{font-size:1.5rem;margin:0 0 .25rem;letter-spacing:.01em}
:where(.md-compd) .oa{display:inline-block;margin-top:.5rem;padding:.08rem .5rem;border:1px solid #C25E00;border-radius:999px;
  font-size:.78rem;font-weight:600;color:#9A4A00;background:#fff}
@media (prefers-reduced-motion:reduce){:where(.md-compd) .thema{transition:none}:where(.md-compd) .thema:hover{transform:none}}

/* ---------- Werbeform-Skizzen: Werbemittel gelbgruen wie im PDF ---------- */
:where(.md-compd) .wf__ad{background:var(--ad)}
:where(.md-compd) table.price th[scope="row"]{white-space:nowrap}
@media (max-width:719px){:where(.md-compd) table.price .num{white-space:normal}:where(.md-compd) table.price th[scope="row"]{white-space:normal}
  :where(.md-compd) table.price td{overflow-wrap:anywhere;min-width:0}
  :where(.md-compd) table.price td::before{flex:none;overflow-wrap:normal}
  :where(.md-compd) table.price td[data-label="Platzierung"]{text-align:right}}

/* ---------- Platzierungsskizze der Website (schematisch) ---------- */
:where(.md-compd) .adsmap{margin:2.25rem 0 0;display:grid;gap:1.5rem 2.5rem;align-items:center}
@media (min-width:860px){:where(.md-compd) .adsmap{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
:where(.md-compd) .adsmap__screen{border:1px solid #C6D5E3;background:#fff;box-shadow:0 18px 36px rgba(0,52,105,.12);
  border-radius:6px 6px 0 0;overflow:hidden;max-width:560px;width:100%;margin-inline:auto}
:where(.md-compd) .adsmap__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .9rem;
  border-bottom:1px solid #E4EAF0;background:linear-gradient(90deg,#fff 55%,#F1F5CF)}
:where(.md-compd) .adsmap__logo{font-weight:700;font-size:.82rem;letter-spacing:.01em;color:var(--accent)}
:where(.md-compd) .adsmap__logo i{font-style:normal;font-weight:400;color:var(--digital)}
:where(.md-compd) .adsmap__search{width:32%;height:.85rem;border:1px solid #B9C2DE;border-radius:2px}
:where(.md-compd) .adsmap__nav{height:.75rem;margin:.45rem .9rem;background:repeating-linear-gradient(90deg,#DCE3EA 0 13%,transparent 13% 15%)}
:where(.md-compd) .adsmap__body{position:relative;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:.8rem;
  padding:.6rem 2.6rem 1rem .9rem}
:where(.md-compd) .adsmap__main,:where(.md-compd) .adsmap__side{display:grid;gap:.55rem;align-content:start}
:where(.md-compd) .adsmap__lines{display:block;height:2.4rem;background:repeating-linear-gradient(#E6EBF0 0 4px,transparent 4px 9px)}
:where(.md-compd) .adsmap__lines--short{height:1.3rem;width:70%}
:where(.md-compd) .adsmap__lines--side{height:3.2rem}
:where(.md-compd) .adsmap__ad{position:relative;display:grid;place-items:center;background:var(--ad);color:var(--accent)}
:where(.md-compd) .adsmap__ad b{display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#fff;
  color:var(--accent);font-size:.78rem;font-weight:700}
:where(.md-compd) .adsmap__ad--btn{width:34%;height:1.9rem}
:where(.md-compd) .adsmap__ad--rect{height:3.9rem;width:82%}
:where(.md-compd) .adsmap__ad--sky{position:absolute;right:.55rem;top:.6rem;bottom:1rem;width:1.55rem;align-items:start;padding-top:.4rem}
:where(.md-compd) .adsmap__ad--sky b{width:1.15rem;height:1.15rem;font-size:.7rem}
:where(.md-compd) .adsmap__legend{list-style:none;margin:0;padding:0}
:where(.md-compd) .adsmap__legend li{display:flex;gap:.7rem;align-items:center;padding:.45rem 0;border-bottom:1px dotted var(--hair)}
:where(.md-compd) .adsmap__legend li:last-child{border-bottom:0}
:where(.md-compd) .adsmap__legend b{flex:none;display:grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;
  background:var(--accent);color:#fff;font-size:.8rem}
:where(.md-compd) .adsmap figcaption .notes{margin-top:.6rem}

/* ---------- Konditionen Website ---------- */
:where(.md-compd) .konditionen__fig img{display:block;width:100%;max-width:470px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
:where(.md-compd) .kombirabatt{background:#fff;border:1px solid var(--line);border-left:4px solid var(--lime);padding:.9rem 1.1rem}
:where(.md-compd) .kombirabatt p{margin:0}
:where(.md-compd) .kombirabatt b{color:var(--accent)}
@media (min-width:900px){:where(.md-compd) #website-konditionen .grid2{align-items:center}}
:where(.md-compd) table.mini td:last-child{color:var(--accent-dark)}

/* ---------- Rubrik Stellenanzeigen (PDF-Seite 7): Hinweiskreis Jobware als Text ---------- */
:where(.md-compd) table.price--job th[scope="row"]{white-space:normal;min-width:9rem}
@media screen and (min-width:900px){:where(.md-compd) #stellenanzeigen .tablewrap{max-width:860px}}
:where(.md-compd) .job{margin-top:2.25rem}
:where(.md-compd) .job__fig{position:relative}
:where(.md-compd) .job__fig img{display:block;width:100%;max-width:560px;height:auto;margin-inline:auto}
:where(.md-compd) .job__sticker{background:var(--job);color:var(--accent);width:min(100%,180px);font-size:.98rem;font-weight:600;padding:1.2rem;margin:0 auto 1rem}
:where(.md-compd) .job__sticker b{font-weight:700}
@media (min-width:900px){:where(.md-compd) .job__sticker{position:absolute;right:0;top:-1.5rem;z-index:1;margin:0}}
@media (max-width:719px){:where(.md-compd) table.price--job tbody tr{grid-template-columns:1fr}}

/* ---------- Infodienst und Newsletter ---------- */
:where(.md-compd) #newsletter .grid2__fig img{max-width:400px;width:100%}

/* ---------- Meta-Kreis (PDF-Seite 10): gelbgruener Kreis auf blaugrauem Kasten mit Zahnraedern ---------- */
:where(.md-compd) .metabox--accent{position:relative;overflow:hidden;background:var(--meta-bg)}
:where(.md-compd) .metabox--accent h3{position:relative;z-index:1;max-width:19em}
:where(.md-compd) .metabox__gears{position:absolute;right:-18px;top:28%;width:min(46%,210px);height:auto;color:#9CB3CF;opacity:.75}
:where(.md-compd) .metabox--accent ul{position:relative;z-index:1;background:var(--lime);color:var(--accent);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto 0 0;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.1rem;
  box-shadow:0 14px 30px rgba(37,55,141,.22)}
:where(.md-compd) .metabox--accent li::before{background:var(--accent)}
@media (max-width:520px){:where(.md-compd) .metabox__gears{display:none}:where(.md-compd) .metabox--accent ul{margin:0 auto}}

/* ---------- Kombi-Seite "Die Welt der Compliance" (3 Zeitschriften) ---------- */
:where(.md-compd) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-compd) .kombi__claim span{color:var(--cyan-text)}
:where(.md-compd) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){:where(.md-compd) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:980px){:where(.md-compd) .kombi{grid-template-columns:repeat(3,minmax(0,1fr))}}
:where(.md-compd) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--lime);padding:1.1rem 1.2rem;
  display:flex;flex-direction:column;gap:.7rem;min-width:0}
:where(.md-compd) .kombi__item img{display:block;width:100%;height:220px;object-fit:contain;object-position:center;margin:0 auto;filter:drop-shadow(0 10px 18px rgba(0,52,105,.16))}
:where(.md-compd) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-compd) .kombi__item p{margin:0;font-size:.95rem}
:where(.md-compd) #kombi .btn{background:var(--accent);border-color:var(--accent)}
:where(.md-compd) #kombi .btn:hover{background:var(--accent-dark);border-color:var(--accent-dark)}

/* ---------- Kontakt: Foto rund wie im PDF ---------- */
:where(.md-compd) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-compd) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-compd) .foot__person{flex-direction:column}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-compd) .url,:where(.md-compd) .track__sub,:where(.md-compd) .kombi__item p,:where(.md-compd) #kontakt p,:where(.md-compd) #portraet dd{overflow-wrap:anywhere}

@media print{
  :where(.md-compd) .hero__facts li,:where(.md-compd) .track,:where(.md-compd) .chips li,:where(.md-compd) .themen__lead,:where(.md-compd) .thema,:where(.md-compd) .wf__ad,:where(.md-compd) .adsmap__screen,:where(.md-compd) .adsmap__bar,:where(.md-compd) .adsmap__nav,:where(.md-compd) .adsmap__lines,
  :where(.md-compd) .adsmap__ad,:where(.md-compd) .adsmap__ad b,:where(.md-compd) .adsmap__legend b,:where(.md-compd) .metabox--accent,:where(.md-compd) .metabox--accent ul,:where(.md-compd) .metabox__gears,:where(.md-compd) .kombi__item,
  :where(.md-compd) .job__sticker,:where(.md-compd) .foot__photo{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-compd) .brand--logo img{width:64mm}
  :where(.md-compd) .hero__claim{font-size:10pt;margin-top:2mm}
  :where(.md-compd) .hero__facts li > b{font-size:12pt}
  :where(.md-compd) .hero .btn:not(.btn--ghost){background:var(--accent)!important}
  :where(.md-compd) #ueberblick .sec__intro{margin-bottom:4mm}
  /* Porträt */
  :where(.md-compd) #portraet .grid2{grid-template-columns:1.1fr 1fr}
  :where(.md-compd) #portraet .block p,:where(.md-compd) #portraet dd{font-size:8.8pt;line-height:1.35}
  :where(.md-compd) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-compd) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm;grid-template-columns:30mm 1fr}
  :where(.md-compd) #portraet .chips li{padding:.6mm 2mm;font-size:7.8pt}
  :where(.md-compd) .portraet__fig img{max-height:52mm;width:auto}
  /* Themen: Einleitung + 10 Karten in 4 Spalten */
  :where(.md-compd) .themen{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-compd) .themen__lead{padding:3mm 4mm;font-size:8.8pt;line-height:1.38}
  :where(.md-compd) .thema{padding:2.2mm 3mm;break-inside:avoid}
  :where(.md-compd) .thema::before{font-size:13pt;top:1.5mm;right:2.5mm}
  :where(.md-compd) .thema h3{font-size:9pt;margin-bottom:.8mm}
  :where(.md-compd) .thema p{font-size:8.2pt;line-height:1.3}
  :where(.md-compd) .thema--zs h3{font-size:13pt}
  :where(.md-compd) .thema__eyebrow{font-size:6.8pt!important}
  :where(.md-compd) .oa{font-size:7pt;margin-top:1mm}
  :where(.md-compd) .thema--zs,:where(.md-compd) .oa,:where(.md-compd) .kombirabatt{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-compd) .kombirabatt{padding:2mm 3mm}
  :where(.md-compd) .kombirabatt p{font-size:8.6pt}
  /* Website-Preise mit Skizze auf einer Seite */
  :where(.md-compd) #online-preise table.price td,:where(.md-compd) #online-preise table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-compd) #online-preise .wf{max-width:20mm}
  :where(.md-compd) .adsmap{grid-template-columns:1fr 1fr;gap:8mm;margin-top:4mm;break-inside:avoid}
  :where(.md-compd) .adsmap__screen{max-width:92mm;box-shadow:none}
  :where(.md-compd) .adsmap__legend li{font-size:8.6pt;padding:1mm 0}
  :where(.md-compd) #website-konditionen .stack{gap:4mm}
  :where(.md-compd) #website-konditionen .block+.block{margin-top:0}
  :where(.md-compd) #website-konditionen p[style],:where(.md-compd) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-compd) #website-konditionen table.mini th,:where(.md-compd) #website-konditionen table.mini td,
  :where(.md-compd) #online-konditionen table.mini th,:where(.md-compd) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-compd) .konditionen__fig img{max-height:80mm;width:auto}
  /* Stellenanzeigen */
  :where(.md-compd) #stellenanzeigen table.price td,:where(.md-compd) #stellenanzeigen table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-compd) #stellenanzeigen .dl__row{grid-template-columns:32mm 1fr}
  :where(.md-compd) #stellenanzeigen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-compd) .job{margin-top:4mm;gap:6mm}
  :where(.md-compd) .job__fig img{max-height:66mm;width:auto}
  :where(.md-compd) .job__sticker{width:30mm;padding:2.5mm;font-size:8pt}
  /* Infodienst und Newsletter */
  :where(.md-compd) #newsletter .grid2__fig img{max-height:100mm;width:auto}
  :where(.md-compd) #newsletter p{font-size:8.8pt;line-height:1.35}
  /* Konditionen Newsletter */
  :where(.md-compd) #online-konditionen .dl__row{grid-template-columns:30mm 1fr;padding:1.2mm 0}
  :where(.md-compd) #online-konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-compd) .metabox--accent{padding:5mm}
  :where(.md-compd) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-compd) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  /* Kombi */
  :where(.md-compd) .kombi{grid-template-columns:repeat(3,1fr);gap:6mm}
  :where(.md-compd) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-compd) .kombi__item img{height:50mm;filter:none}
  :where(.md-compd) .kombi__item p{font-size:9pt}
  :where(.md-compd) #kombi .btn{display:none!important}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-compd) #kontakt{break-before:page}
  :where(.md-compd) .foot__photo{width:18mm;height:18mm}
  :where(.md-compd) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-compd) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: ConsultingBay (reines Online-Produkt, Datenbank)
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Weil es keine Zeitschrift gibt (keine Termine, keine
   Print-Preisliste, keine Druckunterlagen), ist die Seite als Produkt-
   Mediadaten einer Datenbank gestaltet (Muster der bisherigen
   Datenbank-Titel): Logo-Blau als Akzent, Gelbgruen der Unterzeile nur
   als Flaeche, Kennzahlen im Hero, Themen als Kartenraster (Einleitung +
   4 Nutzungsoptionen + 4 Inhaltskarten), schematische Platzierungsskizze
   der Website-Werbeformen, Newsletter mit Meta-Kreis wie im PDF,
   Kombi-Seite "Die Welt der Beratung" (2 Angebote), Kontaktfoto, eigene
   Druckregeln (12 Seiten; PDF-Seite 11 "Empfaenger" steht im Newsletter-
   Portraet).
   ===================================================================== */
:root:where(.md-consbay){
  --accent:#05356C;        /* Logo-Blau ConsultingBay (PDF #05356C); weiss darauf 12,4:1, als Schrift auf Weiss 12,4:1 */
  --accent-dark:#03254D;   /* dunkleres Blau fuer Hover */
  --green:#BAC95E;         /* Unterzeile "Die ESV-Datenbank fuer Berater" (PDF #BAC95E); weiss darauf 1,9:1 -> nur Flaeche, Schrift darauf #05356C (6,6:1) */
  --green-text:#5F7008;    /* Gruen als Schrift auf Weiss/hellem Gruen (5,5:1) */
  --accent-soft:#F1F4DF;   /* helle Tonflaeche Gruen */
  --accent-line:#D5DDA0;
  --meta-bg:#DCE6F1;       /* Kasten Meta-Informationen: helles Blaugrau wie im PDF */
  --ad:#BAC95E;            /* Werbemittel in den Skizzen gelbgruen wie im PDF */
  --job:#D9E0A9;           /* Hinweiskreis Jobware (PDF #D9E0A9), Schrift #05356C (9,4:1) */
}

/* ---------- Titel-Logo (Vektor aus dem PDF) + Unterzeile ---------- */
:where(.md-consbay) .brand--logo img{display:block;width:clamp(240px,13rem + 7vw,400px);max-width:100%;height:auto}
:where(.md-consbay) .hero__claim{margin:.75rem 0 0;font-size:clamp(1rem,.9rem + .45vw,1.24rem);font-weight:600;line-height:1.32;
  color:#3B4148;max-width:25em;padding-left:.8rem;border-left:3px solid var(--green)}

/* Hero-Kennzahlen: Ziffern im Logo-Blau, nie ueberlaufen; 3 Kacheln -> mobil dritte Kachel volle Breite */
:where(.md-consbay) .hero__facts li{min-width:0}
:where(.md-consbay) .hero__facts li > b{white-space:nowrap;color:var(--accent);font-size:1.32rem}
:where(.md-consbay) .hero__facts li > span{line-height:1.3}
@media (max-width:599px){:where(.md-consbay) .hero__facts li:last-child:nth-child(odd){grid-column:1/-1}}
:where(.md-consbay) .hero .btn:not(.btn--ghost){background:var(--accent);border-color:var(--accent)}
:where(.md-consbay) .hero .btn:not(.btn--ghost):hover{background:var(--accent-dark);border-color:var(--accent-dark)}

/* ---------- Inhalt (#ueberblick): zwei Kanaele Website / Infodienst + Newsletter ---------- */
:where(.md-consbay) #ueberblick .sec__intro{max-width:70ch}
:where(.md-consbay) .track{position:relative;overflow:hidden}
:where(.md-consbay) .track--soft{border-top-color:var(--green)}
:where(.md-consbay) .track__eyebrow{margin:0 0 .2rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
:where(.md-consbay) .track h3{font-size:1.08rem;margin-bottom:1rem;overflow-wrap:anywhere;color:var(--blue-900)}
:where(.md-consbay) .track h3 a{color:var(--blue-900);text-decoration:none}
:where(.md-consbay) .track h3 a:hover,:where(.md-consbay) .track h3 a:focus-visible{text-decoration:underline}
:where(.md-consbay) .track li .key{background:transparent;color:var(--accent);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-consbay) .track li .key--none{visibility:hidden}

/* ---------- Porträt ---------- */
:where(.md-consbay) .portraet__fig{margin:0}
:where(.md-consbay) .portraet__fig img{display:block;width:100%;max-width:353px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
:where(.md-consbay) .chips--accent li{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent);font-weight:600}
:where(.md-consbay) .rubrik__label{margin:.2rem 0 .45rem;font-weight:700;color:var(--accent)}
:where(.md-consbay) .rubrik__label + .chips{margin-bottom:.8rem}

/* ---------- Themen (PDF-Seite 4): Einleitung als blaue Leiste (volle Breite) + 4 Nutzungsoptionen
   + 4 Inhaltskarten = 8 Karten, Spalten fest 1 / 2 / 4 -> nie eine Luecke ---------- */
:where(.md-consbay) .themen{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-consbay) .themen{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){:where(.md-consbay) .themen{grid-template-columns:repeat(4,minmax(0,1fr))}}
:where(.md-consbay) .themen__lead{grid-column:1/-1;background:linear-gradient(140deg,var(--accent) 0%,#0B4F96 100%);color:#fff;
  padding:1.3rem 1.5rem;font-size:1.04rem;line-height:1.5}
:where(.md-consbay) .themen__lead p{margin:0}
:where(.md-consbay) .themen__lead strong{color:#fff}
:where(.md-consbay) .thema{position:relative;background:#fff;border:1px solid var(--line);
  border-top:3px solid var(--accent);padding:1.05rem 1.15rem 1.1rem;min-width:0;
  transition:box-shadow .18s,transform .18s}
:where(.md-consbay) .thema:hover{box-shadow:0 10px 24px rgba(0,52,105,.10);transform:translateY(-2px)}
:where(.md-consbay) .thema h3{font-size:1rem;color:var(--accent);margin:0 0 .45rem;line-height:1.25}
:where(.md-consbay) .thema p{margin:0;font-size:.93rem;color:#2A333D}
:where(.md-consbay) .thema--opt{border-top-color:var(--green);background:linear-gradient(180deg,var(--accent-soft) 0,#fff 3.2rem)}
:where(.md-consbay) .thema__tag,:where(.md-consbay) .thema h3.thema__tag{display:inline-block;margin:0 0 .55rem;padding:.12rem .55rem;background:var(--green);color:var(--accent);
  font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
:where(.md-consbay) .oa{display:inline-block;padding:0 .4rem;border:1px solid #C25A00;color:#A34B00;font-size:.8rem;font-weight:700;
  line-height:1.4;white-space:nowrap}
@media (prefers-reduced-motion:reduce){:where(.md-consbay) .thema{transition:none}:where(.md-consbay) .thema:hover{transform:none}}

/* ---------- Werbeform-Skizzen: Werbemittel gelbgruen wie im PDF ---------- */
:where(.md-consbay) .wf__ad{background:var(--ad)}
:where(.md-consbay) table.price th[scope="row"]{white-space:nowrap}
@media (max-width:719px){:where(.md-consbay) table.price .num{white-space:normal}:where(.md-consbay) table.price th[scope="row"]{white-space:normal}
  :where(.md-consbay) table.price td{overflow-wrap:anywhere;min-width:0}
  :where(.md-consbay) table.price td::before{flex:none;overflow-wrap:normal}
  :where(.md-consbay) table.price td[data-label="Platzierung"]{text-align:right}}

/* ---------- Platzierungsskizze der Website (schematisch) ---------- */
:where(.md-consbay) .adsmap{margin:2.25rem 0 0;display:grid;gap:1.5rem 2.5rem;align-items:center}
@media (min-width:860px){:where(.md-consbay) .adsmap{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
:where(.md-consbay) .adsmap__screen{border:1px solid #C6D5E3;background:#fff;box-shadow:0 18px 36px rgba(0,52,105,.12);
  border-radius:6px 6px 0 0;overflow:hidden;max-width:560px;width:100%;margin-inline:auto}
:where(.md-consbay) .adsmap__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .9rem;
  border-bottom:1px solid #E4EAF0;background:linear-gradient(90deg,#fff 55%,#EEF2D6)}
:where(.md-consbay) .adsmap__logo{font-weight:600;font-size:.86rem;letter-spacing:.01em;color:var(--accent)}
:where(.md-consbay) .adsmap__logo i{font-style:normal;font-weight:300}
:where(.md-consbay) .adsmap__search{width:32%;height:.85rem;border:1px solid #9FB3CC;border-radius:2px}
:where(.md-consbay) .adsmap__nav{height:.75rem;margin:.45rem .9rem;background:repeating-linear-gradient(90deg,#DCE3EA 0 13%,transparent 13% 15%)}
:where(.md-consbay) .adsmap__body{position:relative;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:.8rem;
  padding:.6rem 2.6rem 1rem .9rem}
:where(.md-consbay) .adsmap__main,:where(.md-consbay) .adsmap__side{display:grid;gap:.55rem;align-content:start}
:where(.md-consbay) .adsmap__lines{display:block;height:2.4rem;background:repeating-linear-gradient(#E6EBF0 0 4px,transparent 4px 9px)}
:where(.md-consbay) .adsmap__lines--short{height:1.3rem;width:70%}
:where(.md-consbay) .adsmap__lines--side{height:3.2rem}
:where(.md-consbay) .adsmap__ad{position:relative;display:grid;place-items:center;background:var(--ad);color:var(--accent)}
:where(.md-consbay) .adsmap__ad b{display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#fff;
  color:var(--accent);font-size:.78rem;font-weight:700}
:where(.md-consbay) .adsmap__ad--btn{width:34%;height:1.9rem}
:where(.md-consbay) .adsmap__ad--rect{height:3.9rem;width:82%}
:where(.md-consbay) .adsmap__ad--sky{position:absolute;right:.55rem;top:.6rem;bottom:1rem;width:1.55rem;align-items:start;padding-top:.4rem}
:where(.md-consbay) .adsmap__ad--sky b{width:1.15rem;height:1.15rem;font-size:.7rem}
:where(.md-consbay) .adsmap__legend{list-style:none;margin:0;padding:0}
:where(.md-consbay) .adsmap__legend li{display:flex;gap:.7rem;align-items:center;padding:.45rem 0;border-bottom:1px dotted var(--hair)}
:where(.md-consbay) .adsmap__legend li:last-child{border-bottom:0}
:where(.md-consbay) .adsmap__legend b{flex:none;display:grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;
  background:var(--accent);color:#fff;font-size:.8rem}
:where(.md-consbay) .adsmap figcaption .notes{margin-top:.6rem}

/* ---------- Konditionen Website (PDF-Seite 6) inkl. Rabatt bei ergaenzenden eJournal-Schaltungen ---------- */
:where(.md-consbay) .konditionen__fig img{display:block;width:100%;max-width:384px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
@media (min-width:900px){:where(.md-consbay) #website-konditionen .grid2{align-items:center}}
:where(.md-consbay) table.mini td:last-child{color:var(--accent)}
:where(.md-consbay) .kombirabatt{margin:1.6rem 0 0;padding:1rem 1.2rem;background:#fff;border-left:4px solid var(--green);font-size:.98rem}
:where(.md-consbay) .kombirabatt p{margin:0}
:where(.md-consbay) .kombirabatt p + p{margin-top:.4rem;font-size:.9rem;color:var(--muted)}
:where(.md-consbay) .kombirabatt b{color:var(--accent)}

/* ---------- Rubrik Stellenanzeigen (PDF-Seite 7): Hinweiskreis Jobware als Text ---------- */
:where(.md-consbay) table.price--job th[scope="row"]{white-space:normal;min-width:9rem}
@media screen and (min-width:900px){:where(.md-consbay) #stellenanzeigen .tablewrap{max-width:860px}}
:where(.md-consbay) .job{margin-top:2.25rem}
:where(.md-consbay) .job__fig{position:relative}
:where(.md-consbay) .job__fig img{display:block;width:100%;max-width:560px;height:auto;margin-inline:auto}
:where(.md-consbay) .job__sticker{background:var(--job);color:var(--accent);width:min(100%,180px);font-size:.98rem;font-weight:600;padding:1.2rem;margin:0 auto 1rem}
:where(.md-consbay) .job__sticker b{font-weight:700}
@media (min-width:900px){:where(.md-consbay) .job__sticker{position:absolute;right:0;top:-1.5rem;z-index:1;margin:0}}
@media (max-width:719px){:where(.md-consbay) table.price--job tbody tr{grid-template-columns:1fr}}

/* ---------- Newsletter ---------- */
:where(.md-consbay) #newsletter .grid2__fig img{max-width:440px;width:100%}

/* ---------- Meta-Kreis (PDF-Seite 10): blauer Kreis auf blaugrauem Kasten mit Zahnraedern ---------- */
:where(.md-consbay) .metabox--accent{position:relative;overflow:hidden;background:var(--meta-bg)}
:where(.md-consbay) .metabox--accent h3{position:relative;z-index:1;max-width:19em}
:where(.md-consbay) .metabox__gears{position:absolute;right:-18px;top:28%;width:min(46%,210px);height:auto;color:#9EBCDB;opacity:.8}
:where(.md-consbay) .metabox--accent ul{position:relative;z-index:1;background:var(--accent);color:#fff;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto 0 0;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.1rem;
  box-shadow:0 14px 30px rgba(5,53,108,.25)}
:where(.md-consbay) .metabox--accent li::before{background:#fff}
@media (max-width:520px){:where(.md-consbay) .metabox__gears{display:none}:where(.md-consbay) .metabox--accent ul{margin:0 auto}}

/* ---------- Kombi-Seite "Die Welt der Beratung" (2 Angebote) ---------- */
:where(.md-consbay) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-consbay) .kombi__claim span{color:var(--cyan-text)}
:where(.md-consbay) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr);max-width:900px}
@media (min-width:640px){:where(.md-consbay) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-consbay) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;
  display:flex;flex-direction:column;gap:.7rem;min-width:0}
:where(.md-consbay) .kombi__item img{display:block;width:100%;height:240px;object-fit:contain;object-position:center;margin:0 auto;filter:drop-shadow(0 10px 18px rgba(0,52,105,.16))}
:where(.md-consbay) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-consbay) .kombi__item p{margin:0;font-size:.95rem}
:where(.md-consbay) #kombi .btn{background:var(--accent);border-color:var(--accent)}
:where(.md-consbay) #kombi .btn:hover{background:var(--accent-dark);border-color:var(--accent-dark)}

/* ---------- Kontakt: Foto rund wie im PDF ---------- */
:where(.md-consbay) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-consbay) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-consbay) .foot__person{flex-direction:column}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-consbay) .url,:where(.md-consbay) .track__sub,:where(.md-consbay) .kombi__item p,:where(.md-consbay) #kontakt p,:where(.md-consbay) #portraet dd{overflow-wrap:anywhere}

@media print{
  :where(.md-consbay) .hero__facts li,:where(.md-consbay) .track,:where(.md-consbay) .chips li,:where(.md-consbay) .themen__lead,:where(.md-consbay) .thema,:where(.md-consbay) .thema__tag,:where(.md-consbay) .wf__ad,:where(.md-consbay) .adsmap__screen,:where(.md-consbay) .adsmap__bar,:where(.md-consbay) .adsmap__nav,:where(.md-consbay) .adsmap__lines,
  :where(.md-consbay) .adsmap__ad,:where(.md-consbay) .adsmap__ad b,:where(.md-consbay) .adsmap__legend b,:where(.md-consbay) .metabox--accent,:where(.md-consbay) .metabox--accent ul,:where(.md-consbay) .metabox__gears,:where(.md-consbay) .kombi__item,
  :where(.md-consbay) .kombirabatt,:where(.md-consbay) .job__sticker,:where(.md-consbay) .foot__photo{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-consbay) .brand--logo img{width:64mm}
  :where(.md-consbay) .hero__claim{font-size:10pt;margin-top:2mm}
  :where(.md-consbay) .hero__facts li > b{font-size:12pt}
  :where(.md-consbay) .hero .btn:not(.btn--ghost){background:var(--accent)!important}
  :where(.md-consbay) #ueberblick .sec__intro{margin-bottom:4mm}
  /* Porträt */
  :where(.md-consbay) #portraet .grid2{grid-template-columns:1.1fr 1fr}
  :where(.md-consbay) #portraet .block p,:where(.md-consbay) #portraet dd{font-size:8.6pt;line-height:1.33}
  :where(.md-consbay) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-consbay) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm;grid-template-columns:28mm 1fr}
  :where(.md-consbay) #portraet .chips{gap:1.2mm}
  :where(.md-consbay) #portraet .chips li{padding:.5mm 1.8mm;font-size:7.6pt}
  :where(.md-consbay) .portraet__fig img{max-height:46mm;width:auto}
  /* Themen: Einleitung + 8 Karten in 4 Spalten */
  :where(.md-consbay) .themen{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-consbay) .themen__lead{padding:3mm 4mm;font-size:9pt;line-height:1.38}
  :where(.md-consbay) .thema{padding:2.4mm 3mm;break-inside:avoid}
  :where(.md-consbay) .thema h3{font-size:9pt;margin-bottom:.8mm}
  :where(.md-consbay) .thema p{font-size:8.3pt;line-height:1.32}
  :where(.md-consbay) .thema__tag,:where(.md-consbay) .thema h3.thema__tag{font-size:7.4pt;margin-bottom:1mm}
  /* Website-Preise mit Skizze auf einer Seite */
  :where(.md-consbay) #online-preise table.price td,:where(.md-consbay) #online-preise table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-consbay) #online-preise .wf{max-width:20mm}
  :where(.md-consbay) .adsmap{grid-template-columns:1fr 1fr;gap:8mm;margin-top:4mm;break-inside:avoid}
  :where(.md-consbay) .adsmap__screen{max-width:92mm;box-shadow:none}
  :where(.md-consbay) .adsmap__legend li{font-size:8.6pt;padding:1mm 0}
  :where(.md-consbay) #website-konditionen .stack{gap:3mm}
  :where(.md-consbay) #website-konditionen .block+.block{margin-top:0}
  :where(.md-consbay) #website-konditionen p[style],:where(.md-consbay) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-consbay) #website-konditionen p,:where(.md-consbay) #website-konditionen .chips li{font-size:8.6pt}
  :where(.md-consbay) #website-konditionen .chips li{padding:.4mm 1.8mm}
  :where(.md-consbay) .rubrik__label{margin:0 0 1mm;font-size:8.6pt}
  :where(.md-consbay) .rubrik__label + .chips{margin-bottom:1.5mm}
  :where(.md-consbay) #website-konditionen table.mini th,:where(.md-consbay) #website-konditionen table.mini td,
  :where(.md-consbay) #online-konditionen table.mini th,:where(.md-consbay) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-consbay) .konditionen__fig img{max-height:70mm;width:auto}
  :where(.md-consbay) .kombirabatt{margin-top:3mm;padding:2mm 3mm;font-size:8.4pt;break-inside:avoid}
  :where(.md-consbay) .kombirabatt p + p{font-size:8pt}
  /* Stellenanzeigen */
  :where(.md-consbay) #stellenanzeigen table.price td,:where(.md-consbay) #stellenanzeigen table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-consbay) #stellenanzeigen .dl__row{grid-template-columns:32mm 1fr}
  :where(.md-consbay) #stellenanzeigen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-consbay) .job{margin-top:4mm;gap:6mm}
  :where(.md-consbay) .job__fig img{max-height:66mm;width:auto}
  :where(.md-consbay) .job__sticker{width:30mm;padding:2.5mm;font-size:8pt}
  /* Newsletter */
  :where(.md-consbay) #newsletter .grid2__fig img{max-height:118mm;width:auto}
  :where(.md-consbay) #newsletter dd,:where(.md-consbay) #newsletter p{font-size:8.6pt;line-height:1.35}
  /* Konditionen Newsletter */
  :where(.md-consbay) #online-konditionen .dl__row{grid-template-columns:30mm 1fr;padding:1.2mm 0}
  :where(.md-consbay) #online-konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-consbay) .metabox--accent{padding:5mm}
  :where(.md-consbay) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-consbay) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  /* Kombi */
  :where(.md-consbay) .kombi{grid-template-columns:repeat(2,1fr);gap:8mm;max-width:200mm}
  :where(.md-consbay) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-consbay) .kombi__item img{height:56mm;filter:none}
  :where(.md-consbay) .kombi__item p{font-size:9pt}
  :where(.md-consbay) #kombi .btn{display:none!important}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-consbay) #kontakt{break-before:page}
  :where(.md-consbay) .foot__photo{width:18mm;height:18mm}
  :where(.md-consbay) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-consbay) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Deutsch als Fremdsprache
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarbe Petrol (aus dem Print-PDF, #004958),
   Titel-Logo als SVG, Herausgeber-Zeile mit Herder-Siegel, Info-Blasen
   und Kreis Meta-Informationen petrol mit weisser Schrift (wie im PDF),
   Termine 4-spaltig, Preistabelle mit Zuschlaegen/Sonderwerbeformen,
   Kombi-Seite "Die Welt der Philologie", Kontaktfoto und Druckregeln.
   ===================================================================== */
:root:where(.md-daf){
  --accent:#004958;        /* Petrol des Titel-Schriftzugs, der Info-Blasen und Werbemittel im PDF */
  --accent-ink:#FFFFFF;    /* Schrift auf Petrol (Blasen, Kreis Meta-Informationen), wie im PDF */
  --accent-text:#004958;   /* Petrol fuer Text auf Weiss (Kontrast 9,9:1) */
  --accent-soft:#004958;   /* Kreis Meta-Informationen im PDF: ebenfalls Petrol */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-daf) .brand--logo img{display:block;width:clamp(230px,14rem + 7vw,360px);max-width:100%;height:auto}
/* Herausgeber-Zeile mit Herder-Siegel (PDF-Seite 1) */
:where(.md-daf) .hero__hg{display:flex;align-items:center;gap:.8rem;margin:1rem 0 0;font-size:.84rem;line-height:1.35;color:var(--accent-text);max-width:26rem}
:where(.md-daf) .hero__hg img{flex:none;width:46px;height:auto}

/* Hero-Kennzahlen: "170 × 240" nie ueberlaufen lassen */
:where(.md-daf) .hero__facts li{min-width:0}
:where(.md-daf) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben petrol wie im PDF */
:where(.md-daf) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-daf) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-daf) .track__sub--accent a:hover,:where(.md-daf) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-daf) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-daf) .track li .key--none{visibility:hidden}

/* Akzent: Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-daf) .wf__ad{background:var(--accent)}
:where(.md-daf) .metabox--accent ul{background:var(--accent-soft);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-daf) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": petrol mit weisser Schrift wie im PDF */
:where(.md-daf) .bubble{background:var(--accent);color:#fff}
:where(.md-daf) .bubble b{color:#fff}
:where(.md-daf) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,50,60,.2)}

/* Termine: je Heft nur drei Daten; vier Hefte als 2 × 2 (bei 3 oder 4 Spalten wird es fuer
   "Druckunterlagenschluss" + Datum zu eng) */
:where(.md-daf) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
@media (min-width:640px){:where(.md-daf) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Preisliste: eine Zeile (2. und 3. Umschlagseite), darunter Zuschlaege/Sonderwerbeformen/Zahlung */
:where(.md-daf) table.price .thumb{width:72px}
/* Anschnitt-Zelle mit Zusatzzeile "zzgl. 3 mm Anschnitt" (Korrektur 12.11.2026) */
:where(.md-daf) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
@media (max-width:719px){
  :where(.md-daf) table.price .num{white-space:normal}
  :where(.md-daf) table.price th[scope="row"]{white-space:normal}
  :where(.md-daf) table.price td .v{text-align:right}
}
:where(.md-daf) .sub small{font-weight:400;color:var(--muted);font-size:.84em}
:where(.md-daf) .preise-bottom{margin-top:2rem}
:where(.md-daf) .preise-bottom .aside{max-width:none}

/* Die Welt der Philologie (PDF-Seite 10) */
:where(.md-daf) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-daf) .kombi__claim span{color:var(--cyan-text)}
:where(.md-daf) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-daf) .kombi{grid-template-columns:repeat(2,minmax(0,1fr));max-width:48rem}}
:where(.md-daf) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-/Tablet-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar (Korrektur 14.10.2026) */
:where(.md-daf) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-daf) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-daf) .kombi__item p{margin:0;font-size:.95rem;overflow-wrap:anywhere}

/* Kontakt: Foto rund wie im PDF */
:where(.md-daf) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-daf) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-daf) .foot__person{flex-direction:column}}

@media print{
  :where(.md-daf) .bubble,:where(.md-daf) .metabox--accent ul,:where(.md-daf) .kombi__item,:where(.md-daf) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-daf) .brand--logo img{width:66mm}
  :where(.md-daf) .hero__hg{font-size:7.6pt;margin-top:2.5mm}
  :where(.md-daf) .hero__hg img{width:10mm}
  :where(.md-daf) #termine .issues{grid-template-columns:1fr 1fr}
  :where(.md-daf) table.price .thumb{width:14mm}
  :where(.md-daf) #preise .fmt{width:6mm;height:8.5mm}
  :where(.md-daf) .preise-bottom{margin-top:5mm}
  :where(.md-daf) #preise .stack{gap:4mm}
  :where(.md-daf) #preise p,:where(.md-daf) #preise dd{font-size:9pt;line-height:1.35}
  :where(.md-daf) #preise .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-daf) #preise .aside{padding:3mm 4mm;font-size:8.4pt}
  :where(.md-daf) #online-konditionen .stack{gap:4mm}
  :where(.md-daf) #online-konditionen p{font-size:9pt;line-height:1.35}
  :where(.md-daf) .metabox--accent{padding:5mm}
  :where(.md-daf) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-daf) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-daf) #online-preise .wf{max-width:22mm}
  :where(.md-daf) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-daf) #portraet .block p,:where(.md-daf) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-daf) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-daf) #portraet .stack{gap:4.5mm}
  :where(.md-daf) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:none}
  :where(.md-daf) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-daf) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-daf) .kombi__item p{font-size:9pt}
  :where(.md-daf) .foot__photo{width:18mm;height:18mm}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-daf) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-daf) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-daf) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Deutsche Sprache
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarbe Blau (aus dem Print-PDF, #164194),
   Titel-Logo als SVG, Info-Blasen blau mit weisser Schrift, Kreis
   Meta-Informationen weiss mit blauer Schrift (wie im PDF), Termine mit
   Themenkasten, Preistabelle mit Seitenleiste, Kombi-Seite "Die Welt der
   Philologie", Kontaktfoto und Druckregeln.
   ===================================================================== */
:root:where(.md-ds){
  --accent:#164194;        /* Blau des Titel-Schriftzugs, der Kennbuchstaben und Info-Blasen im PDF */
  --accent-ink:#164194;    /* Schrift im weissen Kreis Meta-Informationen, wie im PDF */
  --accent-text:#164194;   /* Blau fuer Text auf Weiss (Kontrast 9,6:1) */
  --accent-soft:#FFFFFF;   /* Kreis Meta-Informationen im PDF: weiss */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-ds) .brand--logo img{display:block;width:clamp(220px,13rem + 6vw,330px);max-width:100%;height:auto}

/* Hero-Kennzahlen: "170 × 240" nie ueberlaufen lassen */
:where(.md-ds) .hero__facts li{min-width:0}
:where(.md-ds) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben blau wie im PDF */
:where(.md-ds) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-ds) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-ds) .track__sub--accent a:hover,:where(.md-ds) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-ds) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-ds) .track li .key--none{visibility:hidden}

/* Akzent: Kreis Meta-Informationen (weiss, blaue Schrift), Werbemittel in den Skizzen */
:where(.md-ds) .wf__ad{background:var(--accent)}
:where(.md-ds) .metabox--accent ul{background:var(--accent-soft);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem;
  box-shadow:0 10px 28px rgba(22,65,148,.16)}
:where(.md-ds) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": blau mit weisser Schrift wie im PDF */
:where(.md-ds) .bubble{background:var(--accent);color:#fff}
:where(.md-ds) .bubble b{color:#fff}
:where(.md-ds) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(22,65,148,.22)}

/* Termine: vier Daten je Heft (Quartal); die Themen gelten fuer alle Hefte (Kasten .topics);
   vier Hefte als 2 × 2 (bei 4 Spalten zu eng fuer "Druckunterlagenschluss" + Datum) */
:where(.md-ds) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
@media (min-width:640px){:where(.md-ds) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-ds) .topics p{margin:0;font-size:.96rem}
:where(.md-ds) .topics p + ul{margin-top:.6rem}

/* Preisliste: Tabelle (Satzspiegel, s/w, 4c) mit Seitenleiste, darunter
   Sonderwerbeformen/Zahlung/Anlieferung */
:where(.md-ds) table.price .thumb{width:72px}
:where(.md-ds) table.price th[scope="row"]{white-space:nowrap}
:where(.md-ds) table.price--print thead th{white-space:nowrap}
:where(.md-ds) #preise table.price{min-width:0}   /* nur 4 Spalten: passt ohne Mindestbreite in die schmalere Spalte */
:where(.md-ds) .sub small{font-weight:400;color:var(--muted);font-size:.84em}
:where(.md-ds) .preise-top{display:grid;gap:1.25rem 2rem;align-items:start}
@media (min-width:900px){:where(.md-ds) .preise-top{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}}
:where(.md-ds) .preise-top .tablewrap{margin-bottom:0}
:where(.md-ds) .preise-top .aside{max-width:none}
:where(.md-ds) .preise-bottom{margin-top:2rem}
@media (max-width:719px){
  :where(.md-ds) table.price .num{white-space:normal}
  :where(.md-ds) table.price th[scope="row"]{white-space:normal}
}

/* Die Welt der Philologie (PDF-Seite 10) */
:where(.md-ds) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-ds) .kombi__claim span{color:var(--cyan-text)}
:where(.md-ds) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-ds) .kombi{grid-template-columns:repeat(2,minmax(0,1fr));max-width:48rem}}
:where(.md-ds) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-/Tablet-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar (Korrektur 14.10.2026) */
:where(.md-ds) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-ds) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-ds) .kombi__item p{margin:0;font-size:.95rem;overflow-wrap:anywhere}

/* Kontakt: Foto rund wie im PDF */
:where(.md-ds) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-ds) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-ds) .foot__person{flex-direction:column}}

@media print{
  :where(.md-ds) .bubble,:where(.md-ds) .metabox--accent ul,:where(.md-ds) .kombi__item,:where(.md-ds) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-ds) .brand--logo img{width:62mm}
  :where(.md-ds) .topics{padding:3mm 4mm}
  :where(.md-ds) #termine .issues{grid-template-columns:repeat(4,1fr)}
  :where(.md-ds) #termine .topics li,:where(.md-ds) #termine .topics p{font-size:9pt;line-height:1.35}
  :where(.md-ds) #termine .issue dd{white-space:nowrap}   /* "KW 10 2026" einzeilig */
  :where(.md-ds) table.price .thumb{width:14mm}
  :where(.md-ds) #preise .fmt{width:6mm;height:8.5mm}
  :where(.md-ds) .preise-top{grid-template-columns:1.6fr 1fr;gap:6mm}
  :where(.md-ds) .preise-bottom{margin-top:5mm}
  :where(.md-ds) #preise .stack{gap:4mm}
  :where(.md-ds) #preise p,:where(.md-ds) #preise dd{font-size:9pt;line-height:1.35}
  :where(.md-ds) #preise .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-ds) #preise .aside{padding:3mm 4mm;font-size:8.4pt}
  :where(.md-ds) #online-konditionen .stack{gap:4mm}
  :where(.md-ds) #online-konditionen p{font-size:9pt;line-height:1.35}
  /* Bankverbindung (Inline-Stil .94rem) im Druck nicht groesser als der Fliesstext */
  :where(.md-ds) #preise p[style],:where(.md-ds) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-ds) .metabox--accent{padding:5mm}
  :where(.md-ds) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-ds) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-ds) #online-preise .wf{max-width:22mm}
  :where(.md-ds) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-ds) #portraet .block p,:where(.md-ds) #portraet dd{font-size:9pt;line-height:1.36}
  :where(.md-ds) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-ds) #portraet .stack{gap:4mm}
  :where(.md-ds) #portraet .dl__row{padding-top:1.2mm;padding-bottom:1.2mm}
  :where(.md-ds) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:none}
  :where(.md-ds) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-ds) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-ds) .kombi__item p{font-size:9pt}
  :where(.md-ds) .foot__photo{width:18mm;height:18mm}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-ds) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-ds) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-ds) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: ER EnergieRecht
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Gelb/Petrol (aus dem Print-PDF), Titel-Logo
   als SVG mit Unterzeile, Info-Blasen gelb, Termine mit Schwerpunktkaesten,
   Preistabelle mit zwei Preisspalten und Doppel-Formatskizzen,
   Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-er){
  --accent:#FFCC00;        /* Gelb der Flaechen im PDF (Sticker, Info-Blasen, Kreis Meta-Informationen) */
  --accent-ink:#004F9F;    /* Schrift auf Gelb, wie im PDF (5,3:1) */
  --accent-text:#7F6200;   /* Schrift auf der Inhaltsseite (PDF: #FFCC00 auf Weiss, 1,5:1 -> abgedunkelt, 5,7:1) */
  --accent-soft:#FFF6CC;   /* helle Tonflaeche */
  --title-ink:#003E55;     /* Titel-Schriftzug "ER" (Logo), Unterzeile im PDF #2D6B83 */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-er) .brand--logo img{display:block;width:clamp(150px,7rem + 5vw,240px);max-width:100%;height:auto}
:where(.md-er) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;line-height:1.3;color:#2D6B83;max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-er) .hero__facts li{min-width:0}
:where(.md-er) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben gelb wie im PDF (abgedunkelt) */
:where(.md-er) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-er) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-er) .track__sub--accent a:hover,:where(.md-er) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-er) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-er) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-er) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-er) .sticker--accent sup{color:inherit}
:where(.md-er) .wf__ad{background:var(--accent)}
:where(.md-er) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-er) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": gelb mit blauer Schrift wie im PDF */
:where(.md-er) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-er) .bubble b{color:var(--accent-ink)}
:where(.md-er) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; Schwerpunkt und Messe/Ausstellung
   gelten fuer alle Ausgaben (Kaesten .topics darunter) */
:where(.md-er) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-er) .topics + .topics{margin-top:1rem}
:where(.md-er) .topics p{margin:0;font-size:.96rem}
:where(.md-er) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-er) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-er) .topics--cols li{break-inside:avoid}}
:where(.md-er) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-er) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-er) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-er) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-er) table.price .thumb{width:92px}
:where(.md-er) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-er) table.price th[scope="row"]{white-space:nowrap}
:where(.md-er) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-er) table.price .num{white-space:normal}
  :where(.md-er) table.price th[scope="row"]{white-space:normal}
  :where(.md-er) table.price td .v{text-align:right}
  :where(.md-er) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-er) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-er) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-er) .preise-extra .sticker{margin:0 auto}
:where(.md-er) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-er) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-er) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-er) .foot__person{flex-direction:column}}

@media print{
  :where(.md-er) .sticker--accent,:where(.md-er) .bubble,:where(.md-er) .metabox--accent ul,:where(.md-er) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-er) .brand--logo img{width:34mm}
  :where(.md-er) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-er) .topics{padding:3mm 4mm}
  :where(.md-er) .topics + .topics{margin-top:3mm}
  /* Schwerpunkt und Messe im Druck nebeneinander, Ausgaben 3-spaltig (6 Ausgaben = 2 Zeilen) */
  :where(.md-er) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}
  :where(.md-er) #termine .issue{padding:2mm 3mm}
  :where(.md-er) #termine .issue dt,:where(.md-er) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-er) #termine .issue__no{margin-bottom:1mm}
  :where(.md-er) #termine .deadline{margin-bottom:2mm}
  :where(.md-er) .topics-row{display:grid;grid-template-columns:1.4fr 1fr;gap:4mm;align-items:start;margin-top:4mm}
  :where(.md-er) .topics-row .topics + .topics{margin-top:0}
  :where(.md-er) .topics--cols ul{columns:2;column-gap:6mm}
  :where(.md-er) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-er) .topics p{font-size:8.8pt}
  :where(.md-er) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-er) table.price .thumb{width:20mm}
  :where(.md-er) #preise .fmt{width:5mm;height:7mm}
  :where(.md-er) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-er) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-er) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-er) #preise .sub{margin-bottom:1mm}
  :where(.md-er) table.price .sub{font-size:7.6pt}
  :where(.md-er) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-er) #preise table.price td,:where(.md-er) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-er) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-er) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-er) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-er) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-er) #preise .aside p{margin-bottom:1mm}
  :where(.md-er) #konditionen .stack,:where(.md-er) #online-konditionen .stack{gap:3.5mm}
  :where(.md-er) #konditionen .block+.block{margin-top:0}
  :where(.md-er) #konditionen table.mini th,:where(.md-er) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-er) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-er) #konditionen p,:where(.md-er) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-er) .metabox--accent{padding:5mm}
  :where(.md-er) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-er) #online-preise table.price td,:where(.md-er) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-er) #online-preise .wf{max-width:20mm}
  :where(.md-er) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-er) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-er) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-er) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-er) #portraet .block p,:where(.md-er) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-er) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-er) #portraet .stack{gap:4.5mm}
  :where(.md-er) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-er) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-er) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Infodienst (nur ein Bild): zweite Spalte mit Hinweis auf die Werbeform */
:where(.md-er) .nl-hint{background:#fff;border:1px solid var(--line,#DCE6EF);border-radius:14px;padding:1.25rem 1.4rem}
:where(.md-er) .nl-hint h3{margin:0 0 .5rem;font-size:1.05rem}
:where(.md-er) .nl-hint p{margin:0 0 .8rem}
:where(.md-er) .hero__facts li > b{white-space:nowrap}


/* =====================================================================
   TITELSPEZIFISCH: Fremdsprache Deutsch
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarbe Dunkelblau (aus dem Print-PDF, #003C69),
   Titel-Logo als SVG, Info-Blasen dunkelblau mit weisser Schrift, Kreis
   Meta-Informationen weiss mit dunkelblauer Schrift (wie im PDF), Termine
   mit Thema je Heft, Preistabelle mit Sonderwerbeformen, Kombi-Seite
   "Die Welt der Philologie", Kontaktfoto und Druckregeln.
   ===================================================================== */
:root:where(.md-fd){
  --accent:#003C69;        /* Dunkelblau des Titel-Schriftzugs, der Kennbuchstaben, Info-Blasen und Werbemittel im PDF */
  --accent-ink:#003C69;    /* Schrift im weissen Kreis Meta-Informationen, wie im PDF */
  --accent-text:#003C69;   /* Dunkelblau fuer Text auf Weiss (Kontrast 11,9:1) */
  --accent-soft:#FFFFFF;   /* Kreis Meta-Informationen im PDF: weiss */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-fd) .brand--logo img{display:block;width:clamp(230px,14rem + 7vw,360px);max-width:100%;height:auto}

/* Hero-Kennzahlen: "DIN A4" nie ueberlaufen lassen */
:where(.md-fd) .hero__facts li{min-width:0}
:where(.md-fd) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben dunkelblau wie im PDF */
:where(.md-fd) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-fd) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-fd) .track__sub--accent a:hover,:where(.md-fd) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-fd) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-fd) .track li .key--none{visibility:hidden}

/* Akzent: Kreis Meta-Informationen (weiss, dunkelblaue Schrift), Werbemittel in den Skizzen */
:where(.md-fd) .wf__ad{background:var(--accent)}
:where(.md-fd) .metabox--accent ul{background:var(--accent-soft);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem;
  box-shadow:0 10px 28px rgba(0,60,105,.16)}
:where(.md-fd) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": dunkelblau mit weisser Schrift wie im PDF */
:where(.md-fd) .bubble{background:var(--accent);color:#fff}
:where(.md-fd) .bubble b{color:#fff}
:where(.md-fd) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,60,105,.22)}

/* Termine: je Heft drei Daten + Thema (PDF-Seite 4); zwei Hefte nebeneinander.
   Das Thema-Markup (.issue__topic) ist im S&S-Muster titelspezifisch -> hier nachgezogen. */
:where(.md-fd) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
@media (min-width:640px){:where(.md-fd) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-fd) .issue__topic{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair);font-size:1rem}
:where(.md-fd) .issue__topic p{margin:0;font-weight:600;color:var(--accent-text)}
:where(.md-fd) .issue__lbl{display:block;font-size:.78rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--blue);margin-bottom:.15rem}
:where(.md-fd) .issue--past .issue__topic p,:where(.md-fd) .issue--past .issue__lbl{color:#8B98A5}

/* Preisliste: Umschlagseiten, 1/1, 1/3 (Anschnitt, HKS 41/HKS 15, 4c), darunter Sonderwerbeformen/Zahlung */
:where(.md-fd) table.price .thumb{width:72px}
:where(.md-fd) table.price th[scope="row"]{white-space:nowrap}
@media (max-width:719px){:where(.md-fd) table.price th[scope="row"],:where(.md-fd) table.price .num{white-space:normal}}
/* lange Adresse www.FremdspracheDeutschdigital.de(/subscribe) darf auf schmalen Bildschirmen umbrechen */
:where(.md-fd) #newsletter .url,:where(.md-fd) .track__sub--accent,:where(.md-fd) .kombi__item p,:where(.md-fd) #kontakt p{overflow-wrap:anywhere}
:where(.md-fd) .sub small{font-weight:400;color:var(--muted);font-size:.84em}
:where(.md-fd) .preise-bottom{margin-top:2rem}
:where(.md-fd) .preise-bottom .aside{max-width:none}

/* Die Welt der Philologie (PDF-Seite 10) */
:where(.md-fd) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-fd) .kombi__claim span{color:var(--cyan-text)}
:where(.md-fd) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-fd) .kombi{grid-template-columns:repeat(2,minmax(0,1fr));max-width:48rem}}
:where(.md-fd) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-/Tablet-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar (Korrektur 14.10.2026) */
:where(.md-fd) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-fd) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-fd) .kombi__item p{margin:0;font-size:.95rem;overflow-wrap:anywhere}

/* Kontakt: Foto rund wie im PDF */
:where(.md-fd) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-fd) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-fd) .foot__person{flex-direction:column}}

@media print{
  :where(.md-fd) .bubble,:where(.md-fd) .metabox--accent ul,:where(.md-fd) .kombi__item,:where(.md-fd) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-fd) .brand--logo img{width:66mm}
  :where(.md-fd) #termine .issues{grid-template-columns:1fr 1fr}
  :where(.md-fd) .issue__topic{margin-top:2mm;padding-top:1.6mm}
  :where(.md-fd) table.price .thumb{width:14mm}
  :where(.md-fd) #preise .fmt{width:6mm;height:8.5mm}
  :where(.md-fd) .preise-bottom{margin-top:5mm}
  :where(.md-fd) #preise .stack{gap:4mm}
  :where(.md-fd) #preise p,:where(.md-fd) #preise dd{font-size:9pt;line-height:1.35}
  :where(.md-fd) #preise .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-fd) #preise .aside{padding:3mm 4mm;font-size:8.4pt}
  /* Bankverbindung (Inline-Stil .94rem) im Druck nicht groesser als der Fliesstext */
  :where(.md-fd) #preise p[style],:where(.md-fd) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-fd) #online-konditionen .stack{gap:4mm}
  :where(.md-fd) #online-konditionen p{font-size:9pt;line-height:1.35}
  :where(.md-fd) .metabox--accent{padding:5mm}
  :where(.md-fd) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-fd) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-fd) #online-preise .wf{max-width:22mm}
  :where(.md-fd) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-fd) #portraet .block p,:where(.md-fd) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-fd) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-fd) #portraet .stack{gap:4.5mm}
  :where(.md-fd) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:none}
  :where(.md-fd) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-fd) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-fd) .kombi__item p{font-size:9pt}
  :where(.md-fd) .foot__photo{width:18mm;height:18mm}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-fd) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-fd) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-fd) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Gemeindewirtschaft
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Aufbau wie Vorlage rv-2025 (Einseiter:
   keine Inhaltsseite, Termine mit nur zwei Daten, Schwerpunkte-Kasten)
   plus Online-Teil (Website-Porträt, Werbeformen, Formate online).
   Titelblau #46749B (Signet/Unterzeile), Kopfband-Blau #004979 fuer die
   Seitenleiste, Werbemittel in den Farben des Print-PDF.
   ===================================================================== */
:root:where(.md-gw){
  --accent:#46749B;        /* Titelblau (Signet, Unterzeile); weisse Schrift 4,95:1 */
  --accent-ink:#FFFFFF;
  --accent-dark:#004979;   /* Kopfband des PDF; weisse Schrift 9,4:1 */
  --accent-soft:#E6EDF4;   /* helle Tonflaeche aus dem Titelblau */
}

/* Titel-Logo komplett als SVG (Wortmarke, Unterzeile, Signet – Vektor aus dem PDF) */
:where(.md-gw) .brand--logo img{display:block;width:clamp(260px,12rem + 16vw,480px);max-width:100%;height:auto}
:where(.md-gw) .hero__facts li{min-width:0}
:where(.md-gw) .hero__facts li > b{white-space:nowrap}

/* Hero: ein Bild (Heft + Tablet wie im PDF) statt Monitor + Tablet */
:where(.md-gw) .hero__devices .dev-mon.dev-combo{width:min(86%,430px);padding-bottom:0;margin-inline:auto}
@media (max-width:899px){:where(.md-gw) .hero__devices .dev-mon.dev-combo{width:min(74%,360px)}}

/* Porträt: Organ-Hinweis als Band, Zielgruppe als Chips */
:where(.md-gw) .organ{margin:0 0 1.1rem;display:flex}
:where(.md-gw) .organ span{display:inline-block;background:var(--accent-soft);color:#2F5575;border-left:4px solid var(--accent);
  padding:.45rem .85rem;font-weight:600;font-size:.98rem;line-height:1.3}
:where(.md-gw) .chips--target li{background:#fff;border-color:#C3D3E2;color:#1F3346}
:where(.md-gw) #portraet .dl dd strong{color:var(--accent-dark)}

/* Termine: 6 Ausgaben mit je zwei Daten; darunter Schwerpunkte + Anzeigenschluss nebeneinander */
:where(.md-gw) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-gw) .issue dl{font-size:.97rem}
:where(.md-gw) .topics-row{display:grid;gap:1rem;margin-top:1.5rem}
@media (min-width:820px){:where(.md-gw) .topics-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}
:where(.md-gw) .topics{border-left-color:var(--accent)}
:where(.md-gw) .topics li::before{background:var(--accent)}
:where(.md-gw) .topics p{margin:0;font-size:.96rem}
:where(.md-gw) .topics p + ul{margin-top:.7rem}
:where(.md-gw) .topics--key{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);display:flex;flex-direction:column;justify-content:center}
:where(.md-gw) .topics--key h3{color:var(--accent-ink);margin-bottom:.2rem}
:where(.md-gw) .topics--key p{color:var(--accent-ink)}
:where(.md-gw) .topics--key .topics__big{font-size:clamp(2rem,1.5rem + 2vw,2.8rem);font-weight:300;line-height:1.05;margin:.1rem 0 .4rem}

/* Preise: Tabelle + Seitenleiste nebeneinander (3 Datenspalten passen daneben) */
:where(.md-gw) .preise-grid{display:grid;gap:1.5rem 2rem;align-items:start}
@media (min-width:960px){:where(.md-gw) .preise-grid{grid-template-columns:minmax(0,1fr) 290px}}
:where(.md-gw) #preise table.price{min-width:0}
:where(.md-gw) #preise .aside{background:var(--accent-dark)}
:where(.md-gw) table.price .thumb{width:84px}
:where(.md-gw) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-gw) table.price th[scope="row"]{white-space:nowrap}
:where(.md-gw) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-gw) table.price .num{white-space:normal}
  :where(.md-gw) table.price th[scope="row"]{white-space:normal}
  :where(.md-gw) table.price--print thead th{white-space:normal}
  :where(.md-gw) #preise table.price .thumb{grid-row:span 4}
}
:where(.md-gw) .staffel{align-items:start}
:where(.md-gw) #konditionen .dl__row:first-child{padding-top:0}

@media print{
  :where(.md-gw) .topics--key,:where(.md-gw) .organ span,:where(.md-gw) #preise .aside{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* keine Inhaltsseite: Porträt direkt unter der Sprungnavigation (sonst steht sie allein auf Seite 2) */
  :where(.md-gw) #portraet{break-before:avoid;padding-top:0}
  :where(.md-gw) .brand--logo img{width:92mm}
  :where(.md-gw) .hero__devices .dev-mon.dev-combo{width:70mm}
  /* 12 Ausgaben im Druck 4-spaltig (3 Zeilen), Kaesten darunter nebeneinander */
  :where(.md-gw) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-gw) #termine .issue{padding:2mm 3mm}
  :where(.md-gw) #termine .issue dt,:where(.md-gw) #termine .issue dd{font-size:8.4pt}
  :where(.md-gw) #termine .issue__no{margin-bottom:1mm}
  :where(.md-gw) .topics-row{grid-template-columns:2fr 1fr;gap:4mm;margin-top:4mm}
  :where(.md-gw) .topics{padding:3.5mm 4.5mm}
  :where(.md-gw) .topics h3{font-size:10.5pt;margin-bottom:1.5mm}
  :where(.md-gw) .topics p{font-size:9pt}
  :where(.md-gw) .topics--cols ul{columns:2;column-gap:6mm}
  :where(.md-gw) .topics li{font-size:9pt;line-height:1.3;margin-bottom:1mm}
  :where(.md-gw) .topics--key .topics__big{font-size:22pt}
  :where(.md-gw) .preise-grid{grid-template-columns:minmax(0,1fr) 62mm;gap:6mm}
  :where(.md-gw) #preise .aside{padding:4mm 5mm;font-size:8.6pt;line-height:1.35}
  :where(.md-gw) table.price .thumb{width:16mm}
  :where(.md-gw) #preise table.price td,:where(.md-gw) #preise table.price th[scope="row"]{padding:2mm 2.5mm}
  :where(.md-gw) #portraet .block p,:where(.md-gw) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-gw) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-gw) #portraet .stack{gap:4mm}
  :where(.md-gw) #portraet .dl__row{grid-template-columns:34mm 1fr;padding-top:1.1mm;padding-bottom:1.1mm}
  :where(.md-gw) #portraet dd{line-height:1.3}
  :where(.md-gw) .chips li{font-size:8.4pt;padding:.6mm 2mm}
  :where(.md-gw) .organ{margin-bottom:2.5mm}
  :where(.md-gw) .organ span{font-size:9.4pt;padding:1.2mm 3mm}
  :where(.md-gw) #konditionen p,:where(.md-gw) #konditionen dd{font-size:9pt;line-height:1.35}
  :where(.md-gw) #konditionen .dl__row{grid-template-columns:38mm 1fr}
  :where(.md-gw) p[style]{font-size:9pt!important}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-gw) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-gw) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Porträt: Zielgruppe rechts unter den Eckdaten */
:where(.md-gw) .zielgruppe{margin-top:1.75rem}
@media print{:where(.md-gw) .zielgruppe{margin-top:4mm}}

/* lange Titel-Domain darf mobil umbrechen */
:where(.md-gw) .url,:where(.md-gw) .url a,:where(.md-gw) #kontakt a.url{overflow-wrap:anywhere}

/* Preis-Seitenleiste: Einfuehrungspreise hervorgehoben */
:where(.md-gw) .aside__hl{color:#fff!important;font-weight:600;border-left:3px solid #9FBBD3;padding-left:.6rem}
:where(.md-gw) .intro-hl{display:inline-block;background:var(--accent);color:var(--accent-ink);font-weight:600;padding:.35rem .8rem;margin:0 0 1.5rem}
:where(.md-gw) table.price .thumb{vertical-align:middle}

/* Werbemittel in den Farben des Print-PDF (Skizzen in den Online-Tabellen) */
:where(.md-gw) .wf--sky .wf__ad{background:#F8AA0C}
:where(.md-gw) .wf--rect .wf__ad{background:#79B82C}
:where(.md-gw) .wf--btn .wf__ad{background:#E6D200}
:where(.md-gw) .wf--lead .wf__ad{background:#EA5B0B}
:where(.md-gw) .wf--video .wf__ad{position:absolute;left:24%;right:24%;top:30%;height:30%;background:#82CEE8}
:where(.md-gw) .wf--video .wf__ad::after{content:"";position:absolute;left:42%;top:22%;border-left:7px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}

/* Formate online: Website-Mockup breiter als der Infodienst */
@media (min-width:900px){:where(.md-gw) .grid2--online{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}}
:where(.md-gw) .grid2--online .grid2__fig img{max-height:460px;width:auto;max-width:100%}
:where(.md-gw) #website .media img{max-width:100%;height:auto}

@media print{
  :where(.md-gw) .intro-hl,:where(.md-gw) .wf__ad{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-gw) .intro-hl{margin-bottom:3mm;font-size:9pt;padding:1mm 3mm}
  :where(.md-gw) #online-preise .sub{margin-top:3mm!important}
  :where(.md-gw) #online-preise table.price td,:where(.md-gw) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-gw) #online-preise .wf{max-width:20mm}
  :where(.md-gw) .grid2--online{grid-template-columns:1.55fr 1fr}
  /* Porträt: Zielgruppe muss mit auf die Seite (rechte Spalte ist lang) */
  :where(.md-gw) #portraet .block p{font-size:8.8pt;line-height:1.32;margin-bottom:1mm}
  :where(.md-gw) #portraet .stack{gap:3mm}
  :where(.md-gw) #portraet .chips{gap:1mm}
  :where(.md-gw) #portraet .chips li{font-size:7.8pt;padding:.4mm 1.6mm}
  :where(.md-gw) #portraet .organ{margin-bottom:2mm}
  :where(.md-gw) .grid2--online .grid2__fig img{max-height:105mm}
  :where(.md-gw) #website .media img{max-height:80mm;width:auto}
  :where(.md-gw) #preise table.price td,:where(.md-gw) #preise table.price th[scope="row"]{padding:1.2mm 2.5mm}
  :where(.md-gw) #preise .fmt{width:6mm;height:8.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Immissionsschutz
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Hellblau/Petrol (aus dem Print-PDF),
   Titel-Logo als SVG, Info-Blasen petrol, Termine mit Themenkaesten,
   Preistabelle mit Titelseite und zwei Preisspalten, Doppel-Format-
   skizzen, Sonderplatzierungen, Kombi-Seite und deren Druckregeln.
   ===================================================================== */
:root:where(.md-ims){
  --accent:#BEE4FA;        /* Hellblau der Flaechen im PDF (Sticker, Kreis Meta-Informationen) */
  --accent-ink:#004F9F;    /* Schrift auf Hellblau, wie im PDF */
  --accent-text:#0086DB;   /* Schrift auf der Inhaltsseite (PDF: #71CBF4, fuer Lesbarkeit abgedunkelt) */
  --accent-soft:#E8F3FC;   /* helle Tonflaeche */
  --title-navy:#003A56;    /* Titel-Schriftzug, Info-Blasen Dateiformate */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-ims) .brand--logo img{display:block;width:clamp(260px,20rem + 6vw,460px);max-width:100%;height:auto}

/* Hero-Kennzahlen: "vierteljährlich" ist laenger als die Kachel -> etwas kleiner, nie ueberlaufen */
:where(.md-ims) .hero__facts li{min-width:0}
:where(.md-ims) .hero__facts li:first-child > b{font-size:.98rem;letter-spacing:-.01em}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben hellblau wie im PDF */
:where(.md-ims) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-ims) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-ims) .track__sub--accent a:hover,:where(.md-ims) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-ims) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-ims) .track li .key--none{visibility:hidden}

/* Split-Bar: Anteil kommt aus dem HTML (style="flex-basis:..."), nicht aus dem CSS */
:where(.md-ims) .split-bar .in{flex:0 0 auto}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-ims) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-ims) .sticker--accent sup{color:inherit}
:where(.md-ims) .wf__ad{background:#71CBF4}
:where(.md-ims) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-ims) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": petrol mit weisser Schrift wie im PDF */
:where(.md-ims) .bubble{background:var(--title-navy);color:#fff}
:where(.md-ims) .bubble b{color:#fff}
:where(.md-ims) .bubble--avoid{background:var(--title-navy);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; Themenfelder und Messe/Ausstellung
   gelten fuer alle Ausgaben (Kaesten .topics darunter) */
:where(.md-ims) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-ims) .topics + .topics{margin-top:1rem}
:where(.md-ims) .topics p{margin:0;font-size:.96rem}
:where(.md-ims) .topics p + ul{margin-top:.6rem}

/* Preistabelle (Titelseite, s/w und 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-ims) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-ims) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-ims) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-ims) .fmt--cover{background:linear-gradient(160deg,#DDEAF6,#fff)}
:where(.md-ims) .fmt--cover i{inset:3px 3px auto 3px;height:58%;background:#71CBF4;border-color:#0086DB}
:where(.md-ims) table.price .thumb{width:92px}
:where(.md-ims) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-ims) table.price th[scope="row"]{white-space:nowrap}
:where(.md-ims) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-ims) table.price .num{white-space:normal}
  :where(.md-ims) table.price th[scope="row"]{white-space:normal}
  :where(.md-ims) table.price td .v{text-align:right}
  :where(.md-ims) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-ims) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-ims) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-ims) .preise-extra .sticker{margin:0 auto}
:where(.md-ims) .staffel{align-items:start}

/* Sonderplatzierungen: Aufmacher "Titel + Banner" (blaue Flaeche im PDF), Advertorial */
:where(.md-ims) .promos{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:820px){:where(.md-ims) .promos{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-ims) .promo > div{min-width:0}
:where(.md-ims) .promo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.25rem;align-items:start;
  background:linear-gradient(158deg,#EEF5FC,#E1ECF7);padding:clamp(1.1rem,3vw,1.5rem)}
:where(.md-ims) .promo h3{font-size:1.18rem;color:var(--blue);margin-bottom:.55rem}
:where(.md-ims) .promo p{font-size:.95rem;margin-bottom:.45rem}
:where(.md-ims) .promo .price-tag{font-weight:700;color:var(--blue-900)}
:where(.md-ims) .promo img{width:clamp(110px,14vw,160px);filter:drop-shadow(0 10px 16px rgba(0,52,105,.2))}
:where(.md-ims) .promo__media{display:flex;flex-direction:column;align-items:center;gap:.5rem}
@media (max-width:480px){:where(.md-ims) .promo{grid-template-columns:minmax(0,1fr)}:where(.md-ims) .promo__media{align-items:flex-start}}
:where(.md-ims) .promo--lead{background:var(--blue);color:#EAF4FC;align-items:center;grid-template-columns:minmax(0,1fr)}
:where(.md-ims) .promo--lead h3{color:#fff;font-size:1.35rem}
:where(.md-ims) .promo--lead .price-tag{color:#fff}
:where(.md-ims) .promo--lead p{color:#D6E8F8;max-width:44em}
:where(.md-ims) .promo--lead a{color:#fff}
:where(.md-ims) .promo__media--pair{flex-direction:row;align-items:flex-end;justify-content:center;gap:.75rem}
:where(.md-ims) .promo--lead .promo__media--pair img:first-child{width:clamp(120px,13vw,170px)}
:where(.md-ims) .promo--lead .promo__media--pair img:last-child{width:clamp(150px,17vw,230px)}

/* Die Umwelt zum Immissionsschutz (PDF-Seite 17) */
:where(.md-ims) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-ims) .kombi__claim span{color:var(--cyan-text)}
:where(.md-ims) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-ims) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){:where(.md-ims) .kombi{grid-template-columns:repeat(4,minmax(0,1fr))}}
:where(.md-ims) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid #71CBF4;padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-/Tablet-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar (Korrektur 14.10.2026) */
:where(.md-ims) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-ims) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-ims) .kombi__item p{margin:0;font-size:.95rem;overflow-wrap:anywhere}

@media print{
  :where(.md-ims) .sticker--accent,:where(.md-ims) .bubble,:where(.md-ims) .metabox--accent ul,:where(.md-ims) .promo,:where(.md-ims) .promo--lead,:where(.md-ims) .kombi__item,
  :where(.md-ims) .fmt--cover,:where(.md-ims) .fmt--cover i{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-ims) .brand--logo img{width:85mm}
  :where(.md-ims) .topics{padding:3mm 4mm}
  :where(.md-ims) .topics + .topics{margin-top:3mm}
  :where(.md-ims) table.price .thumb{width:20mm}
  :where(.md-ims) #preise .fmt{width:5mm;height:7mm}
  :where(.md-ims) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-ims) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-ims) #preise .fmt--cover i{inset:1px 1px auto 1px}
  :where(.md-ims) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-ims) #preise .sub{margin-bottom:1mm}
  :where(.md-ims) table.price .sub{font-size:7.6pt}
  :where(.md-ims) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-ims) #preise table.price td,:where(.md-ims) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-ims) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-ims) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-ims) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-ims) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-ims) #preise .aside p{margin-bottom:1mm}
  :where(.md-ims) #konditionen .stack,:where(.md-ims) #online-konditionen .stack{gap:4mm}
  :where(.md-ims) #konditionen .block+.block{margin-top:0}
  :where(.md-ims) #konditionen table.mini th,:where(.md-ims) #konditionen table.mini td{padding:.7mm 1.5mm}
  :where(.md-ims) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-ims) #konditionen p,:where(.md-ims) #konditionen dd{font-size:9pt;line-height:1.35}
  :where(.md-ims) .metabox--accent{padding:5mm}
  :where(.md-ims) .promos{grid-template-columns:1.4fr 1fr;gap:3.5mm}
  :where(.md-ims) .promo{padding:3.5mm;break-inside:avoid}
  :where(.md-ims) .promo p{font-size:8.6pt;margin-bottom:1mm}
  :where(.md-ims) .promo h3{font-size:10.5pt;margin-bottom:1mm}
  :where(.md-ims) .promo img{width:28mm}
  :where(.md-ims) .promo--lead .promo__media--pair img:first-child{width:34mm}
  :where(.md-ims) .promo--lead .promo__media--pair img:last-child{width:48mm}
  :where(.md-ims) #online-preise table.price td,:where(.md-ims) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-ims) #online-preise .wf{max-width:20mm}
  :where(.md-ims) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-ims) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-ims) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-ims) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-ims) #portraet .block p,:where(.md-ims) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-ims) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-ims) #portraet .stack{gap:4.5mm}
  :where(.md-ims) .kombi{grid-template-columns:repeat(4,1fr);gap:4mm}
  :where(.md-ims) .kombi__item{padding:3mm;break-inside:avoid}
  :where(.md-ims) .kombi__item img{max-height:42mm;width:auto}
  :where(.md-ims) .kombi__item p{font-size:8.4pt}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-ims) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-ims) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-ims) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: INTERNE REVISIONdigital (reines Online-Produkt)
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Weil es keine Zeitschrift gibt (keine Termine, keine
   Print-Preisliste, keine Druckunterlagen), ist die Seite als Produkt-
   Mediadaten einer Datenbank gestaltet: Logo-Blau als Akzent und als
   Farbe der Werbemittel und des Meta-Kreises (wie im PDF), ESV-Blau als
   Kante, Grau "digital" nur im Logo, Kennzahlen im Hero (3 Kacheln),
   Themen als Kartenraster (Einleitung + eJournal + 4 Inhaltskarten),
   schematische Platzierungsskizze der Website-Werbeformen, Infodienst +
   Newsletter, Meta-Kreis wie im PDF, Kontaktfoto, eigene Druckregeln
   (11 Seiten wie das PDF, keine Kombi-Seite).
   Aufbau und Muster uebernommen aus den Online-Mediadaten eines anderen
   Datenbank-Titels (gleicher PDF-Aufbau).
   ===================================================================== */
:root:where(.md-ird){
  --accent:#273477;        /* Logo-Blau "INTERNE REVISION" (PDF #273477); weiss darauf 11,4:1 */
  --accent-dark:#1B2456;   /* dunkleres Blau fuer Hover und kleine Schrift auf Tonflaeche */
  --accent-soft:#EEF1F9;   /* helle Tonflaeche Logo-Blau */
  --accent-line:#C9D1EA;
  --edge:#004F9F;          /* ESV-Blau der PDF-Ueberschriften: Kanten von Karten und Kasten */
  --digital:#9D9C9C;       /* Grau "digital" im Logo (2,7:1 auf Weiss: nur dekorativ) */
  --digital-text:#5E5D5D;  /* Grau als Schrift auf Tonflaeche (6,1:1) */
  --meta-bg:#DCE6F1;       /* Kasten Meta-Informationen: helles Blaugrau wie im PDF */
  --ad:#273477;            /* Werbemittel in den Skizzen Logo-Blau wie im PDF */
  --job:#E1DFED;           /* Hinweiskreis Jobware (PDF #E1DFED), Schrift #273477 (9,1:1) */
}

/* ---------- Titel-Logo (Vektor aus dem PDF, zweizeilig) + Unterzeile ---------- */
:where(.md-ird) .brand--logo img{display:block;width:clamp(200px,10rem + 6vw,320px);max-width:100%;height:auto}
:where(.md-ird) .hero__claim{margin:.75rem 0 0;font-size:clamp(1rem,.9rem + .45vw,1.24rem);font-weight:600;line-height:1.32;
  color:#3B4148;max-width:25em;padding-left:.8rem;border-left:3px solid var(--accent)}

/* Hero-Kennzahlen des Wissenspools: Ziffern im Logo-Blau, nie ueberlaufen; 3 Kacheln:
   die dritte bei 2 Spalten ueber die volle Breite (kein Loch) */
:where(.md-ird) .hero__facts li{min-width:0}
:where(.md-ird) .hero__facts li > b{white-space:nowrap;color:var(--accent);font-size:1.32rem}
:where(.md-ird) .hero__facts li > span{line-height:1.3}
@media (max-width:599px){:where(.md-ird) .hero__facts li:last-child:nth-child(odd){grid-column:1/-1}}
:where(.md-ird) .hero .btn:not(.btn--ghost){background:var(--accent);border-color:var(--accent)}
:where(.md-ird) .hero .btn:not(.btn--ghost):hover{background:var(--accent-dark);border-color:var(--accent-dark)}

/* ---------- Inhalt (#ueberblick): zwei Kanaele Website / Newsletter ---------- */
:where(.md-ird) #ueberblick .sec__intro{max-width:70ch}
:where(.md-ird) .track{position:relative;overflow:hidden}
:where(.md-ird) .track--soft{border-top-color:var(--accent)}
:where(.md-ird) .track__eyebrow{margin:0 0 .2rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
:where(.md-ird) .track h3{font-size:1.08rem;margin-bottom:1rem;overflow-wrap:anywhere}
:where(.md-ird) .track h3 a{color:var(--blue-900);text-decoration:none}
:where(.md-ird) .track h3 a:hover,:where(.md-ird) .track h3 a:focus-visible{text-decoration:underline}
:where(.md-ird) .track li .key{background:transparent;color:var(--accent);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-ird) .track li .key--none{visibility:hidden}

/* ---------- Porträt ---------- */
:where(.md-ird) .portraet__fig{margin:0}
:where(.md-ird) .portraet__fig img{display:block;width:100%;max-width:520px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
:where(.md-ird) .chips--accent li{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-dark);font-weight:600}

/* ---------- Themen (PDF-Seite 4): Einleitung als blaue Karte (2 Felder breit) + eJournal ZIR (2 Felder)
   + 4 nummerierte Inhaltskarten = 8 Felder, feste Spaltenzahl 1 / 2 / 4 -> nie eine Luecke ---------- */
:where(.md-ird) .themen{display:grid;gap:1rem;counter-reset:thema;grid-template-columns:minmax(0,1fr)}
@media (min-width:541px){:where(.md-ird) .themen{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:980px){:where(.md-ird) .themen{grid-template-columns:repeat(4,minmax(0,1fr))}}
:where(.md-ird) .themen__lead,:where(.md-ird) .thema--zs{grid-column:span 2}
:where(.md-ird) .themen__lead{background:linear-gradient(140deg,var(--accent) 0%,#1A2766 100%);color:#fff;
  padding:1.4rem 1.5rem;display:flex;flex-direction:column;justify-content:center;font-size:1.02rem;line-height:1.5}
:where(.md-ird) .themen__lead p{margin:0}
:where(.md-ird) .themen__lead p + p{margin-top:.7rem}
:where(.md-ird) .themen__lead strong{color:#fff}
@media (max-width:540px){:where(.md-ird) .themen__lead,:where(.md-ird) .thema--zs{grid-column:auto}}
:where(.md-ird) .thema{counter-increment:thema;position:relative;background:#fff;border:1px solid var(--line);
  border-top:3px solid var(--accent);padding:1.05rem 1.15rem 1.1rem;min-width:0;
  transition:box-shadow .18s,transform .18s}
:where(.md-ird) .thema:hover{box-shadow:0 10px 24px rgba(0,52,105,.10);transform:translateY(-2px)}
:where(.md-ird) .thema::before{content:counter(thema,decimal-leading-zero);position:absolute;right:.9rem;top:.55rem;
  font-size:1.6rem;font-weight:300;line-height:1;color:#B5C1CD}
:where(.md-ird) .thema h3{font-size:1rem;color:var(--accent);margin:0 2.4rem .45rem 0;line-height:1.25}
:where(.md-ird) .thema p{margin:0;font-size:.93rem;color:#2A333D}
/* eJournal ZIR: Kuerzel gross, ohne Nummer, ESV-blaue Kante */
:where(.md-ird) .thema--zs{counter-increment:none;border-top-color:var(--edge);background:var(--accent-soft)}
:where(.md-ird) .thema--zs::before{content:none}
:where(.md-ird) .thema__eyebrow{margin:0 0 .15rem!important;font-size:.74rem!important;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--digital-text)!important}
:where(.md-ird) .thema--zs h3{font-size:1.5rem;margin:0 0 .25rem;letter-spacing:.01em}
:where(.md-ird) .thema p strong{color:var(--accent-dark)}
@media (prefers-reduced-motion:reduce){:where(.md-ird) .thema{transition:none}:where(.md-ird) .thema:hover{transform:none}}

/* ---------- Werbeform-Skizzen: Werbemittel Logo-Blau wie im PDF ---------- */
:where(.md-ird) .wf__ad{background:var(--ad)}
:where(.md-ird) table.price th[scope="row"]{white-space:nowrap}
@media (max-width:719px){:where(.md-ird) table.price .num{white-space:normal}:where(.md-ird) table.price th[scope="row"]{white-space:normal}
  :where(.md-ird) table.price td{overflow-wrap:anywhere;min-width:0}
  :where(.md-ird) table.price td::before{flex:none;overflow-wrap:normal}
  :where(.md-ird) table.price td[data-label="Platzierung"]{text-align:right}}

/* ---------- Platzierungsskizze der Website (schematisch) ---------- */
:where(.md-ird) .adsmap{margin:2.25rem 0 0;display:grid;gap:1.5rem 2.5rem;align-items:center}
@media (min-width:860px){:where(.md-ird) .adsmap{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
:where(.md-ird) .adsmap__screen{border:1px solid #C6D5E3;background:#fff;box-shadow:0 18px 36px rgba(0,52,105,.12);
  border-radius:6px 6px 0 0;overflow:hidden;max-width:560px;width:100%;margin-inline:auto}
:where(.md-ird) .adsmap__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .9rem;
  border-bottom:1px solid #E4EAF0;background:linear-gradient(90deg,#fff 55%,#EEF1F9)}
:where(.md-ird) .adsmap__logo{font-weight:700;font-size:.82rem;letter-spacing:.01em;color:var(--accent)}
:where(.md-ird) .adsmap__logo i{font-style:normal;font-weight:400;color:#767676}
:where(.md-ird) .adsmap__search{width:32%;height:.85rem;border:1px solid #B9C2DE;border-radius:2px}
:where(.md-ird) .adsmap__nav{height:.75rem;margin:.45rem .9rem;background:repeating-linear-gradient(90deg,#DCE3EA 0 13%,transparent 13% 15%)}
:where(.md-ird) .adsmap__body{position:relative;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:.8rem;
  padding:.6rem 2.6rem 1rem .9rem}
:where(.md-ird) .adsmap__main,:where(.md-ird) .adsmap__side{display:grid;gap:.55rem;align-content:start}
:where(.md-ird) .adsmap__lines{display:block;height:2.4rem;background:repeating-linear-gradient(#E6EBF0 0 4px,transparent 4px 9px)}
:where(.md-ird) .adsmap__lines--short{height:1.3rem;width:70%}
:where(.md-ird) .adsmap__lines--side{height:3.2rem}
:where(.md-ird) .adsmap__ad{position:relative;display:grid;place-items:center;background:var(--ad);color:#fff}
:where(.md-ird) .adsmap__ad b{display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#fff;
  color:var(--accent);font-size:.78rem;font-weight:700}
:where(.md-ird) .adsmap__ad--btn{width:34%;height:1.9rem}
:where(.md-ird) .adsmap__ad--rect{height:3.9rem;width:82%}
:where(.md-ird) .adsmap__ad--sky{position:absolute;right:.55rem;top:.6rem;bottom:1rem;width:1.55rem;align-items:start;padding-top:.4rem}
:where(.md-ird) .adsmap__ad--sky b{width:1.15rem;height:1.15rem;font-size:.7rem}
:where(.md-ird) .adsmap__legend{list-style:none;margin:0;padding:0}
:where(.md-ird) .adsmap__legend li{display:flex;gap:.7rem;align-items:center;padding:.45rem 0;border-bottom:1px dotted var(--hair)}
:where(.md-ird) .adsmap__legend li:last-child{border-bottom:0}
:where(.md-ird) .adsmap__legend b{flex:none;display:grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;
  background:var(--accent);color:#fff;font-size:.8rem}
:where(.md-ird) .adsmap figcaption .notes{margin-top:.6rem}

/* ---------- Konditionen Website ---------- */
:where(.md-ird) .konditionen__fig img{display:block;width:100%;max-width:470px;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
:where(.md-ird) .kombirabatt{background:#fff;border:1px solid var(--line);border-left:4px solid var(--edge);padding:.9rem 1.1rem}
:where(.md-ird) .kombirabatt p{margin:0}
:where(.md-ird) .kombirabatt b{color:var(--accent)}
@media (min-width:900px){:where(.md-ird) #website-konditionen .grid2{align-items:center}}
:where(.md-ird) table.mini td:last-child{color:var(--accent-dark)}

/* ---------- Rubrik Stellenanzeigen (PDF-Seite 7): Hinweiskreis Jobware als Text ---------- */
:where(.md-ird) table.price--job th[scope="row"]{white-space:normal;min-width:9rem}
@media screen and (min-width:900px){:where(.md-ird) #stellenanzeigen .tablewrap{max-width:860px}}
:where(.md-ird) .job{margin-top:2.25rem}
:where(.md-ird) .job__fig{position:relative}
:where(.md-ird) .job__fig img{display:block;width:100%;max-width:560px;height:auto;margin-inline:auto}
:where(.md-ird) .job__sticker{background:var(--job);color:var(--accent);width:min(100%,180px);font-size:.98rem;font-weight:600;padding:1.2rem;margin:0 auto 1rem}
:where(.md-ird) .job__sticker b{font-weight:700}
@media (min-width:900px){:where(.md-ird) .job__sticker{position:absolute;right:0;top:-1.5rem;z-index:1;margin:0}}
@media (max-width:719px){:where(.md-ird) table.price--job tbody tr{grid-template-columns:1fr}}

/* ---------- Infodienst und Newsletter ---------- */
:where(.md-ird) #newsletter .grid2__fig img{max-width:400px;width:100%}

/* ---------- Meta-Kreis (PDF-Seite 10): logoblauer Kreis mit weisser Schrift auf blaugrauem Kasten mit Zahnraedern ---------- */
:where(.md-ird) .metabox--accent{position:relative;overflow:hidden;background:var(--meta-bg)}
:where(.md-ird) .metabox--accent h3{position:relative;z-index:1;max-width:19em}
:where(.md-ird) .metabox__gears{position:absolute;right:-18px;top:28%;width:min(46%,210px);height:auto;color:#9CB3CF;opacity:.75}
:where(.md-ird) .metabox--accent ul{position:relative;z-index:1;background:var(--accent);color:#fff;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto 0 0;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.1rem;
  box-shadow:0 14px 30px rgba(39,52,119,.25)}
:where(.md-ird) .metabox--accent li::before{background:#fff}
@media (max-width:520px){:where(.md-ird) .metabox__gears{display:none}:where(.md-ird) .metabox--accent ul{margin:0 auto}}

/* ---------- Kontakt: Foto rund wie im PDF ---------- */
:where(.md-ird) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-ird) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-ird) .foot__person{flex-direction:column}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-ird) .url,:where(.md-ird) .track__sub,:where(.md-ird) .track h3,:where(.md-ird) #kontakt p,:where(.md-ird) #portraet dd{overflow-wrap:anywhere}

@media print{
  :where(.md-ird) .hero__facts li,:where(.md-ird) .track,:where(.md-ird) .chips li,:where(.md-ird) .themen__lead,:where(.md-ird) .thema,:where(.md-ird) .wf__ad,:where(.md-ird) .adsmap__screen,:where(.md-ird) .adsmap__bar,:where(.md-ird) .adsmap__nav,:where(.md-ird) .adsmap__lines,
  :where(.md-ird) .adsmap__ad,:where(.md-ird) .adsmap__ad b,:where(.md-ird) .adsmap__legend b,:where(.md-ird) .metabox--accent,:where(.md-ird) .metabox--accent ul,:where(.md-ird) .metabox__gears,
  :where(.md-ird) .job__sticker,:where(.md-ird) .foot__photo{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-ird) .brand--logo img{width:50mm}
  :where(.md-ird) .hero__claim{font-size:10pt;margin-top:2mm}
  :where(.md-ird) .hero__facts li > b{font-size:12pt}
  :where(.md-ird) .hero .btn:not(.btn--ghost){background:var(--accent)!important}
  :where(.md-ird) #ueberblick .sec__intro{margin-bottom:4mm}
  /* Porträt */
  :where(.md-ird) #portraet .grid2{grid-template-columns:1.1fr 1fr}
  :where(.md-ird) #portraet .block p,:where(.md-ird) #portraet dd{font-size:8.8pt;line-height:1.35}
  :where(.md-ird) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-ird) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm;grid-template-columns:30mm 1fr}
  :where(.md-ird) #portraet .chips li{padding:.6mm 2mm;font-size:7.8pt}
  :where(.md-ird) .portraet__fig img{max-height:52mm;width:auto}
  /* Themen: Einleitung + eJournal + 4 Karten in 4 Spalten */
  :where(.md-ird) .themen{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-ird) .themen__lead{padding:3mm 4mm;font-size:8.8pt;line-height:1.38}
  :where(.md-ird) .thema{padding:2.2mm 3mm;break-inside:avoid}
  :where(.md-ird) .thema::before{font-size:13pt;top:1.5mm;right:2.5mm}
  :where(.md-ird) .thema h3{font-size:9pt;margin-bottom:.8mm}
  :where(.md-ird) .thema p{font-size:8.2pt;line-height:1.3}
  :where(.md-ird) .thema--zs h3{font-size:13pt}
  :where(.md-ird) .thema__eyebrow{font-size:6.8pt!important}
  :where(.md-ird) .thema--zs,:where(.md-ird) .kombirabatt{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-ird) .kombirabatt{padding:2mm 3mm}
  :where(.md-ird) .kombirabatt p{font-size:8.6pt}
  /* Website-Preise mit Skizze auf einer Seite */
  :where(.md-ird) #online-preise table.price td,:where(.md-ird) #online-preise table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-ird) #online-preise .wf{max-width:20mm}
  :where(.md-ird) .adsmap{grid-template-columns:1fr 1fr;gap:8mm;margin-top:4mm;break-inside:avoid}
  :where(.md-ird) .adsmap__screen{max-width:92mm;box-shadow:none}
  :where(.md-ird) .adsmap__legend li{font-size:8.6pt;padding:1mm 0}
  :where(.md-ird) #website-konditionen .stack{gap:4mm}
  :where(.md-ird) #website-konditionen .block+.block{margin-top:0}
  :where(.md-ird) #website-konditionen p[style],:where(.md-ird) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-ird) #website-konditionen table.mini th,:where(.md-ird) #website-konditionen table.mini td,
  :where(.md-ird) #online-konditionen table.mini th,:where(.md-ird) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-ird) .konditionen__fig img{max-height:80mm;width:auto}
  /* Stellenanzeigen */
  :where(.md-ird) #stellenanzeigen table.price td,:where(.md-ird) #stellenanzeigen table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-ird) #stellenanzeigen .dl__row{grid-template-columns:32mm 1fr}
  :where(.md-ird) #stellenanzeigen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-ird) .job{margin-top:4mm;gap:6mm}
  :where(.md-ird) .job__fig img{max-height:66mm;width:auto}
  :where(.md-ird) .job__sticker{width:30mm;padding:2.5mm;font-size:8pt}
  /* Infodienst und Newsletter */
  :where(.md-ird) #newsletter .grid2__fig img{max-height:100mm;width:auto}
  :where(.md-ird) #newsletter p{font-size:8.8pt;line-height:1.35}
  /* Konditionen Newsletter */
  :where(.md-ird) #online-konditionen .dl__row{grid-template-columns:30mm 1fr;padding:1.2mm 0}
  :where(.md-ird) #online-konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-ird) .metabox--accent{padding:5mm}
  :where(.md-ird) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-ird) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-ird) #kontakt{break-before:page}
  :where(.md-ird) .foot__photo{width:18mm;height:18mm}
  :where(.md-ird) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-ird) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: KRS Krankenhaus-Rechtsprechung
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Blau/Mittelblau (aus dem Print-PDF), Titel-Logo
   als SVG mit Unterzeile, Info-Blasen mittelblau, Termine mit Themenkasten,
   Preistabelle mit zwei Preisspalten und Doppel-Formatskizzen,
   Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-krs){
  --accent:#317AB0;        /* Mittelblau der Flaechen im PDF (Sticker, Info-Blasen, Kreis Meta-Informationen) */
  --accent-ink:#FFFFFF;    /* Schrift auf Mittelblau: PDF hellblau #93D4EF (2,8:1) -> weiss (4,6:1) */
  --accent-text:#005B97;   /* Schrift auf der Inhaltsseite, wie im PDF (7,1:1) */
  --accent-soft:#E8F1F8;   /* helle Tonflaeche */
  --title-ink:#005B97;     /* Titel-Schriftzug "KRS" (Logo) und Unterzeile */
  --ad:#F1B707;            /* Werbemittel in den Online-Skizzen, wie im PDF */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-krs) .brand--logo img{display:block;width:clamp(150px,7rem + 5vw,240px);max-width:100%;height:auto}
:where(.md-krs) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;line-height:1.3;color:var(--title-ink);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-krs) .hero__facts li{min-width:0}
:where(.md-krs) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben blau wie im PDF */
:where(.md-krs) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-krs) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-krs) .track__sub--accent a:hover,:where(.md-krs) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-krs) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-krs) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-krs) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(0,79,159,.25)}
:where(.md-krs) .sticker--accent sup{color:inherit}
:where(.md-krs) .wf__ad{background:var(--ad)}
:where(.md-krs) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-krs) .metabox--accent li::before{background:#B3DFF4}
/* Info-Blasen "Dateiformate und Farben": mittelblau wie im PDF, Schrift weiss (Kontrast) */
:where(.md-krs) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-krs) .bubble b{color:var(--accent-ink)}
:where(.md-krs) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter, wie KSI) */
:where(.md-krs) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-krs) .topics + .topics{margin-top:1rem}
:where(.md-krs) .topics p{margin:0;font-size:.96rem}
:where(.md-krs) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-krs) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-krs) .topics--cols li{break-inside:avoid}}
:where(.md-krs) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, 2c, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-krs) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-krs) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-krs) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-krs) table.price .thumb{width:92px}
:where(.md-krs) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-krs) table.price th[scope="row"]{white-space:nowrap}
:where(.md-krs) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-krs) table.price .num{white-space:normal}
  :where(.md-krs) table.price th[scope="row"]{white-space:normal}
  :where(.md-krs) table.price td .v{text-align:right}
  :where(.md-krs) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-krs) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-krs) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-krs) .preise-extra .sticker{margin:0 auto}
:where(.md-krs) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-krs) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-krs) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-krs) .foot__person{flex-direction:column}}

@media print{
  :where(.md-krs) .sticker--accent,:where(.md-krs) .bubble,:where(.md-krs) .metabox--accent ul,:where(.md-krs) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-krs) .brand--logo img{width:34mm}
  :where(.md-krs) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-krs) .topics{padding:3mm 4mm}
  :where(.md-krs) .topics + .topics{margin-top:3mm}
  /* Ausgaben im Druck 3-spaltig (6 Ausgaben = 2 Zeilen), Themen zweispaltig darunter */
  :where(.md-krs) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}
  :where(.md-krs) #termine .issue{padding:2mm 3mm}
  :where(.md-krs) #termine .issue dt,:where(.md-krs) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-krs) #termine .issue__no{margin-bottom:1mm}
  :where(.md-krs) #termine .deadline{margin-bottom:2mm}
  :where(.md-krs) .topics-row{margin-top:4mm}
  /* 6 Themen: im Druck dreispaltig (2 Zeilen), damit der Kasten auch mit allen 6 Ausgaben auf die Termin-Seite passt */
  :where(.md-krs) .topics--cols ul{columns:3;column-gap:6mm}
  :where(.md-krs) .topics--cols li{padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-krs) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-krs) .topics p{font-size:8.8pt}
  :where(.md-krs) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-krs) table.price .thumb{width:20mm}
  :where(.md-krs) #preise .fmt{width:5mm;height:7mm}
  :where(.md-krs) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-krs) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-krs) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-krs) #preise .sub{margin-bottom:1mm}
  :where(.md-krs) table.price .sub{font-size:7.6pt}
  :where(.md-krs) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-krs) #preise table.price td,:where(.md-krs) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-krs) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-krs) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-krs) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-krs) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-krs) #preise .aside p{margin-bottom:1mm}
  :where(.md-krs) #konditionen .stack,:where(.md-krs) #online-konditionen .stack{gap:3.5mm}
  :where(.md-krs) #konditionen .block+.block{margin-top:0}
  :where(.md-krs) #konditionen table.mini th,:where(.md-krs) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-krs) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-krs) #konditionen p,:where(.md-krs) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-krs) .metabox--accent{padding:5mm}
  :where(.md-krs) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-krs) #online-preise table.price td,:where(.md-krs) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-krs) #online-preise .wf{max-width:20mm}
  :where(.md-krs) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-krs) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-krs) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-krs) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-krs) #portraet .block p,:where(.md-krs) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-krs) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-krs) #portraet .stack{gap:4.5mm}
  :where(.md-krs) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-krs) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-krs) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Infodienst (nur ein Bild): zweite Spalte mit Hinweis auf die Werbeform */
:where(.md-krs) .nl-hint{background:#fff;border:1px solid var(--line,#DCE6EF);border-radius:14px;padding:1.25rem 1.4rem}
:where(.md-krs) .nl-hint h3{margin:0 0 .5rem;font-size:1.05rem}
:where(.md-krs) .nl-hint p{margin:0 0 .8rem}
:where(.md-krs) .hero__facts li > b{white-space:nowrap}


/* =====================================================================
   TITELSPEZIFISCH: KSI Krisen-, Sanierungs- und Insolvenzberatung
   ---------------------------------------------------------------------
   KSI ist die Vorlage der gemeinsamen Regeln; hier stehen nur ihre
   Abweichungen davon (Logo-Hover, Sticker, Veranstaltungen und Stoerer
   in den Termin-Karten, Kombi-Hinweis) und deren Druckregeln.
   ===================================================================== */
/* Logo beim Hovern sichtbar lassen: sonst setzt a:hover die Farbe auf --blue-900 (= Hintergrund der Kopfleiste) */
:where(.md-ksi) .topbar__logo:hover,:where(.md-ksi) .topbar__logo:focus-visible{color:#fff;opacity:.85}
/* KSI: Sticker groesser und kraeftiger */
:where(.md-ksi) .sticker{font-size:clamp(1.18rem,1.08rem + .35vw,1.36rem);line-height:1.24;
  -webkit-text-stroke:.5px currentColor;   /* kraeftiger als der Schnitt 700, ohne weitere Schriftdatei */
  padding:1.3rem}

/* Veranstaltungen je Ausgabe (Muster S&S) */
:where(.md-ksi) .issue__lbl{display:block;font-size:.78rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--blue);margin-bottom:.15rem}
:where(.md-ksi) .issue__events{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair)}
:where(.md-ksi) .issue__events ul{list-style:none;margin:0;padding:0;font-size:.9rem}
:where(.md-ksi) .issue__events li{padding:.25rem 0;overflow-wrap:anywhere;hyphens:auto}
:where(.md-ksi) .issue__events li + li{margin-top:.2rem}
:where(.md-ksi) .issue__events time{display:block;font-variant-numeric:tabular-nums;font-weight:600;color:var(--blue-900)}
:where(.md-ksi) .issue--past .issue__events time{color:#8B98A5}
:where(.md-ksi) .issue--past .issue__events,:where(.md-ksi) .issue--past .issue__lbl{color:#8B98A5}
:where(.md-ksi) .issue__events span a{color:inherit;text-decoration:underline;text-decoration-color:var(--hair);text-underline-offset:.18em}
:where(.md-ksi) .issue__events span a:hover{color:var(--blue);text-decoration-color:currentColor}
/* Stoerer (z. B. Sonderbeilage) – farbiger Streifen in der Termin-Karte */
:where(.md-ksi) .issue__stoerer{
  margin:1rem 0 .2rem;padding:.55rem .8rem;
  background:linear-gradient(120deg,#00A3F5,#33BBFF);color:#003052;
  font-size:.88rem;line-height:1.35;text-align:center;box-shadow:0 4px 12px rgba(0,64,128,.18);
}
:where(.md-ksi) .issue__stoerer::first-line{font-weight:700;font-size:1.08em;letter-spacing:.01em}
:where(.md-ksi) .issue--past .issue__stoerer{background:#C3CDD7;box-shadow:none}
/* Kombi-Hinweis unter der Preistabelle */
:where(.md-ksi) .kombi-hint{margin:1.1rem 0 0;padding:.75rem 1rem;border-left:4px solid var(--cyan);background:var(--ice-2);color:var(--blue-900);font-size:.95rem}
:where(.md-ksi) .kombi-hint strong{color:var(--blue)}
:where(.md-ksi) .sw-extra{margin:.6rem 0 0;font-weight:600;color:var(--blue-900)}

@media print{
  :where(.md-ksi) .issue__stoerer,:where(.md-ksi) .kombi-hint{
    -webkit-print-color-adjust:exact;print-color-adjust:exact;
  }
  /* KSI: Stoerer und Veranstaltungen machen die Karten hoeher -> 3 Spalten,
     damit Termine und Themen wie bisher auf hoechstens zwei Seiten passen */
  :where(.md-ksi) #termine .issues{grid-template-columns:repeat(3,1fr)}
  :where(.md-ksi) #termine .issue{padding:2.5mm 3mm}
  :where(.md-ksi) .issue__events{margin-top:2mm;padding-top:1.6mm}
  :where(.md-ksi) .issue__events ul{font-size:7.8pt}
  :where(.md-ksi) .issue__events li{padding:.3mm 0}
  :where(.md-ksi) .issue__events li + li{margin-top:.6mm}
  :where(.md-ksi) .issue__stoerer{margin:2.5mm 0 1mm;padding:1.4mm 3mm;font-size:8pt;box-shadow:none}
  :where(.md-ksi) .kombi-hint{margin-top:2.5mm;padding:1.6mm 3mm;font-size:8.4pt}
}


/* =====================================================================
   TITELSPEZIFISCH: KrV Kranken- und Pflegeversicherung
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Blau/Hellblau (aus dem Print-PDF), Titel-Logo
   als SVG mit Unterzeile, Info-Blasen hellblau, Termine mit Themenkasten,
   Preistabelle mit zwei Preisspalten und Doppel-Formatskizzen,
   Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-kv){
  --accent:#8DD1EB;        /* Hellblau der Flaechen im PDF (Sticker, Info-Blasen, Kreis Meta-Informationen) */
  --accent-ink:#004F9F;    /* Schrift auf Hellblau, wie im PDF (4,8:1) */
  --accent-text:#00728F;   /* Schrift auf der Inhaltsseite (PDF: #1FB3D3 auf Weiss, 2,5:1 -> abgedunkelt, 5,5:1) */
  --accent-soft:#E8F6FB;   /* helle Tonflaeche */
  --title-ink:#033878;     /* Titel-Schriftzug "KrV" (Logo) und Unterzeile */
  --ad:#F1B707;            /* Werbemittel in den Online-Skizzen, wie im PDF */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-kv) .brand--logo img{display:block;width:clamp(150px,7rem + 5vw,240px);max-width:100%;height:auto}
:where(.md-kv) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;line-height:1.3;color:var(--title-ink);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-kv) .hero__facts li{min-width:0}
:where(.md-kv) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben hellblau wie im PDF (abgedunkelt) */
:where(.md-kv) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-kv) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-kv) .track__sub--accent a:hover,:where(.md-kv) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-kv) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-kv) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-kv) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-kv) .sticker--accent sup{color:inherit}
:where(.md-kv) .wf__ad{background:var(--ad)}
:where(.md-kv) .metabox--accent ul{background:var(--accent);color:#000;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-kv) .metabox--accent li::before{background:var(--title-ink)}
/* Info-Blasen "Dateiformate und Farben": hellblau mit blauer Schrift wie im PDF */
:where(.md-kv) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-kv) .bubble b{color:var(--accent-ink)}
:where(.md-kv) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter, wie KSI) */
:where(.md-kv) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-kv) .topics + .topics{margin-top:1rem}
:where(.md-kv) .topics p{margin:0;font-size:.96rem}
:where(.md-kv) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-kv) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-kv) .topics--cols li{break-inside:avoid}}
:where(.md-kv) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-kv) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-kv) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-kv) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-kv) table.price .thumb{width:92px}
:where(.md-kv) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-kv) table.price th[scope="row"]{white-space:nowrap}
:where(.md-kv) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-kv) table.price .num{white-space:normal}
  :where(.md-kv) table.price th[scope="row"]{white-space:normal}
  :where(.md-kv) table.price td .v{text-align:right}
  :where(.md-kv) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-kv) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-kv) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-kv) .preise-extra .sticker{margin:0 auto}
:where(.md-kv) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-kv) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-kv) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-kv) .foot__person{flex-direction:column}}

@media print{
  :where(.md-kv) .sticker--accent,:where(.md-kv) .bubble,:where(.md-kv) .metabox--accent ul,:where(.md-kv) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-kv) .brand--logo img{width:34mm}
  :where(.md-kv) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-kv) .topics{padding:3mm 4mm}
  :where(.md-kv) .topics + .topics{margin-top:3mm}
  /* Ausgaben im Druck 3-spaltig (6 Ausgaben = 2 Zeilen), Themen zweispaltig darunter */
  :where(.md-kv) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}
  :where(.md-kv) #termine .issue{padding:2mm 3mm}
  :where(.md-kv) #termine .issue dt,:where(.md-kv) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-kv) #termine .issue__no{margin-bottom:1mm}
  :where(.md-kv) #termine .deadline{margin-bottom:2mm}
  :where(.md-kv) .topics-row{margin-top:4mm}
  /* 13 Themen: im Druck dreispaltig, damit der Kasten auch mit allen 6 Ausgaben auf die Termin-Seite passt */
  :where(.md-kv) .topics--cols ul{columns:3;column-gap:6mm}
  :where(.md-kv) .topics--cols li{padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-kv) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-kv) .topics p{font-size:8.8pt}
  :where(.md-kv) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-kv) table.price .thumb{width:20mm}
  :where(.md-kv) #preise .fmt{width:5mm;height:7mm}
  :where(.md-kv) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-kv) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-kv) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-kv) #preise .sub{margin-bottom:1mm}
  :where(.md-kv) table.price .sub{font-size:7.6pt}
  :where(.md-kv) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-kv) #preise table.price td,:where(.md-kv) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-kv) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-kv) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-kv) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-kv) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-kv) #preise .aside p{margin-bottom:1mm}
  :where(.md-kv) #konditionen .stack,:where(.md-kv) #online-konditionen .stack{gap:3.5mm}
  :where(.md-kv) #konditionen .block+.block{margin-top:0}
  :where(.md-kv) #konditionen table.mini th,:where(.md-kv) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-kv) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-kv) #konditionen p,:where(.md-kv) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-kv) .metabox--accent{padding:5mm}
  :where(.md-kv) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-kv) #online-preise table.price td,:where(.md-kv) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-kv) #online-preise .wf{max-width:20mm}
  :where(.md-kv) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-kv) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-kv) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-kv) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-kv) #portraet .block p,:where(.md-kv) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-kv) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-kv) #portraet .stack{gap:4.5mm}
  :where(.md-kv) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-kv) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-kv) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Infodienst (nur ein Bild): zweite Spalte mit Hinweis auf die Werbeform */
:where(.md-kv) .nl-hint{background:#fff;border:1px solid var(--line,#DCE6EF);border-radius:14px;padding:1.25rem 1.4rem}
:where(.md-kv) .nl-hint h3{margin:0 0 .5rem;font-size:1.05rem}
:where(.md-kv) .nl-hint p{margin:0 0 .8rem}
:where(.md-kv) .hero__facts li > b{white-space:nowrap}


/* =====================================================================
   TITELSPEZIFISCH: Müll und Abfall
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarbe Orange (aus dem Print-PDF), Titel-Logo
   als SVG, zusaetzliche Bausteine (Termine mit Schwerpunkt/Messe,
   Preistabelle mit Titelseite und zwei Preisspalten, Doppel-Format-
   skizzen, Sonderplatzierungen inkl. Tabelle "Beratende Ingenieure",
   Video-/Text-Skizze) und deren Druckregeln.
   ===================================================================== */
:root:where(.md-ma){
  --accent:#F3903E;        /* MuA-Orange der Flaechen im PDF (Sticker, Blasen, Kreise) */
  --accent-ink:#004F9F;    /* Schrift auf Orange, wie im PDF */
  --accent-text:#EE7203;   /* Logo-Orange: Schrift auf der Inhaltsseite wie im PDF (Kontrast 3:1, nur fett/gross) */
  --accent-soft:#FDE9D9;   /* helle Orange-Tonflaeche */
  --title-blue:#004B70;    /* "Ressourcen" im Titel-Logo */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-ma) .brand--logo img{display:block;width:clamp(260px,22rem + 6vw,460px);max-width:100%;height:auto}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben orange wie im PDF */
:where(.md-ma) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-ma) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-ma) .track__sub--accent a:hover,:where(.md-ma) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-ma) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-ma) .track li .key--none{visibility:hidden}

/* Split-Bar: Anteil kommt aus dem HTML (style="flex-basis:..."), nicht aus dem CSS */
:where(.md-ma) .split-bar .in{flex:0 0 auto}

/* Akzent: Sticker, Info-Blasen, Kreise, Werbemittel in den Skizzen */
:where(.md-ma) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(160,80,0,.22)}
:where(.md-ma) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-ma) .bubble b{color:var(--accent-ink)}
:where(.md-ma) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}
:where(.md-ma) .wf__ad{background:var(--accent)}
:where(.md-ma) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-ma) .metabox--accent li::before{background:var(--accent-ink)}

/* Termine: Schwerpunkt und Messe/Ausstellung je Ausgabe – jeweils OPTIONAL,
   siehe DATENPFLEGE-Kommentar im Kopf. Fehlt fuer eine Ausgabe die Messe-
   Liste, entfaellt im Markup der ganze issue__events-Block (nicht leer
   lassen) – die Karte wird dann einfach kuerzer. */
@media (min-width:1000px){:where(.md-ma) .issues--rich{grid-template-columns:repeat(2,1fr)}}
:where(.md-ma) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-ma) .issue__topic{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair);font-size:.95rem}
:where(.md-ma) .issue__topic p{margin:0}
:where(.md-ma) .issue__lbl{display:block;font-size:.78rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--blue);margin-bottom:.15rem}
:where(.md-ma) .issue__events{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair)}
:where(.md-ma) .issue__events ul{list-style:none;margin:0;padding:0;font-size:.9rem}
:where(.md-ma) .issue__events li{display:grid;grid-template-columns:6.8rem 1fr;gap:.6rem;padding:.2rem 0}
:where(.md-ma) .issue__events time{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
:where(.md-ma) .issue__events b{font-weight:600}
/* Link je Veranstaltung (im Editor optional): Textfarbe, hellblaue Unterstreichung */
:where(.md-ma) .issue__events span a{color:inherit;text-decoration-color:var(--hair)}
:where(.md-ma) .issue__events span a:hover,:where(.md-ma) .issue__events span a:focus-visible{color:var(--blue)}
:where(.md-ma) .issue--past .issue__topic,:where(.md-ma) .issue--past .issue__events,:where(.md-ma) .issue--past .issue__lbl{color:#8B98A5}

/* Preistabelle (Titelseite, U-Seiten, s/w und 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-ma) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-ma) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-ma) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-ma) .fmt--cover{background:linear-gradient(160deg,#DDEAF6,#fff)}
:where(.md-ma) .fmt--cover i{inset:3px 3px auto 3px;height:58%;background:var(--accent);border-color:#C86A1E}
:where(.md-ma) table.price .thumb{width:92px}
:where(.md-ma) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-ma) table.price th[scope="row"]{white-space:nowrap}
:where(.md-ma) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-ma) table.price .num{white-space:normal}
  :where(.md-ma) table.price th[scope="row"]{white-space:normal}
  :where(.md-ma) table.price td .v{text-align:right}
  :where(.md-ma) table.price td.merge{justify-content:space-between}
  :where(.md-ma) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-ma) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-ma) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-ma) .preise-extra .sticker{margin:0 auto}
:where(.md-ma) .auflage{font-size:1.05rem}
:where(.md-ma) .auflage strong{font-size:1.5rem;color:var(--blue-900);margin-right:.25rem}

/* Sonderplatzierungen: Aufmacher "Titel + Banner" (blaue Flaeche im PDF), drei Karten */
:where(.md-ma) .promos{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:820px){:where(.md-ma) .promos{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-ma) .promo > div{min-width:0}
:where(.md-ma) .promo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.25rem;align-items:start;
  background:linear-gradient(158deg,#EEF5FC,#E1ECF7);padding:clamp(1.1rem,3vw,1.5rem)}
:where(.md-ma) .promo h3{font-size:1.18rem;color:var(--blue);margin-bottom:.55rem}
:where(.md-ma) .promo p{font-size:.95rem;margin-bottom:.45rem}
:where(.md-ma) .promo .price-tag{font-weight:700;color:var(--blue-900)}
:where(.md-ma) .promo img{width:clamp(110px,14vw,160px);filter:drop-shadow(0 10px 16px rgba(0,52,105,.2))}
:where(.md-ma) .promo__media{display:flex;flex-direction:column;align-items:center;gap:.5rem}
:where(.md-ma) .promo__media .round{width:70px;border-radius:50%;filter:none;box-shadow:0 4px 12px rgba(0,52,105,.2)}
@media (max-width:480px){:where(.md-ma) .promo{grid-template-columns:minmax(0,1fr)}:where(.md-ma) .promo__media{align-items:flex-start}}
:where(.md-ma) .promo--lead{grid-column:1/-1;background:var(--blue);color:#EAF4FC;align-items:center}
:where(.md-ma) .promo--lead h3{color:var(--accent);font-size:1.35rem}
:where(.md-ma) .promo--lead .price-tag{color:#fff}
:where(.md-ma) .promo--lead p{color:#D6E8F8;max-width:44em}
:where(.md-ma) .promo--lead a{color:#fff}
:where(.md-ma) .promo__media--pair{flex-direction:row;align-items:flex-end;gap:.75rem}
:where(.md-ma) .promo--lead .promo__media--pair img:first-child{width:clamp(110px,13vw,170px)}
:where(.md-ma) .promo--lead .promo__media--pair img:last-child{width:clamp(150px,20vw,260px)}
@media (max-width:819px){:where(.md-ma) .promo--lead{grid-template-columns:minmax(0,1fr)}:where(.md-ma) .promo__media--pair{justify-content:center}}
:where(.md-ma) .promo--wide{grid-column:1/-1}
/* Tabelle "Beratende Ingenieure" in der Karte */
:where(.md-ma) table.price--ing{min-width:0;font-size:.92rem;background:#fff}
:where(.md-ma) table.price--ing thead th{white-space:normal;font-size:.84rem;padding:.55rem .7rem;vertical-align:bottom}
:where(.md-ma) table.price--ing th[scope="row"],:where(.md-ma) table.price--ing td{padding:.45rem .7rem}
:where(.md-ma) table.price--ing td,:where(.md-ma) table.price--ing thead th:not(:first-child){text-align:right}
:where(.md-ma) .promo--wide .tablewrap{margin:.9rem 0 0}
@media (max-width:719px){
  :where(.md-ma) table.price--ing tbody tr{grid-template-columns:minmax(0,1fr);padding:.6rem .8rem;margin-bottom:.6rem}
  :where(.md-ma) table.price--ing td{padding:.25rem 0}
}

/* Werbeform-Skizzen Video Ad (Play-Symbol) und Text-Anzeige */
:where(.md-ma) .wf--video .wf__ad{right:7%;bottom:10%;width:14%;height:18%}
:where(.md-ma) .wf--video .wf__ad::after{content:"";position:absolute;left:38%;top:26%;border-left:7px solid #fff;
  border-top:5px solid transparent;border-bottom:5px solid transparent}
:where(.md-ma) .wf--text .wf__ad{left:7%;right:42%;top:30%;height:44%;background:#fff;border:2px solid var(--accent)}
:where(.md-ma) table.price td.merge{text-align:center}

/* Kooperationshinweis Stellenanzeigen (oranger Kreis im PDF) */
:where(.md-ma) .coop{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--accent);color:var(--accent-ink);
  padding:.8rem 1rem;font-size:.95rem;font-weight:600;margin-bottom:1.25rem}
:where(.md-ma) .coop strong{font-weight:700}
:where(.md-ma) .coop img{width:120px;height:auto;background:#fff;padding:4px 6px}

@media print{
  :where(.md-ma) .sticker--accent,:where(.md-ma) .bubble,:where(.md-ma) .metabox--accent ul,:where(.md-ma) .promo,:where(.md-ma) .promo--lead,:where(.md-ma) .coop,:where(.md-ma) .issue__lbl,
  :where(.md-ma) .fmt--cover,:where(.md-ma) .fmt--cover i{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-ma) .brand--logo img{width:78mm}
  :where(.md-ma) .issues--rich{grid-template-columns:1fr 1fr 1fr;gap:3mm}
  :where(.md-ma) .issue{padding:2.5mm 3mm}
  :where(.md-ma) .issue__events li{grid-template-columns:20mm 1fr;padding:.3mm 0}
  :where(.md-ma) .issue__topic,:where(.md-ma) .issue__events{margin-top:2mm;padding-top:1.6mm}
  :where(.md-ma) .issue__events ul{font-size:7.8pt}
  :where(.md-ma) table.price .thumb{width:20mm}
  :where(.md-ma) #preise .fmt{width:5mm;height:7mm}
  :where(.md-ma) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-ma) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-ma) #preise .fmt--cover i{inset:1px 1px auto 1px}
  :where(.md-ma) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-ma) #preise .sub{margin-bottom:1mm}
  :where(.md-ma) table.price .sub{font-size:7.6pt}
  :where(.md-ma) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-ma) #preise table.price td,:where(.md-ma) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-ma) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-ma) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-ma) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-ma) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-ma) #preise .aside p{margin-bottom:1mm}
  :where(.md-ma) #konditionen .stack,:where(.md-ma) #online-konditionen .stack{gap:4mm}
  :where(.md-ma) #konditionen .block+.block{margin-top:0}
  :where(.md-ma) #konditionen table.mini th,:where(.md-ma) #konditionen table.mini td{padding:.7mm 1.5mm}
  :where(.md-ma) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-ma) .metabox--accent{padding:5mm}
  :where(.md-ma) .promos{grid-template-columns:1fr 1fr;gap:3.5mm}
  :where(.md-ma) .promo{padding:3.5mm;break-inside:avoid}
  :where(.md-ma) .promo p{font-size:8.4pt;margin-bottom:1mm}
  :where(.md-ma) .promo h3{font-size:10.5pt;margin-bottom:1mm}
  :where(.md-ma) .promo img{width:24mm}
  :where(.md-ma) .promo--lead{grid-template-columns:minmax(0,1fr) auto}
  :where(.md-ma) .promo--lead .promo__media--pair img:first-child{width:26mm}
  :where(.md-ma) .promo--lead .promo__media--pair img:last-child{width:38mm}
  :where(.md-ma) .promo__media .round{width:13mm}
  :where(.md-ma) table.price--ing{font-size:8pt}
  :where(.md-ma) table.price--ing thead th{padding:1mm 2mm;font-size:7.4pt}
  :where(.md-ma) table.price--ing th[scope="row"],:where(.md-ma) table.price--ing td{padding:.6mm 2mm}
  :where(.md-ma) .promo--wide .tablewrap{margin-top:1.5mm}
  :where(.md-ma) #stellen .media img{max-height:70mm;width:auto}
  :where(.md-ma) #online-preise table.price td,:where(.md-ma) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-ma) #online-preise .wf{max-width:20mm}
  :where(.md-ma) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-ma) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-ma) #formate .dl__row,:where(.md-ma) #stellen .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-ma) #website .dl__row{grid-template-columns:26mm 1fr}
  /* Porträt: langer Text + Redaktion + 13 Zielgruppen – verdichtet, damit alles auf eine Seite passt */
  :where(.md-ma) #portraet .grid2{grid-template-columns:1.25fr 1fr}
  :where(.md-ma) #portraet .block p,:where(.md-ma) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-ma) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-ma) #portraet .stack{gap:4.5mm}
  :where(.md-ma) #portraet .chips li{padding:.9mm 2.2mm;font-size:8.4pt}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-ma) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-ma) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: PinG Privacy in Germany
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelrot/Lachs (aus dem Print-PDF), Titel-Logo
   als SVG, Info-Blasen/Sticker/Meta-Kreis lachs, 6 Termine mit Themen- und Messekasten,
   Preistabelle mit U-Seiten-Zeile und Doppel-Formatskizzen, Infodienst +
   Newsletter, Kombi-Seite "Die Welt der Compliance", Kontaktfoto und
   deren Druckregeln.
   ===================================================================== */
:root:where(.md-ping){
  --accent:#F8BCA3;        /* Lachs der Info-Blasen, des Stickers und des Meta-Kreises im PDF */
  --accent-ink:#004F9F;    /* Schrift auf Lachs, wie im PDF (5,0:1) */
  --accent-text:#E41B13;   /* Rot des Titel-Schriftzugs "PinG", auch Schrift auf der Inhaltsseite (4,7:1) */
  --accent-soft:#FDEEE8;   /* helle Tonflaeche */
  --ad:#E41B13;            /* Werbemittel in den Skizzen (rot wie im PDF) */
  --sticker:#F8BCA3;       /* Sticker "ohne Mehrkosten im eJournal" (Schrift #004F9F wie im PDF) */
  --meta:#F8BCA3;          /* Kreis Meta-Informationen (Schrift #004F9F wie im PDF) */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-ping) .brand--logo img{display:block;width:clamp(220px,12rem + 6vw,380px);max-width:100%;height:auto}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-ping) .hero__facts li{min-width:0}
:where(.md-ping) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben rot wie im PDF */
:where(.md-ping) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-ping) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-ping) .track__sub--accent a:hover,:where(.md-ping) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-ping) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-ping) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-ping) .sticker--accent{background:var(--sticker);color:#004F9F;box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-ping) .sticker--accent sup{color:inherit}
:where(.md-ping) .wf__ad{background:var(--ad)}
:where(.md-ping) .metabox--accent ul{background:var(--meta);color:#004F9F;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-ping) .metabox--accent li::before{background:#004F9F}
/* Info-Blasen "Dateiformate und Farben": lachs mit blauer Schrift wie im PDF */
:where(.md-ping) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-ping) .bubble b{color:var(--accent-ink)}
:where(.md-ping) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; Themen und Messehinweis gelten fuer alle
   Ausgaben (zwei Kaesten .topics nebeneinander darunter) */
:where(.md-ping) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-ping) .topics + .topics{margin-top:1rem}
:where(.md-ping) .topics p{margin:0;font-size:.96rem}
:where(.md-ping) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-ping) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-ping) .topics--cols li{break-inside:avoid}}
:where(.md-ping) .topics-row{margin-top:1.5rem;display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){:where(.md-ping) .topics-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}
:where(.md-ping) .topics-row .topics + .topics{margin-top:0}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-ping) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-ping) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-ping) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-ping) table.price .thumb{width:92px}
:where(.md-ping) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-ping) table.price th[scope="row"]{white-space:nowrap}
:where(.md-ping) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-ping) table.price .num{white-space:normal}
  :where(.md-ping) table.price th[scope="row"]{white-space:normal}
  :where(.md-ping) table.price td .v{text-align:right}
  :where(.md-ping) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-ping) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-ping) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-ping) .preise-extra .sticker{margin:0 auto}
:where(.md-ping) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-ping) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-ping) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-ping) .foot__person{flex-direction:column}}

@media print{
  :where(.md-ping) .sticker--accent,:where(.md-ping) .bubble,:where(.md-ping) .metabox--accent ul,:where(.md-ping) .kombi__item,:where(.md-ping) .wf__ad,:where(.md-ping) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-ping) .brand--logo img{width:62mm}
  :where(.md-ping) .topics{padding:3mm 4mm}
  :where(.md-ping) .topics + .topics{margin-top:3mm}
  /* 6 Ausgaben im Druck 3-spaltig und verdichtet (wie ER/KrV), damit auch mit allen Ausgaben eine Seite reicht */
  :where(.md-ping) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm}
  :where(.md-ping) #termine .issue{padding:2mm}
  :where(.md-ping) #termine .issue dt,:where(.md-ping) #termine .issue dd{font-size:8pt}
  :where(.md-ping) .topics-row{grid-template-columns:2fr 1fr;gap:4mm}
  :where(.md-ping) .topics-row{margin-top:4mm}
  :where(.md-ping) .topics--cols ul{columns:2;column-gap:6mm}
  :where(.md-ping) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-ping) .topics p{font-size:8.8pt}
  :where(.md-ping) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-ping) table.price .thumb{width:20mm}
  :where(.md-ping) #preise .fmt{width:5mm;height:7mm}
  :where(.md-ping) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-ping) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-ping) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-ping) #preise .sub{margin-bottom:1mm}
  :where(.md-ping) table.price .sub{font-size:7.6pt}
  :where(.md-ping) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-ping) #preise table.price td,:where(.md-ping) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-ping) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-ping) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-ping) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-ping) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-ping) #preise .aside p{margin-bottom:1mm}
  :where(.md-ping) #konditionen .stack,:where(.md-ping) #online-konditionen .stack{gap:3.5mm}
  :where(.md-ping) #konditionen .block+.block{margin-top:0}
  :where(.md-ping) #konditionen table.mini th,:where(.md-ping) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-ping) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-ping) #konditionen p,:where(.md-ping) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-ping) .metabox--accent{padding:5mm}
  :where(.md-ping) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-ping) #online-preise table.price td,:where(.md-ping) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-ping) #online-preise .wf{max-width:20mm}
  :where(.md-ping) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-ping) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-ping) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-ping) #portraet .block p,:where(.md-ping) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-ping) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-ping) #portraet .stack{gap:4.5mm}
  :where(.md-ping) .foot__photo{width:18mm;height:18mm}
  :where(.md-ping) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:180mm}
  :where(.md-ping) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-ping) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-ping) .kombi__item p{font-size:9pt}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-ping) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-ping) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-ping) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* Termin-Karten: 4 Daten passen am Bildschirm nur 2 x 2 */
@media screen and (min-width:640px){:where(.md-ping) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-ping) .url,:where(.md-ping) .track__sub,:where(.md-ping) .kombi__item p,:where(.md-ping) #kontakt p{overflow-wrap:anywhere}

/* Kombi-Seite "Die Welt der Compliance" (Muster IM, hier 2 Titel) */
:where(.md-ping) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-ping) .kombi__claim span{color:var(--cyan-text)}
:where(.md-ping) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr);max-width:760px}
@media (min-width:560px){:where(.md-ping) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-ping) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent-text);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar */
:where(.md-ping) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-ping) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-ping) .kombi__item p{margin:0;font-size:.95rem}

/* Kontaktfoto im PDF rechteckig geliefert, rund beschnitten wie im PDF */
:where(.md-ping) .foot__photo{object-position:40% 30%}


/* =====================================================================
   TITELSPEZIFISCH: PersV Die Personalvertretung
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Gruen/Gelb (aus dem Print-PDF), Titel-Logo
   als SVG mit Unterzeile, Hero-Bild Heft + Tablet, Info-Blasen gruen,
   12 Termine mit Themenkasten, Preistabelle mit vier Preisspalten
   (s/w, 2c, 3c, 4c) und deren Druckregeln.
   ===================================================================== */
:root:where(.md-pv){
  --accent:#006A5D;        /* Titelgruen "PersV" (Logo, Inhaltsseite) fuer Info-Blasen und Kreis Meta-Informationen */
  --accent-ink:#FFFFFF;    /* Schrift auf Gruen (6,5:1) */
  --accent-text:#006A5D;   /* Schrift auf der Inhaltsseite, wie im PDF */
  --accent-soft:#D6E6E4;   /* helle Tonflaeche (Tabellenzeilen im PDF) */
  --sticker:#DEDD26;       /* Gelb des Stickers "Ihre Anzeige ohne Mehrkosten im eJournal" */
  --sticker-ink:#004F9F;   /* Sticker-Schrift wie im PDF (ESV-Blau, 5,4:1) */
  --title-ink:#14181D;     /* Unterzeile wie im PDF schwarz */
  --ad:#E8601A;            /* Werbemittel (Superbanner) wie im PDF orange */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-pv) .brand--logo img{display:block;width:clamp(150px,7rem + 5vw,240px);max-width:100%;height:auto}
:where(.md-pv) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;line-height:1.3;color:var(--title-ink);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-pv) .hero__facts li{min-width:0}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben blau wie im PDF */
:where(.md-pv) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-pv) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-pv) .track__sub--accent a:hover,:where(.md-pv) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-pv) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-pv) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-pv) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(0,79,159,.25)}
:where(.md-pv) .sticker--accent sup{color:inherit}
:where(.md-pv) .wf__ad{background:var(--ad)}
:where(.md-pv) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-pv) .metabox--accent li::before{background:#DEDD26}
/* Info-Blasen "Dateiformate und Farben": titelgruen, Schrift weiss */
:where(.md-pv) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-pv) .bubble b{color:var(--accent-ink)}
:where(.md-pv) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe (12 Ausgaben); die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter, wie KSI) */
:where(.md-pv) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-pv) .topics + .topics{margin-top:1rem}
:where(.md-pv) .topics p{margin:0;font-size:.96rem}
:where(.md-pv) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-pv) .topics--cols ul{columns:3;column-gap:2.5rem}:where(.md-pv) .topics--cols li{break-inside:avoid}}
:where(.md-pv) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 2c, 3c, 4c) */
:where(.md-pv) table.price .thumb{width:92px}
:where(.md-pv) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-pv) table.price th[scope="row"]{white-space:nowrap}
:where(.md-pv) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-pv) table.price .num{white-space:normal}
  :where(.md-pv) table.price th[scope="row"]{white-space:normal}
  :where(.md-pv) table.price td .v{text-align:right}
  :where(.md-pv) #preise table.price .thumb{grid-row:span 7}
}
:where(.md-pv) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-pv) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-pv) .preise-extra .sticker{margin:0 auto}
:where(.md-pv) .staffel{align-items:start}

/* Hero: ein Bild (Heft + Tablet, wie PDF-Seite 1) statt Monitor + Tablet */
:where(.md-pv) .hero__devices .dev-mon.dev-combo{width:min(82%,400px);padding-bottom:0;margin-inline:auto}
@media (max-width:899px){:where(.md-pv) .hero__devices .dev-mon.dev-combo{width:min(72%,340px)}}

/* Formate Print: Skizze 1/1-Seite (Satzspiegel/Anschnitt) */
:where(.md-pv) .fmtbox{display:flex;gap:1.1rem;align-items:center;margin:0 0 1.25rem}
:where(.md-pv) .fmtbox .fmt{width:52px;height:72px;flex:none}
:where(.md-pv) .fmtbox p{margin:0;font-size:.94rem}

@media print{
  :where(.md-pv) .sticker--accent,:where(.md-pv) .bubble,:where(.md-pv) .metabox--accent ul{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-pv) .brand--logo img{width:34mm}
  :where(.md-pv) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-pv) .topics{padding:3mm 4mm}
  :where(.md-pv) .topics + .topics{margin-top:3mm}
  :where(.md-pv) .hero__devices .dev-mon.dev-combo{width:62mm}
  /* Ausgaben im Druck 4-spaltig (12 Ausgaben = 3 Zeilen), Themen vierspaltig darunter */
  :where(.md-pv) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-pv) #termine .issue{padding:2mm 3mm}
  :where(.md-pv) #termine .issue dt,:where(.md-pv) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-pv) #termine .issue__no{margin-bottom:1mm}
  :where(.md-pv) #termine .deadline{margin-bottom:2mm}
  :where(.md-pv) .topics-row{margin-top:3mm}
  /* 12 Ausgaben: Karten verdichten, damit Themenkasten auch mit allen Ausgaben auf die Seite passt */
  :where(.md-pv) #termine .sec__head{margin-bottom:2mm}
  :where(.md-pv) #termine .issue{padding:1.4mm 2.4mm}
  :where(.md-pv) #termine .issue dt,:where(.md-pv) #termine .issue dd{font-size:7.4pt;line-height:1.1;padding-top:.15mm;padding-bottom:.15mm}
  :where(.md-pv) #termine .issue__no{margin-bottom:.6mm;font-size:8pt}
  :where(.md-pv) #termine .topics--cols li{padding-top:.15mm;padding-bottom:.15mm;margin:0}
  :where(.md-pv) #termine .topics{padding:2.5mm 4mm}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-pv) #kontakt{break-before:page}
  /* 13 Themen: im Druck vierspaltig, damit der Kasten auch mit allen 12 Ausgaben auf die Termin-Seite passt */
  :where(.md-pv) .topics--cols ul{columns:4;column-gap:6mm}
  :where(.md-pv) .topics--cols li{padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-pv) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-pv) .topics p{font-size:8.8pt}
  :where(.md-pv) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-pv) table.price .thumb{width:20mm}
  :where(.md-pv) #preise .fmt{width:5mm;height:7mm}
  :where(.md-pv) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-pv) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-pv) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-pv) #preise .sub{margin-bottom:1mm}
  :where(.md-pv) table.price .sub{font-size:7.6pt}
  :where(.md-pv) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-pv) #preise table.price td,:where(.md-pv) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-pv) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-pv) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-pv) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-pv) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-pv) #preise .aside p{margin-bottom:1mm}
  :where(.md-pv) #konditionen .stack,:where(.md-pv) #online-konditionen .stack{gap:3.5mm}
  :where(.md-pv) #konditionen .block+.block{margin-top:0}
  :where(.md-pv) #konditionen table.mini th,:where(.md-pv) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-pv) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-pv) #konditionen p,:where(.md-pv) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-pv) .metabox--accent{padding:5mm}
  :where(.md-pv) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-pv) #online-preise table.price td,:where(.md-pv) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-pv) #online-preise .wf{max-width:20mm}
  :where(.md-pv) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-pv) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-pv) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-pv) #online-konditionen .dl__row{grid-template-columns:34mm 1fr}
  :where(.md-pv) #online-konditionen p,:where(.md-pv) #online-konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-pv) .fmtbox .fmt{width:12mm;height:17mm}
  :where(.md-pv) #portraet .block p,:where(.md-pv) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-pv) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-pv) #portraet .stack{gap:4.5mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-pv) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-pv) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Infodienst (nur ein Bild): zweite Spalte mit Hinweis auf die Werbeform */
:where(.md-pv) .nl-hint{background:#fff;border:1px solid var(--line,#DCE6EF);border-radius:14px;padding:1.25rem 1.4rem}
:where(.md-pv) .nl-hint h3{margin:0 0 .5rem;font-size:1.05rem}
:where(.md-pv) .nl-hint p{margin:0 0 .8rem}
:where(.md-pv) .hero__facts li > b{white-space:nowrap}


/* =====================================================================
   TITELSPEZIFISCH: rv Die Rentenversicherung
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Aufbau neu: das Print-PDF ist ein Einseiter ohne
   Inhaltsseite, Online-Teil und Dateiformate-Diagramm. Titelblau #0075BF
   (Logo) fuer Akzente, Kopfband-Blau #00497A fuer die Seitenleiste,
   Hero-Bild Heft + Tablet, 6 Termine mit nur zwei Daten, Schwerpunkte-
   und Anzeigenschluss-Kasten nebeneinander, Preistabelle s/w + 4c.
   ===================================================================== */
:root:where(.md-rv){
  --accent:#0075BF;        /* Titelblau des Logos "Die Rentenversicherung"; weisse Schrift 4,9:1 */
  --accent-ink:#FFFFFF;
  --accent-dark:#00497A;   /* Kopfband des PDF; weisse Schrift 9,4:1 */
  --accent-soft:#E3F1FA;   /* helle Tonflaeche aus dem Titelblau */
  --title-ink:#14181D;     /* Unterzeile "Organ fuer den ..." wie im PDF schwarz */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-rv) .brand--logo img{display:block;width:clamp(240px,12rem + 14vw,440px);max-width:100%;height:auto}
:where(.md-rv) .hero__claim{margin:.6rem 0 0;font-size:clamp(1.05rem,.95rem + .5vw,1.35rem);font-weight:400;line-height:1.3;color:var(--title-ink);max-width:24em}
:where(.md-rv) .hero__facts li{min-width:0}
:where(.md-rv) .hero__facts li > b{white-space:nowrap}

/* Hero: ein Bild (Heft + Tablet wie im PDF) statt Monitor + Tablet */
:where(.md-rv) .hero__devices .dev-mon.dev-combo{width:min(86%,430px);padding-bottom:0;margin-inline:auto}
@media (max-width:899px){:where(.md-rv) .hero__devices .dev-mon.dev-combo{width:min(74%,360px)}}

/* Porträt: Organ-Hinweis als Band, Zielgruppe als Chips */
:where(.md-rv) .organ{margin:0 0 1.1rem;display:flex}
:where(.md-rv) .organ span{display:inline-block;background:var(--accent-soft);color:#00507F;border-left:4px solid var(--accent);
  padding:.45rem .85rem;font-weight:600;font-size:.98rem;line-height:1.3}
:where(.md-rv) .chips--target li{background:#fff;border-color:#BBD9EE;color:#1F3346}
:where(.md-rv) #portraet .dl dd strong{color:var(--accent-dark)}

/* Termine: 6 Ausgaben mit je zwei Daten; darunter Schwerpunkte + Anzeigenschluss nebeneinander */
:where(.md-rv) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-rv) .issue dl{font-size:.97rem}
:where(.md-rv) .topics-row{display:grid;gap:1rem;margin-top:1.5rem}
@media (min-width:820px){:where(.md-rv) .topics-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}
:where(.md-rv) .topics{border-left-color:var(--accent)}
:where(.md-rv) .topics li::before{background:var(--accent)}
:where(.md-rv) .topics p{margin:0;font-size:.96rem}
:where(.md-rv) .topics p + ul{margin-top:.7rem}
:where(.md-rv) .topics--key{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);display:flex;flex-direction:column;justify-content:center}
:where(.md-rv) .topics--key h3{color:var(--accent-ink);margin-bottom:.2rem}
:where(.md-rv) .topics--key p{color:var(--accent-ink)}
:where(.md-rv) .topics--key .topics__big{font-size:clamp(2rem,1.5rem + 2vw,2.8rem);font-weight:300;line-height:1.05;margin:.1rem 0 .4rem}

/* Preise: Tabelle + Seitenleiste nebeneinander (3 Datenspalten passen daneben) */
:where(.md-rv) .preise-grid{display:grid;gap:1.5rem 2rem;align-items:start}
@media (min-width:960px){:where(.md-rv) .preise-grid{grid-template-columns:minmax(0,1fr) 290px}}
:where(.md-rv) #preise table.price{min-width:0}
:where(.md-rv) #preise .aside{background:var(--accent-dark)}
:where(.md-rv) table.price .thumb{width:84px}
:where(.md-rv) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-rv) table.price th[scope="row"]{white-space:nowrap}
:where(.md-rv) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-rv) table.price .num{white-space:normal}
  :where(.md-rv) table.price th[scope="row"]{white-space:normal}
  :where(.md-rv) table.price--print thead th{white-space:normal}
  :where(.md-rv) #preise table.price .thumb{grid-row:span 4}
}
:where(.md-rv) .staffel{align-items:start}
:where(.md-rv) #konditionen .dl__row:first-child{padding-top:0}

@media print{
  :where(.md-rv) .topics--key,:where(.md-rv) .organ span,:where(.md-rv) #preise .aside{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* keine Inhaltsseite: Porträt direkt unter der Sprungnavigation (sonst steht sie allein auf Seite 2) */
  :where(.md-rv) #portraet{break-before:avoid;padding-top:0}
  :where(.md-rv) .brand--logo img{width:88mm}
  :where(.md-rv) .hero__claim{font-size:11pt;margin-top:1.5mm}
  :where(.md-rv) .hero__devices .dev-mon.dev-combo{width:70mm}
  /* 6 Ausgaben im Druck 3-spaltig (2 Zeilen), Kaesten darunter nebeneinander */
  :where(.md-rv) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}
  :where(.md-rv) #termine .issue{padding:2.5mm 3.5mm}
  :where(.md-rv) #termine .issue dt,:where(.md-rv) #termine .issue dd{font-size:9pt}
  :where(.md-rv) .topics-row{grid-template-columns:2fr 1fr;gap:4mm;margin-top:4mm}
  :where(.md-rv) .topics{padding:3.5mm 4.5mm}
  :where(.md-rv) .topics h3{font-size:10.5pt;margin-bottom:1.5mm}
  :where(.md-rv) .topics p{font-size:9pt}
  :where(.md-rv) .topics--cols ul{columns:2;column-gap:6mm}
  :where(.md-rv) .topics li{font-size:9pt;line-height:1.3;margin-bottom:1mm}
  :where(.md-rv) .topics--key .topics__big{font-size:22pt}
  :where(.md-rv) .preise-grid{grid-template-columns:minmax(0,1fr) 62mm;gap:6mm}
  :where(.md-rv) #preise .aside{padding:4mm 5mm;font-size:8.6pt;line-height:1.35}
  :where(.md-rv) table.price .thumb{width:16mm}
  :where(.md-rv) #preise table.price td,:where(.md-rv) #preise table.price th[scope="row"]{padding:2mm 2.5mm}
  :where(.md-rv) #portraet .block p,:where(.md-rv) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-rv) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-rv) #portraet .stack{gap:4mm}
  :where(.md-rv) #portraet .dl__row{grid-template-columns:34mm 1fr;padding-top:1.1mm;padding-bottom:1.1mm}
  :where(.md-rv) #portraet dd{line-height:1.3}
  :where(.md-rv) .chips li{font-size:8.4pt;padding:.6mm 2mm}
  :where(.md-rv) .organ{margin-bottom:2.5mm}
  :where(.md-rv) .organ span{font-size:9.4pt;padding:1.2mm 3mm}
  :where(.md-rv) #konditionen p,:where(.md-rv) #konditionen dd{font-size:9pt;line-height:1.35}
  :where(.md-rv) #konditionen .dl__row{grid-template-columns:38mm 1fr}
  :where(.md-rv) p[style]{font-size:9pt!important}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-rv) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-rv) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Porträt: Zielgruppe rechts unter den Eckdaten */
:where(.md-rv) .zielgruppe{margin-top:1.75rem}
@media print{:where(.md-rv) .zielgruppe{margin-top:4mm}}

/* lange Titel-Domain (www.DieRentenversicherungdigital.de) darf mobil umbrechen */
:where(.md-rv) .url,:where(.md-rv) .url a,:where(.md-rv) #kontakt a.url{overflow-wrap:anywhere}


/* =====================================================================
   TITELSPEZIFISCH: SGb – Die Sozialgerichtsbarkeit
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Rot/Gelb (aus dem Print-PDF), Titel-Logo
   als SVG mit Unterzeile, Info-Blasen gelb, 12 Termine mit Themenkasten,
   Preistabelle mit zwei Preisspalten und Doppel-Formatskizzen, Kombi-Hinweis,
   Rabattstaffeln online (Website/Infodienst), Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-sgbz){
  --accent:#FFD854;        /* Gelb der Flaechen im PDF (Info-Blasen, Kreis Meta-Informationen) */
  --accent-ink:#004F9F;    /* Schrift auf Gelb, wie im PDF (6,1:1) */
  --accent-text:#C90F52;   /* Titelrot auf der Inhaltsseite, wie im PDF (5,7:1) */
  --accent-soft:#FBEAEF;   /* helle Tonflaeche */
  --sticker:#C4014B;       /* Sticker: PDF #D55C75 mit blauer Schrift (2,1:1) -> Titelrot "SG" mit weisser Schrift (6,0:1) */
  --sticker-ink:#FFFFFF;
  --title-ink:#6B6B6B;     /* Unterzeile: PDF-Grau #9C9C9C (2,7:1) abgedunkelt (5,3:1) */
  --title-red:#C4014B;     /* Titel-Schriftzug "SG" (Logo) */
  --ad:#FFD854;            /* Werbemittel in den Online-Skizzen, wie im PDF */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-sgbz) .brand--logo img{display:block;width:clamp(190px,9rem + 6vw,300px);max-width:100%;height:auto}
:where(.md-sgbz) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;letter-spacing:.02em;line-height:1.3;color:var(--title-ink);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-sgbz) .hero__facts li{min-width:0}
:where(.md-sgbz) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben titelrot wie im PDF */
:where(.md-sgbz) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-sgbz) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-sgbz) .track__sub--accent a:hover,:where(.md-sgbz) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-sgbz) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-sgbz) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-sgbz) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(196,1,75,.22)}
:where(.md-sgbz) .sticker--accent sup{color:inherit}
:where(.md-sgbz) .wf__ad{background:var(--ad)}
:where(.md-sgbz) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-sgbz) .metabox--accent li::before{background:var(--title-red)}
/* Info-Blasen "Dateiformate und Farben": gelb mit blauer Schrift wie im PDF */
:where(.md-sgbz) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-sgbz) .bubble b{color:var(--accent-ink)}
:where(.md-sgbz) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe (12 Ausgaben); die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter mit Fliesstext, wie im PDF) */
:where(.md-sgbz) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-sgbz) .topics + .topics{margin-top:1rem}
:where(.md-sgbz) .topics p{margin:0;font-size:.96rem;max-width:62em}
:where(.md-sgbz) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-sgbz) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-sgbz) .topics--cols li{break-inside:avoid}}
:where(.md-sgbz) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-sgbz) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-sgbz) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-sgbz) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-sgbz) table.price .thumb{width:92px}
:where(.md-sgbz) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-sgbz) table.price th[scope="row"]{white-space:nowrap}
:where(.md-sgbz) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-sgbz) table.price .num{white-space:normal}
  :where(.md-sgbz) table.price th[scope="row"]{white-space:normal}
  :where(.md-sgbz) table.price td .v{text-align:right}
  :where(.md-sgbz) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-sgbz) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-sgbz) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-sgbz) .preise-extra .sticker{margin:0 auto}
:where(.md-sgbz) .staffel{align-items:start}

/* Kombi-Rabatt mit WzS und ZESAR (PDF-Seite 5, unter der Tabelle) */
:where(.md-sgbz) .kombi-hint{margin:1.25rem 0 0;padding:.8rem 1.1rem;border-left:4px solid var(--title-red);background:var(--accent-soft);
  border-radius:0 10px 10px 0;font-size:.96rem;max-width:60em}

/* Kontakt: Foto rund wie im PDF */
:where(.md-sgbz) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-sgbz) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-sgbz) .foot__person{flex-direction:column}}

@media print{
  :where(.md-sgbz) .sticker--accent,:where(.md-sgbz) .bubble,:where(.md-sgbz) .metabox--accent ul,:where(.md-sgbz) .foot__photo,:where(.md-sgbz) .kombi-hint{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-sgbz) .brand--logo img{width:46mm}
  :where(.md-sgbz) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-sgbz) .topics{padding:3mm 4mm}
  :where(.md-sgbz) .topics + .topics{margin-top:3mm}
  /* Ausgaben im Druck 4-spaltig (12 Ausgaben = 3 Zeilen), Themen-Text darunter */
  :where(.md-sgbz) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-sgbz) #termine .issue{padding:2mm 3mm}
  :where(.md-sgbz) #termine .issue dt,:where(.md-sgbz) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-sgbz) #termine .issue__no{margin-bottom:1mm}
  :where(.md-sgbz) #termine .deadline{margin-bottom:2mm}
  :where(.md-sgbz) .topics-row{margin-top:3mm}
  /* 12 Ausgaben: Karten verdichten, damit der Themenkasten auch mit allen Ausgaben auf die Seite passt */
  :where(.md-sgbz) #termine .sec__head{margin-bottom:2mm}
  :where(.md-sgbz) #termine .issue{padding:1.4mm 2.4mm}
  :where(.md-sgbz) #termine .issue dt,:where(.md-sgbz) #termine .issue dd{font-size:7.4pt;line-height:1.1;padding-top:.15mm;padding-bottom:.15mm}
  :where(.md-sgbz) #termine .issue__no{margin-bottom:.6mm;font-size:8pt}
  :where(.md-sgbz) #termine .topics{padding:2.5mm 4mm}
  :where(.md-sgbz) #termine .topics p{max-width:none}
  :where(.md-sgbz) #termine .deadline{padding:2.5mm 4mm;margin-bottom:1mm}
  :where(.md-sgbz) #termine .toolbar{margin:0 0 1.2mm}
  :where(.md-sgbz) #termine .issue__badge{font-size:6.4pt;padding:0 1.4mm;margin-top:0;margin-bottom:.4mm;line-height:1.5}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-sgbz) #kontakt{break-before:page}
  :where(.md-sgbz) .kombi-hint{margin-top:2.5mm;padding:1.5mm 3mm;font-size:8.4pt}
  :where(.md-sgbz) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-sgbz) .topics p{font-size:8.8pt}
  :where(.md-sgbz) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-sgbz) table.price .thumb{width:20mm}
  :where(.md-sgbz) #preise .fmt{width:5mm;height:7mm}
  :where(.md-sgbz) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-sgbz) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-sgbz) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-sgbz) #preise .sub{margin-bottom:1mm}
  :where(.md-sgbz) table.price .sub{font-size:7.6pt}
  :where(.md-sgbz) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-sgbz) #preise table.price td,:where(.md-sgbz) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-sgbz) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-sgbz) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-sgbz) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-sgbz) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-sgbz) #preise .aside p{margin-bottom:1mm}
  :where(.md-sgbz) #konditionen .stack,:where(.md-sgbz) #online-konditionen .stack{gap:3.5mm}
  :where(.md-sgbz) #konditionen .block+.block{margin-top:0}
  :where(.md-sgbz) #konditionen table.mini th,:where(.md-sgbz) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-sgbz) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-sgbz) #konditionen p,:where(.md-sgbz) #konditionen dd{font-size:8.6pt;line-height:1.3}
  /* Inline-Stile (Bankverbindung, Rabatt-Hinweis) im Druck nicht groesser als der Text */
  :where(.md-sgbz) #konditionen p[style],:where(.md-sgbz) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-sgbz) .metabox--accent{padding:5mm}
  :where(.md-sgbz) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-sgbz) #online-preise table.price td,:where(.md-sgbz) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-sgbz) #online-preise .wf{max-width:20mm}
  :where(.md-sgbz) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-sgbz) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-sgbz) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-sgbz) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-sgbz) #website .media p{font-size:9pt;line-height:1.35}
  :where(.md-sgbz) #online-konditionen table.mini th,:where(.md-sgbz) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-sgbz) #online-konditionen p{font-size:8.6pt;line-height:1.3}
  :where(.md-sgbz) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm}
  :where(.md-sgbz) #portraet .block p,:where(.md-sgbz) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-sgbz) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-sgbz) #portraet .stack{gap:4.5mm}
  :where(.md-sgbz) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-sgbz) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-sgbz) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Infodienst (nur ein Bild): zweite Spalte mit Hinweis auf die Werbeform */
:where(.md-sgbz) .nl-hint{background:#fff;border:1px solid var(--line,#DCE6EF);border-radius:14px;padding:1.25rem 1.4rem}
:where(.md-sgbz) .nl-hint h3{margin:0 0 .5rem;font-size:1.05rem}
:where(.md-sgbz) .nl-hint p{margin:0 0 .8rem}
:where(.md-sgbz) .hero__facts li > b{white-space:nowrap}


/* =====================================================================
   TITELSPEZIFISCH: sicher ist sicher
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S und BePr 2026, Stand NT3). Hier stehen nur
   Ergaenzungen fuer diesen Titel: Titelfarbe Gelb (aus dem Print-PDF),
   Titel-Logo als SVG, zusaetzliche Bausteine (Termine mit Schwerpunkt/
   Messe, Preistabelle mit Titelseite, U-Seiten, s/w und 4c, Doppel-
   Formatskizzen, Sonderwerbeformen, Sonderplatzierungen, Video-/Text-
   Skizze, Kombi-Seite) und deren Druckregeln. Aufbau wie BePr.
   ===================================================================== */
:root:where(.md-sis){
  --accent:#FFD600;        /* SiS-Gelb aus dem PDF (Logo, Sticker, Blasen, Kreise) */
  --accent-ink:#004F9F;    /* Schrift auf Gelb, wie im PDF (Kontrast 6:1) */
  --accent-text:#FFCC00;   /* Gelb als Schrift nur auf der Inhaltsseite wie im PDF (Kontrast 1,6:1, nur fett) */
  --accent-soft:#FFF7CC;   /* helle Gelb-Tonflaeche */
}

/* Titel-Logo "sicher ist sicher" (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-sis) .brand--logo img{display:block;width:clamp(260px,20rem + 6vw,440px);max-width:100%;height:auto}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben gelb wie im PDF */
:where(.md-sis) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-sis) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-sis) .track__sub--accent a:hover,:where(.md-sis) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-sis) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-sis) .track li .key--none{visibility:hidden}

/* Split-Bar: Anteil kommt aus dem HTML (style="flex-basis:..."), nicht mehr aus dem CSS */
:where(.md-sis) .split-bar .in{flex:0 0 auto}

/* Akzent: Sticker, Info-Blasen, Kreise, Werbemittel in den Skizzen */
:where(.md-sis) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(150,120,0,.22)}
:where(.md-sis) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-sis) .bubble b{color:var(--accent-ink)}
:where(.md-sis) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}
:where(.md-sis) .wf__ad{background:var(--accent)}
:where(.md-sis) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-sis) .metabox--accent li::before{background:var(--accent-ink)}

/* Termine: Schwerpunkt und Messe/Ausstellung je Ausgabe – jeweils OPTIONAL,
   siehe DATENPFLEGE-Kommentar im Kopf. Fehlt fuer eine Ausgabe die Messe-
   Liste, entfaellt im Markup der ganze issue__events-Block (nicht leer
   lassen) – die Karte wird dann einfach kuerzer. */
@media (min-width:1000px){:where(.md-sis) .issues--rich{grid-template-columns:repeat(2,1fr)}}
:where(.md-sis) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-sis) .issue__topic{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair);font-size:.95rem}
:where(.md-sis) .issue__topic p{margin:0}
:where(.md-sis) .issue__lbl{display:block;font-size:.78rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--blue);margin-bottom:.15rem}
:where(.md-sis) .issue__events{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair)}
:where(.md-sis) .issue__events ul{list-style:none;margin:0;padding:0;font-size:.9rem}
:where(.md-sis) .issue__events li{display:grid;grid-template-columns:6.8rem 1fr;gap:.6rem;padding:.2rem 0}
:where(.md-sis) .issue__events time{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
:where(.md-sis) .issue__events b{font-weight:600}
/* Link je Veranstaltung (im Editor optional): Textfarbe, hellblaue Unterstreichung */
:where(.md-sis) .issue__events span a{color:inherit;text-decoration-color:var(--hair)}
:where(.md-sis) .issue__events span a:hover,:where(.md-sis) .issue__events span a:focus-visible{color:var(--blue)}
:where(.md-sis) .issue--past .issue__topic,:where(.md-sis) .issue--past .issue__events,:where(.md-sis) .issue--past .issue__lbl{color:#8B98A5}

/* Preistabelle (Titelseite, U-Seiten, s/w und 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-sis) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-sis) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-sis) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-sis) .fmt--cover{background:linear-gradient(160deg,#DDEAF6,#fff)}
:where(.md-sis) .fmt--cover i{inset:3px 3px auto 3px;height:54%;background:var(--accent);border-color:#D9B500}
:where(.md-sis) table.price .thumb{width:92px}
:where(.md-sis) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-sis) table.price th[scope="row"]{white-space:nowrap}
:where(.md-sis) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-sis) table.price .num{white-space:normal}
  :where(.md-sis) table.price th[scope="row"]{white-space:normal}
  :where(.md-sis) table.price td .v{text-align:right}
  :where(.md-sis) table.price td.merge{justify-content:space-between}
  :where(.md-sis) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-sis) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-sis) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-sis) .preise-extra .sticker{margin:0 auto}

/* Sonderplatzierungen: Aufmacher-Karte + vier Karten (Spalten minmax(0,1fr), siehe start-hier) */
:where(.md-sis) .promos{display:grid;gap:1.25rem}
@media (min-width:820px){:where(.md-sis) .promos{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-sis) .promo > div{min-width:0}
:where(.md-sis) .promo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.25rem;align-items:start;
  background:linear-gradient(158deg,#EEF5FC,#E1ECF7);padding:clamp(1.1rem,3vw,1.5rem)}
:where(.md-sis) .promo h3{font-size:1.18rem;color:var(--blue);margin-bottom:.55rem}
:where(.md-sis) .promo p{font-size:.95rem;margin-bottom:.45rem}
:where(.md-sis) .promo .price-tag{font-weight:700;color:var(--blue-900)}
:where(.md-sis) .promo img{width:clamp(110px,14vw,160px);filter:drop-shadow(0 10px 16px rgba(0,52,105,.2))}
:where(.md-sis) .promo__media{display:flex;flex-direction:column;align-items:center;gap:.5rem}
:where(.md-sis) .promo__media .round{width:70px;border-radius:50%;filter:none;box-shadow:0 4px 12px rgba(0,52,105,.2)}
@media (max-width:480px){:where(.md-sis) .promo{grid-template-columns:1fr}:where(.md-sis) .promo__media{align-items:flex-start}}
/* Aufmacher "Titel + Produktbericht + Online-Praesenz" (blaue Flaeche im PDF) */
:where(.md-sis) .promo--lead{grid-column:1/-1;background:var(--blue);color:#EAF4FC;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
:where(.md-sis) .promo--lead h3{color:#fff}
:where(.md-sis) .promo--lead .price-tag{color:#fff}
:where(.md-sis) .promo--lead p{color:#D6E8F8}
:where(.md-sis) .promo--lead strong{color:#fff}
:where(.md-sis) .promo--lead .sticker{color:var(--accent-ink);width:clamp(150px,16vw,190px);margin:0;padding:1.1rem;font-size:clamp(.95rem,.9rem + .2vw,1.08rem)}
:where(.md-sis) .promo--lead img{width:clamp(180px,24vw,300px)}
@media (max-width:819px){:where(.md-sis) .promo--lead{grid-template-columns:1fr}:where(.md-sis) .promo--lead .sticker{margin:0 auto}}

/* Werbeform-Skizzen Video Ad (Play-Symbol) und Text-Anzeige */
:where(.md-sis) .wf--video .wf__ad{right:7%;bottom:10%;width:14%;height:18%}
:where(.md-sis) .wf--video .wf__ad::after{content:"";position:absolute;left:38%;top:26%;border-left:7px solid #fff;
  border-top:5px solid transparent;border-bottom:5px solid transparent}
:where(.md-sis) .wf--text .wf__ad{left:7%;right:42%;top:30%;height:44%;background:#fff;border:2px solid var(--accent)}
:where(.md-sis) table.price td.merge{text-align:center}

/* Kooperationshinweis Stellenanzeigen (gelber Kreis im PDF) */
:where(.md-sis) .coop{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--accent);color:var(--accent-ink);
  padding:.8rem 1rem;font-size:.95rem;font-weight:600;margin-bottom:1.25rem}
:where(.md-sis) .coop strong{font-weight:700}
:where(.md-sis) .coop img{width:120px;height:auto;background:#fff;padding:4px 6px}

/* Die Welt der Betriebssicherheit (PDF-Seite 19) */
:where(.md-sis) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-sis) .kombi__claim span{color:var(--cyan-text)}
:where(.md-sis) .kombi{display:grid;gap:1.25rem}
@media (min-width:820px){:where(.md-sis) .kombi{grid-template-columns:repeat(3,1fr)}}
:where(.md-sis) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem}
:where(.md-sis) .kombi__item img{display:block;width:100%;max-width:300px;margin:0 auto;filter:drop-shadow(0 10px 18px rgba(0,52,105,.18))}
:where(.md-sis) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-sis) .kombi__item p{margin:0;font-size:.95rem}

/* Legende Ringdiagramm: lange Bezeichnungen ("Berufsgenossenschaften/Verbände") bei 320 px umbrechen */
@media (max-width:400px){:where(.md-sis) #empfaenger .legend li{overflow-wrap:anywhere;min-width:0}}

/* Konditionen: Sonderwerbeformen (PDF-Seite 7, Punkt 6) */
:where(.md-sis) .dl--sonder dt sup{color:var(--muted)}
:where(.md-sis) #konditionen .notes{margin-top:.6rem}

@media print{
  :where(.md-sis) .sticker--accent,:where(.md-sis) .bubble,:where(.md-sis) .metabox--accent ul,:where(.md-sis) .promo,:where(.md-sis) .promo--lead,:where(.md-sis) .coop,:where(.md-sis) .issue__lbl,:where(.md-sis) .kombi__item,
  :where(.md-sis) .fmt--cover,:where(.md-sis) .fmt--cover i{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-sis) .brand--logo img{width:78mm}
  :where(.md-sis) .issues--rich{grid-template-columns:1fr 1fr 1fr;gap:3mm}
  :where(.md-sis) .issue{padding:2.5mm 3mm}
  :where(.md-sis) .issue__events li{grid-template-columns:20mm 1fr;padding:.3mm 0}
  :where(.md-sis) .issue__topic,:where(.md-sis) .issue__events{margin-top:2mm;padding-top:1.6mm}
  :where(.md-sis) .issue__events ul{font-size:7.8pt}
  :where(.md-sis) table.price .thumb{width:20mm}
  :where(.md-sis) #preise .fmt{width:5mm;height:7mm}
  :where(.md-sis) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-sis) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-sis) #preise .fmt--cover i{inset:1px 1px auto 1px}
  :where(.md-sis) #preise table.price{font-size:8pt;line-height:1.2}
  :where(.md-sis) #preise .sub{margin-bottom:1mm}
  :where(.md-sis) table.price .sub{font-size:7.6pt}
  :where(.md-sis) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-sis) #preise table.price td,:where(.md-sis) #preise table.price th[scope="row"]{padding:.9mm 2mm}
  :where(.md-sis) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-sis) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-sis) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-sis) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-sis) #preise .aside p{margin-bottom:1mm}
  :where(.md-sis) #konditionen .stack,:where(.md-sis) #online-konditionen .stack{gap:4mm}
  :where(.md-sis) #konditionen .block+.block{margin-top:0}
  :where(.md-sis) #konditionen table.mini th,:where(.md-sis) #konditionen table.mini td{padding:.7mm 1.5mm}
  :where(.md-sis) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-sis) #konditionen .dl__row dd,:where(.md-sis) #konditionen .block p{font-size:8.6pt;line-height:1.32}
  :where(.md-sis) #konditionen .dl__row{padding-top:1.2mm;padding-bottom:1.2mm}
  :where(.md-sis) #konditionen .notes{font-size:7.4pt;margin-top:1mm}
  :where(.md-sis) .metabox--accent{padding:5mm}
  :where(.md-sis) .promos{grid-template-columns:1fr 1fr;gap:3.5mm}
  :where(.md-sis) .promo{padding:3.5mm;break-inside:avoid}
  :where(.md-sis) .promo p{font-size:8.4pt;margin-bottom:1mm}
  :where(.md-sis) .promo h3{font-size:10.5pt;margin-bottom:1mm}
  :where(.md-sis) .promo img{width:26mm}
  :where(.md-sis) .promo--lead{grid-template-columns:auto minmax(0,1fr) auto}
  :where(.md-sis) .promo--lead .sticker{width:30mm;padding:2mm;font-size:8pt}
  :where(.md-sis) .promo--lead img{width:44mm}
  :where(.md-sis) .promo__media .round{width:13mm}
  :where(.md-sis) #stellen .media img{max-height:70mm;width:auto}
  :where(.md-sis) #online-preise table.price td,:where(.md-sis) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-sis) #online-preise .wf{max-width:20mm}
  :where(.md-sis) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-sis) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-sis) .kombi{grid-template-columns:repeat(3,1fr);gap:5mm}
  :where(.md-sis) .kombi__item{padding:3mm;break-inside:avoid}
  :where(.md-sis) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-sis) #formate .dl__row,:where(.md-sis) #stellen .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-sis) #website .dl__row{grid-template-columns:26mm 1fr}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig, damit Kontakt + Footer auf eine Seite passen */
  :where(.md-sis) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-sis) #kontakt .team b{display:inline;margin-right:1.5mm}
  :where(.md-sis) #kontakt h2{margin-bottom:2mm}
  /* Kontakt beginnt auf eigener Seite (Kombi-Seite davor), ESV-Footer bleibt mit drauf */
  :where(.md-sis) #kontakt{break-before:page}
  :where(.md-sis) #impressum{break-before:avoid}   /* seit NT3-Footer: <footer> ohne Klasse */
}


/* =====================================================================
   TITELSPEZIFISCH: SRTour – Steuer- und RechtsBrief Touristik
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelorange (aus dem Print-PDF), Titel-Logo als SVG mit
   Unterzeile, Info-Blasen und Sticker orange mit dunkler Schrift (weiss waere
   nur 2,8:1), Meta-Kreis hell, 12 Termine mit Themenkasten, Preistabelle mit
   einer Zeile (U-Seiten), Website-Werbeformen + Rubrik Stellenanzeigen (Muster
   Stellenmarkt-Titel), Newsletter + Infodienst, Kombi-Seite "Die Welt des Steuerrechts",
   Kontaktfoto und deren Druckregeln (Muster der Steuer-Titel und Stellenmarkt-Titel).
   ===================================================================== */
:root:where(.md-srtour){
  --accent:#E9821A;        /* Orange der Info-Blasen und des Stickers im PDF (Logo #EF7D00) */
  --accent-ink:#1D1C1B;    /* dunkle Schrift auf Orange (6,4:1; weiss wie im PDF nur 2,8:1) */
  --accent-text:#A85400;   /* dunkles Orange fuer Schrift auf der Inhaltsseite (5,3:1; PDF #E9821A nur 2,8:1) */
  --accent-soft:#FDF0E3;   /* helle Tonflaeche */
  --sticker:#E9821A;
  --sticker-ink:#1D1C1B;
  --meta:#DFE1F1;          /* Kreis Meta-Informationen: helles Blaugrau wie im PDF */
  --meta-ink:#004F9F;      /* Schrift im Meta-Kreis wie im PDF (7,0:1) */
  --title-ink:#0B4391;     /* Unterzeile im Logo-Blau */
  --title-green:#004F9F;   /* Aufzaehlungspunkte im Meta-Kreis */
  --ad:#E9821A;            /* Werbemittel in den Online-Skizzen, orange wie im PDF */
  --job:#F9D4B0;           /* Hinweiskreis Jobware (PDF), Schrift #004F9F (6,0:1) */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-srtour) .brand--logo img{display:block;width:clamp(220px,12rem + 6vw,340px);max-width:100%;height:auto}
:where(.md-srtour) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;letter-spacing:.02em;line-height:1.3;color:var(--title-ink);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-srtour) .hero__facts li{min-width:0}
:where(.md-srtour) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben titelrot wie im PDF */
:where(.md-srtour) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-srtour) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-srtour) .track__sub--accent a:hover,:where(.md-srtour) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-srtour) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-srtour) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-srtour) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(233,130,26,.3)}
:where(.md-srtour) .sticker--accent sup{color:inherit}
:where(.md-srtour) .wf__ad{background:var(--ad)}
:where(.md-srtour) .metabox--accent ul{background:var(--meta);color:var(--meta-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-srtour) .metabox--accent li::before{background:var(--title-green)}
/* Info-Blasen "Dateiformate und Farben": orange wie im PDF, Schrift dunkel (Kontrast) */
:where(.md-srtour) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-srtour) .bubble b{color:var(--accent-ink)}
:where(.md-srtour) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe (12 Ausgaben); die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter mit Einleitung + Liste, wie im PDF) */
:where(.md-srtour) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-srtour) .topics + .topics{margin-top:1rem}
:where(.md-srtour) .topics p{margin:0;font-size:.96rem;max-width:62em}
:where(.md-srtour) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-srtour) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-srtour) .topics--cols li{break-inside:avoid}}
:where(.md-srtour) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-srtour) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-srtour) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-srtour) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-srtour) table.price .thumb{width:92px}
:where(.md-srtour) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-srtour) table.price th[scope="row"]{white-space:nowrap}
:where(.md-srtour) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-srtour) table.price .num{white-space:normal}
  :where(.md-srtour) table.price th[scope="row"]{white-space:normal}
  :where(.md-srtour) table.price td .v{text-align:right}
  :where(.md-srtour) #preise table.price .thumb{grid-row:span 4}
}
:where(.md-srtour) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-srtour) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-srtour) .preise-extra .sticker{margin:0 auto}
:where(.md-srtour) .staffel{align-items:start}


/* Kontakt: Foto rund wie im PDF */
:where(.md-srtour) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-srtour) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-srtour) .foot__person{flex-direction:column}}

@media print{
  :where(.md-srtour) .sticker--accent,:where(.md-srtour) .bubble,:where(.md-srtour) .metabox--accent ul,:where(.md-srtour) .kombi__item,:where(.md-srtour) .wf__ad,:where(.md-srtour) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-srtour) .brand--logo img{width:58mm}
  :where(.md-srtour) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-srtour) .topics{padding:3mm 4mm}
  :where(.md-srtour) .topics + .topics{margin-top:3mm}
  /* Ausgaben im Druck 4-spaltig (12 Ausgaben = 3 Zeilen), Themen-Text darunter */
  :where(.md-srtour) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-srtour) #termine .issue{padding:2mm 3mm}
  :where(.md-srtour) #termine .issue dt,:where(.md-srtour) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-srtour) #termine .issue__no{margin-bottom:1mm}
  :where(.md-srtour) #termine .deadline{margin-bottom:2mm}
  :where(.md-srtour) .topics-row{margin-top:3mm}
  /* 12 Ausgaben: Karten verdichten, damit der Themenkasten auch mit allen Ausgaben auf die Seite passt */
  :where(.md-srtour) #termine .sec__head{margin-bottom:2mm}
  :where(.md-srtour) #termine .issue{padding:1.4mm 2.4mm}
  :where(.md-srtour) #termine .issue dt,:where(.md-srtour) #termine .issue dd{font-size:7.4pt;line-height:1.1;padding-top:.15mm;padding-bottom:.15mm}
  :where(.md-srtour) #termine .issue__no{margin-bottom:.6mm;font-size:8pt}
  :where(.md-srtour) #termine .topics{padding:2.5mm 4mm}
  :where(.md-srtour) #termine .topics p{max-width:none}
  :where(.md-srtour) #termine .deadline{padding:2.5mm 4mm;margin-bottom:1mm}
  :where(.md-srtour) #termine .toolbar{margin:0 0 1.2mm}
  :where(.md-srtour) #termine .issue__badge{font-size:6.4pt;padding:0 1.4mm;margin-top:0;margin-bottom:.4mm;line-height:1.5}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-srtour) #kontakt{break-before:page}
  :where(.md-srtour) #termine .topics--cols ul{columns:3;column-gap:6mm}
  :where(.md-srtour) #termine .topics p + ul{margin-top:1mm}
  /* Themenliste unter 12 Ausgaben verdichtet (Muster der Steuer-Titel), sonst springt der Kasten mit allen
     Ausgaben auf eine Extraseite */
  :where(.md-srtour) #termine .deadline{padding:1.6mm 4mm;margin-bottom:.8mm}
  :where(.md-srtour) #termine .deadline .btn{padding:1mm 3mm;font-size:8pt}
  :where(.md-srtour) #termine .topics h3{display:inline;margin:0 2mm 0 0}
  :where(.md-srtour) #termine .topics h3 + p{display:inline}
  :where(.md-srtour) #termine .topics li{font-size:8pt;line-height:1.2;padding-top:.3mm;padding-bottom:.3mm;margin-bottom:.4mm}
  :where(.md-srtour) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-srtour) .topics p{font-size:8.8pt}
  :where(.md-srtour) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-srtour) table.price .thumb{width:20mm}
  :where(.md-srtour) #preise .fmt{width:5mm;height:7mm}
  :where(.md-srtour) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-srtour) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-srtour) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-srtour) #preise .sub{margin-bottom:1mm}
  :where(.md-srtour) table.price .sub{font-size:7.6pt}
  :where(.md-srtour) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-srtour) #preise table.price td,:where(.md-srtour) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-srtour) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-srtour) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-srtour) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-srtour) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-srtour) #preise .aside p{margin-bottom:1mm}
  :where(.md-srtour) #konditionen .stack,:where(.md-srtour) #online-konditionen .stack{gap:3.5mm}
  :where(.md-srtour) #konditionen .block+.block{margin-top:0}
  :where(.md-srtour) #konditionen table.mini th,:where(.md-srtour) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-srtour) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-srtour) #konditionen p,:where(.md-srtour) #konditionen dd{font-size:8.6pt;line-height:1.3}
  /* Inline-Stile (Bankverbindung, Rabatt-Hinweis) im Druck nicht groesser als der Text */
  :where(.md-srtour) #konditionen p[style],:where(.md-srtour) #online-preise p[style],:where(.md-srtour) #online-konditionen p[style]{font-size:8.6pt!important}
  /* Website-Preise + Konditionen Website auf einer Seite (Muster Stellenmarkt-Titel) */
  :where(.md-srtour) #online-preise .grid2{margin-top:4mm !important;gap:6mm}
  :where(.md-srtour) #online-preise .stack{gap:3mm}
  :where(.md-srtour) #online-preise p,:where(.md-srtour) #online-preise dd{font-size:8.6pt;line-height:1.3}
  :where(.md-srtour) #online-preise table.mini th,:where(.md-srtour) #online-preise table.mini td{padding:.6mm 1.5mm}
  /* Stellenanzeigen */
  :where(.md-srtour) #stellenanzeigen table.price td,:where(.md-srtour) #stellenanzeigen table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-srtour) #stellenanzeigen .dl__row{grid-template-columns:32mm 1fr}
  :where(.md-srtour) #stellenanzeigen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-srtour) .job{margin-top:4mm;gap:6mm}
  :where(.md-srtour) .job__fig img{max-height:62mm}
  :where(.md-srtour) .job__sticker{width:30mm;padding:2.5mm;font-size:8pt}
  :where(.md-srtour) .job__sticker{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-srtour) .metabox--accent{padding:5mm}
  :where(.md-srtour) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-srtour) #online-preise table.price td,:where(.md-srtour) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-srtour) #online-preise .wf{max-width:20mm}
  :where(.md-srtour) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-srtour) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-srtour) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-srtour) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-srtour) #website .media p{font-size:9pt;line-height:1.35}
  :where(.md-srtour) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:180mm}
  :where(.md-srtour) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-srtour) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-srtour) .kombi__item p{font-size:9pt}
  :where(.md-srtour) #online-konditionen table.mini th,:where(.md-srtour) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-srtour) #online-konditionen p{font-size:8.6pt;line-height:1.3}
  :where(.md-srtour) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm}
  :where(.md-srtour) #portraet .block p,:where(.md-srtour) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-srtour) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-srtour) #portraet .stack{gap:4.5mm}
  :where(.md-srtour) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-srtour) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-srtour) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Termin-Karten: 4 Daten passen am Bildschirm nur 2 x 2 */
@media screen and (min-width:640px){:where(.md-srtour) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-srtour) .url,:where(.md-srtour) .track__sub,:where(.md-srtour) .kombi__item p,:where(.md-srtour) #kontakt p{overflow-wrap:anywhere}

/* Kombi-Seite "Die Welt des Steuerrechts" (2 Titel) */
:where(.md-srtour) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-srtour) .kombi__claim span{color:var(--cyan-text)}
:where(.md-srtour) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr);max-width:760px}
@media (min-width:560px){:where(.md-srtour) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-srtour) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent-text);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-Fotos haben einen weissen Rand (kein Alpha) */
:where(.md-srtour) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-srtour) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-srtour) .kombi__item p{margin:0;font-size:.95rem}

/* Rubrik Stellenanzeigen (PDF-Seite 10, Muster Stellenmarkt-Titel): Tabelle ohne Skizzenspalte, Hinweis-Kreis Jobware am Bild
   (als Text statt Jobware-Logo) */
:where(.md-srtour) table.price--job th[scope="row"]{white-space:normal;min-width:9rem}
:where(.md-srtour) table.price--job td[data-label="Format"]{min-width:14rem}
:where(.md-srtour) .job{margin-top:2rem}
:where(.md-srtour) .job__fig{position:relative}
:where(.md-srtour) .job__fig img{display:block;width:100%;max-width:560px;height:auto;margin-inline:auto}
:where(.md-srtour) .job__sticker{background:var(--job);color:#004F9F;width:min(100%,180px);font-size:.98rem;font-weight:600;padding:1.2rem;margin:0 auto 1rem}
:where(.md-srtour) .job__sticker b{font-weight:700}
@media (min-width:900px){:where(.md-srtour) .job__sticker{position:absolute;right:0;top:-1.5rem;z-index:1;margin:0}}

/* Preisliste mit nur einer Zeile (U-Seiten): Tabelle am Bildschirm nicht ueber die volle Breite ziehen */
@media screen and (min-width:900px){:where(.md-srtour) #preise .tablewrap{max-width:860px}}


/* =====================================================================
   TITELSPEZIFISCH: Stiftung & Sponsoring
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI). Hier stehen nur Ergaenzungen fuer diesen Titel:
   Akzentfarbe Rot (aus dem Print-PDF), zusaetzliche Bausteine
   (Termine mit Schwerpunkt/Rote Seiten/Messen, Doppel-Formatskizzen,
   Sonderwerbeformen-Karten, Video-Skizze) und deren Druckregeln.
   ===================================================================== */
:root:where(.md-sus){
  --accent:#DC0A35;        /* S&S-Rot (Sticker, Rote Seiten, Werbemittel) */
  --accent-text:#C4082F;   /* etwas dunkler fuer Text auf Weiss (Kontrast) */
  --accent-soft:#F9D9D2;   /* Rosé der Info-Blasen im PDF */
}

/* Logo als Bild (im PDF nur als Rastergrafik vorhanden) */
:where(.md-sus) .brand--logo img{display:block;width:clamp(210px,26vw,330px);height:auto}
:where(.md-sus) .hero__claim{margin-top:.6rem}

/* Inhalt (#ueberblick): Unterzeilen der Tracks rot wie im PDF, rechts zweizeilig */
:where(.md-sus) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-sus) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-sus) .track__sub--accent a:hover{text-decoration:underline}

/* Split-Bar: Anteil kommt aus dem HTML (style="flex-basis:..."), nicht mehr aus dem CSS */
:where(.md-sus) .split-bar .in{flex:0 0 auto}

/* Akzent: Sticker, Info-Blasen, Werbemittel in den Skizzen */
:where(.md-sus) .sticker--accent{background:var(--accent);color:#fff;box-shadow:0 8px 22px rgba(160,0,30,.22)}
:where(.md-sus) .bubble{background:var(--accent-soft)}
:where(.md-sus) .bubble--avoid{background:#FDF1EE;border-color:var(--accent)}
:where(.md-sus) .wf__ad{background:var(--accent)}
:where(.md-sus) .metabox--accent ul{background:var(--accent);color:#fff;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
/* justify-content:center: Liste als Block mittig im Kreis (Spalte so breit wie die längste Zeile) */
:where(.md-sus) .metabox--accent li::before{background:#fff}

/* Termine: Schwerpunkt, Rote Seiten, Messen je Ausgabe – jeweils OPTIONAL,
   siehe DATENPFLEGE-Kommentar in head.html. Fehlt fuer eine Ausgabe z.B.
   die Veranstaltungsliste, entfaellt im Markup der ganze issue__events-Block
   (nicht leer lassen) – die Karte wird dann einfach kuerzer. */
@media (min-width:1000px){:where(.md-sus) .issues--rich{grid-template-columns:repeat(2,1fr)}}
:where(.md-sus) .issue__topic{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair);font-size:.95rem}
:where(.md-sus) .issue__topic p{margin:0}
:where(.md-sus) .issue__topic + .issue__topic{border-top:0;padding-top:0;margin-top:.55rem}
:where(.md-sus) .issue__lbl{display:block;font-size:.78rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--blue);margin-bottom:.15rem}
:where(.md-sus) .issue__topic--rs .issue__lbl{color:var(--accent-text)}
:where(.md-sus) .issue__events{margin-top:.9rem;padding-top:.75rem;border-top:1px dotted var(--hair)}
:where(.md-sus) .issue__events ul{list-style:none;margin:0;padding:0;font-size:.9rem}
:where(.md-sus) .issue__events li{display:grid;grid-template-columns:6.4rem 1fr;gap:.6rem;padding:.2rem 0}
:where(.md-sus) .issue__events time{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
:where(.md-sus) .issue--past .issue__topic,:where(.md-sus) .issue--past .issue__events{color:#8B98A5}
:where(.md-sus) .issue__events span a{color:inherit;text-decoration:underline;text-decoration-color:var(--hair);text-underline-offset:.18em}
:where(.md-sus) .issue__events span a:hover{color:var(--blue);text-decoration-color:currentColor}
:where(.md-sus) .issue--past .issue__lbl{color:#8B98A5}

/* Preistabelle mit zwei Preisspalten und Doppel-Skizzen (hoch/quer) */
:where(.md-sus) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-sus) .fmt--spread{width:76px}
:where(.md-sus) .fmt--spread::after{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:1px solid var(--blue)}
:where(.md-sus) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px;width:46%}
:where(.md-sus) .fmt i.hq{left:2px;right:auto;bottom:2px;width:46%}
:where(.md-sus) table.price .thumb{width:92px}
:where(.md-sus) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-sus) table.price th[scope="row"]{white-space:nowrap}
@media (max-width:719px){
  :where(.md-sus) table.price .num{white-space:normal}
  :where(.md-sus) table.price th[scope="row"]{white-space:normal}
  :where(.md-sus) table.price td .v{text-align:right}
  :where(.md-sus) table.price td.merge{justify-content:space-between}
  :where(.md-sus) #preise table.price .thumb{grid-row:span 6}
}
:where(.md-sus) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-sus) .preise-extra{grid-template-columns:auto auto minmax(0,1fr)}}
:where(.md-sus) .preise-extra .sticker{margin:0 auto}
:where(.md-sus) .preise-extra .covers{margin:0}
:where(.md-sus) .covers{display:flex;gap:1rem;justify-content:center;align-items:flex-end;margin:0 0 1.25rem}
:where(.md-sus) .covers img{width:130px;filter:drop-shadow(0 10px 18px rgba(0,52,105,.22))}

/* Sonderwerbeformen: vier Karten */
:where(.md-sus) .promos{display:grid;gap:1.25rem}
@media (min-width:820px){:where(.md-sus) .promos{grid-template-columns:1fr 1fr}}
:where(.md-sus) .promo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.25rem;align-items:start;
  background:linear-gradient(158deg,#EEF5FC,#E1ECF7);padding:clamp(1.1rem,3vw,1.5rem)}
:where(.md-sus) .promo h3{font-size:1.18rem;color:var(--blue);margin-bottom:.55rem}
:where(.md-sus) .promo p{font-size:.95rem;margin-bottom:.45rem}
:where(.md-sus) .promo .price-tag{font-weight:700;color:var(--blue-900)}
:where(.md-sus) .promo img{width:clamp(110px,14vw,150px);filter:drop-shadow(0 10px 16px rgba(0,52,105,.2))}
:where(.md-sus) .promo__media{display:flex;flex-direction:column;align-items:center;gap:.5rem}
:where(.md-sus) .promo__media .round{width:70px;border-radius:50%;filter:none;box-shadow:0 4px 12px rgba(0,52,105,.2)}
@media (max-width:480px){:where(.md-sus) .promo{grid-template-columns:1fr}:where(.md-sus) .promo__media{align-items:flex-start}}

/* Werbeform-Skizze Video Ad (Play-Symbol) */
:where(.md-sus) .wf--video .wf__ad{right:7%;bottom:10%;width:14%;height:18%}
:where(.md-sus) .wf--video .wf__ad::after{content:"";position:absolute;left:38%;top:26%;border-left:7px solid #fff;
  border-top:5px solid transparent;border-bottom:5px solid transparent}
:where(.md-sus) .wf--text .wf__ad{left:7%;right:42%;top:30%;height:44%;background:#fff;border:2px solid var(--accent)}
:where(.md-sus) table.price td.merge{text-align:center}

/* Kooperationshinweis Stellenanzeigen */
:where(.md-sus) .coop{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--accent-soft);
  padding:.8rem 1rem;font-size:.95rem;margin-bottom:1.25rem}
:where(.md-sus) .coop img{width:120px;height:auto;background:#fff;padding:4px 6px}

@media print{
  :where(.md-sus) .sticker--accent,:where(.md-sus) .bubble,:where(.md-sus) .metabox--accent ul,:where(.md-sus) .promo,:where(.md-sus) .coop,:where(.md-sus) .fmt--spread,:where(.md-sus) .issue__lbl{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-sus) .brand--logo img{width:62mm}
  :where(.md-sus) .issues--rich{grid-template-columns:1fr 1fr 1fr;gap:3mm}
  :where(.md-sus) .issue{padding:2.5mm 3mm}
  :where(.md-sus) .issue__events li{grid-template-columns:19mm 1fr;padding:.3mm 0}
  :where(.md-sus) .issue__topic,:where(.md-sus) .issue__events{margin-top:2mm;padding-top:1.6mm}
  :where(.md-sus) .issue__events ul{font-size:7.8pt}
  :where(.md-sus) table.price .thumb{width:20mm}
  :where(.md-sus) #preise .fmt{width:5mm;height:7mm}
  :where(.md-sus) #preise .fmt--spread{width:10mm}
  :where(.md-sus) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-sus) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-sus) #preise table.price{font-size:8pt;line-height:1.2}
  :where(.md-sus) #preise .aside{line-height:1.3}
  :where(.md-sus) #preise .sub{margin-bottom:1mm}
  :where(.md-sus) #konditionen .stack,:where(.md-sus) #online-konditionen .stack{gap:4mm}
  :where(.md-sus) #konditionen .block+.block{margin-top:0}
  :where(.md-sus) #konditionen table.mini th,:where(.md-sus) #konditionen table.mini td{padding:.7mm 1.5mm}
  :where(.md-sus) #konditionen .dl__row{grid-template-columns:34mm 1fr}
  :where(.md-sus) .metabox--accent{padding:5mm}
  :where(.md-sus) table.price .sub{font-size:7.6pt}
  :where(.md-sus) .preise-extra{grid-template-columns:auto auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-sus) #preise table.price td,:where(.md-sus) #preise table.price th[scope="row"]{padding:.8mm 2mm}
  :where(.md-sus) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-sus) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-sus) #preise .covers img{width:17mm}
  :where(.md-sus) #preise .covers{gap:3mm}
  :where(.md-sus) #preise .sticker{width:27mm;padding:2.5mm;font-size:7.8pt;margin:0}
  :where(.md-sus) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.6pt}
  :where(.md-sus) #preise .aside p{margin-bottom:1mm}
  :where(.md-sus) .promos{grid-template-columns:1fr 1fr;gap:4mm}
  :where(.md-sus) .promo{padding:4mm;break-inside:avoid}
  :where(.md-sus) .promo img{width:30mm}
  :where(.md-sus) .promo__media .round{width:15mm}
  :where(.md-sus) #stellen .media img{max-height:70mm;width:auto}
  :where(.md-sus) #online-preise table.price td,:where(.md-sus) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-sus) #online-preise .wf{max-width:20mm}
  :where(.md-sus) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-sus) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem} /* Kreis bleibt rund, Punkte nicht am Rand */
}


/* =====================================================================
   TITELSPEZIFISCH: UMWELTdigital (reines Online-Produkt, Datenbank)
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Keine Zeitschrift (keine Termine, keine Print-Preis-
   liste, keine Druckunterlagen): Produkt-Mediadaten einer Datenbank im
   Aufbau der ESV-Online-Produkte. Umweltgruen aus dem PDF
   als Akzent, Kennzahlen im Hero, Rechtsgebiete als Kartenraster,
   schematische Platzierungsskizze in den Farben des PDF, Meta-Kreis,
   verlagsweite Seiten Premiummarken (Bild) und Contentplattform (HTML mit
   aktuellen Produktbildern), eigene Druckregeln (14 Seiten wie das PDF).
   ===================================================================== */
:root:where(.md-uwd){
  --accent:#496639;        /* Gruen der Rubrikenschrift im PDF; weiss darauf 7,0:1, als Schrift auf Weiss 7,0:1 */
  --accent-dark:#36502A;   /* dunkleres Gruen fuer Hover und kleine Schrift auf Tonflaeche */
  --accent-soft:#EBEEE8;   /* Tabellenzeilen im PDF */
  --accent-line:#C3CEBB;   /* Tabellenkopf im PDF */
  --meta-bg:#E3E9DE;       /* Kasten Meta-Informationen: helles Gruengrau */
  --ad:#496639;            /* Werbemittel in den Tabellen-Skizzen */
  --ad-btn:#FFED00;        /* Platzhalterfarben der Startseiten-Skizze im PDF (Seite 3), Schrift #1D1C1B */
  --ad-sky:#F8AA00;
  --ad-rect:#76B82A;
}

/* ---------- Titel-Logo (Text des PDF als Vektorpfade) + Unterzeile ---------- */
:where(.md-uwd) .brand--logo img{display:block;width:clamp(240px,13rem + 7vw,390px);max-width:100%;height:auto}
:where(.md-uwd) .hero__claim{margin:.75rem 0 0;font-size:clamp(1rem,.9rem + .45vw,1.24rem);font-weight:600;line-height:1.32;
  color:#3B4148;max-width:25em;padding-left:.8rem;border-left:3px solid var(--accent)}
:where(.md-uwd) .hero__facts li{min-width:0}
:where(.md-uwd) .hero__facts li > b{white-space:nowrap;color:var(--accent);font-size:1.32rem}
:where(.md-uwd) .hero__facts li > span{line-height:1.3}
@media (max-width:599px){:where(.md-uwd) .hero__facts li:last-child:nth-child(odd){grid-column:1/-1}}
:where(.md-uwd) .hero .btn:not(.btn--ghost){background:var(--accent);border-color:var(--accent)}
:where(.md-uwd) .hero .btn:not(.btn--ghost):hover{background:var(--accent-dark);border-color:var(--accent-dark)}
:where(.md-uwd) .hero__devices .dev-mon.dev-combo{width:min(92%,520px);padding-bottom:0;margin-inline:auto}
@media (max-width:899px){:where(.md-uwd) .hero__devices .dev-mon.dev-combo{width:min(80%,400px)}}

/* ---------- Inhalt (#ueberblick): zwei Kanaele Website / Infodienst ---------- */
:where(.md-uwd) #ueberblick .sec__intro{max-width:70ch}
:where(.md-uwd) .track{position:relative;overflow:hidden}
:where(.md-uwd) .track--soft{border-top-color:var(--accent)}
:where(.md-uwd) .track__eyebrow{margin:0 0 .2rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
:where(.md-uwd) .track h3{font-size:1.08rem;margin-bottom:1rem;overflow-wrap:anywhere}
:where(.md-uwd) .track h3 a{color:var(--blue-900);text-decoration:none}
:where(.md-uwd) .track h3 a:hover,:where(.md-uwd) .track h3 a:focus-visible{text-decoration:underline}
:where(.md-uwd) .track li .key{background:transparent;color:var(--accent);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-uwd) .track li .key--none{visibility:hidden}

/* ---------- Porträt ---------- */
:where(.md-uwd) .portraet__fig{margin:0}
:where(.md-uwd) .portraet__fig img{display:block;width:100%;max-width:420px;height:auto;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.18))}
:where(.md-uwd) .chips--accent li{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-dark);font-weight:600}

/* ---------- Themen (PDF-Seite 5): Einleitung, 9 Rechtsgebiete (3 x 3), 4 Inhaltskarten ---------- */
:where(.md-uwd) .themen-lead{background:linear-gradient(140deg,var(--accent) 0%,#2F4625 100%);color:#fff;padding:1.4rem 1.5rem;
  font-size:1.02rem;line-height:1.5;margin:0 0 1.25rem}
:where(.md-uwd) .themen-lead p{margin:0}
:where(.md-uwd) .themen-lead strong{color:#fff}
:where(.md-uwd) .rg{display:grid;gap:.8rem;counter-reset:rg;grid-template-columns:minmax(0,1fr);margin:0;padding:0;list-style:none}
@media (min-width:480px){:where(.md-uwd) .rg{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:760px){:where(.md-uwd) .rg{grid-template-columns:repeat(3,minmax(0,1fr))}}
:where(.md-uwd) .rg li{counter-increment:rg;position:relative;background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);
  padding:.8rem 2.8rem .8rem 1rem;font-weight:700;color:var(--accent-dark);min-width:0;margin:0}
:where(.md-uwd) .rg li::before{content:counter(rg,decimal-leading-zero);position:absolute;right:.85rem;top:50%;transform:translateY(-50%);
  width:auto;height:auto;background:none;font-size:1.25rem;font-weight:300;line-height:1;color:#A8B4A0;left:auto}
:where(.md-uwd) .themen-more{display:grid;gap:1rem;margin-top:1.5rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:600px){:where(.md-uwd) .themen-more{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){:where(.md-uwd) .themen-more{grid-template-columns:repeat(4,minmax(0,1fr))}}
:where(.md-uwd) .thema{background:#fff;border:1px solid var(--line);border-top:3px solid var(--accent);padding:1.05rem 1.15rem 1.1rem;min-width:0}
:where(.md-uwd) .thema h3{font-size:1rem;color:var(--accent);margin:0 0 .45rem;line-height:1.25}
:where(.md-uwd) .thema p{margin:0;font-size:.93rem;color:#2A333D}

/* ---------- Werbeform-Skizzen in den Tabellen ---------- */
:where(.md-uwd) .wf__ad{background:var(--ad)}
:where(.md-uwd) table.price th[scope="row"]{white-space:nowrap}
@media (max-width:719px){:where(.md-uwd) table.price .num{white-space:normal}:where(.md-uwd) table.price th[scope="row"]{white-space:normal}
  :where(.md-uwd) table.price td{overflow-wrap:anywhere;min-width:0}
  :where(.md-uwd) table.price td::before{flex:none;overflow-wrap:normal}
  :where(.md-uwd) table.price td[data-label="Platzierung"]{text-align:right}}
:where(.md-uwd) .plnr{margin:-.3rem 0 1rem;font-size:.9rem;color:var(--muted)}

/* ---------- Platzierungsskizze der Startseite (schematisch, Farben wie PDF-Seite 3) ---------- */
:where(.md-uwd) .adsmap{margin:2.25rem 0 0;display:grid;gap:1.5rem 2.5rem;align-items:center}
@media (min-width:860px){:where(.md-uwd) .adsmap{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
:where(.md-uwd) .adsmap__wrap{position:relative;max-width:560px;width:100%;margin-inline:auto;padding:0 2.4rem 0 3.4rem}
:where(.md-uwd) .adsmap__screen{border:1px solid #C6D5E3;background:#fff;box-shadow:0 18px 36px rgba(0,52,105,.12);
  border-radius:6px 6px 0 0;overflow:hidden}
:where(.md-uwd) .adsmap__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .9rem;
  border-bottom:1px solid #E4EAF0;background:linear-gradient(90deg,#fff 55%,#E6EEDD)}
:where(.md-uwd) .adsmap__logo{font-weight:600;font-size:.86rem;letter-spacing:.01em;color:#1D1C1B}
:where(.md-uwd) .adsmap__logo i{font-weight:400}
:where(.md-uwd) .adsmap__search{width:32%;height:.85rem;border:1px solid #E0A9A6;border-radius:2px}
:where(.md-uwd) .adsmap__nav{height:.75rem;margin:.45rem .9rem;background:repeating-linear-gradient(90deg,#DCE3EA 0 13%,transparent 13% 15%)}
:where(.md-uwd) .adsmap__body{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:.8rem;padding:.6rem .9rem 1rem}
:where(.md-uwd) .adsmap__main,:where(.md-uwd) .adsmap__side{display:grid;gap:.55rem;align-content:start}
:where(.md-uwd) .adsmap__lines{display:block;height:2.4rem;background:repeating-linear-gradient(#E6EBF0 0 4px,transparent 4px 9px)}
:where(.md-uwd) .adsmap__lines--short{height:1.3rem;width:70%}
:where(.md-uwd) .adsmap__lines--side{height:3.2rem}
:where(.md-uwd) .adsmap__box{display:block;height:3rem;background:linear-gradient(160deg,#9DBE7C,#5D8A3E)}
:where(.md-uwd) .adsmap__ad{position:relative;display:grid;place-items:center;color:#1D1C1B}
:where(.md-uwd) .adsmap__ad b{display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#fff;
  color:#1D1C1B;font-size:.78rem;font-weight:700;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
:where(.md-uwd) .adsmap__ad--btn{position:absolute;left:0;top:0;width:2.9rem;height:1.75rem;background:var(--ad-btn)}
:where(.md-uwd) .adsmap__ad--rect{height:3.9rem;width:100%;background:var(--ad-rect)}
:where(.md-uwd) .adsmap__ad--sky{position:absolute;right:0;top:0;bottom:0;width:2rem;align-items:start;padding-top:.5rem;background:var(--ad-sky)}
:where(.md-uwd) .adsmap__ad--sky b{width:1.15rem;height:1.15rem;font-size:.7rem}
:where(.md-uwd) .adsmap__legend{list-style:none;margin:0;padding:0}
:where(.md-uwd) .adsmap__legend li{display:flex;gap:.7rem;align-items:center;padding:.45rem 0;border-bottom:1px dotted var(--hair);margin:0}
:where(.md-uwd) .adsmap__legend li::before{content:none}
:where(.md-uwd) .adsmap__legend li:last-child{border-bottom:0}
:where(.md-uwd) .adsmap__legend b{flex:none;display:grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;
  color:#1D1C1B;font-size:.8rem;box-shadow:0 0 0 1px rgba(0,0,0,.18)}
:where(.md-uwd) .adsmap__legend .l-sky{background:var(--ad-sky)}
:where(.md-uwd) .adsmap__legend .l-rect{background:var(--ad-rect)}
:where(.md-uwd) .adsmap__legend .l-btn{background:var(--ad-btn)}
:where(.md-uwd) .adsmap figcaption .notes{margin-top:.6rem}

/* ---------- Konditionen Website ---------- */
:where(.md-uwd) table.mini td:last-child{color:var(--accent-dark)}
:where(.md-uwd) .kombirabatt{margin:0;padding:1rem 1.2rem;border-left:4px solid var(--accent);background:#fff;font-size:1rem;line-height:1.5}
:where(.md-uwd) .kombirabatt strong{color:var(--accent-dark)}
:where(.md-uwd) .kombirabatt b{color:var(--accent-dark)}

/* ---------- Nutzungsdaten Website ---------- */
:where(.md-uwd) .nutzung__fig img{display:block;width:100%;max-width:440px;height:auto;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(0,52,105,.16))}
:where(.md-uwd) .rubrikzeile{display:flex;flex-wrap:wrap;gap:.3rem .9rem;margin:0 0 1rem;padding:0;list-style:none;font-weight:600;color:var(--accent-dark)}
:where(.md-uwd) .rubrikzeile li{margin:0;padding:0 0 0 .9rem;position:relative}
:where(.md-uwd) .rubrikzeile li::before{content:"";position:absolute;left:0;top:.62em;width:.38rem;height:.38rem;background:var(--accent)}
:where(.md-uwd) .visits{font-size:1.5rem;font-weight:700;color:var(--accent)}

/* ---------- Infodienst ---------- */
:where(.md-uwd) #newsletter .grid2__fig img{max-width:min(100%,360px);width:100%;height:auto}
:where(.md-uwd) #newsletter .dl__row{grid-template-columns:1fr}
@media (min-width:520px){:where(.md-uwd) #newsletter .dl__row{grid-template-columns:minmax(7.5rem,10rem) 1fr}}

/* ---------- Meta-Kreis: gruener Kreis auf gruengrauem Kasten mit Zahnrad ---------- */
:where(.md-uwd) .metabox--accent{position:relative;overflow:hidden;background:var(--meta-bg)}
:where(.md-uwd) .metabox--accent h3{position:relative;z-index:1;max-width:19em}
:where(.md-uwd) .metabox__gears{position:absolute;right:-18px;top:28%;width:min(46%,210px);height:auto;color:#A9BC9B;opacity:.75}
:where(.md-uwd) .metabox--accent ul{position:relative;z-index:1;background:var(--accent);color:#fff;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,320px);margin:0 auto 0 0;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.1rem;
  box-shadow:0 14px 30px rgba(47,70,37,.25)}
:where(.md-uwd) .metabox--accent li::before{background:#fff}
:where(.md-uwd) .metabox--accent li{padding-top:.22rem;padding-bottom:.22rem}
:where(.md-uwd) .metabox--8 ul{width:min(100%,350px);font-size:.96rem}
:where(.md-uwd) .adserver{margin:1rem 0 0;font-size:.95rem}
@media (max-width:520px){:where(.md-uwd) .metabox__gears{display:none}:where(.md-uwd) .metabox--accent ul{margin:0 auto}}

/* ---------- Premiummarken / Contentplattform (verlagsweite Seiten) ---------- */
:where(.md-uwd) .lead-sub{margin:-.4rem 0 1rem;font-size:1.1rem;font-weight:600;color:var(--blue)}
:where(.md-uwd) .lead-sub a{color:inherit}
:where(.md-uwd) .pagefig{margin:0}
:where(.md-uwd) .pagefig img{display:block;width:100%;max-width:1100px;height:auto;margin:0 auto}
:where(.md-uwd) #contentplattform{border-top:1px solid var(--line)}
:where(.md-uwd) .cp-grid{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){:where(.md-uwd) .cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.md-uwd) .cp-group--wide{grid-column:span 2}}
@media (min-width:1000px){:where(.md-uwd) .cp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}:where(.md-uwd) .cp-group--wide{grid-column:span 2}}
:where(.md-uwd) .cp-group{background:#F4F5F7;border-radius:14px;padding:1rem 1.1rem 1.1rem;min-width:0}
:where(.md-uwd) .cp-group h3{margin:0 0 .7rem;font-size:1.02rem;line-height:1.25;color:#B51F2A}
:where(.md-uwd) .cp-group ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;grid-template-columns:minmax(0,1fr)}
:where(.md-uwd) .cp-group--wide ul{grid-template-columns:minmax(0,1fr)}
@media screen and (min-width:480px){:where(.md-uwd) .cp-group--wide ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-uwd) .cp-group li{margin:0;padding:0}
:where(.md-uwd) .cp-group li::before{content:none}
:where(.md-uwd) .cp-group li a{display:block;border-radius:6px;overflow:hidden;box-shadow:0 2px 8px rgba(0,40,90,.12);transition:transform .15s,box-shadow .15s}
:where(.md-uwd) .cp-group li a:hover,:where(.md-uwd) .cp-group li a:focus-visible{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,40,90,.2)}
:where(.md-uwd) .cp-group img{display:block;width:100%;height:auto}
:where(.md-uwd) .cp-group--cta{background:var(--accent-soft);display:flex;flex-direction:column;justify-content:center}
:where(.md-uwd) .cp-group--cta p{margin:0 0 .7rem;font-size:.95rem}
@media (prefers-reduced-motion:reduce){:where(.md-uwd) .cp-group li a{transition:none}:where(.md-uwd) .cp-group li a:hover{transform:none}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-uwd) .url,:where(.md-uwd) .track__sub,:where(.md-uwd) #kontakt p,:where(.md-uwd) #portraet dd,:where(.md-uwd) #newsletter dd,:where(.md-uwd) .kombirabatt{overflow-wrap:anywhere}

@media print{
  :where(.md-uwd) .hero__facts li,:where(.md-uwd) .track,:where(.md-uwd) .chips li,:where(.md-uwd) .themen-lead,:where(.md-uwd) .rg li,:where(.md-uwd) .thema,:where(.md-uwd) .wf__ad,:where(.md-uwd) .adsmap__screen,:where(.md-uwd) .adsmap__bar,:where(.md-uwd) .adsmap__nav,:where(.md-uwd) .adsmap__lines,
  :where(.md-uwd) .adsmap__box,:where(.md-uwd) .adsmap__ad,:where(.md-uwd) .adsmap__ad b,:where(.md-uwd) .adsmap__legend b,:where(.md-uwd) .metabox--accent,:where(.md-uwd) .metabox--accent ul,:where(.md-uwd) .metabox__gears,:where(.md-uwd) .kombirabatt,
  :where(.md-uwd) .cp-group{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-uwd) .brand--logo img{width:64mm}
  :where(.md-uwd) .hero__claim{font-size:10pt;margin-top:2mm}
  :where(.md-uwd) .hero__facts li > b{font-size:12pt}
  :where(.md-uwd) .hero .btn:not(.btn--ghost){background:var(--accent)!important}
  :where(.md-uwd) .hero__devices .dev-mon.dev-combo{width:84mm}
  :where(.md-uwd) #ueberblick .sec__intro{margin-bottom:4mm}
  /* Porträt (PDF-Seiten 3 und 4 auf einer Seite) */
  :where(.md-uwd) #portraet .grid2{grid-template-columns:1.25fr 1fr;gap:7mm}
  :where(.md-uwd) #portraet .block p,:where(.md-uwd) #portraet dd{font-size:8.4pt;line-height:1.3}
  :where(.md-uwd) #portraet .block p{margin-bottom:1mm}
  :where(.md-uwd) #portraet .stack{gap:2.5mm}
  :where(.md-uwd) #portraet .dl__row{padding-top:.7mm;padding-bottom:.7mm;grid-template-columns:27mm 1fr}
  :where(.md-uwd) #portraet .chips{gap:1mm}
  :where(.md-uwd) #portraet .chips li{padding:.4mm 1.8mm;font-size:7.6pt}
  :where(.md-uwd) #portraet .sub{margin-bottom:1mm}
  :where(.md-uwd) .portraet__fig img{max-height:76mm;width:auto}
  /* Themen */
  :where(.md-uwd) .themen-lead{padding:3mm 4mm;font-size:9pt;margin-bottom:3mm}
  :where(.md-uwd) .rg{grid-template-columns:repeat(3,minmax(0,1fr));gap:2mm}
  :where(.md-uwd) .rg li{padding:1.6mm 9mm 1.6mm 3mm;font-size:9pt;break-inside:avoid}
  :where(.md-uwd) .rg li::before{font-size:11pt;right:2.5mm}
  :where(.md-uwd) .themen-more{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm;margin-top:4mm}
  :where(.md-uwd) .thema{padding:2.2mm 3mm;break-inside:avoid}
  :where(.md-uwd) .thema h3{font-size:9pt;margin-bottom:.8mm}
  :where(.md-uwd) .thema p{font-size:8.2pt;line-height:1.3}
  /* Website-Preise mit Skizze auf einer Seite */
  :where(.md-uwd) #online-preise table.price td,:where(.md-uwd) #online-preise table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-uwd) #online-preise .wf{max-width:20mm}
  :where(.md-uwd) .adsmap{grid-template-columns:1fr 1fr;gap:8mm;margin-top:4mm;break-inside:avoid}
  :where(.md-uwd) .adsmap__wrap{max-width:100mm}
  :where(.md-uwd) .adsmap__screen{box-shadow:none}
  :where(.md-uwd) .adsmap__legend li{font-size:8.6pt;padding:1mm 0}
  :where(.md-uwd) #website-konditionen .stack{gap:4mm}
  :where(.md-uwd) #website-konditionen .block+.block{margin-top:0}
  :where(.md-uwd) #website-konditionen p[style],:where(.md-uwd) #online-preise-nl p[style]{font-size:8.6pt!important}
  :where(.md-uwd) #website-konditionen table.mini th,:where(.md-uwd) #website-konditionen table.mini td,
  :where(.md-uwd) #online-preise-nl table.mini th,:where(.md-uwd) #online-preise-nl table.mini td{padding:.6mm 1.5mm}
  :where(.md-uwd) .kombirabatt{font-size:9pt;padding:2.5mm 4mm}
  /* Technische Angaben (Website und Infodienst) */
  :where(.md-uwd) #technik .dl__row,:where(.md-uwd) #online-konditionen .dl__row{grid-template-columns:32mm 1fr;padding:1mm 0}
  :where(.md-uwd) #technik dd,:where(.md-uwd) #online-konditionen dd,:where(.md-uwd) #online-konditionen p{font-size:8.6pt;line-height:1.3}
  :where(.md-uwd) .metabox--accent{padding:4mm}
  :where(.md-uwd) .metabox--accent h3{font-size:10pt;margin-bottom:2mm}
  :where(.md-uwd) .metabox--accent ul{width:62mm;padding:5mm 7.5mm;font-size:8.6pt}
  :where(.md-uwd) .metabox--8 ul{width:68mm}
  :where(.md-uwd) .metabox--accent li{padding-top:.1rem;padding-bottom:.1rem}
  :where(.md-uwd) .adserver{font-size:8.6pt;margin-top:2mm}
  /* Nutzungsdaten */
  :where(.md-uwd) #nutzungsdaten p,:where(.md-uwd) #nutzungsdaten dd{font-size:9pt;line-height:1.35}
  :where(.md-uwd) .nutzung__fig img{max-height:70mm;width:auto}
  /* Infodienst */
  :where(.md-uwd) #newsletter .grid2__fig img{max-height:118mm;width:auto}
  :where(.md-uwd) #newsletter dd,:where(.md-uwd) #newsletter p{font-size:8.3pt;line-height:1.28}
  :where(.md-uwd) #newsletter .dl__row{grid-template-columns:30mm 1fr;padding-top:.7mm;padding-bottom:.7mm}
  /* Verlagsweite Seiten */
  :where(.md-uwd) .pagefig img{max-height:150mm;width:auto;max-width:100%}
  :where(.md-uwd) .lead-sub{font-size:10pt;margin:0 0 2mm}
  :where(.md-uwd) #contentplattform{border-top:0}
  :where(.md-uwd) .cp-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm}
  :where(.md-uwd) .cp-group--wide{grid-column:span 2}
  :where(.md-uwd) .cp-group{padding:2.5mm 3mm;break-inside:avoid}
  :where(.md-uwd) .cp-group h3{font-size:9pt;margin-bottom:1.5mm}
  :where(.md-uwd) .cp-group ul{gap:2mm}
  :where(.md-uwd) .cp-group li a{box-shadow:none;border:.2mm solid #D5DAE0}
  :where(.md-uwd) .cp-group--wide ul,:where(.md-uwd) .cp-group--3 ul{grid-template-columns:repeat(3,minmax(0,1fr))}
  :where(.md-uwd) .cp-group--4 ul{grid-template-columns:repeat(4,minmax(0,1fr))}
  :where(.md-uwd) .cp-group--cta p{font-size:8.4pt}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-uwd) #kontakt{break-before:page}
  :where(.md-uwd) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-uwd) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: Versorgungswirtschaft
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel. Aufbau wie Vorlage rv-2025 (Einseiter:
   keine Inhaltsseite, Termine mit nur zwei Daten, Schwerpunkte-Kasten)
   plus Online-Teil (Website-Porträt, Werbeformen, Formate online).
   Titelgruen #3FA535 (Signet/Unterzeile/Kopfband) nur im Logo; weisse
   Schrift darauf nur 3,2:1 -> Akzentflaechen dunkleres Gruen #2E7D27
   (5,2:1), Seitenleiste #1F5A1A, Werbemittel in den Farben des Print-PDF.
   ===================================================================== */
:root:where(.md-vw){
  --accent:#2E7D27;        /* aus Titelgruen #3FA535 abgedunkelt; weisse Schrift 5,2:1 */
  --accent-ink:#FFFFFF;
  --accent-dark:#1F5A1A;   /* dunkles Titelgruen fuer die Seitenleiste; weisse Schrift 8,6:1 */
  --accent-soft:#E8F4E6;   /* helle Tonflaeche aus dem Titelgruen */
}

/* Titel-Logo komplett als SVG (Wortmarke, Unterzeile, Signet – Vektor aus dem PDF) */
:where(.md-vw) .brand--logo img{display:block;width:clamp(260px,12rem + 16vw,480px);max-width:100%;height:auto}
:where(.md-vw) .hero__facts li{min-width:0}
:where(.md-vw) .hero__facts li > b{white-space:nowrap}

/* Hero: ein Bild (Heft + Tablet wie im PDF) statt Monitor + Tablet */
:where(.md-vw) .hero__devices .dev-mon.dev-combo{width:min(86%,430px);padding-bottom:0;margin-inline:auto}
@media (max-width:899px){:where(.md-vw) .hero__devices .dev-mon.dev-combo{width:min(74%,360px)}}

/* Porträt: Organ-Hinweis als Band, Zielgruppe als Chips */
:where(.md-vw) .organ{margin:0 0 1.1rem;display:flex}
:where(.md-vw) .organ span{display:inline-block;background:var(--accent-soft);color:#245F1F;border-left:4px solid var(--accent);
  padding:.45rem .85rem;font-weight:600;font-size:.98rem;line-height:1.3}
:where(.md-vw) .chips--target li{background:#fff;border-color:#BFDDB9;color:#1F3346}
:where(.md-vw) #portraet .dl dd strong{color:var(--accent-dark)}

/* Termine: 6 Ausgaben mit je zwei Daten; darunter Schwerpunkte + Anzeigenschluss nebeneinander */
:where(.md-vw) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-vw) .issue dl{font-size:.97rem}
:where(.md-vw) .topics-row{display:grid;gap:1rem;margin-top:1.5rem}
@media (min-width:820px){:where(.md-vw) .topics-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}
:where(.md-vw) .topics{border-left-color:var(--accent)}
:where(.md-vw) .topics li::before{background:var(--accent)}
:where(.md-vw) .topics p{margin:0;font-size:.96rem}
:where(.md-vw) .topics p + ul{margin-top:.7rem}
:where(.md-vw) .topics--key{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);display:flex;flex-direction:column;justify-content:center}
:where(.md-vw) .topics--key h3{color:var(--accent-ink);margin-bottom:.2rem}
:where(.md-vw) .topics--key p{color:var(--accent-ink)}
:where(.md-vw) .topics--key .topics__big{font-size:clamp(2rem,1.5rem + 2vw,2.8rem);font-weight:300;line-height:1.05;margin:.1rem 0 .4rem}

/* Preise: Tabelle + Seitenleiste nebeneinander (3 Datenspalten passen daneben) */
:where(.md-vw) .preise-grid{display:grid;gap:1.5rem 2rem;align-items:start}
@media (min-width:960px){:where(.md-vw) .preise-grid{grid-template-columns:minmax(0,1fr) 290px}}
:where(.md-vw) #preise table.price{min-width:0}
:where(.md-vw) #preise .aside{background:var(--accent-dark)}
:where(.md-vw) table.price .thumb{width:84px}
:where(.md-vw) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-vw) table.price th[scope="row"]{white-space:nowrap}
:where(.md-vw) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-vw) table.price .num{white-space:normal}
  :where(.md-vw) table.price th[scope="row"]{white-space:normal}
  :where(.md-vw) table.price--print thead th{white-space:normal}
  :where(.md-vw) #preise table.price .thumb{grid-row:span 4}
}
:where(.md-vw) .staffel{align-items:start}
:where(.md-vw) #konditionen .dl__row:first-child{padding-top:0}

@media print{
  :where(.md-vw) .topics--key,:where(.md-vw) .organ span,:where(.md-vw) #preise .aside{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* keine Inhaltsseite: Porträt direkt unter der Sprungnavigation (sonst steht sie allein auf Seite 2) */
  :where(.md-vw) #portraet{break-before:avoid;padding-top:0}
  :where(.md-vw) .brand--logo img{width:92mm}
  :where(.md-vw) .hero__devices .dev-mon.dev-combo{width:70mm}
  /* 12 Ausgaben im Druck 4-spaltig (3 Zeilen), Kaesten darunter nebeneinander */
  :where(.md-vw) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-vw) #termine .issue{padding:2mm 3mm}
  :where(.md-vw) #termine .issue dt,:where(.md-vw) #termine .issue dd{font-size:8.4pt}
  :where(.md-vw) #termine .issue__no{margin-bottom:1mm}
  :where(.md-vw) .topics-row{grid-template-columns:2fr 1fr;gap:4mm;margin-top:4mm}
  :where(.md-vw) .topics{padding:3.5mm 4.5mm}
  :where(.md-vw) .topics h3{font-size:10.5pt;margin-bottom:1.5mm}
  :where(.md-vw) .topics p{font-size:9pt}
  :where(.md-vw) .topics--cols ul{columns:2;column-gap:6mm}
  :where(.md-vw) .topics li{font-size:9pt;line-height:1.3;margin-bottom:1mm}
  :where(.md-vw) .topics--key .topics__big{font-size:22pt}
  :where(.md-vw) .preise-grid{grid-template-columns:minmax(0,1fr) 62mm;gap:6mm}
  :where(.md-vw) #preise .aside{padding:4mm 5mm;font-size:8.6pt;line-height:1.35}
  :where(.md-vw) table.price .thumb{width:16mm}
  :where(.md-vw) #preise table.price td,:where(.md-vw) #preise table.price th[scope="row"]{padding:2mm 2.5mm}
  :where(.md-vw) #portraet .block p,:where(.md-vw) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-vw) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-vw) #portraet .stack{gap:4mm}
  :where(.md-vw) #portraet .dl__row{grid-template-columns:34mm 1fr;padding-top:1.1mm;padding-bottom:1.1mm}
  :where(.md-vw) #portraet dd{line-height:1.3}
  :where(.md-vw) .chips li{font-size:8.4pt;padding:.6mm 2mm}
  :where(.md-vw) .organ{margin-bottom:2.5mm}
  :where(.md-vw) .organ span{font-size:9.4pt;padding:1.2mm 3mm}
  :where(.md-vw) #konditionen p,:where(.md-vw) #konditionen dd{font-size:9pt;line-height:1.35}
  :where(.md-vw) #konditionen .dl__row{grid-template-columns:38mm 1fr}
  :where(.md-vw) p[style]{font-size:9pt!important}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-vw) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-vw) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Porträt: Zielgruppe rechts unter den Eckdaten */
:where(.md-vw) .zielgruppe{margin-top:1.75rem}
@media print{:where(.md-vw) .zielgruppe{margin-top:4mm}}

/* lange Titel-Domain darf mobil umbrechen */
:where(.md-vw) .url,:where(.md-vw) .url a,:where(.md-vw) #kontakt a.url{overflow-wrap:anywhere}

:where(.md-vw) table.price .thumb{vertical-align:middle}

/* Werbemittel in den Farben des Print-PDF (Skizzen in den Online-Tabellen) */
:where(.md-vw) .wf--sky .wf__ad{background:#F8AA0C}
:where(.md-vw) .wf--rect .wf__ad{background:#79B82C}
:where(.md-vw) .wf--btn .wf__ad{background:#E6D200}
:where(.md-vw) .wf--lead .wf__ad{background:#EA5B0B}
:where(.md-vw) .wf--video .wf__ad{position:absolute;left:24%;right:24%;top:30%;height:30%;background:#82CEE8}
:where(.md-vw) .wf--video .wf__ad::after{content:"";position:absolute;left:42%;top:22%;border-left:7px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}

/* Formate online: Website-Mockup breiter als der Infodienst */
@media (min-width:900px){:where(.md-vw) .grid2--online{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}}
:where(.md-vw) .grid2--online .grid2__fig img{max-height:460px;width:auto;max-width:100%}
:where(.md-vw) #website .media img{max-width:100%;height:auto}

@media print{
  :where(.md-vw) .wf__ad{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-vw) #online-preise .sub{margin-top:3mm!important}
  :where(.md-vw) #online-preise table.price td,:where(.md-vw) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-vw) #online-preise .wf{max-width:20mm}
  :where(.md-vw) .grid2--online{grid-template-columns:1.55fr 1fr}
  /* Porträt: Zielgruppe muss mit auf die Seite (rechte Spalte ist lang) */
  :where(.md-vw) #portraet .block p{font-size:8.8pt;line-height:1.32;margin-bottom:1mm}
  :where(.md-vw) #portraet .stack{gap:3mm}
  :where(.md-vw) #portraet .chips{gap:1mm}
  :where(.md-vw) #portraet .chips li{font-size:7.8pt;padding:.4mm 1.6mm}
  :where(.md-vw) #portraet .organ{margin-bottom:2mm}
  :where(.md-vw) .grid2--online .grid2__fig img{max-height:105mm}
  :where(.md-vw) #website .media img{max-height:80mm;width:auto}
  :where(.md-vw) #preise table.price td,:where(.md-vw) #preise table.price th[scope="row"]{padding:1.2mm 2.5mm}
  :where(.md-vw) #preise .fmt{width:6mm;height:8.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: WzS – Wege zum Sozialrecht
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Gruen/Rot (aus dem Print-PDF), Titel-Logo
   als SVG mit Unterzeile, Info-Blasen rot, 10 Termine (davon 2 Doppelhefte)
   mit Themenkasten, Preistabelle Satzspiegel/Anschnitt/s/w/4c, Kombi-Hinweis,
   Rabattstaffel online (Infodienst), Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-wzs){
  --accent:#C51131;        /* Flaechen (Info-Blasen, Kreis Meta-Informationen): PDF #D35857 mit weisser Schrift (4,0:1)
                              -> Titelrot "Wege zum Sozialrecht" mit weisser Schrift (6,0:1) */
  --accent-ink:#FFFFFF;
  --accent-text:#C51131;   /* Titelrot auf der Inhaltsseite, wie im PDF (6,0:1) */
  --accent-soft:#FBEAEC;   /* helle Tonflaeche */
  --sticker:#C51131;       /* Sticker: PDF #D35857 -> Titelrot mit weisser Schrift (6,0:1) */
  --sticker-ink:#FFFFFF;
  --title-ink:#C51131;     /* Unterzeile rot wie im PDF */
  --title-red:#C51131;     /* Titel-Schriftzug "Wege zum Sozialrecht" (Logo) */
  --title-green:#79AA93;   /* Titel-Kuerzel "WzS" (Logo) */
  --ad:#FAB700;            /* Werbemittel in den Online-Skizzen, wie im PDF */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-wzs) .brand--logo img{display:block;width:clamp(190px,9rem + 6vw,300px);max-width:100%;height:auto}
:where(.md-wzs) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;letter-spacing:.02em;line-height:1.3;color:var(--title-ink);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-wzs) .hero__facts li{min-width:0}
:where(.md-wzs) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben titelrot wie im PDF */
:where(.md-wzs) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-wzs) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-wzs) .track__sub--accent a:hover,:where(.md-wzs) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-wzs) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-wzs) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-wzs) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(197,17,49,.22)}
:where(.md-wzs) .sticker--accent sup{color:inherit}
:where(.md-wzs) .wf__ad{background:var(--ad)}
:where(.md-wzs) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-wzs) .metabox--accent li::before{background:#fff}
/* Info-Blasen "Dateiformate und Farben": rot mit weisser Schrift wie im PDF */
:where(.md-wzs) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-wzs) .bubble b{color:var(--accent-ink)}
:where(.md-wzs) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}
:where(.md-wzs) .bubble--avoid b,:where(.md-wzs) .bubble--avoid span{color:var(--accent-ink)}

/* Termine: nur die vier Daten je Ausgabe (10 Termine, davon Doppelhefte 1/2 und 6/7);
   die Themen gelten fuer alle Ausgaben (ein Kasten .topics darunter, wie im PDF) */
:where(.md-wzs) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-wzs) .topics + .topics{margin-top:1rem}
:where(.md-wzs) .topics p{margin:0;font-size:.96rem;max-width:62em}
:where(.md-wzs) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-wzs) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-wzs) .topics--cols li{break-inside:avoid}}
:where(.md-wzs) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-wzs) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-wzs) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-wzs) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-wzs) table.price .thumb{width:92px}
:where(.md-wzs) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-wzs) table.price th[scope="row"]{white-space:nowrap}
:where(.md-wzs) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-wzs) table.price .num{white-space:normal}
  :where(.md-wzs) table.price th[scope="row"]{white-space:normal}
  :where(.md-wzs) table.price td .v{text-align:right}
  :where(.md-wzs) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-wzs) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-wzs) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-wzs) .preise-extra .sticker{margin:0 auto}
:where(.md-wzs) .staffel{align-items:start}

/* Kombi-Rabatt mit SGb und ZESAR (PDF-Seite 5, unter der Tabelle) */
:where(.md-wzs) .kombi-hint{margin:1.25rem 0 0;padding:.8rem 1.1rem;border-left:4px solid var(--title-red);background:var(--accent-soft);
  border-radius:0 10px 10px 0;font-size:.96rem;max-width:60em}

/* Kontakt: Foto rund wie im PDF */
:where(.md-wzs) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-wzs) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-wzs) .foot__person{flex-direction:column}}

@media print{
  :where(.md-wzs) .sticker--accent,:where(.md-wzs) .bubble,:where(.md-wzs) .metabox--accent ul,:where(.md-wzs) .foot__photo,:where(.md-wzs) .kombi-hint{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-wzs) .brand--logo img{width:46mm}
  :where(.md-wzs) .hero__claim{font-size:10pt;margin-top:1mm}
  :where(.md-wzs) .topics{padding:3mm 4mm}
  :where(.md-wzs) .topics + .topics{margin-top:3mm}
  /* Ausgaben im Druck 4-spaltig (10 Termine = 3 Zeilen), Themen darunter */
  :where(.md-wzs) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-wzs) #termine .issue{padding:2mm 3mm}
  :where(.md-wzs) #termine .issue dt,:where(.md-wzs) #termine .issue dd{font-size:8pt;line-height:1.15;padding-top:.3mm;padding-bottom:.3mm}
  :where(.md-wzs) #termine .issue__no{margin-bottom:1mm}
  :where(.md-wzs) #termine .deadline{margin-bottom:2mm}
  :where(.md-wzs) .topics-row{margin-top:3mm}
  /* 10 Termine: Karten verdichten, damit der Themenkasten auch mit allen Ausgaben auf die Seite passt */
  :where(.md-wzs) #termine .sec__head{margin-bottom:2mm}
  :where(.md-wzs) #termine .issue{padding:1.4mm 2.4mm}
  :where(.md-wzs) #termine .issue dt,:where(.md-wzs) #termine .issue dd{font-size:7.4pt;line-height:1.1;padding-top:.15mm;padding-bottom:.15mm}
  :where(.md-wzs) #termine .issue__no{margin-bottom:.6mm;font-size:8pt}
  :where(.md-wzs) #termine .topics{padding:2.5mm 4mm}
  :where(.md-wzs) #termine .topics p{max-width:none}
  :where(.md-wzs) #termine .deadline{padding:2.5mm 4mm;margin-bottom:1mm}
  :where(.md-wzs) #termine .toolbar{margin:0 0 1.2mm}
  :where(.md-wzs) #termine .issue__badge{font-size:6.4pt;padding:0 1.4mm;margin-top:0;margin-bottom:.4mm;line-height:1.5}
  /* Themenliste mit allen 10 Terminen sichtbar (181,4 > 181 mm): "Themen" + Einleitung inline, Liste 2-spaltig, 8 pt */
  :where(.md-wzs) #termine .topics--cols ul{columns:2;column-gap:8mm}
  :where(.md-wzs) #termine .topics p + ul{margin-top:1mm}
  :where(.md-wzs) #termine .deadline{padding:1.6mm 4mm;margin-bottom:.8mm}
  :where(.md-wzs) #termine .deadline .btn{padding:1mm 3mm;font-size:8pt}
  :where(.md-wzs) #termine .topics h3{display:inline;margin:0 2mm 0 0}
  :where(.md-wzs) #termine .topics h3 + p{display:inline}
  :where(.md-wzs) #termine .topics li{font-size:8pt;line-height:1.2;padding-top:.3mm;padding-bottom:.3mm;margin-bottom:.4mm}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-wzs) #kontakt{break-before:page}
  :where(.md-wzs) .kombi-hint{margin-top:2.5mm;padding:1.5mm 3mm;font-size:8.4pt}
  :where(.md-wzs) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-wzs) .topics p{font-size:8.8pt}
  :where(.md-wzs) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-wzs) table.price .thumb{width:20mm}
  :where(.md-wzs) #preise .fmt{width:5mm;height:7mm}
  :where(.md-wzs) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-wzs) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-wzs) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-wzs) #preise .sub{margin-bottom:1mm}
  :where(.md-wzs) table.price .sub{font-size:7.6pt}
  :where(.md-wzs) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-wzs) #preise table.price td,:where(.md-wzs) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-wzs) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-wzs) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-wzs) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-wzs) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-wzs) #preise .aside p{margin-bottom:1mm}
  :where(.md-wzs) #konditionen .stack,:where(.md-wzs) #online-konditionen .stack{gap:3.5mm}
  :where(.md-wzs) #konditionen .block+.block{margin-top:0}
  :where(.md-wzs) #konditionen table.mini th,:where(.md-wzs) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-wzs) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-wzs) #konditionen p,:where(.md-wzs) #konditionen dd{font-size:8.6pt;line-height:1.3}
  /* Inline-Stile (Bankverbindung, Rabatt-Hinweis) im Druck nicht groesser als der Text */
  :where(.md-wzs) #konditionen p[style],:where(.md-wzs) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-wzs) .metabox--accent{padding:5mm}
  :where(.md-wzs) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-wzs) #online-preise table.price td,:where(.md-wzs) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-wzs) #online-preise .wf{max-width:20mm}
  :where(.md-wzs) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-wzs) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-wzs) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-wzs) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-wzs) #website .media p{font-size:9pt;line-height:1.35}
  :where(.md-wzs) #online-konditionen table.mini th,:where(.md-wzs) #online-konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-wzs) #online-konditionen p{font-size:8.6pt;line-height:1.3}
  :where(.md-wzs) #portraet .dl__row{padding-top:1mm;padding-bottom:1mm}
  :where(.md-wzs) #portraet .block p,:where(.md-wzs) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-wzs) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-wzs) #portraet .stack{gap:4.5mm}
  :where(.md-wzs) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-wzs) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-wzs) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Infodienst (nur ein Bild): zweite Spalte mit Hinweis auf die Werbeform */
:where(.md-wzs) .nl-hint{background:#fff;border:1px solid var(--line,#DCE6EF);border-radius:14px;padding:1.25rem 1.4rem}
:where(.md-wzs) .nl-hint h3{margin:0 0 .5rem;font-size:1.05rem}
:where(.md-wzs) .nl-hint p{margin:0 0 .8rem}
:where(.md-wzs) .hero__facts li > b{white-space:nowrap}


/* =====================================================================
   TITELSPEZIFISCH: Bodenschutz
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarben Hellblau (aus dem Print-PDF), Titel-Logo
   als SVG mit Unterzeile, Info-Blasen hellblau, Termine mit Themenkaesten,
   Preistabelle mit zwei Preisspalten und Doppel-Formatskizzen,
   Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-zbos){
  --accent:#8DD1EB;        /* Hellblau der Flaechen im PDF (Sticker, Info-Blasen, Kreis Meta-Informationen) */
  --accent-ink:#004F9F;    /* Schrift auf Hellblau, wie im PDF */
  --accent-text:#007F9E;   /* Schrift auf der Inhaltsseite (PDF: #1FB3D3, fuer Lesbarkeit abgedunkelt, 4,6:1) */
  --accent-soft:#E6F5FB;   /* helle Tonflaeche */
  --title-blue:#65BEEC;    /* Titel-Schriftzug "Bodenschutz" */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) + Unterzeile wie im PDF */
:where(.md-zbos) .brand--logo img{display:block;width:clamp(240px,18rem + 6vw,440px);max-width:100%;height:auto}
:where(.md-zbos) .hero__claim{margin:.55rem 0 0;font-size:clamp(1.02rem,.9rem + .5vw,1.3rem);font-weight:600;line-height:1.3;color:var(--ink,#14181D);max-width:24em}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-zbos) .hero__facts li{min-width:0}
:where(.md-zbos) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben hellblau wie im PDF */
:where(.md-zbos) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-zbos) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-zbos) .track__sub--accent a:hover,:where(.md-zbos) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-zbos) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-zbos) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-zbos) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-zbos) .sticker--accent sup{color:inherit}
:where(.md-zbos) .wf__ad{background:#65BEEC}
:where(.md-zbos) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-zbos) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": hellblau mit blauer Schrift wie im PDF */
:where(.md-zbos) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-zbos) .bubble b{color:var(--accent-ink)}
:where(.md-zbos) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; Themen und Messe/Ausstellung
   gelten fuer alle Ausgaben (Kaesten .topics darunter) */
:where(.md-zbos) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-zbos) .topics + .topics{margin-top:1rem}
:where(.md-zbos) .topics p{margin:0;font-size:.96rem}
:where(.md-zbos) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-zbos) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-zbos) .topics--cols li{break-inside:avoid}}
:where(.md-zbos) .topics-row{margin-top:1.5rem}

/* Preistabelle (s/w und 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-zbos) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-zbos) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-zbos) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-zbos) table.price .thumb{width:92px}
:where(.md-zbos) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-zbos) table.price th[scope="row"]{white-space:nowrap}
:where(.md-zbos) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-zbos) table.price .num{white-space:normal}
  :where(.md-zbos) table.price th[scope="row"]{white-space:normal}
  :where(.md-zbos) table.price td .v{text-align:right}
  :where(.md-zbos) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-zbos) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-zbos) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-zbos) .preise-extra .sticker{margin:0 auto}
:where(.md-zbos) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-zbos) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-zbos) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-zbos) .foot__person{flex-direction:column}}

@media print{
  :where(.md-zbos) .sticker--accent,:where(.md-zbos) .bubble,:where(.md-zbos) .metabox--accent ul,:where(.md-zbos) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zbos) .brand--logo img{width:80mm}
  :where(.md-zbos) .hero__claim{font-size:11pt}
  :where(.md-zbos) .topics{padding:3mm 4mm}
  :where(.md-zbos) .topics + .topics{margin-top:3mm}
  /* Themen und Messe im Druck nebeneinander, damit auch mit allen 4 Ausgaben eine Seite reicht */
  :where(.md-zbos) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm}
  :where(.md-zbos) #termine .issue{padding:3mm}
  :where(.md-zbos) #termine .issue dt,:where(.md-zbos) #termine .issue dd{font-size:8.4pt}
  :where(.md-zbos) .topics-row{display:grid;grid-template-columns:2.4fr 1fr;gap:4mm;align-items:start;margin-top:4mm}
  :where(.md-zbos) .topics-row .topics + .topics{margin-top:0}
  :where(.md-zbos) .topics--cols ul{columns:2;column-gap:6mm}
  :where(.md-zbos) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-zbos) .topics p{font-size:8.8pt}
  :where(.md-zbos) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-zbos) table.price .thumb{width:20mm}
  :where(.md-zbos) #preise .fmt{width:5mm;height:7mm}
  :where(.md-zbos) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-zbos) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-zbos) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-zbos) #preise .sub{margin-bottom:1mm}
  :where(.md-zbos) table.price .sub{font-size:7.6pt}
  :where(.md-zbos) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-zbos) #preise table.price td,:where(.md-zbos) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-zbos) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-zbos) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-zbos) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-zbos) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-zbos) #preise .aside p{margin-bottom:1mm}
  :where(.md-zbos) #konditionen .stack,:where(.md-zbos) #online-konditionen .stack{gap:3.5mm}
  :where(.md-zbos) #konditionen .block+.block{margin-top:0}
  :where(.md-zbos) #konditionen table.mini th,:where(.md-zbos) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-zbos) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zbos) #konditionen p,:where(.md-zbos) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-zbos) .metabox--accent{padding:5mm}
  :where(.md-zbos) #online-preise table.price td,:where(.md-zbos) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-zbos) #online-preise .wf{max-width:20mm}
  :where(.md-zbos) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-zbos) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-zbos) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-zbos) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-zbos) #portraet .block p,:where(.md-zbos) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-zbos) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-zbos) #portraet .stack{gap:4.5mm}
  :where(.md-zbos) .foot__photo{width:18mm;height:18mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-zbos) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-zbos) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: ZCG Zeitschrift fuer Corporate Governance
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Petrol des Logos und Graublau (aus dem Print-PDF),
   Titel-Logo als SVG, Info-Blasen petrol, Sticker/Meta-Kreis graublau,
   6 Termine mit Themenkasten, Preistabelle mit U-Seiten-Zeile und
   Doppel-Formatskizzen, Website mit Crossmedia-Spalte, Infodienst +
   Newsletter, Kombi-Seite "Die Welt der Compliance" (3 Titel),
   Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-zcg){
  --accent:#006871;        /* Petrol des Logos = Info-Blasen im PDF */
  --accent-ink:#FFFFFF;    /* Schrift auf Petrol, wie im PDF (6,5:1) */
  --accent-text:#006871;   /* Petrol, auch Schrift auf der Inhaltsseite (6,5:1) */
  --accent-soft:#E6F0F1;   /* helle Tonflaeche */
  --ad:#006871;            /* Werbemittel Website in den Skizzen (petrol wie im PDF) */
  --ad-nl:#006871;         /* Werbemittel Infodienst/Newsletter (petrol wie im PDF) */
  --sticker:#AAC7CC;       /* Sticker "ohne Mehrkosten im eJournal" (graublau wie im PDF) */
  --sticker-ink:#003C78;   /* PDF-Blau #004F9F hat auf #AAC7CC nur 4,49:1 -> dunkleres ESV-Blau */
  --meta:#AAC7CC;          /* Kreis Meta-Informationen (graublau, dunkle Schrift wie im PDF) */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet, petrol wie im PDF) */
:where(.md-zcg) .brand--logo img{display:block;width:clamp(220px,12rem + 6vw,360px);max-width:100%;height:auto}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-zcg) .hero__facts li{min-width:0}
:where(.md-zcg) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben petrol wie im PDF */
:where(.md-zcg) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-zcg) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-zcg) .track__sub--accent a:hover,:where(.md-zcg) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-zcg) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-zcg) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-zcg) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-zcg) .sticker--accent sup{color:inherit}
:where(.md-zcg) .wf__ad{background:var(--ad)}
:where(.md-zcg) .wf--lead .wf__ad,:where(.md-zcg) .wf--medr .wf__ad{background:var(--ad-nl)}
:where(.md-zcg) .metabox--accent ul{background:var(--meta);color:#1D1D1B;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-zcg) .metabox--accent li::before{background:#003C78}
/* Info-Blasen "Dateiformate und Farben": petrol mit weisser Schrift wie im PDF */
:where(.md-zcg) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-zcg) .bubble b{color:var(--accent-ink)}
:where(.md-zcg) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter, Muster IM) */
:where(.md-zcg) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-zcg) .topics + .topics{margin-top:1rem}
:where(.md-zcg) .topics p{margin:0;font-size:.96rem}
:where(.md-zcg) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-zcg) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-zcg) .topics--cols li{break-inside:avoid}}
:where(.md-zcg) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-zcg) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-zcg) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-zcg) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-zcg) table.price .thumb{width:92px}
:where(.md-zcg) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-zcg) table.price th[scope="row"]{white-space:nowrap}
:where(.md-zcg) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-zcg) table.price .num{white-space:normal}
  :where(.md-zcg) table.price th[scope="row"]{white-space:normal}
  :where(.md-zcg) table.price td .v{text-align:right}
  :where(.md-zcg) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-zcg) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-zcg) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-zcg) .preise-extra .sticker{margin:0 auto}
:where(.md-zcg) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-zcg) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-zcg) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-zcg) .foot__person{flex-direction:column}}

@media print{
  :where(.md-zcg) .sticker--accent,:where(.md-zcg) .bubble,:where(.md-zcg) .metabox--accent ul,:where(.md-zcg) .kombi__item,:where(.md-zcg) .wf__ad,:where(.md-zcg) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zcg) .brand--logo img{width:62mm}
  :where(.md-zcg) .topics{padding:3mm 4mm}
  :where(.md-zcg) .topics + .topics{margin-top:3mm}
  /* 6 Ausgaben im Druck 3-spaltig und verdichtet (wie ER/KrV), damit auch mit allen Ausgaben eine Seite reicht */
  :where(.md-zcg) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm}
  :where(.md-zcg) #termine .issue{padding:2mm}
  :where(.md-zcg) #termine .issue dt,:where(.md-zcg) #termine .issue dd{font-size:8pt}
  :where(.md-zcg) .topics-row{margin-top:4mm}
  :where(.md-zcg) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-zcg) .topics p{font-size:8.8pt}
  :where(.md-zcg) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-zcg) table.price .thumb{width:20mm}
  :where(.md-zcg) #preise .fmt{width:5mm;height:7mm}
  :where(.md-zcg) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-zcg) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-zcg) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-zcg) #preise .sub{margin-bottom:1mm}
  :where(.md-zcg) table.price .sub{font-size:7.6pt}
  :where(.md-zcg) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-zcg) #preise table.price td,:where(.md-zcg) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-zcg) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-zcg) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-zcg) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-zcg) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-zcg) #preise .aside p{margin-bottom:1mm}
  :where(.md-zcg) #konditionen .stack,:where(.md-zcg) #online-konditionen .stack{gap:3.5mm}
  :where(.md-zcg) #konditionen .block+.block{margin-top:0}
  :where(.md-zcg) #konditionen table.mini th,:where(.md-zcg) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-zcg) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zcg) #konditionen p,:where(.md-zcg) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-zcg) .metabox--accent{padding:5mm}
  :where(.md-zcg) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-zcg) #online-preise table.price td,:where(.md-zcg) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-zcg) #online-preise .wf{max-width:20mm}
  :where(.md-zcg) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-zcg) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-zcg) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-zcg) #portraet .block p,:where(.md-zcg) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-zcg) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-zcg) #portraet .stack{gap:4.5mm}
  :where(.md-zcg) .foot__photo{width:18mm;height:18mm}
  :where(.md-zcg) .kombi{grid-template-columns:repeat(3,1fr);gap:6mm;max-width:none}
  :where(.md-zcg) #website .dl__row{grid-template-columns:26mm 1fr}
  /* Konditionen Infodienst/Newsletter: langer Empfaengertext -> verdichten, sonst rutscht der Inhalt
     als Block auf eine Extraseite */
  :where(.md-zcg) #online-konditionen p{font-size:8.4pt;line-height:1.28;margin-bottom:1mm}
  :where(.md-zcg) #online-konditionen .block+.block{margin-top:0}
  :where(.md-zcg) #online-konditionen table.mini th,:where(.md-zcg) #online-konditionen table.mini td{padding:.5mm 1.5mm}
  :where(.md-zcg) #online-konditionen .grid2{gap:6mm}
  /* Inline-Stil der Bankverbindung (.94rem) uebersteuert sonst die Druckgroesse */
  :where(.md-zcg) #konditionen p[style],:where(.md-zcg) #online-konditionen p[style]{font-size:8.4pt!important}
  :where(.md-zcg) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-zcg) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-zcg) .kombi__item p{font-size:9pt}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-zcg) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-zcg) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-zcg) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* Termin-Karten: 4 Daten passen am Bildschirm nur 2 x 2 */
@media screen and (min-width:640px){:where(.md-zcg) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-zcg) .url,:where(.md-zcg) .track__sub,:where(.md-zcg) .kombi__item p,:where(.md-zcg) #kontakt p{overflow-wrap:anywhere}

/* Kombi-Seite "Die Welt der Compliance" (Muster IM, 3 Titel) */
:where(.md-zcg) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-zcg) .kombi__claim span{color:var(--cyan-text)}
:where(.md-zcg) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-zcg) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:960px){:where(.md-zcg) .kombi{grid-template-columns:repeat(3,minmax(0,1fr))}}
:where(.md-zcg) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent-text);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar */
:where(.md-zcg) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-zcg) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-zcg) .kombi__item p{margin:0;font-size:.95rem}

/* Kontaktfoto im PDF rechteckig geliefert, rund beschnitten wie im PDF */
:where(.md-zcg) .foot__photo{object-position:40% 30%}


/* =====================================================================
   TITELSPEZIFISCH: ZESAR – Zeitschrift fuer europaeisches Sozial- und Arbeitsrecht
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber die S&S-Vorlage, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelrot (Logo), Lachs-Flaechen und gelber Sticker
   aus dem Print-PDF, Titel-Logo als SVG (mit Unterzeile), Hero als ein Bild
   (Heft + Tablet), 10 Termine (davon 2 Doppelhefte) mit Themenkasten,
   Preistabelle Satzspiegel/s/w/2c/3c/4c, Formatkarten, Kombi-Seite,
   Premiummarken/Contentplattform als Bild und deren Druckregeln.
   ===================================================================== */
:root:where(.md-zesar){
  --accent:#F4AD94;        /* Flaechen (Info-Blasen, Kreis Meta-Informationen): Lachs wie im PDF,
                              Schrift dunkel (9,1:1) */
  --accent-ink:#1D1C1B;
  --accent-text:#DC0814;   /* Titelrot (Logo) auf der Inhaltsseite, wie im PDF (5,1:1) */
  --accent-soft:#FDEEE8;   /* helle Tonflaeche (PDF #FBE2D7) */
  --sticker:#DDDD25;       /* Sticker gelb mit blauer Schrift wie im PDF (5,5:1) */
  --sticker-ink:#004F9F;
  --title-red:#DC0814;     /* Titel-Schriftzug ZESAR (Logo) */
  --ad:#E8641B;            /* Werbemittel in der Online-Skizze (Banner im Infodienst-Mockup) */
}

/* Titel-Logo (Vektor aus dem PDF, mit Unterzeile, als SVG eingebettet) */
:where(.md-zesar) .brand--logo img{display:block;width:clamp(220px,10rem + 8vw,340px);max-width:100%;height:auto}

/* Hero: Heft + Tablet als ein Bild (Schatten/Spiegelung aus dem PDF), drei Kennzahlen */
:where(.md-zesar) .hero__devices .dev-mon.dev-combo{width:min(78%,380px);padding-bottom:0;margin-inline:auto}
@media (max-width:899px){:where(.md-zesar) .hero__devices .dev-mon.dev-combo{width:min(66%,300px)}}
:where(.md-zesar) .hero__facts li{min-width:0}
:where(.md-zesar) .hero__facts li > b{white-space:nowrap}
/* nur 3 Kacheln: bei 2 Spalten (schmale Bildschirme) die dritte ueber die volle Breite, sonst bleibt ein Loch */
@media screen and (max-width:599px){:where(.md-zesar) .hero__facts li:last-child:nth-child(odd){grid-column:1/-1}}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben titelrot wie im PDF */
:where(.md-zesar) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-zesar) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-zesar) .track__sub--accent a:hover,:where(.md-zesar) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-zesar) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-zesar) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(120,120,0,.22)}
:where(.md-zesar) .sticker--accent sup{color:inherit}
:where(.md-zesar) .wf__ad{background:var(--ad)}
:where(.md-zesar) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-zesar) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": Lachs mit dunkler Schrift wie im PDF */
:where(.md-zesar) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-zesar) .bubble b{color:var(--accent-ink)}
:where(.md-zesar) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}
:where(.md-zesar) .bubble--avoid b,:where(.md-zesar) .bubble--avoid span{color:var(--accent-ink)}

/* Termine: nur die vier Daten je Ausgabe (10 Termine, davon Doppelhefte 5/6 und 11/12);
   die Themen gelten fuer alle Ausgaben (ein Kasten .topics darunter, wie im PDF) */
:where(.md-zesar) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-zesar) .topics p{margin:0;font-size:.96rem;max-width:62em}
:where(.md-zesar) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-zesar) .topics--cols ul{columns:3;column-gap:2.5rem}:where(.md-zesar) .topics--cols li{break-inside:avoid}}
:where(.md-zesar) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, s/w, 2c, 3c, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-zesar) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-zesar) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px;width:46%}
:where(.md-zesar) .fmt i.hq{left:2px;right:auto;bottom:2px;width:46%}
:where(.md-zesar) .pl-nr{margin:0 0 .4rem;font-size:.9rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
:where(.md-zesar) table.price .thumb{width:92px}
:where(.md-zesar) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
/* hoch/quer: beide Masse gleichrangig (nur die U-Seiten-Zeile hat eine graue Zusatzzeile) */
:where(.md-zesar) table.price--print tbody tr:not(:first-child) .sub{font-size:inherit;color:inherit}
:where(.md-zesar) table.price th[scope="row"]{white-space:nowrap}
@media (min-width:720px){:where(.md-zesar) table.price--print thead th{white-space:normal;vertical-align:bottom}}
@media (max-width:719px){
  :where(.md-zesar) table.price .num{white-space:normal}
  :where(.md-zesar) table.price th[scope="row"]{white-space:normal}
  :where(.md-zesar) table.price td .v{text-align:right}
  :where(.md-zesar) #preise table.price .thumb{grid-row:span 6}
}
:where(.md-zesar) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-zesar) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-zesar) .preise-extra .sticker{margin:0 auto}
:where(.md-zesar) .staffel{align-items:start}

/* Formate Print (PDF-Seite 7): vier Skizzen mit Massen */
:where(.md-zesar) .fmtcards{list-style:none;margin:0 0 .8rem;padding:0;display:grid;gap:1rem 1.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:760px){:where(.md-zesar) .fmtcards{grid-template-columns:repeat(4,minmax(0,1fr))}}
:where(.md-zesar) .fmtcards li{display:flex;flex-direction:column;gap:.6rem;min-width:0}
:where(.md-zesar) .fmtcards p{margin:0;font-size:.92rem;line-height:1.45}
:where(.md-zesar) .fmtcards p b{display:block;font-weight:600;color:var(--blue)}
:where(.md-zesar) .fmt--big{width:84px;height:118px;border:1px solid #1D1C1B}
:where(.md-zesar) .fmt--big i{background:var(--accent);border:0;left:6px;right:6px;bottom:6px;display:flex;align-items:center;justify-content:center;text-align:center}
:where(.md-zesar) .fmt--big.fmt--us i{inset:0}
:where(.md-zesar) .fmt--big i b{font-style:normal;font-size:.7rem;font-weight:600;line-height:1.15;color:var(--accent-ink);padding:2px}

/* Kombi-Seite (PDF-Seite 12): SGb und WzS */
:where(.md-zesar) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr);max-width:820px}
@media (min-width:560px){:where(.md-zesar) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-zesar) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--title-red);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.5rem;min-width:0}
:where(.md-zesar) .kombi__item img{display:block;width:100%;max-width:300px;height:auto;margin:0 auto .3rem}
:where(.md-zesar) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-zesar) .kombi__item p{margin:0;font-size:.95rem}
:where(.md-zesar) .kombi-hint{margin:1.5rem 0 .8rem;padding:.8rem 1.1rem;border-left:4px solid var(--title-red);background:var(--accent-soft);
  border-radius:0 10px 10px 0;font-size:1rem;font-weight:600;color:var(--blue);max-width:60em}
:where(.md-zesar) .kombi-hint strong{color:var(--blue-900,#003C78)}

/* Premiummarken / Contentplattform: Seitenbild aus dem PDF (weisser Grund) */
:where(.md-zesar) .lead-sub{margin:-.4rem 0 1rem;font-size:1.1rem;font-weight:600;color:var(--blue)}
:where(.md-zesar) .lead-sub a{color:inherit}
:where(.md-zesar) .pagefig{margin:0}
:where(.md-zesar) .pagefig img{display:block;width:100%;max-width:1100px;height:auto;margin:0 auto}
:where(.md-zesar) #contentplattform{border-top:1px solid var(--line)}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-zesar) .url,:where(.md-zesar) .track__sub,:where(.md-zesar) .kombi__item p,:where(.md-zesar) #kontakt p,:where(.md-zesar) .dl dd{overflow-wrap:anywhere}

/* Infodienst: Hinweis auf die Werbeform */
:where(.md-zesar) .nl-hint{background:#fff;border:1px solid var(--line,#DCE6EF);border-radius:14px;padding:1.25rem 1.4rem}
:where(.md-zesar) .nl-hint h3{margin:0 0 .5rem;font-size:1.05rem}
:where(.md-zesar) .nl-hint p{margin:0 0 .8rem}
:where(.md-zesar) #newsletter .grid2__fig img{max-width:min(100%,380px);height:auto}

@media print{
  :where(.md-zesar) .sticker--accent,:where(.md-zesar) .bubble,:where(.md-zesar) .metabox--accent ul,:where(.md-zesar) .kombi-hint,:where(.md-zesar) .fmt--big i,:where(.md-zesar) .wf__ad{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zesar) .brand--logo img{width:58mm}
  :where(.md-zesar) .hero__devices .dev-mon.dev-combo{width:62mm}
  :where(.md-zesar) .topics{padding:3mm 4mm}
  /* Ausgaben im Druck 4-spaltig (10 Termine = 3 Zeilen), Themen darunter (wie WzS) */
  :where(.md-zesar) #termine .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm}
  :where(.md-zesar) #termine .sec__head{margin-bottom:2mm}
  :where(.md-zesar) #termine .issue{padding:1.4mm 2.4mm}
  :where(.md-zesar) #termine .issue dt,:where(.md-zesar) #termine .issue dd{font-size:7.4pt;line-height:1.1;padding-top:.15mm;padding-bottom:.15mm}
  :where(.md-zesar) #termine .issue__no{margin-bottom:.6mm;font-size:8pt}
  :where(.md-zesar) #termine .topics{padding:2.5mm 4mm}
  :where(.md-zesar) #termine .topics p{max-width:none}
  :where(.md-zesar) #termine .toolbar{margin:0 0 1.2mm}
  :where(.md-zesar) #termine .issue__badge{font-size:6.4pt;padding:0 1.4mm;margin-top:0;margin-bottom:.4mm;line-height:1.5}
  :where(.md-zesar) #termine .topics--cols ul{columns:3;column-gap:8mm}
  :where(.md-zesar) #termine .topics p + ul{margin-top:1mm}
  :where(.md-zesar) #termine .deadline{padding:1.6mm 4mm;margin-bottom:.8mm}
  :where(.md-zesar) #termine .deadline .btn{padding:1mm 3mm;font-size:8pt}
  :where(.md-zesar) #termine .topics h3{display:inline;margin:0 2mm 0 0}
  :where(.md-zesar) #termine .topics h3 + p{display:inline}
  :where(.md-zesar) #termine .topics li{font-size:8pt;line-height:1.2;padding-top:.3mm;padding-bottom:.3mm;margin-bottom:.4mm}
  :where(.md-zesar) .topics-row{margin-top:3mm}
  :where(.md-zesar) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-zesar) .topics p{font-size:8.8pt}
  /* Kontakt mit Fusszeile gemeinsam auf der letzten Seite */
  :where(.md-zesar) #kontakt{break-before:page}
  :where(.md-zesar) table.price .thumb{width:20mm}
  :where(.md-zesar) #preise .fmt{width:5mm;height:7mm}
  :where(.md-zesar) #preise table.price .thumb{width:15mm;padding:.4mm 0}
  :where(.md-zesar) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-zesar) #preise .fmt i.h,:where(.md-zesar) #preise .fmt i.hq{right:auto}
  :where(.md-zesar) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-zesar) table.price .sub{font-size:7.6pt}
  :where(.md-zesar) #preise table.price--print tbody tr:not(:first-child) .sub{font-size:inherit}
  :where(.md-zesar) .pl-nr{font-size:7.6pt;margin-bottom:1mm}
  :where(.md-zesar) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-zesar) #preise table.price td,:where(.md-zesar) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-zesar) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-zesar) #preise table.price thead th{padding:1.6mm 2mm;white-space:normal}
  :where(.md-zesar) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-zesar) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-zesar) #preise .aside p{margin-bottom:1mm}
  :where(.md-zesar) #konditionen .stack,:where(.md-zesar) #online-konditionen .stack{gap:3.5mm}
  :where(.md-zesar) #konditionen .block+.block{margin-top:0}
  :where(.md-zesar) #konditionen table.mini th,:where(.md-zesar) #konditionen table.mini td,:where(.md-zesar) #online-preise table.mini th,:where(.md-zesar) #online-preise table.mini td{padding:.6mm 1.5mm}
  :where(.md-zesar) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zesar) #konditionen p,:where(.md-zesar) #konditionen dd{font-size:8.6pt;line-height:1.3}
  /* Inline-Stile (Bankverbindung, Rabatt-Hinweis) im Druck nicht groesser als der Text */
  :where(.md-zesar) #konditionen p[style],:where(.md-zesar) #online-preise p[style]{font-size:8.6pt!important}
  /* Formate: Skizzen 4-spaltig klein, technische Angaben darunter */
  :where(.md-zesar) .fmtcards{grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm 6mm;margin-bottom:2mm}
  :where(.md-zesar) .fmt--big{width:15mm;height:21mm}
  :where(.md-zesar) .fmt--big i{left:1mm;right:1mm;bottom:1mm}
  :where(.md-zesar) .fmt--big i b{font-size:6pt}
  :where(.md-zesar) .fmtcards p{font-size:8pt;line-height:1.3}
  :where(.md-zesar) #formate .grid2{margin-top:3mm!important}
  :where(.md-zesar) #formate .dl__row{grid-template-columns:36mm 1fr;padding-top:.8mm;padding-bottom:.8mm}
  :where(.md-zesar) #formate dd,:where(.md-zesar) #formate .notes{font-size:8.4pt;line-height:1.3}
  :where(.md-zesar) #formate .dia{max-width:84mm}
  :where(.md-zesar) #formate .sub{margin-bottom:1.5mm}
  :where(.md-zesar) #formate .notes{margin:0}
  :where(.md-zesar) .metabox--accent{padding:5mm}
  :where(.md-zesar) #newsletter .grid2__fig{padding-top:2mm}
  :where(.md-zesar) #newsletter .grid2__fig img{max-height:52mm;width:auto}
  :where(.md-zesar) #newsletter .grid2{break-inside:auto}
  :where(.md-zesar) #newsletter .sub{margin-bottom:1mm}
  :where(.md-zesar) #newsletter p,:where(.md-zesar) #newsletter dd{font-size:8.4pt;line-height:1.3}
  :where(.md-zesar) #newsletter .grid2__text p{margin-bottom:1mm}
  :where(.md-zesar) #newsletter .dl__row{grid-template-columns:30mm 1fr;padding-top:.8mm;padding-bottom:.8mm}
  :where(.md-zesar) #newsletter .nl-hint{padding:3mm 4mm}
  :where(.md-zesar) #online-preise table.price td,:where(.md-zesar) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-zesar) #online-preise .wf{max-width:20mm}
  :where(.md-zesar) #online-preise p{font-size:8.6pt;line-height:1.3}
  :where(.md-zesar) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-zesar) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-zesar) #online-konditionen p,:where(.md-zesar) #online-konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-zesar) #online-konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zesar) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:190mm}
  :where(.md-zesar) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-zesar) .kombi__item img{max-height:62mm;width:auto}
  :where(.md-zesar) .kombi__item p{font-size:9pt}
  :where(.md-zesar) .kombi-hint{margin-top:4mm;padding:2mm 4mm;font-size:9.4pt}
  :where(.md-zesar) .pagefig img{max-height:150mm;width:auto;max-width:100%}
  :where(.md-zesar) .lead-sub{font-size:10pt;margin:0 0 2mm}
  :where(.md-zesar) #contentplattform{border-top:0}
  :where(.md-zesar) #portraet .dl__row{padding-top:.9mm;padding-bottom:.9mm}
  :where(.md-zesar) #portraet .block p,:where(.md-zesar) #portraet dd{font-size:8.8pt;line-height:1.34}
  :where(.md-zesar) #portraet .block p{margin-bottom:1.1mm}
  :where(.md-zesar) #portraet .stack{gap:4mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-zesar) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-zesar) #kontakt .team b{display:inline;margin-right:1.5mm}
}

/* Contentplattform: aktuelle Produktbilder von esv-digital.de, nach Fachgebieten (PDF-Seite 14) */
:where(.md-zesar) .cp-grid{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){:where(.md-zesar) .cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.md-zesar) .cp-group--wide{grid-column:span 2}}
@media (min-width:1000px){:where(.md-zesar) .cp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}:where(.md-zesar) .cp-group--wide{grid-column:span 2}}
:where(.md-zesar) .cp-group{background:#F4F5F7;border-radius:14px;padding:1rem 1.1rem 1.1rem;min-width:0}
:where(.md-zesar) .cp-group h3{margin:0 0 .7rem;font-size:1.02rem;line-height:1.25;color:#B51F2A}
:where(.md-zesar) .cp-group ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;grid-template-columns:minmax(0,1fr)}
:where(.md-zesar) .cp-group--wide ul{grid-template-columns:minmax(0,1fr)}
@media screen and (min-width:480px){:where(.md-zesar) .cp-group--wide ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-zesar) .cp-group li{margin:0;padding:0}
:where(.md-zesar) .cp-group li::before{content:none}
:where(.md-zesar) .cp-group li a{display:block;border-radius:6px;overflow:hidden;box-shadow:0 2px 8px rgba(0,40,90,.12);transition:transform .15s,box-shadow .15s}
:where(.md-zesar) .cp-group li a:hover,:where(.md-zesar) .cp-group li a:focus-visible{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,40,90,.2)}
:where(.md-zesar) .cp-group img{display:block;width:100%;height:auto}
:where(.md-zesar) .cp-group--cta{background:var(--accent-soft);display:flex;flex-direction:column;justify-content:center}
:where(.md-zesar) .cp-group--cta p{margin:0 0 .7rem;font-size:.95rem}
@media print{
  :where(.md-zesar) .cp-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm}
  :where(.md-zesar) .cp-group--wide{grid-column:span 2}
  :where(.md-zesar) .cp-group{padding:2.5mm 3mm;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zesar) .cp-group h3{font-size:9pt;margin-bottom:1.5mm}
  :where(.md-zesar) .cp-group ul{gap:2mm}
  :where(.md-zesar) .cp-group li a{box-shadow:none;border:.2mm solid #D5DAE0}
  /* Druck: Steuerrecht 3, Umweltrecht 4, Management/Sozialrecht 3 Spalten, damit die Seite nicht umbricht */
  :where(.md-zesar) .cp-group--wide ul,:where(.md-zesar) .cp-group--3 ul{grid-template-columns:repeat(3,minmax(0,1fr))}
  :where(.md-zesar) .cp-group--4 ul{grid-template-columns:repeat(4,minmax(0,1fr))}
  :where(.md-zesar) .cp-group--cta p{font-size:8.4pt}
}


/* =====================================================================
   TITELSPEZIFISCH: Zeitschrift fuer deutsche Philologie (ZfdPh)
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarbe Gelborange (aus dem Print-PDF, #F9B000;
   mit weisser Schrift nur 1,9:1 -> Blasen/Kreis mit dunkler Schrift
   #1D1C1B wie im PDF, Schrift auf Weiss dunkles Gold #946000, 5,3:1),
   Titel-Logo als SVG, Redaktionen im Porträt, Termine (4 Hefte +
   Sonderheft) mit Themenkasten, Preistabelle mit Seitenleiste, Kombi-
   Seite "Die Welt der Philologie", Kontaktfoto und Druckregeln.
   ===================================================================== */
:root:where(.md-zfdph){
  --accent:#F9B000;        /* Gelborange des Titel-Schriftzugs, der Kennbuchstaben und Info-Blasen im PDF */
  --accent-ink:#1D1C1B;    /* dunkle Schrift auf Gelborange (9,1:1) */
  --accent-text:#946000;   /* dunkles Gold fuer Text auf Weiss (Kontrast 5,3:1) */
  --accent-soft:#F9B000;   /* Kreis Meta-Informationen im PDF: gelborange */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-zfdph) .brand--logo img{display:block;width:clamp(220px,13rem + 6vw,330px);max-width:100%;height:auto}

/* Hero-Kennzahlen: "155 × 230" nie ueberlaufen lassen */
:where(.md-zfdph) .hero__facts li{min-width:0}
:where(.md-zfdph) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben gold wie im PDF (dunkler fuer Kontrast) */
:where(.md-zfdph) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-zfdph) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-zfdph) .track__sub--accent a:hover,:where(.md-zfdph) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-zfdph) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-zfdph) .track li .key--none{visibility:hidden}

/* Akzent: Kreis Meta-Informationen (gelborange, dunkle Schrift), Werbemittel in den Skizzen */
:where(.md-zfdph) .wf__ad{background:var(--accent)}
:where(.md-zfdph) .metabox--accent ul{background:var(--accent-soft);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem;
  box-shadow:0 10px 28px rgba(148,96,0,.22)}
:where(.md-zfdph) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": gelborange mit dunkler Schrift wie im PDF */
:where(.md-zfdph) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-zfdph) .bubble b{color:var(--accent-ink)}
:where(.md-zfdph) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(148,96,0,.25)}

/* Termine: vier Daten je Heft; die Themen gelten fuer alle Hefte (Kasten .topics), das Sonderheft
   hat sein Thema in der Karte (.issue__topic "Thema"); Karten 2-spaltig (bei 4 Spalten zu eng fuer
   "Druckunterlagenschluss" + Datum), das Sonderheft steht als fuenfte Karte darunter */
:where(.md-zfdph) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
@media (min-width:640px){:where(.md-zfdph) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-zfdph) .issue__topic .issue__lbl{color:var(--accent-text)}
:where(.md-zfdph) .topics p{margin:0;font-size:.96rem}
:where(.md-zfdph) .topics p + ul{margin-top:.6rem}

/* Porträt: Redaktionen (PDF-Seite 4) unter Titelangaben, Adressen nebeneinander */
:where(.md-zfdph) .redaktion{display:grid;gap:1.5rem 2.5rem;margin-top:2.25rem;padding-top:1.75rem;border-top:1px solid var(--line)}
@media (min-width:900px){:where(.md-zfdph) .redaktion{grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.md-zfdph) .redaktion h3 small{font-weight:400;color:var(--muted)}
:where(.md-zfdph) .redaktion__list{display:grid;gap:.9rem 1.75rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr))}
:where(.md-zfdph) .redaktion__list p{margin:0;font-size:.95rem;line-height:1.5;overflow-wrap:anywhere}

/* Preisliste: Tabelle (Satzspiegel, s/w, 4c) mit Seitenleiste, darunter
   Sonderwerbeformen/Zahlung/Anlieferung */
:where(.md-zfdph) table.price .thumb{width:72px}
:where(.md-zfdph) table.price th[scope="row"]{white-space:nowrap}
:where(.md-zfdph) table.price--print thead th{white-space:nowrap}
:where(.md-zfdph) #preise table.price{min-width:0}   /* nur 4 Spalten: passt ohne Mindestbreite in die schmalere Spalte */
:where(.md-zfdph) .sub small{font-weight:400;color:var(--muted);font-size:.84em}
:where(.md-zfdph) .preise-top{display:grid;gap:1.25rem 2rem;align-items:start}
@media (min-width:900px){:where(.md-zfdph) .preise-top{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}}
:where(.md-zfdph) .preise-top .tablewrap{margin-bottom:0}
:where(.md-zfdph) .preise-top .aside{max-width:none}
:where(.md-zfdph) .preise-bottom{margin-top:2rem}
@media (max-width:719px){
  :where(.md-zfdph) table.price .num{white-space:normal}
  :where(.md-zfdph) table.price th[scope="row"]{white-space:normal}
}

/* Die Welt der Philologie (PDF-Seite 10) */
:where(.md-zfdph) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-zfdph) .kombi__claim span{color:var(--cyan-text)}
:where(.md-zfdph) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-zfdph) .kombi{grid-template-columns:repeat(2,minmax(0,1fr));max-width:48rem}}
:where(.md-zfdph) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-/Tablet-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar (Korrektur 14.10.2026) */
:where(.md-zfdph) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-zfdph) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-zfdph) .kombi__item p{margin:0;font-size:.95rem;overflow-wrap:anywhere}

/* Kontakt: Foto rund wie im PDF */
:where(.md-zfdph) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-zfdph) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-zfdph) .foot__person{flex-direction:column}}

@media print{
  :where(.md-zfdph) .bubble,:where(.md-zfdph) .metabox--accent ul,:where(.md-zfdph) .kombi__item,:where(.md-zfdph) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zfdph) .brand--logo img{width:62mm}
  :where(.md-zfdph) .topics{padding:3mm 4mm}
  /* 4 Hefte + Sonderheft in EINER Reihe, sonst springt der Themenkasten (break-inside:avoid) auf eine Extraseite */
  :where(.md-zfdph) #termine .issues{grid-template-columns:repeat(5,minmax(0,1fr));gap:3mm}
  :where(.md-zfdph) #termine .issue{padding:2.5mm 3mm}
  :where(.md-zfdph) #termine .issue dt,:where(.md-zfdph) #termine .issue dd,:where(.md-zfdph) #termine .issue__topic p{font-size:7.4pt}
  :where(.md-zfdph) #termine .topics li,:where(.md-zfdph) #termine .topics p{font-size:9pt;line-height:1.35}
  :where(.md-zfdph) #termine .issue dd{white-space:nowrap}
  :where(.md-zfdph) .redaktion{break-before:page;margin-top:0;padding-top:0;border-top:0;grid-template-columns:1fr 1fr;gap:8mm}
  :where(.md-zfdph) .redaktion__list{grid-template-columns:repeat(2,1fr);gap:4mm 6mm}
  :where(.md-zfdph) .redaktion__list p{font-size:9.4pt;line-height:1.4}
  :where(.md-zfdph) table.price .thumb{width:14mm}
  :where(.md-zfdph) #preise .fmt{width:6mm;height:8.5mm}
  :where(.md-zfdph) .preise-top{grid-template-columns:1.6fr 1fr;gap:6mm}
  :where(.md-zfdph) .preise-bottom{margin-top:5mm}
  :where(.md-zfdph) #preise .stack{gap:4mm}
  :where(.md-zfdph) #preise p,:where(.md-zfdph) #preise dd{font-size:9pt;line-height:1.35}
  :where(.md-zfdph) #preise .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zfdph) #preise .aside{padding:3mm 4mm;font-size:8.4pt}
  :where(.md-zfdph) #online-konditionen .stack{gap:4mm}
  :where(.md-zfdph) #online-konditionen p{font-size:9pt;line-height:1.35}
  /* Bankverbindung (Inline-Stil .94rem) im Druck nicht groesser als der Fliesstext */
  :where(.md-zfdph) #preise p[style],:where(.md-zfdph) #online-konditionen p[style]{font-size:8.6pt!important}
  :where(.md-zfdph) .metabox--accent{padding:5mm}
  :where(.md-zfdph) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-zfdph) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-zfdph) #online-preise .wf{max-width:22mm}
  :where(.md-zfdph) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-zfdph) #portraet .block p,:where(.md-zfdph) #portraet dd{font-size:9pt;line-height:1.36}
  :where(.md-zfdph) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-zfdph) #portraet .stack{gap:4mm}
  :where(.md-zfdph) #portraet .dl__row{padding-top:1.2mm;padding-bottom:1.2mm}
  :where(.md-zfdph) .kombi{grid-template-columns:repeat(2,1fr);gap:6mm;max-width:none}
  :where(.md-zfdph) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-zfdph) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-zfdph) .kombi__item p{font-size:9pt}
  :where(.md-zfdph) .foot__photo{width:18mm;height:18mm}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-zfdph) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-zfdph) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-zfdph) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: ZfRM Zeitschrift fuer Risikomanagement
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Gruen des Logos und Mintgruen (aus dem Print-PDF),
   Titel-Logo als SVG, Info-Blasen/Sticker gruen, Meta-Kreis mintgruen,
   6 Termine mit Themenkasten, Preistabelle mit U-Seiten-Zeile und
   Doppel-Formatskizzen, Website mit Crossmedia-Spalte und eigenen
   Konditionen, Infodienst + Newsletter, Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-zfrm){
  --accent:#007A5B;        /* Info-Blasen: Logo-Gruen #008D68 hat mit weisser Schrift nur 4,2:1 -> etwas dunkler (5,3:1) */
  --accent-ink:#FFFFFF;    /* Schrift auf Gruen, wie im PDF */
  --accent-text:#007A5B;   /* Gruen als Schrift auf der Inhaltsseite (5,3:1 auf Weiss) */
  --accent-soft:#E3F1EC;   /* helle Tonflaeche */
  --ad:#008D68;            /* Werbemittel Website in den Skizzen (Logo-Gruen wie im PDF, ohne Schrift) */
  --ad-nl:#008D68;         /* Werbemittel Infodienst/Newsletter (Logo-Gruen wie im PDF) */
  --sticker:#007A5B;       /* Sticker "ohne Mehrkosten im eJournal" (gruen wie im PDF, abgedunkelt) */
  --sticker-ink:#FFFFFF;   /* weisse Schrift wie im PDF (5,3:1) */
  --meta:#D7EAE3;          /* Kreis Meta-Informationen (mintgruen, dunkle Schrift wie im PDF) */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet, gruen wie im PDF) */
:where(.md-zfrm) .brand--logo img{display:block;width:clamp(220px,12rem + 6vw,360px);max-width:100%;height:auto}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-zfrm) .hero__facts li{min-width:0}
:where(.md-zfrm) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben gruen wie im PDF */
:where(.md-zfrm) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-zfrm) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-zfrm) .track__sub--accent a:hover,:where(.md-zfrm) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-zfrm) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-zfrm) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-zfrm) .sticker--accent{background:var(--sticker);color:var(--sticker-ink);box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-zfrm) .preise-extra .sticker--accent span{color:var(--sticker-ink)}
:where(.md-zfrm) .sticker--accent sup{color:inherit}
:where(.md-zfrm) .wf__ad{background:var(--ad)}
:where(.md-zfrm) .wf--lead .wf__ad,:where(.md-zfrm) .wf--medr .wf__ad{background:var(--ad-nl)}
:where(.md-zfrm) .metabox--accent ul{background:var(--meta);color:#1D1D1B;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-zfrm) .metabox--accent li::before{background:#004979}
/* Info-Blasen "Dateiformate und Farben": gruen mit weisser Schrift wie im PDF */
:where(.md-zfrm) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-zfrm) .bubble b{color:var(--accent-ink)}
:where(.md-zfrm) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter, Muster IM) */
:where(.md-zfrm) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-zfrm) .topics + .topics{margin-top:1rem}
:where(.md-zfrm) .topics p{margin:0;font-size:.96rem}
:where(.md-zfrm) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-zfrm) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-zfrm) .topics--cols li{break-inside:avoid}}
:where(.md-zfrm) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-zfrm) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-zfrm) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-zfrm) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-zfrm) table.price .thumb{width:92px}
:where(.md-zfrm) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-zfrm) table.price th[scope="row"]{white-space:nowrap}
:where(.md-zfrm) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-zfrm) table.price .num{white-space:normal}
  :where(.md-zfrm) table.price th[scope="row"]{white-space:normal}
  :where(.md-zfrm) table.price td .v{text-align:right}
  :where(.md-zfrm) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-zfrm) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-zfrm) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-zfrm) .preise-extra .sticker{margin:0 auto}
:where(.md-zfrm) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-zfrm) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-zfrm) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-zfrm) .foot__person{flex-direction:column}}

@media print{
  :where(.md-zfrm) .sticker--accent,:where(.md-zfrm) .bubble,:where(.md-zfrm) .metabox--accent ul,:where(.md-zfrm) .wf__ad,:where(.md-zfrm) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zfrm) .brand--logo img{width:62mm}
  :where(.md-zfrm) .topics{padding:3mm 4mm}
  :where(.md-zfrm) .topics + .topics{margin-top:3mm}
  /* 6 Ausgaben im Druck 3-spaltig und verdichtet (wie ER/KrV), damit auch mit allen Ausgaben eine Seite reicht */
  :where(.md-zfrm) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm}
  :where(.md-zfrm) #termine .issue{padding:2mm}
  :where(.md-zfrm) #termine .issue dt,:where(.md-zfrm) #termine .issue dd{font-size:8pt}
  :where(.md-zfrm) .topics-row{margin-top:4mm}
  :where(.md-zfrm) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-zfrm) .topics p{font-size:8.8pt}
  :where(.md-zfrm) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-zfrm) table.price .thumb{width:20mm}
  :where(.md-zfrm) #preise .fmt{width:5mm;height:7mm}
  :where(.md-zfrm) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-zfrm) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-zfrm) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-zfrm) #preise .sub{margin-bottom:1mm}
  :where(.md-zfrm) table.price .sub{font-size:7.6pt}
  :where(.md-zfrm) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-zfrm) #preise table.price td,:where(.md-zfrm) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-zfrm) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-zfrm) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-zfrm) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-zfrm) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-zfrm) #preise .aside p{margin-bottom:1mm}
  :where(.md-zfrm) #konditionen .stack,:where(.md-zfrm) #online-konditionen .stack{gap:3.5mm}
  :where(.md-zfrm) #konditionen .block+.block{margin-top:0}
  :where(.md-zfrm) #konditionen table.mini th,:where(.md-zfrm) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-zfrm) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zfrm) #konditionen p,:where(.md-zfrm) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-zfrm) .metabox--accent{padding:5mm}
  :where(.md-zfrm) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-zfrm) #online-preise table.price td,:where(.md-zfrm) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-zfrm) #online-preise .wf{max-width:20mm}
  :where(.md-zfrm) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-zfrm) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-zfrm) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-zfrm) #portraet .block p,:where(.md-zfrm) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-zfrm) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-zfrm) #portraet .stack{gap:4.5mm}
  :where(.md-zfrm) .foot__photo{width:18mm;height:18mm}
  :where(.md-zfrm) #website .dl__row{grid-template-columns:26mm 1fr}
  /* Konditionen Infodienst/Newsletter: langer Empfaengertext -> verdichten, sonst rutscht der Inhalt
     als Block auf eine Extraseite */
  :where(.md-zfrm) #online-konditionen p{font-size:8.4pt;line-height:1.28;margin-bottom:1mm}
  :where(.md-zfrm) #online-konditionen .block+.block{margin-top:0}
  :where(.md-zfrm) #online-konditionen table.mini th,:where(.md-zfrm) #online-konditionen table.mini td{padding:.5mm 1.5mm}
  :where(.md-zfrm) #online-konditionen .grid2{gap:6mm}
  /* Inline-Stil der Bankverbindung (.94rem) uebersteuert sonst die Druckgroesse */
  :where(.md-zfrm) #konditionen p[style],:where(.md-zfrm) #online-konditionen p[style],:where(.md-zfrm) #online-konditionen-web p[style]{font-size:8.4pt!important}
  :where(.md-zfrm) #online-konditionen-web p{font-size:8.8pt;line-height:1.32}
  /* Kontakt + Footer auf eigener Seite (wie PDF-Seite 14) */
  :where(.md-zfrm) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-zfrm) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-zfrm) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* Termin-Karten: 4 Daten passen am Bildschirm nur 2 x 2 */
@media screen and (min-width:640px){:where(.md-zfrm) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-zfrm) .url,:where(.md-zfrm) .track__sub,:where(.md-zfrm) #kontakt p{overflow-wrap:anywhere}

/* Kontaktfoto im PDF rechteckig geliefert, rund beschnitten wie im PDF */
:where(.md-zfrm) .foot__photo{object-position:40% 30%}


/* =====================================================================
   TITELSPEZIFISCH: ZIR Zeitschrift Interne Revision
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelfarbe Orange (aus dem Print-PDF), Titel-Logo
   als SVG, Info-Blasen dunkelblau, Preistabelle mit zwei Preisspalten,
   Doppel-Formatskizzen, Text-Skizze Stellenanzeige und deren Druckregeln.
   ===================================================================== */
:root:where(.md-zir){
  --accent:#EF7D00;        /* ZIR-Orange (Logo, Sticker, Kreis Meta-Informationen) */
  --accent-ink:#FFFFFF;    /* Schrift auf Orange weiss wie im PDF (Kontrast 2,9:1, nur fett) */
  --accent-text:#EF7D00;   /* Schrift auf der Inhaltsseite wie im PDF (nur fett/gross) */
  --accent-soft:#FDE1C6;   /* helle Orange-Tonflaeche (Kooperationshinweis Stellenanzeigen) */
  --title-navy:#24246C;    /* "Zeitschrift Interne Revision" im Logo, Info-Blasen */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet) */
:where(.md-zir) .brand--logo img{display:block;width:clamp(240px,18rem + 6vw,400px);max-width:100%;height:auto}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben orange wie im PDF */
:where(.md-zir) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-zir) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-zir) .track__sub--accent a:hover,:where(.md-zir) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-zir) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-zir) .track li .key--none{visibility:hidden}

/* Split-Bar: Anteil kommt aus dem HTML (style="flex-basis:..."), nicht aus dem CSS */
:where(.md-zir) .split-bar .in{flex:0 0 auto}

/* Akzent: Sticker, Kreis Meta-Informationen (orange, weisse Schrift wie im PDF) */
:where(.md-zir) .sticker--accent{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 22px rgba(160,80,0,.22)}
:where(.md-zir) .sticker--accent sup{color:inherit}
:where(.md-zir) .wf__ad{background:var(--accent)}
:where(.md-zir) .metabox--accent ul{background:var(--accent);color:var(--accent-ink);font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-zir) .metabox--accent li::before{background:var(--accent-ink)}
/* Info-Blasen "Dateiformate und Farben": dunkelblau mit weisser Schrift wie im PDF */
:where(.md-zir) .bubble{background:var(--title-navy);color:#fff}
:where(.md-zir) .bubble b{color:#fff}
:where(.md-zir) .bubble--avoid{background:var(--title-navy);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; Schwerpunkte und Ausstellungshinweis
   gelten fuer alle Ausgaben (Kaesten .topics darunter) */
:where(.md-zir) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-zir) .topics + .topics{margin-top:1rem}
:where(.md-zir) .topics p{margin:0;font-size:.96rem}

/* Preistabelle (U-Seiten, s/w und 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-zir) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-zir) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-zir) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-zir) table.price .thumb{width:92px}
:where(.md-zir) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-zir) table.price th[scope="row"]{white-space:nowrap}
:where(.md-zir) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-zir) table.price .num{white-space:normal}
  :where(.md-zir) table.price th[scope="row"]{white-space:normal}
  :where(.md-zir) table.price td .v{text-align:right}
  :where(.md-zir) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-zir) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-zir) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-zir) .preise-extra .sticker{margin:0 auto}

/* Rabattstaffeln unterschiedlicher Laenge: Zeilen nicht strecken */
:where(.md-zir) .staffel{align-items:start}

/* Werbeform-Skizze Text-Anzeige (Rubrik Stellenanzeigen) */
:where(.md-zir) .wf--text .wf__ad{left:7%;right:42%;top:30%;height:44%;background:#fff;border:2px solid var(--accent)}

/* Kooperationshinweis Stellenanzeigen (heller Kreis im PDF) */
:where(.md-zir) .coop{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--accent-soft);color:#004979;
  padding:.8rem 1rem;font-size:.95rem;font-weight:600;margin-bottom:1.25rem}
:where(.md-zir) .coop strong{font-weight:700}
:where(.md-zir) .coop img{width:120px;height:auto;background:#fff;padding:4px 6px}

/* Ringdiagramm: lange Legendenwoerter duerfen bei sehr schmalen Bildschirmen umbrechen */
@media (max-width:400px){:where(.md-zir) #empfaenger .legend li{overflow-wrap:anywhere;min-width:0}}

@media print{
  :where(.md-zir) .sticker--accent,:where(.md-zir) .bubble,:where(.md-zir) .metabox--accent ul,:where(.md-zir) .coop{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zir) .brand--logo img{width:70mm}
  :where(.md-zir) table.price .thumb{width:20mm}
  :where(.md-zir) #preise .fmt{width:5mm;height:7mm}
  :where(.md-zir) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-zir) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-zir) #preise table.price{font-size:8.6pt;line-height:1.25}
  :where(.md-zir) table.price .sub{font-size:7.6pt}
  :where(.md-zir) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-zir) #preise table.price td,:where(.md-zir) #preise table.price th[scope="row"]{padding:1.4mm 2mm}
  :where(.md-zir) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-zir) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-zir) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-zir) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-zir) #preise .aside p{margin-bottom:1mm}
  :where(.md-zir) #konditionen .stack,:where(.md-zir) #online-konditionen .stack{gap:4mm}
  :where(.md-zir) #konditionen .block+.block{margin-top:0}
  :where(.md-zir) #konditionen table.mini th,:where(.md-zir) #konditionen table.mini td{padding:.7mm 1.5mm}
  :where(.md-zir) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zir) .metabox--accent{padding:5mm}
  :where(.md-zir) #stellen .media img{max-height:70mm;width:auto}
  :where(.md-zir) #online-preise table.price td,:where(.md-zir) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-zir) #online-preise .wf{max-width:20mm}
  :where(.md-zir) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-zir) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-zir) #formate .dl__row,:where(.md-zir) #stellen .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-zir) #website .dl__row{grid-template-columns:26mm 1fr}
  :where(.md-zir) .topics + .topics{margin-top:3mm}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-zir) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-zir) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* =====================================================================
   TITELSPEZIFISCH: ZRFC Risk, Fraud & Compliance
   ---------------------------------------------------------------------
   Alles oberhalb dieses Blocks ist das unveraenderte Mediadaten-CSS der
   Vorlage (KSI, ueber S&S 2026, Stand NT3). Hier stehen nur Ergaenzungen
   fuer diesen Titel: Titelrot/Lachs (aus dem Print-PDF), Titel-Logo
   als SVG, Info-Blasen/Sticker/Meta-Kreis lachs, 6 Termine mit Themenkasten,
   Preistabelle mit U-Seiten-Zeile und Doppel-Formatskizzen, Website mit
   Rubrik Stellenanzeigen, Infodienst + Newsletter, Kombi-Seite "Die Welt
   der Compliance" (3 Titel), Kontaktfoto und deren Druckregeln.
   ===================================================================== */
:root:where(.md-zrfc){
  --accent:#F8CABF;        /* Lachs der Info-Blasen, des Stickers und des Meta-Kreises im PDF */
  --accent-ink:#004F9F;    /* Schrift auf Lachs, wie im PDF (5,6:1) */
  --accent-text:#DD052B;   /* Rot der Logo-Unterzeile, auch Schrift auf der Inhaltsseite (5,0:1) */
  --accent-soft:#FDF0EC;   /* helle Tonflaeche */
  --ad:#DD052B;            /* Werbemittel Website in den Skizzen (rot wie im PDF) */
  --ad-nl:#F1B707;         /* Werbemittel Infodienst/Newsletter (gelb wie im PDF) */
  --sticker:#F8CABF;       /* Sticker "ohne Mehrkosten im eJournal" (Schrift #004F9F wie im PDF) */
  --meta:#F8CABF;          /* Kreis Meta-Informationen (Schrift #004F9F wie im PDF) */
}

/* Titel-Logo (Vektor aus dem PDF, als SVG eingebettet, mit roter Unterzeile wie im PDF) */
:where(.md-zrfc) .brand--logo img{display:block;width:clamp(220px,12rem + 6vw,360px);max-width:100%;height:auto}

/* Hero-Kennzahlen nie ueberlaufen lassen */
:where(.md-zrfc) .hero__facts li{min-width:0}
:where(.md-zrfc) .hero__facts li > b{white-space:nowrap}

/* Inhalt (#ueberblick): Unterzeilen und Kennbuchstaben rot wie im PDF */
:where(.md-zrfc) .track p.track__sub.track__sub--accent{color:var(--accent-text)}
:where(.md-zrfc) .track__sub--accent a{color:inherit;text-decoration:none}
:where(.md-zrfc) .track__sub--accent a:hover,:where(.md-zrfc) .track__sub--accent a:focus-visible{color:inherit;text-decoration:underline}
:where(.md-zrfc) .track li .key{background:transparent;color:var(--accent-text);font-size:.95rem;font-weight:600;width:1.1rem}
:where(.md-zrfc) .track li .key--none{visibility:hidden}

/* Akzent: Sticker, Kreis Meta-Informationen, Werbemittel in den Skizzen */
:where(.md-zrfc) .sticker--accent{background:var(--sticker);color:#004F9F;box-shadow:0 8px 22px rgba(0,79,159,.18)}
:where(.md-zrfc) .sticker--accent sup{color:inherit}
:where(.md-zrfc) .wf__ad{background:var(--ad)}
:where(.md-zrfc) .wf--lead .wf__ad,:where(.md-zrfc) .wf--medr .wf__ad{background:var(--ad-nl)}
:where(.md-zrfc) .metabox--accent ul{background:var(--meta);color:#004F9F;font-weight:600;border-radius:50%;aspect-ratio:1;
  width:min(100%,300px);margin:0 auto;display:grid;align-content:center;justify-content:center;padding:2.2rem 3.3rem}
:where(.md-zrfc) .metabox--accent li::before{background:#004F9F}
/* Info-Blasen "Dateiformate und Farben": lachs mit blauer Schrift wie im PDF */
:where(.md-zrfc) .bubble{background:var(--accent);color:var(--accent-ink)}
:where(.md-zrfc) .bubble b{color:var(--accent-ink)}
:where(.md-zrfc) .bubble--avoid{background:var(--accent);border:0;box-shadow:0 5px 16px rgba(0,64,128,.14)}

/* Termine: nur die vier Daten je Ausgabe; die Themen gelten fuer alle
   Ausgaben (ein Kasten .topics darunter, Muster IM) */
:where(.md-zrfc) .issue__no b{width:auto;min-width:1.6rem;padding:0 .3rem 0 .5rem}
:where(.md-zrfc) .topics + .topics{margin-top:1rem}
:where(.md-zrfc) .topics p{margin:0;font-size:.96rem}
:where(.md-zrfc) .topics p + ul{margin-top:.6rem}
@media (min-width:900px){:where(.md-zrfc) .topics--cols ul{columns:2;column-gap:2.5rem}:where(.md-zrfc) .topics--cols li{break-inside:avoid}}
:where(.md-zrfc) .topics-row{margin-top:1.5rem}

/* Preistabelle (Satzspiegel, Anschnitt, s/w, 4c) mit Doppel-Skizzen (hoch/quer) */
:where(.md-zrfc) .fmt-pair{display:flex;gap:4px;align-items:flex-end}
:where(.md-zrfc) .fmt i.h{left:2px;right:auto;top:2px;bottom:2px}
:where(.md-zrfc) .fmt i.hq{left:2px;right:auto;bottom:2px}
:where(.md-zrfc) table.price .thumb{width:92px}
:where(.md-zrfc) table.price .sub{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}
:where(.md-zrfc) table.price th[scope="row"]{white-space:nowrap}
:where(.md-zrfc) table.price--print thead th{white-space:nowrap}
@media (max-width:719px){
  :where(.md-zrfc) table.price .num{white-space:normal}
  :where(.md-zrfc) table.price th[scope="row"]{white-space:normal}
  :where(.md-zrfc) table.price td .v{text-align:right}
  :where(.md-zrfc) #preise table.price .thumb{grid-row:span 5}
}
:where(.md-zrfc) .preise-extra{display:grid;gap:1.25rem 2rem;align-items:center;margin-top:1.5rem}
@media (min-width:900px){:where(.md-zrfc) .preise-extra{grid-template-columns:auto minmax(0,1fr)}}
:where(.md-zrfc) .preise-extra .sticker{margin:0 auto}
:where(.md-zrfc) .staffel{align-items:start}

/* Kontakt: Foto rund wie im PDF */
:where(.md-zrfc) .foot__person{display:flex;gap:1.1rem;align-items:flex-start}
:where(.md-zrfc) .foot__photo{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.5)}
@media (max-width:400px){:where(.md-zrfc) .foot__person{flex-direction:column}}

@media print{
  :where(.md-zrfc) .sticker--accent,:where(.md-zrfc) .bubble,:where(.md-zrfc) .metabox--accent ul,:where(.md-zrfc) .kombi__item,:where(.md-zrfc) .wf__ad,:where(.md-zrfc) .foot__photo{
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-zrfc) .brand--logo img{width:62mm}
  :where(.md-zrfc) .topics{padding:3mm 4mm}
  :where(.md-zrfc) .topics + .topics{margin-top:3mm}
  /* 6 Ausgaben im Druck 3-spaltig und verdichtet (wie ER/KrV), damit auch mit allen Ausgaben eine Seite reicht */
  :where(.md-zrfc) #termine .issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm}
  :where(.md-zrfc) #termine .issue{padding:2mm}
  :where(.md-zrfc) #termine .issue dt,:where(.md-zrfc) #termine .issue dd{font-size:8pt}
  :where(.md-zrfc) .topics-row{margin-top:4mm}
  :where(.md-zrfc) .topics h3{font-size:10pt;margin-bottom:1mm}
  :where(.md-zrfc) .topics p{font-size:8.8pt}
  :where(.md-zrfc) .topics li{font-size:8.4pt;line-height:1.25;padding-top:.6mm;padding-bottom:.6mm}
  :where(.md-zrfc) table.price .thumb{width:20mm}
  :where(.md-zrfc) #preise .fmt{width:5mm;height:7mm}
  :where(.md-zrfc) #preise table.price .thumb{width:13mm;padding:.4mm 0}
  :where(.md-zrfc) #preise .fmt i{left:1px;right:1px;bottom:1px}
  :where(.md-zrfc) #preise table.price{font-size:8.4pt;line-height:1.2}
  :where(.md-zrfc) #preise .sub{margin-bottom:1mm}
  :where(.md-zrfc) table.price .sub{font-size:7.6pt}
  :where(.md-zrfc) .preise-extra{grid-template-columns:auto minmax(0,1fr);gap:5mm;margin-top:3mm}
  :where(.md-zrfc) #preise table.price td,:where(.md-zrfc) #preise table.price th[scope="row"]{padding:1.1mm 2mm}
  :where(.md-zrfc) #preise .tablewrap{break-inside:auto;margin-bottom:0}
  :where(.md-zrfc) #preise table.price thead th{padding:1.6mm 2mm}
  :where(.md-zrfc) #preise .sticker{width:30mm;padding:2.5mm;font-size:8pt;margin:0}
  :where(.md-zrfc) #preise .aside{max-width:none;padding:3mm 4mm;font-size:7.8pt;line-height:1.3}
  :where(.md-zrfc) #preise .aside p{margin-bottom:1mm}
  :where(.md-zrfc) #konditionen .stack,:where(.md-zrfc) #online-konditionen .stack{gap:3.5mm}
  :where(.md-zrfc) #konditionen .block+.block{margin-top:0}
  :where(.md-zrfc) #konditionen table.mini th,:where(.md-zrfc) #konditionen table.mini td{padding:.6mm 1.5mm}
  :where(.md-zrfc) #konditionen .dl__row{grid-template-columns:30mm 1fr}
  :where(.md-zrfc) #konditionen p,:where(.md-zrfc) #konditionen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-zrfc) .metabox--accent{padding:5mm}
  :where(.md-zrfc) #newsletter .grid2__fig img{max-height:80mm;width:auto}
  :where(.md-zrfc) #online-preise table.price td,:where(.md-zrfc) #online-preise table.price th[scope="row"]{padding:1.2mm 2mm}
  :where(.md-zrfc) #online-preise .wf{max-width:20mm}
  :where(.md-zrfc) .metabox--accent ul{width:64mm;padding:5mm 7.5mm}
  :where(.md-zrfc) .metabox--accent li{padding-top:.2rem;padding-bottom:.2rem}
  :where(.md-zrfc) #formate .dl__row{grid-template-columns:36mm 1fr}
  :where(.md-zrfc) #portraet .block p,:where(.md-zrfc) #portraet dd{font-size:9.2pt;line-height:1.38}
  :where(.md-zrfc) #portraet .block p{margin-bottom:1.2mm}
  :where(.md-zrfc) #portraet .stack{gap:4.5mm}
  :where(.md-zrfc) .foot__photo{width:18mm;height:18mm}
  :where(.md-zrfc) .kombi{grid-template-columns:repeat(3,1fr);gap:6mm;max-width:none}
  :where(.md-zrfc) #website .dl__row{grid-template-columns:26mm 1fr}
  /* Website-Preise + Konditionen Website auf einer Seite */
  :where(.md-zrfc) #online-preise .grid2{margin-top:4mm !important;gap:6mm}
  :where(.md-zrfc) #online-preise .stack{gap:3mm}
  :where(.md-zrfc) #online-preise p,:where(.md-zrfc) #online-preise dd{font-size:8.6pt;line-height:1.3}
  :where(.md-zrfc) #online-preise table.mini th,:where(.md-zrfc) #online-preise table.mini td{padding:.6mm 1.5mm}
  /* Stellenanzeigen */
  :where(.md-zrfc) #stellenanzeigen table.price td,:where(.md-zrfc) #stellenanzeigen table.price th[scope="row"]{padding:1.6mm 2mm}
  :where(.md-zrfc) #stellenanzeigen .dl__row{grid-template-columns:32mm 1fr}
  :where(.md-zrfc) #stellenanzeigen dd{font-size:8.6pt;line-height:1.3}
  :where(.md-zrfc) .job{margin-top:4mm;gap:6mm}
  :where(.md-zrfc) .job__fig img{max-height:62mm}
  :where(.md-zrfc) .job__sticker{width:30mm;padding:2.5mm;font-size:8pt}
  /* Konditionen Infodienst/Newsletter: langer Empfaengertext -> verdichten, sonst rutscht der Inhalt
     als Block auf eine Extraseite */
  :where(.md-zrfc) #online-konditionen p{font-size:8.4pt;line-height:1.28;margin-bottom:1mm}
  :where(.md-zrfc) #online-konditionen .block+.block{margin-top:0}
  :where(.md-zrfc) #online-konditionen table.mini th,:where(.md-zrfc) #online-konditionen table.mini td{padding:.5mm 1.5mm}
  :where(.md-zrfc) #online-konditionen .grid2{gap:6mm}
  /* Inline-Stil der Bankverbindung (.94rem) uebersteuert sonst die Druckgroesse */
  :where(.md-zrfc) #konditionen p[style],:where(.md-zrfc) #online-preise p[style],:where(.md-zrfc) #online-konditionen p[style]{font-size:8.4pt!important}
  :where(.md-zrfc) .kombi__item{padding:4mm;break-inside:avoid}
  :where(.md-zrfc) .kombi__item img{max-height:55mm;width:auto}
  :where(.md-zrfc) .kombi__item p{font-size:9pt}
  /* Kombi-Seite + Kontakt passen nicht zusammen auf eine Seite: Kontakt + Footer auf eigener Seite */
  :where(.md-zrfc) #kontakt{break-before:page}
  /* Kontaktseite: Telefon/Fax/E-Mail einzeilig */
  :where(.md-zrfc) #kontakt .team li{display:inline-block;margin-right:6mm;padding:0}
  :where(.md-zrfc) #kontakt .team b{display:inline;margin-right:1.5mm}
}


/* Termin-Karten: 4 Daten passen am Bildschirm nur 2 x 2 */
@media screen and (min-width:640px){:where(.md-zrfc) #termine .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lange Domains duerfen bei 320 px nicht querscrollen */
:where(.md-zrfc) .url,:where(.md-zrfc) .track__sub,:where(.md-zrfc) .kombi__item p,:where(.md-zrfc) #kontakt p{overflow-wrap:anywhere}

/* Kombi-Seite "Die Welt der Compliance" (Muster IM, 3 Titel) */
:where(.md-zrfc) .kombi__claim{font-size:clamp(1.25rem,1rem + 1vw,1.7rem);font-weight:700;color:var(--blue);margin:0 0 1.5rem;line-height:1.25}
:where(.md-zrfc) .kombi__claim span{color:var(--cyan-text)}
:where(.md-zrfc) .kombi{display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){:where(.md-zrfc) .kombi{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:960px){:where(.md-zrfc) .kombi{grid-template-columns:repeat(3,minmax(0,1fr))}}
:where(.md-zrfc) .kombi__item{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent-text);padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
/* kein Schlagschatten: die Cover-Fotos haben einen weissen Rand (kein Alpha), der Schatten wuerde ihn als
   Rechteck sichtbar machen; auf der weissen Kachel verschmilzt der Rand so unsichtbar */
:where(.md-zrfc) .kombi__item img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
:where(.md-zrfc) .kombi__item h3{font-size:1.05rem;color:var(--blue);margin:0}
:where(.md-zrfc) .kombi__item p{margin:0;font-size:.95rem}

/* Kontaktfoto im PDF rechteckig geliefert, rund beschnitten wie im PDF */
:where(.md-zrfc) .foot__photo{object-position:40% 30%}

/* Rubrik Stellenanzeigen (PDF-Seite 11): Tabelle ohne Skizzenspalte, Hinweis-Kreis Jobware am Bild */
:where(.md-zrfc) table.price--job th[scope="row"]{white-space:normal;min-width:9rem}
:where(.md-zrfc) table.price--job td[data-label="Format"]{min-width:14rem}
:where(.md-zrfc) .job{margin-top:2rem}
:where(.md-zrfc) .job__fig{position:relative}
:where(.md-zrfc) .job__fig img{display:block;width:100%;max-width:560px;height:auto;margin-inline:auto}
:where(.md-zrfc) .job__sticker{width:min(100%,180px);font-size:.98rem;font-weight:600;padding:1.2rem;margin:0 auto 1rem}
:where(.md-zrfc) .job__sticker b{font-weight:700}
@media (min-width:900px){:where(.md-zrfc) .job__sticker{position:absolute;right:0;top:-1.5rem;z-index:1;margin:0}}


/* #####################################################################
   3. ALTLASTEN SPEKTRUM  (:where(.md-alts)) – auf Basis der gemeinsamen Vorlage
   ---------------------------------------------------------------------
   Variante: Die Seite traegt class="md md-alts" und nutzt die gemeinsame
   Vorlage (Abschnitt 1). Hier stehen nur die Regeln und Werte, die von
   der Vorlage abweichen bzw. in ihr fehlen.
   ##################################################################### */

/* ---------- Farben aus dem Print-PDF ausgelesen ----------
   Einheitlich helles Erscheinungsbild wie das gedruckte Heft (bewusst ohne
   Dunkelmodus); alle Flaechen setzen ihre Farbe ausdruecklich. */
:root:where(.md-alts){color-scheme:light;--blue-900:#003C78;--blue-800:#00447E;--blue:#004F9F;--blue-600:#0C5BA7;--cyan:#00A3F5;--cyan-text:#0086DB;--cyan-300:#8EE3F9;--ice:#E8F3FC;--ice-2:#F4FAFE;--mag:#D5007F;--mag-text:#C20074;--mag-soft:#F6DBEB;--rose:#F3ACBF;--blush:#EBC6CF;--teal:#007777;--teal-light:#79B5B7;--teal-soft:#E3F1F1;--paper:#FFFFFF;--ink:#14181D;--muted:#54606D;--hair:#A9CBEA;--line:#DCE6F0;--maxw:1140px;--gut:clamp(1rem,4vw,2.75rem)}

:where(.md-alts) body{margin:0;background:var(--paper);color:var(--ink);font-family:'Titillium Web',-apple-system,'Segoe UI',Arial,sans-serif;font-size:clamp(1rem,.96rem + .18vw,1.0625rem);line-height:1.55;-webkit-font-smoothing:antialiased}
:where(.md-alts) h1,:where(.md-alts) h2,:where(.md-alts) h3,:where(.md-alts) h4{margin:0;line-height:1.14;font-weight:700;letter-spacing:-.005em;text-wrap:balance}

:where(.md-alts) .al{font-weight:700;white-space:nowrap}
:where(.md-alts) .al b{color:var(--mag-text);font-weight:700}
:where(.md-alts) .al i{font-style:normal;color:var(--teal);font-weight:600}
/* Funktionen, die nur ausserhalb der Artifact-Vorschau funktionieren (Drucken, .ics) */
:where(.md-alts) .needs-top[hidden]{display:none!important}

/* ================= Marke ================= */
:where(.md-alts) .brand{display:flex;align-items:flex-end;gap:1rem;text-decoration:none;color:inherit;flex-wrap:wrap}
:where(.md-alts) .brand__word{width:clamp(210px,30vw,330px);flex:none}
:where(.md-alts) .brand__word svg,:where(.md-alts) .brand__itva svg{display:block;width:100%;height:auto}
:where(.md-alts) .brand__organ{display:flex;align-items:flex-end;gap:.5rem;padding-bottom:.15rem}
:where(.md-alts) .brand__itva{width:clamp(30px,3.4vw,40px);flex:none}
:where(.md-alts) .brand__organ span{font-size:.8rem;color:var(--muted);line-height:1.2;padding-bottom:.1rem}

/* ================= Kopfleiste ================= */

:where(.md-alts) .topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:clamp(60px,6.5vw,92px)}
:where(.md-alts) .topbar__label{color:#C9DEF2;font-size:.9rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}

:where(.md-alts) .topbar__logo svg{display:block;width:100%;height:auto}

/* Logo beim Hovern sichtbar lassen: sonst setzt a:hover die Farbe auf --blue-900 (= Hintergrund der Kopfleiste) */
:where(.md-alts) .topbar__logo:hover,:where(.md-alts) .topbar__logo:focus-visible{color:#fff;opacity:.85}

/* ================= Hero (Titelseite) ================= */
:where(.md-alts) .hero{position:relative;overflow:hidden;background:var(--paper);isolation:isolate}
:where(.md-alts) .hero::before{
  content:"";position:absolute;inset:-10% 0% -10% -24%; z-index:-2;
  background:
    radial-gradient(120% 90% at 8% 62%, #0079DE 0%, #00A3F5 30%, #7EDDF8 52%, #CFEFFC 68%, rgba(255,255,255,0) 82%),
    linear-gradient(118deg, #0F86E8 0%, #37B7F4 34%, #A9E6FA 52%, #FFFFFF 70%);
  clip-path:polygon(0 0, 62% 0, 30% 100%, 0 100%);
}
:where(.md-alts) .hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg, rgba(255,255,255,0) 34%, rgba(255,255,255,.72) 52%, #fff 66%);
}

:where(.md-alts) .hero__head{margin-bottom:clamp(1.25rem,3.5vw,2rem)}

:where(.md-alts) .hero h1{font-size:clamp(2.1rem,1.3rem + 4.6vw,3.9rem);font-weight:300;color:var(--blue-900);letter-spacing:-.015em;margin:.05em 0 .6rem}

:where(.md-alts) .hero__facts{list-style:none;margin:0 0 1.8rem;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--hair);border:1px solid var(--hair)}
:where(.md-alts) .hero__facts li{background:rgba(255,255,255,.88);padding:.7rem .85rem}
/* 4 Kacheln nebeneinander nur, wenn genug Platz ist – sonst sauber 2 × 2, nie 3 + 1 */
@media (min-width:560px) and (max-width:959px),(min-width:1180px){:where(.md-alts) .hero__facts{grid-template-columns:repeat(4,minmax(0,1fr))}}
:where(.md-alts) .hero__facts li > b{display:block;font-size:1.22rem;font-weight:700;color:var(--blue);line-height:1.2}
:where(.md-alts) .hero__facts li > span{font-size:.8rem;color:var(--muted);display:block}
:where(.md-alts) .hero__facts li.is-brand > b{color:var(--mag-text)}
:where(.md-alts) .cta{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}

:where(.md-alts) .btn--icon svg{display:block}

   /* Bilder nie groesser als ihre Pixelgroesse darstellen */
@media (max-width:959px){

  :where(.md-alts) .hero__devices .dev-mon{width:min(80%,400px)}

  :where(.md-alts) .hero::after{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.9) 34%,rgba(255,255,255,0) 54%)}
}

/* ================= Sprungnavigation ================= */
:where(.md-alts) .subnav{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);box-shadow:0 1px 0 rgba(0,79,159,.04)}

:where(.md-alts) .subnav__inner > a[aria-current="true"]{color:var(--blue-900);border-bottom-color:var(--mag)}

/* Sprungnavigation bricht bei wenig Platz in weitere Zeilen um, statt seitlich
   abgeschnitten zu werden; Abstaende werden schrittweise kompakter (NT3, Punkt F).
   "screen": der Druck (A4 quer, ca. 1025 px) behaelt seine eigene Navigation */

/* TITELSPEZIFISCH altlasten: 9 Punkte und laengere Bezeichnung "Werbeformen online" ->
   etwas engere Abstaende, damit die Leiste ab 1.101 px einzeilig bleibt */
@media screen and (min-width:1101px){:where(.md-alts) .subnav__inner > a{padding-inline:.36rem}}

/* ================= Abschnitte ================= */
:where(.md-alts) .sec{padding-block:clamp(2.75rem,7vw,4.75rem);border-top:1px solid var(--line);scroll-margin-top:4rem;background:var(--paper)}
:where(.md-alts) .sec:first-of-type{border-top:0}
:where(.md-alts) .sec--tint{background:linear-gradient(180deg,var(--ice-2),#fff 62%)}

:where(.md-alts) .sec__head h2{font-size:clamp(1.3rem,1.05rem + 1.5vw,2.1rem);font-weight:700;color:var(--ink);text-transform:uppercase;letter-spacing:.01em;padding-top:.15em}

:where(.md-alts) .sec__intro{max-width:62ch;color:#333E49;margin-bottom:2rem}

/* Abbildungen am Spaltenende: stehen bei zwei Spalten auf gleicher Hoehe,
   auch wenn die Texte darueber unterschiedlich lang sind
   (Text in .grid2__text gekapselt, damit die Absatzabstaende unveraendert bleiben) */

:where(.md-alts) .chips li{background:var(--ice);color:var(--blue-900);border:1px solid #C9DEF2;padding:.3rem .68rem;font-size:.9rem;border-radius:2px}

/* ================= Überblick-Karten ================= */

:where(.md-alts) .track{border:1px solid var(--line);border-top:4px solid var(--blue);padding:clamp(1.15rem,3vw,1.6rem);background:var(--paper)}

:where(.md-alts) .track h3 span{color:var(--cyan-text)}
:where(.md-alts) .track p.track__sub{font-weight:600;color:var(--mag-text);font-size:.98rem;margin-bottom:1rem}

:where(.md-alts) .track li{display:flex;gap:.7rem;padding:.42rem 0;border-bottom:1px dotted var(--hair);font-size:.97rem}

:where(.md-alts) .track li .key{flex:none;width:1.3rem;height:1.3rem;display:grid;place-items:center;background:var(--mag-soft);color:var(--mag-text);font-size:.78rem;font-weight:700}
:where(.md-alts) .track li a{text-decoration:none;font-weight:400;color:#1F2A35}
:where(.md-alts) .track li a:hover{color:var(--blue);text-decoration:underline}

/* ================= Termine (Karten wie KSI) ================= */
:where(.md-alts) .deadline{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;background:var(--blue);color:#fff;padding:1rem 1.25rem;margin:0 0 1.75rem}
:where(.md-alts) .deadline b{font-size:1.15rem;font-weight:700}
:where(.md-alts) .deadline span{font-size:.95rem;color:#CFE6FA}

@media (min-width:640px){:where(.md-alts) .issues{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1200px){:where(.md-alts) .issues{grid-template-columns:repeat(4,minmax(0,1fr))}:where(.md-alts) .issues .issue{padding:.95rem .9rem 1rem}:where(.md-alts) .issues .issue dl{font-size:.84rem;gap:.28rem .45rem}}
:where(.md-alts) .issue{border:1px solid var(--line);padding:1rem 1.1rem 1.1rem;background:var(--paper);position:relative}

:where(.md-alts) .issue__no b{background:linear-gradient(150deg,#17B2F2,#003096);color:#fff;width:1.6rem;height:1.6rem;display:grid;place-items:center;font-weight:400;font-size:.95rem;clip-path:polygon(0 0,100% 0,100% 100%,32% 100%)}
:where(.md-alts) .issue dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.28rem .8rem;margin:0;font-size:.93rem}
:where(.md-alts) .issue dt{color:var(--muted);-webkit-hyphens:auto;hyphens:auto}

:where(.md-alts) .issue--past{background:#FAFBFC;border-color:#E7ECF1}

:where(.md-alts) .issue--past .issue__no b{background:#C3CDD7}
:where(.md-alts) .issue--past dt,:where(.md-alts) .issue--past dd{color:#8B98A5}

:where(.md-alts) .issue__badge--past{background:#E3E9EF;color:#66727E}

/* Ein Infoblock unter den Karten: Themen + Messen */

:where(.md-alts) .topics li{padding-left:1rem;position:relative;margin-bottom:.4rem;break-inside:avoid;font-size:.96rem}
:where(.md-alts) .topics li::before{content:"";position:absolute;left:0;top:.55em;width:.35rem;height:.35rem;background:var(--blue)}
:where(.md-alts) .topics__fair{margin:1rem 0 0;padding-top:.9rem;border-top:1px dotted var(--hair);font-size:.96rem}
:where(.md-alts) .topics__fair strong{color:var(--blue)}

/* ================= Tabellen ================= */

@media (min-width:720px){:where(.md-alts) table.price:not(.price--online) th[scope="row"]{white-space:nowrap}}
:where(.md-alts) table.price .pair{display:block;white-space:nowrap}
:where(.md-alts) table.price .pair small{display:inline-block;width:2.6em;color:var(--muted);font-size:.85em}
:where(.md-alts) table.price .thumb{width:90px;padding-right:0}
:where(.md-alts) .fmts{display:flex;gap:6px}
:where(.md-alts) .fmt{display:block;width:30px;height:42px;border:1.5px solid var(--blue);position:relative;background:#fff;flex:none}
:where(.md-alts) .fmt i{position:absolute;left:2px;bottom:2px;background:#CFE2F4;border:1px solid #6E9FD3;display:block}

@media (max-width:719px){

  :where(.md-alts) table.price .thumb{grid-row:span 5;align-self:start;padding:0;width:auto}
  :where(.md-alts) table.price .fmts{flex-direction:column}

  :where(.md-alts) table.price td{display:flex;justify-content:space-between;gap:1rem;padding:.3rem 0;border-bottom:1px dotted var(--hair);text-align:right}
  :where(.md-alts) table.price td:last-child{border-bottom:0}
  :where(.md-alts) table.price td::before{content:attr(data-label);color:var(--muted);font-size:.88rem;text-align:left}
  :where(.md-alts) table.price td .pair{white-space:normal}
}

:where(.md-alts) table.mini th,:where(.md-alts) table.mini td{padding:.38rem .5rem;border-bottom:1px dotted var(--hair);text-align:left}
:where(.md-alts) table.mini td:last-child{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}

/* Hinweis-Kästen */

:where(.md-alts) .aside a{color:#fff}
:where(.md-alts) .aside strong{color:#fff}
:where(.md-alts) .aside .kombi{background:rgba(255,255,255,.1);border-left:3px solid var(--mag-soft);padding:.7rem .85rem;color:#fff}

:where(.md-alts) .aside small{color:#BFD8F0;display:block;margin-top:.6rem;font-size:.84rem}
:where(.md-alts) .sticker{background:var(--mag-soft);color:var(--blue);font-weight:700;font-size:clamp(1rem,.95rem + .2vw,1.12rem);line-height:1.32;width:min(100%,220px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;text-align:center;padding:15%;max-width:100%;margin:0 auto 1.25rem;box-shadow:0 6px 18px rgba(160,0,90,.14)}

/* ================= Info-Blasen (PDF-Seite 7) ================= */
:where(.md-alts) .bubbles{display:grid;gap:.85rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));background:linear-gradient(155deg,#EBF5FD,#D8EBFA);padding:clamp(1rem,3vw,1.6rem)}
:where(.md-alts) .bubble{background:var(--teal);color:#fff;border-radius:50%;aspect-ratio:1;max-width:100%;display:grid;place-items:center;text-align:center;padding:1.15rem;font-size:.82rem;line-height:1.34;box-shadow:0 5px 16px rgba(0,64,64,.2);margin:0}
:where(.md-alts) .bubble b{display:block;font-size:.9rem;margin-bottom:.15rem}
:where(.md-alts) .bubble--avoid{background:#fff;color:var(--teal);border:1.5px dashed var(--teal);box-shadow:none}

@media (min-width:700px){

  :where(.md-alts) .dia .bubbles{display:none}
}
@media (max-width:620px){
  :where(.md-alts) .bubbles{grid-template-columns:1fr 1fr;gap:.6rem}
  :where(.md-alts) .bubble{border-radius:4px;aspect-ratio:auto;place-items:start;text-align:left;padding:.75rem .85rem}
}

/* ================= Balken-Tabellen (PDF-Seite 8) ================= */

:where(.md-alts) table.bars th[scope="row"]{text-align:left;font-weight:400;padding:.42rem .9rem;border-bottom:1px dotted var(--hair);white-space:nowrap}
:where(.md-alts) table.bars td{padding:.42rem .9rem;border-bottom:1px dotted var(--hair);vertical-align:middle}

:where(.md-alts) .split-bar .in{background:var(--blue);flex:0 0 auto}

@media (max-width:520px){:where(.md-alts) table.bars td.cell-bar{width:34%} :where(.md-alts) table.bars th[scope="row"]{white-space:normal}}

/* ================= Donut (PDF-Seite 9) ================= */

:where(.md-alts) .legend li{display:flex;align-items:baseline;gap:.55rem;padding:.34rem 0;border-bottom:1px dotted var(--hair);break-inside:avoid;font-size:.94rem}
:where(.md-alts) .legend .sw{width:.8rem;height:.8rem;flex:none;position:relative;top:.1em;border:1px solid rgba(0,0,0,.14)}

:where(.md-alts) .legend--flat li{flex:0 0 auto;border-bottom:0;padding:.15rem 0}

/* ================= Werbeform-Skizzen ================= */
:where(.md-alts) .wf{display:block;position:relative;width:100%;max-width:190px;aspect-ratio:1.55;border:1px solid #C6D5E3;background-color:#fff;background-image:linear-gradient(#EEF3F8,#EEF3F8),repeating-linear-gradient(#E4EAF0 0 3px,#fff 3px 10px);background-size:100% 15%,56% 56%;background-position:0 0,7% 26%;background-repeat:no-repeat}
:where(.md-alts) .wf__ad{display:block;position:absolute;background:var(--mag)}

:where(.md-alts) .wf--job  .wf__ad{left:7%;top:26%;width:56%;height:56%;background:repeating-linear-gradient(var(--mag) 0 3px,#fff 3px 8px)}
:where(.md-alts) table.price--online .thumb{width:1%}
:where(.md-alts) table.price--online .wf{min-width:118px;max-width:158px}
@media (max-width:719px){

  :where(.md-alts) table.price--online .thumb{grid-row:auto;width:auto;padding:0 0 .7rem}
  :where(.md-alts) table.price--online .thumb::before{content:none}
  :where(.md-alts) table.price--online .wf{max-width:190px;min-width:0;margin:0}
}

/* ================= Bild-und-Text ================= */

:where(.md-alts) .media img,:where(.md-alts) .shot{display:block;margin-inline:auto;filter:drop-shadow(0 16px 28px rgba(0,52,105,.20))}

:where(.md-alts) .jobware{
  background:var(--rose);color:var(--blue);border-radius:50%;aspect-ratio:1;width:230px;height:230px;box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:0 30px;max-width:100%;font-size:.98rem;line-height:1.35;
  box-shadow:0 6px 18px rgba(160,0,90,.14);margin:0 auto 1.25rem;
}
:where(.md-alts) .jobware strong{display:block;font-size:1.15rem}

/* ================= Meta-Kasten ================= */

:where(.md-alts) .metabox h3{color:var(--blue);font-size:clamp(1.05rem,.98rem + .4vw,1.28rem);margin-bottom:1.1rem;line-height:1.3}
:where(.md-alts) .metabox h3 span{color:var(--cyan-text)}
/* Text im Kreis: Inhalt bleibt im eingeschriebenen Quadrat (ca. 70 % des Durchmessers), Block mittig */
:where(.md-alts) .metabox__disc{background:var(--blush);border-radius:50%;aspect-ratio:1;width:min(100%,320px);max-width:100%;margin:0 auto;display:flex;align-items:center;justify-content:center;padding:15%}
:where(.md-alts) .metabox ul{margin:0;padding:0;list-style:none;font-size:1rem;line-height:1.3;width:fit-content;max-width:100%}
:where(.md-alts) .metabox li{padding:.3rem 0 .3rem 1.15rem;position:relative}
:where(.md-alts) .metabox li::before{content:"";position:absolute;left:0;top:.66em;width:.38rem;height:.38rem;background:var(--blue)}

/* ================= Kontakt ================= */
:where(.md-alts) .foot{background:var(--blue-900);color:#C9DEF2;padding-block:clamp(2.25rem,6vw,3.25rem);font-size:.94rem}

:where(.md-alts) .foot h2{color:#fff;font-size:clamp(1.35rem,1.1rem + 1vw,1.8rem);font-weight:300;margin-bottom:1rem}
:where(.md-alts) .foot a{color:#fff}

:where(.md-alts) .foot__meta a{color:#C9DEF2}

:where(.md-alts) .contact{list-style:none;margin:.5rem 0 1.2rem;padding:0;display:grid;gap:.3rem}
:where(.md-alts) .contact li{display:grid;grid-template-columns:4.5rem 1fr;gap:.5rem}
:where(.md-alts) .contact li span{color:#8FB6DA}
:where(.md-alts) .contact li b{color:#fff;font-weight:600;user-select:all}

/* ================= ESV-Standardfooter (CSS aus der LP-Vorlage) ================= */
/* Selektoren entsprechen dem ESV-Anzeigenfooter (.footer-box + folgender .container-2sp),
   Darstellung unveraendert wie zuvor. */

/* Spalten (bisher .esv-footer-inner / .esv-footer-col) */

/* Spaltenueberschrift (bisher .esv-footer-heading) */

/* Zeilen (bisher .esv-footer-row) */

:where(.md-alts) .footer-box td{padding:0 0 6px;vertical-align:top}

:where(.md-alts) .footer-box td.normal a{color:var(--deep-2);text-decoration:none}
:where(.md-alts) .footer-box td.normal a:hover{text-decoration:underline;color:var(--deep)}

/* Piktogramme (bisher .esv-footer-icon / --lg); !important uebersteuert die
   Inline-Schriftgroessen im Markup, damit die Groessen wie bisher bleiben */

/* Ohne die ESV-Piktogrammschrift wuerden hier einzelne Buchstaben stehen */

/* Unterer Bereich (bisher .esv-footer-bottom) */

/* Rechtliche Hinweise (bisher .esv-footer-legal) */

:where(.md-alts) .footer-box + .container-2sp .abspann a{color:var(--deep-2);text-decoration:none}
:where(.md-alts) .footer-box + .container-2sp .abspann a:hover{text-decoration:underline;color:var(--deep)}
:where(.md-alts) .footer-box + .container-2sp .abspann strong{color:#333}

/* ================= Druck / PDF-Ausgabe (nur ausserhalb der Vorschau nutzbar) ================= */
@media print{
  html:where(.md-alts),:where(.md-alts) body{background:#fff}
  :where(.md-alts) body{font-size:9.6pt;line-height:1.45;color:#111}

  *:where(.md-alts), :where(.md-alts) *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-alts) .metabox,:where(.md-alts) .track,:where(.md-alts) .dia__svg,:where(.md-alts) .donut2,:where(.md-alts) .footer-box,:where(.md-alts) .footer-box + .container-2sp,:where(.md-alts) .wf,:where(.md-alts) .wf__ad,
  :where(.md-alts) .fmt,:where(.md-alts) .fmt i,:where(.md-alts) .foot{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  :where(.md-alts) .toolbar,:where(.md-alts) .linkbtn,:where(.md-alts) .btn,:where(.md-alts) .subnav{display:none!important}

  :where(.md-alts) .hero h1{font-size:26pt}
  :where(.md-alts) .sec{break-before:page;padding:0 0 4mm;border-top:0}

  :where(.md-alts) .sec__head h2{font-size:16pt}
  :where(.md-alts) .tablewrap{overflow:visible!important}
  :where(.md-alts) table.price{min-width:0!important;font-size:8.4pt}

  :where(.md-alts) .issues{grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm}
  :where(.md-alts) .dia__svg{display:block!important}
  :where(.md-alts) .dia .bubbles,:where(.md-alts) .donut-wrap .legend{display:none!important}
  :where(.md-alts) .issue,:where(.md-alts) .track,:where(.md-alts) .topics,:where(.md-alts) .tablewrap,:where(.md-alts) .bubbles,:where(.md-alts) .dia,:where(.md-alts) .donut-wrap,:where(.md-alts) .metabox,:where(.md-alts) .aside,:where(.md-alts) .media,:where(.md-alts) .staffel,:where(.md-alts) .block,:where(.md-alts) .dl__row,:where(.md-alts) figure,:where(.md-alts) img,:where(.md-alts) table.bars{break-inside:avoid}
  :where(.md-alts) h2,:where(.md-alts) h3,:where(.md-alts) .sub,:where(.md-alts) .sec__head{break-after:avoid}
  /* Fussbereich: bleibt zusammen mit der Kontakt-Box auf der Seite */

  :where(.md-alts) .foot__inner{grid-template-columns:1.1fr 1fr;gap:8mm}
  :where(.md-alts) .foot__meta{margin-top:1rem;padding-top:.6rem}

}

/* ================= Ergaenzungen: Reihenfolge-/Vorlagenkonflikte ================= */
/* Diese Werte stehen in der Vorlage an frueherer Stelle bzw. werden dort
   durch spaetere, allgemeinere Regeln ueberschrieben; hier erneut gesetzt,
   damit altlasten spektrum wie bisher aussieht. */
:where(.md-alts) .track--soft{border-top-color:var(--cyan)}
:where(.md-alts) .issue--next{border-color:var(--cyan);box-shadow:inset 0 0 0 1px var(--cyan)}
:where(.md-alts) h3.sub + .split-bar{margin-top:.5rem}   /* Vorlage setzt nach h3.sub margin-top:0 */
:where(.md-alts) .bubble b{color:inherit}
:where(.md-alts) .fmt i{right:auto}
@media print{
  /* "Als PDF speichern" gibt es nur bei altlasten spektrum; im Druck ausblenden */
  :is(#preise,body):where(.md-alts) .btn.js-print, :where(.md-alts) :is(#preise,body) .btn.js-print{display:none!important}
}
@media (max-width:959px){
  :where(.md-alts) .hero::before{clip-path:polygon(0 56%,100% 40%,100% 100%,0 100%)}
}
@media (max-width:719px){
  :where(.md-alts) table.price:not(.price--online) tbody tr .thumb::before{content:""}
  :where(.md-alts) table.price--online .thumb{justify-content:space-between}
}


/* #####################################################################
   4. COOKIE-BANNER
   ##################################################################### */

/* =====================================================================
   COOKIE-BANNER (Markup aus _responsive/_cookie-script.phtml)
   ---------------------------------------------------------------------
   Das eingebundene Script blendet #cookieBannerModal per Bootstrap-Modal
   ein. Da die Mediadatenseiten kein Bootstrap-CSS laden, stehen hier die
   noetigen Modal-Grundregeln (Bootstrap 3 ".in" und Bootstrap 4 ".show")
   sowie die Gestaltung, die dem bisherigen Banner (#cookieBannerOverlay)
   entspricht. Gilt fuer alle Titel.
   ===================================================================== */
.modal-open{overflow:hidden}
#cookieBannerModal{
  display:none;position:fixed;inset:0;z-index:10000;
  overflow-x:hidden;overflow-y:auto;outline:0;
  -webkit-overflow-scrolling:touch;
}
#cookieBannerModal.fade{opacity:0;transition:opacity .15s linear}
#cookieBannerModal.fade.in,#cookieBannerModal.fade.show{opacity:1}
.modal-backdrop{position:fixed;inset:0;z-index:9999;background:#000}
.modal-backdrop.fade{opacity:0;transition:opacity .15s linear}
.modal-backdrop.in,.modal-backdrop.show{opacity:.55}
@media (prefers-reduced-motion:reduce){
  #cookieBannerModal.fade,.modal-backdrop.fade{transition:none}
}

#cookieBannerModal .modal-dialog{
  position:relative;width:90%;max-width:560px;margin:0 auto;
  min-height:100%;display:flex;align-items:center;padding:1.75rem 0;
  pointer-events:none;
}
#cookieBannerModal .modal-content{
  position:relative;width:100%;pointer-events:auto;
  background:#fff;border-radius:4px;overflow:hidden;
  box-shadow:0 8px 40px rgba(0,0,0,.3);
  font-family:Arial,sans-serif;font-size:14px;line-height:1.6;color:#444;
  text-align:left;
}
#cookieBannerModal .modal-header{padding:24px 28px 0;border:0}
#cookieBannerModal .cookie-head{
  font-family:Arial,sans-serif;font-size:20px;font-weight:700;line-height:1.3;
  letter-spacing:normal;text-transform:none;color:#222;margin:0 0 14px;
}
#cookieBannerModal .second-screen .cookie-head{font-size:18px;margin-bottom:12px}
#cookieBannerModal .modal-body{padding:0 28px 24px}
#cookieBannerModal .second-screen .modal-body{padding-bottom:0}
#cookieBannerModal .modal-body > br,
#cookieBannerModal .cookie-small > br{display:none}
#cookieBannerModal p.cookie-large{color:#444;margin:0 0 20px;font-size:14px;line-height:1.6}
#cookieBannerModal .second-screen p.cookie-large{margin-bottom:16px}
#cookieBannerModal a.datenschutzbestimmung-link{color:#0066b2;text-decoration:underline}

/* Buttons: zwei helle, ein dunkler wie im bisherigen Banner */
#cookieBannerModal .modal-body > div[style*="flex"]{gap:10px;margin-bottom:0 !important}
#cookieBannerModal .btn{
  display:inline-block;flex:1;min-width:130px;box-sizing:border-box;
  padding:10px 16px;border:1px solid #aaa;border-radius:2px;
  background:#fff;color:#333;cursor:pointer;
  font-family:Arial,sans-serif;font-size:13px;font-weight:400;line-height:1.4;
  text-align:center;text-decoration:none;transition:none;
}
#cookieBannerModal .btn:hover{background:#f2f2f2;color:#333;border-color:#aaa}
#cookieBannerModal .btn-primary{border-color:#1c3f6e;background:#1c3f6e;color:#fff;font-weight:700}
#cookieBannerModal .btn-primary:hover{background:#163257;border-color:#163257;color:#fff}
#cookieBannerModal #save_selected{
  display:block;width:100%;margin:0 0 16px;padding:12px 16px;font-size:14px;
}

/* Auswahl im zweiten Schritt */
#cookieBannerModal .cookie-small{font-size:14px;line-height:1.6;color:#444}
#cookieBannerModal .optionGroup{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}
#cookieBannerModal .optionGroup:last-of-type{margin-bottom:20px}
#cookieBannerModal .optionGroup input{flex-shrink:0;margin:3px 0 0 !important}
#cookieBannerModal .optionGroup label{cursor:pointer;margin:0;font-weight:400}
#cookieBannerModal .optionGroup input:disabled,
#cookieBannerModal .optionGroup input:disabled + label{opacity:.6;cursor:default}

#cookieBannerModal .modal-footer{border-top:1px solid #eee;padding:12px 28px}
#cookieBannerModal .modal-footer .go-to-first-screen{
  font-size:13px;color:#555;text-decoration:none;cursor:pointer;
}
#cookieBannerModal .modal-footer .go-to-first-screen::before{content:"\2190\00a0"}

@media print{
  #cookieBannerModal,.modal-backdrop{display:none !important}
}
