@import "navi.css";
@import "forms.css";
@import "fonts.css";
@import url("/assets/fonts/fontawesome/css/all.min.css");

/* Root */

:root {
  --black: #3c3c3c;
  --blue: #29166f;
  --lightblue: #7096d1;
  --lightblue2: #dae4f4;
  --white: #fff;
  --grey: #999;
  --lightgrey: #d5d2d2;
  --spalte-bg: #f4f4f4;
  --white-trans: rgba(255, 255, 255, 0.8);

  --nav-hover: #bdd7ff;

  --max-w: 1024px;
}

*,
*:before,
*:after {
  /* Padding und Border einrechnen */
  box-sizing: border-box;
  margin: 0 auto;
}

* {
  font-family: "Lato", sans-serif;
}

html {
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
  /* background: #fff url(/media/bg_main.jpg) top center fixed no-repeat; */
  background-size: cover;
  overflow-y: scroll;
  font-size: 1rem;
}

body {
  margin: 0 auto;
}

/* Header */

header {
  position: sticky;
}
.logo-container {
  width: 100%;
  /* min-height:150px; */
  max-width: 1024px;
  margin: 0 auto;
  padding: 1rem 0;
  /* background: #fff; */
  display: flex; /* Kinder Elemente haben dann die selbe H�he */
  flex-wrap: wrap; /* bei kleinen Bildschirmen Umbruch erzwingen */
  justify-content: space-between;
}
.logo {
  margin: 0 0 -2px 0;
  padding: 0;
  text-align: left;
  align-self: flex-start;
  flex: auto; /* Breite nach Inhalt automatisch anpassen, bei gleicher Gr��e flex: 1 verwenden */
  white-space: nowrap;
}

.resp-nav {
  margin: 0;
  padding: 0 0 0 2.5vw;
  text-align: right;
  align-self: center;
}
.tel {
  margin: 0;
  padding: 0;
  text-align: right;
  flex: auto; /* Breite nach Inhalt automatisch anpassen, bei gleicher Gr��e flex: 1 verwenden */
  align-self: center;
  white-space: unset;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 600;
}
.tel a {
  color: var(--blue);
}
.hamburger {
  cursor: pointer;
  z-index: 1000;
}

/* Container */

.menu-container,
.footer-container,
.content-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1024px;
  margin: 3px auto;
  padding: 10px 1rem;
}
.menu-container {
  background-color: var(--lightblue);
  /* border-radius: 15px 15px 0 0; */
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}
.footer-container {
  margin: 1rem auto 0 auto;
  padding: 2rem 1rem 0 1rem;
  max-width: 100%;
  background: #dae4f4;
  border-top: 1px solid var(--lightgrey);
}
.menu,
.footer {
  position: relative;
  margin: 0 auto;
  padding: 0;
  color: var(--white);
}
.menu {
  z-index: 1000;
  width: 100%;
  max-width: 1024px;
  /* background-color: var(--white); */
  padding: 0.5rem 0;
  /* margin-bottom: 1rem; */
}

.footer {
  text-align: center;
  padding: 0 2vw;
  color: #29166f;
}

.footer a {
  color: #29166f;
  text-decoration: underline;
  transition: 0.25s;
}
.footer a:hover {
  color: var(--white-trans);
}

.content-container {
  background: transparent;
  padding: 0;
}

/* Section */

section {
  padding: 0.5rem 0;
  background-color: #bee916;
}
.wrapper {
  width: 100%;
  max-width: var(--max-w);
}

/* Hero */

.bg-main {
  /* background: linear-gradient(141deg, #ccc 25%, #eee 40%, #ddd 55%); */
  background: url(/media/bg-hero.jpg) center center no-repeat;
  background-size: cover;
  border-top: 1px solid var(--lightgrey);
  border-bottom: 1px solid var(--lightgrey);
  min-height: 373px;
}

.bg-main-wrapper {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  /* outline: 1px solid red; */
}

.slide-text {
  /* outline: 1px solid green; */
  margin: 0;
  --delay: 0s;
  --links: 6rem;
  --dura: 2s;
  color: var(--blue);
}

.slide-text h1 {
  text-wrap: balance;
  font-size: 200%;
  animation-delay: var(--delay);
  animation-duration: var(--dura);
  animation-fill-mode: both;
  animation-name: fadeInLeft;
}
.slide-text h2.item1 {
  text-wrap: balance;
  font-size: 150%;
  animation-delay: calc(var(--delay) + 0.4s);
  animation-duration: var(--dura);
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  margin-top: 1rem;
  margin-left: var(--links);
}
.slide-text h2.item2 {
  text-wrap: balance;
  font-size: 130%;
  animation-delay: calc(var(--delay) + 0.6s);
  animation-duration: var(--dura);
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  margin-left: calc(var(--links) * 1.5);
  margin-top: 0.5rem;
}
.slide-text h2.item3 {
  text-wrap: balance;
  font-size: 130%;
  animation-delay: calc(var(--delay) + 0.8s);
  animation-duration: var(--dura);
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  margin-left: calc(var(--links) * 1.5);
}
.slide-text h2.item4 {
  text-wrap: balance;
  font-size: 130%;
  animation-delay: calc(var(--delay) + 1s);
  animation-duration: var(--dura);
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  margin-left: calc(var(--links) * 1.5);
}
.slide-text h2.item5 {
  text-wrap: balance;
  font-size: 130%;
  animation-delay: calc(var(--delay) + 1.2s);
  animation-duration: var(--dura);
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  margin-left: calc(var(--links) * 1.5);
}
.slide-text h2.item6 {
  text-wrap: balance;
  font-size: 130%;
  animation-delay: calc(var(--delay) + 1.4s);
  animation-duration: var(--dura);
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  margin-left: calc(var(--links) * 1.5);
}

.slide-bild {
  min-width: 320px;
  max-width: 320px;
  margin: 0;
  animation: fadeInImage 5s;
}

.slide-bild img {
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

@media (max-width: 970px) {
  .bg-main-wrapper {
    flex-direction: column;
  }
  .slide-text h1,
  .slide-text h2.item1,
  .slide-text h2.item2,
  .slide-text h2.item3,
  .slide-text h2.item4,
  .slide-text h2.item5,
  .slide-text h2.item6 {
    text-align: center;
    padding: 0.25rem 0;
    margin-left: 0;
  }
}

@keyframes fadeInImage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-200%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeOutLeft {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

/* Startseite */

.content {
  position: relative;
  margin: 0;
  padding: 0;
  color: #000;
  z-index: 1;
}

.ck-content blockquote,
q {
  margin: 0 0 1rem 0;
  padding: 1rem 1rem 0 1rem;
  border: 1px solid var(--lightgrey);
  outline: 0;
  display: flex;
  align-items: center;
  background: var(--spalte-bg);
  quotes: none;
  color: var(--blue);
  font-style: normal;
}

.ck-content blockquote:before,
.ck-content blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

.aktuelles {
  background-color: var(--lightblue2);
  margin-top: 1rem;
  padding: 1rem 1rem 0 1rem;
  border: 1px solid var(--lightgrey);
}
.aktuelles p {
  font-size: 1.5rem;
  color: var(--blue);
}

.spalten-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
  padding: 0;
}
.spalte:nth-child(1) {
  /* background-color: #fbfec5; */
  background-color: var(--spalte-bg);
}
.spalte:nth-child(2) {
  /* background-color: #d4fec5; */
  background-color: var(--spalte-bg);
}
.spalte:nth-child(3) {
  /* background-color: #d1fffa; */
  background-color: var(--spalte-bg);
}
.spalte {
  width: 100%;
  justify-content: stretch;
  margin: 1rem 0 0 0;
  padding: 0;
  text-align: left;
  /* background: #eff2ff; */
  border: 1px solid var(--lightgrey);
  border-radius: 15px 15px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spalte h2 {
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 1rem;
  margin: 0;
  font-size: 1.2rem;
  /* border-radius: 15px 15px 0 0; */
}

.spalte .fas {
  padding-right: 1rem;
}

.spalte img {
  display: inline-block;
  min-width: 100%;
  min-height: 128.383px;
  aspect-ratio: 33/12;
  object-fit: cover;
  /* padding: 5px 10px; */
}
.spalte p {
  text-align: center;
  padding: 5px 10px;
  width: 100%;
}
.spalte a {
  text-decoration: none;
  color: var(--blue);
}
.spalte a:hover {
  text-decoration: none;
  color: var(--blue);
}

div.spalte-unten {
  margin-top: auto;
  margin-bottom: 10px;
  text-align: center;
  /* background: red; */
}

div.spalte-unten a {
  width: 100%;
  text-decoration: none;
}
button.spalte-button {
  background-color: var(--blue);
  color: var(--white);
  margin-top: 0.5rem;
  padding: 0.5rem 1rem 0.75rem 1rem;
  border: 0;
  outline: 0;
  font-size: 1rem;
  border-radius: 0.35rem;
  transition: 0.25s;
}
button.spalte-button:hover {
  cursor: pointer;
  background-color: var(--lightblue);
}

.button-a {
  text-decoration: none;
}

button.news-button {
  background-color: var(--blue);
  color: var(--white);
  margin: 0 auto 1rem auto;
  padding: 0.5rem 1rem 0.75rem 1rem;
  border: 0;
  outline: 0;
  font-size: 1rem;
  border-radius: 0.35rem;
  text-align: center;
  display: block;
  transition: 0.25s;
}
button.news-button:hover {
  cursor: pointer;
  background-color: var(--lightblue);
}

.col-container {
  display: grid;
  grid-template-columns: 250px auto;
  margin: 0;
  padding: 0;
  width: 100%;
  /* background: yellow; */
}

.col1 {
  margin: 0 15px 0 0;
  padding: 0;
  /* width: 250px; */
  /* max-width: 250px; */
  border-right: 1px solid var(--lightgrey);
  /* border-image: linear-gradient(to bottom, #29166F , #fff); */
  /* border-image-slice: 1; */
  /* background: blue; */
  font-size: 1em;
}
.col2 {
  margin: 0;
  padding: 0;
  text-align: left;
  /* background: pink; */
}

a {
  color: #29166f;
}
a:hover {
  color: #7c7cea;
}
img {
  max-width: 100%;
  height: auto;
}
h1 {
  font-weight: 700;
  font-size: 1.5em;
  padding-bottom: 10px;
}
h2 {
  font-weight: 700;
  font-size: 1.3em;
  padding-bottom: 10px;
}
h3 {
  font-weight: 700;
  font-size: 1.3em;
  padding-bottom: 10px;
}
p {
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1.4em;
  padding-bottom: 15px;
}
/* .spalte p { padding:0 0 15px 0; } */
strong,
b,
.spalte-unten a {
  font-weight: 700;
  font-size: inherit;
}

.content ul,
.content ol {
  margin: 0 0 1em 0;
}

.content li {
  /* margin-left: -2vh; */
  font-size: 1.1em;
  line-height: 1.4em;
}

hr {
  clear: both;
  height: 0px !important;
  margin: 10px 0;
  border-top: 1px solid var(--lightgrey) !important;
  /* background: linear-gradient(to right, transparent 0%, #29166F 30%, #29166F 60%, transparent 100%) !important; */
}

img.float_l,
.grid.float_l {
  float: left;
  margin: 8px 1em 1em 0;
}
img.float_r,
.grid.float_r {
  float: right;
  margin: 8px 0 1em 1em;
}
img.bild_b {
  outline: 1px solid white;
  outline-offset: -2vh;
  max-width: 100%;
}

.topic-menu {
  background-color: #29166f;
  margin-bottom: 3px;
  padding: 0.6rem;
  color: var(--white);
  max-width: 1024px;
  text-align: center;
  /* border-radius: 15px 15px 0 0; */
}

/* ! Swiper */

.swiper-container {
  /* z-index: -1; */
  width: 100%;
  /* max-width: 1024px; */
  height: min(600px, 37vw);
  /* padding: 0.25rem 0rem; */
}

.swiper-wrapper {
  margin: 0 auto;
}

.swiper-slide {
  text-align: center;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: flex-end;
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  /* box-shadow: 0 0 3px 0 #ddd; */
  /* border-radius: 5rem 0; */
  color: var(--white);
  overflow: hidden;
}

/* Media */

@media (min-width: 1px) and (max-width: 459px) {
  body {
    padding: 0 1rem;
  }
  .slide-text h1 {
    font-size: 1.25rem;
  }
  .slide-text h2.item1,
  .slide-text h2.item2,
  .slide-text h2.item3,
  .slide-text h2.item4,
  .slide-text h2.item5,
  .slide-text h2.item6 {
    font-size: 1rem;
  }
  .slide-text h2.item1 {
    font-size: 1.1rem;
  }
  .square .content-top,
  .square .content-main {
    font-size: 1.2em;
  }
  h1 {
    font-size: 1.4em;
  }
  h2 {
    font-size: 1.05em;
  }
  h3 {
    font-size: 1.3em;
  }
  p,
  .content li {
    font-size: 1.1em;
    line-height: 1.25em;
  }
  img.float_l,
  .grid.float_l,
  img.float_r,
  .grid.float_r,
  img.bild_b {
    min-width: 100%;
  }
  .logo {
    display: block;
    padding: 0 2vw 0 0;
    background: transparent;
  }
  .resp-nav2 {
    display: none;
  }
  .hamburger {
    background: transparent;
  }
  .menu-container,
  .tel {
    display: none;
  }
  .content {
    margin: 1rem 0 0 0;
  }
  .aktuelles p {
    font-size: 1rem;
  }
  .spalten-container {
    grid-template-columns: 100%;
    margin-top: 1rem;
  }
  .spalte {
    display: block;
    margin: 0;
    gap: 0;
  }

  .spalte p,
  .spalte-unten a {
    font-size: 1.1em;
    line-height: 1.4em;
    margin-bottom: 7px;
    text-align: center;
  }
  .footer p,
  .footer h2 {
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.4em;
    margin-bottom: 10px;
  }
  .col-container {
    grid-template-columns: 100%;
  }
  .col1,
  div.breadcrumb {
    display: none;
  }
}
@media (min-width: 460px) and (max-width: 869px) {
  body {
    padding: 0 1rem;
  }
  h1 {
    font-size: 1.4em;
  }
  h2 {
    font-size: 1.05em;
  }
  h3 {
    font-size: 1.3em;
  }
  .slide-text h1 {
    font-size: 1.4rem;
  }
  .slide-text h2.item1,
  .slide-text h2.item2,
  .slide-text h2.item3,
  .slide-text h2.item4,
  .slide-text h2.item5,
  .slide-text h2.item6 {
    font-size: 1rem;
  }
  .slide-text h2.item1 {
    font-size: 1.3rem;
  }
  .square .content-top,
  .square .content-main {
    font-size: 1.2em;
  }
  .logo {
    flex-basis: calc(75%);
  }
  p,
  .content li {
    font-size: 0.9em;
    line-height: 1.3em;
  }
  .resp-nav2 {
    display: none;
  }
  .hamburger {
    background: transparent;
  }
  .menu-container,
  .tel {
    display: none;
  }
  .content {
    margin: 1rem 0 0 0;
    padding: 0;
  }
  .spalten-container {
    grid-template-columns: 100%;
    margin-top: 1rem;
  }
  .spalte {
    display: block;
    margin: 0;
    gap: 0;
  }

  .spalte p,
  .spalte-unten a {
    font-size: 0.9em;
    line-height: 1.3em;
    margin-bottom: 5px;
    text-align: center;
  }
  .footer p,
  .footer h2 {
    font-weight: 400;
    font-size: 0.9em;
    line-height: 1.3em;
    margin-bottom: 10px;
  }
  .spalte h2 {
    font-size: 100%;
  }
  .col-container {
    grid-template-columns: 100%;
  }
  .col1,
  div.breadcrumb {
    display: none;
  }
}
@media (min-width: 870px) and (max-width: 1023px) {
  body {
    margin: 0 1rem;
  }
  h1 {
    font-size: 1.4em;
  }
  h2 {
    font-size: 1.05em;
  }
  h3 {
    font-size: 1.3em;
  }
  .topic-menu {
    display: none;
  }
  .square .content-top,
  .square .content-main {
    font-size: 1.3rem;
  }
  .content {
    margin: 0;
    padding: 0;
  }
  p,
  .content li {
    font-size: 1em;
    line-height: 1.4em;
  }
  .spalte p,
  .spalte-unten a {
    font-size: 1em;
    line-height: 1.4em;
    margin-bottom: 5px;
    text-align: center;
  }
  .footer p,
  .footer h2 {
    font-weight: 400;
    font-size: 1em;
    line-height: 1.4em;
    margin-bottom: 10px;
  }
  .hamburger,
  .resp-nav2,
  ul.subnavi-anfrage {
    display: none;
  }
}
@media screen and (min-width: 1024px) {
  .topic-menu {
    display: none;
  }
  .square .content-top,
  .square .content-main {
    font-size: 1.3em;
  }
  .content {
    margin: 0;
    padding: 0;
  }
  .footer p,
  .footer h2 {
    font-weight: 400;
    font-size: 1em;
    line-height: 1.4em;
    margin-bottom: 10px;
  }
  .hamburger,
  .resp-nav2,
  ul.subnavi-anfrage {
    display: none;
  }
}

a[href^="tel:"] {
  color: inherit !important;
  text-decoration: none !important;
}

a[href^="tel:"]:hover {
  text-decoration: underline !important;
}
