/* General Styles Start */
body {
  font: 13px/1.85em "Open Sans", Arial, Helvetice Neue, sans-serif !important;
  color: #fff !important;
  font-weight: 300 !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  background: transparent; /* Oder eine einfarbige Farbe, die unter dem Filter liegen soll */
  position: relative; /* Wichtig für die Positionierung des Pseudo-Elements */
  z-index: 1;
  padding-top: 130px;
}
body::before {
  content: ""; /* Notwendig für Pseudo-Elemente */
  position: fixed; /* Damit der Hintergrund beim Scrollen fixiert bleibt */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/code.jpg) repeat top center #d59052;
  background-attachment: fixed;
  z-index: -1;
  filter: blur(1px) grayscale(60%);
}

.clear {
  clear: both;
}

li > a {
  color: white !important;
}
div > a {
  color: #d700e686;
  font-weight: 800;
  font-size: 15px;
}
.templatemo_gradient2 {
  /* WebKit-basierte Browser (Chrome, Safari, ältere Edge) */
  background: -webkit-linear-gradient(to bottom right, #5643a7, #131313, #000);

  /* Opera 11.1 bis 12.0 - KORRIGIERT: Komma zwischen Farbwerten hinzugefügt */
  background: -o-linear-gradient(
    bottom right,
    #5643a7,
    /* Hier war das fehlende Komma */ #131313,
    #000
  );

  /* Firefox 3.6 bis 15 */
  background: -moz-linear-gradient(bottom right, #5643a7, #131313, #000);

  /* Standard-Syntax (sollte immer zuletzt stehen) */
  background: linear-gradient(to bottom right, #5643a7, #131313, #000);

  padding: 40px;
  color: #ffffff;
  box-shadow: 1px 1px 30px #30013e; /* Diese Zeile ist jetzt korrekt */
}
.margin30 {
  margin-top: 30px;
}
.margin-top-50 {
  margin-top: 50px !important;
}
.margin-top-bottom {
  margin: 296px 0;
}

/* Genral Styles End */
/* Navbar Start */
.templatemo_menubg {
  background: url(../images/abstract.jpg) no-repeat center / cover;
  height: 74px;
  box-shadow: 3px 3px 15px rgb(0, 0, 0);
}
.templatemo_menubg img {
  object-fit: cover;
  width: 100%;
}
.templatemo_logo {
  text-align: center;
  text-shadow: 1px 1px rgba(53, 53, 53, 0.822);
  font-size: 3em;
  font-weight: 600;
  line-height: 74px;
  float: left;
}
.templatemo_menu {
  float: left;
}
.navbar-nav li {
  list-style-type: none;
}
.navbar-nav li::before {
  content: none; /* Verhindert das Rendern des benutzerdefinierten Bullets */
}
.navbar-default {
  background: none !important;
  border: none;
}
.navbar-default .icon-bar {
  background-color: #ffffff !important;
}
.navbar-toggle:focus {
  background-color: transparent !important;
}
.navbar-header {
  border-bottom: none !important; /* Entfernt möglicherweise vorhandene untere Grenze */
}

.navbar-collapse {
  border-top: none !important; /* Entfernt möglicherweise vorhandene obere Grenze */
  box-shadow: none !important; /* Stellt sicher, dass kein Schatten als Linie erscheint */
}
/* Navbar End */
/* Hero Start */
.templatemo_topbg {
  width: 100%;
  background: url(../images/forest.jpg) no-repeat top center;
  background-size: cover;
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.8);
  margin: 0 0 60px 0;
  padding: 20px;
}
.contacttext {
  margin-top: 10px;
  color: white;
  text-shadow: 1px 1px 1px #000000;
  font-size: 15px;
  background-color: #0e0811a1;
  border-radius: 90%;
  padding: 100px;
  box-shadow: 1px 1px 3px black;
}
.hero-title {
  border-radius: 70%;
  font-size: 30px;
  background-color: #000000d6;
  width: fit-content;
  padding: 40px;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 1px 1px 2px black;
  box-shadow: 1px 1px 1px black;
  text-align: center;
}
/* Hero End */
/* Index Start */
.templatemo_homemid_right .box {
  display: flex;
  align-items: center;
  padding: 30px 30px;
}
.templatemo_homemid_right .box .icon {
  width: 120px;
  flex-shrink: 0;
  margin-right: 20px;
  text-align: center;
  padding-top: 0;
}
.templatemo_homemid_right .box .icon img {
  margin: 0 auto;
  display: block;
  width: 80px;
  height: auto;
}
.templatemo_homemid_right .box .text {
  flex-grow: 1;
  padding: 0;
  text-align: left;
}
.templatemo_homemid_right .box .title {
  font-size: 18px;
  font-weight: 400;
  color: #9c00e6;
  margin-bottom: 15px;
  margin-left: 50px;
  font-weight: 850;
}
.templatemo_homemid {
  margin-bottom: 0;
}
#top3 {
  color: #ffffff;
  font-weight: bold;
  font-size: 3em;
  line-height: 1.3;
  text-align: center;
  text-shadow: 1px 1px 3px black;
  transform: rotate(-270deg);
  white-space: nowrap;
  margin-left: -230px;
  margin-right: -200px;
}
.laptop {
  /* IMG AI */
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.quote-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 300px;
  font-style: italic;
}
.quote-box > p {
  margin: 20px;
  line-height: 1.5em;
  letter-spacing: 0.5px;
}
.quote-box > a {
  color: #5c33b7;
  text-decoration: none;
  font-weight: 800;
}
.quote-box a:hover {
  text-decoration: none;
  color: #00afff;
}
.quote-title {
  color: #00afff;
  font-size: 30px;
  font-weight: 900;
  text-shadow: 1px 1px 3px black;
  line-height: 28px;
}
ul > li {
  /* GOLDEN RULES */
  color: rgb(255, 255, 255);
  font-size: 14px;
  margin: 15px 0;
  font-weight: 50;
  list-style-type: none;
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
  box-sizing: border-box;
}
ul > li::before {
  content: "•"; /* Dein benutzerdefinierter Listenpunkt */
  color: #fff; /* Farbe des Listenpunkts */
  font-size: 1.5em; /* Vergrößere den Listenpunkt */
  position: absolute;
  left: 5px; /* Jetzt 5px vom Anfang des padding-left des li */
  top: 50%; /* Positioniert den Listenpunkt vertikal in der Mitte */
  transform: translateY(
    -50%
  ); /* Korrigiert die Position, um exakt zu zentrieren */
  line-height: 1; /* Hält den Bullet-Punkt auf seiner eigenen Zeilenhöhe */
}
.golden-rules > li {
  text-shadow: 1px 1px 1px black; /* Schatten nur hier anwenden */
}
li > span {
  color: rgb(84 80 205);

  font-weight: bold;
}
.title {
  text-align: center;
  text-shadow: 1px 1px 3px black;
}

.rules-wrapper {
  background: url(../images/city.jpg);
  z-index: 1;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  padding: 30px;
  box-shadow: 1px 2px 15px #d700e686;
}
.rules-container {
  background-color: #000000a8;
  flex-grow: 1;
}
/* .templatemo_home_tab li {
  list-style-type: none;
}
.templatemo_home_tab li::before {
  content: none; /* Verhindert das Rendern des benutzerdefinierten Bullets 
}
.templatemo_homebot .templatemo_homebot_gray {
  background: #222121;
  color: #bcbcbc;
  margin-top: 54px;
  float: left;
}
.templatemo_homebot_gray .text {
  padding: 40px;
  float: left;
}
.templatemo_homebot_gray .image {
  float: left;
}
.templatemo_homebot_gray .image img {
  width: 100%;
}
.templatemo_home_tab {
  float: left;
  width: 50px;
}
.templatemo_home_text {
  float: right;
  width: 100%;
}
.templatemo_home_text span.title {
  float: right;
  width: 100%;
  color: #d7a05f;
  font-size: 26px;
  line-height: 28px;
  font-weight: bold;
  margin-bottom: 10px;
} */
/* Index End */
.center {
  text-align: center;
}
/* About Start */

.templatemo_aboutmid .image {
  width: 156px;
  height: 156px;
  padding: 12px;
  margin: 0 auto;
}
.templatemo_aboutmid img {
  width: 130px;
  height: 130px;
  border-radius: 65px;
  border: 3px solid #e727f842;
  box-shadow: 0px 0px 15px #664934;
}
.templatemo_aboutmid img:hover {
  border: 4px solid #fff7ee;
}
.profile-images-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 20px auto 10px auto;
  max-width: 500px;
}
.profile-images-container img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0.5px 0.5px 15px #e5e5e59e;
}
.profile-images-container img:hover {
  border: 4px solid #fff7ee8f;
}
.padding12 {
  padding: 12px;
}
.templatemo_aboutmid .name {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}
.templatemo_aboutmid .position {
  text-align: center;
  font-size: 16x;
  font-weight: 700;
  margin-top: 15px;
}
/* About End */
/* Portfolio Start */
.templatemo_portfoliobox {
  margin-top: 20px;
}
.templatemo_portfoliobox img {
  width: 100%;
  border: 6px solid #f7d8b4;
  box-shadow: 0px 0px 3px #4b4b4b;
}
.templatemo_portfoliobox .text {
  padding: 10px 20px;
  color: #d09842;
  background: url(../images/templatemo_heart.png) no-repeat;
  background-position: left;

  margin-left: 2%;
}
/* Portfolio End */
.templatemo_contact_map {
  padding: 7px;
  margin-top: 30px;
  float: left;
  width: 100%;
  border: 1px solid #c76c1e91;
  background-image: url(../images/maps1.jpg); /* For Safari 5.1 to 6.0 */
  box-shadow: 2px 2px 20px purple;
}
#templatemo_map {
  float: left;
  height: 450px;
  width: 100%;
  border: 1px solid #979797;
}

.templatemo_contact_form {
  margin-top: 30px;
  float: left;
  padding: 40px 30px;
  background: url(../images/maps.jpg);
  box-shadow: 2px 2px 20px purple;
  border: 1px solid #c76c1e91;
}

.templatemo_contact_form input,
.templatemo_contact_form textarea {
  width: 100%;
  margin-bottom: 15px;
  background: #ffffff;
  border: 0px;
  padding: 10px;
  box-shadow: 1px 1px 2px white;
}
.templatemo_contact_form textarea {
  height: 200px;
}
.templatemo_contact_form button {
  border: 0px;
  padding: 10px 20px;
  font-weight: bold;
  background-color: #b20000;
  color: #ffffff;
}
.custom-grid-item {
  width: 100%; /* Jedes Element nimmt volle Breite ein */
  float: left; /* Für Konsistenz mit Bootstrap-Grid */
  padding-left: 15px; /* Standard Bootstrap-Padding */
  padding-right: 15px; /* Standard Bootstrap-Padding */
  box-sizing: border-box; /* Wichtig für Padding und Breite */
}

/*------------------------------------------------------
	Gallery Styles
--------------------------------------------------------*/
.gallery-item {
  margin-bottom: 0px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item .content-gallery {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 200px;
}

.gallery-item .overlay {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: block;
  border: 6px solid #f7d8b4;
}
.gallery-item .overlay a {
  color: #443b34;
  text-align: center;
  line-height: 70px;
  position: absolute;
  top: 45%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
  font-size: 22px;
  background: url(../images/templatemo_gallerybg.png) no-repeat;
  width: 70px;
  height: 70px;
  text-align: center;
  text-shadow: 1px 1px 1px #6b6b6b;
  text-decoration: none;
}

/************ TAB CSS ****************/

.ui-tabs {
  padding: 0;
}
.ui-tabs .ui-tabs-nav {
  position: absolute;
  left: 0;
  height: 52px;
  margin: 0 auto;
}
.ui-tabs .ui-tabs-nav li {
  background: url(../images/templatemo_menubg.png) repeat-x;
  margin: 0;
  float: left;
}
.ui-tabs .ui-tabs-nav li a {
  color: #222121;
  font-weight: 600;
  font-size: 12px;
  padding: 15px 10px;
  height: 50px;
}
.ui-tabs .ui-tabs-nav li:hover,
.ui-tabs .ui-tabs-nav li:focus,
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
  background: url(../images/templatemo_tabcurrent.png) repeat-x;
  float: left;
}
.ui-tabs .ui-tabs-nav li a:hover,
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a {
  color: #fff;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
  padding-bottom: 0;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
  background-color: #a1345b;
  border: 0px;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  border: 0px;
  background: #9b3056;
}
.ui-corner-top {
  border-radius: 0px;
}
.ui-tabs .ui-tabs-panel {
  padding: 0;
}
.ui-widget {
  font: 13px/1.85em "Open Sans", Arial, Helvetice Neue, sans-serif;
}

/************ TAB CSS ****************/
.menu {
  width: 100%;
  z-index: 100;
  top: 0;
  position: fixed;
  height: auto;
  box-sizing: border-box; /* NEU: Padding/Border in die Höhe einbeziehen */
}

/* RESPONSIVE */
@media (max-width: 320px) {
  body {
    padding: 0;
    margin: 0;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
  }

  body::before {
    background-attachment: scroll; /* Besser für kleine, mobile Bildschirme */
    filter: blur(0.5px) grayscale(70%); /* Weniger starker Filter */
  }
  .margin-top-bottom {
    margin: 40px 0;
  }

  /* Navbar start */
  .templatemo_menubg {
    padding: 10px 0; /* Vertikales Padding */
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Weniger starker Schatten */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
  }
  .templatemo_logo {
    font-size: 2em; /* Noch kleineres Logo */
    margin-left: 10px; /* Abstand links */
    line-height: normal; /* Keine feste Zeilenhöhe, passt sich dem Text an */
    text-align: center; /* Logo zentrieren, wenn es der einzige Inhalt ist */
  }

  .navbar-nav {
    margin: 0;
  }
  .navbar-nav li {
    width: 100%; /* Listenpunkte nehmen volle Breite ein */
    text-align: center; /* Text zentrieren */
  }
  .navbar-default .navbar-nav > li > a {
    padding: 10px 0; /* Padding für Menüpunkte */
    border-bottom: 4px double #ffffffd6;
  }

  /* Navbar End */
  /* Hero Start */

  .hero-title {
    box-shadow: 1px 1px 3px black;
  }
  .templatemo_homemid > .col-md-8 {
    margin-top: -140px;
  }
  .hero-title {
    margin: 100px auto 40px auto;
    font-size: 20px;
  }

  .templatemo_topbg {
    background: url(../images/forest2.jpg);
    margin-top: 0;
    margin-bottom: 40px;
    padding: 5px 0 40px 0;
    box-shadow: 0.5px 0.5px 3px #000;
  }
  .templatemo_grey {
    padding: 20px 0; /* Padding für den grauen Bereich */
    width: 100%;
  }
  .templatemo_grey .title {
    font-size: 20px; /* Kleinere Überschrift */
    padding: 15px; /* Padding reduzieren */
    width: 90%; /* Etwas schmaler, um Ränder zu lassen */
    margin: 80px auto 40px auto;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .contacttext {
    padding: 20px; /* Padding reduzieren */
    font-size: 12px; /* Kleinere Schriftgröße */
    border-radius: 10px; /* Weniger runde Ecken */
    background-color: #0e0811c0; /* Etwas dunklerer Hintergrund */
    margin: 0 20px; /* Seitlicher Abstand */
    width: auto; /* Breite anpassen */
  }
  /* Hero End */
  /* Index Start*/
  .overflow-hidden {
    overflow: hidden;
  }
  .templatemo_gradient2 {
    box-shadow: 1px 1px 3px #0014ff9e;
    overflow: hidden;
  }

  .templatemo_homemid > .col-md-8 {
    margin-top: 40px;
  }
  .col-md-8.margin30.rules-wrapper {
    width: 100%;
    float: none;
    margin: 20px 0 0 0;
    padding: 0 5px;
    display: flex; /* <-- Wichtig: Stelle sicher, dass es flex ist */
    flex-direction: column; /* <-- Richtig */
    align-items: center; /* <-- Horizontal zentrieren ist okay */
    justify-content: flex-start; /* <-- ÄNDERE DIES: Inhalt an den Anfang (oben) schieben */
    min-height: auto;
    background-size: cover;
    background-position: center;
    border: none;
  }
  #top3 {
    color: #ffffff;
    transform: none; /* <-- Hier einfügen */
    text-align: center;
    width: 100%;
    padding: 15px 0;
    font-size: 1.6em;
    line-height: 1.2;
    white-space: normal; /* <-- Hier einfügen */
    text-shadow: 1px 1px 3px black;
    margin: 0; /* <-- Hier einfügen */
  }
  .rules-wrapper {
    display: block;
  }
  .rules-container {
    width: 100%;
    padding: 10px;
  }
  .rules-container .templatemo_homemid_right {
    padding: 30px 50px 30px 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    box-sizing: border-box;
  }
  .templatemo_homemid_right .box {
    padding: 0;
  }
  .templatemo_homemid_right .box .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px auto;
    display: block;
  }
  .templatemo_homemid_right .box .icon img {
    width: 40px; /* Bild im Icon kleiner */
    height: auto; /* Höhe proportional anpassen */
    margin: 5px auto; /* Bild im Icon zentrieren */
    display: block;
  }
  .templatemo_homemid_right .box .text {
    width: 100%; /* Volle Breite für Text */
    text-align: center; /* Text zentrieren */
    padding: 0 5px; /* Etwas seitliches Padding, um Text vom Rand zu halten */
    box-sizing: border-box;
  }
  .templatemo_homemid_right .box .title {
    font-size: 14px;
    margin: 0; /* Alle Margins am Titel entfernen, um Überlauf zu vermeiden */
    padding: 0; /* Alle Paddings am Titel entfernen, um Überlauf zu vermeiden */
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center; /* Text zentrieren */
    display: block; /* Block-Element */
    width: 100%; /* Volle Breite */
    box-sizing: border-box; /* EXTREM WICHTIG für dieses Element! */
  }
  .templatemo_homemid_right .box .title {
    font-weight: 650;
  }
  .golden-rules > li {
    margin-left: -60px;
    text-align: left;
  }
  /* Index End */
  /* About Start */
  .profile-images-container {
    margin: 10px auto 0px auto;
    gap: 20px;
  }
  .profile-images-container img {
    width: 120px;
    height: 150px;
    margin: 20px auto -30px auto;
  }
  .col-md-3 {
    margin-top: 50px;
  }
  /* About End */
  /* Contact Start */
  .templatemo_contact_map {
    box-shadow: 2px 2px 20px #800080b8;
  }
  .templatemo_contact_form {
    box-shadow: 2px 2px 20px #800080b8;
  }
  /* Contact End */
}
@media (min-width: 470px) {
  /* ABout Start */
  .custom-grid-item {
    width: 50%;
  }
  /* About End */
}

@media (max-width: 767px) {
  body {
    padding: 0;
    margin: 0;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
  }

  body::before {
    background-attachment: scroll; /* Besser für kleine, mobile Bildschirme */
    filter: blur(0.5px) grayscale(70%); /* Weniger starker Filter */
  }
  .margin-top-bottom {
    margin: 40px 0;
  }

  /* Navbar start */
  .templatemo_menubg {
    padding: 10px 0; /* Vertikales Padding */
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.268);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
  }
  .templatemo_logo {
    font-size: 2em; /* Noch kleineres Logo */
    margin-left: 10px; /* Abstand links */
    line-height: normal; /* Keine feste Zeilenhöhe, passt sich dem Text an */
    text-align: center; /* Logo zentrieren, wenn es der einzige Inhalt ist */
  }

  .navbar-nav {
    margin: 0;
  }
  .navbar-nav li {
    width: 100%; /* Listenpunkte nehmen volle Breite ein */
    text-align: center; /* Text zentrieren */
  }
  .navbar-default .navbar-nav > li > a {
    padding: 10px 0; /* Padding für Menüpunkte */
    border-bottom: 4px double #ffffffd6;
  }

  /* Navbar End */
  /* Hero Start */
  .hero-title {
    margin: 100px auto 40px auto;
    font-size: 20px;
    background-color: #00000095;
    box-shadow: 1px 1px 3px black;
    font-weight: 700;
  }

  .templatemo_topbg {
    background: url(../images/forest2.jpg);
    margin-top: 0;
    margin-bottom: 40px;
    padding: 5px 0 40px 0;
    box-shadow: 0.5px 0.5px 3px #000;
  }
  .templatemo_grey {
    padding: 20px 0; /* Padding für den grauen Bereich */
    width: 100%;
  }
  .templatemo_grey .title {
    font-size: 20px; /* Kleinere Überschrift */
    padding: 15px; /* Padding reduzieren */
    width: 90%; /* Etwas schmaler, um Ränder zu lassen */
    margin: 80px auto 40px auto;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .contacttext {
    padding: 20px; /* Padding reduzieren */
    font-size: 12px; /* Kleinere Schriftgröße */
    border-radius: 10px; /* Weniger runde Ecken */
    background-color: #0e08118f;
    margin: 0 20px; /* Seitlicher Abstand */
    width: auto; /* Breite anpassen */
  }
  /* Hero End */
  /* Index Start*/
  .overflow-hidden {
    overflow: hidden;
  }

  .templatemo_gradient1 {
    box-shadow: 1px 1px 5px black;
  }
  .templatemo_gradient2 {
    overflow: hidden;
    box-shadow: 1px 1px 3px #0014ff9e;
  }

  .templatemo_homemid > .col-md-8 {
    margin-top: 40px;
  }
  .col-md-8.margin30.rules-wrapper {
    width: 100%;
    float: none;
    margin: 20px 0 0 0;
    padding: 0 5px;
    display: flex; /* <-- Wichtig: Stelle sicher, dass es flex ist */
    flex-direction: column; /* <-- Richtig */
    align-items: center; /* <-- Horizontal zentrieren ist okay */
    justify-content: flex-start; /* <-- ÄNDERE DIES: Inhalt an den Anfang (oben) schieben */
    min-height: auto;
    background-size: cover;
    background-position: center;
    border: none;
  }

  #top3 {
    color: #ffffff;
    transform: none; /* <-- Hier einfügen */
    text-align: center;
    width: 100%;
    padding: 15px 0;
    font-size: 1.6em;
    line-height: 1.2;
    white-space: normal; /* <-- Hier einfügen */
    text-shadow: 1px 1px 3px black;
    margin: 0; /* <-- Hier einfügen */
  }
  .rules-wrapper {
    display: block;
  }
  .rules-container {
    width: 100%;
    padding: 10px;
    background-color: transparent;
  }
  .rules-container .templatemo_homemid_right {
    padding: 30px 50px 30px 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    box-sizing: border-box;
    background-color: #000000a8;
  }
  .templatemo_homemid_right .box {
    padding: 0;
  }
  .templatemo_homemid_right .box .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px auto;
    display: block;
  }
  .templatemo_homemid_right .box .icon img {
    width: 40px; /* Bild im Icon kleiner */
    height: auto; /* Höhe proportional anpassen */
    margin: 5px auto; /* Bild im Icon zentrieren */
    display: block;
  }
  .templatemo_homemid_right .box .text {
    width: 100%; /* Volle Breite für Text */
    text-align: center; /* Text zentrieren */
    padding: 0 5px; /* Etwas seitliches Padding, um Text vom Rand zu halten */
    box-sizing: border-box;
  }
  .templatemo_homemid_right .box .title {
    font-size: 19px;
    margin: 0; /* Alle Margins am Titel entfernen, um Überlauf zu vermeiden */
    padding: 0; /* Alle Paddings am Titel entfernen, um Überlauf zu vermeiden */
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center; /* Text zentrieren */
    display: block; /* Block-Element */
    width: 100%; /* Volle Breite */
    box-sizing: border-box; /* EXTREM WICHTIG für dieses Element! */
  }
  .templatemo_homemid_right .box .title {
    font-weight: 650;
    color: #9d00e698;
    line-height: 1em;
  }
  .golden-rules > li {
    margin-left: -60px;
    text-align: left;
  }
  ul > li::before {
    content: none; /* Blendet den Listenpunkt aus */
  }

  /* Du hast auch eine spezifischere Regel: .golden-rules > li */
  .golden-rules > li::before {
    content: none; /* Sicherstellen, dass auch diese überschrieben wird */
  }
  /* About Start */
  .col-md-3 {
    margin-top: 50px;
  }
  .profile-images-container img {
    margin: 20px auto -30px auto;
  }
  /* About End */
  /* Contact Start */
  .templatemo_contact_map {
    box-shadow: 2px 2px 20px #800080b8;
  }
  .templatemo_contact_form {
    box-shadow: 2px 2px 20px #800080b8;
  }
  /* Contact End */
}
@media (min-width: 767px) {
  /* Navbar Start */
  .navbar-nav {
    width: 600px;
  }

  .navbar-nav li > a {
    font-weight: 600;
    font-size: 15px;
  }
  .navbar-nav li > a:hover {
    background-image: url(../images/templatemo_menuhover.png);
    color: rgb(135, 3, 111) !important;
    font-size: 15px;
    font-weight: 600;
  }
  /* Navbar End */
}
@media (min-width: 767px) and (max-width: 991px) {
  .col-md-4 {
    display: flex;
  }
  .margin-top-bottom {
    margin: 0;
  }
  .margin-left-right {
    margin: 0 30px;
  }
  .rules-wrapper {
    margin-top: 60px;
  }
  .quote-title {
    font-size: 24px;
    line-height: 0.9em;
  }
}
@media (min-width: 991px) and (max-width: 1200px) {
  #top3 {
    transform: none; /* Keine Rotation */
    margin: 0 0 40px 0; /* Ein normaler Abstand nach unten zu den Regeln */
    text-align: center; /* Zentriert den Titel */
    white-space: normal; /* Ermöglicht Zeilenumbrüche, wenn der Titel lang ist */
    font-size: 2.6em; /* Oder passende Größe für große Bildschirme */
  }

  /* Optional: Anpassung des rules-wrapper, um den Titel zu zentrieren */
  .rules-wrapper {
    display: flex; /* Macht es zu einem Flex-Container */
    flex-direction: column; /* Stapelt Kinder vertikal */
    align-items: center; /* Zentriert die Kinder horizontal */
    justify-content: flex-start; /* Ordnet Kinder am oberen Rand an */
    /* Die anderen Hintergrund- und Shadow-Eigenschaften bleiben */
  }

  /* Stellen Sie sicher, dass der rules-container wieder normal fließt */
  .rules-container {
    width: 100%; /* Volle Breite der übergeordneten Bootstrap-Spalte */
    background-color: #000000a8; /* Oder was immer gewünscht ist */
    padding: 10px;
  }
  .col-md-4 {
    display: flex;
    flex-direction: column;
  }
  .margin-top-bottom {
    margin: 305px 0;
  }
}
