/*
Theme Name: Grafikstudio Sandha
Description: Das Theme für das Grafikstudio Sandha
Version: 1.54
Author: <a href="https://weitzelit.de">Weitzel IT GmbH -> Manuel Weitzel</a>
*/

/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 80%;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    top: 0;
    z-index: 1000;
}

.logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0;
    height: 260px;
    margin-bottom: -20px;
}

.logo-row::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #eee 50%, transparent);
}

.logo-row-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.logo-row-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo-left, .logo-right {
    flex: 1;
    text-align: center;
}

.logo-center {
    flex: 1;
    text-align: center;
}

.logo-left img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 180px !important;
}

.logo-right img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 80px !important;
}

.logo-center img {
    width: auto;
    height: auto;
    max-width: 110px;
}

/* Navigation Styles */
.main-nav {
    background: transparent !important;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.nav-menu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #eee 50%, transparent);
}

.nav-menu li {
    margin: 0 20px;
}

.nav-menu a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #007cba;
    border-bottom-color: #007cba;
}

/* Welcome Section - AGGRESSIV alle Hintergründe entfernen */
.welcome-section {
    background: transparent !important;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.welcome-section h1,
.welcome-section .container h1,
.welcome-section h1 *,
h1.welcome-title,
.welcome-section * {
    font-size: 3rem;
    color: #99cc33 !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    background-attachment: initial !important;
    background-position: initial !important;
    background-repeat: initial !important;
    background-size: initial !important;
    background-origin: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    -webkit-background-clip: initial !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

/* Pseudo-Elemente komplett blockieren */
.welcome-section *:before,
.welcome-section *:after,
.welcome-section h1:before,
.welcome-section h1:after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Spezifische Klassen für grüne Kreise blockieren */
.welcome-section .circle,
.welcome-section .green-circle,
.welcome-section .bg-circle,
.welcome-section [class*="circle"],
.welcome-section [class*="green"],
.welcome-section [class*="bg-"] {
    display: none !important;
    background: none !important;
}

/* Content Section */
.content-section {
	position:relative;
    padding: 60px 0;
    background: #f9f9f9;
}

.content-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #eee 50%, transparent);
}

.section {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section h2 {
    color: #99cc33 !important;
    margin-bottom: 30px;
    font-size: 2.5rem;
    padding-bottom: 15px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px 0;
}

/* Footer Widgets */
.footer-widgets {
	position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    min-height: 100px;
}

.footer-widgets::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #eee 50%, transparent);
}

.footer-widget-area {
    display: flex;
    flex-direction: column;
}

.footer-column {
    width: 100%;
}

.footer-widget {
    margin-bottom: 25px;
}

.footer-widget-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007cba;
    display: inline-block;
}

.footer-widget p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #007cba;
}

/* Footer Navigation */
.footer-nav {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    min-height: 25px;
}

.footer-nav::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #eee 50%, transparent);
}

/* Footer Navigation - NUR DIESE ZEILEN ÄNDERN */
.footer-nav ul,
.footer-nav .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav li {
    margin: 0 10px;
    display: inline-block;
}

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

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* VERSTÄRKTE Mobile Menu Regeln */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        color: #99cc33 !important;
        font-size: 1.8rem !important;
        z-index: 10001 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 4px !important;
        padding: 8px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    }
    
    .main-nav {
        position: relative !important;
    }
    
    .nav-menu {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
        z-index: 9999 !important;
        backdrop-filter: blur(15px) !important;
        border-radius: 0 0 8px 8px !important;
    }
    
    .nav-menu.active {
        display: flex !important;
    }

	.logo-row::after {
  		bottom: 0 !important;
  	}

  	.content-section::after {
  		bottom: 0 !important;
  	}
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        top: 15px !important;
        right: 15px !important;
        font-size: 1.6rem !important;
    }
}

/* Responsive Design - ERWEITERT */
@media (max-width: 1024px) {
    /* Tablet responsive für 4 Spalten Footer */
    .footer-widgets.footer-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets.footer-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* NEUE REGEL: Logos bei Tablets bereits untereinander */
    .logo-row {
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding: 20px 0;
    }
    
    .logo-left, .logo-center, .logo-right {
        flex: none;
    }
    
    .logo-left img, .logo-right img {
        max-height: 120px !important;
    }
    
    .logo-center img {
        max-width: 80px;
    }
}

@media (max-width: 768px) {
    /* VERSTÄRKTE LOGO-REGELN für Mobile */
    .header .container .logo-row,
    .logo-row {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        height: auto !important;
        padding: 20px 0 !important;
        margin-bottom: 0 !important;
    }
    
    .header .container .logo-row .logo-row-link,
    .logo-row .logo-row-link {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 20px !important;
    }
    
    .logo-left, .logo-center, .logo-right {
        flex: none !important;
        width: auto !important;
        text-align: center !important;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: #99cc33;
        font-size: 1.8rem;
        z-index: 1001;
    }
    
    .mobile-menu-toggle:hover {
        color: #7aa829;
    }
    
    /* Mobile Navigation Styling */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(153, 204, 51, 0.2);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 20px 30px;
        color: #333 !important;
        font-weight: 500;
        border-bottom: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #99cc33 !important;
        transform: translateX(10px);
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .visual-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    /* Footer Responsive */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    /* Alles auf 100% Breite begrenzen */
    .header, .main-nav, .nav-menu, .logo-row, .logo-row-link {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .logo-row {
        gap: 15px !important;
        padding: 15px 0 !important;
    }
    
    .logo-left img, .logo-right img {
        max-height: 100px !important;
        max-width: 90% !important;
    }
    
    .logo-center img {
        max-width: 60px !important;
    }
    
    .welcome-section {
        padding: 30px 0;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem;
    }
    
    .section {
        margin: 0 10px !important;
        padding: 20px 15px !important;
        max-width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
    }
    
    .section h2 {
        font-size: 2rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .footer-widgets {
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .footer-widget {
        margin-bottom: 20px;
        max-width: 100% !important;
        word-wrap: break-word !important;
    }
    
    /* Mobile Menu bei sehr kleinen Bildschirmen */
    .mobile-menu-toggle {
        top: 15px;
        right: 15px;
        font-size: 1.6rem;
    }
    
    .nav-menu {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        font-size: 0.95rem;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }
}

/* OnePager smooth scrolling */
html {
    scroll-behavior: smooth;
}

.onepage .nav-menu a[href^="#"] {
    position: relative;
}

/* Active section highlighting for OnePager */
.section-active .nav-menu a {
    color: #99cc33;
    border-bottom-color: #99cc33;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.hidden { display: none; }

/* MOBILE MENU - KOMPLETT NEU UND EINFACH */
@media (max-width: 1024px) {
    /* Mobile Toggle sichtbar machen */
    .mobile-menu-toggle {
        display: block !important;
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: none !important;
        border: none !important;
        color: #99cc33 !important;
        font-size: 1.8rem !important;
        z-index: 1001 !important;
        cursor: pointer !important;
    }
    
    /* Navigation verstecken */
    .nav-menu {
        display: none !important;
    }
    
    /* Navigation aktiv anzeigen */
    .nav-menu.active {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #333 !important;
        z-index: 1000 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .nav-menu.active li {
        display: block !important;
        margin: 0 !important;
        border-bottom: 1px solid #555 !important;
    }
    
    .nav-menu.active a {
        display: block !important;
        padding: 15px 20px !important;
        color: white !important;
        text-decoration: none !important;
        background: none !important;
    }
    
    .nav-menu.active a:hover {
        background: #99cc33 !important;
    }
    
    /* Main nav relativ */
    .main-nav {
        position: relative !important;
    }
}

/* Footer komplett überschreiben */
@media (max-width: 1024px) {
    .footer-widgets * {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }
    
    .footer-column {
        margin-bottom: 40px !important;
        clear: both !important;
    }
}

/* Footer Navigation komplett neu */
@media (max-width: 768px) {
    .footer-nav {
        text-align: center !important;
    }
    
    .footer-nav * {
        display: inline-block !important;
    }
}