/* Gold aus der gelieferten Vorlage: Median #E1BD70, Schattierungen #D9B566 / #EDCA7F. */
:root{--mb-kachel-gold:#e1bd70;--mb-gold-verlauf:linear-gradient(135deg,#edca7f 0%,#e1bd70 45%,#d9b566 70%,#edca7f 100%);color-scheme:light}
.mb-bar .mb-bar-in,.mb-bar .mb-tools{flex-wrap:wrap}
.mb-tools .mb-anzeige{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;white-space:nowrap}
.mb-anzeige .mb-btn{font-family:inherit}
#mb-farbmodus{min-width:64px;white-space:nowrap}
#mb-farbmodus:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.mb-start .kachel .k-titel{color:var(--mb-kachel-gold);background:var(--mb-gold-verlauf);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.mb-start .kachel .k-aktion{color:var(--mb-kachel-gold);border-color:#e1bd7040}
.mb-start .kachel:hover .k-aktion,.mb-start .kachel:focus-visible .k-aktion{background:#e1bd700d;border-color:#e1bd7080}
.mb-start .kachel .ic{color:var(--mb-kachel-gold)}
.mb-ue-titel::first-letter{color:var(--gold)}
@media(max-width:700px){
  .mb-bar .mb-tools{display:flex;flex-wrap:wrap;width:100%;gap:8px}
  .mb-bar .mb-srch{flex:1 1 170px;min-width:0;max-width:none}
  .mb-bar .mb-srch input{width:100%;min-width:0}
  .mb-tools .mb-anzeige{margin-left:auto}
  .mb-start .mb-tools .mb-anzeige{margin-left:0}
}
@media screen{
  :root[data-mb-farbmodus="dunkel"]{color-scheme:dark}
  :root[data-mb-farbmodus="dunkel"] body{
    --paper:#202329;--ink:#e5e9ef;--muted:#b5becb;--line:#465363;--karte:#2b323d;
    background:#202329;color:#e5e9ef;
  }
  :root[data-mb-farbmodus="dunkel"] :is(.intro,.mb-einstieg,.slide,.unit,.technique,.search-results,.mb-karte){background:#1b212a;border-color:#465363;color:#e5e9ef}
  :root[data-mb-farbmodus="dunkel"] :is(#mb-uebersicht,.overview,.intro-note,.chapter-head,.titlebox){background:#262e39;border-color:#465363;color:#e5e9ef}
  :root[data-mb-farbmodus="dunkel"] :is(#mb-uebersicht .mb-karte,#mb-uebersicht .mb-karte-inhalt){background:transparent}
  :root[data-mb-farbmodus="dunkel"] :is(#mb-uebersicht .mb-karte a,.menu a,.quick a,.downloads>a,.copy-btn){background:#1b212a;border-color:#465363;color:#e5e9ef!important}
  :root[data-mb-farbmodus="dunkel"] :is(#mb-uebersicht .mb-karte a:hover,#mb-uebersicht .mb-karte a:focus,.menu a:hover,.quick a:hover,.downloads>a:hover,.copy-btn:hover){background:#344151;color:#fff!important}
  :root[data-mb-farbmodus="dunkel"] :is(#mb-uebersicht .nr,#mb-uebersicht .mb-seiten,.menu .nr,a.mb-fund .nr){background:#344151;color:#e1bd70!important}
  :root[data-mb-farbmodus="dunkel"] :is(.box,.box-hint,.box-gray,.legend,.angst-card,.blue,.green,.orange,.purple,.red,.gray,.quote,.blockhead,.mini,.example,.merksatz,.exercise,.prompt,details){background:#2b323d;border-color:#526171;color:#e5e9ef}
  :root[data-mb-farbmodus="dunkel"] :is(.raw,.chapter-vent .chapter-head){background:#3a2d2a}
  :root[data-mb-farbmodus="dunkel"] :is(.edited,.green){background:#263b32}
  :root[data-mb-farbmodus="dunkel"] .chapter-personal .chapter-head{background:#342e40}
  :root[data-mb-farbmodus="dunkel"] :is(h1,h2,h3,h4,.label,.mb-ue-titel,.mini strong,.intro-note strong,.steps dt,.merksatz,.mb-fund-titel){color:#edf1f8!important}
  :root[data-mb-farbmodus="dunkel"] :is(.mb-einstieg p,.box-text,.slide .box-text,.legend-line,.prompt pre,.box-head,summary,.mb-rollenspiel-loesung summary){color:#e5e9ef}
  :root[data-mb-farbmodus="dunkel"] :is(.mb-einstieg-label,.eyebrow,.intro .subtitle,.prompt summary){color:#e1bd70}
  :root[data-mb-farbmodus="dunkel"] :is(.hinweis,.small,.meta,.source,.angst-source,.end-note,.fuss,.footer,.chapter-source,.mb-ue-zahl,.mb-menue-hinweis,.overview-count,.mb-fund-zeile,figcaption,figcaption small){color:#b5becb}
  :root[data-mb-farbmodus="dunkel"] #mb-uebersicht .mb-menue-hinweis{color:#b5becb}
  :root[data-mb-farbmodus="dunkel"] :is(.slide-body,.section,.titlebox,.unit,.chapter-source,.footer,.fuss,.end-note,.source,.angst-source) a[href]:not(.mb-zurueck){color:#ecd097!important}
  :root[data-mb-farbmodus="dunkel"] :is(.slide-body,.section,.titlebox,.unit,.chapter-source,.footer,.fuss,.end-note,.source,.angst-source) a[href]:not(.mb-zurueck):hover{color:#fff!important;background-color:#344151}
  :root[data-mb-farbmodus="dunkel"] :is(a.mb-fund,a.mb-fund:visited,a.mb-fund:hover,a.mb-fund .mb-fund-titel,a.mb-fund .mb-fund-zeile){color:#e5e9ef!important}
  :root[data-mb-farbmodus="dunkel"] :is(a.mb-fund:hover,a.mb-fund:focus,.prompt summary:hover){background:#344151}
  :root[data-mb-farbmodus="dunkel"] a.mb-zurueck[href],
  :root[data-mb-farbmodus="dunkel"] a.mb-zurueck[href]:visited{background:#303b49;border-color:#687789!important;color:#edf1f8!important}
  :root[data-mb-farbmodus="dunkel"] a.mb-zurueck[href]:hover,
  :root[data-mb-farbmodus="dunkel"] a.mb-zurueck[href]:focus{background:#405069;border-color:#e1bd70!important;color:#fff!important}
  :root[data-mb-farbmodus="dunkel"] .mb-bar .mb-srch input{background:#263344;color:#f4f6fb;border:1px solid #6c7c91}
  :root[data-mb-farbmodus="dunkel"] .mb-bar .mb-srch input::placeholder{color:#c5cdd8}
  :root[data-mb-farbmodus="dunkel"] .mb-srch button{color:#e5e9ef}
  :root[data-mb-farbmodus="dunkel"] .mb-treffer-markiert{background:#6a5428;color:#fff3d5}
  :root[data-mb-farbmodus="dunkel"] :is(figure,.material-bilder figure,.gal-cell img){background:#2b323d;border-color:#465363}
  :root[data-mb-farbmodus="dunkel"] :is(.mb-person-table tbody tr,table.mb-tab tr){background:#2b323d;border-color:#465363}
  :root[data-mb-farbmodus="dunkel"] :is(.mb-person-table tbody th,.mb-person-table tbody td,table.mb-tab td,td){color:#e5e9ef;border-color:#465363}
  :root[data-mb-farbmodus="dunkel"] :is(tr:nth-child(even) td,table.mb-tab tbody tr:nth-child(even) td){background:#303947}
  :root[data-mb-farbmodus="dunkel"] .mb-person-table tbody td{background:transparent}
  :root[data-mb-farbmodus="dunkel"] :is(table.mb-tab td .mb-icd,table.mb-tab td em){color:#c3d5ee}
  :root[data-mb-farbmodus="dunkel"] .highlight{color:#ffb09f}
  :root[data-mb-farbmodus="dunkel"] .mb-start a.kachel[data-thema]{border-color:#ffffff0b;box-shadow:0 7px 20px #00000030}
}
@media(forced-colors:active){.mb-start .kachel .k-titel{background:none;-webkit-text-fill-color:CanvasText;color:CanvasText}}
