@import url("/assets/fonts.css");
@import url("/assets/fonts/fontawesome/css/all.min.css");

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}
h1 {
  margin-bottom: 1rem;
}
h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}
h3 {
  font-weight: 500;
  margin-bottom: 1rem;
}
h4 {
  margin-bottom: 1rem;
}
figure img {
  padding-top: 0.4rem;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

ul,
ol {
  padding-left: 2em;
}

li {
  margin-bottom: 0.5rem;
}

a.dr-flex {
  background-color: #a8da3a;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
a.dr-flex:hover {
  background-color: #a7da3abd;
}
.dr-flex button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.bewerbung {
  margin-bottom: 0.5rem;
}
.bewerbung:last-child {
  margin-bottom: 1rem;
}
.bewerbung2 {
  width: 100%;
  margin-bottom: 1.5rem;
}
.has-error {
  color: red;
}
.has-error input[type="text"] {
  border: 1px solid red;
}
.alert {
  border: 2px solid rgba(146, 206, 94, 1);
  background-color: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
}

p.leistungen {
  margin-bottom: 1rem;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

/* Set core body defaults */
body {
  padding-top: 126px;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.4;
  font-family: "Poppins", sans-serif;
  /* background: url(joao-ferrao-mKWn6O5t1LQ-unsplash.jpg) top center no-repeat
        fixed;
    background-size: cover; */
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  color: #4b8009;
  text-decoration-thickness: 1px;
}
a:hover {
  color: #7d0707;
}

.ck-content hr {
  border-top: 1px solid #dae5d6 !important;
  background: none;
}
p {
  margin-bottom: 1rem;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header */

.header-container {
  min-width: 100%;
  margin: 0 auto;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  transition: 0.6s;
  background: #f9ffdd;
  padding: 15px;
  border-bottom: 1px solid #afb9ab;
}

header {
  margin: 0 auto;
  padding: 0x;
  /* max-width: 60rem; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-container.sticky {
  background: #f9ffdd;
}

header .brand img {
  max-width: 100%;
}

header .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: no-wrap;
}

header .menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

header .menu ul li {
  flex-direction: row;
  margin: 0;
  padding: 0;
}

header .menu ul li a {
  position: relative;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0 5px;
  padding: 0 5px;
  transition: 0.3s;
  transition-property: color, background-color, background-image;
}

header .menu ul li a:hover,
header .menu ul li a.rex-active,
header .menu ul li a.rex-current {
  color: #76a217;
}

header .menu ul li a::before,
header .menu ul li a.rex-active::before,
header .menu ul li a.rex-current::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #76a217;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

header .menu ul li a:hover::before,
header .menu ul li a.rex-current::before,
header .menu ul li a.rex-active::before {
  transform: scaleX(1);
}

header .btn {
  color: #000;
  font-size: 25px;
  cursor: pointer;
  display: none;
}

ul.rex-breadcrumb {
  list-style: none;
  /* background-color: red; */
  margin-left: 0;
  padding-left: 0;
}
ul.rex-breadcrumb li {
  display: inline;
  /* padding-right: 1rem; */
}
ul.rex-breadcrumb li:first-child::before {
  content: "Sie sind hier: ";
}
ul.rex-breadcrumb li:first-child::after {
  content: " >";
}

/* Custom CSS */

section,
.primary-footer {
  padding: 3rem 15px;
  margin: 0;
  /* min-height: 100vh; */
}

.section-main {
  position: relative;
  max-width: 100%;
  min-height: calc(100vh - 126px);
  background: url(/media/startseite_2025.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #dae5d6;
}

.section-main h1 {
  color: #fff;
  text-shadow: 2px 3px 5px #070302;
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 70px;
}

/*  utility classes */

.container {
  max-width: 60rem;
  margin: 0 auto;
}
.container-start {
  width: min(90%, 60rem);
  /* padding-top: 50px; */
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.container-start img {
  min-width: 100%;
}
.start {
  background-color: #070302;
  padding: 0;
}

.main-content {
  background-color: #fff;
  color: #181b17;
  border-bottom: 1px solid #dae5d6;
}

.bg-dark {
  background-color: #bdec56;
  color: #181b17;
  border-top: 1px solid #afb9ab;
  border-bottom: 1px solid #afb9ab;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
}

.bg-light {
  background-color: #f9ffdd;
  border-top: px solid #dae5d6;
  border-bottom: 1px solid #dae5d6;
}

.bg-white {
  background-color: #fff;
  border-top: 0px solid #dae5d6;
  border-bottom: 1px solid #dae5d6;
}
.bg-white figure.table,
.bg-white .table {
  margin: 0 0 0.5rem 0;
  padding: 0;
}

.team {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  column-gap: 1rem;
}

.team > div:first-child {
  min-width: 75%;
}

.team > div:last-child {
  min-width: calc(25% - 1rem);
}
.team > div:last-child img {
  width: 100%;
}

.bg-news {
  background: url(/media/nordwood-themes-KcsKWw77Ovw-unsplash.jpg) center top no-repeat;
  background-attachment: fixed;
  background-size: cover;
  border-top: 0px solid #dae5d6;
  border-bottom: 1px solid #dae5d6;
}

.bg-news img {
  display: inline-block;
}

/* .main-content img,
.bg-light img,
.bg-white img,
.bg-news img {
    border-radius: 12px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
    border-top: 1px solid #afb9ab;
    border-bottom: 1px solid #afb9ab;
} */

.kontakt-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

footer {
  font-size: 1rem;
}

footer h3 {
  margin-bottom: 0.5rem;
  font-weight: 500;
}
footer p {
  margin-bottom: 0.5rem;
}

footer .table {
  margin: 0 auto;
}

footer a {
  text-decoration: none;
  color: #000;
}
footer .bg-dark {
  box-shadow: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.flow-content > * + * {
  margin-top: 1rem;
}

.split {
  display: flex;
  flex-direction: column;
  /* gap: 2em; */
}

.split > * + * {
  margin: 2em 0 0 0;
  /* text-align: center; */
}

footer .split > * {
  margin: 1em 0;
  text-align: center;
}

footer .split {
  gap: 1rem;
}

/* components */

.widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 1rem;
}

.widget {
  padding: 1em;
  flex: 1 1 200px;
  color: #1e2802;
}
.widget table td,
footer table td,
.bg-white .table td {
  padding: 0 8px 2px 0;
  text-align: left;
  white-space: nowrap;
}
.widget table td:first-child,
footer table td:first-child,
.bg-white .table td:first-child {
  padding: 0 10px 2px 0;
}
.widget table td:last-child,
footer table td:last-child,
.bg-white .table td:last-child {
  padding: 0 0 2px 0;
}
.widget table th,
footer table th,
.bg-white .table th {
  display: none;
}
.widget h3,
footer h3 {
  white-space: nowrap;
}
.widget .icon {
  font-size: 1.5rem;
}
.widget a {
  color: #1e2802;
  text-decoration: none;
}

/* Navbar */

@media (min-width: 50em) {
  .split {
    flex-direction: row;
    justify-content: center;
  }

  .split > * {
    flex-shrink: 1;
    flex-basis: 100%;
  }

  .split > * + * {
    margin: 0 0 0 2em;
    /* text-align: center; */
  }

  .big-column {
    flex-basis: 250%;
  }
  .container-start {
    align-items: center;
    height: 100vh;
  }
}

@media (max-width: 790px) {
  header .btn {
    display: block;
    margin-top: 10px;
  }

  header .menu {
    position: fixed;
    background: #dbe8a4;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 0;
    transition: 0.5s;
    transition-property: right;
  }

  header .menu.active {
    right: 0;
  }

  header .menu.active > ul {
    display: flex;
    flex-direction: column;
  }

  header .menu.active ul > li {
    text-align: center;
  }

  header .menu.active .close-btn {
    margin: 25px 0 0 -9px;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  header .menu.active ul li a,
  header .menu.active ul li a:last-child {
    display: block;
    font-size: 20px;
    margin: 20px;
    padding: 0 15px;
    text-align: center;
  }
  body {
    padding-top: 240px;
  }
  html {
    scroll-padding-top: 240px;
  }
}

@media (max-width: 49em) {
  header {
    flex-direction: column;
  }
  body,
  footer {
    font-size: 1rem;
  }
  section {
    padding: 2rem 15px;
  }
  .primary-footer {
    padding: 1rem 15px;
  }
  section h2,
  footer h3 {
    font-size: 1.1rem;
  }
  .section-main h1 {
    font-size: 3rem;
    line-height: 1.2;
  }
  header .menu ul {
    flex-direction: column;
  }
}
@media (max-width: 29em) {
  figure.image {
    width: 100% !important;
  }
  .team {
    flex-flow: column;
  }
}
