/* base variables */
:root {
    --primary-color: #1a365d; /* Dunkelblau für Professionalität */
    --accent-color: #d69e2e;  /* Warmes Gold/Gelb für Elektrik/Energie-Akzent */
    --text-color: #2d3748;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --gray-muted: #718096;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: -2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2b6cb0 100%);
    color: var(--white);
    padding: 80px 0 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #b7791f;
}

/* Main Content Grid */
.main-content {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0 auto;
}

.grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Left Column: Info & Leistungen */
.about-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}

.about-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.leistungen-list {
    list-style: none;
    margin-top: 20px;
}

.leistungen-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 15px;
}

.leistungen-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

/* Right Column: Sidebar Contact, Quality & Image */
.sidebar-box {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    margin-bottom: 30px;
    border-top: 4px solid var(--accent-color);
}

.sidebar-box.image-box {
    padding: 15px;
    border-top: none;
    text-align: center;
}

.sidebar-box.image-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.sidebar-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item strong {
    width: 80px;
    flex-shrink: 0;
}

/* Footer */
footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 40px 0 20px 0;
    font-size: 14px;
}

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

.footer-box h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-box ul {
    list-style: none;
}

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

.footer-box a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-box a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

/* Responsive Design Media Queries */
@media (max-width: 992px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}
