@font-face {
  font-family: DM Sans;
  src: url(dm-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant Garamond;
  src: url(cormorant.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Cormorant Garamond;
  src: url(cormorant-italic.woff2) format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #172e48;
  --blue: #193853;
  --soft: #516676;
  --accent: #87603f;
  --line: #cbd2d1;
  --warm: #f6f5f0;
  --pale: #eef2f3;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --figures: Arial, Helvetica, sans-serif;
  --text-caption: .8125rem;
  --text-small: .875rem;
  --text-body: 1rem;
  --text-subheading: clamp(1.35rem, 1.8vw, 1.65rem);
  --text-heading: clamp(1.875rem, 3.2vw, 2.625rem);
  --text-title: clamp(2.375rem, 4.9vw, 3.875rem);
  --text-hero: clamp(3.5rem, 6.7vw, 5.25rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  font: 400 var(--text-body)/1.6 var(--sans);
  background: #fff;
  text-rendering: optimizeLegibility;
}
body,
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: #755033;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #aa7348;
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
h1,
h2,
h3 {
  font: 500 1em/1.04 var(--serif);
  text-wrap: balance;
}
h1 {
  font-size: var(--text-title);
  letter-spacing: -0.043em;
}
h2 {
  font-size: var(--text-heading);
  letter-spacing: -0.035em;
}
h3 {
  font-size: var(--text-subheading);
  letter-spacing: -0.024em;
}
em {
  font-weight: 500;
}
p {
  max-width: 74ch;
}
.wrap {
  width: min(1280px, calc(100% - clamp(40px, 10.4vw, 160px)));
  margin-inline: auto;
}
.top {
  background: white;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.bar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex: none;
  color: var(--ink);
}
.brand img {
  width: 93px;
  height: auto;
}
.brand > span {
  display: block;
  border-left: 1px solid var(--line);
  padding-left: 15px;
  font-size: var(--text-caption);
  line-height: 1.28;
  font-weight: 550;
  letter-spacing: -0.015em;
}
.bar nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 37px);
}
.bar nav > a {
  font-size: var(--text-small);
  font-weight: 550;
  text-decoration: none;
  padding: 6px 0;
}
.bar nav > a:is(:hover, [aria-current], .active) {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.bar nav > .nav-cta {
  padding: 0.67rem 1.15rem;
  border: 1px solid var(--ink);
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s;
}
.bar nav > .nav-cta:hover {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.menu {
  display: none;
}
.skip {
  position: absolute;
  background: var(--ink);
  color: white;
  padding: 12px;
  left: -200%;
  z-index: 100;
}
.skip:focus {
  left: 10px;
  top: 10px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-caption);
  font-weight: 650;
  letter-spacing: 0.135em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #516575;
  margin-bottom: 20px;
}
.kicker i,
.slip-rule {
  display: block;
  width: 33px;
  height: 1px;
  flex: none;
  background: #916d47;
}
.homehero {
  background: var(--warm);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(30px, 5vw, 85px);
  align-items: stretch;
  padding: clamp(36px, 4.2vw, 70px) 0;
}
.hero-copy {
  align-self: center;
  padding: clamp(12px, 1.8vw, 30px) 0;
}
.hero-copy h1 {
  font-size: var(--text-hero);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 28px 0 31px;
}
.hero-copy > p:not(.kicker) {
  font-size: var(--text-body);
  max-width: 45ch;
  line-height: 1.62;
  color: #405462;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  margin-top: 27px;
}
.button,
.nav-cta {
  border-radius: 1px;
}
.button,
.form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: 600 var(--text-body)/1.3 var(--sans);
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  padding: 0.91rem 1.35rem;
  cursor: pointer;
  transition: background 0.18s;
}
.button:hover,
.form button[type="submit"]:hover {
  background: #2f5068;
  color: #fff;
}
.text-link {
  font-weight: 600;
  font-size: var(--text-small);
  text-decoration: underline;
  text-decoration-color: #8c9ba2;
  text-underline-offset: 0.38em;
}
.hero-photo {
  position: relative;
  top: -.5rem;
  width: min(calc(100% - 12px), 32rem);
  align-self: center;
  justify-self: end;
  margin: 0 12px 12px 0;
  isolation: isolate;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid #afb7b4;
  z-index: -1;
}
.entrance-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.entrance-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(akg-eingang-720.webp) center bottom / cover no-repeat;
  background-image: image-set(url(akg-eingang-720.webp) 1x, url(akg-eingang.webp) 2x);
  print-color-adjust: exact;
  pointer-events: none;
}
.semester-slip {
  padding: 0.75rem clamp(0.9rem, 2vw, 1.35rem);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}
.semester-slip-label {
  display: grid;
  gap: 0.1rem;
}
.semester-slip-label > span {
  font-size: var(--text-caption);
  letter-spacing: 0.105em;
  text-transform: uppercase;
  color: #ecdece;
}
.semester-slip strong {
  font: 500 var(--text-subheading)/0.96 var(--serif);
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.semester-slip small {
  font-size: var(--text-small);
  color: #deeaef;
}
.semester-slip:hover {
  background: #2d4960;
  color: #fff;
}
.facts {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.1fr 1fr;
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.facts > div + div {
  padding-left: clamp(15px, 2.3vw, 34px);
  border-left: 1px solid var(--line);
}
.facts dt {
  font-size: var(--text-caption);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
}
.facts dd {
  font: 500 var(--text-subheading) / 1.12 var(--serif);
  margin-top: 5px;
}
.voices {
  padding: clamp(54px, 6.5vw, 92px) 0;
}
.voices .kicker,
.story .kicker,
.semester-home .kicker {
  margin-bottom: 13px;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  gap: clamp(22px, 3vw, 50px);
}
.quotes figure {
  border-top: 1px solid #bcc6c8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.quotes figure > span {
  font: 500 4rem/0.65 var(--serif);
  color: var(--accent);
  height: 34px;
  margin-top: 20px;
}
.quotes blockquote {
  font: 500 var(--text-subheading) / 1.19 var(--serif);
  letter-spacing: -0.02em;
  margin-bottom: 17px;
}
.quotes figcaption {
  font-size: var(--text-small);
  font-weight: 650;
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: auto;
}
.quotes figcaption::before {
  content: "";
  width: 20px;
  height: 1px;
  background: #a98c70;
}
.story {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6.7vw, 100px);
  align-items: center;
}
.story > div > p:not(.kicker),
.semester-layout > div > p:not(.kicker) {
  margin: 18px 0 24px;
  color: var(--soft);
  max-width: 49ch;
}
.story .classroom-frame {
  aspect-ratio: 1.63;
  overflow: hidden;
}
.story .classroom-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 68%;
  transform: scale(1.13);
  transform-origin: 47% 65%;
  filter: brightness(1.12) contrast(.96) saturate(.92);
}
.story figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: baseline;
  font-size: var(--text-small);
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}
.story figcaption small {
  font-size: var(--text-caption);
  color: var(--soft);
}
.semester-home {
  background: var(--pale);
  padding: clamp(46px, 6vw, 90px) 0;
}
.semester-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(30px, 5vw, 76px);
}
.mini-courses {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #aebcc2;
}
.mini-courses li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid #b8c5c9;
}
.mini-courses strong {
  font: 500 var(--text-subheading) / 1.07 var(--serif);
}
.mini-courses small,
.mini-courses span {
  font-size: var(--text-small);
}
.mini-courses span {
  color: var(--soft);
  white-space: nowrap;
}
.cta-band {
  background: var(--ink);
  color: white;
  padding: clamp(40px, 5vw, 68px) 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.cta-band .kicker {
  color: #dbdedf;
  margin-bottom: 12px;
}
.cta-band .kicker i {
  background: #c0a485;
}
.cta-band p:not(.kicker) {
  margin-top: 13px;
  color: #d9e3e7;
  max-width: 57ch;
}
.cta-band .button {
  background: white;
  color: var(--ink);
  border-color: white;
  flex: none;
}
.cta-band .button:hover {
  background: #eff2ed;
}
footer {
  padding-top: 47px;
  background: #fcfcfa;
}
.footgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.14fr;
  gap: clamp(12px, 3.8vw, 58px);
}
.footgrid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.footgrid .brand {
  margin-bottom: 9px;
}
.footgrid > div > p,
.footgrid > div > a:not(.brand) {
  font-size: var(--text-small);
  line-height: 1.65;
  color: #405562;
}
.footgrid > div > a:not(.brand) {
  text-decoration: none;
}
.footgrid > div > a:hover {
  text-decoration: underline;
}
.footgrid h2 {
  font: 600 var(--text-small)/1.35 var(--sans);
  letter-spacing: 0;
  margin-bottom: 8px;
}
.footbase {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  font-size: var(--text-caption);
  color: var(--soft);
}
.footbase > div {
  display: flex;
  gap: 20px;
}
.subhero {
  background: var(--warm);
  padding: clamp(44px, 6.1vw, 88px) 0;
}
.subhero h1 {
  max-width: 22ch;
}
.subhero .lead,
.section .lead {
  font-size: var(--text-body);
  color: var(--soft);
  max-width: 64ch;
  line-height: 1.6;
  margin-top: 18px;
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  border-bottom: 1px solid var(--line);
  padding-block: 17px;
  font-size: var(--text-small);
  font-weight: 550;
}
.subnav a {
  text-decoration: none;
}
.subnav a:hover {
  text-decoration: underline;
}
.section,
.reading {
  padding-block: clamp(38px, 4.7vw, 70px);
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.semester-documents {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.35rem;
}
.section-heading h2 {
  font-size: var(--text-heading);
}
.section .lead {
  margin: -6px 0 26px;
}
.columns,
.fees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 65px);
}
.columns p,
.fees p,
.prose p,
.contact-grid aside p {
  margin: 12px 0 18px;
}
.featurelink {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.featurelink h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.fees {
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.fees > div {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.fees h3 {
  font: 600 var(--text-body) var(--sans);
  letter-spacing: 0;
}
.fees strong {
  display: block;
  font: 500 var(--text-heading)/1.15 var(--figures);
  margin-top: 7px;
}
.fees strong,
.mini-courses small,
.mini-courses li > span,
.semester-slip strong,
.course .ects,
.course-detail,
.course-picks small,
#termine dd,
.module-table td:last-child,
.term-table td {
  font-family: var(--figures);
  font-variant-numeric: lining-nums tabular-nums;
}
.semester-home h2,
.subhero h1:has(.term-title) {
  font-variant-numeric: lining-nums;
}
.prose {
  max-width: 78ch;
}
.prose h2 {
  font-size: var(--text-heading);
  margin-block: 37px 13px;
}
.prose h2:first-child {
  margin-top: 0;
}
.theology-profile .subhero .lead,
.theology-profile .prose :is(p, li) {
  font: 400 var(--text-body)/1.7 var(--sans);
}
.theology-profile .prose {
  max-width: 72ch;
}
.prose .creed {
  border-left: 2px solid #ab8a66;
  padding-left: 22px;
}
.beliefs {
  padding-left: 1.4rem;
}
.beliefs li {
  padding-left: 6px;
  margin: 12px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body);
}
th {
  background: var(--pale);
  font-weight: 600;
}
th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table-wrap {
  overflow: auto;
}
.downloads {
  margin-top: 24px;
}
.semester-group {
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.doc {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 15px 3px;
  border-bottom: 1px solid var(--line);
  font-weight: 550;
}
.doc small {
  margin-left: auto;
  font-size: var(--text-caption);
  letter-spacing: 0.08em;
  color: var(--soft);
}
.file-icon {
  width: 16px;
  height: 20px;
  border: 1px solid #708392;
  position: relative;
  flex: none;
}
.file-icon::before,
.file-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 8px;
  height: 1px;
  background: #8194a0;
  top: 8px;
}
.file-icon::after {
  top: 12px;
}
details > summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.course,
.disclosure {
  border-top: 1px solid var(--line);
}
.course:last-child,
.disclosure:last-child {
  border-bottom: 1px solid var(--line);
}
.course summary,
.disclosure summary {
  display: flex;
  align-items: center;
  position: relative;
  gap: 15px;
  padding: 19px 31px 19px 0;
}
.course summary::after,
.disclosure summary::after,
.person summary::after {
  content: "+";
  font: 400 1.45rem var(--sans);
  position: absolute;
  right: 4px;
  color: var(--soft);
}
.course[open] > summary::after,
.disclosure[open] > summary::after,
.person details[open] > summary::after {
  content: "−";
}
.course summary strong {
  display: block;
  font: 500 var(--text-subheading) / 1.15 var(--serif);
}
.course summary small,
.course .ects {
  font-size: var(--text-small);
  color: var(--soft);
}
.course .ects {
  margin-left: auto;
  white-space: nowrap;
}
.course-detail,
.disclosure > div {
  padding: 0 0 23px;
}
.course-detail ul {
  list-style: none;
  padding: 0;
  max-width: 32rem;
}
.course-detail li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.course-detail p,
.fine {
  color: var(--soft);
  font-size: var(--text-small);
}
.fine {
  margin-top: 12px;
}
.disclosure summary {
  font-weight: 600;
}
.disclosure .table-wrap,
.disclosure h3 {
  margin-top: 22px;
}
.giving-intro {
  max-width: 65ch;
  margin-bottom: 1.5rem;
}
.definitions {
  max-width: 900px;
}
.definitions > div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.definitions dt {
  font-weight: 600;
}
.form {
  max-width: 720px;
  margin-block: 17px 22px;
  display: grid;
  gap: 17px;
}
.form-response {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.5rem;
  background: var(--warm);
}
.form-response main {
  width: min(100%, 40rem);
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.form-response h1 {
  font-size: var(--text-heading);
}
.form-response p {
  margin: 1rem 0 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form label:not(.checkbox-label) {
  display: grid;
  gap: 5px;
  font-weight: 550;
}
input:not([type="checkbox"], [type="hidden"]),
select,
textarea {
  width: 100%;
  border: 1px solid #aebbc1;
  border-radius: 1px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  min-height: 46px;
  font-size: var(--text-body);
  font-weight: 400;
}
.form .birth-date,
.form .birth-date::placeholder {
  color: var(--ink);
  font-weight: 400;
  opacity: 1;
}
select {
  appearance: none;
  padding-right: 2.9rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #526970 50%),
    linear-gradient(135deg, #526970 50%, transparent 50%);
  background-size: 6px 6px;
  background-position:
    calc(100% - 19px) 51%,
    calc(100% - 13px) 51%;
  background-repeat: no-repeat;
}
textarea {
  min-height: 132px;
  resize: vertical;
}
.form button[type="submit"] {
  justify-self: start;
}
.form :is(.checkbox-label, .course-picks label) {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 400;
}
input[type="checkbox"] {
  flex: none;
  width: 1.12rem;
  height: 1.12rem;
  margin: 4px 0 0;
  accent-color: var(--ink);
}
.course-picks {
  border: 1px solid var(--line);
  padding: 7px 17px;
  margin: 0;
}
.course-picks legend {
  padding: 0 5px;
  font-weight: 650;
}
.course-picks label {
  padding: 10px 0;
}
.course-picks label + label {
  border-top: 1px solid var(--line);
}
.course-picks small {
  display: block;
  color: var(--soft);
}
.form-hint,
.test-result,
.form-feedback {
  padding: 12px 15px;
  border-left: 2px solid #957650;
  background: var(--warm);
  font-size: var(--text-body);
}
[hidden],
.form label[hidden] {
  display: none !important;
}
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.person {
  display: grid;
  grid-template-columns: clamp(140px, 13vw, 185px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(1rem, 1.65vw, 1.6rem);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.person > :is(img, .portrait-frame) {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 24%;
}
.portrait-frame {
  position: relative;
  overflow: hidden;
}
.portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.33);
  transform-origin: 50% 30%;
}
.person > div, .person > details {
  grid-column: 2;
  min-width: 0;
}
.person h3 {
  font-size: var(--text-subheading);
  line-height: 1.12;
  margin: .25rem 0;
  overflow-wrap: break-word;
}
.person small, .person summary {
  font-size: var(--text-body);
  line-height: 1.5;
}
.person small {
  display: block;
  hyphens: auto;
  overflow-wrap: break-word;
  color: var(--soft);
}
#lehrende .person small {
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
@media (max-width: 26rem) {
  #lehrende .person > div {
    display: contents;
  }
  #lehrende .person h3 {
    grid-area: 1 / 2;
    align-self: center;
  }
  #lehrende .person small {
    grid-area: 2 / 1 / 3 / -1;
    margin-top: .25rem;
  }
}
.person summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-right: 1.45rem;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.person summary::after {
  font-size: var(--text-body);
  right: 0;
}
.person p {
  font-size: var(--text-body);
  line-height: 1.65;
  margin-top: .2rem;
}
.academy-intro {
  display: grid;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
}
@media (min-width: 56rem) {
  .academy-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}
.giving-callout {
  max-width: 37rem;
  padding: clamp(1rem, 2.2vw, 1.85rem);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  background: #fff;
}
.giving-callout h2 {
  font-size: var(--text-subheading);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.giving-callout p {
  margin: .65rem 0 .85rem;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: clamp(25px, 6vw, 92px);
}
.contact-grid aside {
  background: var(--warm);
  align-self: start;
  padding: clamp(22px, 3vw, 43px);
}
.contact-grid aside h3 {
  font-size: var(--text-subheading);
}
.office {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.office img {
  width: clamp(8.5rem, 12vw, 10.5rem);
  height: auto;
  border-radius: 2px;
}
.office > span {
  flex: 1 1 9rem;
}
.office small {
  display: block;
  color: var(--soft);
}
@media (max-width: 1050px) {
  .bar {
    gap: 15px;
  }
  .bar nav {
    gap: 16px;
  }
  .brand {
    gap: 10px;
  }
  .brand > span {
    padding-left: 10px;
  }
  .brand img {
    width: 77px;
  }
  .hero-grid {
    gap: 32px;
  }
  .people {
    grid-template-columns: 1fr 1fr;
  }
  .footgrid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
  .footgrid > div:last-child {
    grid-column: 2/4;
  }
  .footbrand > span {
    display: none;
  }
  .mini-courses li {
    grid-template-columns: 72px 1fr auto;
  }
}
@media (max-width: 1024px) {
  .menu {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0 10px 12px;
    cursor: pointer;
    background: transparent;
    border: 0;
    color: var(--ink);
  }
  .menu i {
    display: block;
    width: 21px;
    height: 13px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    position: relative;
  }
  .menu i::after {
    content: "";
    position: absolute;
    width: 15px;
    left: 0;
    top: 5px;
    border-top: 1px solid;
  }
  .bar {
    min-height: 69px;
    position: relative;
  }
  .bar nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: min(18rem, 100%);
    background: #fff;
    padding: .5rem 1rem 1rem;
    text-align: right;
    border: 1px solid var(--line);
    box-shadow: 0 10px 16px #1323330a;
    align-items: stretch;
  }
  .menu[aria-expanded="true"] + nav {
    display: grid;
    gap: 4px;
  }
  .bar nav > a {
    padding: 10px 0;
  }
  .bar nav > .nav-cta {
    justify-self: end;
    margin-top: 5px;
  }
}
@media (max-width: 800px) {
  .fees strong {
    font-size: 1.125rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  .hero-grid {
    grid-template-columns: 1.03fr 1fr;
    gap: 24px;
  }
  .actions {
    gap: 14px;
  }
  .quotes {
    gap: 20px;
  }
  .facts {
    gap: 10px;
  }
  .people {
    gap: 17px;
  }
  .semester-layout {
    grid-template-columns: 1fr;
  }
  .footgrid {
    grid-template-columns: 1fr 1fr;
  }
  .footgrid > div:last-child {
    grid-column: auto;
  }
  .cta-inner {
    align-items: flex-start;
  }
  .mini-courses li {
    grid-template-columns: 110px 1fr auto;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-block: 30px 32px;
  }
  .hero-copy {
    padding: 4px 0 0;
    align-self: stretch;
  }
  .hero-copy h1 {
    line-height: 0.95;
    margin: 17px 0 21px;
  }
  .hero-copy > p:not(.kicker) {
    max-width: 43ch;
  }
  .kicker {
    letter-spacing: 0.11em;
  }
  .actions {
    margin-top: 21px;
    gap: 17px;
  }
  .hero-photo {
    width: min(calc(100% - 8px), 32rem);
    margin-right: 7px;
    margin-bottom: 9px;
  }
  .hero-photo::before {
    inset: 8px -8px -8px 8px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 15px 8px;
    padding-block: 20px;
  }
  .facts > div + div {
    padding-left: 14px;
  }
  .facts > div:nth-child(odd) {
    border: 0;
    padding-left: 0;
  }
  .quotes,
  .story,
  .columns,
  .fees,
  .people,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .quotes figure {
    padding-bottom: 8px;
  }
  .quotes figure > span {
    height: 27px;
    font-size: 3.3rem;
  }
  .quotes blockquote {
    max-width: 31ch;
  }
  .voices {
    padding-block: 43px;
  }
  .story {
    gap: 24px;
  }
  .story > div h2 br {
    display: none;
  }
  .cta-inner,
  .section-heading {
    display: grid;
    gap: 13px;
  }
  .cta-inner .button {
    justify-self: start;
  }
  .footbase {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .footgrid {
    gap: 22px 12px;
  }
  .footgrid > div:first-child {
    grid-column: 1/-1;
  }
  .footgrid > div:last-child {
    grid-column: 1/-1;
  }
  .footbrand > span {
    display: block;
  }
  .subhero h1 {
    font-size: var(--text-title);
  }
  .subnav {
    gap: 6px 19px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .definitions > div {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .fees {
    gap: 0;
  }
  .fees > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .fees p {
    grid-column: 1/-1;
    margin: 4px 0;
  }
  .fees strong {
    margin: 0;
  }
  .mini-courses li {
    grid-template-columns: 1fr auto;
    gap: 3px 14px;
  }
  .mini-courses small {
    grid-column: 1/-1;
  }
  .people {
    gap: 24px;
  }
  .person {
    grid-template-columns: clamp(110px, 35%, 155px) minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: .4rem;
  }
  .person > :is(img, .portrait-frame) {
    grid-row: 1;
  }
  .person > div {
    align-self: center;
  }
  .person > details {
    grid-column: 1 / -1;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 8px 6px;
    font-size: var(--text-body);
  }
  .section .table-wrap {
    overflow-wrap: anywhere;
  }
  .module-table :is(th, td):not(:last-child) {
    hyphens: auto;
  }
  .module-table :is(th, td):last-child {
    width: 1%;
    white-space: nowrap;
    text-align: right;
  }
  .doc {
    align-items: baseline;
    gap: 9px;
  }
  .course summary {
    gap: 8px;
  }
  .course .ects {
    font-size: var(--text-small);
  }
  .section-heading h2 {
    overflow-wrap: break-word;
  }
  .contact-grid h2 {
    font-size: var(--text-heading);
  }
}
@media (max-width: 360px) {
  .bar .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 7px;
  }
  .bar .brand > span {
    min-width: 0;
    padding-left: 7px;
  }
  .bar .menu {
    flex-shrink: 0;
  }
  .wrap {
    width: calc(100% - 30px);
  }
  .brand img {
    width: 68px;
  }
  .actions {
    gap: 13px;
  }
  .button,
  .text-link {
    font-size: var(--text-small);
  }
  .button {
    padding: 0.82rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.faith-photo img {
  width: 100%;
  aspect-ratio: 2.55;
  object-fit: cover;
  object-position: 50% 70%;
}
/* Keep long German titles readable on narrow displays. */
.subhero h1,
.section-heading h2,
.contact-grid h2 {
  hyphens: auto;
  overflow-wrap: break-word;
}
@media (max-width: 620px) {
  .bar {
    gap: 8px;
  }
  .footgrid > div,
  .course summary > span,
  .person > div {
    min-width: 0;
  }
}
@media (max-width: 345px) {
  .brand img {
    width: 63px;
  }
  .menu {
    font-size: var(--text-body);
  }
}
@media (max-width: 620px) {
  .subhero h1:has(.term-title) {
    hyphens: manual;
    text-wrap: wrap;
  }
  .term-title {
    display: block;
  }
}


.partners {
  --partner-gap: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--partner-gap);
  max-width: 66rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.partners li {
  flex: 0 0 calc((100% - var(--partner-gap) - var(--partner-gap)) / 3);
  min-width: 0;
}
.partners a {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem .35rem;
  border-block: 1px solid var(--line);
  font-size: var(--text-body);
  line-height: 1.4;
  font-weight: 550;
  text-align: center;
  text-decoration: none;
}
.partners a:hover span:last-child {
  text-decoration: underline;
}
.partner-mark {
  display: grid;
  width: 100%;
  height: 6rem;
  place-items: center;
}
.partner-mark img {
  width: 100%;
  height: 100%;
  max-width: 10.5rem;
  max-height: 6rem;
  object-fit: contain;
}
@media (max-width: 960px) {
  .people { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .partners {
    display: block;
  }
  .partners a {
    display: grid;
    grid-template-columns: clamp(5.5rem, 28%, 8rem) minmax(0, 1fr);
    gap: clamp(1rem, 5vw, 2rem);
    padding: .875rem .25rem;
    border-bottom: 0;
    text-align: left;
  }
  .partners li:last-child a {
    border-bottom: 1px solid var(--line);
  }
  .partner-mark {
    height: 4.25rem;
  }
  .partner-mark .christusbewegung-logo {
    width: 2.5rem;
    height: 2.5rem;
  }
}
