:root {
  --base: #f9f9f9;
  --text: #111;
  --muted: #636363;
  --teal: rgba(52, 145, 142, 0.57);
  --nav: #4da7b9;
  --footer: #d9d9d9;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.1rem);
  line-height: 1.55;
}

h1,
h2,
.kicker {
  font-family: Cardo, Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.35em 0.65em;
  border-radius: 22px;
  background: rgba(222, 222, 222, 0.72);
  text-align: center;
  font-size: clamp(2.1rem, 1.55rem + 2.35vw, 4rem);
}

h2,
.kicker {
  margin: 0 0 1.1rem;
  font-size: clamp(1.85rem, 1.55rem + 1.3vw, 3rem);
}

p {
  margin: 0 0 1.1rem;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
  background: var(--base);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 3rem);
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 320px;
  padding: clamp(4rem, 9vw, 8rem) 1rem;
  background-image: linear-gradient(rgba(249, 249, 249, 0.15), rgba(249, 249, 249, 0.15)), url('/img/old-site/breitenberg.jpg');
  background-position: 48% 33%;
  background-size: cover;
}

.band {
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5rem);
}

.teal {
  background: var(--teal);
}

.light {
  background: var(--base);
}

.intro,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.intro,
.split {
  max-width: none;
}

.text-block,
.split > div,
.split > img {
  max-width: var(--content);
}

.portrait {
  width: min(100%, 520px);
  justify-self: center;
  border-radius: 3px;
}

.image-left {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
}

.image-left > img {
  width: min(100%, 520px);
  justify-self: center;
}

.button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.33rem;
  background: #111;
  color: #f9f9f9;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: var(--muted);
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.image-stack {
  display: grid;
  gap: 2rem;
  justify-items: center;
}

.small-image {
  width: min(240px, 55%);
}

.logo-image {
  width: min(380px, 80%);
}

.flyer {
  width: min(380px, 100%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem clamp(1rem, 5vw, 5rem);
  background: var(--footer);
  font-weight: 300;
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.page-main {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--base);
}

.page-content {
  max-width: 820px;
  margin: 0 auto;
}

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 2.5rem;
}

.page-content a {
  text-decoration: underline;
}

.page-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-card {
  display: block;
  padding: 1.35rem;
  border-radius: 16px;
  background: rgba(52, 145, 142, 0.18);
  text-decoration: none;
}

.page-card h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 2rem);
}

.page-card p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro,
  .split,
  .image-left {
    grid-template-columns: 1fr;
  }

  .image-left > img {
    order: -1;
  }
}
