: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(--nav);
}

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

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  padding: 0.7rem;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin: 0.28rem 0;
  border-radius: 999px;
  background: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.main-nav {
  padding: 0.45rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.4);
}

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

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

.main-nav > a,
.nav-dropdown-trigger {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  color: #fff;
}

.main-nav > a:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: translateY(0.05em) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none !important;
  flex-direction: column !important;
  gap: 0.45rem;
  min-width: 300px;
  margin-top: 0;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex !important;
}

.nav-dropdown-menu a {
  display: block !important;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(52, 145, 142, 0.22);
  text-decoration: none;
}

.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;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-contact-icon {
  font-size: 1.18em;
  line-height: 1;
}

.footer-legal {
  flex-direction: column;
  align-items: flex-end;
}

.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 {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    align-items: flex-start;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    align-items: flex-start;
    flex-direction: column;
    grid-column: 1 / -1;
    display: none;
    width: 100%;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a,
  .nav-dropdown,
  .nav-dropdown-trigger {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: none !important;
    min-width: 0;
    margin-top: 0.5rem;
    box-shadow: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none !important;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
  }

  .nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: translateY(0.05em) rotate(225deg);
  }

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

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