@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;1,700&display=swap");
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  font-size: 18px;
  line-height: 28px;
  color: #8492a6;
}

h1, h2, h3 {
  color: #161c2d;
}

h1 {
  font-size: 45px;
  line-height: 67px;
  margin-bottom: 2rem;
}

h2 {
  font-size: 28px;
  margin: 2rem 0;
}

.space {
  display: block;
  height: 2rem;
  width: 100%;
}

.text-primary {
  color: #2980b9;
}

a {
  text-decoration: none;
  -webkit-transition: .1s all ease-in-out;
  transition: .1s all ease-in-out;
  color: #161c2d;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid-2 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

#content {
  margin-bottom: 5rem;
}

header #headline {
  background: #2980b9;
  color: #ffffff;
  font-size: .77rem;
  text-align: center;
}

header #headline img {
  opacity: .6;
  position: relative;
  top: 4px;
  -o-object-fit: contain;
     object-fit: contain;
  width: 20px;
  margin-right: .5rem;
}

header #headline a {
  color: white;
  font-size: .7rem;
}

header nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid #2980b9;
  margin-bottom: 2rem !important;
}

header nav ul {
  list-style: none;
  text-align: right;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

header nav ul li a {
  display: inline-block;
  margin-left: 1rem;
  color: #8492a6;
}

header nav ul li a:hover {
  color: #161c2d;
}

header #toggle-nav {
  display: none;
}

header #toggle-nav:checked ~ #sub-mainnav {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

header .sub-nav-toggle {
  cursor: pointer;
  display: none;
  margin-top: 1rem;
}

header .sub-nav-toggle span:after {
  content: '\2630';
}

section.landing {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  -ms-grid-rows: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      grid-template-areas: "h1 img" "p img";
  width: 100%;
}

section.landing h1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: h1;
  margin-bottom: 2rem;
}

section.landing p {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: p;
}

section.landing img {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 2;
  grid-area: img;
  -ms-grid-column-align: end;
      justify-self: end;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  max-width: 340px;
  position: relative;
  top: -3rem;
}

section.services {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem auto;
}

section.services .service {
  border: 1px solid #8492a6;
  border-radius: .33rem;
  display: -ms-grid;
  display: grid;
  padding: 2rem 0;
}

section.services .service > * {
  -ms-grid-column-align: center;
      justify-self: center;
  text-align: center;
  margin-bottom: 1rem;
  -webkit-transition: .2s all ease-in-out;
  transition: .2s all ease-in-out;
}

section.services .service:hover img {
  -webkit-transform: scale(1.1) rotate(0.5deg);
          transform: scale(1.1) rotate(0.5deg);
}

section.services .service:hover p {
  color: #161c2d;
}

section.about {
  margin: 5rem auto;
}

.gal {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gal .gal__item {
  border: 1px solid #8492a6;
  border-radius: 1rem;
  overflow: hidden;
}

.gal .gal__item .gal__item_img {
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center center;
  border-bottom: 2px solid #2980b9;
}

.gal .gal__item .gal__item_caption {
  padding: 1rem;
}

.datenschutz p, .impressum p {
  margin-bottom: 1rem;
}

form {
  margin: 2rem 0;
}

form #form-messages:is(.error, .success) {
  font-weight: 400;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

form #form-messages.error {
  border: 1px solid #2980b9;
  color: #2980b9;
}

form #form-messages.success {
  border: 1px solid #3d6332;
  color: #3d6332;
}

form .input-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

form .input-group label {
  font-size: .8rem;
}

form .input-group input, form .input-group textarea {
  outline: none;
  border: 1px solid #8492a6;
  border-radius: 5px;
  font-size: 1.1rem;
  padding: .5rem;
  margin-bottom: 1rem;
}

form .input-group input:focus, form .input-group textarea:focus {
  border: 1px solid #2980b9;
}

form .confirm input {
  margin: 0 1rem 0 1rem;
}

form input[type="submit"] {
  margin: 0;
  border: 0;
  background: #2980b9;
  color: white;
}

footer .mainfooter {
  background: #2980b9;
}

footer .mainfooter .container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  padding: 2rem 1rem;
}

footer .mainfooter .container h2 {
  color: white;
}

footer .mainfooter .container ul {
  list-style: none;
}

footer .mainfooter .container ul li a {
  color: white;
}

footer .mainfooter .container ul li a:hover {
  color: #161c2d;
}

footer .mainfooter .container div:nth-child(2) {
  -ms-grid-column-align: center;
      justify-self: center;
}

footer .mainfooter .container div:nth-child(3) {
  -ms-grid-column-align: end;
      justify-self: end;
}

footer .copyright {
  margin: 3rem auto;
}

@media screen and (max-width: 960px) {
  nav {
    all: unset;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  nav .logo img {
    width: 90%;
  }
  nav .sub-nav-toggle {
    display: block;
  }
  nav ul {
    margin-top: 1rem;
    display: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
  }
  nav ul li {
    text-align: center;
  }
  nav ul a {
    display: block;
    margin-bottom: 1rem;
    margin-left: 0 !important;
  }
  section.landing {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;
    margin-bottom: 4rem;
  }
  section.landing h1 {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }
  section.landing img {
    display: none;
  }
  section.services {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  footer .container {
    -ms-grid-columns: 1fr !important;
        grid-template-columns: 1fr !important;
  }
  footer .container div:first-child {
    -ms-grid-column-align: center !important;
        justify-self: center !important;
  }
  footer .container div:nth-child(2) li {
    text-align: center;
  }
  footer .container div:last-child {
    margin-top: 2rem;
    -ms-grid-column-align: center !important;
        justify-self: center !important;
  }
  .gal {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  .grid-2 {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=app.css.map */