/* ============================================================
   studiengang.css — Studiengangsseiten (bachelor/*.html, master/*.html)
   Flache Flaechen, Foto im Kopf, keine Trennlinien. Ueberschreibt
   gemeinsame Regeln aus style.css nur fuer diese Seiten (wird nur von
   den Templates bachelor.html und master.html eingebunden).
   ============================================================ */

body.font-body { font-size: var(--t4); }
.sep { display: none; }

/* --- Abschnitte: Tonwechsel statt Linien, Abschnittstitel einheitlich --- */
.pg { padding-top: var(--abschnitt); padding-bottom: var(--abschnitt); }
.pg .section-title { font-size: var(--t2) !important; line-height: 1.15; margin-bottom: 1.5rem; text-wrap: balance; }
.pg h3 { text-wrap: balance; }
.lead { font-size: var(--t3); line-height: 1.65; max-width: 36rem; }
.fuer-wen-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; }
.fuer-wen-split .person-card { margin: 0; }
.fuer-wen-split .person-card--wide { margin: 0; }
.person-card { outline: 0; }
.person-card-name { font-size: var(--t3); }
.person-card-rolle, .person-card-fakt { font-size: var(--t4-knapp); }
.person-card-img { filter: none; }
@media (max-width: 768px) { .fuer-wen-split { gap: 1.5rem; } }

/* Studienaufbau */
.wf-col-title { font-size: var(--t4-gross); }
.wf-label { font-size: var(--t4-knapp); color: var(--text); }
.wf-val { font-size: var(--t4-meta); }
.wf-compare-empty { border: 0; background: rgba(255, 255, 255, 0.7); font-size: var(--t4-knapp); color: var(--text); }
.wf-mathe-hinweis { font-size: var(--t4); color: var(--text); }
@media (max-width: 900px) { .wf-label { font-size: var(--t4-meta); } }

/* Besonderheiten / Beruf */
.feat-text { font-size: var(--t4-gross); color: var(--text); }
#beruf-text { font-size: var(--t4-gross) !important; color: var(--text) !important; line-height: 1.7 !important; }
.schwerpunkt-tag { font-size: var(--t4-knapp); color: var(--text); }
.card-block p { font-size: var(--t4); color: var(--text); }
.pg .mini-widget-a { font-size: var(--t4) !important; color: var(--text); }
.pg .mini-widget-q { font-size: var(--t4-gross) !important; }

/* Zitat- und Projektband: flaches Uni-Blau, grosses Zitat, kein Foto, keine weisse Karte */
.zitat-band { background: var(--uni-blau); color: #fff; }
.zitat-band .pg { padding-top: 4rem; padding-bottom: 4rem; }
/* Zitatband: Zitat in breiterem Mass und groesserer Stufe, Projekt zweispaltig (Titel links, Text rechts) */
.zitat-band .testi { max-width: 60rem; }
.zitat-band .testi blockquote { font-size: clamp(1.25rem, 2.6vw, 2rem); line-height: 1.35; hyphens: auto; overflow-wrap: break-word; }
/* Infohappen, hell wie auf Blau: Titel links (4 Teile), rechts Metazeile, Text, Link (8 Teile);
   die leere 1fr-Zeile nimmt Hoehenunterschiede auf, damit zwischen Text und Link kein Loch entsteht */
.pg .projekt-highlight { background: none; padding: 0; margin: 0; max-width: none; text-align: left; }
@media (min-width: 901px) {
  .pg .projekt-highlight { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto auto auto 1fr; column-gap: 3rem; align-items: start; }
  .pg .projekt-highlight-titel { grid-column: 1; grid-row: 1 / -1; margin: 0; }
  .pg .projekt-highlight-meta, .pg .projekt-highlight-text, .pg .projekt-highlight-link { grid-column: 2; }
  .pg .projekt-highlight-link { justify-self: start; }
}
.zitat-band .pg .projekt-highlight-titel, .zitat-band .pg .projekt-highlight-text, .zitat-band .pg .projekt-highlight-link { color: #fff; }
.zitat-band .pg .projekt-highlight-meta { color: #c9d7e8; }
.zitat-band .pg .projekt-highlight-link { text-decoration: underline; }

/* Fotoband */
.sg-fotoband { margin: 0; height: clamp(220px, 30vw, 440px); overflow: hidden; }
.sg-fotoband img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); display: block; }

/* Videos: Ueberschrift oben, alle Vorschauen gleich hoch (16:9 bzw. 4:5 bei 225 px),
   Titel auf einer Linie, Datenschutzhinweis als Unterschrift darunter */
.video-teaser-row { justify-content: flex-start; gap: 1.5rem; }
.video-teaser { width: 400px; }
.video-teaser--hoch { width: 180px; }
.video-teaser .video-teaser-thumb { height: 225px; aspect-ratio: auto; border-radius: 0; }
.video-teaser-title { font-size: var(--t4); }
#videos-block .video-teaser-note { margin-top: 1.25rem; max-width: 40rem; font-size: var(--t4-meta); color: var(--text-light); }
#studium-highlight:not(:empty) + #videos-block { margin-top: 2.5rem; }
/* Projekt-Highlight in der Randspalte: gestapelt statt eigenem Raster */
.rs .pg .projekt-highlight, .rs .projekt-highlight { display: block; }
.rs .projekt-highlight-titel { font-size: 1.375rem; margin-bottom: 0.5rem; }
@media (max-width: 640px) {
  .video-teaser { width: 100%; }
  .video-teaser .video-teaser-thumb { height: auto; aspect-ratio: 16 / 9; }
  .video-teaser--hoch { width: calc(50% - 0.75rem); }
  .video-teaser--hoch .video-teaser-thumb { aspect-ratio: 4 / 5; }
}

/* --- Zugang: klappbare Zeilen ohne Linien, Bachelor-Zuordnung als offene Spalten --- */
.zugang-band { background: var(--uni-blau-lighter); }
.zugang-card { background: none; overflow: visible; display: flex; flex-direction: column; gap: 0.5rem; }
/* Kurzfassung als Lesetext, nicht als zweite Ueberschrift */
.zugang-summary { font-size: var(--t3); line-height: 1.55; font-weight: 400; padding: 0 0 1rem; color: var(--text); }
/* Akkordeons einheitlich (wie faq.html und die Studiengangs-FAQ): weisse Zeilen, blaue Frage, Chevron */
.zugang-header { background: #fff; padding: 1.25rem 1.5rem; border-radius: 0; gap: 1.25rem; }
.zugang-header:hover { background: var(--uni-blau-lighter); }
.zugang-group-label { font-size: var(--t3); line-height: 1.35; color: var(--uni-blau); font-weight: 600; }
.zugang-content { background: #fff; border-radius: 0; }
@media (max-width: 560px) { .zugang-group-label { font-size: var(--t4); } }
.zugang-content > div:first-child { font-size: var(--t4-gross) !important; line-height: 1.6 !important; color: var(--text) !important; text-wrap: pretty; }
@media (max-width: 560px) { .zugang-content > div:first-child { font-size: var(--t4) !important; } }
#zugang-grid { background: none; box-shadow: none; padding: 0; margin: var(--a7) 0 0; }
.pg--anschluss { padding-top: 0; }
.zugang-grid-titel { font-size: var(--t3); font-weight: 600; line-height: 1.35; color: var(--uni-blau); margin-bottom: 1rem; }
#voraussetzungen-hint { font-size: var(--t4-knapp) !important; color: var(--text-light) !important; }
#voraussetzungen-hint a { color: var(--accent); }
.pfad-group-heading { font-size: var(--t4-gross); }
.pfad-group-sub { font-size: var(--t4-knapp); color: var(--text-light); }
.pfad-link-list > * { font-size: var(--t4); }

/* --- Aktuelles: flach statt Fotoband mit Karten --- */

/* --- Noch Fragen / Bewerbung --- */
.cta-trenner { height: 3.5rem; }
.step-card { background: #fff; }
.step-card-title { font-size: var(--t4-gross); }
.step-card-text { font-size: var(--t4); color: var(--text); }
.fristen-hint { font-size: var(--t4-knapp); color: var(--text-light); }
#bewerbung-section .section-title, #bereit-section .section-title { text-wrap: balance; }

/* --- Ordnungen: Liste statt Kartenreihe --- */
.ordnungen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 2.5rem; max-width: 40rem; margin: 0 0 1rem; justify-content: start; }
.ordnung-link { flex: none; flex-direction: row; align-items: center; text-align: left; gap: 0.75rem; padding: 0.6rem 0; background: none; border-radius: 0; }
.ordnung-link:hover { transform: none; }
.ordnung-link:hover .ordnung-title { text-decoration: underline; }
.ordnung-title { font-size: var(--t4); }
.ordnung-date { font-size: var(--t4-meta); margin-top: 0; }
@media (max-width: 700px) { .ordnungen-grid { grid-template-columns: 1fr; } .ordnung-link { flex: none; } }
#ordnungen-block { margin-top: 3rem !important; padding-top: 0 !important; border-top: 0 !important; }
#ordnungen-block h3 { font-size: var(--t3) !important; }
#ordnungen-block p { font-size: var(--t4-knapp) !important; }
#ordnungen-block > a { font-size: var(--t4) !important; }




/* ECTS-Spannen ohne Strichelung */
.wf-bar-range { border-style: solid; }

/* Schritte (Einschreibung/Bewerbung): nummerierte Liste statt Kartenreihe */
#einschreibung-schritte, #bewerbung-schritte { display: flex !important; flex-direction: column; gap: 1.5rem !important; max-width: 44rem; margin: 0 0 1.75rem !important; }
.step-card { background: none; padding: 0; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.step-card-num { grid-row: 1 / span 2; font-size: 2.25rem; line-height: 1; margin: 0; color: var(--uni-blau); }
.step-card-title, .step-card-text { grid-column: 2; }
.step-card-title { font-size: var(--t3); margin-bottom: 0.2rem; }

/* Aktuelles, Abgrenzung, Fragen: ohne Kastenreihen */
.card-block { background: none; padding: 0; margin-bottom: 1.75rem; }
.card-block h3 { font-size: var(--t3); }
.pg .mini-widget-question { background: none; padding: 0; margin-bottom: 1.5rem; }
@media (max-width: 768px) {
  .fuer-wen-split { grid-template-columns: minmax(0, 1fr); }
  #zugang-grid > div:last-child, #master-pfade { grid-template-columns: minmax(0, 1fr) !important; gap: 1rem !important; }
}

/* Bewegung: Einblenden beim Scrollen setzt .bw-vor/.bw-da (style.css) */
.pg--knopf { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* Themenfelder als Legende im Studienaufbau (Master) */
.wf-themen { margin-top: 2rem; }
.wf-themen h3 { font-size: var(--t4-gross); font-weight: 600; margin: 0 0 0.6rem; }
.wf-themen-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wf-themen .schwerpunkt-tag { background: #fff; border-radius: 999px; padding: 0.35rem 0.95rem; font-size: var(--t4-meta); }

/* Ansprechperson unter dem Text von "Fuer wen?": rundes Foto neben Name und Rolle, Zitat
   in voller Kartenbreite. Die Kopfbilder sind klein (oft 200 px), ein hoher Streifen wird
   unscharf und schneidet Gesichter an. */
.person-card--rs { display: block; max-width: 36rem; margin-top: var(--a6); padding: 1.1rem 1.25rem 1.25rem; }
.person-card--rs .person-card-img { float: left; width: 88px; height: 88px; border-radius: 50%; margin: 0 1rem 0.75rem 0; object-position: 50% 25%; }
.person-card--rs .person-card-body { display: block; padding: 0; }
.person-card--rs .person-card-name { padding-top: 0.9rem; }
.person-card--rs .person-card-zitat, .person-card--rs .person-card-fakt { clear: both; }
