/* ========================================================
   dIGITAL*dINKELA — Black Editorial Navigation 1.0
   Nur das neue Dialogmenü; keine Theme-Dateien verändert.
   Farben und Größen an einer Stelle anpassbar.
   ======================================================== */

.dd-editorial {
  --dd-black: #090909;
  --dd-white: #f9f9f7;
  --dd-muted: #999;
  --dd-accent: #fa463e;
  --dd-hairline: #3c3c3c;
  --dd-display: "Teko", "Arial Narrow", Impact, sans-serif;
  --dd-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  position: fixed;
  inset: var(--dd-editorial-offset, 0px) 0 0;
  z-index: 2147483000;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--dd-black);
  color: var(--dd-white);
  font: 400 15px/1.45 var(--dd-sans);
  text-align: left;
  isolation: isolate;
  -webkit-overflow-scrolling: touch;
}
.dd-editorial[hidden], .dd-editorial [hidden] { display: none !important; }
.dd-editorial *, .dd-editorial *::before, .dd-editorial *::after { box-sizing: border-box; }
body.dd-editorial-open { overflow: hidden !important; }

/* Sobald die neue Navigation funktioniert, nur den alten Unterrichts-Flyout verstecken. */
html.dd-editorial-ready #site-header .main-menu > li.dd-editorial-host > ul,
html.dd-editorial-ready .mobile-menu > li.dd-editorial-host > ul {
  display: none !important;
}
html.dd-editorial-ready .mobile-menu > li.dd-editorial-host > .ancestor-wrapper > button.sub-menu-toggle,
html.dd-editorial-ready .mobile-menu > li.dd-editorial-host > button.sub-menu-toggle {
  display: none !important;
}

.dd-editorial__shell {
  width: min(100%, 1510px);
  min-height: 100%;
  margin: 0 auto;
  padding: 34px clamp(25px, 4vw, 66px) 25px;
  display: flex;
  flex-direction: column;
}
.dd-editorial p, .dd-editorial h2 { margin: 0; padding: 0; }
.dd-editorial a { text-decoration: none; }
.dd-editorial button,
.dd-editorial button:hover,
.dd-editorial button:active {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: auto;
  color: inherit;
  text-align: left;
  text-transform: none;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  cursor: pointer;
}
.dd-editorial button:focus-visible,
.dd-editorial a:focus-visible {
  outline: 2px solid var(--dd-accent);
  outline-offset: 5px;
}
.dd-editorial__eyebrow {
  color: var(--dd-muted);
  font: 700 11px/1.45 var(--dd-sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.dd-editorial__bullet,
.dd-editorial__title span { color: var(--dd-accent); }
.dd-editorial__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.dd-editorial .dd-editorial__close {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  color: #eee;
  font: 700 11px/1 var(--dd-sans);
  letter-spacing: .12em;
  padding: 7px 2px;
  transition: color .16s ease;
}
.dd-editorial .dd-editorial__close:hover { color: var(--dd-accent); }
.dd-editorial__close span { font: 300 34px/.7 var(--dd-sans); }
.dd-editorial__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  border-bottom: 1px solid #585858;
  padding: 16px 0 25px;
}
.dd-editorial .dd-editorial__title {
  font: 600 clamp(77px, 8.7vw, 126px)/.88 var(--dd-display);
  color: var(--dd-white);
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dd-editorial__intro > p {
  color: #bcbcbc;
  font: 400 14px/1.65 var(--dd-sans);
  margin-bottom: 7px;
  max-width: 290px;
}
.dd-editorial__columns {
  display: grid;
  grid-template-columns: minmax(240px, 39%) minmax(0, 61%);
  padding-top: 34px;
  flex: 1;
}
.dd-editorial__categories {
  border-right: 1px solid var(--dd-hairline);
  padding-right: clamp(22px, 4vw, 62px);
  min-width: 0;
}
.dd-editorial__category-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.dd-editorial .dd-editorial__category {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 22px;
  gap: 9px;
  align-items: baseline;
  width: 100%;
  padding: 7px 0;
  color: #858585;
  transition: color .15s ease;
}
.dd-editorial .dd-editorial__category:hover,
.dd-editorial .dd-editorial__category.is-current { color: var(--dd-white); }
.dd-editorial__number {
  font: 700 11px/1.2 var(--dd-sans);
  color: #777;
  transform: translateY(-2px);
}
.dd-editorial .is-current .dd-editorial__number { color: var(--dd-accent); }
.dd-editorial__category-name {
  font: 600 clamp(32px, 3.1vw, 48px)/1 var(--dd-display);
  letter-spacing: .008em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.dd-editorial__category-arrow {
  visibility: hidden;
  color: var(--dd-accent);
  font: 400 23px/.8 var(--dd-sans);
}
.dd-editorial .is-current .dd-editorial__category-arrow,
.dd-editorial .dd-editorial__category:hover .dd-editorial__category-arrow { visibility: visible; }
.dd-editorial__details { min-width: 0; padding-left: clamp(22px, 4vw, 60px); }
.dd-editorial__details-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 37px;
}
.dd-editorial__topic-count { font: 700 11px/1 var(--dd-sans); letter-spacing: .14em; color: #888; white-space: nowrap; }
.dd-editorial__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 34px;
  align-items: start;
}
.dd-editorial .dd-editorial__topic {
  display: grid;
  grid-template-columns: minmax(23px, auto) minmax(0, 1fr) 16px;
  align-items: baseline;
  gap: 10px;
  padding: 2px 0;
  min-width: 0;
  color: #efefec;
  background: transparent;
  font: 500 15px/1.4 var(--dd-sans);
  transition: color .15s ease;
}
.dd-editorial__topic:hover, .dd-editorial__topic:focus-visible { color: #fff; }
.dd-editorial__topic-tag { color: var(--dd-accent); font: 700 11px/1.6 var(--dd-sans); white-space: nowrap; }
.dd-editorial__topic-name { min-width: 0; overflow-wrap: break-word; }
.dd-editorial__topic:hover .dd-editorial__topic-name,
.dd-editorial__topic:focus-visible .dd-editorial__topic-name {
  text-decoration: underline;
  text-decoration-color: var(--dd-accent);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.dd-editorial__topic-arrow { color: var(--dd-accent); opacity: 0; transition: opacity .15s ease; }
.dd-editorial__topic:hover .dd-editorial__topic-arrow,
.dd-editorial__topic:focus-visible .dd-editorial__topic-arrow { opacity: 1; }
.dd-editorial__topic--depth-1,
.dd-editorial__topic--depth-2,
.dd-editorial__topic--depth-3 { padding-left: 12px !important; }
.dd-editorial__topic--depth-1 .dd-editorial__topic-tag,
.dd-editorial__topic--depth-2 .dd-editorial__topic-tag,
.dd-editorial__topic--depth-3 .dd-editorial__topic-tag { color: #aaa; }
.dd-editorial__empty { font: 400 16px/1.6 var(--dd-sans); color: #bbb; max-width: 370px; }
.dd-editorial .dd-editorial__overview {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: #f2f2f2;
  font: 700 11px/1.2 var(--dd-sans);
  letter-spacing: .11em;
  margin-top: 39px;
  padding: 5px 0;
}
.dd-editorial__overview span { color: var(--dd-accent); font: 400 20px/1 var(--dd-sans); }
.dd-editorial__overview:hover { text-decoration: underline; text-decoration-color: var(--dd-accent); text-underline-offset: 5px; }
.dd-editorial__bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--dd-hairline);
  margin-top: 54px;
  padding-top: 18px;
  color: #888;
  font: 700 10px/1.4 var(--dd-sans);
  letter-spacing: .12em;
}

@media (max-width: 1020px) {
  .dd-editorial__shell { padding: 29px 26px 24px; }
  .dd-editorial__title { font-size: clamp(72px, 10vw, 110px) !important; }
  .dd-editorial__columns { grid-template-columns: minmax(215px, 42%) minmax(0, 58%); }
  .dd-editorial__categories { padding-right: 21px; }
  .dd-editorial__details { padding-left: 27px; }
  .dd-editorial__category-name { font-size: clamp(30px, 3.6vw, 38px); }
  .dd-editorial__topics { gap: 23px 22px; }
}
@media (max-width: 880px) {
  .dd-editorial__shell { padding: 25px 22px 23px; }
  .dd-editorial__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .dd-editorial__intro { display: block; padding: 20px 0 23px; }
  .dd-editorial .dd-editorial__title { font-size: clamp(57px, 13vw, 90px) !important; white-space: normal; }
  .dd-editorial__intro > p { font-size: 12px; line-height: 1.5; margin-top: 11px; }
  .dd-editorial__columns { display: block; padding-top: 24px; }
  .dd-editorial__categories { padding: 0; border: 0; }
  .dd-editorial__category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 11px; margin-top: 16px; }
  .dd-editorial .dd-editorial__category { grid-template-columns: 18px minmax(0,1fr); gap: 4px; padding: 4px 0; }
  .dd-editorial__number { font-size: 9px; transform: translateY(5px); }
  .dd-editorial .dd-editorial__category-name { font-size: clamp(25px, 5.5vw, 36px); line-height: 1.02; }
  .dd-editorial__category-arrow { display: none; }
  .dd-editorial .is-current .dd-editorial__category-name {
    text-decoration: underline; text-decoration-color: var(--dd-accent); text-decoration-thickness: 2px; text-underline-offset: 5px;
  }
  .dd-editorial__details { border-top: 1px solid var(--dd-hairline); margin-top: 27px; padding: 25px 0 0; }
  .dd-editorial__details-heading { margin-bottom: 24px; }
  .dd-editorial__topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; }
  .dd-editorial .dd-editorial__topic { font-size: 13px; gap: 7px; grid-template-columns: minmax(18px, auto) minmax(0, 1fr); }
  .dd-editorial__topic-tag { font-size: 10px; }
  .dd-editorial__topic-arrow { display: none; }
  .dd-editorial__bottom { margin-top: 38px; }
  .dd-editorial__bottom span:last-child { display: none; }
}
@media (max-width: 390px) {
  .dd-editorial__shell { padding-left: 17px; padding-right: 17px; }
  .dd-editorial .dd-editorial__category-name { font-size: 24px; }
  .dd-editorial__topics { grid-template-columns: 1fr; }
  .dd-editorial .dd-editorial__topic { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .dd-editorial *, .dd-editorial *::before, .dd-editorial *::after { transition: none !important; }
}
@media (max-width: 350px) {
  .dd-editorial .dd-editorial__title { font-size: 45px !important; }
}
