/*
 Theme Name:   Chico Jobs
 Description:  Theme für Chico Jobs
 Author:       xEMedia
 Author URI:   https://xemedia.de
 Template:     generatepress
 Version:      0.1
*/

.title-blue {
  color: #4640de;
  background-color: transparent;
  font-family: Epilogue;
  font-size: 3.375rem;
  font-style: normal;
  font-weight: 800;
  line-height: 120%;
}
.h-blue {
  color: #4640de;
  background-color: transparent;
  font-family: Epilogue;
  font-style: normal;
}
/* Footer-Menü Container */
.menu-footer-container ul {
    display: flex;
    justify-content: flex-end; /* rechtsbündig */
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menüeinträge */
.menu-footer-container li {
    margin: 0;
    padding: 0;
}

/* Links */
.menu-footer-container a {
    color: #ffffff;
    text-decoration: none;
}

/* Kein Hover-Effekt */
.menu-footer-container a:hover,
.menu-footer-container a:focus,
.menu-footer-container a:active {
    color: #ffffff;
    text-decoration: none;
}
.wpml-ls-menu-item .wpml-ls-flag {
  height: 40px;
}

#masthead.site-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 100;
}

/* Hero-Bereich bekommt mehr Padding oben */
.gb-element-eacbfcf8 {
    padding-top: 80px !important;
}

/* Optional: Für mobile Geräte etwas weniger Abstand */
@media (max-width: 768px) {
    .gb-element-eacbfcf8 {
        padding-top: 60px !important;
    }
}

.main-navigation .nav-button a {
    background: linear-gradient(135deg, #ffd87f 0%, #ffcc66 100%) !important;
    color: #333333 !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
	line-height: 40px !important;;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(255, 204, 102, 0.3) !important;
}

.main-navigation .nav-button a:hover {
    background: linear-gradient(135deg, #ffcc66 0%, #ffb84d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 204, 102, 0.4) !important;
}


/* MOBILE ANPASSUNG */

@media (max-width: 768px) {
    /* Button auch auf Mobile schön */
    .main-navigation .main-nav ul li:last-child a,
    .main-navigation .nav-button a {
        display: inline-block !important;
        text-align: center !important;
        margin: 10px auto !important;
        width: auto !important;
        max-width: 250px !important;
    }
}

/* Blauer Button mit Klasse "btn-primary" */
.btn-primary,
a.btn-primary,
.gb-button.btn-primary,
.wp-block-button__link.btn-primary {
    background: #4640de !important;
    background-color: #4640de !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(70, 64, 222, 0.25) !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-decoration: none !important;
}

/* Hover-Effekt - Dunkleres Blau */
.btn-primary:hover,
a.btn-primary:hover,
.gb-button.btn-primary:hover,
.wp-block-button__link.btn-primary:hover {
    background: #3530b8 !important;
    background-color: #3530b8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(70, 64, 222, 0.35) !important;
}

/* Click/Active State */
.btn-primary:active,
a.btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(70, 64, 222, 0.2) !important;
}

@media (max-width: 768px) {
  img[src*="chico-photo"],
	img[src*="logo_white1"]{
    height: auto !important;
    width: 100% !important;
  }
}

/* ========================================
   PROBLEM 1: Hero-Text zu groß auf Mobile
   ======================================== */

@media (max-width: 768px) {
    /* Hero Überschrift anpassen */
    .gb-element-eacbfcf8 h1,
    .gb-element-eacbfcf8 h2 {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    /* Subheadline kleiner */
    .gb-element-eacbfcf8 h5 {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}


/* ========================================
   PROBLEM 2: Hero-Bild wird abgeschnitten / zu groß
   ======================================== */

@media (max-width: 768px) {
    /* Hero-Container anpassen */
    .gb-element-eacbfcf8 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Bild responsive machen */
    .gb-element-eacbfcf8 img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}


/* ========================================
   PROBLEM 3: Button zu klein / schwer klickbar
   ======================================== */

@media (max-width: 768px) {
    /* Buttons größer und besser klickbar */
    .gb-button,
    a.gb-button,
    button {
        min-height: 50px !important;
        padding: 15px 30px !important;
        font-size: 16px !important;
        width: 100% !important; /* Volle Breite auf Mobile */
        max-width: 300px !important;
    }
}


/* ========================================
   PROBLEM 4: Formular zu eng / schlecht lesbar
   ======================================== */

@media (max-width: 768px) {
    /* Formular-Container mehr Abstand */
    form,
    .wpforms-container {
        padding: 20px !important;
    }
    
    /* Input-Felder größer */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important; /* Verhindert Auto-Zoom auf iOS */
        padding: 14px !important;
        height: auto !important;
        min-height: 50px !important;
    }
    
    /* Labels besser lesbar */
    label {
        font-size: 15px !important;
        margin-bottom: 8px !important;
        display: block !important;
    }
}


/* ========================================
   PROBLEM 5: Icon-Boxen zu klein oder unübersichtlich
   ======================================== */

@media (max-width: 768px) {
    /* Icon-Container anpassen */
    .gb-container > .gb-inside-container {
        padding: 20px 15px !important;
    }
    
    /* Icons vergrößern */
    .gb-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    
    /* Icon-Text besser lesbar */
    .gb-headline {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
}


/* ========================================
   PROBLEM 6: Navigation / Hamburger Menu
   ======================================== */

@media (max-width: 768px) {
    /* Hamburger Menu größer */
    .menu-toggle {
        padding: 12px !important;
        font-size: 24px !important;
    }
    
    /* Mobile Menu volle Breite */
    .main-navigation.toggled .main-nav {
        width: 100% !important;
    }
    
    /* Menu Items größer und besser klickbar */
    .main-navigation a {
        padding: 15px 20px !important;
        font-size: 16px !important;
        display: block !important;
    }
}


/* ========================================
   PROBLEM 7: Abstände zu eng auf Mobile
   ======================================== */

@media (max-width: 768px) {
    /* Sections mehr Abstand */
    .gb-container {
        margin-bottom: 40px !important;
    }
    
    /* Überschriften mehr Luft */
    h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    h3 {
        font-size: 22px !important;
        margin-bottom: 15px !important;
    }
    
    /* Paragraph besser lesbar */
    p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
}


/* ========================================
   PROBLEM 8: Job-Kategorien zu klein
   ======================================== */

@media (max-width: 768px) {
    /* Job-Karten volle Breite */
    .job-category,
    .gb-grid-column {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Job-Icons größer */
    .job-category img {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 15px !important;
    }
}


/* ========================================
   PROBLEM 9: Footer unleserlich
   ======================================== */

@media (max-width: 768px) {
    /* Footer besser strukturiert */
    .site-footer {
        padding: 30px 20px !important;
    }
    
    /* Footer Links untereinander */
    .site-footer .footer-widgets,
    .site-footer nav {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .site-footer a {
        padding: 10px 0 !important;
        font-size: 15px !important;
    }
    
    /* Social Icons größer */
    .social-icons a {
        width: 44px !important;
        height: 44px !important;
        margin: 0 10px !important;
    }
}


/* ========================================
   PROBLEM 10: Logo zu groß auf Mobile
   ======================================== */

@media (max-width: 768px) {
    .site-branding img,
    .site-logo img {
        max-width: 150px !important;
        height: auto !important;
    }
}


/* ========================================
   BONUS: Touch-Optimierung
   ======================================== */

@media (max-width: 768px) {
    /* Alle klickbaren Elemente mindestens 44x44px */
    a, button, input[type="submit"], .gb-button {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Smooth Scrolling auf Mobile */
    html {
        scroll-behavior: smooth;
    }
    
    /* Tap Highlight entfernen (für saubereres UX) */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}


/* ========================================
   SEHR KLEINE SCREENS (iPhone SE, etc.)
   ======================================== */

@media (max-width: 375px) {
    /* Extra Anpassungen für kleine Phones */
    .gb-element-eacbfcf8 h1,
    .gb-element-eacbfcf8 h2 {
        font-size: 28px !important;
    }
    
    .gb-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ========================================
   CHICO JOBS - MOBILE FIXES
   Hero Überschrift + Footer Navigation
   ======================================== */


/* ========================================
   FIX 1: Hero Überschrift vollständig anzeigen
   ======================================== */

@media (max-width: 768px) {
    /* Hero-Bereich mehr Platz */
    .gb-element-eacbfcf8 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    /* Hauptüberschrift kleiner aber lesbar */
    .gb-element-eacbfcf8 h1,
    .gb-element-eacbfcf8 h2,
    .gb-element-eacbfcf8 .gb-headline {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    
    /* Falls die Überschrift in mehreren Elementen ist */
    .gb-element-eacbfcf8 .gb-headline-text {
        display: block !important;
        width: 100% !important;
    }
    
    /* Subheadline anpassen */
    .gb-element-eacbfcf8 h5,
    .gb-element-eacbfcf8 .gb-headline-wrapper h5 {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-top: 15px !important;
    }
    
    /* Hero Button mehr Abstand zur Überschrift */
    .gb-element-eacbfcf8 .gb-button-wrapper {
        margin-top: 25px !important;
    }
}

/* Für sehr kleine Screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .gb-element-eacbfcf8 h1,
    .gb-element-eacbfcf8 h2 {
        font-size: 28px !important;
    }
}


/* ========================================
   FIX 2: Footer Navigation vollständig anzeigen
   ======================================== */

@media (max-width: 768px) {
    /* Footer mehr Padding */
    .site-footer {
        padding: 30px 20px !important;
        overflow: visible !important;
    }
    
    /* Footer Navigation untereinander */
    .site-footer nav,
    .site-footer .footer-nav,
    .site-footer ul {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
    }
    
    /* Footer Links volle Breite und gut klickbar */
    .site-footer nav a,
    .site-footer .footer-nav a,
    .site-footer ul li a {
        display: block !important;
        width: 100% !important;
        padding: 12px 0 !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        color: inherit !important;
    }
    
    /* Liste Styling entfernen */
    .site-footer ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .site-footer ul li {
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .site-footer ul li:last-child {
        border-bottom: none !important;
    }
    
    /* Social Icons auch besser sichtbar */
    .site-footer .social-links,
    .site-footer .social-icons {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    .site-footer .social-links a,
    .site-footer .social-icons a {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .site-footer .social-links img,
    .site-footer .social-icons img {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* ========================================
   ALTERNATIVE: Falls GenerateBlocks Grid verwendet wird
   ======================================== */

@media (max-width: 768px) {
    /* Grid auf Mobile zu Spalte machen */
    .gb-grid-wrapper > .gb-grid-column {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Footer Grid anpassen */
    .site-footer .gb-grid-wrapper {
        display: flex !important;
        flex-direction: column !important;
    }
}


/* ========================================
   BONUS: Hero Bild auch anpassen
   ======================================== */

@media (max-width: 768px) {
    /* Falls das Hero-Bild (Chico Foto) die Überschrift überlappt */
    .gb-element-eacbfcf8 img {
        max-width: 100% !important;
        height: auto !important;
        margin-top: 20px !important;
        display: block !important;
    }
    
    /* Grid auf Mobile stapeln */
    .gb-element-eacbfcf8 .gb-grid-wrapper {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .gb-element-eacbfcf8 .gb-grid-column {
        width: 100% !important;
        order: 1 !important;
    }
    
    /* Text zuerst, dann Bild */
    .gb-element-eacbfcf8 .gb-grid-column:first-child {
        order: 0 !important;
    }
}


/* ========================================
   DEBUGGING: Falls immer noch Probleme
   Diese Zeilen helfen Overflow-Probleme zu finden
   ======================================== */

@media (max-width: 768px) {
    /* Verhindere horizontal Scroll */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Alle Elemente maximal Viewport-Breite */
    * {
        max-width: 100% !important;
    }
    
    /* Container anpassen */
    .gb-container,
    .site,
    #page {
        overflow-x: hidden !important;
    }
}