/**
body {
  overflow-x: hidden;
}
**/

html {
  scroll-behavior: smooth;
}
#START {
  margin-top: 0rem;
  padding-top: 3rem;
}
#UEBER-MICH {
  margin-top: 6rem;
  padding-top: 2rem;
}
#FAQS, #BLOG {
  margin-top: 8rem;
  padding-top: 2rem;
}
#UEBER-MICH-Text, #LEISTUNGEN-Text {
  margin-top: 2rem;
}
#UEBER-MICH .subheader {
  text-align: right;
}
@media screen and (max-width: 39.99875em) {
  #UEBER-MICH .subheader {
    text-align: left;
  }
}
#LEISTUNGEN, #DOWNLOADS {
  margin-top: 8rem;
  padding-top: 2rem;
}
#LEISTUNGEN .button {
  margin-top: 2rem;
}
#LEISTUNGEN .button.hollow {
  margin-top: 1rem;
}
#KONTAKT {
  margin-top: 8rem;
  padding-top: 2rem;
}
#FOOTER {
  margin-top: 10rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 39.99875em) {
  #START {
    padding-top: 2rem;
  }
  #UEBER-MICH {
    margin-top: 4rem;
  }
  #FAQS, #BLOG {
    margin-top: 6rem;
  }
  #LEISTUNGEN, #DOWNLOADS {
    margin-top: 6rem;
  }
  #KONTAKT {
    margin-top: 6rem;
  }
  #FOOTER {
    margin-top: 8rem;
  }
}
body, h1, h2, h3, h4, h5, h6, a, p, textarea, button, input, label, ::-webkit-input-placeholder, select {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

h1 {
  font-weight: 600;
  font-size: 3rem;
}
h2 {
  font-weight: 600;
  color: #00285d;
  font-size: 2.5rem;
}
h3 {
  font-size: 2.3rem;
}
p, ul, li {
  font-size: 1.5rem;
  font-weight: 400;
  color: #686868;
}
@media screen and (min-width: 64em) and (max-width: 81.99875em) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  p, ul, li {
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  p, ul, li {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 39.99875em) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  p, ul, li {
    font-size: 1rem;
  }
}
#START h3.subheader:nth-of-type(2) {
  margin-top: 1.5rem;
}
ul {
  list-style-type: square;
}
a:hover, a:focus {
  color: #00357B;
}

.feather {
  stroke: #00357B;
  width: 6rem;
  height: 6rem;
  stroke-width: 1.1;
  margin: 3% 0;
  animation: bounce 1.8s infinite;
}
@media screen and (min-width: 64em) and (max-width: 81.99875em) {
  .feather {
    width: 5.7rem;
    height: 5.7rem;
  }
}
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
  .feather {
    width: 5.4rem;
    height: 5.4rem;
    margin: 3.25% 0;
  }
}
@media screen and (max-width: 39.99875em) {
  .feather {
    width: 5rem;
    height: 5rem;
    margin: 3.5% 0;
  }
}
.feather:hover {
  color: #004ebc;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}


/** BUTTON *****************************************************************/
.button {
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 2vw;
  color: white;
  border-radius: 50px;
  background-color: #00357B;
  margin: 3rem 0 0 0;
  padding: 1rem 2rem;
  position: relative; /* ✅ Wichtig */
  display: inline-block; /* ✅ Wichtig */
  overflow: hidden; /* ✅ Wichtig - Verhindert, dass das Pseudoelement außerhalb angezeigt wird */
  transition: box-shadow 0.15s ease-in-out 0.05s;
}
.button:hover {
  color: white;
  background-color: #002b66;
  box-shadow: 0 4px 10px rgba(0, 43, 102, 0.15);
}
.button:focus {
  background-color: #002b66;
}
.button.hollow {
  border: 5px solid;
  color: #002b66;
  margin-top: 1.5rem;
}
.button.hollow:hover {
  color: #003887;
}
@media screen and (min-width: 64em) and (max-width: 81.99875em) {
  .button {
    font-size: 1.9rem;
    line-height: 1.9rem;
    margin: 2rem 0 0 0;
  }
  .button.hollow {
    margin-top: 1.3rem;
    border: 4px solid;
  }
}
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
  .button {
    font-size: 1.4rem;
    line-height: 1.4rem;
    margin: 1.5rem 0 0 0;
  }
  .button.hollow {
    margin-top: 1.2rem;
    border: 3px solid;
  }
}
@media screen and (max-width: 39.99875em) {
  .button {
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin: 0 auto; /* Automatische Zentrierung mit auto */
    display: block; /* Block-Level für Zentrierung */
    padding: 1rem 0rem;
    margin-top: 1.5rem;
  }
  .button.hollow {
    margin-top: 1rem;
    border: 3px solid;
  }
}
@media screen and (min-width: 82em) {
  .hide-for-extra-large {
    display: none !important;
  }
}
@media screen and (max-width: 81.99875em) {
  .show-for-extra-large {
    display: none !important;
  }
}

label {
  font-size: 1rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
}
form > .grid-x {
  padding-bottom: 0.5rem;
}
form > .grid-x > div > textarea {
  height: 6rem;
}
form {
  margin-top: 2rem;
}




/** TOP BAR *****************************************************************/
#desktop-top-bar, #mobile-top-bar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  z-index: 2000;
  min-width: 75rem;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);       /* der eigentliche „Milchglas“-Effekt */
  -webkit-backdrop-filter: blur(5px); /* für Safari */
  transition: all 0.3s ease;
}
#desktop-top-bar img, #mobile-top-bar img {
  padding-top: 1rem;
  padding-left: 0.1rem;
  height: 100px;
  transition: height 0.3s ease;
}
#desktop-top-bar.shrink, #mobile-top-bar.shrink {
  height: 100px;
}
#desktop-top-bar.shrink img, #mobile-top-bar.shrink img {
  height: 60px;
  padding-top: 0.5rem;
}
@media screen and (min-width: 64em) and (max-width: 81.99875em) {
  #desktop-top-bar img, #mobile-top-bar img {
    padding-top: 1rem;
    height: 90px;
  }
  #desktop-top-bar.shrink, #mobile-top-bar.shrink {
    height: 90px;
  }
  #desktop-top-bar.shrink img, #mobile-top-bar.shrink img {
    height: 60px;
    padding-top: 0rem;
  }
}
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
  #desktop-top-bar img, #mobile-top-bar img {
    padding-top: 1rem;
    height: 80px;
  }
  #desktop-top-bar.shrink, #mobile-top-bar.shrink {
    height: 85px;
  }
  #desktop-top-bar.shrink img, #mobile-top-bar.shrink img {
    height: 55px;
    padding-top: 0rem;
  }
}
@media screen and (max-width: 39.99875em) {
  #desktop-top-bar img, #mobile-top-bar img {
    padding-top: 1rem;
    height: 70px;
  }
  #desktop-top-bar.shrink, #mobile-top-bar.shrink {
    height: 80px;
  }
  #desktop-top-bar.shrink img, #mobile-top-bar.shrink img {
    height: 50px;
    padding-top: 0rem;
  }
}
@media screen and (max-width: 74.99875em) {
  #desktop-top-bar, #mobile-top-bar {
    min-width: 100vw;
  }
}

.menu a {
  color: rgb(70, 70, 70);
  font-size: 1rem;
  font-weight: 400;
}
.menu a:hover, .menu a:focus {
  color: #00357B;
}
.menu li:last-child a {
  background-color: #00357B;
  border-radius: 50px;
  color: #ffffff;
  position: relative; /* Wichtig für das absolute Pseudoelement */
  display: inline-block; /* Damit es seine Größe beibehält */
  overflow: hidden; /* Verhindert, dass der Effekt außerhalb angezeigt wird */
  text-decoration: none; /* Link-Unterstreichung entfernen */
  transition: box-shadow 0.15s ease-in-out 0.05s;
}
.menu li:last-child a:hover, .menu li:last-child a:focus {
  color: white;
  background-color: #002b66;
  box-shadow: 0 4px 10px rgba(0, 43, 102, 0.15);
}

/** Menu Icon **/
.menu-icon.dark {
  display: inline-block;
  vertical-align: top;
  width: 30px;
  height: 16px;
  cursor: pointer;
  position: absolute !important;
  right: 3rem !important;
  top: 50%; /* Zentriert vertikal */
  transform: translateY(-75%);
}
.menu-icon.dark::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  background: #000000;
  -webkit-box-shadow: 0 8px 0 #0a0a0a, 0 16px 0 #0a0a0a;
          box-shadow: 0 8px 0 #0a0a0a, 0 16px 0 #0a0a0a;
  content: "";
}
.menu-icon.dark:hover::after {
  background: #00357B;
  -webkit-box-shadow: 0 8px 0 #00357B, 0 16px 0 #00357B;
          box-shadow: 0 8px 0 #00357B, 0 16px 0 #00357B;
}

#portrait {
  border-radius: 15px 15% 30% 15px;
  padding: 0;
  margin-top: 0.5rem;
}



/******** CARD *****************************************************************/
.card {
  margin-bottom: 1rem;
  margin-top: 1rem;
  border: 1px solid #00285d;
  border-radius: 10px;
  background: #fefefe;
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #0a0a0a;
}
.card > :last-child {
  margin-bottom: 0;
}
.card-divider {
  padding: 1rem;
  background: #f7f7f7;
  color: #00285d;
  font-size: 1.3rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; 
}
.card-divider > :last-child {
  margin-bottom: 0;
}
.card-section {
  padding: 1rem;
  padding-top: 0;
}
.card-section > p, li {
  font-size: 1.1rem;
  font-weight: 300;
  color: #00285d;
}
.card-section > :last-child {
  margin-bottom: 0;
}
.card-image {
  min-height: 1px;
}


/******** ACCORDION *****************************************************************/
.accordion {
  margin-top: 2rem;
}
.accordion-title {
  border: 1px solid #e6e6e6;
  border-bottom: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: #00285d;
  padding-right: 3rem;
}
@media screen and (min-width: 64em) and (max-width: 81.99875em) {
  .accordion-title {
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
  .accordion-title {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
}
@media screen and (max-width: 39.99875em) {
  .accordion-title {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
}
:last-child:not(.is-active) > .accordion-title {
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0 0 0 0;
}
.accordion-title:hover, .accordion-title:focus {
  background-color: #f7f7f7;
}
.accordion-title::before {
  position: absolute;
  top: 50%;
  right: 1rem;
  margin-top: -0.5rem;
  content: "+";
  font-size: 1.3rem;
}
.is-active > .accordion-title::before {
  content: "-";
  font-size: 1.5rem;
  padding-right: 0.2rem;
}
.accordion-content {
  border: 1px solid #e6e6e6;
  font-size: 1.1rem;
  font-weight: 300;
  color: #00285d;
}
:last-child > .accordion-content:last-child {
  border-bottom: 1px solid #e6e6e6;
}




/******** BLOG *****************************************************************/
#BLOG-Posts {
  margin-top: 0rem;
}
.news-card {
  background-color: #fefefe;
  margin-bottom: 1.6rem;
  border-radius: 10px;
}
.news-card .card-section .news-card-date {
  font-size: 1em;
  color: #686868;
}
.news-card .card-section .news-card-article .news-card-title a {
  text-decoration: underline;
  color: #00285d;
  font-weight: 600;
  transition: color 0.5s ease;
}
.news-card .card-section .news-card-article .news-card-title a:hover {
  color: #1779ba;
  text-decoration: none;
}
.news-card .card-section .news-card-article .news-card-description {
  font-size: 1.5rem;
  font-weight: 300;
  color: black;
}
@media screen and (min-width: 64em) and (max-width: 81.99875em) {
  .news-card-title a {
    font-size: 1.6rem;
  }
  .news-card .card-section .news-card-article .news-card-description {
    font-size: 1.4rem;
  }
}
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
    .news-card-title a {
    font-size: 1.4rem;
  }
  .news-card .card-section .news-card-article .news-card-description {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 39.99875em) {
    .news-card-title a {
    font-size: 1.2rem;
  }
  .news-card .card-section .news-card-article .news-card-description {
    font-size: 1.1rem;
  }
}



/******** KONTAKT *****************************************************************/
label, input {
  font-size: 1.2rem;
}
@media screen and (max-width: 39.99875em) {
  label, input {
    font-size: 1rem;
  }
}
#KONTAKT .input-group-button .button {
  font-size: 1.5rem; 
  font-weight: 300; 
  padding: 0.3rem 1.5rem;
}
@media screen and (max-width: 63.99875em) {
  #KONTAKT .input-group-button .button {
    font-size: 1.3rem; 
    padding: 0.7rem 1.5rem;
  }
}

/******** FOOTER *****************************************************************/
#FOOTER {
  border-top: 1px solid rgb(235, 235, 235);
  padding-top: 3rem;
}
#FOOTER .input-group-button .button {
  font-size: 1.5rem; 
  font-weight: 300; 
  padding: 0.3rem 1.5rem;
  width: 100%;
}
@media screen and (max-width: 63.99875em) {
  #FOOTER .input-group-button .button {
    font-size: 1.3rem; 
    padding: 0.7rem 1.5rem;
    margin-bottom: 2rem;
  }
}
#FOOTER p {
  font-size: 1.2rem;
  font-weight: 300;
  color: black;
}
@media screen and (min-width: 64em) and (max-width: 81.99875em) {
  #FOOTER p {
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
  #FOOTER p {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 39.99875em) {
  #FOOTER p {
    font-size: 1rem;
  }
}
#FOOTER a {
  color: #00357B;
}
#FOOTER a:hover {
  color: #00357B;
}
#footer-last-p {
  margin-bottom: 0;
}
@media screen and (max-width: 63.99875em) {
  #FOOTER .fab {
    margin-left: 0.3rem;
    font-size: 1.2rem;
  }
}
#FOOTER form {
  margin-top: -0.2rem;
}
#FOOTER .feather {
  stroke: #00357B;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1rem;
  stroke-width: 1.2;
  margin: 2rem 0 -0.3rem 0.3rem;
  animation: bounce 1.8s infinite;
}
#p-arrow-up {
    margin: 0;
}
@media screen and (max-width: 39.99875em) {
  #FOOTER .feather {
    margin: 0rem 0 -0.3rem 0.3rem;
  }
  #p-arrow-up {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}


/******** DANKESEITE *****************************************************************/
#dankeseite p {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 200;
  text-align: center;
  padding-top: 50px;
}
@media screen and (max-width: 39.99875em) {
  #dankeseite p {
    font-size: 1.3rem;
  }
}
#dankeseite img {
  width: 400px;
  padding-top: 50px;
}
@media screen and (max-width: 39.99875em) {
  #dankeseite img {
    width: 300px;
  }
}


/******** COOKIE-BANNER *****************************************************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* halbtransparent weiß */
  color: #000;
  padding: 15px 20px;
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: none; /* kein Schatten */
  border-top: 1px solid #ccc;
  backdrop-filter: blur(5px); /* optional für modernen Glas-Effekt */
}
@media (max-width: 63.99875em) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .cookie-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}
.cookie-banner p {
  margin: 0;
  flex: 1;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions button {
  padding: 8px 16px;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 0px;
  cursor: pointer;
}
#accept-cookies {
  background-color: #00285d;
  color: white;
}
#decline-cookies {
  background-color: #00285d;
  color: white;
}
.hidden {
  display: none !important;
}


/** OFF-CANVAS WRAPPER *****************************************************************/
.off-canvas-wrapper {
  position: relative;
  overflow: hidden;
}
.off-canvas-wrapper ul {
  margin-top: 0;
}
#offCanvasRight1 .menu a {
  background-color:#000000;
  color:#ffffff;
  font-size: 1.3rem;
  padding: 1.5rem 3rem 1.5rem 0;
}
#offCanvasRight1 .menu li:last-child a {
  display: inline-block;
  color: white;
  border: 1px solid white;
  padding: 0.9rem 1.4rem;
  border-radius: 40px;
  text-align: center;
  margin-right: 1.5rem;
  margin-top: 1.5rem;
}
#offCanvasRight1 .menu li:last-child a:hover {
  color: #00357B;
  border: 1px solid #00357B;
}
#offCanvasRight1 .menu a:hover {
  color: #00357B;
}
.off-canvas {
  z-index: 12;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  background: #000000;
  position: fixed;
}
[data-whatinput=mouse] .off-canvas {
  outline: 0;
}
.off-canvas.is-transition-push {
  z-index: 12;
}
.off-canvas.is-closed {
  visibility: hidden;
}
.off-canvas.is-transition-overlap {
  z-index: 13;
}
.off-canvas.is-transition-overlap.is-open {
  -webkit-box-shadow: 0 0 10px rgba(10, 10, 10, 0.7);
          box-shadow: 0 0 10px rgba(10, 10, 10, 0.7);
}
.off-canvas.is-open {
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
}
.off-canvas-absolute {
  z-index: 12;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  background: red;
  position: absolute;
}
[data-whatinput=mouse] .off-canvas-absolute {
  outline: 0;
}
.off-canvas-absolute.is-transition-push {
  z-index: 12;
}
.off-canvas-absolute.is-closed {
  visibility: hidden;
}
.off-canvas-absolute.is-transition-overlap {
  z-index: 13;
}
.off-canvas-absolute.is-transition-overlap.is-open {
  -webkit-box-shadow: 0 0 10px rgba(10, 10, 10, 0.7);
          box-shadow: 0 0 10px rgba(10, 10, 10, 0.7);
}
.off-canvas-absolute.is-open {
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
}
.position-right {
  top: 0;
  right: 0;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}
.off-canvas-content .off-canvas.position-right {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}
.off-canvas-content .off-canvas.position-right.is-transition-overlap.is-open {
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
}
.off-canvas-content.is-open-right.has-transition-push {
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}
.position-right.is-transition-push {
  -webkit-box-shadow: inset 13px 0 20px -13px rgba(10, 10, 10, 0.25);
          box-shadow: inset 13px 0 20px -13px rgba(10, 10, 10, 0.25);
}

