/* KIT-Design (data-design="kit" an <html>) wie kit.edu: Roboto, eckige Kanten, KIT-Grün #00876c, Grautöne #404040/#f2f2f2.
   Zusätzlich zum Medienzentrum-Design (Standard, modern.css); geladen mit theme_switch oder default_design = "kit".
   Farben gelten nur hell; im Dunkelmodus bleiben die Farben aus theme.css, Schrift und Formen wechseln trotzdem. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700.woff2") format("woff2"); }

:root[data-design="kit"] {
  --font: "Roboto", Arial, Helvetica, sans-serif;
  --radius: 0;
}
:root[data-design="kit"]:not([data-theme="dark"]) {
  --color-primary: #00876c;
  --color-primary-dark: #007755;
  --color-accent: #00876c;
  --color-surface: #f2f2f2;
  --color-hero: #e6e6e6;
  --color-text: #000000;
  --color-muted: #404040;
  --color-border: #d9d9d9;
  --color-bg: #ffffff;
  /* Flächen mit weißer Schrift eine Stufe dunkler: #00876c hat mit Weiß nur 4,48 : 1, #007755 hat 5,6 : 1 (WCAG 1.4.3) */
  --color-button: #007755;
  --color-button-hover: #005e45;
  --color-toggle: #00876c;
  --color-toggle-hover: #007755;
}

/* Überschriften und Hero wie kit.edu: dunkelgrau, kräftig, ohne enge Laufweite */
:root[data-design="kit"]:not([data-theme="dark"]) .site-content :is(h1, h2, h3, h4) { color: #404040; }
:root[data-design="kit"] .site-content :is(h1, h2, h3) { font-weight: 700; letter-spacing: 0; }
:root[data-design="kit"] .hero__title { font-weight: 700; letter-spacing: 0; }
:root[data-design="kit"] .hero__kicker { letter-spacing: 0.15em; font-weight: 400; }
:root[data-design="kit"]:not([data-theme="dark"]) .hero__kicker { color: #404040; }
:root[data-design="kit"]:not([data-theme="dark"]) .hero__title { color: #404040; }

/* Formen wie bibliothek.kit.edu: Link-Schaltflächen und Kacheln als „Blatt“ (oben rechts und unten links 0,5em rund,
   oben links und unten rechts eckig, vgl. .quote-element/.service-tile dort); Menüs, Formularfelder, Bilder eckig.
   Suchfeld und Suchknopf bilden zusammen ein Blatt: Feld unten links rund, Knopf oben rechts rund. */
:root[data-design="kit"] { --kit-leaf: 0 0.5em 0 0.5em; }
:root[data-design="kit"] :is(.btn, .site-content a.md-button, .tile__link, .main-nav__item.is-cta > a, .notice-item) {
  border-radius: var(--kit-leaf);
}
:root[data-design="kit"] .search-form__input { border-radius: 0 0 0 0.5em; }
:root[data-design="kit"] form.search-form .btn { border-radius: 0 0.5em 0 0; }
:root[data-design="kit"] :is(.account__menu, .notice-form fieldset, .notice-form input, .notice-form textarea, .site-content img,
  .site-content pre, .nav-toggle) {
  border-radius: 0;
}
:root[data-design="kit"] .tile__link { box-shadow: none; border: 1px solid var(--color-border); }
:root[data-design="kit"] .tile__link:hover { border-color: var(--color-primary); }
:root[data-design="kit"] .main-nav__item > a { font-weight: 500; }
:root[data-design="kit"] .main-nav__item.is-active > a, :root[data-design="kit"] .main-nav__item > a[aria-current="page"] { border-bottom-width: 3px; font-weight: 700; }

/* Fußzeile wie kit.edu: dunkelgrau statt fast schwarz */
:root[data-design="kit"]:not([data-theme="dark"]) .site-footer { background: #404040; }

/* Medienzentrums-Karten (mz.css der Website): Karten, Hinweise und Bänder als Blatt, der Rest eckig */
:root[data-design="kit"] :is(.mz-card, .mz-note, .mz-band) { border-radius: var(--kit-leaf); }
:root[data-design="kit"] :is(.mz-sticker, .mz-steps li, .mz-photos img, .mz-chips span) { border-radius: 0; }

