.plus-jakarta-sans-full {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  position: relative;
  min-height: 100%;
}

body { 
    font-family: Plus Jakarta Sans;
    background: #171A23;
    color: #fff;
    margin-bottom: 234px;
    margin-top: 60px;
 }

/* NEU: Header-Grundgerüst */
header {
    height: 60px;
    background: #212330;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #292C3D;
    display: flex;
    align-items: center;
}

a {color: #fff; text-decoration: none; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
label { 
    width: 100%;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
 }
 .searchInput input {
    background: #2A2D3E;
    border: 1px solid #2A2D3E !important;
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 11px 48px 12px 24px;
    color: #fff;
 }
.searchInput input:hover {
    background:rgba(68, 96, 239, 0.5) !important;
    border: 1px solid #2A2D3E !important;
}
.searchInput input:focus {
    border: 1px solid #4460EF !important;
    background:rgba(68, 96, 239, 0.5);
    outline: none !important;
}
.searchInput input:focus-visible {
    border: 1px solid #4460EF !important;
    background:rgba(68, 96, 239, 0.5);
    outline: none !important;
}

.searchInput select {
  border: none;
  background: #2A2D3E;
  border-radius: 16px;
  cursor: pointer;
  padding: 7px 32px 7px 16px;
}

.searchInput select:focus {
  outline: none;
  box-shadow: none;
}

.areaInput select {
  color: #FFD65D;
  font-size: 1rem;
}

 ::placeholder {
  color: #DEDEE0;
  opacity: 1;
  font-size: 0.75rem;
}

::-ms-input-placeholder { 
  color: #DEDEE0;
}

.container { max-width: 1230px; }

.btn { color: #fff; }

.headerLogo { 
    height: 25px;
    margin-top: 17px;
 }

 .btnBlue {
    font-size: 0.875rem;
    padding: 8px 24px;
    background: #4460EF;
    border-radius: 48px;
 }

 .btnBlue:hover, .btnBlue:active, .btnBlue:focus, .searchBtn:hover {
    background: #3A56E2 !important;
 }

 .btnBlueAlt {
    font-size: 0.875rem;
    padding: 8px 24px;
    background: none;
    border: 1px solid #fff;
    border-radius: 48px;
    margin-left: 12px;
 }

 .btnClear {
    font-size: 0.875rem;
    padding: 8px 6px;
    background: none;
    border-radius: 48px;
    margin-right: 12px;
    border: none;
    font-weight: 500;
 }

 .btnClear i {
  margin-right: 8px;
  font-size: 0.875rem;
 }

 .btnClear:hover, .btnClear:active {
    color: #44B3EF;
    border: none;
 }

 .btnClear img {
    margin-right: 12px;
 }

 .headerBtns { 
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: right;
}

/* ============================================
   HEADER MENU - NEU
   ============================================ */

.headerItemsWrap {
  position: relative;
}

.headerMenu {
  font-size: 0.875rem;
  margin-bottom: 0;
  padding-left: 80px;
  padding-top: 19px;
  padding-bottom: 20px;
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.headerMenu li {
  display: inline-block;
  margin-left: 28px;
  position: relative;
}

.headerMenu li:first-child {
  margin-left: 0;
}

.headerMenu li a {
  font-weight: 500;
}

.headerMenu li a:hover {
  color: #DEDEE0;
}

.headerMenu li.active:before {
  content: "";
  height: 2px;
  width: 100%;
  display: block;
  background: #4460EF;
  border-radius: 4px;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.inline-block { display: inline-block; }

/* ============================================
   SOCIAL BUTTONS - NEU
   ============================================ */

.socialBtn {
  width: 32px;
  height: 32px;
  display: inline-block;
  position: relative;
}

.socialBtn img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.mainSearch {
    height: 660px;
	background-color: #2d4a8a;        /* ← NEU: Blau passend zum Bild */
    background-image: url("../img/bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 138px;
}

.mainSearch h1 { 
    font-size: 3rem;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-top: 98px;
    font-weight: 500;
 }

 .mainText { 
    font-size: 1.125rem;
    margin-top: 32px;
 }

 .searchBox {
    background: #212330;
    padding: 32px 48px;
    border-radius: 16px;
 }

 .searchBox h2 { 
    font-size: 1.75rem;
    text-align: center;
    border-bottom: 1px solid #292C3D;
    padding-bottom: 24px;
    font-weight: 400;
    margin-bottom: 24px;
 }

 .searchInput {
    position: relative;
    margin-bottom: 24px;
 }

 .searchInput img { 
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
 }

 .searchBtn, .searchBtnAlt {
    background: #4460EF;
    width: 100%;
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 16px;
  }

  .searchBtnAlt {
    background: none;
    border: 1px solid #fff;
  }

  .searchBtnAlt img {
    margin-right: 12px;
    height: 20px;
  }

  .searchBtn img {
    margin-left: 12px;
    width: 16px;
  }

  .mainPopular {
    margin-top: 128px;
  }

  .popularTitle {
    text-align: center;
  }

  .popularTitle h2 {
    font-size: 2.5rem;
    font-weight: 500;
  }

  .popularTitle p {
    max-width: 625px;
    display: inline-block;
    margin-top: 32px;
    margin-bottom: 12px;
  }

.routeBox {
    background: #212330;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    padding-top: 200px;
    overflow: hidden;
    margin-top: 32px;
    display: inline-block;
    text-decoration: none;
    width: 100%;
}

.routeBox img {
    width: 100%;
    border-radius: 16px 16px 0 0;
}

.routeBox > p {
    color: #DEDEE0 !important;
    font-size: 0.75rem;
    margin-bottom: 0;
    text-decoration: none;
    min-height: 54px;
}

.routeBoxTitle {
    position: relative;
    height: 38px;
    margin: 12px 0;
}

.routeBoxTitle h3 {
    font-weight: 500;
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #fff !important;
	font-size: 1rem;
}

.routeBoxImg {
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover !important;
    background-position: center !important;
}

/* ============================================
   SEARCH RESULTS & PAGINATION - NEU
   ============================================ */

.resultBox {
  padding-top: 24px;
  padding-left: 274px;
  padding-right: 320px;
  margin-top: 24px;
}

.resultBox > p {
  min-height: auto;
}

.resultBox .routeBoxImg {
  width: 250px;
  height: 100%;
}

.resultBox .routeBoxDetails {
  border: none;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  margin-top: 0;
  padding-top: 0;
}

.resultBox .routeBoxDetails button {
  position: relative;
  top: -8px;
}

.resultBox .routeBoxTitle {
  margin-top: 0;
  margin-bottom: 20px;
  height: auto;
}

.resultBox .routeBoxTitle h6 {
  position: relative;
  transform: none;
  top: 0;
}

.resultTitle {
  font-size: 1.75rem;
  font-weight: 400;
}

.paginationWrap {
  margin-top: 48px;
  text-align: center;
}

.paginationBox {
  display: inline-block;
}

.paginationBox li a {
  border-radius: 100px !important;
  min-width: 38px;
  height: 38px;
  margin: 0 6px !important;
  background: none;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 500;
}

.paginationBox li a:hover, .paginationBox li a:focus, .paginationBox li a:active {
  color: #1B1F24;
}

.paginationBox li a:focus, .paginationBox li a:active, .paginationBox li a:hover {
  outline: none;
  box-shadow: none;
}

.paginationBox li.disabled a {
  background: none;
  color: #8B8C91;
  border: 1px solid #8B8C91;
}

.paginationBox li.active a {
  background: #4460EF;
}

.paginationBox li.active a:hover {
  background: #3A56E2 ;
  color: #fff;
}

.paginationBox li:first-child a, .paginationBox li:last-child a {
  padding-left: 24px;
  padding-right: 24px;
}

.altBtn {
  padding: 14px 48px;
  font-weight: 500;
  border: 1px solid #fff;
  border-radius: 16px;
  background: none;
}

.altBtn i {
  margin-left: 8px;
  font-size: 0.875rem;
}

.routeBtnWrap {
  margin-top: 32px;
  text-align: center;
}

.darkBtn {
  position: fixed;
  z-index: 2;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background:rgba(42, 45, 62, 0.75);
  border-radius: 48px;
}

.darkBtn:hover, .darkBtn:active {
  background: #4460EF !important;
}

.darkBtn img {
  height: 20px;
}

.cookieBox {
  position: fixed;
  z-index: 2;
  bottom: 38px;
  left: 24px;
  background: #2A2D3E;
  padding: 24px;
  border-radius: 16px;
  max-width: 500px;
  border: 1px solid #212330;
}

.cookieBox h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.cookieBox p {
  color: #DEDEE0;
  margin-bottom: 24px;
}

footer {
  background: #2A2D3E;
  padding: 24px;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 106px;
  width: 100%;
  z-index: 1;
}

.footerLogo {
  height: 25px;
}

.footerLinks {
  text-decoration: none;
  margin-top: 4px;
}

.footerLinks a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  margin-right: 48px;
}

.footerLinks a:hover {
  color: #44B3EF;
}

.footerLinks a:last-child {
  margin-right: 0 !important;
}

.footerSocial {
  text-align: right;
}

.footerSocial a {
  margin-left: 24px;
}

.footerSocial i {
  font-size: 1.5rem;
}

.footerSocial i:hover {
  color: #44B3EF;
}

.footerRights {
  font-weight: 300;
  font-size: 0.75rem;
  margin-top: 12px;
}

.loginContainer {
  padding-top: 80px;
  text-align: center;
}

.loginBG {
  background: url("../img/bgFull.jpg");
  background-position: center;
  background-size: cover;
}

.loginBox {
  padding: 48px;
  background: #212330;
  max-width: 500px;
  width: 100%;
  display: inline-block;
  border-radius: 16px;
}

.loginBoxHeader {
  margin-bottom: 24px;
  border-bottom: 1px solid #292C3D;
}

.loginBoxHeader h2 {
  font-size: 1.75rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.loginBoxHeader p {
  margin-bottom: 24px;
  font-weight: 300;
  color: #DEDEE0;
}

.loginBoxHeader a {
  color: #fff;
  font-weight: 500;
}

.loginBoxHeader img {
  height: 48px;
}

.loginBoxForms {
  text-align: left;
}

.loginBoxForms input {
  padding-left: 53px;
}

.formIcon {
  left: 24px;
  height: 14px;
}

.formEye {
  height: 14px;
  right: 24px;
  left: auto;
}

.loginBoxRemember {
  position: relative;
  text-align: left;
  margin-top: -12px;
}

.loginBoxRemember .form-check {
  display: inline-block;
}

.loginBoxRemember input, .loginBoxRemember label {
  cursor: pointer;
  outline: none;
}

.loginCheck { 
  border: none !important;
  background-color: rgba(68, 96, 239, 0.5);
 }

 .loginCheck:checked { 
  border: none !important;
  background-color: rgba(68, 96, 239, 1);
 }

.loginCheck:focus {
  box-shadow: none;
} 

.loginLabel {
  margin-bottom: 0;
  margin-top: 3px;
}

.loginBoxBtns {
  margin-top: 24px;
}

.loginBoxRemember a {
  font-size: 0.75rem;
  font-weight: 300;
  color: #DEDEE0;
  position: absolute;
  right: 0;
  top: 2px;
}

.loginBoxAuth {
  margin: 24px 0;
  position: relative;
}

.loginBoxAuth span {
  color: #DEDEE0;
  font-size: 0.75rem;
  font-weight: 300;
  position: relative;
  z-index: 2;
  padding: 0 12px;
  background: #212330;
}

.loginBoxLine {
  border: 1px solid #292C3D;
  height: 1px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.loginBoxBack {
  margin-top: 24px;
}

.routeBG {
  background-size: cover !important;
  background-position: center !important;
  width: 100%;
  height: 350px;
}

.routeNoImage {
  background: none !important;
  height: 128px;
}

.routeWrap {
  padding: 24px;
  border-radius: 16px;
  background: #212330;
  margin-bottom: 24px;
}

.routeContainer {
  margin-top: -64px;
}

.routeDescription {
  height: calc(100% - 24px);
}

.routeDescription h1 {
  margin-bottom: 12px;
  font-weight: 600;
}

.routeDescription h3, .routeDescription h2 {
  margin-top: 48px;
  margin-bottom: 12px;
  font-weight: 500;
}

.routeDescription p {
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.routeDescription a {
  color: #44B3EF;
}

.routeDescImg {
  width: 100%;
  border-radius: 16px;
  cursor: pointer;
}

.routeDescription ul {
  margin: 24px 0;
  list-style: none;
}

.routeDescription ul li {
  margin-bottom: 12px;
  position: relative;
  font-size: 0.875rem;
}

.routeDescription ul li::before {
  content: "•"; 
  color: #4460EF;
  position: absolute;
  left: -20px;
}

.routeDescription ul li:last-child {
  margin-bottom: 0;
}

.routeDescAlt {
  display: inline-block;
  width: 100%;
  color: #DEDEE0;
  font-weight: 500;
  font-size: 0.625rem;
  margin-top: 8px;
  margin-bottom: 24px;
}

.routeTitleLine {
  padding-bottom: 12px;
  border-bottom: 1px solid #292C3D;
  margin-bottom: 12px;
}

.routeMapFrom {
  position: relative;
  padding-left: 28px;
  padding-right: 80px;
}

.routeMapFrom > div {
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
}

.routeMapFrom > div > p {
  font-weight: 700;
}

.routeMapFrom span, .routeMapPaid span, .routeBoxDetails span {
  color: #DEDEE0;
  font-weight: 300;
  font-size: 0.625rem;
  display: block;
}

.routeMapFrom h2 {
  font-weight: 700;
}

.routeMapDetails {
  border-bottom: 1px solid #292C3D;
  margin-bottom: 12px;
  position: relative;
}

.routeMapTotal .routeMapFrom {
  padding-left: 0;
}

.routeMapTotal {
  border-bottom: none;
  margin-bottom: 24px;
}

.routeMap {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.routeMap > img {
  width: 100%;
}

.routeMapBtns {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
}

.routeMapPaid {
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.routeMapPaid p {
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
}

.routeMapPaid > div {
  padding: 4px 20px;
  border-radius: 48px;
  background: #2A2D3E;
  display: inline-block;
  margin-right: 4px;
}

.mapBtn {
  background: #2A2D3E;
  border: 1px solid #2A2D3E;
  width: 26px;
  height: 26px;
  border-radius: 48px;
  position: relative;
  margin-bottom: 2px;
}

.mapBtn:hover {
  background: #464B65;
}

.mapBtn:active {
  background: #464B65 !important;
  border: 1px solid #fff;
}

.mapBtn img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
}

/* ============================================
   ROUTE MAP LIST VIEW - FIX (DESIGNER SPECS)
   ============================================ */

.routeMapListFrom {
  position: relative;
  padding-left: 36px;
  display: inline-block;
  max-width: 160px; /* GEÄNDERT: von 176px auf 160px */
  width: 100%;
  vertical-align: top;
}

.routeMapListFrom img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 100px;
}

.routeMapListFrom span {
  font-weight: 300;
  font-size: 0.625rem;
  color: #DEDEE0;
  margin-bottom: 2px;
  display: block;
}

.routeMapListFrom p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.routeMapListItem {
  position: relative;
  margin-bottom: 12px;
  border-bottom: 1px solid #292C3D;
  padding-bottom: 12px;

}


/* Mobile Anpassung: Stapeln statt Quetschen */
@media (max-width: 600px) {
    .routeMapListItem {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .routeMapListOther {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: space-between !important;
        border-top: 1px solid #292C3D;
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
}


.routeAccord {
  margin-top: 24px;
  border: none;
}

.routeAccord .accordion-item {
  background: #2A2D3E;
  color: #DEDEE0;
  font-size: 0.875rem;
  border: none;
  border-radius: 16px !important;
  margin-bottom: 8px;
  overflow: hidden;
  padding: 16px 24px;
  transition: none;
}

.routeAccord .accordion-item button {
  background: #2A2D3E;
  color: #EAEDFC;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: none;
}

.routeAccord .accordion-item button:after {
  background-image: url('../img/plus.svg');
  background-size: 12px;
  width: 12px;
  height: 12px;
  transform: rotate(0deg);
}

.routeAccord .accordion-item button:not(.collapsed)::after {
  transform: rotate(45deg);
}

.routeAccord .accordion-body {
  padding: 0;
  padding-top: 24px;
}

.searchBoxEmbed {
  padding: 0;
}

.searchBoxEmbed h2 {
  font-size: 1.25rem;
  text-align: left;
  padding-bottom: 12px;
}

.commentsLogin {
  text-align: center;
  margin-top: 24px;
}

.commentsLogin p {
  font-weight: 500;
  margin-bottom: 12px;
}

.routeBoxDetails {
  position: relative;
  border-top: 1px solid #292C3D;
  margin-top: 24px;
  padding-top: 12px;
}

.routeBoxDetails div {
  display: inline-block;
  width: 80px;
}

.routeBoxDetails p {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
}

.routeBoxDetails button {
  position: absolute;
  right: 0;
  top: 16px;
}

.btnDetails {
  border: 1px solid #fff;
  border-radius: 48px;
  padding: 4px 24px;
  font-size: 0.75rem;
  font-weight: 500;
}

.btnDetails:hover, .btnBlueAlt:hover, .altBtn:hover, .searchBtnAlt:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff;
}

.btnDetails:active, .btnBlueAlt:active, .altBtn:active, .searchBtnAlt:active {
  color: #212330 !important;
  background: #fff !important;
}

.routeRadioCheck {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 100%;
}

.routeRadio50 {
  position: absolute;
  top: 0;
  left: 0;
}

.routeRadio100 {
  position: absolute;
  bottom: -30px;
  left: 0;
}

.routeRadioBar {
  position: absolute;
  top: 20px;
  bottom: -10px;
  left: 6px;
  width: 4px !important;
  border-radius: 4px;
  background: linear-gradient(to bottom, rgba(68,96,239,0.5), #4460EF);
  margin: 0 !important;
}

.routeDescStep {
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid #292C3D;
  border-bottom: 1px solid #292C3D;
}

.routeDescStep > div:first-child p {
  padding-bottom: 32px !important;
}

.routeDescStep h6 {
  text-transform: uppercase;
  font-weight: 500;
}

.routeDescStep p {
  font-weight: 300;
  font-size: 0.875rem;
  color: #DEDEE0;
}

.routeDescription table {
  width: 100%;
  vertical-align: middle;
  margin: 24px 0;
}

.routeDescription table tr:first-child th {
  font-weight: 300;
  font-size: 0.875rem;
  color: #DEDEE0;
}

.routeDescription table tr th {
  border-bottom: 1px solid #292C3D;
  padding: 12px;
}

.routeDescription table tr:last-child th {
border-bottom: none;
}

.routeCommentWrap {
  border-bottom: 1px solid #292C3D;
  padding: 24px 0 0 0;
}

.routeTextarea {
  position: relative;
  width: 100%;
}

.routeTextarea img {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
}

.routeTextarea textarea {
  background: #2A2D3E;
  border: 1px solid #2A2D3E;
  padding: 18px 24px 18px 52px;
  resize: none;
  border-radius: 16px;
  margin-bottom: 12px;
  color: #fff;
}

.routeTextarea textarea:hover {
  background: rgba(68, 96, 239, 0.5);
}

.routeTextarea textarea:focus {
  background: rgba(68, 96, 239, 0.5);
  border: 1px solid #4460EF;
  box-shadow: none;
  color: #fff;
}

.routeTextarea textarea::placeholder {
  color: #DEDEE0;
}

.areaInput {
  margin-bottom: 0;
}

.areaInput input {
  padding: 6px 32px 7px 16px;
}

.areaInput img {
  right: 16px;
}

.areaBtnWrap button {
  margin-top: 26px;
  width: 100%;
}

.commentRating {
  margin-bottom: 0;
}

.routeComment {
  position: relative;
  padding-left: 64px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #292C3D;
}

.routeCommentUser {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 28px;
  height: 28px;
}

.routeComment h6 {
  margin-bottom: 0;
}

.routeCommentReview {
  margin-top: 12px;
  font-size: 0.875rem;
}

.routeCommentTime {
  font-size: 0.5rem;
  font-weight: 300;
  color: #DEDEE0;
  margin-top: 2px;
}

.commentRating img {
  position: relative;
}

.routeCommentSection {
  margin-top: 24px;
}

.routeCommentRating {
  padding-left: 0;
}

.routeCommentPrice > div {
  display: inline-block;
  width: 100px;
}

.arrowRightShort {
  background: url('../img/arrowRightShort.svg');
  background-size: contain;
  width: 12px;
  height: 10px;
  display: inline-block;
  margin-left: 12px;
}

.btnLink {
  font-size: 0.75rem;
  padding: 4px 12px;
}

.btnLink i {
  margin-right: 8px;
}
.headerLogoLight {
  display: none;
}

nav {  
  display: flex !important;
  padding: 0 20px !important;
  z-index: 2;
}

.navMenuCollapsed {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #212330;
  z-index: 2;
  border-bottom: 1px solid #292C3D;
  color: #fff;
}

.navBtn {
  border: 1px solid #4460EF;
  width: 38px;
  height: 38px;
  border-radius: 48px;
  padding: 0;
  display: inline-block;
}

.navBtn:focus {
  box-shadow: none;
}

/* Nav Button Erweiterung - NEU */
.navBtn:hover {
  background: #3A56E2;
}

.navBtn img {
  height: 14px;
}

.navMenuWrap {
  padding: 11px 0;
}

.navMenuWrap .headerLogo {
  margin-top: 0;
}

.navMenuCollapsed > div {
  text-align: center;
}

.darkBtn .fa-sun {
  display: none;
  color: #2A2D3E !important;
}

.darkBtn i {
  font-size: 1.25rem;
}

.searchCaretLight, .formIconLight, .formEyeLight, .mapBtnImgLight {
  display: none;
}

/* ============================================
   MOBILE MENU - NEU
   ============================================ */

.mobileMenu {
  width: 100% !important;
  background: #212330;
}

.mobileMenuHeader {
  position: relative;
  border-bottom: 1px solid #292C3D;
  padding: 0 36px;
}

.mobileMenuBtns {
  position: absolute;
  top: 0;
  right: 36px;
  padding: 11px 0;
}

.mobileMenuBtns button {
  margin-left: 16px;
}

.mobileMenuBody {
  padding: 0;
}

.mobileMenuLinks {
  padding: 32px 36px;
  border-bottom: 1px solid #292C3D;
}

.mobileMenuLinks ul, .mobileMenuSocial ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobileMenuLinks li {
  text-align: center;
  margin-bottom: 16px;
}

.mobileMenuLinks li:last-child {
  margin-bottom: 0;
}

.mobileMenuLinks li a {
  font-size: 1.5rem;
}

.mobileMenuLinks li.active a {
  color: #5A75FF;
}

.mobileMenuLogin {
  text-align: center;
  padding: 24px 36px;
  border-bottom: 1px solid #292C3D;
}

.mobileMenuSocial {
  padding: 24px 36px;
  text-align: center;
}

.mobileMenuSocial li {
  display: inline-block;
  margin: 0 8px;
}

.mobileMenu .darkBtn { 
  display: inline-block;
  position: relative;
  right: auto;
  bottom: auto;
  height: 38px;
  width: 38px;
  padding: 0;
  border: 1px solid #3C404D;
 }

/* ============================================
   IMAGE MODAL / GALLERY - NEU
   ============================================ */

.imageModalBox {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  max-width: 1230px;
  border-radius: 16px;
  padding: 0 42px;
}

.imageModalItem {
  width: 100%;
  max-width: 1230px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 16px;
}

.modalWrap {
  width: 100%;
  height: 100%;
  background: none;
}

.modalBtn {
  font-size: 2rem;
  position: absolute;
  top: -32px;
  right: -32px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  border: none;
}

.modalBtn:hover, .modalBtn:active, .modalBtn:focus {
  color: #DEDEE0 !important;
  border: none;
}

/* ============================================
   PROFILE PAGE - NEU
   ============================================ */

.profileContainer {
  margin-top: 124px;
}

.profileHeader {
  border-bottom: 1px solid #292C3D;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.profileHeader img, .profileHeader h1 {
  display: inline-block;
}

.profileHeader h1 {
  margin-left: 24px;
  margin-bottom: 0;
  vertical-align: middle;
}

.profileAvatar {
  width: 64px;
  height: 64px;
  background-size: cover;
  position: relative;
  border-radius: 100px;
}

.profileLoginBox {
  margin-top: 24px;
}

.imageBtn {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #4460EF !important;
  border-radius: 100px;
  position: absolute;
  bottom: 2px;
  right: 4px;
}

.imageBtn i {
  font-size: 8px;
  color: #4460EF;
  vertical-align: middle;
  text-align: center;
}

.imageBtn:hover, .imageBtn:focus, .imageBtn:active {
  background: #DEDEE0 !important;
}

.profileCommentWrap {
  padding-top: 0;
  border-bottom: none;
}

.profileCommentWrap .routeCommentUser {
  left: 0;
}

.profileCommentWrap .routeComment {
  padding-left: 44px;
}

.profileCommentWrap .routeComment:first-child {
  border-top: none;
}

.noComments {
  text-align: center;
  margin-top: 100px;
}

.commentIcon {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: #4460EF;
  color: #fff;
  padding: 8px;
  margin-bottom: 12px;
}

.noComments h2 {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.noComments p {
  font-weight: 300;
  color: #DEDEE0;
  font-size: 1rem;
}

.delComment {
  position: absolute;
  right: 0;
  top: 30px;
  font-size: 1rem;
}

.delComment:hover {
  color: #DEDEE0;
}

.dark-mode {
  background: #F4F5F9;
  color: #1B1F24;
}

.dark-mode .darkBtn {
  background: rgba(255, 255, 255, 0.85);
}

.dark-mode .darkBtn .fa-sun {
  display: block;
}

.dark-mode .darkBtn .fa-moon {
  display: none;
}

.dark-mode header {
  background: #fff !important;
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .headerLogo {
  display: none;
}

.dark-mode .headerLogoLight {
  display: block;
}

.dark-mode .btnClear {
  color: #4460EF;
}

.dark-mode .mainSearch {
  color: #fff;
}

.dark-mode .searchBox {
  background: #fff;
  color: #1B1F24;
}

.dark-mode .searchBox h2 {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .searchInput input {
  background: #F2F2F2;
  border: 1px solid #F2F2F2 !important;
  color: #1B1F24;
}

.dark-mode .searchInput input:hover {
  border: 1px solid #4460EF !important;
  background: #F2F2F2 !important;
}

.dark-mode ::placeholder {
  color: #909090;
}

.dark-mode .searchBtn:hover, .dark-mode .btnBlue:hover {
  color: #fff;
}

.dark-mode .routeBox {
  background: #fff;
}

/* FIX: Überschriften im Light Mode - h3 statt h6 */
.dark-mode .routeBoxTitle h3 {
  color: #1B1F24 !important;
}

.dark-mode .routeBox > p {
  color: #71717B !important;
}

.dark-mode .altBtn, .dark-mode .btnBlueAlt {
  border: 1px solid #1B1F24 !important;
  color: #1B1F24;
}

.dark-mode footer {
  background: #4460EF;
}

.dark-mode .footerRights {
  color: #fff;
}

.dark-mode .cookieBox {
  background: #fff;
  border: 1px solid #F4F5F9;
}

.dark-mode .cookieBox p {
  color: #71717B;
}

.dark-mode .searchCaretLight, .dark-mode .formIconLight, .dark-mode .formEyeLight, .dark-mode .mapBtnImgLight {
  display: block;
}

.dark-mode.loginBG {
  background: url("../img/bgFull.jpg");
  background-position: center;
  background-size: cover;
}

.dark-mode .loginBox {
  background: #fff;
}

.dark-mode .loginBoxHeader {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .loginBoxHeader a, .dark-mode .loginBoxHeader p, .dark-mode .loginBoxRemember a {
  color: #1B1F24;
}

.dark-mode .loginBoxAuth span {
  background: #fff;
  color: #1B1F24;
}

.dark-mode .loginBoxLine {
  border: 1px solid #F2F2F2;
}

.dark-mode .searchBtnAlt {
  border: 1px solid #171A23;
  color: #171A23;
}

.dark-mode .routeWrap {
  background: #fff;
}

.dark-mode .routeDescAlt {
  color: #909090;
}

.dark-mode .routeTitleLine {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .routeMapFrom span, .dark-mode .routeMapPaid span, .dark-mode .routeBoxDetails span {
  color: #1B1F24;
}

.dark-mode .routeMapDetails {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .routeMapTotal {
  border-bottom: none !important;
}

.dark-mode .routeMapPaid > div {
  background: #fff;
}

.dark-mode .mapBtn {
  background: #fff;
  border: 1px solid #fff;
}

.dark-mode .mapBtn:hover, .dark-mode .mapBtn:focus {
  background: #F2F2F2 !important;
}

.dark-mode .routeBoxDetails {
  border-top: 1px solid #F2F2F2;
}

.dark-mode .btnDetails {
  color: #1B1F24;
  border: 1px solid #1B1F24;
}

.dark-mode .routeAccord .accordion-item, .dark-mode .routeAccord .accordion-item button {
  color: #1B1F24;
  background: #F2F2F2;
  transition: none !important;
}

.dark-mode .routeAccord .accordion-item button:after {
  background-image: url('../img/plusBlack.svg');
}

.dark-mode .routeDescStep {
  border-top: 1px solid #F2F2F2;
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .routeDescStep p, .dark-mode .routeDescription table tr:first-child th {
  color: #909090;
}

.dark-mode .routeDescription table tr th {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .routeDescription table tr:last-child th {
  border: none !important;
}

.dark-mode .routeComment {
  border-top: 1px solid #F2F2F2;
}

.dark-mode .routeCommentWrap {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .routeCommentTime {
  color: #171A23;
}

.dark-mode .searchInput select {
  background: #F2F2F2;
}

.dark-mode .routeTextarea textarea {
  background: #F2F2F2;
  border: 1px solid #F2F2F2;
  color: #171A23;
}

.dark-mode .routeTextarea textarea:hover {
  border: 1px solid #4460EF;
}

.dark-mode .routeTextarea textarea::placeholder {
  color: #909090;
}

.dark-mode nav, .dark-mode .navMenuCollapsed {
  background: #fff !important;
  border-bottom: 1px solid #F2F2F2;
} 

/* ============================================
   DARK MODE ERWEITERUNGEN - NEU
   ============================================ */

.dark-mode .headerMenu li a {
  color: #1B1F24;
}

.dark-mode .navMenuWrap, .dark-mode .mobileMenuHeader, .dark-mode .mobileMenuLinks, .dark-mode .mobileMenuLogin {
  border-bottom: 1px solid #F2F2F2 !important;
}

.dark-mode .mobileMenuLinks li a {
  color: #1B1F24;
}

.dark-mode .mobileMenuLinks li.active a {
  color: #4460EF;
}

.dark-mode .mobileMenu {
  background: #fff;
}

.dark-mode .paginationBox li a {
  background: #fff;
  color: #1B1F24;
  border: 1px solid #1B1F24;
}

.dark-mode .paginationBox li a:hover {
  background: #3A56E2 ;
  color: #fff;
  border: 1px solid #3A56E2;
}

.dark-mode .paginationBox li.active a {
  background: #4460EF;
  color: #fff;
  border: 1px solid #4460EF;
}

.dark-mode .paginationBox li.active a:hover {
  background: #3A56E2 ;
  color: #fff;
}

.dark-mode .paginationBox li.disabled a {
  background: #F9FAFC;
  color: #8A8C90;
  border: 1px solid #8A8C90;
}

.dark-mode .resultBox .routeBoxDetails {
  border: none;
}

.dark-mode .routeMapListItem {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .routeMapListFrom span {
  color: #909090;
}

.dark-mode .profileHeader {
  border-bottom: 1px solid #F2F2F2;
}

.dark-mode .profileCommentWrap {
  border-bottom: none !important;
}

.dark-mode .noComments p {
  color: #909090;
}

.dark-mode .delComment {
  color: #909090;
}

.dark-mode .delComment:hover {
  color: #1B1F24;
}

.dark-mode .btnDetails:hover {
  background-color: rgba(0, 0, 0, 0.05);
}


@media screen and (max-width: 1200px) {
    .mainSearch {
      padding-top: 24px;
      text-align: center;
    }
    .mainSearch h1 {
      margin-top: 32px;
      font-size: 2rem;
    }
    .mainText {
      margin-bottom: 32px;
      font-size: 1rem;
    }
    .searchBox {
      max-width: 660px;
      display: inline-block;
      width: 100%;
    }
    .searchBox label {
      text-align: left;
    }
    .popularTitle h2 {
      font-size: 2rem;
    }
    .searchBoxEmbed {
      max-width: none;
    }
}

/* ============================================
   MEDIA QUERIES ERWEITERUNGEN - NEU
   ============================================ */

@media screen and (max-width: 768px) {
    .searchBox {
      padding: 24px;
    }
    .searchBox h2 {
      font-size: 1.25rem;
    }
    .popularTitle p {
      margin-top: 16px;
      font-size: 0.875rem;
    }
    .mainPopular {
      margin-top: 64px;
    }
    .cookieBox {
      max-width: none;
      right: 0;
      left: 0;
      bottom: 0;
      border-radius: 0;
      border: none;
    }
    .cookieBox > div {
      text-align: center;
    }
    .searchBoxEmbed {
      padding: 0;
    }
    .areaInputCol {
      margin-bottom: 12px;
    }
    footer, .footerSocial {
      text-align: center;
    }
    footer {
      height: 200px;
    }
    body {
      margin-bottom: 320px;
    }
    .footerRow, .footerLinks, .footerSocial {
      margin-bottom: 16px;
    }
    .footerLinks a, .footerSocial a {
      margin: 0 16px !important;
    }
    .footerLinks a:last-child {
      margin-right: 16px !important;
    }
    .footerRights {
      margin-top: 0;
    }

    .resultBox {
      padding-left: 150px;
      padding-right: 24px;
    }

    .resultBox .routeBoxImg {
      width: 126px;
    }

    .resultBox .routeBoxDetails {
      position: relative;
      margin-left: 24px;
      width: 100%;
      top: 0;
      transform: none;
      margin-top: 24px;
    }

    .resultBox .routeBoxDetails .btnDetails {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
    }

    .resultTitle {
      margin-top: 48px;
    }

    .imageModalBox {
      padding: 0 16px;
    }

    .modalBtn {
      right: 0;
      font-size: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .mainSearch h1, .popularTitle h2 {
      font-size: 1.5rem;
    }
    .mainText {
      font-size: 0.875rem;
      margin-bottom: 24px;
      margin-top: 16px;
    }
    .altBtn {
      padding: 8px 32px;
    }
    .routeBoxTitle h6 {
      font-size: 0.875rem;
    }
    .loginBox {
      padding: 24px;
    }
    .loginBoxHeader h2 {
      font-size: 1.5rem;
      margin-top: 16px;
    }
    .loginBoxHeader p {
      font-size: 0.875rem;
    }
    .routeDescription h1 {
      font-size: 1.5rem;
    }
    .routeCommentUser {
      left: 0;
    }
    .routeComment {
      padding-left: 42px;
    }
    .routeCommentPrice {
      position: relative !important;
      text-align: left !important;
    }
    .routeCommentPrice > div {
      text-align: left !important;
      margin-top: 12px;
    }
    .routeCommentRating {
      padding-right: 0;
    }
    .routeCommentRating p { margin-bottom: 0; }

    .resultBox {
      padding-left: 24px;
      padding-top: 150px;
    }
    
    .paginationBox li a {
      height: 30px;
      min-width: 30px;
      font-size: 0.75rem;
      margin: 0 4px;
    }

    .paginationBox li:first-child a {
      margin-left: 0 !important;
    }

    .paginationBox li:last-child a {
      margin-right: 0 !important;
    }

    .paginationBox li:first-child a, .paginationBox li:last-child a {
      padding-left: 12px;
      padding-right: 12px;
    }

    .resultBox .routeBoxImg {
      height: 125px;
      width: 100%;
    }

    .profileHeader h1 {
      font-size: 1.25rem;
    }

    .profileHeader img {
      width: 32px;
      height: 32px;
    }
    
}

/* NEU: Logik für den Header auf Mobile */
@media screen and (max-width: 768px) {
    header { 
        display: flex !important; 
    }
    nav { 
        display: none !important; 
    }
    .mobile-menu-toggle { 
        display: block !important; 
    }
}

/* Grundgerüst für den Header */
/* EINZIGE DEFINITION FÜR DEN NAV-WRAPPER */
.nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* NAVIGATIONSLOGIK (UNTER 992PX) */
@media screen and (max-width: 991.98px) {
    .desktop-nav, 
    .headerBtns .desktop-only {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        cursor: pointer;
    }
}

/* NAVIGATIONSLOGIK (AB 992PX) */
@media screen and (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    .desktop-nav, 
    .headerBtns .desktop-only {
        display: flex !important;
        gap: 24px;
    }
}


/* Desktop Navigation Styling */
.desktop-nav {
    display: flex !important;
    gap: 24px;
    margin: 0 auto; /* Schiebt die Nav in die Mitte zwischen Logo und Buttons */
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #4460EF;
}

/* Steuerung der Sichtbarkeit */
@media screen and (max-width: 768px) {
    .desktop-nav, .desktop-only {
        display: none; /* Versteckt das Menü auf dem Handy */
    }
    
    header {
        display: block !important; /* Überschreibt dein altes 'display: none' */
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* Dark Mode Support für die neuen Links */
.dark-mode .nav-link {
    color: #1B1F24;
}


/* Das Overlay (Hintergrund) */
.mobile-overlay {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: #212330;
    /* --- HIER IST DIE ÄNDERUNG --- */
    overflow-y: auto; /* Erlaubt vertikales Scrollen im Menü */
    -webkit-overflow-scrolling: touch; /* Macht das Scrollen auf iPhones flüssig */
    /* ------------------------------ */
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px; /* Etwas Platz oben für den Schließen-Button */
}

/* Links im Overlay */
.overlay-content {
    position: relative;
    top: 5%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay-content a {
    padding: 15px;
    text-decoration: none;
    font-size: 1.5rem;
    color: #fff;
    display: block;
    transition: 0.2s;
}

.overlay-content a:hover {
    color: #4460EF;
}

/* Schließen-Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Dark Mode Anpassung für das Overlay */
.dark-mode .mobile-overlay {
    background-color: #fff;
}
.dark-mode .overlay-content a, .dark-mode .close-btn {
    color: #1B1F24;
}





/* --- FIX FÜR DAS MOBILE OVERLAY (NUR AM ENDE ANFÜGEN) --- */

/* 1. Verhindert, dass das Menü im Hintergrund "durchscheint" */
.mobile-overlay {
    height: 100vh !important; /* Volle Bildschirmhöhe */
    width: 0; 
    position: fixed;
    z-index: 9999 !important; /* Über die Karte und alles andere legen */
    top: 0;
    left: 0;
    background-color: #212330 !important; /* Dein dunkles Blau, garantiert deckend */
    overflow-x: hidden;
    transition: 0.4s ease;
    display: flex !important; /* Ermöglicht Zentrierung */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 2. Zentriert die Links im Overlay */
.overlay-content {
    width: 100%;
    text-align: center;
}

/* 3. Sorgt dafür, dass die Links im Overlay weiß und groß sind */
.overlay-content a {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    padding: 15px;
    display: block;
    text-decoration: none;
}

/* 4. Fix für den Schließen-Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 50px !important;
    color: white !important;
    background: none;
    border: none;
    z-index: 10000;
}

/* 5. Dark-Mode Anpassung (nur für das Overlay) */
.dark-mode .mobile-overlay {
    background-color: #ffffff !important;
}
.dark-mode .overlay-content a, 
.dark-mode .close-btn {
    color: #1B1F24 !important;
}

/* 6. Desktop-Navigation auf Mobile wirklich ausblenden */
@media screen and (max-width: 768px) {
    .desktop-nav, .desktop-only {
        display: none !important;
    }
}


/* Verstecke das Burger-Icon standardmäßig auf Desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}



/* Dark-Mode Support für das Icon */
.dark-mode .mobile-menu-toggle {
    color: #1B1F24 !important;
}

/* Container für das Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Das Untermenü (standardmäßig versteckt) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #212330; /* Passend zum Header */
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 8px;
    padding: 10px 0;
}

/* Links im Untermenü */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    display: block;
    font-size: 0.85rem;
}

.dropdown-content a:hover {
    background-color: #3A56E2;
}

/* Zeige Untermenü beim Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.route-map-container {
    height: 400px !important; /* Wichtig: Leaflet braucht eine feste Höhe */
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Falls du die Standard-Leaflet-Buttons ausblenden willst, da du eigene hast */
.leaflet-control-zoom {
    display: none !important;
}


/* Dark Mode Filter für die Karte */
/*.dark-mode #route-map, 
.dark-mode .map-container {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}*/

/* Verhindert, dass die Marker und Popups mit invertiert werden 
   (sonst sähen Gesichter auf Fotos oder Farben von Pins komisch aus) */
/*.dark-mode .leaflet-marker-icon,
.dark-mode .leaflet-popup-content-wrapper,
.dark-mode .leaflet-popup-tip {
    filter: invert(100%) hue-rotate(180deg);
}*/



/* ============================================
   LEAFLET MAPS - OPTIMIERTES DUNKEL-DESIGN
   ============================================ */

/* 1. STANDARD (DEINE SEITE IST DUNKEL) */
/* Wir nutzen hier KEIN hartes Invertieren mehr, sondern eine edle Abdunklung */
.leaflet-tile {
    filter: brightness(0.6) contrast(1.2) grayscale(0.3) sepia(0.1) hue-rotate(200deg) !important;
    transition: filter 0.3s ease;
}

.leaflet-container {
    background: #171A23 !important; /* Dein Original-Hintergrund */
}

/* Marker im dunklen Zustand: Wir machen sie etwas heller, damit sie "leuchten" */
.leaflet-marker-icon {
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(68, 96, 239, 0.5)) !important;
}

/* 2. HELLER MODUS (.dark-mode Klasse ist aktiv) */
/* Hier schalten wir alle Filter aus, damit die Karte original aussieht */
.dark-mode .leaflet-tile {
    filter: none !important;
}

.dark-mode .leaflet-container {
    background: #f1f3f5 !important;
}

.dark-mode .leaflet-marker-icon {
    filter: none !important;
}

/* Attribution (Copyright) - Schön dezent integriert */
.leaflet-control-attribution {
    background: rgba(23, 26, 35, 0.7) !important;
    color: #52525b !important;
}

.dark-mode .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.7) !important;
    color: #1B1F24 !important;
}

/* ============================================
   LEAFLET INTERAKTIONS-SCHUTZ (MOBILE FIX)
   ============================================ */

/* 1. Karte standardmäßig für Klicks sperren */
.leaflet-container {
    pointer-events: none; /* Man kann "durch" die Karte scrollen */
    cursor: pointer;
}

/* 2. Sobald der User die Karte anklickt (fokussiert), wird sie aktiv */
.leaflet-container:active, 
.leaflet-container:focus {
    pointer-events: auto; /* Scrollen und Zoomen wird aktiviert */
}

/* 3. Auf Desktop: Aktivierung bei Hover (optional, aber komfortabel) */
@media (min-width: 769px) {
    .leaflet-container:hover {
        pointer-events: auto;
    }
}

.preview img.preview-thumb {
    width: 100%;
    height: 200px;        /* ← Der schmale Balken! */
    object-fit: cover;    /* ← Bild wird zugeschnitten */
    border-radius: 0.5rem;
    cursor: pointer;
}



/* 27.03.2026 */

/* ============================================================
   HEADER & NAVIGATION (OPTIMIERT FÜR BOOTSTRAP OFF-CANVAS)
   ============================================================ */



/* Desktop Navigation */
.desktop-nav {
    display: flex !important;
    gap: 24px;
    margin: 0 auto;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #4460EF;
}

/* Dropdown im Header (Desktop) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #212330;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    z-index: 1001;
    border-radius: 12px;
    padding: 8px 0;
    border: 1px solid #292C3D;
}

.dropdown-content a {
    color: white;
    padding: 10px 16px;
    display: block;
    font-size: 0.85rem;
}

.dropdown-content a:hover {
    background-color: rgba(68, 96, 239, 0.1);
    color: #4460EF;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ============================================================
   MOBILE MENU (BOOTSTRAP OFF-CANVAS STYLING)
   ============================================================ */

.mobileMenu {
    background-color: #212330 !important;
    color: #fff;
    width: 300px !important;
    border-left: 1px solid #292C3D !important;
}

.mobileMenuHeader {
    padding: 20px;
    border-bottom: 1px solid #292C3D;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobileMenuBody {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobileMenuList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobileMenuList a {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
}

.mobile-section-title {
    color: #71717B;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.mobileMenuFooter {
    margin-top: auto;
    padding-top: 30px;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); /* Macht das X weiß */
    opacity: 0.8;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 5px;
}

/* ============================================================
   HEADER LOGIK - LÜCKENLOSER ÜBERGANG
   ============================================================ */

/* Grundzustand: Desktop (Ab 992px) */
@media screen and (min-width: 992px) {
    .desktop-nav, 
    .headerBtns .desktop-only {
        display: flex !important;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Grundzustand: Mobile (Alles unter 992px) */
@media screen and (max-width: 991.98px) {
    .desktop-nav, 
    .headerBtns .desktop-only {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}



.headerBtns {
    display: flex;
    align-items: center;
}

/* ============================================================
   DARK MODE ANPASSUNGEN
   ============================================================ */

.dark-mode .nav-link, 
.dark-mode .mobile-section-title {
    color: #1B1F24;
}

.dark-mode .mobileMenu {
    background-color: #ffffff !important;
    color: #1B1F24;
    border-left: 1px solid #F2F2F2 !important;
}

.dark-mode .mobileMenuList a {
    color: #1B1F24;
}

.dark-mode .dropdown-content {
    background-color: #fff;
    border: 1px solid #F2F2F2;
}

.dark-mode .dropdown-content a {
    color: #1B1F24;
}

.dark-mode .btn-close {
    filter: none; /* Macht das X schwarz im Light Mode */
}

.dark-mode .mobileMenuHeader {
    border-bottom: 1px solid #F2F2F2;
}

/* ============================================================
   FIX FÜR DIE MENÜ-LÜCKE (ENTFERNT display: none bei 1024px)
   ============================================================ */

/* WICHTIG: Entfernt die "Tote Zone" zwischen 768px und 1024px */
@media screen and (max-width: 1024px) {
    /* Lösche oder überschreibe diese Regeln: */
    /* header { display: none; }  <-- DAS WAR DAS PROBLEM! */
    
    header { 
        display: flex !important; /* Header bleibt immer sichtbar */
    }
    
    nav { 
        display: none !important; /* Altes nav-System ausblenden */
    }
}

/* Tablet-Bereich (768px - 1024px) explizit sicherstellen */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    header {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle {
        display: block !important; /* Burger-Menü anzeigen */
    }
    
    .desktop-nav {
        display: none !important; /* Desktop-Nav ausblenden */
    }
}

/* Sicherstellen, dass der Header nie verschwindet */
header {
    display: flex !important;
}







/* ============================================
   ROUTE LIST FIX - MINIMAL
   ============================================ */

/* Desktop: Basic Fixes */
.routeMapListItem { display: block !important; }
.routeMapListFrom { max-width: 160px !important; }
.routeMapListTime { padding-left: 16px !important; }

/* Tablet (577px - 991px): Umbruch verhindern */
@media (max-width: 991px) and (min-width: 577px) {
  .routeMapListFrom, .routeMapListTo { max-width: 40% !important; width: 40% !important; }
  .routeMapListOther { position: relative !important; right: auto !important; top: auto !important; text-align: right !important; margin-top: 8px !important; }
  .routeMapListTime { display: inline-block !important; padding-left: 0 !important; padding-right: 20px !important; width: auto !important; }
}

/* Mobile (<576px): Gestapelt */
@media (max-width: 576px) {
  .routeMapListFrom { max-width: none !important; width: 100% !important; padding-right: 60px !important; display: block !important; }
  .routeMapListOther { position: relative !important; right: auto !important; top: auto !important; width: auto !important; padding-left: 36px !important; margin-top: 0 !important; }
  .routeMapListTime { width: 100% !important; display: block !important; text-align: right !important; padding-bottom: 8px !important; padding-left: 0 !important; }
}










/* ============================================
   ROUTE LIST - ULTIMATIVER FIX
   ============================================ */

/* Desktop (>991px): Time/Price absolut rechts, From max 160px */
.routeMapListFrom {
  max-width: 160px !important;
  display: inline-block !important;
  vertical-align: top !important;
  position: relative !important;
}

.routeMapListOther {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
}

.routeMapListTime {
  padding-left: 16px !important;
}

/* Tablet & Mobile (<992px): Alles im Flow, nicht absolut */
@media screen and (max-width: 991px) {
  .routeMapListFrom,
  .routeMapListTo {
    max-width: 45% !important;
    width: 45% !important;
    display: inline-block !important;
  }
  
  .routeMapListOther {
    position: relative !important; /* Wichtig: Nicht mehr absolut! */
    right: auto !important;
    top: auto !important;
    display: block !important;
    text-align: right !important;
    margin-top: 8px !important;
    padding-left: 36px !important;
  }
  
  .routeMapListTime {
    display: inline-block !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
  }
}

/* Mobile (<576px): Time/Price untereinander, rechtsbündig */
@media screen and (max-width: 576px) {
  .routeMapListFrom {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    padding-right: 60px !important; /* Platz für Time/Price rechts */
    box-sizing: border-box !important;
  }
  
  .routeMapListOther {
    width: auto !important;
    position: relative !important;
    padding-left: 36px !important;
    margin-top: 0 !important;
  }
  
  .routeMapListTime {
    display: block !important; /* Untereinander statt nebeneinander */
    width: 100% !important;
    text-align: right !important;
    padding-right: 0 !important;
    padding-bottom: 8px !important;
  }
}


/* ============================================
   FIX: Time/Price Text in Karten (Light Mode)
   ============================================ */

.dark-mode .routeBoxDetails span,
.dark-mode .routeBoxDetails p {
  color: #1B1F24 !important;
}

.dark-mode .routeBoxDetails {
  color: #1B1F24 !important;
}

/* Falls die Labels noch blau sind */
.dark-mode .routeBox div span,
.dark-mode .routeBox .routeBoxDetails div span {
  color: #71717B !important;
}



/* Paginator Styling */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px; /* Abstand zwischen den Buttons */
    margin: 30px 0;
    list-style: none;
    padding: 0;
}

.pagination li a, 
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: #212330; /* Hintergrund wie Header/Karten */
    border: 1px solid #292C3D;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Hover-Effekt */
.pagination li a:hover {
    background: #292C3D;
    border-color: #3b3f54;
}

/* Aktive Seite hervorheben */
.pagination li.active span, 
.pagination li.active a {
    background: #007bff; /* Oder deine Primärfarbe */
    border-color: #007bff;
    font-weight: bold;
}

/* Deaktivierte Pfeile (falls vorhanden) */
.pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}



/* ============================================================
   DESIGNER-STRUCTURE REWRITE (FLEXBOX)
   ============================================================ */

/* 1. Reset: Wir zwingen alle Elemente in den normalen Fluss */
.routeMapListItem, 
.routeMapListFrom, 
.routeMapListTo, 
.routeMapListOther, 
.routeMapListTime, 
.routeMapListPrice {
    position: static !important;
    height: auto !important;
    width: auto !important;
    inset: auto !important; /* Löscht top, right, bottom, left */
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Container: Das Fundament */
.routeMapListItem {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 15px 20px !important;
    background: #212330 !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
    min-height: 80px !important;
    border: 1px solid #292C3D !important;
}

/* 3. Orte & Abstände */
.routeMapListFrom { margin-right: 10px !important; }
.routeMapListTo { margin-right: 20px !important; }

/* 4. Der "Other"-Block (Preis/Zeit) ans rechte Ende schieben */
.routeMapListOther {
    margin-left: auto !important; /* Schiebt alles nach rechts */
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
}

.routeMapListPrice {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.routeMapListTime {
    color: #9ca3af !important;
    font-size: 0.9rem !important;
}

/* 5. Mobile Optimierung (Umbruch bei Platzmangel) */
@media (max-width: 768px) {
    .routeMapListItem {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .routeMapListOther {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: space-between !important;
        border-top: 1px solid #292C3D !important;
        padding-top: 12px !important;
        margin-top: 5px !important;
    }
}



/* Schriftgrößen-Korrektur für die Routen-Details */


.routeMapListIcon {
    margin-right: 20px;
    display: flex;
    align-items: center;
}
.routeMapListIcon img {
    width: 24px;
    height: auto;
}

.routeMapListItem span {
    font-size: 0.7rem !important; /* Die kleinen Labels (From, To, Time) */
    color: #9ca3af !important;   /* Das Grau vom Designer */
    text-transform: uppercase;   /* Optional: Macht es noch cleaner */
    display: block;
    margin-bottom: 2px;
}

.routeMapListItem p {
    font-size: 0.95rem !important; /* Die eigentlichen Werte (Ortsnamen, Zeiten) */
    font-weight: 600 !important;
    margin: 0 !important;          /* Entfernt den riesigen Standard-Abstand von <p> */
    line-height: 1.2;
}

/* Spezialfall: Preis soll etwas hervorstechen wie im Design */
.routeMapListPrice p {
    font-size: 1.1rem !important;
    color: #fff !important;
    font-weight: 800 !important;
}

/* Zeit etwas dezenter */
.routeMapListTime p {
    color: #d1d5db !important;
    font-size: 0.9rem !important;
}




/* ============================================
   TL;DR / QUICK FACTS - DESIGNER STIL
   ============================================ */

.tldr-transit-box {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  max-width: 100%;
  background: #212330; /* Designer: Karten-Hintergrund */
  border: 1px solid #292C3D; /* Designer: Standard-Border */
  border-radius: 16px; /* Designer: Karten-Radius */
  margin: 24px 0;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtiler Schatten */
}

/* Header */
.tldr-header {
  padding: 20px 24px;
  border-bottom: 1px solid #292C3D;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.02em;
  background: #212330; /* Gleich wie Container */
}

/* Content-Bereich */
.tldr-content {
  padding: 24px;
  background: #171A23; /* Etwas dunkler für Kontrast */
}

/* Einzelner Step */
.tldr-step {
  position: relative;
  padding-left: 32px; /* Mehr Platz für die Linie */
  padding-bottom: 24px;
}

.tldr-step:last-child {
  padding-bottom: 0;
}

/* Timeline-Linie */
.tldr-step::before {
  content: "";
  position: absolute;
  left: 8px; /* Zentriert zum Punkt */
  top: 8px;
  width: 2px;
  height: calc(100% - 8px);
  background: #4460EF; /* Designer: Akzent-Blau */
  opacity: 0.3;
}

.tldr-step:last-child::before {
  display: none;
}

/* Timeline-Punkt */
.tldr-step::after {
  content: "";
  position: absolute;
  left: 3px; /* (8px - 5px) für 10px Breite */
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4460EF; /* Designer: Akzent-Blau */
  border: 2px solid #171A23; /* Abhebung vom Hintergrund */
}

/* Step-Titel */
.tldr-step-title {
  display: block;
  font-weight: 600; /* Designer: semibold */
  font-size: 0.875rem; /* Designer: Standard-Text */
  margin-bottom: 6px;
  text-transform: uppercase; /* Designer-Style */
  color: #9ca3af; /* Designer: dezentes Grau */
  letter-spacing: 0.05em;
}

/* Step-Text */
.tldr-step-text {
  font-size: 0.95rem; /* Designer: Werte-Größe */
  line-height: 1.6;
  color: #DEDEE0; /* Designer: helles Grau */
  font-weight: 400;
}

/* Footer */
.tldr-footer {
  background: #212330;
  padding: 16px 24px;
  border-top: 1px solid #292C3D;
  font-size: 0.875rem;
  color: #9ca3af;
  border-radius: 0 0 16px 16px;
}

/* ============================================
   LIGHT MODE (via .dark-mode Klasse invertiert)
   ============================================ */

.dark-mode .tldr-transit-box {
  background: #fff;
  border-color: #F2F2F2;
  color: #1B1F24;
}

.dark-mode .tldr-header {
  background: #fff;
  color: #1B1F24;
  border-color: #F2F2F2;
}

.dark-mode .tldr-content {
  background: #F4F5F9;
}

.dark-mode .tldr-step::before {
  background: #4460EF;
  opacity: 0.4;
}

.dark-mode .tldr-step::after {
  background: #4460EF;
  border-color: #F4F5F9;
}

.dark-mode .tldr-step-title {
  color: #71717B;
}

.dark-mode .tldr-step-text {
  color: #1B1F24;
}

.dark-mode .tldr-footer {
  background: #fff;
  color: #909090;
  border-color: #F2F2F2;
}