/* ============================================
   HERO SECTION - CLEAN & MINIMAL
   ============================================ */

/* Body und HTML für echten Fullscreen */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scroll-Offset für Anchor-Links */
section,
#start,
#leistungen,
#galerie,
#ueber-uns,
#karriere,
#kontakt {
    scroll-margin-top: 190px; /* Desktop - erhöht */
}

@media (max-width: 1170px) {
    section,
    #start,
    #leistungen,
    #galerie,
    #ueber-uns,
    #karriere,
    #kontakt {
        scroll-margin-top: 110px; /* Header + kleiner Puffer */
    }
}

@media (max-width: 768px) {
    section,
    #start,
    #leistungen,
    #galerie,
    #ueber-uns,
    #karriere,
    #kontakt {
        scroll-margin-top: 90px;
    }
}


/* DESKTOP NAVBAR - NUR FÜR DESKTOP (ab 1171px) */
nav,
#navbar {
    background: #ffffff;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    transition: border-color 0.4s ease;
    height: 130px;
    display: none; /* Versteckt bis 1171px */
    transform: translateY(0);
}

@media (min-width: 1171px) {
    nav,
    #navbar {
        display: block !important;
    }
}

nav.scrolled,
#navbar.scrolled {
    border-bottom-color: #95a5a6;
    box-shadow: none;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

.logo {
    height: 86px;
    width: auto;
}

.nav-container > a {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: stretch;
    height: 100%;
    margin: 0;
}

.nav-links li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: #1E4D8B;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-links a:hover {
    background: #1E4D8B;
    color: #ffffff;
}

.nav-links a:hover::after {
    opacity: 1;
}

.icon-link svg {
    width: 20px;
    height: 20px;
}

/* MOBILE HEADER - NUR FÜR MOBILE (bis 1170px) */
.mobile-header {
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10002;
    display: none;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    pointer-events: auto;
}

@media (max-width: 1170px) {
    .mobile-header {
        display: flex !important;
    }
}

@media (min-width: 1171px) {
    .mobile-header {
        display: none !important;
    }
}

.mobile-header .logo {
    height: 55px;
    transition: opacity 0.3s ease;
}

.mobile-header.menu-active .logo {
    opacity: 0;
}

.mobile-header.menu-active {
    background: transparent;
    border-bottom: none;
}

.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10003;
    position: relative;
    margin-left: auto;
}

.mobile-icon-link {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.mobile-icon-link svg {
    width: 24px;
    height: 24px;
}

.mobile-header.menu-active .mobile-icon-link {
    color: #ffffff;
}

/* Hamburger Button */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: 10003;
}

@media (min-width: 1171px) {
    .hamburger {
        display: none !important;
    }
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: #2c3e50;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 8px;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 8px;
}

.hamburger.active span {
    background: #ffffff;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9998;
}

@media (max-width: 1170px) {
    .mobile-overlay {
        display: block;
    }
}

@media (min-width: 1171px) {
    .mobile-overlay {
        display: none !important;
    }
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

@media (max-width: 1170px) {
    .mobile-menu {
        display: flex;
    }
}

@media (min-width: 1171px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    display: block;
    padding: 0.7rem 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero {
    height: 100vh;
    min-height: 100vh;
    background-image: url('physiotherapie_eduard_fritz_hero_image.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    margin-top: 110px; 
}



@media (min-width: 769px) and (max-width: 1170px) {
    .mobile-header {
        height: 96px;
    }

    .hero {
        margin-top: 96px;
        height: calc(100vh - 96px);
        min-height: calc(100vh - 96px);
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-top: -60px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero,
.hero h1,
.hero-subtitle {
    text-align: center;
}
/* Cleaner Gradient */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    z-index: 1;
    pointer-events: none;
}

/* Google Review Badge */
.review-box {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
}

.g-logo {
    width: 18px;
    height: 18px;
}

.star-row {
    display: flex;
    gap: 2px;
}

.star-icon {
    color: #fbbf24;
    font-size: 0.9rem;
}

.star-icon.half {
    opacity: 0.4;
}

.review-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

/* Title */
.hero-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 4.8rem;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(11, 26, 43, 0.8);
    max-width: 600px;
    margin-bottom: 3rem;
    text-shadow: 0 6px 16px rgba(11, 26, 43, 0.12);
}

/* CTA Buttons */
.hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.5rem;
    justify-content: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.3rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Primary CTA */
.hero-cta-primary {
    background: #2f80ed;
    color: #ffffff;
    border: 2px solid #2f80ed;
    box-shadow: none;
}

.hero-cta-primary:hover {
    background: #1f6ed8;
    border-color: #1f6ed8;
    box-shadow: none;
}

/* Secondary CTA */
.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.85);
}

.hero-corner-badge {
    position: absolute;
    left: clamp(16px, 3vw, 40px);
    right: auto;

    bottom: clamp(36px, 8vw, 96px);
    
    color: #ffffff;
    padding: clamp(20px, 3.2vw, 48px) clamp(18px, 3vw, 44px);
    width: clamp(260px, 42vw, 520px);
    max-width: calc(100% - 32px);
    text-align: left;
    z-index: 2;
    background: rgba(90, 96, 105, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    box-shadow: 0 10px 22px rgba(10, 12, 16, 0.18);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.hero-corner-kicker {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-corner-title {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    font-weight: 500;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero-badge-actions {
    margin-top: clamp(16px, 2vw, 22px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badge-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    gap: 10px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-badge-cta-primary {
    background: #ffffff;
    color: #1f2a44;
    border: 2px solid #ffffff;
}

.hero-badge-cta-primary:hover {
    background: #e9eef6;
    border-color: #e9eef6;
}

.hero-badge-cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-badge-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

.hero-cta-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.cta-mobile {
    display: none;
}

@media (max-width: 767px) {
    .cta-desktop {
        display: none;
    }

    .cta-mobile {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .hero-corner-badge {
        left: 12px;
        right: 12px;
        bottom: 120px;
        width: auto;
    }

    .hero-corner-kicker {
        letter-spacing: 0.16em;
    }
}


@media (max-width: 1024px) {
    .hero {
        flex-wrap: wrap;
    }

    .hero-content {
        width: 100%;
        margin-top: -30px;
    }

}

@media (min-width: 1025px) {
    .hero h1 {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.2rem;
    }

}


/* ==========================
   EINHEITLICHE H2 ÜBERSCHRIFTEN FÜR ALLE SECTIONS
========================== */

/* Alle H2 Überschriften */
#leistungen h2,
#galerie .galeriboersefritz h2,
#kontakt .section-header h2,
.karriere .section-header h2,
.faq-section h2,
.reviews-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;
}

/* Schwarzer Unterstrich für alle H2 */
#leistungen h2::after,
#galerie .galeriboersefritz h2::after,
#kontakt .section-header h2::after,
.karriere .section-header h2::after,
.faq-section h2::after,
.reviews-section .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 6px;
    background-color: #000;
}


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Desktops (1920px+) */
@media (min-width: 1920px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
        background-size: cover;
        background-position: center center;
    }
}

@media (min-width: 1441px) and (max-height: 1200px) {
    .hero-corner-badge {
        bottom: 140px;
        padding: 22px 26px;
        width: 420px;
    }

    .hero-corner-title {
        font-size: 2.8rem;
    }

    .hero-badge-actions {
        margin-top: 14px;
    }

    .hero-badge-cta {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}

/* Standard Desktops (1441px - 1919px) */
@media (min-width: 1441px) and (max-width: 1919px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
        background-size: cover;
        background-position: center center;
    }
}

/* Laptops (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero {
        height: 100vh;
        min-height: 650px;
        background-size: cover;
        padding: 0 6%;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    /* Kontakt Section - 3 Boxen nebeneinander */
    #kontakt .info-boxes-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 100%;
        padding: 0 30px;
    }
    
    .info-box {
        padding: 30px 25px;
    }
    
    .info-box h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .info-box p,
    .info-box a {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Leistungen - volle Breite */
    #leistungen {
        padding-left: 40px;
        padding-right: 30px;
    }
    
    #leistungen h2 {
        padding-left: 40px;
    }
    
    #leistungen h2::after {
        left: 40px;
    }
    
    /* Leistungen Grid - 3 Spalten */
    .leistungen-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0;
        max-width: 100%;
    }
    
    .leistung-card {
        padding: 30px 25px;
    }
    
    .leistung-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .leistung-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Andere Sections mit normalem Padding */
    #galerie,
    #kontakt,
    .karriere,
    .faq-section,
    .reviews-section {
        padding-left: 40px;
        padding-right: 30px;
    }
    
    /* H2 Überschriften optimiert */
    #leistungen h2,
    #galerie .galeriboersefritz h2,
    #kontakt .section-header h2,
    .karriere .section-header h2,
    .faq-section h2,
    .reviews-section .section-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        height: calc(100vh - 96px);
        min-height: calc(100vh - 96px);
        padding: 0 5%;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        margin-top: 96px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
        letter-spacing: -2px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* H2 Überschriften - ALLE linksbündig */
    #leistungen h2,
    #galerie .galeriboersefritz h2,
    #kontakt .section-header h2,
    .karriere .section-header h2,
    .faq-section h2,
    .reviews-section .section-title {
        font-size: 1.8rem;
        padding-left: 0;
        padding-right: 0;
    }
    
    #leistungen h2::after,
    #galerie .galeriboersefritz h2::after,
    #kontakt .section-header h2::after,
    .karriere .section-header h2::after,
    .faq-section h2::after,
    .reviews-section .section-title::after {
        left: 0;
    }

    #galerie .galeriboersefritz h2 {
        margin-left: -40px;
    }

    .karriere .section-header h2 {
        margin-left: -40px;
    }
    
    /* Leistungen Grid - 3 Spalten auf Tablet, volle Breite */
    #leistungen {
        padding-left: 40px;
        padding-right: 30px;
    }
    
    .leistungen-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
    }
    
    .leistung-card {
        padding: 25px 20px;
    }
    
    .leistung-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .leistung-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* TABLET PADDING FÜR ALLE SECTIONS (481px - 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
    /* Alle Hauptsections AUSSER Leistungen */
    #galerie,
    #leistungen,
    #kontakt,
    .karriere,
    .faq-section,
    .reviews-section,
    .team-hero,
    .praxis-hero {
        padding-left: 40px;
        padding-right: 30px;
    }
    
    /* Karriere Boxen */
    .benefits-grid,
    .process-steps,
    .jobs-list {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* FAQ Container */
    .faq-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Reviews Container */
    .reviews-container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Mobile Landscape & Small Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero {
        height: calc(100vh - 80px);
        min-height: calc(100vh - 80px);
        padding: 4rem 5%;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        display: flex;
        align-items: center;
        margin-top: 80px;
    }
    
    .hero::before {
        background: none;
    }
    
    .review-box {
        gap: 0.5rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 2rem;
    }
    
    .g-logo {
        width: 16px;
        height: 16px;
    }
    
    .star-icon {
        font-size: 0.8rem;
    }
    
    .review-label {
        font-size: 0.8rem;
    }
    
    .hero-label {
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: 3rem;
        letter-spacing: -1.5px;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero-cta-row {
        gap: 0.8rem;
    }

    
    /* H2 Überschriften - ALLE auf gleicher Höhe */
    #leistungen h2,
    #galerie .galeriboersefritz h2,
    #kontakt .section-header h2,
    .karriere .section-header h2,
    .faq-section h2,
    .reviews-section .section-title {
        font-size: 1.8rem;
        padding-left: 20px;
        padding-right: 0;
    }
    
    #leistungen h2::after,
    #galerie .galeriboersefritz h2::after,
    #kontakt .section-header h2::after,
    .karriere .section-header h2::after,
    .faq-section h2::after,
    .reviews-section .section-title::after {
        left: 20px;
    }
}

/* Mobile Portrait (361px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
    .hero {
        height: 100vh;
        min-height: 100svh;
        padding: 5rem 6% 6rem;
        background-attachment: scroll;
        background-size: cover;
        margin-top: 80px;
    }
    
    .hero::before {
        background: none;
    }
    
    .review-box {
        gap: 0.4rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .g-logo {
        width: 14px;
        height: 14px;
    }
    
    .star-icon {
        font-size: 0.75rem;
        gap: 1px;
    }
    
    .review-label {
        font-size: 0.75rem;
    }
    
    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
        margin-bottom: 1.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }
    
    .hero-cta {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-cta-row {
        width: 100%;
        flex-direction: column;
        gap: 0.8rem;
    }

    
    /* H2 Überschriften - ALLE auf gleicher Höhe */
    #leistungen h2,
    #galerie .galeriboersefritz h2,
    #kontakt .section-header h2,
    .karriere .section-header h2,
    .faq-section h2,
    .reviews-section .section-title {
        font-size: 1.6rem;
        padding-left: 20px;
        padding-right: 0;
    }
    
    #leistungen h2::after,
    #galerie .galeriboersefritz h2::after,
    #kontakt .section-header h2::after,
    .karriere .section-header h2::after,
    .faq-section h2::after,
    .reviews-section .section-title::after {
        left: 20px;
    }
}

/* Extra Small Devices (320px - 360px) */
@media (max-width: 360px) {
    .hero {
        height: 100vh;
        min-height: 100svh;
        padding: 4rem 5% 5rem;
        background-attachment: scroll;
        background-size: cover;
        margin-top: 80px;
    }
    
    .hero::before {
        background: none;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }

}

/* ============================================
   MOBILE VS DESKTOP NAVIGATION
   ============================================ */

/* Desktop Navigation ab 1171px */
@media (min-width: 1171px) {
    nav,
    #navbar {
        display: block !important;
    }
    
    .mobile-header,
    .mobile-overlay,
    .mobile-menu {
        display: none !important;
    }
}

/* Mobile Navigation bis 1170px */
@media (max-width: 1170px) {
    nav,
    #navbar {
        display: none !important;
    }
    
    .mobile-header {
        display: flex !important;
    }
}

/* Karriere – etwas weiter nach links */
.karriere .section-header h2 {
    padding-left: 10px;
}
.karriere .section-header h2::after {
    left: 10px;
}

/* Leistungen – etwas weiter nach rechts */
#leistungen h2 {
    padding-left: 40px;
}
#leistungen h2::after {
    left: 40px;
}

/* Einblicke (Galerie) – etwas weiter nach links */
#galerie .galeriboersefritz h2 {
    padding-left: 5px;
}
#galerie .galeriboersefritz h2::after {
    left: 5px;
}

/* Kontakt – etwas weiter nach links */
#kontakt .section-header h2 {
    padding-left: 10px;
}
#kontakt .section-header h2::after {
    left: 10px;
}

/* Kontakt – deutlich weiter nach links */
#kontakt .section-header h2 {
    padding-left: 0;
}
#kontakt .section-header h2::after {
    left: 0;
}

/* Karriere – deutlich weiter nach links */
.karriere .section-header h2 {
    padding-left: 0;
}
.karriere .section-header h2::after {
    left: 0;
}

/* Leistungen – leicht nach links */
#leistungen h2 {
    padding-left: 8px;
}
#leistungen h2::after {
    left: 8px;
}


/* Tablets (769px - 1024px) */
  @media (min-width: 769px) and (max-width: 1024px) {
      .hero {
          height: calc(100vh - 96px);
          min-height: calc(100vh - 96px);
          padding: 0 5%;
          margin-top: 96px;
      }

    .hero h1 {
        font-size: 4.5rem;
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* H2 Überschriften - ALLE linksbündig */
    #leistungen h2,
    #galerie .galeriboersefritz h2,
    #kontakt .section-header h2,
    .karriere .section-header h2,
    .faq-section h2,
    .reviews-section .section-title {
        font-size: 1.8rem;
        padding-left: 40px;
        padding-right: 0;
    }

    #leistungen h2::after,
    #galerie .galeriboersefritz h2::after,
    #kontakt .section-header h2::after,
    .karriere .section-header h2::after,
    .faq-section h2::after,
    .reviews-section .section-title::after {
        left: 40px;
    }

    #kontakt .section-header h2 {
        padding-left: 0;
    }

    #kontakt .section-header h2::after {
        left: 0;
    }

    /* Leistungen Grid - 3 Spalten auf Tablet, volle Breite */
    #leistungen {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .leistungen-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding-left: 30px !important;
        padding-right: 30px !important;
        max-width: 100%;
    }

    .leistung-card {
        padding: 25px 20px;
    }

    .leistung-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .leistung-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    #leistungen h2 {
        padding-left: 40px;
    }
    #leistungen h2::after {
        left: 40px;
    }
}



@media (max-width: 600px) {
    #leistungen h2 {
        padding-left: 10px;
    }
    #leistungen h2::after {
        left: 10px;
    }
}

/* Leistungen auf gleiche Breite wie Galerie (Desktop) */
@media (min-width: 1025px) {
    #leistungen h2,
    #galerie .galeriboersefritz h2 {
        padding-left: 0;
        padding-right: 0;
    }

    #leistungen h2::after,
    #galerie .galeriboersefritz h2::after {
        left: 0;
    }

}






