/*
Theme Name: Weitzel IT
Theme URI: https://weitzelit.de
Author: Weitzel IT GmbH
Author URI: https://weitzelit.de
Description: Modernes, responsives WordPress-Theme für Weitzel IT GmbH. Präsentiert Webentwicklung und Website-Dienstleistungen mit einem professionellen, tech-orientierten Design.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weitzel-it
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ========================================
   CSS Custom Properties / Design Tokens
   WEITZEL IT DESIGN SYSTEM
   ======================================== */
:root {
    /* Offizielle Farbpalette Weitzel IT */
    --color-primary: #ff9900;           /* WIT Orange */
    --color-primary-light: #ffad33;     /* WIT Orange Hell */
    --color-primary-dark: #e68a00;      /* WIT Orange Dunkel */
    --color-primary-glow: rgba(255, 153, 0, 0.4);
    
    --color-secondary: #333333;         /* WIT Dunkelgrau */
    --color-secondary-light: #4d4d4d;
    --color-secondary-dark: #1a1a1a;
    --color-secondary-glow: rgba(51, 51, 51, 0.5);
    
    --color-accent: #ff9900;            /* WIT Orange als Akzent */
    --color-accent-light: #ffad33;
    --color-accent-glow: rgba(255, 153, 0, 0.4);
    
    /* Hintergrund */
    --color-background: #fdf6eb;        /* WIT Cremeweiß */
    --color-background-alt: #f5ede0;
    
    /* Neutrale Farben */
    --color-white: #FFFFFF;
    --color-off-white: #fdf6eb;
    --color-light-gray: #e8e0d5;
    --color-medium-gray: #64748B;
    --color-dark-gray: #333333;
    --color-black: #1a1a1a;
    
    /* Glass Effect Colors */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-bg-light: rgba(253, 246, 235, 0.9);
    --glass-bg-dark: rgba(51, 51, 51, 0.9);
    
    /* Semantische Farben */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Typografie */
    --font-heading: 'Inter', 'SF Pro Display', system-ui, sans-serif;
    --font-body: 'Inter', 'SF Pro Text', system-ui, sans-serif;
    --font-accent: 'Space Grotesk', monospace;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);
    --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 5.5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Layout */
    --container-max: 1280px;
    --container-narrow: 900px;
    --container-wide: 1440px;
    --header-height: 80px;
    --header-height-scrolled: 60px;
    
    /* Borders & Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(51, 51, 51, 0.05);
    --shadow-md: 0 4px 12px rgba(51, 51, 51, 0.08);
    --shadow-lg: 0 12px 24px rgba(51, 51, 51, 0.12);
    --shadow-xl: 0 24px 48px rgba(51, 51, 51, 0.16);
    --shadow-glow: 0 0 40px var(--color-primary-glow);
    --shadow-glow-accent: 0 0 30px var(--color-accent-glow);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-dark-gray);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-secondary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   Container
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.container-wide {
    max-width: var(--container-wide);
}

/* ========================================
   Header - Minimal Line Style
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-base);
}

.site-header.scrolled {
    background: var(--color-white);
    box-shadow: 0 1px 0 var(--color-light-gray);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    transition: var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .header-inner {
    height: var(--header-height-scrolled);
    border-bottom-color: transparent;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.custom-logo-link {
    display: block;
    position: relative;
}

.site-logo {
    height: 45px;
    width: auto;
    transition: var(--transition-base);
}

/* Dark Logo zeigen wenn Header transparent, Light Logo verstecken */
.site-logo--dark {
    display: block;
}

.site-logo--light {
    display: none;
}

/* Beim Scrollen: Light Logo zeigen, Dark Logo verstecken */
.site-header.scrolled .site-logo--dark {
    display: none;
}

.site-header.scrolled .site-logo--light {
    display: block;
}

.site-header.scrolled .site-logo {
    height: 38px;
}

/* Fallback wenn nur ein Logo vorhanden */
.site-logo--dark:only-child,
.site-logo--light:only-child {
    display: block;
}

.site-title {
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 1px;
}

.site-title a {
    color: var(--color-white);
    text-decoration: none;
}

.site-header.scrolled .site-title a {
    color: var(--color-secondary);
}

/* Hamburger Menu - Minimal */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    gap: 7px;
}

.hamburger-line {
    display: block;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 0;
    transition: var(--transition-base);
}

.hamburger-line:nth-child(1) { width: 28px; }
.hamburger-line:nth-child(2) { width: 20px; }
.hamburger-line:nth-child(3) { width: 28px; }

.site-header.scrolled .hamburger-line {
    background-color: var(--color-secondary);
}

.menu-toggle:hover .hamburger-line:nth-child(2) {
    width: 28px;
}

.menu-toggle.active .hamburger-line {
    background-color: var(--color-white);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    width: 28px;
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    width: 28px;
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Overlay - Fullscreen Dark */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 998;
    backdrop-filter: blur(5px);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Fullscreen Navigation - Split Design */
.fullscreen-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    z-index: 999;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(100%);
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.fullscreen-nav.active {
    transform: translateX(0);
}

.fullscreen-nav-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fullscreen-nav-close:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

/* Nav Left Side - Menu */
.fullscreen-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4xl);
    background: var(--color-secondary);
}

.fullscreen-nav-menu li {
    margin-bottom: 0;
    overflow: hidden;
}

.fullscreen-nav-menu a {
    display: block;
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    padding: var(--space-md) 0;
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
    letter-spacing: -1px;
}

.fullscreen-nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition-base);
}

.fullscreen-nav-menu a:hover {
    color: var(--color-primary);
    padding-left: var(--space-lg);
}

.fullscreen-nav-menu a:hover::before {
    width: 60px;
}

/* Nav Right Side - Info */
.fullscreen-nav-secondary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4xl);
    background: var(--color-secondary-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.fullscreen-nav-secondary .nav-contact {
    margin-bottom: var(--space-3xl);
}

.fullscreen-nav-secondary .nav-contact-label {
    color: var(--color-primary);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
    display: block;
}

.fullscreen-nav-secondary .nav-contact-value {
    color: var(--color-white);
    font-size: var(--text-xl);
    text-decoration: none;
    display: block;
    transition: var(--transition-fast);
}

.fullscreen-nav-secondary .nav-contact-value:hover {
    color: var(--color-primary);
}

.fullscreen-nav-menu--secondary {
    display: none;
}

@media (max-width: 768px) {
    .fullscreen-nav {
        grid-template-columns: 1fr;
    }
    
    .fullscreen-nav-secondary {
        display: none;
    }
    
    .fullscreen-nav-menu {
        padding: var(--space-3xl) var(--space-xl);
        padding-top: 100px;
    }
    
    .fullscreen-nav-menu a {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
}

/* ========================================
   Hero Section - Modern Tech Style
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(51, 51, 51, 0.8) 0%, rgba(51, 51, 51, 0.75) 50%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 1;
}

/* Geometric Shapes Background */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.hero-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.hero-grid::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: var(--space-2xl);
}

.hero-badge {
    display: inline-block;
    color: var(--color-primary);
    padding: 0;
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: var(--space-xs);
}

.hero-title {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* ========================================
   Buttons - Modern Flat Style
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
    color: var(--color-white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-secondary);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: var(--color-secondary);
    padding: var(--space-4xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.stat-icon {
    width: 70px;
    height: 70px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 3.5rem;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-suffix {
    color: var(--color-primary);
}

.stat-label {
    font-size: var(--text-lg);
    color: var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 2.8rem;
    }
}

/* ========================================
   Sections - Asymmetric Layout
   ======================================== */
.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-dark {
    background: var(--color-secondary);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.section-alt {
    background: var(--color-background-alt);
    position: relative;
    padding-bottom: calc(var(--space-5xl) + 60px);
}

/* Asymmetric section header */
.section-header {
    max-width: 700px;
    margin: 0 0 var(--space-3xl) 0;
    text-align: left;
}

.section-header-centered {
    text-align: center;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-block;
    background: transparent;
    color: var(--color-primary);
    padding: 0;
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
    position: relative;
}

.section-badge::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
    margin-right: var(--space-md);
    vertical-align: middle;
}

.section-dark .section-badge {
    color: var(--color-primary);
}

.section-title {
    margin-bottom: var(--space-md);
    font-size: var(--text-3xl);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-medium-gray);
    max-width: 550px;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Services - Horizontal Stacked Cards
   ======================================== */
.services-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.service-card-horizontal {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(51, 51, 51, 0.06);
    border: 1px solid var(--color-light-gray);
    transition: var(--transition-base);
    min-height: 280px;
}

.service-card-horizontal:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
}

.service-card-horizontal:nth-child(even) .service-card-image {
    order: 2;
}

.service-card-horizontal:hover {
    box-shadow: 0 8px 40px rgba(51, 51, 51, 0.1);
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.service-card-horizontal:nth-child(even):hover {
    transform: translateX(-8px);
}

.service-card-horizontal .service-card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-alt) 100%);
}

.service-card-horizontal .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.service-card-horizontal:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-horizontal .service-card-badge {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-horizontal .service-card-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-horizontal .service-card-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    font-weight: 700;
    color: var(--color-secondary);
}

.service-card-horizontal .service-card-excerpt {
    color: var(--color-medium-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.service-card-horizontal .service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
}

.service-card-horizontal .service-card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-dark-gray);
}

.service-card-horizontal .service-card-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .service-card-horizontal,
    .service-card-horizontal:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .service-card-horizontal:nth-child(even) .service-card-image {
        order: 0;
    }
    
    .service-card-horizontal .service-card-image {
        min-height: 200px;
    }
    
    .service-card-horizontal:hover,
    .service-card-horizontal:nth-child(even):hover {
        transform: translateY(-4px);
    }
}

/* Legacy Grid for fallback */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(51, 51, 51, 0.08);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-light-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(51, 51, 51, 0.12);
    border-color: var(--color-primary);
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-alt) 100%);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.service-card:hover .service-card-image img {
    transform: scale(1.03);
}

.service-card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-content {
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.service-card-title a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-card-title a:hover {
    color: var(--color-primary);
}

.service-card-excerpt {
    color: var(--color-medium-gray);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    line-height: 1.6;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
    border-top: 1px solid var(--color-light-gray);
    padding-top: var(--space-md);
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 0;
    font-size: var(--text-sm);
    color: var(--color-dark-gray);
}

.service-card-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    transition: var(--transition-fast);
}

.service-card-link:hover {
    gap: var(--space-md);
    color: var(--color-primary-dark);
}

/* ========================================
   Portfolio / Referenzen - Logo Marquee
   ======================================== */
.logo-marquee-section {
    padding: var(--space-4xl) 0;
    padding-bottom: calc(var(--space-4xl) + 60px);
    overflow: hidden;
    background: var(--color-background-alt);
}

.logo-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-background-alt), transparent);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-background-alt), transparent);
}

.logo-marquee {
    display: flex;
    gap: var(--space-3xl);
    animation: marquee 30s linear infinite;
    width: max-content;
}

.logo-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-xl);
    min-width: 180px;
    height: 100px;
    background: transparent;
    border-radius: var(--radius-md);
}

.logo-marquee-item img {
    max-width: 150px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Originalfarben, nur leicht entsättigt */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-base);
}

.logo-marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Dark background variant for logos with light elements */
.logo-marquee-item--dark {
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
}

/* Static Grid Fallback for few logos */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.portfolio-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--color-light-gray);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.portfolio-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.1);
}

.portfolio-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-base);
    filter: grayscale(100%);
    opacity: 0.6;
}

.portfolio-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.portfolio-card-overlay {
    display: none;
}

.portfolio-card-title,
.portfolio-card-category {
    display: none;
}

/* ========================================
   Tech Stack
   ======================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tech-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tech-item span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-secondary);
}

/* ========================================
   Clients / Kunden Logos
   ======================================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.client-logo img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-base);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   Booking Section (Zeeg.me)
   ======================================== */
.section-booking {
    background: var(--color-secondary);
    position: relative;
}

.section-booking::before {
    content: '';
    position: absolute;
    top: -59px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--color-secondary);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
}

.section-booking.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.booking-embed {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.booking-embed iframe {
    display: block;
    width: 100%;
    min-height: 750px;
    border: none;
}

@media (max-width: 768px) {
    .booking-embed iframe {
        min-height: 800px;
    }
}

/* ========================================
   CTA Section - Minimal Style
   ======================================== */
.cta-section {
    background: var(--color-secondary);
    padding: var(--space-5xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.4);
}

.btn-cta:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: var(--space-4xl) 0 0;
}

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

.footer-widget h4 {
    color: var(--color-white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-md);
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-widget p,
.footer-widget li {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-widget ul li {
    margin-bottom: var(--space-sm);
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-widget a:hover {
    color: var(--color-primary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ========================================
   Page Templates
   ======================================== */
.page-header {
    background: var(--color-secondary);
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
    text-align: center;
}

.page-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-lg);
}

.page-content {
    padding: var(--space-4xl) 0;
}

/* Single Service */
.single-service-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--color-secondary);
    padding-top: var(--header-height);
}

.single-service-content {
    padding: var(--space-4xl) 0;
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--color-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: var(--transition-fast);
    background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }

.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --header-height-scrolled: 60px;
    }
    
    .hero-content {
        padding: var(--space-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .fullscreen-nav {
        max-width: 100%;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Staggered animations */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ========================================
   WordPress Specific
   ======================================== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: left;
    margin-right: var(--space-lg);
    margin-bottom: var(--space-md);
}

.alignright {
    float: right;
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-light-gray);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--color-secondary);
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    height: auto;
    left: var(--space-sm);
    line-height: normal;
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    top: var(--space-sm);
    width: auto;
    z-index: 100000;
}
