html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

@media (max-width: 959px) {
    html {
        scroll-padding-top: 80px;
    }
}

h2,
.uk-h2,
.footer-heading,
.aktuelles-label,
.fitness-label {
    text-transform: uppercase !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
}

.darkblue {
  color: #1e3d59;
}

.nav {
	position: absolute;
	top: 15px;
	z-index: 99;
	left: 0;
	right: 0;
}

.darkgreen {
  color: #326453;
}
.uk-sticky-placeholder {
	height: 0 !important;
}
.top-wrap::before, .overlay-wrap::before {
	position: absolute;
	top:0;
	right:0;
	left: 0;
	bottom: 0;
	content: '';
	z-index: 1;
	/* background-color: rgba(0,0,0,0.5); */
}
.top-wrap-height {
	height: 80vh;
	min-height: 460px;
	transition: height 0.25s;
}
.uk-subnav-pill > * > :first-child {
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.04);
}
.top-container {
	z-index: 2;
}
.uk-logo img {
	height: 38px;
}
.subtitle-text {
	font-size: 1.2em;
	opacity: 0.7;
	font-weight: 300;
}
.logos-grid img {
	display: block;
	width: 60px;
	margin: 0 auto;
	filter:  grayscale(100%);
	transition: filter 0.25s;
}
.logos-grid img:hover {
	display: block;
	width: 60px;
	margin: 0 auto;
	filter:  grayscale(0);
}


/* 1. Obere Linie: Blau */
.uk-navbar-toggle svg .line-1 {
    fill: #1e3d59 !important;
		height: 3px !important;
}

/* 2. Mittlere Linien: Orange */
/* UIkit nutzt line-2 und line-3 für die Mitte (für die X-Animation) */
.uk-navbar-toggle svg .line-2,
.uk-navbar-toggle svg .line-3 {
    fill: #ff6e40 !important;
		height: 3px !important;
}

/* 3. Untere Linie: Blau */
.uk-navbar-toggle svg .line-4 {
    fill: #1e3d59 !important;
		height: 3px !important;
}




/* Raleway – lokal (TTF) */

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* Einheitliches Styling für eingefügte Icons */
.accordion-icon {
  width: 40px;         /* Icon-Größe anpassen */
  object-fit: contain; /* Bild bleibt sauber */
  margin-right: 8px;   /* Abstand zum Text */
  vertical-align: middle;

}

/* Optional: Titel vertikal mittig ausrichten */
.uk-accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* moderner Abstand statt margin-right */
}


.leistungen {
 border-top: 1px solid #ff6e40;


	padding-top: 1rem;
	padding-bottom: 1rem;
}

.last {
	border-bottom: 1px solid #ff6e40;
}

.uk-accordion-icon {
	color: #ff6e40;
display: flex;
    justify-content: space-between;
    align-items: center;

}


/* Scroll Arrow nach erstem Teambild (nur Mobile) */
.team-scroll-arrow {
    grid-column: 1 / -1; /* Volle Breite über alle Spalten */
    text-align: center;
    animation: bounce 2s infinite;
}


/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Team-Bilder */
.team-card .uk-card-media {
    overflow: hidden;
    background: #f8f9fa;
}

.team-card .uk-card-media img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card .uk-card-media:hover img {
    transform: scale(1.05);
}

/* Responsive Order */
@media (min-width: 960px) and (max-width: 1199px) {
    .team-card { order: var(--order-3col, 999); }
}
@media (min-width: 1200px) and (max-width: 1599px) {
    .team-card { order: var(--order-4col, 999); }
}
@media (min-width: 1600px) {
    .team-card { order: var(--order-5col, 999); }
}
@media (max-width: 959px) {
    .team-card { order: initial; }
}



//* ============================================
   AKTUELLES SECTION - uk-section-secondary
   ============================================ */

.aktuelles-section {
    position: relative;
    overflow: hidden;
}

/* Optional: Dezentes Pattern über secondary background */
.aktuelles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Badge */
.aktuelles-badge {
    font-size: 0.875rem;
    padding: 8px 20px;
    border-radius: 50px;
    background: #faa05a;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(250, 160, 90, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/*
.aktuelles-section .uk-heading-small {
    color: #1d00af;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
} */

/* Card */
.aktuelles-card {
    background: #f5f0e1;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    height: 100%;
}

.aktuelles-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    background: #f5f0e1 !important;
}

/* Ribbon "NEU" */
.aktuelles-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #ff6e40;
    color: #fff;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 3px 10px rgba(240, 136, 80, 0.4);
}

/* Image */
.aktuelles-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.aktuelles-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.aktuelles-card:hover .aktuelles-image {
    transform: scale(1.15) rotate(2deg);
}

.aktuelles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.aktuelles-card:hover .aktuelles-overlay {
    opacity: 1;
}

/* Card Body */
.aktuelles-card .uk-card-body {
    padding: 25px;
}

.aktuelles-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #1e3d59;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 5px 12px;
    background: rgba(30, 135, 240, 0.1);
    border-radius: 20px;
}

.aktuelles-title {
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #666 !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aktuelles-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer */
.aktuelles-footer {
    background: #f8f9fa;
    padding: 20px 25px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.aktuelles-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.aktuelles-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Slider Navigation - angepasst für dunklen Hintergrund */
.aktuelles-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #222 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 5;
}

.aktuelles-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.aktuelles-nav-left {
    left: -25px;
}

.aktuelles-nav-right {
    right: -25px;
}

/* Dots - Weiß auf dunklem Hintergrund */
.aktuelles-section .uk-dotnav > * > * {
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    width: 12px;
    height: 12px;
}

.aktuelles-section .uk-dotnav > .uk-active > * {
    background: #fff;
    transform: scale(1.3);
    border-color: #fff;
}

/* Responsive */
@media (max-width: 959px) {
    .aktuelles-section {
        padding: 60px 0;
    }

    .aktuelles-image-wrapper {
        height: 200px;
    }

    .aktuelles-card .uk-card-body {
        padding: 20px;
    }

    .aktuelles-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 639px) {
    .aktuelles-ribbon {
        font-size: 0.625rem;
        padding: 4px 35px;
    }
}




/* ============================================
   FOOTER SECTION
   ============================================ */

.footer-section {
    position: relative;
    color: rgba(255,255,255,0.8);
}

/* Headings */
.footer-heading {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-subheading {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Text */
.footer-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Logo */
.footer-logo {

    margin-top: 20px;


}

.footer-logo:hover {
    opacity: 1;
}

/* Lists */
.footer-list {
    padding-left: 0;
}

.footer-list > li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-list > li > span[data-uk-icon] {
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-list > li > div {
    flex: 1;
}

/* Hours */
.footer-hours > li {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-hours > li:last-child {
    border-bottom: none;
}

/* Quicklinks */
.footer-quicklinks > li {
    display: block;
    border-bottom: none;
    padding: 5px 0;
}

.footer-quicklinks > li::before {
    content: '›';
    margin-right: 8px;
    color: #1e87f0;
    font-weight: bold;
}

/* Links */
.footer-link {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    padding-left: 5px;
}

/* Divider */
.footer-divider {
    margin: 40px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 20px;
}

.footer-copyright {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

/* Legal Links - Prominenter */
.footer-legal {
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-link-legal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.footer-link-legal:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-link-legal span[data-uk-icon] {
    color: #1e87f0;
}

/* Back to Top Button */
.footer-totop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.footer-totop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}



/* JavaScript adds this class */
.footer-totop.show {
    opacity: 1;
    visibility: visible;
}

/* Galerie Images */
.gallery-image {
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Lightbox Anpassungen */
.uk-lightbox {
    background: rgba(0,0,0,0.95);
}

.uk-lightbox-items > * > * {
    max-width: 95vw;
    max-height: 95vh;
}



/* Responsive */
@media (max-width: 959px) {
    .footer-section {
        padding: 50px 0;
    }

    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 20px;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-link-legal {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }

    .footer-totop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 639px) {
    .footer-legal {
        flex-direction: column;
        width: 100%;
    }

    .footer-link-legal {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   ZUSÄTZLICHE OPTIMIERUNGEN
   ============================================ */

/* Galerie Section */
.gallery-image {
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Jobs Section */
.job-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.job-card:hover {
    border-left-color: #ff6e40;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.job-type-vollzeit {
    background: #1e87f0;
}

.job-type-teilzeit {
    background: #faa05a;
}

.job-type-minijob {
    background: #32d296;
}

.job-type-ausbildung {
    background: #f0506e;
}

.job-type-praktikum {
    background: #a855f7;
}

/* ============================================
   OFFCANVAS NAVIGATION
   ============================================ */

/* Hintergrund: Blau */
.uk-offcanvas-bar {
    background: #1e3d59 !important;
    padding: 30px 20px;
}

/* Navigation Styling */
.uk-offcanvas-bar .uk-nav-default {
    font-size: 1.1rem;
}

.uk-offcanvas-bar .uk-nav-default > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.uk-offcanvas-bar .uk-nav-default > li:last-child {
    border-bottom: none;
}

.uk-offcanvas-bar .uk-nav-default > li > a {
    color: #ffffff !important;
    padding: 15px 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.uk-offcanvas-bar .uk-nav-default > li > a:hover {
    color: #ff6e40 !important;
    padding-left: 15px;
    background: rgba(255, 110, 64, 0.1);
}

.uk-offcanvas-bar .uk-nav-default > li.uk-active > a {
    color: #ff6e40 !important;
    font-weight: 600;
}

/* Close Button */
.uk-offcanvas-bar .uk-offcanvas-close {
    color: #ffffff !important;
    top: 20px;
    right: 20px;
}

.uk-offcanvas-bar .uk-offcanvas-close:hover {
    color: #ff6e40 !important;
}

/* Overlay */
.uk-offcanvas-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
}


/* Galerie Images - Masonry optimiert */
.gallery-image {
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    height: auto !important; /* Wichtig für Masonry! */
    object-fit: cover;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Masonry Grid: Keine festen Höhen */
[uk-grid*="masonry"] img {
    height: auto !important;
}

/* Border Rounded für Galerie */
.uk-border-rounded {
    border-radius: 8px;
    overflow: hidden;
}

/* Lightbox Styling */
.uk-lightbox {
    background: rgba(0,0,0,0.95);
}

.uk-lightbox-items > * > * {
    max-width: 95vw;
    max-height: 95vh;
}

/* ============================================
   AKTUELLES & JOBS (Aus Snippet migriert)
   ============================================ */

.aktuelles-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #f5f0e1 !important;
}

.aktuelles-card .uk-card-body {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.aktuelles-footer {
    background: transparent !important;
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: auto !important;
}

.aktuelles-button-orange {
    background: #ff6e40 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(255, 110, 64, 0.2) !important;
}

.aktuelles-button-orange:hover {
    background: #e55b2b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(255, 110, 64, 0.3) !important;
    color: #fff !important;
}

.job-modal-dialog {
    border-radius: 15px !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 800px !important;
    max-width: 95vw !important;
    background: #fff !important;
}

.job-modal-footer {
    padding: 30px 40px !important;
    background: transparent !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

/* ============================================
   GALERIE (Aus Snippet migriert)
   ============================================ */

.gallery-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

#gallery {
    overflow-x: hidden;
}


/* Optimierung für Mobile Landscape (niedrige Bildschirmhöhe) */
@media (max-height: 500px) and (orientation: landscape) {
    .top-container {
        margin-top: 60px !important; /* Schiebt Inhalt unter das Menü */
    }
    .top-container img[alt="PhysioConcept Logo"] {
        max-width: 250px !important; /* Verkleinert das Logo */
        height: auto !important;
    }
    .top-container h1 {
        font-size: 1.5rem !important; /* Verkleinert die Headline */
        margin-top: 10px !important;
    }
    .top-container h3 {
        display: none !important; /* Versteckt Unterzeile für mehr Platz */
    }
    .top-wrap-height {
        height: 100vh !important; /* Nutzt vollen Platz in Landscape */
        min-height: 320px !important;
    }
}



/* Entfernt den gepunkteten Rahmen beim Klicken auf das Menü oder Buttons */
.uk-navbar-toggle:focus,
.uk-navbar-toggle:active,
button:focus,
a:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Speziell für das Hamburger-Icon */
.uk-navbar-toggle-icon {
    outline: none !important;
}
