/* Variables & Reset */
:root {
    --primary-color: #2563eb;
    /* Modern Blue */
    --primary-dark: #1e40af;
    /* Fresh Green for garden/nature vibes */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
	text-transform: uppercase;
}

.zam {
    font-family: 'Reenie Beanie', sans-serif;

}

a {
    /*text-decoration: none;*/
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

p {
	margin: 0 0 20px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

#start {
	padding-top: calc(var(--header-height) + 60px);
	padding-bottom: calc(var(--header-height) + 50px);
}

#highlights,
#schnuppertraining,
#teams,
#staff,
#standort-zahna,
#standort-abtsdorf,
#standort-muehlanger,
#news,
#standorte {
	padding-top: calc(var(--header-height) + 30px);
	padding-bottom: calc(var(--header-height) + 15px);
}

/* Header */
.header {
    background-color: rgba(43, 43, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.abtsdorf {
	background-color: yellow;
	color: darkblue;
}

.news {
	background: #25D366;
	color: #fff;
}

.staff,
.standorte {
	background-color: lightgrey;
	color: #666;
}


.zahna {
	background-color: black;
	color: #fff;
}

.muehlanger {
	background-color: darkblue;
	color: #fff;
}

.teams {
	background-color: black;
	color: white;
}

.highlights {
	background-color: lightgrey;
	color: #666;
}


.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.nav-list {
    display: flex;
    gap: 10px;
}

.nav-link {
    font-weight: 800;
    color: #fff;
    position: relative;
	padding: 0.2rem 0.5rem;
}

.main-nav .nav-link {
	border: 2px solid #fff;
}

.shop-nav .nav-link {
	border: 2px solid #ffa500;
	background: #ffa500;
	transition: .2s linear;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background-color: #fff;
	color: #2b2b2a;
}

.shop-nav .nav-link:hover {
	color: #fff;
	transform: scale(1.2);
}


/* Footer */
.footer {
    background: rgba(43,42,42,0.95);
    color: #f3f4f6;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #9ca3af;
}

.footer ul li a:hover {
    color: var(--white);
}

.footer .sponsoren img {
	filter: grayscale(100%) brightness(80%);
	transition: .2s linear;
}

.footer .sponsoren img:hover {
	filter: grayscale(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
	margin-top: 30px;
}

.card{
    margin: 0 .5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

.card-body {
	height: 240px;
	padding: .5rem;
}



.btn-outline-primary {
	color: darkblue;
	border-color: darkblue;
}

.btn-outline-primary:focus,
.btn-outline-primary:hover {
	background-color: darkblue;
	border-color: darkblue;
}

.carousel-caption {
	background: rgba(0, 0, 0, 0.5);
	left: 0;
	right: 0;
	bottom: 0;
}

/* Carousel heading */
.heading {
  display: block;
  text-align: center;
}

/* Container for the entire carousel */
.multi-carousel-container {
  cursor: grab;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
}

/* Cursor styles for dragging */
.multi-carousel-container.dragging,
#multiCarousel.dragging {
  cursor: grabbing;
}

/* Wrapper for all slides */
.multi-carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual slide */
.multi-carousel-item,
.clone {
  box-sizing: border-box;
  flex: 0 0 25%;
  padding: 0 5px;
  position: relative; /* Essential for item-number positioning */
}

.multi-carousel-item {
}

/* Control buttons */
.carousel-control-next,
.carousel-control-prev,
.multi-carousel-control-prev,
.multi-carousel-control-next {
	align-items: center;
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	position: absolute;
	text-decoration: none;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color 0.3s ease;
	width: 40px;
	z-index: 10;
}

.multi-carousel-control-prev:hover,
.multi-carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control-next,
.carousel-control-prev {
	border: 1px solid #fff;
}


.carousel-control-next:hover,
.carousel-control-prev:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-control-prev,
.multi-carousel-control-prev {
  left: -50px;
}

.carousel-control-next,
.multi-carousel-control-next {
  right: -50px;
}

/* Image container with dynamic height */
.img-container {
  overflow: hidden;
  position: relative;
}

/* Image styling */
.img-container img,
#carouselInner img {
  object-position: top;
  pointer-events: none;
  user-drag: none;
  width: 100%;
  -webkit-user-drag: none;
  transition: transform 0.3s ease;
}

.img-container:hover img {
  transform: translateZ(0) scale(1.02);
}


/* Carousel cursor styling */
#multiCarousel {
  cursor: grab;
  touch-action: pan-y;
}

/* Disable text selection during drag */
#multiCarousel.dragging {
  user-select: none;
  -webkit-user-select: none;
}

/* Responsive adjustments for screens smaller than 720px (45em) */
@media (max-width: 45em) {
  .multi-carousel-item,
  .clone {
    flex: 0 0 100%;
  }


.offcanvas li {
	padding: .75rem 0;
	border-bottom: 1px solid #9ca3af;
}

.footer a,
.offcanvas a {
	text-decoration: none;
}

.btn-close {
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        padding: 100px 40px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .about-content,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .visual-box {
        height: 250px;
    }
	
	.whatsapp a,
	.standort_links a {
		width: 100%;
	}
	
	.carousel-control-prev,
	.multi-carousel-control-prev {
	  left: 5px;
	}

	.carousel-control-next,
	.multi-carousel-control-next {
	  right: 5px;
	}
	
	#highlights,
	#schnuppertraining,
	#teams,
	#staff,
	#standort-zahna,
	#standort-abtsdorf,
	#standort-muehlanger,
	#news,
	#standorte {		
		padding-top: calc(var(--header-height) + 10px);
		padding-bottom: calc(var(--header-height) + 10px);
	}
	
	#start {
		padding-top: 90px;
		padding-bottom: 30px;
	}
	
	.footer h5 {
		margin-bottom: 10px;
	}
	
	.footer ul li {
	  margin-bottom: 5px;
	}
	
	.carousel-item img {
        width:100%;
        height:350px;
        object-position: center;
        object-fit: cover;
	}
	
	.carousel-caption {
		position: relative !important;
		text-align: left;
		padding-bottom: 0;
		background-color: white;
		color: black;
		padding: .5rem;
	}
	
	.logo-header img {
		width: 40px !important;
	}
	
	img.responsive {
		height: 400px;
		object-fit: cover;
	}
	
}