/* ############# Grundlegendes #############  */
:root {
    --bs-body-font-family: 'Open Sans', sans-serif;
    --brand-dark: #2D3748;   /* Dunkles Grau-Blau */
    --brand-accent: #dd7f27;
    --brand-light: #F7FAFC;  /* Heller Hintergrund */
    --bg-middle-grey: #e9ecef;
}

body {
    color: var(--brand-dark);
    padding-top: 60px; /* Platz für die fixierte Navbar */
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Smooth Scrolling für One-Pager */
html {
    scroll-behavior: smooth;
}

/* ---- Custom Buttons ---- */
.btn-brand {
    background-color: var(--brand-dark);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-brand:hover {
    background-color: #1a202c;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-brand {
    background-color: transparent;
    border: 1px solid #cbd5e0;
    color: var(--brand-dark);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-brand:hover {
    background-color: #f8f9fa;
    border-color: var(--brand-dark);
}

.btn-cookie-brand{
    background-color: var(--brand-accent);
    color: #fff;
}

/* ---- Section Abstände ---- */
section {
    padding: 80px 0;
}
/* Erhöht den Abstand zum oberen Rand beim Springen zu einem Anker */
section[id] {
    scroll-margin-top: 40px;
}

/* ############# Navbar Styling #############  */
/* svg {
  height: 40px;
} */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-link {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #718096 !important;
    margin-left: 1rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-accent) !important;
}

/* ############# Situationen ############# */    
/* Service Cards Hover Effekt */
.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #edf2f7;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* ############# Konzept, Methode ############# */
#method, #testimonials {
    background-color: var(--bg-middle-grey);
}

/* Methode Section Styles */
.method-card {
    border-left: 4px solid var(--brand-accent);
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.text-ba {
    color: var(--brand-accent);
}

/* ############# Trainingsformate ############# */
#services li {
    margin-left: 25px;
    text-indent: -10px;
}

/* ############# About   ############# */

/* Badge Styling */
.experience-badge {
    position: absolute;
    bottom: 20px;
    left: -10px;
    background-color: var(--brand-accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    min-width: 110px;
    max-width: 45%;
    z-index: 10;
}

@media (max-width: 576px) {
    .experience-badge {
        left: 10px;
    }
}

/* ############# Referenzen, Logos   ############# */

#testimonials{
    background-color: var(--bg-middle-grey);
}
/* 1. Animation verlangsamen */


#logoSlider .carousel-item {
    transition: transform 1.5s ease-in-out !important;
}

/* 2. Logo Styling */
.logo {
}

/* Die Pfeile nach außen schieben */
/* Invert = Pfeile schwarz */
.custom-nav {
    width: 40px !important;
    filter: invert(1); 
}

.carousel-control-prev.custom-nav {
    left: -10px; 
}

.carousel-control-next.custom-nav {
    right: -20px; 
}

/* 2. Sanfter Übergang */
#partnerCarousel .carousel-item {
    transition: transform 1.2s ease-in-out !important;
}

/* 3. Logo & Container Styling */
.logo-box {
    height: 120px;
}

.logo-style {
    max-height: 60px;
    max-width: 80%;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.logo-style:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Verhindert Überlappung auf ganz kleinen Bildschirmen */
@media (max-width: 576px) {
    .px-5 { padding-left: 2rem !important; padding-right: 2rem !important; }
}



/* ############# Galerie  ############# */
/* Container Styling */
.gallery-wrapper {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
    transition: filter 0.2s ease; /* Transition*/
}

.img-container {
    position: relative;
    overflow: hidden;
    /* (3:2 Format) */
    aspect-ratio: 3 / 2; 
}

.custom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Das Overlay: Permanent sichtbar */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* KORREKTUR: Optimierter Verlauf für bessere Lesbarkeit des weißen Textes */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
    padding: 30px 15px 15px 15px; 
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.overlay-content {
    width: 100%;
}

.badge-text {
    display: inline-block;
    background-color: #dd7f27;
    color: white;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    border-radius: 3px;
}


.gallery-overlay h5 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.gallery-wrapper:hover {
    filter: brightness(1.1);
}

/* GLightbox Beschriftungs-Styling */
.glightbox-container .gdescription-config {
    background: #f8f9fa !important;
    border-left: 4px solid #dd7f27;
}

.glightbox-container .gslide-title {
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px !important;
    color: #dd7f27 !important;
    font-weight: 600 !important;
}

.glightbox-container .gslide-description {
    color: #6c757d !important;
    line-height: 1.4;
}

/* ############# Referenzen ############# */
.fst-italic {
    hyphens: auto;
}
.fst-italic-en{
    hyphens: none;
}


/* ############# FAQ ############# */
/* Accordion Anpassung an die Accent-Farbe */
.accordion-button:not(.collapsed) {
    background-color: rgba(194, 193, 193, 0.1);
    color: var(--brand-accent) !important;      /* Textfarbe bei Aktivierung */
}

.accordion-button:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 0.25rem rgba(187, 186, 185, 0.25); /* Sanfter Fokus-Ring */
}

/* Ändert die Farbe des kleinen Pfeils (SVG-Icon) */
.accordion-button::after {
    filter: grayscale(1) brightness(0.5); /* Standard-Look */
}

.accordion-button:not(.collapsed)::after {
    /* Dieses Filter-Set färbt das schwarze Standard-Icon in deine Accent-Farbe ein */
    filter: none;
    /* Falls der Accent Orange ist, nutzt Bootstrap meist den Standard.
    Alternativ : */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ea8c2f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ---- Kontakt ---- */
#contact{
    background-color: var(--brand-accent); 
    color: white;
}
