@font-face {
    font-family: "Brother";
    src:
      url("brother1816.otf") format("opentype")
}

:root {
    --main-color: #32AB9D;
    --secondary-color: #E9455A;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0px auto;
    font-family: "Brother", sans-serif;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: unset;
}

ol:not(article ol),
ul:not(article ul) {
    list-style: none;
}

ol,
ul {
    padding-left: 0;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
}

.wrapper {
    width: 86%;
    max-width: 1000px;
    margin: 0px auto;
}

.logo {
    width: 160px;
}

nav ul {
    display: flex;
    flex-direction: row;
}

nav ul li {
    padding: 12px;
    font-size: 16px;
}

nav a {
    transition: color 0.2s;
}

nav a:hover {
    color: var(--main-color);
}

#hero {
    padding: 40px 0px;
    position: relative;
}

.heroimg {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 40px;
}

.herogrid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: 56px;
    font-weight: normal;
    line-height: 120%;
    margin: 0px auto;
}

h2 {
    margin: 0px auto;
    color: var(--secondary-color);
    font-size: 32px;
}

.maincta {
    background-color: var(--main-color);
    padding: 12px 20px 14px 20px;;
    color: #fff;
    border-radius: 40px;
    display: inline-block;
    transition: transform 0.2s, background-color 0.2s;
}

.maincta:hover {
    transform: scale(1.05);
    background-color: #218d80;
}

.subheadline {
    margin: 32px 0px;
    font-size: 18px;
    line-height: 160%;
}

.herotextcont {
    max-width: 640px;
    margin-right: 40px;
}

#services {
    padding: 60px 0px;
}

.servicesgrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
}

.servicebox {
    background-color: #EDF7F6;
    border-radius: 16px;
    text-align: center;
    padding: 20px;
}

.servicebox img {
    display: inline-block;
    margin-top: 20px;
    width: 64px;
}

.servicebox h2 {
    margin: 20px 0px;
    font-size: 22px;
    color: var(--main-color);
}

.servicebox p {
    font-size: 14px;
    opacity: 0.7;
}

#produkte {
    padding: 60px 0px;
}

#produkte ul {
    font-size: 56px;
    line-height: 140%;
    margin: 24px 0px;
}

#produkte span {
    font-size: 24px;
    display: inline-block;
    margin-bottom: 32px;
}

#produkte ul li:before {
    content: "";
    display: inline-block;
    margin-right: 12px;
    margin-top: 4px;
    width: 48px;
    height: 48px;
    background-image: url("img/checkmark.svg");
    background-size: cover;
  }

  .produktegrid {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .produkteimg {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

  #ueberuns {
    padding: 60px 0px;
  }

.aboutusgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    align-items: center;
    margin-top: 40px;
}
.aboutusimg {
    border-radius: 16px;
}

.aboutusgrid h3 {
    font-size: 32px;
    margin-top: 0px;
    line-height: 130%;
    max-width: 380px;
}

.aboutusgrid p {
    font-size: 14px;
    line-height: 160%;
}

.signature {
    width: 200px;
    margin-top: 32px;
}

#kontakt {
    padding: 60px 0px;
}

.kontaktgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.kontaktgrid a  {
    display: inline-flex;
    align-items: center;
    padding: 4px 0px;
    transition: opacity 0.2s;
}

.kontaktgrid a:hover {
    opacity: 0.6;
}

.kontaktgrid a img  {
    margin-right: 4px;
}

footer {
    padding: 32px;
}

.footerbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.logofooter {
    width: 120px;
}

.footerbar a {
    margin-right: 16px;
}

.map iframe {
    width: 100%;
    height: 400px;
}

#mobilemenu {
    display: none;
}