:root {
    --bg: #faf9f7;
    --bg-alt: #f3f1ed;
    --card: #ffffff;
    --text: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #888;
    --border: #e5e3df;
    --border-dark: #d0cdc7;
    --dark: #1a2332;
    --accent: #2d5a3d;
    --accent-light: #e8f0eb;
    --accent-hover: #234830;
    --warm: #c17f4a;
    --warm-light: #fdf6f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --max-width: 1200px;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Fraunces', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--accent) 0%, #3d7a52 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 14px; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.logo-sub { font-size: 12px; color: var(--text-muted); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted); border-radius: 8px; transition: all 0.2s; }
.main-nav a:hover { color: var(--text); background: var(--bg-alt); }
.header-cta { display: flex; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; font-size: 14px; font-weight: 600; border-radius: 10px; border: none; cursor: pointer; transition: all 0.2s; gap: 8px; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); }

/* Hero */
.hero { padding: 60px 0 50px; background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(45,90,61,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-content { max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--accent-light); color: var(--accent); font-size: 13px; font-weight: 600; border-radius: 50px; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 48px); font-weight: 600; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 28px; max-width: 580px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 50px; font-size: 14px; color: var(--text-muted); transition: all 0.2s; }
.quick-link:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-sm); }

/* Sections */
.section { padding: 50px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.section-header h2 { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.3px; }
.section-header .more { font-size: 14px; color: var(--accent); font-weight: 500; }
.section-header .more:hover { text-decoration: underline; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: all 0.25s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--border-dark); }
.card.span-4 { grid-column: span 4; }
.card.span-6 { grid-column: span 6; }
.card.span-8 { grid-column: span 8; }
.card.span-12 { grid-column: span 12; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card-icon.green { background: var(--accent-light); }
.card-icon.warm { background: var(--warm-light); }
.card-icon.neutral { background: var(--bg-alt); }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { padding: 4px 10px; background: var(--bg-alt); border-radius: 6px; font-size: 12px; color: var(--text-muted); }
.tag.highlight { background: var(--accent-light); color: var(--accent); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* TELC Highlight */
.telc-highlight { background: linear-gradient(135deg, var(--accent) 0%, #3d7a52 100%); color: white; border: none; }
.telc-highlight h3, .telc-highlight p { color: white; }
.telc-highlight p { opacity: 0.9; }
.telc-highlight .btn { background: white; color: var(--accent); }

/* Jobs */
.jobs-list { display: grid; gap: 12px; }
.job-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg-alt); border-radius: 12px; gap: 16px; transition: all 0.2s; }
.job-item:hover { background: var(--border); }
.job-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.job-info p { font-size: 13px; color: var(--text-muted); margin: 0; }
.job-meta { display: flex; align-items: center; gap: 12px; }
.job-type { padding: 4px 10px; background: var(--card); border-radius: 6px; font-size: 12px; font-weight: 500; }

/* Q&A */
.qa-section { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 32px; margin-top: 20px; }
.qa-list { display: grid; gap: 12px; margin-top: 20px; }
.qa-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--card); border-radius: 12px; border: 1px solid var(--border); }
.qa-icon { width: 36px; height: 36px; background: var(--warm-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.qa-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.qa-content p { font-size: 13px; color: var(--text-muted); margin: 0; }
.qa-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--text-light); }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 24px; }
.partner-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; transition: all 0.2s; }
.partner-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.partner-logo { width: 60px; height: 60px; background: var(--bg-alt); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; }
.partner-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.partner-card span { font-size: 12px; color: var(--text-muted); }

/* Contact */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; }
.contact-info h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-benefits { display: grid; gap: 16px; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; }
.benefit-icon { width: 32px; height: 32px; background: var(--accent-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.benefit-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.benefit-text p { font-size: 13px; color: var(--text-muted); margin: 0; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; font-size: 14px; font-family: var(--font-body); border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); transition: all 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: var(--card); }
.form-group textarea { min-height: 100px; resize: vertical; }

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--border); padding: 50px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }

/* WooCommerce basic overrides */
.woocommerce ul.products li.product { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; transition: all 0.25s; }
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow); }
.woocommerce a.button, .woocommerce button.button { background: var(--accent) !important; color: white !important; border-radius: 10px !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--accent-hover) !important; }

/* Responsive */
@media (max-width: 900px) {
    .card.span-4, .card.span-6, .card.span-8 { grid-column: span 12; }
    .contact-section { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .header-inner { flex-wrap: wrap; }
    .main-nav { order: 3; width: 100%; justify-content: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
}
/* Hamburger button */
.hamburger-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger-btn span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .hamburger-btn { display: flex !important; }
    .header-cta { display: none !important; }
    .main-nav { display: none !important; flex-direction: column; width: 100%; background: #fff; position: absolute; top: 100%; left: 0; right: 0; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 12px 0; border-top: 1px solid var(--border); }
    .main-nav.open { display: flex !important; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li { display: block; width: 100%; }
    .main-nav li a { padding: 14px 24px; border-radius: 0; border-bottom: 1px solid var(--border); display: block; font-size: 15px; }
    .hero h1 { font-size: 26px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* WP Nav Menu integration */
.main-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.main-nav li { display: inline-flex; }
.main-nav li a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted); border-radius: 8px; transition: all 0.2s; text-decoration: none; }
.main-nav li a:hover { color: var(--text); background: var(--bg-alt); }
.main-nav li.current-menu-item a { color: var(--accent); }

/* Unternehmen logos in cards */
.card .company-logo { width: 80px; height: 80px; object-fit: contain; border-radius: 12px; margin-bottom: 16px; }
.card .company-logo-wrap { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--bg-alt); border-radius: 12px; padding: 8px; }
.card .company-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Partner logos fix */
.partner-logo img { max-width: 50px !important; max-height: 50px !important; object-fit: contain !important; }
