:root {
  --westphal-green: #007b66;
  --westphal-text: #111111;
  --westphal-container: 1192px;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--westphal-text);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.18;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

.container-visitenkarte {
  width: min(100% - 2rem, var(--westphal-container));
  margin-inline: auto;
}

.content-area {
  padding-top: 79px;
  padding-bottom: 51px;
}

.layout-row {
  --bs-gutter-x: 0.5rem;
}

.layout-row + .layout-row {
  margin-top: 29px;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 573px;
  height: auto;
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 593 / 430;
  object-fit: cover;
}

h1,
h2 {
  color: var(--westphal-green);
  font-weight: 700;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 590px;
  margin: 15px 0 15px;
  font-size: clamp(2.1rem, 3vw, 2.45rem);
  line-height: 1.11;
}

h2 {
  margin: 0 0 11px;
  font-size: clamp(2rem, 3vw, 2.45rem);
  line-height: 1.06;
}

p {
  margin-bottom: 20px;
}

.intro-copy p {
  max-width: 568px;
}

.intro-copy p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.services-intro {
  margin-bottom: 9px;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.service-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 12px;
  line-height: 1.05;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--westphal-green);
}

.company-name {
  margin-bottom: 11px;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: start;
  column-gap: 9px;
}

.contact-list i {
  width: 31px;
  color: var(--westphal-green);
  font-size: 1.45rem;
  line-height: 1;
  text-align: center;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--westphal-green);
  text-decoration: underline;
}

.contact-highlight {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
}

.site-footer {
  flex-shrink: 0;
  min-height: 81px;
  display: flex;
  align-items: center;
  background: var(--westphal-green);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3.5rem, 9vw, 8.4rem);
}

.footer-nav a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

.legal-page {
  max-width: 850px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.legal-page h1 {
  max-width: none;
  margin-top: 0;
}

.legal-backlink {
  color: var(--westphal-green);
  font-weight: 700;
}

.placeholder-note {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--westphal-green);
  background: #f1f6f5;
}

@media (max-width: 991.98px) {
  body {
    font-size: 17px;
  }

  .content-area {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .hero-photo {
    margin-top: 32px;
  }

  .layout-row + .layout-row {
    margin-top: 39px;
  }

  .contact-column {
    margin-top: 38px;
  }
}

@media (max-width: 575.98px) {
  .container-visitenkarte {
    width: min(100% - 1.5rem, var(--westphal-container));
  }

  h1,
  h2 {
    font-size: 2rem;
  }

  .footer-nav {
    gap: 2.25rem;
  }
}
