/* Simon Diebold Stuckateur - Zentrale Styles */
/* Design-Specs: diebold-meister.de */

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
    /* Primärfarben */
    --color-primary: #1a1a2e;           /* Dunkelblau/Grau für Header/Footer */
    --color-primary-light: #2d2d44;     /* Hellere Variante */
    --color-accent: #86bc28;            /* Grün - Akzentfarbe */
    --color-accent-light: #9cd030;      /* Helleres Grün für Hover */
    --color-accent-dark: #72a322;       /* Dunkleres Grün */
    
    /* Neutrale Farben */
    --color-white: #ffffff;
    --color-background: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    
    /* Schatten */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-background);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.font-display {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

/* ==========================================================================
   Hero Gradient
   ========================================================================== */
.hero-gradient {
    background: linear-gradient(135deg, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.8) 100%);
}

/* ==========================================================================
   Primary Button
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-white) !important;
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(134, 188, 40, 0.3);
}

/* ==========================================================================
   Card Hover Effect
   ========================================================================== */
.card-hover {
    transition: all var(--transition-normal);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   Logo Styles
   ========================================================================== */
.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Dark Header */
.nav-dark {
    background-color: #1a1a2e !important;
}

.nav-dark a {
    color: white !important;
}

.nav-dark a:hover {
    color: #86bc28 !important;
}

.nav-dark .btn-primary {
    background: linear-gradient(135deg, #86bc28 0%, #9cd030 100%);
    color: white !important;
}

.nav-dark svg {
    stroke: white;
}

/* Header Icons */
.header-icon {
    width: 24px;
    height: 24px;
    color: white;
    transition: color 0.3s ease;
}

.header-icon:hover {
    color: #86bc28;
}

.logo-img-footer {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* Kein weißer Hintergrund - Logo hat Transparenz */
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   Color Utility Classes (Override Tailwind)
   ========================================================================== */

/* Primary color (dark for header/footer backgrounds) */
.bg-primary {
    background-color: var(--color-primary) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.border-primary {
    border-color: var(--color-primary) !important;
}

/* Secondary/Accent color (green) */
.bg-secondary {
    background-color: var(--color-accent) !important;
}

.text-secondary {
    color: var(--color-accent) !important;
}

.border-secondary {
    border-color: var(--color-accent) !important;
}

/* Secondary with opacity */
.bg-secondary\/10 {
    background-color: rgba(134, 188, 40, 0.1) !important;
}

.bg-secondary\/20 {
    background-color: rgba(134, 188, 40, 0.2) !important;
}

/* Focus states for forms */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-accent) !important;
    --tw-ring-color: rgba(134, 188, 40, 0.2) !important;
}

/* Links */
a.text-secondary:hover {
    color: var(--color-accent-dark) !important;
}

/* Checkbox accent color */
input[type="checkbox"] {
    accent-color: var(--color-accent);
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */
nav a:hover {
    color: var(--color-primary);
}

nav a.text-primary {
    font-weight: 500;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}
