/* =============================================================================
   JETZT-FRANCHISE-PARTNER-WERDEN - ANTI-KI DESIGN CSS
   Professionelles, menschliches Design ohne KI-typische Elemente
   CACHE BUSTER: v3.7 - SECTION-BADGE WIDTH FIX
   ============================================================================= */

/* =============================================================================
   DESIGN-PRINZIPIEN
   - Reduzierte Farbpalette (Hauptsächlich Brötchenbursche-Farben + Grautöne)
   - Großzügiger Weißraum (Mindestens 60px zwischen Sektionen)  
   - Subtile Interaktionen (Sanfte Hover-States, keine aufdringlichen Animationen)
   - Konsistente Typografie-Hierarchie (Klare H1-H6 Struktur)
   - Einheitliche Komponenten (Gleiche Button-Styles, Card-Designs)
   ============================================================================= */

/* Allgemeine Styles */
.jetzt-franchise-page {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

/* Container für alle Sektionen */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Einheitliche Abstände zwischen Sektionen */
.hero-section,
.reality-section,
.business-model-section,
.numbers-section,
.partner-interview-section,
.cooperation-section,
.investment-section,
.next-steps-section {
    padding: 4rem 0;
}

/* =============================================================================
   HERO SECTION - Mit festem Hintergrundbild, professionell und reduziert
   ============================================================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.3) 100%),
        url('/images/hero_franchise.jpg') center/cover no-repeat;
}

/* Content Overlay - Reduziert für bessere Sichtbarkeit */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem !important;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

/* Desktop: Negative Margin nur für Desktop */
@media (min-width: 769px) {
    .hero-container {
        margin: -8rem auto 0 auto;
    }
}


.hero-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll-Button */
.hero-scroll-button {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.hero-scroll-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-50%) translateY(-5px);
}

/* =============================================================================
   BUTTONS - Einheitliche, professionelle Styles
   ============================================================================= */

.btn-primary {
    background: #f8f5e0;
    color: #503600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #f0ead0;
    color: #503600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #64748b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border: 2px solid #64748b;
}

.btn-secondary:hover {
    background: #475569;
    color: white;
    border-color: #475569;
    transform: translateY(-2px);
}

.btn-primary.centered {
    margin: 0 auto;
    display: block;
    width: fit-content;
}

/* =============================================================================
   SECTION BADGES UND TITEL - Konsistente Typografie
   ============================================================================= */

.section-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* =============================================================================
   REALITY SECTION - Mit Slider Integration
   ============================================================================= */

.reality-section {
    background: #ffffff;
}

.reality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.reality-content {
    margin-top: 2rem;
}

/* Marktchance Image Container (1:1 von franchise_page.css) */
.marktchance-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Slider (1:1 von franchise_page.css) */
.marktchance-slider {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.reality-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reality-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.reality-item h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.reality-item p {
    color: #64748b;
    margin: 0;
}



.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.slider-prev {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.dot.active {
    background: rgba(255,255,255,0.9);
}

.live-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.live-badge-content {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* =============================================================================
   BUSINESS MODEL SECTION
   ============================================================================= */

.business-model-section {
    background: #f8fafc;
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.business-content {
    margin-top: 1.5rem;
}

.business-content > p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Business Details - Ersetzt space-y: 1.5rem durch korrekte CSS-Eigenschaften */
.business-details > * + * {
    margin-top: 1.5rem;
}

.business-detail {
    margin-bottom: 1.5rem;
}

.business-detail h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.business-detail p {
    color: #64748b;
    margin: 0;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* =============================================================================
   NUMBERS SECTION - Saubere Zahlen-Darstellung
   ============================================================================= */

.numbers-section {
    background: #ffffff;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.number-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.number-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FCC020;
    margin-bottom: 0.5rem;
}

.number-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.number-detail {
    font-size: 0.9rem;
    color: #64748b;
}

/* =============================================================================
   PARTNER INTERVIEW SECTION
   ============================================================================= */

.partner-interview-section {
    background: #FFEECC;
}

.interview-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.interview-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.partner-photo {
    flex-shrink: 0;
}

.partner-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.partner-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.partner-info p {
    color: #64748b;
    margin: 0.25rem 0;
}

/* Interview Content - Ersetzt space-y: 2rem durch korrekte CSS-Eigenschaften */
.interview-content > * + * {
    margin-top: 2rem;
}

.interview-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.interview-question:first-child {
    margin-top: 0;
}

.interview-answer {
    color: #64748b;
    line-height: 1.7;
    padding-left: 1rem;
    border-left: 3px solid #FCC020;
    background: #fffbeb;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* =============================================================================
   COOPERATION SECTION
   ============================================================================= */

.cooperation-section {
    background: #ffffff;
}

.cooperation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.cooperation-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.cooperation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cooperation-list li {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.cooperation-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #FCC020;
    font-weight: 600;
}

.cooperation-list li:last-child {
    border-bottom: none;
}

/* =============================================================================
   INVESTMENT SECTION
   ============================================================================= */

.investment-section {
    background: #f8fafc;
}

.investment-content {
    max-width: 600px;
    margin: 0 auto;
}

.investment-table {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.investment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.investment-row:last-child {
    border-bottom: none;
}

.investment-header {
    background: #f8fafc;
    font-weight: 700;
    color: #1e293b;
}

.investment-total {
    background: #fffbeb;
    border-top: 2px solid #FCC020;
}

.license-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.license-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.license-info p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.license-note {
    font-style: italic;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* =============================================================================
   NEXT STEPS SECTION & STEPS GRID
   ============================================================================= */

.next-steps-section {
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #FCC020;
    color: #503600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: #64748b;
    margin: 0;
}

.final-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.final-cta .cta-icon {
    display: inline-block;
    margin-bottom: 1rem;
    color: #475569;
}

.final-cta .cta-icon svg {
    width: 2rem;
    height: 2rem;
    color: #475569;
}

.cta-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    margin-right: 1rem;
}

.cta-icon svg {
    color: #475569;
}

.final-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.final-cta p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* =============================================================================
   DREAMS AND SUCCESS ITEMS
   ============================================================================= */

.dream-item, .success-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.dream-icon, .success-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.dream-icon svg, .success-icon svg {
    color: #475569;
}

.dream-item h4, .success-item h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.dream-item p, .success-item p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.dream-quote {
    color: #FCC020 !important;
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
    margin-top: 0.5rem;
}

.cta-box {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cta-icon {
    width: 48px;
    height: 48px;
    background: #475569;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-box h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: #64748b;
    margin-bottom: 1rem;
}

/* =============================================================================
   SERVICES GRID
   ============================================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Mobile: Eine Spalte */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    margin-bottom: 1rem;
}

.service-icon svg {
    color: #475569;
}

.service-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.service-text p {
    color: #64748b;
    margin-bottom: 1rem;
}

.service-feature {
    color: #FCC020;
    font-weight: 600;
    font-size: 0.9rem;
}

/* =============================================================================
   TIMELINE STYLES
   ============================================================================= */

/* Timeline Container - Ersetzt space-y: 1.5rem durch korrekte CSS-Eigenschaften */
.timeline-container > * + * {
    margin-top: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.timeline-year {
    flex-shrink: 0;
    width: 4rem;
    height: 2.5rem;
    background: #FCC020;
    color: #503600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.timeline-description {
    color: #64748b;
    font-size: 0.9rem;
}

/* =============================================================================
   IMAGE CAPTION STYLES
   ============================================================================= */

.image-caption {
    margin-top: 1rem;
}

.caption-badge {
    display: inline-block;
    background: #FCC020;
    color: #503600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.image-caption h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.image-caption p {
    color: #64748b;
    margin: 0;
}

/* =============================================================================
   CENTERED UTILITIES
   ============================================================================= */

.section-badge.centered {
    display: block;
    text-align: center;
    margin: 0 auto 1rem;
    width: fit-content;
}

.section-subtitle.centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================================================
   RESPONSIVE DESIGN - Mobile-first mit max. 3 Breakpoints
   ============================================================================= */

/* Mobile (bis 768px) */
@media (max-width: 768px) {
    .section-container {
        padding: 0 1rem;
    }
    
    .reality-section,
    .business-model-section,
    .numbers-section,
    .partner-interview-section,
    .cooperation-section,
    .investment-section,
    .next-steps-section {
        padding: 2rem 0;
    }
    
    .hero-section {
        height: 100vh;
        min-height: 500px;
        align-items: flex-start !important;
        padding-top: 6rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    
    .hero-overlay {
        align-items: flex-start !important;
        padding-top: 4rem !important;
    }
    
    .hero-container,
    .hero-section .hero-container,
    .hero-overlay .hero-container {
        justify-content: flex-start !important;
        height: auto !important;
        padding: 2rem 1rem 2rem 1rem !important;
        margin: 0 auto !important;
        transform: translateY(0) !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
        font-weight: 900;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-scroll-button {
        bottom: 1rem;
        padding: 0.75rem;
    }
    
    .hero-scroll-button svg {
        width: 8px;
        height: 8px;
    }
    
    .reality-grid,
    .business-grid,
    .cooperation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .marktchance-image-container {
        min-height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .interview-container {
        padding: 2rem 1rem;
    }
    
    .interview-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .numbers-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .marktchance-slider {
        height: 100%;
        min-height: 300px;
    }
    
    /* =============================================================================
       ZUSÄTZLICHE MOBILE OPTIMIERUNGEN FÜR INLINE-STYLES
       Überschreibt alle inline-style Grid-Layouts für mobile Ansicht
       ============================================================================= */
    
    /* Alle 3-Spalten Grids zu 1-Spalte */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Alle 2-Spalten Grids zu 1-Spalte */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Schriftgrößen Mobile-freundlich */
    div[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
    
    div[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
    
    div[style*="font-size: 1.75rem"] {
        font-size: 1.4rem !important;
    }
    
    div[style*="font-size: 1.5rem"] {
        font-size: 1.25rem !important;
    }
    
    /* Padding Mobile-optimiert */
    div[style*="padding: 3rem"],
    div[style*="padding: 3rem 2rem"] {
        padding: 2rem 1rem !important;
    }
    
    div[style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }
    
    div[style*="padding: 2rem"] {
        padding: 1.5rem !important;
    }
    
    /* Margins Mobile-optimiert */
    div[style*="margin: 3rem auto"],
    div[style*="margin: 4rem auto"] {
        margin: 2rem auto !important;
    }
    
    /* Floating KI-Widget in Mobile NICHT anzeigen - Button ist jetzt in Hero */
    .floating-ki-widget {
        display: none !important;
    }
    
    .floating-ki-widget > div {
        display: flex;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        text-align: center;
    }
    
    .floating-ki-widget button {
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* Hero Mobile Positionierung - Redundante Regeln entfernt, da bereits oben definiert */
    
    /* Hero-Scroll Button kleiner */
    .hero-scroll-button svg {
        width: 6px !important;
        height: 6px !important;
    }
    
    /* Timeline Mobile-optimiert - Jahreszahlen und Text nebeneinander */
    .timeline-item {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .timeline-year {
        width: auto;
        height: auto;
        padding: 0.4rem 0.8rem;
        flex-shrink: 0;
        font-size: 0.85rem;
    }
    
    /* Service Cards Mobile Spacing */
    .service-card {
        padding: 1.5rem !important;
    }
    
    /* Überschriften in mobiler Ansicht zentrieren */
    .cooperation-column h3,
    .service-card h3,
    .cooperation-grid h3,
    .business-text h3 {
        text-align: center !important;
    }
    
    /* Bildunterschriften in mobiler Ansicht zentrieren */
    .image-caption {
        text-align: center !important;
    }
    
    .image-caption .caption-badge,
    .image-caption h4,
    .image-caption p {
        text-align: center !important;
    }
    
    /* Section-Badge mobile zentrieren - NUR wenn .centered */
    .section-badge.centered {
        display: block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content !important;
    }
    
    /* Section-Badge OHNE .centered linksbündig auf Mobile */
    .section-badge:not(.centered) {
        display: inline-block !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto !important;
    }
    
    /* ========================================================================
       SAUBERES TYPOGRAFIE-SYSTEM - Einfach und eindeutig
       ======================================================================== */
    
    /* Basis-Schriftart */
    .jetzt-franchise-page * {
        font-family: 'Barlow Semi Condensed', sans-serif !important;
    }
    
    /* Dream/Success Items Mobile */
    .dream-item, .success-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .dream-icon, .success-icon {
        align-self: center;
    }
    
    /* CTA Box Mobile */
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .cta-icon {
        align-self: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Numbers Grid Mobile */
    .number-card {
        padding: 1.5rem !important;
    }
    
    .number-value {
        font-size: 2rem !important;
    }
    
    /* Buttons Mobile-friendly */
    .btn-primary, .btn-secondary {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    /* Tables responsive */
    table {
        font-size: 0.8rem !important;
    }
    
    table th, table td {
        padding: 0.5rem !important;
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
        font-weight: 900;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        white-space: nowrap;
    }
    
    .numbers-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .marktchance-slider {
        height: 100%;
        min-height: 350px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .marktchance-slider {
        height: 100%;
        min-height: 400px;
    }
}

/* Footer text override - ensures white text on brown background */
.jetzt-franchise-page footer,
.jetzt-franchise-page footer h4,
.jetzt-franchise-page footer a,
.jetzt-franchise-page footer p,
.jetzt-franchise-page footer li,
.jetzt-franchise-page footer span {
    color: white !important;
}