html {
    scroll-behavior: smooth;
}

/*body {
  background-color: #f2f2f2;
}*/

li.withdraw_link .nav-link {
	font-weight: bold;
    color: #b30000 !important;
    border: 2px solid #b30000;
    padding: 6px 10px;
    border-radius: 4px;
    background-color: #ffe6e6;
	box-shadow: 0 0 6px rgba(204, 0, 0, 0.3);
	transition: background-color .6s cubic-bezier(.4,0,.2,1),
            color .6s cubic-bezier(.4,0,.2,1),
            border-color .6s cubic-bezier(.4,0,.2,1);
}

li.withdraw_link .nav-link:hover {
	background: #cc0000 !important;
    color: #ffffff !important;
}

/* Widerrufslink: Buttons */
.btn-primary {
    background-color: #e91e63;
    border-color: #e91e63;
}

.btn-primary:hover {
    background-color: #c2185b;
    border-color: #c2185b;
}

/* Topbar Grundlayout */
#top.top.navbar {
    padding: .5rem 1rem;
}

/* Topbar – Elemente gleichmäßig verteilen */
#top .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    width: 100%;
}

/* Einheitliche Innenabstände */
#top .navbar-text {
    padding: 0 .5rem;
    white-space: nowrap;
}

/* Dein Gradient-Hintergrund unabhängig von BS5_TOP1_BG */
#top {
    background-image: linear-gradient(#FFA4A4 70%, #FFEBEB 90%, #023E8D);
    background-repeat: no-repeat;
}

/* Textfarbe in Topbar */
#top .navbar-text {
    color: #023E8D !important;
}

/* Link normal */
#top .navbar-text a {
    color: inherit;
    text-decoration: none;
    transition: color .35s ease;
}

/* Nur der Link bekommt Hover */
#top .navbar-text a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* Topbar über Header-Overlay legen */
#top {
    position: relative;
    z-index: 10;
}

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

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 35%;
  }
}

@media (min-width: 768px) {
  .col-md-9 {
    flex: 0 0 auto;
    width: 65%;
  }
}

/* Logobar – Grundfarbe */
#logobar .nav-link,
#logobar .nav-link span,
#logobar .nav-link i {
    color: #023E8D !important;
}

/* Logobar – Hover */
#logobar .nav-link:hover,
#logobar .nav-link:hover span,
#logobar .nav-link:hover i {
    color: #001F54 !important;
}

/* Logobar – aktive Seite */
#logobar .nav-link.active,
#logobar .nav-link.active span,
#logobar .nav-link.active i {
    color: #8B0000 !important;
    font-weight: 600;
}

#logobar button.nav-link {
    color: #023E8D !important;
}

#logobar button.nav-link:hover {
    color: #001F54 !important; /* gleiche Hover-Farbe wie oben */
}

#logobar button.nav-link.active {
    color: #D00000 !important; /* gleiche Active-Farbe */
}

.logos {
	background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.10) 0%,   /* links 10% */
	rgba(255, 255, 255, 0.20) 20%,   /* links 20% */
	rgba(255, 255, 255, 0.50) 50%,   /* links 20% */
    rgba(255, 255, 255, 0.85) 100%  /* rechts 85% */
	);
}

#layout_footer {
    background: linear-gradient(#FFA4A4 60%, #FFEBEB 94%, #023E8D) !important;
    color: #023E8D !important; /* Grundfarbe wie Logobar */
    border-top: none !important;
}

#layout_footer,
#layout_footer .box-heading,
#layout_footer .box_sub,
#layout_footer a,
#layout_footer .navbar-brand {
    color: #023E8D !important;
    text-decoration: none;
    transition: color .35s ease;
}

#layout_footer a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

#layout_footer .box-heading {
    color: #023E8D !important;
    text-decoration: none !important;
}

#layout_footer .box_sub a {
    display: block;
    padding: 2px 0;
}

#layout_footer .mod_copyright {
    color: #023E8D !important;
    opacity: 0.9;
}

#layout_footer_inner > div {
    min-height: 100px;          /* verhindert Zusammenfallen */
    max-height: 300px;          /* begrenzt die Höhe */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;           /* verhindert Überlauf */
}

.content_box_payment {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.content_box_payment span img {
    width: 100px;
    opacity: 0.7;
    transition: opacity .4s ease;
}

.content_box_payment span img:hover {
    opacity: 1;
	filter: grayscale(0%);
}

.content_box_payment > span img {
  filter: grayscale(50%);
}

/* Social Icons – Container */
.content_box_social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* Links neutralisieren */
.content_box_social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
	border-radius: 12px; 
    background: transparent;
    border: none;
}

/* Bilder */
.content_box_social img {
    width: 40px;
    height: auto;
    opacity: 0.5;
	border-radius: 12px;
    transition: opacity .6s ease, transform .8s ease-in-out;
}

/* Hover: klar + drehen */
.content_box_social a:hover img {
    opacity: 1;
    transform: rotate(360deg);
}

/* Footer Überschrift wieder fett & sichtbar */
#layout_footer .box-heading {
    font-weight: 700 !important;
    font-size: 1.1rem;
    color: #023E8D !important;
    border-bottom: 2px solid #023E8D !important;
    padding-bottom: 6px;
    margin-bottom: 2px;
}

#layout_footer .mod_copyright {
    padding-bottom: 0px !important;
}

/* Copyright-Bereich */
.copyright {
  margin: -20px 0 0 0;
  min-height: 20px;
}

/* Text */
#layout_footer .footer-copy {
    font-size: 0.65rem;
	font-weight: 600;
    color: #e72f2f !important;
    text-align: center;
}

/* Link – schlägt #layout_footer a */
#layout_footer .footer-copy-link {
    color: #e72f2f !important;
    text-decoration: none !important;
    font-weight: 600;
}

/* Hover – schlägt #layout_footer a:hover */
#layout_footer .footer-copy-link:hover {
    color: #b30000 !important;
    text-decoration: none !important;
}

#account,
#settings {
	z-index:2000;
}

#container1 {
    position: relative;
    z-index: 2000;
}

#suggestions {
    position: absolute;
    z-index: 3000;
}

#container1 {
    background-image: url('../img/header-background.png'); /*header-background.png - top_logo.png*/
    background-size: cover;        /* Bild immer auf volle Breite */
    background-repeat: no-repeat;  /* keine Wiederholung */
    background-position: top center; /* oben fixiert */
    height: 200px;                 /* gewünschte Höhe */
    display: flex;
    align-items: center;           /* Inhalt vertikal zentrieren */
    padding: 0;                    /* optional: Innenabstand entfernen */
}

#container1::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#container1 > .container-xxl {
    position: relative;
    z-index: 1;
}

#nav_container {
    position: relative;
    z-index: 1000;
}

#nav_container {
    background: linear-gradient(to bottom, #023E8D 0%, #FFEBEB 5%, #FFA4A4 20%, #FFA4A4 80%, #FFEBEB 95%, #023E8D 100%) !important;
    border-top: none !important;
    border-bottom: none !important;
}

#nav_container .nav-link {
    font-size: 0.9rem !important;   /* kleiner */
    font-weight: 600;
    color: #023E8D !important;      /* wie Footer */
    transition: color .3s ease;
}

#nav_container .nav-link:hover {
    color: #ffffff !important;
}

#nav_container .nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important;
}

#nav_container .dropdown-menu {
    background: linear-gradient(to bottom, #023E8D 0%, #FFEBEB 5%, #FFA4A4 20%, #FFA4A4 80%, #FFEBEB 95%, #023E8D 100%) !important;
    border: none !important;
}

#nav_container .dropdown-item {
    color: #023E8D !important;
    font-size: 0.9rem;
}

#nav_container .dropdown-item:hover {
    background: #023E8D !important;
    color: #ffffff !important;
}
/*
.zoom-effect {
  transition: transform 0.4s ease;
}

.overflow-hidden:hover .zoom-effect {
  transform: scale(1.1); 
}
*/
.zoom-hover {
    cursor: zoom-in;
}

/*.zoom-hover:hover {
    transform: scale(1.25);
}*/

.zoom-wrapper {
    display: inline-block;
    overflow: hidden;
    border-radius: 6px; /* optional, für runde Ecken */
}

.zoom-wrapper img {
    display: block;
}

.zoom-wrapper img {
    transition: transform .45s cubic-bezier(0.33, 1, 0.68, 1),
                filter .45s cubic-bezier(0.33, 1, 0.68, 1);
}

.zoom-wrapper img.zoom-hover:hover {
    transform: scale(1.25);
    filter: brightness(1.05) contrast(1.01);
}

.bg-secondary-subtle {
	background-color: #FFA4A4 !important;
}

.nav-close-button, .hc-offcanvas-nav a.nav-next {
	color: var(--bs-btn-hover-color);
	background-color: var(--bs-btn-hover-bg);
	border-color: #FFA4A4 !important;
}

.nav-close:hover, .hc-offcanvas-nav a.nav-next:hover {
	color: #FFF !important;
	font-weight: 700 !important;
}

.nav-close-button, .hc-offcanvas-nav a.nav-next {
	color: var(--bs-btn-hover-color);
	background-color: var(--bs-btn-hover-bg);
	border:none !important;
}

.nav-title {
	background: linear-gradient(#FFA4A4 60%, #FFDADA 100%) !important;
}

.nav-content {
	background: linear-gradient(#FFA4A4 90%, #FF8C8C 100%) !important;
}

.hc-offcanvas-nav .nav-item-link, .hc-offcanvas-nav li.nav-close a, .hc-offcanvas-nav .nav-back a {
	color: #023E8D !important;
}

a.nav-item-link:hover, .nav-content .nav-back-button a:hover {
	color: #8B0000 !important;
}

.nav-title, .nav-close-button, .hc-offcanvas-nav a.nav-next, a.nav-item-link, .nav-back-button  {
	color: #023E8D !important;
	font-weight: 700 !important;
}

#scrollSensor {
    position: absolute;
    bottom: 0;
    width: 1px;
    height: 1px;
}

.go2top {
    background: linear-gradient(#FFA4A4 50%, #FFEBEB 100%);
    background-color: #FFEBEB; /* Basisfarbe, verhindert Durchscheinen */
    background-clip: padding-box; /* verhindert Transparenz nach außen */

    color: #023E8D;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    right: 15px;
    bottom: 15px;

    z-index: 20;
}

.go2top:hover {
    background: linear-gradient(#FF8C8C 50%, #FFDADA 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.go2top-ring {
    position: fixed;

    /* 6px weiter nach rechts und unten */
    right: 9px;   /* 15px - 6px */
    bottom: 9px;  /* 15px - 6px */

    width: 60px;
    height: 60px;
    border-radius: 50%;

    background: conic-gradient(
        #023E8D var(--progress),
        transparent 0deg
    );

    z-index: 10;
    pointer-events: none;
}

.go2top-mask {
    position: fixed;
    right: 15px;
    bottom: 15px;

    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;

    z-index: 15; /* zwischen Ring und Button */
    pointer-events: none;
}

.go2top,
.go2top-mask,
.go2top-ring {
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
}

.go2top.visible,
.go2top-mask.visible,
.go2top-ring.visible {
    opacity: 1;
}

.mini-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 48px;
    background: white;
    border-bottom: 1px solid #ddd;

    display: flex;
    align-items: center;
	justify-content: center;
    /*justify-content: space-evenly;  ← perfekte Abstände */

    opacity: 0;
    transform: translateY(-100%);
    transition: opacity .25s ease, transform .25s ease;

    z-index: 99999;
}

.mini-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.mini-nav .mini-logo {
    height: 28px;
    margin-right: 10px;
}

.mini-nav .mini-item {
    color: #023E8D;
    font-size: 20px;
	transition: color .2s ease, transform .2s ease;
    text-decoration: none;
}
.mini-nav .mini-item:hover {
	transform: scale(1.2);
    color: #001F54; /* etwas dunkler */
}
.mini-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #dc3545; /* rot */
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    line-height: 1;
}

.mini-nav-limit {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;

    display: flex;
    justify-content: space-between; /* ← DIE LÖSUNG */
    align-items: center;
}

.mini-nav {
    will-change: transform;
}

.bg-secondary-subtle {
  background-color: #FFA4A4 !important;
}

/* Rechte Sticky Navbar */
.right-sticky-nav {
    position: fixed;
    top: 51%;
    right: 0;
    transform: translateY(-49%);

    display: flex;
    flex-direction: column;
    gap: 2px;

    z-index: 99998; /* knapp unter Mini-Nav */
}

/* Buttons */
.right-sticky-nav .rsn-item {
    width: 44px;
    height: 44px;

    background: #8B0000; /*#023E8D;*/
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px 0 0 6px;
    text-decoration: none;

    transition: background .2s ease, transform .2s ease;
}

.right-sticky-nav .rsn-item:hover {
	color: darkblue;
    background: #FFA4A4; /*#001F54;*/
    transform: translateX(-4px);
}

/* Icons */
.right-sticky-nav i {
    font-size: 30px;
}

/* Nur Desktop sichtbar */
@media (max-width: 991px) {
    .right-sticky-nav {
        display: none;
    }
}
