/* Schrift: Source Sans 3 (SIL Open Font License, siehe fonts/OFL-SourceSans3.txt), lokal ausgeliefert. */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-wght-normal.7a19a7027e.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-ext-wght-normal.a85a7459bd.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-wght-italic.9a15dafc2c.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-ext-wght-italic.6fe10a66ec.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* Variante B: eine Seite, hell, serifenlos ------------------------------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f7;
  --text: #1b2429;
  --text-2: #3d4a52;
  --muted: #5d6a72;
  --line: #dde4e7;
  --accent: #0b6b7b;
  --accent-strong: #074f5b;
  --accent-tint: #e4f0f2;
  --font: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --date-col: 8.5rem;
  --topbar-h: 4rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 64rem) {
  body { font-size: 1.125rem; }
}

p, li, dd { overflow-wrap: break-word; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(11, 107, 123, 0.35);
  transition: color 0.15s, text-decoration-color 0.15s, background-color 0.15s, border-color 0.15s;
}

a:hover { color: var(--accent-strong); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.9rem;
  background: var(--text);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4 { margin: 0; color: var(--text); line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 1rem; }
cite, i, em { font-style: italic; }
strong, b { font-weight: 600; }

.overline {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.date, .pub-when, .count, .stat-no, .muted {
  font-variant-numeric: tabular-nums;
}

/* Kopfleiste ------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  min-height: var(--topbar-h);
}

.brand {
  margin-right: auto;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover { color: var(--accent); }

.menu ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.menu a:hover { color: var(--accent); }

.lang {
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.lang:hover { border-color: var(--accent); color: var(--accent); }
.lang { position: relative; }
.lang::after { content: ""; position: absolute; inset: -0.55rem -0.4rem; }

@media (max-width: 63.99rem) {
  :root { --topbar-h: 5.5rem; }
  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 0;
    padding-top: 0.6rem;
  }
  .menu {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
    /* rechter Rand blendet aus: Menü lässt sich seitlich schieben */
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  }
  .menu::-webkit-scrollbar { display: none; }
  .menu ul { width: max-content; gap: 1.25rem; padding-right: 2.75rem; } /* letzter Punkt lässt sich ganz aus der Ausblendung schieben */
  .menu a { display: block; padding-block: 0.55rem 0.65rem; }
  .lang { grid-column: 2; grid-row: 1; }
}

/* Einstieg --------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(11, 107, 123, 0.07), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hero-position {
  max-width: 34rem;
  color: var(--text-2);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover { background: var(--accent-tint); color: var(--accent-strong); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }

.news-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 36, 41, 0.04), 0 8px 24px rgba(27, 36, 41, 0.05);
}

.news { margin: 0; padding: 0; list-style: none; }

.news li { padding: 0.8rem 0; border-top: 1px solid var(--line); }
.news li:first-child { padding-top: 0; border-top: 0; }
.news .date { display: block; margin-bottom: 0.15rem; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.news p { margin: 0; font-size: 0.98rem; line-height: 1.5; }

.arrow { display: inline-block; margin: -0.7rem -0.7rem -0.7rem -0.55rem; padding: 0.7rem; font-weight: 600; text-decoration: none; }

/* Abschnitte ------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.alt { background: var(--bg-alt); }

.section-grid { display: grid; gap: 1.5rem; }

@media (min-width: 64rem) {
  .section-grid { grid-template-columns: 14rem 1fr; gap: 3.5rem; }
  .section-title { position: sticky; top: calc(var(--topbar-h) + 2rem); align-self: start; }
}

.section-title {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.section-title::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 1.1rem;
  border-radius: 2px;
  background: var(--accent);
}

.section-title.small { font-size: 1.4rem; }

.section-body { min-width: 0; }
.section-body > .overline { margin-top: 2.75rem; }
.section-body > .overline:first-child { margin-top: 0.35rem; }

.lead {
  max-width: 44rem;
  margin-bottom: 2rem;
  color: var(--text-2);
  font-size: 1.15em;
  line-height: 1.55;
}

.prose p { max-width: 42rem; }

/* Vorschau-Hinweis */
.draft-banner {
  margin: 0;
  padding: 0.6rem var(--gutter);
  border-bottom: 1px solid #ecd58f;
  background: #fff6d8;
  color: #5b4500;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.hero-tags { margin-top: 1.25rem; }

/* Über mich */
.about { display: grid; gap: 2rem; }

@media (min-width: 64rem) {
  .about-text p:first-child { font-size: 1.12em; line-height: 1.55; }
}

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }

.tags li {
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 64rem) {
  .interests .tags { flex-direction: column; align-items: flex-start; }
}

/* Forschung */
.cards { display: grid; gap: 1.25rem; }

@media (min-width: 48rem) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.card-no {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card-flag {
  align-self: flex-start;
  margin: -0.25rem 0 0.75rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: #fff6d8;
  color: #5b4500;
  font-size: 0.78rem;
  font-weight: 700;
}

.card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.card-text p { font-size: 0.98rem; line-height: 1.6; color: var(--text-2); }

.card-links {
  margin: auto 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.45;
}

.card-links li { padding: 0.15rem 0; }

/* Publikationen */
.pubs { margin: 0; padding: 0; list-style: none; }

.pubs li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.pubs li:target { background: var(--accent-tint); box-shadow: -0.75rem 0 0 var(--accent-tint), 0.75rem 0 0 var(--accent-tint); }

.pub-when {
  padding-top: 0.1rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.cite { margin: 0; max-width: 46rem; line-height: 1.55; overflow-wrap: break-word; }
.self { font-weight: 600; }

.pub-links { margin: 0.4rem 0 0; font-size: 0.88rem; }
.pub-links a { display: inline-block; margin-block: -0.45rem; padding-block: 0.45rem; overflow-wrap: anywhere; }

.tag-small {
  margin-left: 0.5rem;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Monografie mit Leseprobe */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
  margin-bottom: 3.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-alt);
}

@media (max-width: 47.99rem) {
  .feature { grid-template-columns: 1fr; }
  .book-slider, .feature-cover { max-width: 22rem; }
}

.feature-cover {
  display: block;
  width: 100%;
  max-width: 13rem;
  height: auto;
  aspect-ratio: 400 / 634;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(27, 36, 41, 0.12), 0 12px 28px rgba(27, 36, 41, 0.18);
}

.feature-body .overline { margin-bottom: 0.5rem; }

.feature-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.feature-sub { margin: 0 0 0.6rem; color: var(--text-2); font-size: 1.05em; }
.feature-meta { margin: 0; color: var(--muted); font-size: 0.95rem; }
.feature .actions { margin-top: 1.25rem; }

.btn-note { margin-left: 0.5rem; font-size: 0.85em; font-weight: 400; opacity: 0.85; }

.book-slider { min-width: 0; }
.slide-frame { position: relative; }

.slides {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 36, 41, 0.12), 0 12px 28px rgba(27, 36, 41, 0.16);
}

.slides::-webkit-scrollbar { display: none; }
.book-slider.is-ready .slides { cursor: grab; }
.book-slider.is-dragging .slides { cursor: grabbing; }
.book-slider.is-dragging .slide-btn { pointer-events: none; }
.slides:focus-visible { outline-offset: 4px; }

.slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.slide img {
  -webkit-user-drag: none;
  user-select: none;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 1269;
}

.slide-count {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: rgba(27, 36, 41, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.slide-btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 36, 41, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
}

.slide-btn:hover { background: rgba(27, 36, 41, 0.72); }
.slide-btn:disabled { opacity: 0; pointer-events: none; }
.slide-prev { left: 0.6rem; }
.slide-next { right: 0.6rem; }

.slide-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem;
  margin-top: 0.6rem;
}

.slide-dots button {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slide-dots button::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin: -0.275rem 0 0 -0.275rem;
  border-radius: 50%;
  background: #c3ccd1;
  transition: background-color 0.15s, transform 0.15s;
}

.slide-dots button[aria-current="true"]::after { background: var(--accent); transform: scale(1.15); }

.book-slider:not(.is-ready) .slide-btn,
.book-slider:not(.is-ready) .slide-count,
.book-slider:not(.is-ready) .slide-dots { display: none; }

/* Letzte Seite der Leseprobe: ausgegraut, darauf der Download als Textlink */
.slide-frame { container-type: inline-size; }
.slide-end img { filter: grayscale(1); opacity: 0.12; }

.slide-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 7.7rem); /* frei zwischen den Pfeilknöpfen */
  text-align: center;
  transform: translate(-50%, -50%);
}

.slide-cta a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--accent);
  font-size: 1.25rem;
  font-size: clamp(1.05rem, calc((100cqi - 8.25rem) / 8.8), 1.6rem); /* passt zwischen die Pfeilknöpfe */
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  text-shadow: 0 0 0.35em #fff, 0 0 0.8em #fff; /* hebt die Schrift von der Seite ab */
}

.slide-cta a:hover { color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.section-body > .overline.first-group { margin-top: 0; }

/* Aufklappbare Bereiche */
.more { margin-top: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.more > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0;
  color: var(--accent);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.more > summary::-webkit-details-marker { display: none; }

.more > summary::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 0.25rem 0 0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}

.more[open] > summary::before { transform: rotate(45deg); }
.more > summary:hover { color: var(--accent-strong); }
.more[open] { padding-bottom: 1rem; }

.more h4 { margin: 1.5rem 0 0.25rem; font-size: 1rem; font-weight: 600; }

.count {
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.note { color: var(--muted); font-size: 0.95rem; }

/* Zeilen: Vorträge, Lehre, Auszeichnungen */
.rows, .courses { margin: 0; padding: 0; list-style: none; }

.rows li, .courses li {
  display: grid;
  grid-template-columns: var(--date-col) 1fr;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.rows .date, .courses .date, .timeline .date {
  padding-top: 0.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.row-title { margin: 0; font-weight: 600; line-height: 1.4; }
.rows.compact .row-title { font-weight: 400; }

.row-meta {
  margin: 0.2rem 0 0;
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.5;
}

.row-note { margin: 0.25rem 0 0; color: var(--accent); font-size: 0.88rem; font-weight: 600; }

.columns { display: grid; gap: 2rem 3rem; }

@media (min-width: 56rem) {
  .columns { grid-template-columns: 1fr 1fr; }
}

.col-head { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
.col-head .muted { margin-left: 0.35rem; font-weight: 400; font-size: 0.9rem; }

.courses li { grid-template-columns: 6.75rem 1fr; gap: 1rem; }
.courses .row-title { font-weight: 500; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.stat-no { color: var(--accent); font-size: 2.4rem; font-weight: 300; line-height: 1.1; }
.stat-label { color: var(--text-2); font-size: 0.95rem; font-weight: 500; }

.plain { margin: 0; padding: 0; list-style: none; }
.plain li { padding: 0.6rem 0; border-top: 1px solid var(--line); }

/* Lebenslauf */
.timeline {
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--line);
  list-style: none;
}

.timeline li { position: relative; padding: 0 0 1.4rem; }
.timeline li:last-child { padding-bottom: 0.25rem; }

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.25rem - 6px);
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg-alt);
}

.timeline .date { display: block; margin-bottom: 0.1rem; }

.pairs { margin: 0; }
.pairs div { display: grid; grid-template-columns: var(--date-col) 1fr; gap: 1.25rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.pairs dt { color: var(--muted); font-size: 0.9rem; font-weight: 600; padding-top: 0.1rem; }
.pairs dd { margin: 0; }

/* Kontakt */
.contact { background: var(--accent-tint); }
.contact .lead { margin-bottom: 0.75rem; }

.mail {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

/* Impressum */
.legal { font-size: 0.92rem; color: var(--text-2); }
.legal h3 { margin: 0 0 0.6rem; font-size: 1rem; font-weight: 600; }
.legal address { margin: 0 0 1rem; font-style: normal; }

.legal-body { display: grid; gap: 2rem; }

@media (min-width: 56rem) {
  .legal-body { grid-template-columns: 1fr 1.6fr; gap: 3rem; }
}

/* Fusszeile -------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem 2rem;
}

.footer p { margin: 0; }
.footer a { display: inline-block; margin-block: -0.6rem; padding-block: 0.6rem; color: var(--muted); }
.contact-links a { display: inline-block; padding-block: 0.55rem; }
.footer a:hover { color: var(--accent); }

/* Schmale Bildschirme ---------------------------------------------------- */
@media (max-width: 36rem) {
  .rows li, .courses li, .pubs li, .pairs div { grid-template-columns: 1fr; gap: 0.15rem; }
  .stats { grid-template-columns: 1fr; gap: 0.6rem; }
  .stats li { flex-direction: row; align-items: baseline; gap: 0.9rem; padding: 0.7rem 1.1rem; }
  .stat-no { min-width: 1.5rem; font-size: 2rem; }
}

/* Touchscreens: grössere Abstände und Tippflächen */
@media (pointer: coarse) {
  .card-links li { padding: 0.35rem 0; }
  .slide-dots { flex-wrap: nowrap; }
  .slide-dots button { flex: 0 1 1.75rem; min-width: 1.25rem; height: 2.25rem; }
}

/* Druck ------------------------------------------------------------------ */
@media print {
  .topbar, .actions, .skip-link { display: none !important; }
  .section, .hero { padding-block: 1.5rem; background: none !important; }
  a { color: #000; text-decoration: none; }
  .card, .news-card { box-shadow: none; }
  details > summary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
