:root {
  --yellow: #f4d600;
  --yellow-dark: #d9bd00;
  --orange: #e99a16;
  --grey: #7b7b7b;
  --grey-medium: #c3c4c3;
  --grey-light: #f1f1f1;
  --border: #cccccc;
  --text: #111111;
  --white: #ffffff;
  --page-width: 960px;
}

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

html {
  scroll-behavior: smooth;
  background: #eeeeee;
}

body {
  margin: 0;
  color: var(--text);
  background: #eeeeee;
  font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: #555555;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #000000;
}

:focus-visible {
  outline: 3px solid var(--yellow-dark);
  outline-offset: 3px;
}

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

.page {
  width: min(var(--page-width), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--white);
  border-inline: 2px solid var(--white);
}

.inner {
  width: 100%;
  padding-inline: 34px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #000000;
  background: var(--yellow);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  padding: 18px 0 15px;
  background: var(--white);
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo {
  display: block;
  width: min(626px, 88vw);
}

.main-nav {
  background: var(--grey-medium);
  border-top: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0 22px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 12px 18px;
  color: #111111;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: #000000;
  background: #d8d8d8;
}

.claim {
  margin: 0;
  padding: 10px 20px 9px;
  color: var(--white);
  background: var(--grey);
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.3;
  text-align: center;
}

main {
  padding: 38px 0 46px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 760px;
  margin-bottom: 32px;
  color: #3f3f3f;
  font-size: 18px;
}

.intro a {
  color: #111111;
  font-weight: 700;
}

.section-title {
  margin: 0 0 18px;
  padding: 9px 13px 8px;
  color: var(--white);
  background: var(--grey);
  border-left: 9px solid var(--yellow);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.service-box {
  min-height: 168px;
  padding: 17px 18px;
  background: #f7f7f7;
  border: 1px solid var(--border);
  border-top: 8px solid var(--yellow);
}

.service-box h3 {
  margin-bottom: 9px;
  color: var(--orange);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
}

.service-box p {
  margin-bottom: 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.48;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 17px;
  background: var(--yellow);
  border: 1px solid var(--yellow-dark);
}

.contact-address,
.contact-details {
  padding: 24px;
}

.contact-address {
  border-right: 1px solid rgba(0, 0, 0, 0.22);
}

.contact-panel h2 {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.contact-panel p {
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.contact-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  font-size: 18px;
}

.contact-row span {
  font-weight: 700;
}

.contact-row a,
.contact-row strong {
  color: #000000;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 30px 0 26px;
  color: var(--white);
  background: var(--grey);
  border-top: 9px solid var(--yellow);
}

.site-footer h2 {
  margin-bottom: 18px;
  font-size: 25px;
  font-weight: 400;
}

.imprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  font-size: 15px;
}

.imprint-grid p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 25px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--white);
}

/* Datenschutz */
.page-intro {
  margin-bottom: 30px;
}

.breadcrumbs {
  margin-bottom: 9px;
  color: #666666;
  font-size: 14px;
}

.breadcrumbs a {
  color: #555555;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 31px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d0d0d0;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
}

.legal-content h2::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 20px;
  margin-right: 10px;
  background: var(--yellow);
  vertical-align: -2px;
}

.legal-content p,
.legal-content li {
  color: #333333;
}

.legal-content a {
  color: #333333;
}

.notice {
  padding: 14px 16px;
  background: var(--grey-light);
  border-left: 7px solid var(--yellow);
}

@media (max-width: 760px) {
  .inner {
    padding-inline: 22px;
  }

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

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

  .contact-address {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .inner {
    padding-inline: 16px;
  }

  .site-header {
    padding-top: 13px;
  }

  .logo {
    width: 94vw;
  }

  .main-nav ul {
    padding-inline: 6px;
  }

  .main-nav a {
    padding: 10px 11px;
    font-size: 15px;
  }

  .claim {
    padding-inline: 12px;
  }

  main {
    padding-top: 28px;
  }

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

  .service-box {
    min-height: 0;
  }

  .contact-address,
  .contact-details {
    padding: 19px;
  }

  .contact-row {
    grid-template-columns: 65px 1fr;
    font-size: 16px;
  }

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

  .footer-bottom {
    display: block;
  }

  .footer-links {
    margin-top: 9px;
  }
}

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