:root {
  --ink: #ffffff;
  --paper: #000000;
  --line: #333333;
  --accent: #b3b3b3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  height: 4.5rem;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}

.site-header .brand {
  font-family: "Quicksand", "Georgia", serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.site-header nav a {
  margin-left: 1.25rem;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  border-bottom-color: var(--ink);
}

main {
  padding: 0 0 4rem;
}

.hero-photo {
  width: 100%;
  height: 100vh;
  border-bottom: 1px solid var(--line);
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center 5%;
  position: relative;
}

.hero-photo.with-header {
  height: calc(100vh - 4.5rem);
}

.hero-links {
  position: absolute;
  left: 1.5rem;
  bottom: 1.75rem;
  display: flex;
  gap: 1.5rem;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
}

.hero-links a {
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid #111111;
  padding-bottom: 2px;
}

.hero-links a:hover,
.hero-links a:focus-visible {
  color: #000000;
  opacity: 0.7;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}

h1.title {
  margin: 2rem 0 0.35rem;
  font-family: "Quicksand", "Georgia", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0 0 2.5rem;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--accent);
  font-size: 1rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}

.links a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  color: var(--ink);
}

.links a:hover,
.links a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.page-title {
  font-family: "Quicksand", "Georgia", serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.content-block {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  max-width: 60ch;
}

.content-block p {
  margin: 0 0 1rem;
}

.content-block p.quote {
  text-align: center;
  max-width: none;
  margin: 2rem 0;
  font-size: 1.05rem;
}

.content-block p.quote em {
  font-style: italic;
  color: var(--ink);
}

.content-block p.link-list {
  line-height: 2.4;
}

.content-block a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

.content-block a:hover,
.content-block a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.content-block a[href^="mailto:"] {
  border-bottom: none;
  padding-bottom: 0;
}

.termine-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  max-width: 60ch;
}

.termine-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.termine-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.termine-date {
  color: var(--accent);
  white-space: nowrap;
}

footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--accent);
}

footer.footer-home {
  padding-top: 2rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

footer a:hover,
footer a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.footer-sep {
  margin: 0 0.6rem;
}
