:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #202020;
  background: #eee9dc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eee9dc;
  line-height: 1.55;
}

a {
  color: #174f36;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: #7b2d1d;
}

.page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #fffef9;
}

header {
  padding: 1.2rem 1.5rem;
  border-bottom: 3px double #54705d;
}

.header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 34rem);
  gap: 2rem;
  align-items: start;
}

.header-practice {
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(16rem, 27rem);
  gap: 1.5rem;
  min-width: 0;
  align-items: start;
}

.header-practice-text {
  min-width: 0;
}

header h1 {
  margin: 0 0 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: normal;
}

header p {
  margin: 0.2rem 0;
}

.all-kassen {
  font-weight: bold;
  color: #174f36;
}

.header-house-photo {
  margin: 0;
}

.header-house-photo img {
  display: block;
  width: 100%;
  max-width: 27rem;
  height: auto;
}

.header-house-photo figcaption {
  margin-top: 0.25rem;
  font-size: 0.82rem;
}

.header-hours {
  padding-left: 1.25rem;
  border-left: 1px solid #b5ad99;
  font-size: 0.92rem;
}

.header-hours-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.header-times {
  display: grid;
  grid-template-columns: 7.75rem minmax(0, 1fr);
  column-gap: 0.5rem;
  margin: 0.4rem 0;
}

.header-times dt,
.header-times dd {
  margin: 0;
  padding: 0.1rem 0;
}

.header-times dt {
  padding-right: 0.75rem;
  font-weight: bold;
}

.phone-note {
  font-size: 0.88rem;
}

.top-navigation {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  align-items: center;
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid #8e9a90;
  background: #f4f0e6;
  box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
}

.top-navigation a {
  padding: 0.2rem 0;
}

.top-navigation a[aria-current="page"] {
  font-weight: bold;
  color: #202020;
  text-decoration: none;
}

.layout {
  display: block;
}

main {
  width: 100%;
  max-width: none;
  padding: 1.3rem 2rem 3rem;
}

h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
}

h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.important {
  margin: 1rem 0 1.5rem;
  padding: 0.8rem 1rem;
  border: 2px solid #54705d;
  background: #f7f4e9;
}

.important p:first-child {
  margin-top: 0;
}

.important p:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 1.25rem;
}

.address {
  font-style: normal;
}

footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #c9c1ae;
  font-size: 0.92rem;
}

footer p {
  margin: 0.25rem 0;
}

@media (max-width: 700px) {
  .top-navigation {
    gap: 0.15rem 1rem;
    padding: 0.5rem 1.25rem;
  }

  main {
    padding: 1.3rem 1.25rem 2.5rem;
  }

}

@media (max-width: 1200px) {
  .header-practice {
    grid-template-columns: 1fr;
  }

  .header-house-photo img {
    width: min(100%, 27rem);
  }
}

@media (max-width: 900px) {
  .header-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .header-hours {
    padding-top: 0.8rem;
    padding-left: 0;
    border-top: 1px solid #b5ad99;
    border-left: 0;
  }
}
