:root {
  --hauptfarbe: 32 86 43; /* grün */
  --akzentfarbe: 153 14 39; /* rot */
  --akzentdunkel: 151 16 23;
  --mittelgrau: 157 157 157;
  --dunkelgrau: 75 75 75;
  --weiss: 255 255 255;

  --radius-klein: .5rem;
  --schatten: 0 .5rem 1rem rgb(var(--hauptfarbe) / 0.25);
  --d-schatten: 0 .5rem 1.5rem rgb(var(--hauptfarbe) / 0.4);
}
/* Anwendungsschema: xyz { color: rgb(var(--hauptfarbe)); } */


/**
* Template Name: Multi - v4.3.0
* Template URL: https://bootstrapmade.com/multi-responsive-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: 'WorkSans', sans-serif;
  font-size: 1.1rem;
  /* color: rgb(var(--)); */
  font-variant-numeric: oldstyle-nums;
}

a {
  color: rgb(var(--akzentfarbe));
  text-decoration: underline;
  text-decoration-thickness: .5pt;
  text-underline-offset: 3pt;
}
strong {
  font-weight: 700;
}
a:hover {
  text-decoration-thickness: 3pt;
  color: rgb(var(--hauptfarbe));
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: rgb(var(--hauptfarbe));
  hyphens: auto;
  text-wrap: balance;
  margin-top: 1.5em;
  margin-bottom: .5em;
}
h2:is(div > h2), h3:is(div > h3), h4:is(div > h4), h5:is(div > h5), h6:is(div > h6) {
  margin-top: .25em;
}
.adresse {
  h1, h2, h3, h4, h5, h6 {
    text-transform: unset;
    letter-spacing: unset;
  }
}
h2 {
  color: rgb(var(--akzentfarbe));
}
h5 {
  font-weight: 600;
}
h6 {
  font-weight: 600;
  color: #000;
}

p {
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* Footer unten festnageln  */

html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
#main {
  flex: 1 0 auto;
  margin-bottom: auto;
}
#footer {
  flex-shrink: 0;
}

/*--------------------------------------------------------------rgb(var(--dunkelgrau));Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: white;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid rgb(var(--hauptfarbe));
  border-top-color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: rgb(var(--hauptfarbe));
  width: 40px;
  height: 40px;
  border-radius: var(--radius-klein);
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 2rem;
  color: white;
  line-height: 0;
}

.back-to-top:hover {
  /* background: rgb(var(--drittfarbe)); */
  color: white;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: white;
  z-index: 997;
  padding: 1rem 0;
  transition: all 5s;
  border-bottom: 2pt solid rgb(var(--akzentfarbe));
}
main {
  padding-top: calc(7rem - 2pt);
}
#header.header-scrolled {
  padding: .75rem 0;
  box-shadow: var(--schatten);
  transition: all .5s;
}

#header .logo svg {
  height: 5rem;
}
#header.header-scrolled svg {
  height: 5rem;
  transition: all .5s;
}
@media (max-width: 768px) {
  #header .logo svg {
    height: 4rem;
  }
  main {
    padding-top: 7rem;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  justify-content: space-between;
  gap: 3em;
  font-size: 1.25rem;
  color: rgb(var(--akzentfarbe));
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .navbar a, .navbar a:focus {
    font-size: 1rem;
  }
}
.navbar a i, .navbar a:focus i {
  font-size: 1rem;
  line-height: 0;
  margin-left: 5px;
}

.navbar .active, .navbar .active:focus > a {
  color: rgb(var(--hauptfarbe));
  text-decoration: unterline!important;
  /* text-decoration-color: rgb(var(--akzentfarbe)); */
}
.navbar a:hover {
  color: rgb(var(--akzentfarbe));
  text-decoration-line: underline;
  /* text-decoration-thickness: 3pt!important; */
  text-underline-offset: 5pt!important;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: white;
  box-shadow: var(--schatten);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
}

.navbar .dropdown ul a i {
  font-size: 1rem;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  /* color: rgb(var(--hauptfarbe)); */
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
  color: rgb(var(--akzentfarbe));
  font-size: 2rem;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: white;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgb(var(--akzentfarbe) / .9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: white;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 1.1rem;
  color: rgb(var(--akzentfarbe));
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  /* color: rgb(var(--hauptfarbe)); */
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: white;
  box-shadow: var(--schatten);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 1rem;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  /* color: rgb(var(--hauptfarbe)); */
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* Main */

main {
  background-color: rgb(var(--hauptfarbe) / .1);
}
h1 {
  color: rgb(var(--hauptfarbe));
  font-size: 3.5rem;
  hyphens: manual;
}
h1 strong {
  hyphens: manual;
}
@media (max-width: 576px) {
  h1 {
    font-size: 2.4rem;
    hyphens: auto;
  }
  h2 {
    font-size: 2.2rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 400px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  /* padding: 3rem 0; */
}
section {
  padding-bottom: 3rem;
}
section#title {
  padding-bottom: 5rem;
}
.section-bg {
  background-color: rgb(var(--hauptfarbe) / .25);
}
section + section {
  padding-top: 3rem;
}

.container:has(> .page-title) {
  padding: 0;
  z-index: 100!important;
  height: 100%;
  position: relative;
  display: flex;
  align-self: flex-end;
}
.section-title:not(.box > .section-title) {
  padding: 1rem;
}
.section-title {
  padding-bottom: 3rem;
}
.section-title p {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0;
  line-height: 1.2em;
  margin: 0 0 .75rem 0;
  color: rgb(var(--hauptfarbe));
}
.section-title p::after {
  content: "";
  width: 3rem;
  height: 1px;
  display: inline-block;
  /* background: rgb(var(--drittfarbe)); */
  margin: 4px 10px;
}

.section-title h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: .75rem;
  padding-bottom: .5em;
  border-bottom: 2pt solid rgb(var(--akzentfarbe));
}


/* About ---------------------------------------*/
.about .content h3 {
  /* font-weight: 600; */
  font-size: 2rem;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
}

.about .content ul li + li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.75rem;
  color: rgb(var(--hauptfarbe));
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-klein);
  transition: 0.3s;
  line-height: 1;
  color: rgb(var(--hauptfarbe));
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid rgb(var(--hauptfarbe));
}

.about .content .btn-learn-more:hover {
  background: rgb(var(--hauptfarbe));
  color: white;
  text-decoration: none;
}



/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  padding: 4rem 0;
  background: rgb(var(--akzentfarbe));
}

.cta h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.cta p {
  /* color: white; */
}

.cta .cta-btn {
  font-weight: 600;
  font-size: 1.25rem;
  display: inline-block;
  padding: 10px 35px;
  border-radius: var(--radius-klein);
  transition: 0.5s;
  margin-top: 10px;
  background-color: rgb(var(--hauptfarbe));
  border: 2px solid rgb(var(--weiss));
  color: white;
  text-decoration: none;
}

.cta .cta-btn:hover {
  background: rgb(var(--weiss) / .5);
  border: 2px solid rgb(var(--weiss));
}


/* kontakt --------------------------------------------- */
.contact .info-box {
  color: rgb(var(--akzentfarbe));
  text-align: center;
  box-shadow: var(--schatten);
  padding: 1.5rem 0 2rem 0;
  background: white;
}

.contact .info-box i {
  font-size: 2.75rem;
  color: rgb(var(--hauptfarbe));
  border-radius: 50%;
  padding: .5rem;
  /* border: 2px dotted rgb(var(--drittfarbe) / .25); */
}

.contact .info-box h3 {
  font-size: 1.75rem;
  /* color: rgb(var(--dunkelgrau)); */
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 2rem;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: var(--schatten);
  padding: 2rem;
  background: white;
  border-radius: var(--radius-klein);
}

.contact .php-email-form .error-message {
  display: none;
  color: white;
  background: rgb(var(--hauptfarbe));
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 1.5rem;
}

.contact .php-email-form .sent-message {
  display: none;
  color: white;
  background: rgb(var(--akzentfarbe));
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: white;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid rgb(var(--akzentfarbe));
  /* border-top-color: rgb(var(--hellgrau) / .5); */
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 1.1rem;
  border-radius: var(--radius-klein);
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: rgb(var(--hauptfarbe));
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: rgb(var(--hauptfarbe));
  border: 0;
  padding: 10px 30px;
  border-radius: var(--radius-klein);
  color: white!important;
  transition: 0.4s;
}

.contact .php-email-form button[type="submit"]:hover {
  /* background: rgb(var(--drittfarbe)); */
  box-shadow: var(--schatten);
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* footer --------------------------------------------- */
#footer {
  background: white;
  padding: 1.4rem 0;
  font-size: 1.1rem;
  /* color: rgb(var(--dunkelgrau)); */
}

#footer h3, #footer h4, #footer p, #footer li {
  /* color: rgb(var(--weiss)); */
}

#footer ul {
  padding-left: 0;
}
#footer ul li {
  list-style: none;
  padding: 0 0 .25em 0;
}

#footer a {
  color: rgb(var(--akzentfarbe) / 1)!important;
}
#footer a:hover {
  color: rgb(var(--akzentfarbe) / .5)!important;
}

#footer table td:first-of-type {
  padding-right: .5em;
}
@media (max-width: 768px) {
  #footer table {
    display: flex;
    /* background-color: green; */
  }
  #footer table td {
    display: flex!important;
  }
}


/* weg */


/* eigenes -------------------------------------------- */
.box {
  container-type: inline-size;
  border-radius: var(--radius-klein);
  width: 100%;
  padding: 1rem 1rem;
  background: rgb(var(--weiss));
  box-shadow: var(--schatten);
  transition: box-shadow .5s;
}
.box:hover {
  box-shadow: var(--d-schatten);
  transition: box-shadow .5s;
}
.box *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
#footer .box {
  background-color: rgb(var(--weiss));
}
hr {
  color: rgb(var(--hauptfarbe));
}
#uebersicht .liste div:not(:first-of-type) h3 {
  border-top: 1px solid rgb(var(--hauptfarbe) / .5)!important;
  padding-top: 1em;
  margin-top: 2rem;
}
@media (width <= 992px) {
  .vorfahrt {
    order: -1;
  }
}
figcaption {
  padding: .5em 0;
  font-size: 1rem;
  font-style: italic;
}
.inline-button {
  background: none;
  border: none;
  padding: 0 .5em;
  color: rgba(var(--akzentfarbe));
}
.inline-button.boxicons {
  font-family: "Boxicons";
}
.inline-button:active {
  background: none;
  border: none;
  padding: 0 .5em;
  color: rgba(var(--hauptfarbe));
}
/* accessibility --------------------------------------------- */
tr.blindheader {
  font-size: 1pt;
  opacity: 0;
  position: absolute;
}
table caption {
  font-weight: bold;
  color: inherit;
}

#impressum, #datenschutzerklaerung {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
    margin-top: 1.5em;
  }
  h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1.25em;
  }
  h4 {
    font-size: 1.2rem;
    font-weight: 600;
  }
}
