@font-face {
    font-family: "Inter";
    src: url("../fonts/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ======================= Global Reset ======================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ======================= Grundeinstellungen ======================= */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-size: 1.3em;
  line-height: 1.4;
  background-color: #FFFFFF; /* Korrektur Hintergrundfarbe */
  color: #333;
}

a {
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  text-decoration: none;
}

.bild {
    max-width: 100%;
    height: auto;
}

.infobild {
  width: 400px !important;  /* Feste Breite */
  height: auto !important;  /* Höhe passt sich automatisch an */
}

.infobild1 {
  width: 400px !important;  /* Feste Breite */
  height: auto !important;  /* Höhe passt sich automatisch an */
}

/* ======================= Navigation ======================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #111;
  color: white;
  position: fixed;
  font-size: 1em;
  top: 0;
  width: 100%;
  z-index: 1000; /* Stellt sicher, dass die Navi über anderen Inhalten schwebt */
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav a.active {  color: #efb740; /* Aktiver Link */ }

/* ======================= Link Styles ======================= */
a:link {  color: #ffffff; }

a:visited {  color: #ffffff; }

a:hover {  color: #ffffff; }

a:active {  color: #efb740; }

/* =============Link-Klasse für graue Schrift================ */
.link-grau { color: #333; }

.link-grau:visited { color: #333; }

.link-grau:hover { color: #efb740; }

.link-grau:active { color: #333; }

/* ======================= Sticky-Button ======================= */
.sticky-button {
  position: fixed;
  right: 0;
  top: 30%;
  transform: translateY(-50%);
  background-color: #efb740;
  font-size: 1.5em;
  color: #333;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: 12px 0 0 12px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-weight: normal;
}

.sticky-button:hover {
  background-color: #000000;
  color: #fff;
}

/* Button */
.button {
  margin-top: 20px;
  padding: 12px 20px;
  background: #efb740;
  color: #333333;
  cursor: pointer;
  font-size: 1em;
  border-radius: 10px 10px 10px 10px;
  font-weight: bold;
}

.button:hover {
  background-color: #000000;
  color: #fff;
}

/* ======================= Layout ======================= */
.wrapper {
  display: flex;
}

.box {
  width: 50%;
  padding: 20px;
}

h1 {
  font-size: 1.7em;
  line-height: 1.5;
  color: #efb740;
}

h2 {
  font-size: 1.4em;
  line-height: 1.2;
  color: #333;
}

h3 {
  font-size: 1em;
  color: #333;
}

.small1 {
  font-size: 0.7em;
  color: #ffffff;
}

.small2 {
  font-size: 0.7em;
}

.small3 {
  font-size: 0.8em;
}

.deco1 {
  background-color: #d8e4e6;
}

.deco {
  background-color: #6f7069;
}

.mittig {
  text-align: center;
}

.zentriert {
  margin-left: auto;
  margin-right: auto;
}

.rechts {
  text-align: right;
  margin-top: 40px;
  padding-right: 40px;
}

.links {
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
}

.linie {
  margin-top: 10px;
  border-top: 1px solid #efb740;
  padding-top: 10px;
}

.titel {
  color: #ffffff;
}

.seo-line {
  text-align: center;
 font-size: 0.75em;
  color: rgba(255,255,255,0.25);
  margin-top: 10px;
}

/* ======================= Sichtbarkeit ======================= */
.aus {
  display: block;
}

.ein {
  display: none;
}

/* ======================= Hintergrund Effekt ======================= */

.elegant-background-black {
  background: #000;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%
  );
  background-size: 3px 3px;
  color: #fff;
}

.elegant-background-grau {
  background: #666;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%);
  background-size: 3px 3px;
  color: #fff;
}
/* ======================= Center All ======================= */
.center-all {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
}

/* ======================= Bilder ======================= */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Bild + Text nebeneinander */
.container99 {
  display: flex;
  align-items: center;
}

/* Bilder nebeneinander */
.bilder-container img {
  float: left;
  margin-right: 10px;
}

/* ======================= W3 Minimal ======================= */
.w3-row-padding,
.w3-row-padding > .w3-half,
.w3-row-padding > .w3-third,
.w3-row-padding > .w3-twothird,
.w3-row-padding > .w3-threequarter,
.w3-row-padding > .w3-quarter,
.w3-row-padding > .w3-col {
  padding: 0 8px;
}

.w3-row-padding::before,
.w3-row-padding::after,
.w3-clear::before,
.w3-clear::after {
  content: "";
  display: table;
  clear: both;
}

.w3-container {
  padding: 0.01em 16px;
}

.w3-content {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.w3-col,
.w3-half,
.w3-third,
.w3-twothird,
.w3-threequarter,
.w3-quarter {
  float: left;
  width: 100%;
}

/* Desktop Breakpoint */
@media (min-width: 601px) {
  .w3-third {
    width: 33.33333%;
  }

  .w3-twothird {
    width: 66.66666%;
  }
}

/* Spacing */
.w3-padding-12 {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.w3-padding-32 {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.w3-padding-64 {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.w3-center {
  text-align: center !important;
}

.w3-justify {
  text-align: justify !important;
}


/* ======================= Flexbox ======================= */

.content-block {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Text & Bild je 50% */
.content-block .text {flex: 2;}


.content-block .image {
  flex: 1;
}

/* Bild sauber skalieren */
.content-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


/* ======================= Footer ======================= */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #fff;
  padding: 20px;
}

.footer-block {
  flex: 1;
  margin: 10px;
  width: calc(33.333% - 14px);
}

.footer-block p {
  margin: 5px 0;
  font-size: 1em;
}

.footer-block a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.footer-block a:hover {
  color: #efb740;
}






.containertest {
  display: flex; /* Ordnet Bild und Text nebeneinander an */
  align-items: center; /* Richtet Text und Bild vertikal mittig aus */
  gap: 15px; /* Abstand zwischen dem Bild und dem Text */
}

.containertest img {
  height: 40px; /* Beispiel-Größe: Passe die Höhe hier an */
  width: auto;
}


.container8 {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.spalte8 {
    flex: 1 1 400px;
    padding: 20px;
    background-color: #f4edde; /* Korrektur Hintergrundfarbe */
    border: 1px solid #efb740;    
    border-radius: 12px;
    box-sizing: border-box;
}

.zahl {visibility: hidden;}

/* ======================= Layer ======================= */

.training-layer {
    position: fixed;
    right: 0 !important;
    left: auto !important;
    top: 48%;
    transform: translateY(-50%);
    z-index: 9999;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.training-tab {
    display: none;
    border: 0;
    cursor: pointer;
    background: #000000;
    color: #fff;
    font-size: 16px;
    padding: 14px 12px;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.training-panel {
    position: relative;
    width: 270px;
    padding: 26px 24px;
    background: #000000;
    border: 1px solid #efb740;
    border-right: 0;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}

.training-content {
    text-align: center;
    color: #fff;
}

.training-headline {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.training-content p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.4;
}

.training-highlight {
    display: block;
    margin-bottom: 18px;
    font-size: 20px;
    color: #efb740;
    text-transform: uppercase;
}

/* ======================= Seminar Accordion ======================= */
.seminar-accordion {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.seminar-accordion-item {
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.seminar-accordion-item:hover {
  border-color: #efb740;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.seminar-accordion-item.is-open {
  border-color: #efb740;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.10);
}

.seminar-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 74px;
  padding: 18px 22px;
  border: 0;
  background: #f8f8f8;
  color: #333333;
  font-family: "Inter", sans-serif;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.seminar-accordion-trigger:hover {
  background: #f4edde;
}

.seminar-accordion-item.is-open .seminar-accordion-trigger {
  background: #f4edde;
  color: #222222;
}

.seminar-accordion-title {
  flex: 1;
}

.seminar-accordion-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 2px solid #efb740;
  border-radius: 50%;
}

.seminar-accordion-icon::before,
.seminar-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #333333;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.seminar-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.seminar-accordion-trigger[aria-expanded="true"] .seminar-accordion-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.seminar-accordion-panel {
  background: #ffffff;
}

.seminar-accordion-content {
  padding: 26px 22px 28px;
}

.seminar-accordion-content .container99 {
  margin-top: 0;
}

.seminar-accordion-content .containertest {
  margin-top: 4px;
}

.seminar-accordion-content .small2 {
  display: block;
  margin-top: 12px;
}

.seminar-accordion-content .container8 {
  margin-top: 4px;
}

/* ======================= MOBILE OPTIMIERUNG ======================= */

/* Navigation */
@media (max-width: 1300px) {


.nav {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #000;
    transition: right 0.3s ease;
    padding-top: 60px;
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
  }

  .menu-toggle {
   font-size: 1.5em;
    display: block;
  }


.menu-toggle {
  position: fixed; /* Fixiert den Button am Bildschirm, auch beim Scrollen */
  top: 20px;       /* Abstand vom oberen Rand */
  left: 20px;      /* Abstand vom linken Rand */
  z-index: 1000;   /* Stellt sicher, dass der Button immer über dem restlichen Inhalt liegt */
}

 .nav.active {
    right: 0;
  }


 body {
    font-size: 1em;
    line-height: 1.4;
  }


  .wrapper {
    flex-direction: column;
  }

  .box {
    width: 100%;
    padding: 15px;
  }

  .links {
    text-align: left;
    margin-top: 20px;
    padding-left: 20px;
  }

  .rechts {
    text-align: right;
    margin-top: 20px;
    padding-right: 10px;
  }

  .container99 {
    flex-direction: column;
    text-align: center;
  }

  .container99 img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .bilder-container img {
    float: none;
    display: block;
    margin: 0 auto 10px auto;
  }

  .payment-icons {
    justify-content: center;
    font-size: 24px;
  }

  .ein {
    display: block;
  }

  .aus {
    display: none;
  }

  .preisbeispiel {
    padding: 20px;
    margin: 20px;
  }

  .preisbeispiel h2 {
    color: #efb740;
  }


  table {
    width: 100%;
    font-size: 14px;
  }

  th,
  td {
    padding: 10px 8px;
  }

  .footer-block {
    flex: 1 100%;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact a {
    font-size: 14px;
  }


  .table-container {
    overflow-x: auto;
  }

  .table-container .price-table {
    min-width: 600px;
  }

  .content-block {flex-direction: column;}
  .content-block .text {font-size: 1.1em;}

}


/* Smartphone */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .spalte {
        width: 100%;
    }

  .seminar-accordion {
    gap: 12px;
    margin-top: 22px;
  }

  .seminar-accordion-trigger {
    min-height: 64px;
    padding: 15px 16px;
    gap: 16px;
    font-size: 1em;
  }

  .seminar-accordion-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .seminar-accordion-content {
    padding: 20px 16px 22px;
  }

  .seminar-accordion-content .links {
    padding-left: 0;
  }

  .seminar-accordion-content .spalte8 {
    padding: 16px;
  }
}
