:root {
  --paper: #f3f1ec;
  --card: #fbfaf7;
  --ink: #17332d;
  --muted: #69746f;
  --green: #295c4c;
  --template-green: #639443;
  --light-green: #dfe9e3;
  --line: #d7dbd6;
  --red: #d9473f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

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

.site-header {
  display: grid;
  width: 100vw;
  min-height: 5.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-left: calc(50% - 50vw);
  padding-right: max(1rem, calc((100vw - 72rem) / 2));
  padding-left: max(1rem, calc((100vw - 72rem) / 2));
  color: white;
  background: var(--template-green);
}

.header-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: .8rem 1.15rem;
  border-right: 1px solid rgba(255, 255, 255, .45);
  color: white;
  text-decoration: none;
}

.header-item:last-child {
  border-right: 0;
}

a.header-item {
  transition: background 150ms ease;
}

a.header-item:hover,
a.header-item:focus-visible {
  background: rgba(255, 255, 255, .12);
}

.header-item span {
  color: rgba(255, 255, 255, .78);
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.header-item strong {
  margin-top: .15rem;
  overflow: hidden;
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.brand-sign {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 300;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .95rem;
  letter-spacing: .01em;
}

.brand small {
  color: rgba(255, 255, 255, .82);
  font-size: .72rem;
}

.header-call {
  padding: .6rem .85rem;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 2rem;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}

.intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: .5rem 2rem;
  padding: 1.5rem 0 1.25rem;
}

.intro .kicker {
  grid-column: 1 / -1;
}

.intro h1 {
  grid-column: 1;
}

.intro > p:last-child {
  grid-column: 2;
}

.kicker {
  margin: 0 0 .35rem;
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.intro h1,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.intro > p:last-child {
  margin: 0 0 .3rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 650;
}

.team-photo {
  position: relative;
  width: 100vw;
  overflow: visible;
  margin-left: calc(50% - 50vw);
  background: #24342e;
  border-radius: 0;
}

.team-photo > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  filter: saturate(.92) contrast(.98);
}

.person {
  position: absolute;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  background: var(--red);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
  cursor: help;
  transform: translate(-50%, -50%);
}

.person::before,
.person::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: white;
  content: "";
  transform: translate(-50%, -50%);
}

.person::before {
  width: .55rem;
  height: 2px;
}

.person::after {
  width: 2px;
  height: .55rem;
}

.person > span {
  position: absolute;
  z-index: 3;
  bottom: calc(100% + .7rem);
  left: 50%;
  width: max-content;
  max-width: 16rem;
  padding: .7rem .85rem;
  visibility: hidden;
  color: white;
  background: var(--ink);
  border-radius: .25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, .35rem);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
}

.person > span::after {
  position: absolute;
  top: 100%;
  left: 50%;
  border: .4rem solid transparent;
  border-top-color: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.person strong,
.person small {
  display: block;
}

.person strong {
  font-size: .83rem;
}

.person small {
  margin-top: .1rem;
  color: #cbd8d2;
  font-size: .7rem;
}

.person:hover > span,
.person:focus-visible > span,
.person:focus > span {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.person:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.person-zink { left: 28%; top: 79%; }
.person-bannuscher { left: 35%; top: 53%; }
.person-wolf { left: 43%; top: 80%; }
.person-weinreich { left: 52.5%; top: 78%; }
.person-moeller { left: 60.5%; top: 53%; }
.person-novicic { left: 73.5%; top: 77%; }

.team-hint {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  text-align: right;
}

.team-list {
  display: none;
}

.contact {
  padding: clamp(3rem, 7vw, 5.5rem) 0 3rem;
}

.contact-heading {
  display: grid;
  grid-template-columns: 1fr minmax(14rem, 25rem);
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.contact h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.contact-heading > p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 600;
  line-height: 1.45;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.action {
  display: flex;
  min-height: 5.6rem;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 150ms ease;
}

.action:last-child {
  border-right: 0;
}

.action:hover,
.action:focus-visible {
  background: var(--card);
}

.action span {
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.action strong {
  margin-top: .12rem;
  font-size: .95rem;
}

.action-primary {
  color: white;
  background: var(--green);
}

.action-primary span {
  color: #cfe0d8;
}

.action-primary:hover,
.action-primary:focus-visible {
  background: #214c3e;
}

.request-form {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--card);
  scroll-margin-top: 1rem;
}

.request-form:target {
  border-color: var(--template-green);
  box-shadow: 0 0 0 2px rgba(99, 148, 67, .14);
}

.request-form summary {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}

.request-form summary::-webkit-details-marker {
  display: none;
}

.request-form summary small,
.request-form summary strong {
  display: block;
}

.request-form summary small {
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.summary-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.request-form[open] .summary-mark {
  transform: rotate(45deg);
}

.request-form form {
  padding: 1.25rem;
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.form-grid label > span {
  display: block;
  margin-bottom: .25rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: .6rem .7rem;
  border: 1px solid var(--line);
  border-radius: .2rem;
  color: var(--ink);
  background: white;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--green);
  outline: 2px solid rgba(41, 92, 76, .14);
}

.form-grid textarea {
  resize: vertical;
}

.form-message {
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .72rem;
}

.consent input {
  margin-top: .2rem;
  accent-color: var(--green);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.form-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
}

.form-footer button {
  padding: .7rem 1rem;
  border: 0;
  border-radius: .2rem;
  color: white;
  background: var(--green);
  font-weight: 700;
}

.form-footer button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.hours-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: white;
  background: var(--template-green);
}

.hours-inner {
  display: flex;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  align-items: stretch;
  justify-content: space-between;
}

.hours-clock,
.hours-day {
  display: flex;
  min-width: 0;
  flex: 1 0 auto;
  flex-flow: column wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  border-right: 1px solid white;
  text-align: center;
}

.hours-clock:last-child,
.hours-day:last-child {
  border: 0;
}

.hours-clock svg {
  width: 3.75rem;
  height: 3.75rem;
  margin-right: .5rem;
  fill: white;
}

.hours-day strong {
  color: white;
  font-size: .815rem;
  text-transform: uppercase;
}

.hours-day p {
  margin: 0;
  color: white;
  font-size: .9rem;
}

.services {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.services-intro {
  max-width: 52rem;
  margin-bottom: 2.25rem;
}

.services h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.services-intro > p:not(.kicker) {
  margin: 0 0 .8rem;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  border-bottom: 1px solid var(--line);
}

.service-item summary {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  cursor: pointer;
  list-style: none;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary strong {
  color: var(--template-green);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 650;
}

.service-item summary span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.service-item[open] summary span {
  transform: rotate(45deg);
}

.service-content {
  padding: 0 1rem 2.5rem;
}

.service-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.service-copy {
  max-width: 52rem;
}

.service-copy h3 {
  margin: 0 0 1rem;
  color: var(--template-green);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 500;
}

.service-copy p,
.service-copy li {
  color: var(--muted);
}

.service-copy p {
  margin: 0 0 1rem;
  text-align: justify;
}

.service-copy ul {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

footer {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 720px) {
  body {
    width: min(100% - 1.25rem, 72rem);
  }

  .site-header {
    padding-right: .625rem;
    padding-left: .625rem;
  }

  .header-item {
    padding-right: .65rem;
    padding-left: .65rem;
  }

  .brand small {
    display: none;
  }

  .intro {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }

  .intro .kicker,
  .intro h1,
  .intro > p:last-child {
    grid-column: 1;
    grid-row: 3;
  }

  .intro .kicker {
    grid-row: 1;
  }

  .intro h1 {
    grid-row: 2;
  }

  .person {
    width: 1.45rem;
    height: 1.45rem;
  }

  .person > span,
  .team-hint {
    display: none;
  }

  .team-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: .65rem 0 0;
    padding: 1px;
    background: var(--line);
    list-style: none;
  }

  .team-list li {
    min-width: 0;
    padding: .65rem .7rem;
    background: var(--paper);
  }

  .team-list strong,
  .team-list span {
    display: block;
  }

  .team-list strong {
    font-size: .71rem;
  }

  .team-list span {
    margin-top: .1rem;
    color: var(--muted);
    font-size: .62rem;
    line-height: 1.3;
  }

  .contact-heading {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .action {
    min-height: 4.7rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .action:last-child {
    border-bottom: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-message {
    grid-column: auto;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .hours-inner {
    width: min(100% - 1.25rem, 72rem);
    flex-wrap: wrap;
    justify-content: center;
  }

  .hours-clock {
    flex-basis: 100%;
    border: 0;
  }

  .hours-day {
    flex-basis: 30%;
    margin: .5rem;
    border: 0;
  }

  .service-content {
    padding-right: 0;
    padding-left: 0;
  }

  .service-copy {
    padding-right: .65rem;
    padding-left: .65rem;
  }

  .service-copy p {
    text-align: left;
  }

}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-item:nth-child(2) {
    border-right: 0;
  }

  .header-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, .45);
  }

  .hours-day {
    flex-basis: calc(50% - 1rem);
  }
}

@media (min-width: 561px) and (max-width: 720px) {
  .person > span,
  .team-hint {
    display: block;
  }

  .team-list {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

.contact-notice p {
  margin: 0;
}

.hidden {
  display: none !important;
}

.conditional-field,
.nested-fields {
  grid-column: 1 / -1;
}

.nested-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.form-footer button:disabled {
  cursor: wait;
}

#form-status.form-error {
  color: #9d211b;
}

.hours-day ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-day li {
  color: white;
  font-size: .9rem;
}

.hours-day li:last-child {
  margin-top: .25rem;
}

.modal-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  padding: 1rem;
  place-items: center;
  background: rgba(23, 51, 45, .62);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: min(100%, 32rem);
  padding: 1.5rem;
  border-radius: .3rem;
  background: var(--card);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .25);
}

.modal h2 {
  margin: 0 0 .5rem;
  font-size: 1.45rem;
}

.modal p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.modal button {
  padding: .7rem 1rem;
  border: 0;
  border-radius: .2rem;
  color: white;
  background: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.legal-site-header {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-page {
  max-width: 54rem;
  min-height: 65vh;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.legal-page > h1 {
  margin: 0 0 2.5rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
}

.legal-content h2 {
  margin: 2.75rem 0 .85rem;
  color: var(--green);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
}

.legal-content h3 {
  margin: 1.75rem 0 .6rem;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p {
  margin: 0 0 .85rem;
}

.legal-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.legal-content a {
  color: var(--green);
  text-underline-offset: .18em;
}

@media (max-width: 720px) {
  .nested-fields {
    grid-template-columns: 1fr;
  }
}
