/* ============================================================
   en.css — Baender fuer den englischen Bereich (/en/)
   ============================================================
   Volle Breite statt schmaler Spalte: jeder Abschnitt ist ein Band mit
   eigener Flaeche (weiss, hellblau, uni-blau), Inhalt im Raster von
   --inhalt. Serife nur fuer h2 (var(--serif), kraeftig),
   alles andere in Source Sans (Naehe zum Corporate Design der Uni). */

.enb { padding: var(--abschnitt) 0; background: #fff; }
.enb--hell { background: var(--uni-blau-lighter); }
.enb--blau { background: var(--uni-blau); color: #fff; }
.enb-innen { max-width: var(--inhalt); margin: 0 auto; padding: 0 1.5rem; }

.enb h2 { font-family: var(--serif); font-weight: 650; font-size: var(--t2); line-height: 1.2; color: var(--uni-blau); margin: 0 0 1rem; max-width: 34ch; scroll-margin-top: 5rem; text-wrap: balance; }
.enb h3 { font-family: inherit; font-size: var(--t3); font-weight: 600; line-height: 1.35; color: var(--text); margin: 0 0 0.4rem; }
.enb p, .enb li { font-size: var(--t4-gross); line-height: 1.65; color: var(--text); }
.enb p { margin: 0 0 1rem; }
.enb ul, .enb ol { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.enb li { margin-bottom: 0.4rem; }
.enb a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.enb a:hover { text-decoration-thickness: 2px; }
.enb--blau h2, .enb--blau h3, .enb--blau p, .enb--blau li, .enb--blau strong { color: #fff; }
.enb--blau a { color: #fff; }
.enb-lead { font-size: var(--t3) !important; max-width: 62ch; }
.enb-text { max-width: 68ch; }
.enb-quelle { font-size: var(--t4-meta) !important; color: var(--muted) !important; }
.enb--blau .enb-quelle { color: #d6e2f0 !important; }

/* Inhaltsleiste: gemeinsames Muster in style.css (.seiten-toc, .enb-toc) */

/* Gruende: Text in zwei Spalten, ohne Kaesten */
.enb .enb-gruende { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 4rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.enb-gruende li { margin: 0; }
.enb-gruende p { margin: 0; }

/* Halb randlos: Foto bis an den Bildschirmrand, Text im Raster */
.enb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
.enb-split-bild { margin: 0; position: relative; min-height: 420px; }
.enb-split-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.enb-split-text { padding: clamp(3rem, 6vw, 5rem) 3rem clamp(3rem, 6vw, 5rem) max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)); }
.enb-split--bild-links .enb-split-bild { order: -1; }
.enb-split--bild-links .enb-split-text { padding: clamp(3rem, 6vw, 5rem) max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)) clamp(3rem, 6vw, 5rem) 3rem; }
.enb-split-text > :last-child { margin-bottom: 0; }

/* Studienbereiche */
.enb-bereiche { margin: 1.5rem 0; padding: 0; display: grid; gap: 6px; }
.enb-bereiche > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.25rem 1.5rem; padding: 0.9rem 1.1rem; background: rgba(255, 255, 255, 0.7); }
.enb--hell .enb-bereiche > div { background: #fff; }
.enb-bereiche dt { font-weight: 700; color: var(--uni-blau); }
.enb-bereiche dd { margin: 0; color: var(--text); }

/* Ansprechpersonen */
.enb-leute { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; margin-top: 2rem; }
.enb-person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; margin-bottom: 1rem; }
.enb-person h3 { margin-bottom: 0.15rem; }
.enb-person .rolle { font-weight: 600; color: var(--accent); margin: 0 0 0.5rem; font-size: var(--t4-knapp); }
.enb-person p { font-size: var(--t4); }
.enb-person a { overflow-wrap: anywhere; }
.enb-kontakte { grid-column: span 3; }
.enb-kontakte .enb-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.enb-kontakte a { overflow-wrap: anywhere; }

/* Perspektiven */
.enb-perspektiven { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem 4rem; margin-top: 1.5rem; }
.enb-zahl { background: rgba(255, 255, 255, 0.1); padding: 1.5rem 1.6rem; margin: 0 0 1.5rem; }
.enb .enb-zahl-wert { margin: 0 0 0.5rem !important; }
.enb-liste { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 1.25rem; }
.enb-liste li { margin: 0; }
.enb-liste strong { display: block; font-size: var(--t4-gross); margin-bottom: 0.15rem; }

/* Studiengaenge auf Deutsch */
/* Sprachhinweis als Randspalten-Zeile zwischen Linien, ohne Kasten */
.enb-sprachhinweis { padding: 1.5rem 0; margin: 0 0 3.5rem; border-top: 2px solid var(--uni-blau); border-bottom: 1px solid #c9d6ea; }
.enb-sprachhinweis .rs-kopf p { font-size: var(--t3); font-weight: 600; line-height: 1.35; color: var(--uni-blau); max-width: none; }
.enb-sprachhinweis .rs-inhalt p { margin: 0; max-width: 44rem; }
.enb-sprachhinweis .rs-kopf { position: static; }
/* Studiengangsliste als offene Liste mit Haarlinien (wie im deutschen Teil), keine Kastenreihe */
.enb-progs { display: grid; gap: 0; margin: 1rem 0 2rem; border-bottom: 1px solid #c9d6ea; }
.enb-prog { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; gap: 0.5rem 2rem; align-items: baseline; padding: 1.1rem 0; background: none; border-top: 1px solid #c9d6ea; }
.enb-prog h4 { font-family: inherit; font-size: var(--t4-gross); font-weight: 700; color: var(--text); margin: 0; line-height: 1.35; }
.enb-prog h4 span { display: block; font-weight: 400; color: var(--muted); font-size: var(--t4-knapp); }
.enb-prog p { margin: 0; font-size: var(--t4); }
.enb-prog-meta { display: grid; gap: 0.15rem; justify-items: start; }
.enb-prog .sprache { font-size: var(--t4-meta); font-weight: 700; color: var(--uni-blau); white-space: nowrap; }
.enb-prog-meta a { font-size: var(--t4-meta); white-space: nowrap; }
.enb-gruppe { font-size: 1.3rem !important; margin: 2rem 0 0.5rem !important; }

/* Akkordeons und Pflichtteile in Baendern: gleiche Optik wie bisher, breiter */
.enb .en-akk { max-width: none; }
.enb .en-mehr { background: #fff; }
.enb:not(.enb--hell) .en-mehr { background: var(--uni-blau-lighter); }
.enb .en-check { max-width: 860px; }

/* Akkordeons auf Uni-Blau: helle Flaeche, also dunkle Schrift */
.enb--blau .en-mehr p, .enb--blau .en-mehr li, .enb--blau .en-mehr strong { color: var(--text); }
.enb--blau .en-mehr a { color: var(--accent); }

/* Kurzliste Voraussetzungen im blauen Band */
.enb-kurz { margin: 1.5rem 0 1.75rem; padding: 0; }
.enb-kurz > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.25rem 1.25rem; padding: 0.7rem 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.enb-kurz > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.enb-kurz dt { font-weight: 700; }
.enb-kurz dd { margin: 0; font-size: var(--t4); line-height: 1.55; }
@media (max-width: 600px) { .enb-kurz > div { grid-template-columns: minmax(0, 1fr); } }

/* Zitat unter einem Raster braucht Luft nach oben */
.enb .en-voice { margin: 3.5rem 0 0; }

/* Schaltflaeche */
.enb .en-cta { margin-top: 0.5rem; }
.enb--blau .en-cta { background: #fff; color: var(--uni-blau) !important; }
.enb--blau .en-cta:hover { background: var(--uni-blau-lighter); }
.kopf .kopf-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin: 2.25rem 0 0; font-size: var(--t4); }
.kopf-aktionen .en-cta { margin: 0; background: #fff; color: var(--uni-blau) !important; }
.kopf-aktionen .en-cta:hover { background: var(--uni-blau-lighter); }
.kopf-aktionen a:not(.en-cta) { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* Band, das mit einem Bild-Text-Split beginnt: der Split bringt seinen Abstand selbst mit */
.enb--split-oben { padding-top: 0; }
.enb--split-oben > .enb-split + .enb-innen { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Zeilen mit Randspalte: links eine kurze Orientierung (Marginalie), rechts der Inhalt */
.enb-reihe { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1rem 3rem; padding: 2.25rem 0; border-top: 1px solid #c9d6ea; }
.enb h2 + .enb-reihe, .enb-lead + .enb-reihe { margin-top: 1.5rem; }
.enb--blau .enb-reihe { border-top-color: rgba(255, 255, 255, 0.25); }
.enb-marke h3 { font-size: var(--t3); color: var(--uni-blau); margin: 0 0 0.35rem; }
.enb-marke p { font-size: var(--t4-knapp) !important; line-height: 1.5; color: var(--muted) !important; margin: 0; }
.enb--blau .enb-marke h3 { color: #fff; }
.enb--blau .enb-marke p { color: #c9d7e6 !important; }
.enb-reihe-inhalt > :last-child { margin-bottom: 0; }
.enb-reihe-inhalt > .en-akk { max-width: none; margin: 1.5rem 0 0; }

/* Punkte in Spalten, ohne Kaesten */
.enb-spalten { display: grid; grid-template-columns: repeat(var(--spalten, 3), minmax(0, 1fr)); gap: 1.75rem 2.5rem; list-style: none; padding: 0 !important; margin: 0 !important; }
.enb-spalten > li { margin: 0; }
.enb-spalten h4 { font-family: inherit; font-size: var(--t4-gross); font-weight: 700; line-height: 1.35; color: var(--text); margin: 0 0 0.35rem; }
.enb--blau .enb-spalten h4 { color: #fff; }
.enb-spalten p { margin: 0 0 0.6rem; font-size: var(--t4); }
.enb-spalten p:last-child { margin-bottom: 0; }

/* Eine Kennzahl als Streifen: Wert links, Erklaerung rechts */
.enb-kennzahl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem 2.5rem; align-items: baseline; }
.enb-kennzahl .enb-zahl-wert { margin: 0 !important; white-space: nowrap; }
.enb-kennzahl p { margin: 0 0 0.5rem; }

/* Bloecke im geoeffneten Akkordeon: Zwischenueberschriften im Raster statt einer langen Spalte */
.enb-bloecke { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 3rem; margin-top: 1rem; }
.enb-bloecke > .breit { grid-column: 1 / -1; }
.enb-bloecke h4 { font-family: inherit; font-size: var(--t4-gross); font-weight: 700; color: var(--uni-blau); margin: 0 0 0.4rem; scroll-margin-top: 5rem; }
.enb-bloecke p, .enb-bloecke li { font-size: var(--t4); }
.enb-bloecke > div > :last-child { margin-bottom: 0; }
.enb-bloecke .en-note { margin: 0; }

/* Auf einen Blick: drei gleich starke Spalten */
.enb-blick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); gap: 1.5rem 3rem; align-items: start; }
.enb-blick .en-glance { margin: 0; }
.enb-blick .en-glance > div { grid-template-columns: 6.5rem minmax(0, 1fr); padding: 0.6rem 0; }
.enb-blick .en-dates { margin: 0; padding: 0; background: none; }
.enb .enb-blick .en-dates p { font-size: var(--t4-knapp); }
.enb-blick .en-dates-row { flex-direction: column; gap: 1rem; }
.enb-blick h4 { font-family: inherit; font-size: var(--t4-gross); font-weight: 700; color: var(--uni-blau); margin: 0 0 0.5rem; }
.enb-blick ul { padding-left: 1.1rem; }
.enb-blick li { font-size: var(--t4); }

/* Schema Zugangsvoraussetzungen: Abschluss, zwei Wege, dann die weiteren Nachweise */
.zd { margin: 0; }
.zd-knoten { background: #fff; border: 2px solid var(--uni-blau); border-radius: var(--radius); padding: 0.9rem 1.15rem; }
.zd-knoten--wenn { border-style: dashed; }
.zd-marke { display: block; font-size: var(--t4-meta); font-weight: 700; color: var(--accent); margin-bottom: 0.15rem; }
.zd-knoten strong { display: block; font-size: var(--t4-gross); color: var(--uni-blau); line-height: 1.3; }
.zd-knoten p { font-size: var(--t4-knapp) !important; line-height: 1.5; margin: 0.3rem 0 0 !important; color: var(--text); }
.zd-start { max-width: 26rem; margin: 0 auto; text-align: center; }
.zd-gabel { position: relative; height: 2.6rem; }
.zd-gabel::before { content: ''; position: absolute; left: 50%; top: 0; height: 1.3rem; border-left: 2px solid var(--uni-blau); }
.zd-gabel::after { content: ''; position: absolute; left: calc(25% - 0.75rem); right: calc(25% - 0.75rem); top: 1.3rem; height: 1.3rem; border: 2px solid var(--uni-blau); border-bottom: 0; }
.zd-zweige { display: grid; grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr); align-items: start; }
.zd-oder { align-self: center; text-align: center; font-weight: 700; color: var(--uni-blau); margin: 0 !important; font-size: var(--t4-knapp) !important; }
.zd-plus { margin: 1.75rem 0 0.75rem !important; font-weight: 700; color: var(--uni-blau); font-size: var(--t4) !important; }
.zd-weitere { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.zd-legende { font-size: var(--t4-meta) !important; color: var(--muted) !important; margin: 0.9rem 0 0 !important; }
/* 115 ECTS passende Inhalte: Anteile als Balken, Beschriftung als Liste darunter */
.zd-anteile { display: flex; height: 12px; margin: 0.8rem 0 0.6rem; border-radius: 6px; overflow: hidden; }
.zd-anteile span { display: block; height: 100%; }
.zd-anteile span + span { border-left: 2px solid #fff; }
.zd-anteile-liste { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 0.3rem; }
.zd-anteile-liste li { font-size: var(--t4-knapp) !important; line-height: 1.4; margin: 0 !important; padding-left: 1.3rem; position: relative; }
.zd-anteile-liste li::before { content: ''; position: absolute; left: 0; top: 0.35em; width: 0.8rem; height: 0.8rem; border-radius: 3px; background: var(--farbe); }

@media (max-width: 900px) {
  .enb-split, .enb-perspektiven { grid-template-columns: minmax(0, 1fr); }
  .enb-split-bild { min-height: 0; aspect-ratio: 3 / 2; }
  .enb-split--bild-links .enb-split-bild, .enb-split .enb-split-bild { order: -1; }
  .enb-split-text, .enb-split--bild-links .enb-split-text { padding: 2.5rem 1.5rem; }
  .enb-leute { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .enb-kontakte { grid-column: auto; }
  .enb-kontakte .enb-liste { grid-template-columns: minmax(0, 1fr); }
  .enb-prog { grid-template-columns: minmax(0, 1fr); }
  .enb-reihe { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.75rem 0; }
  .enb-marke p { max-width: 60ch; }
  .enb-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enb-blick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .enb-blick > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .zd-gabel { display: none; }
  .zd-zweige { grid-template-columns: minmax(0, 1fr); }
  .zd-oder { padding: 0.6rem 0; }
  .zd-weitere { grid-template-columns: minmax(0, 1fr); }
  .enb-bloecke { grid-template-columns: minmax(0, 1fr); }
  .enb-kennzahl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .enb .enb-gruende { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .enb-spalten, .enb-blick { grid-template-columns: minmax(0, 1fr); }
  .enb-bereiche > div { grid-template-columns: minmax(0, 1fr); }
  .enb-leute { grid-template-columns: minmax(0, 1fr); }
  .enb-person { max-width: 26rem; }
  .enb-person { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 1rem; align-items: start; }
  .enb-person img { grid-row: 1 / span 4; margin: 0; }
  .enb-person > :not(img) { grid-column: 2; }
}

/* Fotos vom Jubilaeumsfest (img/en/fest/): grosse Bilder ohne Text in den Flaechen, eine Unterschrift fuer alle.
   .fest-mosaik: vier Bilder in zwei Zeilen, breites und schmales Bild wechseln die Seite;
   --drei: ein grosses Bild links, zwei kleine rechts uebereinander. Die Bilder liegen absolut in ihrer
   Zelle, damit nur die breiten Zellen (aspect-ratio) die Zeilenhoehe bestimmen. */
.fest { margin: 2rem 0 0; }
.fest-mosaik { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; }
.fest-mosaik > div { position: relative; overflow: hidden; background: var(--uni-blau-lighter); }
.fest-mosaik img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fest-mosaik > .breit { grid-column: span 2; aspect-ratio: 16 / 9; }
.fest-mosaik--drei > .gross { grid-column: span 2; grid-row: span 2; aspect-ratio: 3 / 2; }
.fest figcaption, .fest-bild figcaption { font-size: var(--t4-meta); line-height: 1.5; color: var(--muted); margin-top: 0.75rem; text-wrap: pretty; }
.en-page > .fest { max-width: none; margin: 2.5rem 0 0; }

/* Einzelbild im Textfluss eines Bandes */
.fest-bild { margin: 2rem 0 2.5rem; max-width: 860px; }
.fest-bild img { display: block; width: 100%; height: auto; }

/* Bildpaar ueber die volle Breite zwischen zwei Baendern, Unterschrift im Raster */
.fest-paar { margin: 0; background: #fff; }
.fest-paar-bilder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.fest-paar-bilder img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.fest-paar figcaption { max-width: var(--inhalt); margin: 0 auto; padding: 0.75rem 1.5rem 0; font-size: var(--t4-meta); line-height: 1.5; color: var(--muted); }

@media (max-width: 600px) {
  .fest-mosaik { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .fest-mosaik > div { aspect-ratio: 4 / 5; }
  .fest-mosaik > .breit, .fest-mosaik--drei > .gross { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .fest-mosaik--drei > div { aspect-ratio: 3 / 2; }
  .fest-paar-bilder { grid-template-columns: minmax(0, 1fr); }
}

/* Randspalte (.rs aus style.css) in Baendern: Lesetext rechts begrenzt, Zahlen unter dem Titel */
.enb .rs-kopf h2 { margin-bottom: 0.75rem; }
.enb .rs-kopf .en-marg-zahlen { margin-top: 1.75rem; }
.rs-text > p, .rs-text > ul, .rs-text > h3 { max-width: 44rem; }
.rs-text > h3 { font-size: var(--t3); font-weight: 600; color: var(--uni-blau); margin: 2rem 0 0.4rem; }
.rs-text > h3:first-child { margin-top: 0; }
.rs-text > .en-split--rs { margin: 2.5rem 0; }
.rs-bild { margin: 0 0 1.75rem; }
.rs-bild img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
/* Fotobaender zwischen Baendern ohne Rand */
.enb + .en-band, .en-band + .enb { margin-top: 0; }
.en-band:has(+ .enb) { margin-bottom: 0; }
/* Fotoband ohne Text: kein Abdunkeln */
.en-band--bild::before { content: none; }
/* Kontaktband und Ansprechpersonen in der Randspalte */
.enb.kontakt-band { background: var(--uni-blau-lighter); }
.rs-inhalt > .enb-leute { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 600px) { .rs-inhalt > .enb-leute { grid-template-columns: minmax(0, 1fr); } }
/* Kontaktliste im 2-Spalten-Raster der Randspalte nicht ueber 3 Spalten spannen */
.rs-inhalt > .enb-leute > .enb-kontakte { grid-column: auto; }
.rs-inhalt > .enb-leute .enb-liste { grid-template-columns: minmax(0, 1fr); }
