:root{--page-background:#2b2226;font-family:'Source Sans Pro','Segoe UI',Arial,sans-serif;color:#eeeeef;background:var(--page-background);font-size:17px;line-height:1.7}*{box-sizing:border-box}body{margin:0}a{color:#b9e3ee;text-underline-offset:5px}a:hover{color:#e0f6fc}header{height:78px;padding:0 max(5%,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;background:var(--page-background);color:white;gap:30px}.brand{color:#fff;font-size:29px;text-decoration:none;white-space:nowrap;font-weight:300}nav{display:flex;gap:25px}nav a{font-size:14px;letter-spacing:1.5px;text-transform:uppercase;color:#eee;text-decoration:none}nav a:hover{color:#fff;text-decoration:underline}.hero{height:280px;background:linear-gradient(90deg,rgba(43,34,38,.48),rgba(43,34,38,.68)),url('assets/abstract-art-astronomy-black-and-white-287005-scaled.jpg') center 47%/cover;background-blend-mode:color,normal;display:flex;align-items:center;justify-content:flex-end;padding:30px max(9%,calc((100vw - 1080px)/2));color:#fff;clip-path:polygon(0 0,100% 0,100% 95%,30% 100%,0 96%)}.hero div{text-align:right}.hero h1{font-size:clamp(2.5rem,5vw,4rem);text-transform:none;letter-spacing:0;line-height:1.1;margin:0 0 18px;font-weight:300}.hero p{font-size:25px;margin:0;font-weight:300}.gridContainer{max-width:1120px;margin:auto;padding:0 28px}main>div{padding:78px 0}h2{font-size:2.3rem;font-weight:500;line-height:1.2;margin:0 0 26px;color:#f5f5f5}h3{line-height:1.35;font-weight:600}p{margin:0 0 20px}.row,.content-right-image-gridcol{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center}img{display:block;max-width:100%;height:auto}.content-left-image-imgcol img{aspect-ratio:4/5;object-fit:cover;border-radius:3px}.content-right-image-gridcol{grid-template-columns:1.1fr 1fr}.content-right-image-imgcol img{aspect-ratio:4/5;object-fit:cover;border-radius:3px}#ida{background:var(--page-background)}#ida h3{margin-top:34px}#forschung h2,#forschung .features-image-cards-textrow{text-align:center}.features-image-cards-textrow{max-width:700px;margin:0 auto 42px}.features-image-cards-innerrow{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.features-image-cards-cardcol{background:#362c31;border-radius:4px;overflow:hidden;box-shadow:0 3px 18px #00000006}.features-image-cards-featimg{width:100%;aspect-ratio:16/10;object-fit:cover}.features-image-cards-cardtextrow{padding:23px}.features-image-cards-cardtextrow h3{font-size:1.16rem;margin:0 0 13px}.features-image-cards-cardtextrow p{font-size:1rem;margin-bottom:0}.features-image-cards-cardtextrow a{overflow-wrap:anywhere}#lehre{background:var(--page-background)}#lehre .row{display:block}#lehre .gridContainer>div{margin-bottom:30px}#lehre img{width:100%;height:230px;object-fit:cover}#lehre .about-big-images-bottomrow{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.contact{padding:80px 24px;text-align:center;color:white;background:var(--page-background)}.contact h2{color:white}.button{display:inline-block;background:white;color:#222;padding:12px 27px;border-radius:3px;text-decoration:none;font-weight:600}.contact-address{margin:20px 0 0;color:#ddd}.partners{display:flex;justify-content:center;gap:65px;padding:45px 25px;background:var(--page-background)}.partners img{width:130px;height:130px;object-fit:contain}footer{padding:35px max(5%,calc((100vw - 1120px)/2));display:flex;gap:25px;align-items:center;justify-content:space-between;background:var(--page-background);color:#ccc;font-size:15px}footer a{color:#eee}.legal{max-width:850px;padding:70px 28px;margin:auto;min-height:80vh}.legal h2{margin-top:36px}.skip{position:absolute;left:20px;top:-100px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}a:focus-visible{outline:3px solid #d18c31;outline-offset:5px}[id]{scroll-margin-top:25px}@media(max-width:900px){header{height:auto;min-height:78px;flex-wrap:wrap;padding:18px 5%;gap:12px}nav{flex-wrap:wrap;gap:12px 20px}.row,.content-right-image-gridcol{gap:30px}.features-image-cards-innerrow{grid-template-columns:repeat(2,1fr)}.hero{height:240px}}@media(max-width:600px){:root{font-size:16px}.brand{font-size:26px}nav a{font-size:12px;letter-spacing:1px}.hero{height:210px;padding:30px 7%}.hero p{font-size:20px}main>div{padding:48px 0}.gridContainer{padding:0 22px}.row,.content-right-image-gridcol{grid-template-columns:1fr}.content-left-image-imgcol img{max-height:380px;width:100%;object-position:center 30%}.content-right-image-imgcol img{max-height:340px;width:100%}.features-image-cards-innerrow{grid-template-columns:1fr}#lehre .about-big-images-bottomrow{grid-template-columns:1fr}#lehre img{height:220px}.partners{gap:20px}.partners img{width:90px;height:90px}footer{flex-direction:column;text-align:center;gap:8px}h2{font-size:2rem}}

/* Lokale Gestaltungsanpassungen */
.brand strong{font-weight:300}.partners a{display:flex;align-items:center;justify-content:center;width:130px;height:130px;border-radius:50%;overflow:hidden;background:#fff;flex-shrink:0}.partners img{border-radius:50%;width:100%;height:100%;object-fit:cover}.partners .university-logo{background:#000}.university-symbol{display:block;width:60%;aspect-ratio:1;overflow:hidden}.partners .university-logo img{display:block;border-radius:0;width:278.666667%;max-width:none;height:auto;object-fit:initial}.skip{color:#222}@media(max-width:600px){.partners a{width:90px;height:90px}}

/* Weiche Bildecken und dunkler, am Porträt orientierter Hintergrund. */
.content-left-image-imgcol img,.content-right-image-imgcol img,#lehre img{border-radius:18px}.features-image-cards-cardcol{border-radius:18px}.features-image-cards-featimg{border-radius:18px}

/* Lehre und IDA */
#lehre h2{text-align:center}
.teaching-courses{width:100%;border-collapse:collapse;margin:28px 0 32px;text-align:left}
.teaching-courses th,.teaching-courses td{padding:12px 0;vertical-align:top;border-bottom:1px solid #ffffff1a}
.teaching-courses th{width:12rem;padding-right:2rem;white-space:nowrap;font-weight:400}
#ida .content-right-image-gridcol{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}
#ida .content-right-image-imgcol img{width:100%;max-width:310px;height:auto;margin-inline:auto}
@media(max-width:600px){.teaching-courses th{width:8rem;white-space:normal;padding-right:1rem}.teaching-courses th,.teaching-courses td{padding-block:10px}#ida .content-right-image-gridcol{grid-template-columns:1fr}#ida .content-right-image-imgcol img{max-width:260px}}

/* Vorlesungsbild neben der Lehre-Liste. */
#lehre .about-big-images-textrow{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:40px;align-items:start}
.teaching-photo{margin:0;padding-top:0}
#lehre .teaching-photo img{width:100%;height:auto;border-radius:18px}
#lehre .about-big-images-bottomrow{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){#lehre .about-big-images-textrow{grid-template-columns:1fr}.teaching-photo{padding-top:0;max-width:520px;margin-inline:auto}}
@media(max-width:600px){#lehre .about-big-images-bottomrow{grid-template-columns:1fr}}

/* Einheitliche Seitenfläche und Uni-Bilder hinter IDA. */
body{background:var(--page-background)}
.features-image-cards-cardcol{box-shadow:none}
.campus-gallery{padding-top:0}
.campus-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.campus-images img{width:100%;height:260px;object-fit:cover;border-radius:18px}
@media(max-width:600px){.campus-images{grid-template-columns:1fr}.campus-images img{height:220px}}

/* Kompakte Übergänge und IDA-Bild zwischen Überschrift und Text. */
#forschung{padding-bottom:32px}
#lehre{padding-top:32px;padding-bottom:24px}
#lehre .about-big-images-textrow{display:block;margin-bottom:0}
#lehre .teaching-courses{margin-bottom:0}
#ida{padding-top:32px;padding-bottom:40px}
#ida .content-right-image-gridcol{display:block}
#ida h2{text-align:center}
.ida-photo,.teaching-photo{width:min(100%,520px);margin:0 auto 28px}
#ida .ida-photo img{width:100%;height:auto;max-height:none;border-radius:18px}

/* Bildbreite auch unmittelbar am Bild begrenzen. */
#lehre .teaching-photo,#ida .ida-photo{width:100%;max-width:520px;margin:0 auto 28px}
#lehre .teaching-photo img,#ida .ida-photo img{display:block;width:100%;max-width:520px;height:auto;margin-inline:auto}
