/* --- Variablen & Reset (Corporate Slate & Red) --- */
:root {
    --sidebar-width: 270px;
    
    /* Farben */
    --color-sidebar: #2C3E50;   /* Dunkles Schiefergrau */
    --color-bg: #F4F6F8;        /* Helles Grau-Weiß */
    --color-text: #34495E;      /* Dunkelgrau für Text */
    --color-red: #D32F2F;       /* Corporate Red (Seriös) */
    --color-red-hover: #B71C1C;
    --color-white: #FFFFFF;
    --color-light-gray: #E0E0E0;
    
    /* Fonts */
    --font-heading: 'Roboto Condensed', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Layout --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar);
    color: var(--color-white);
    position: fixed;
    height: 100vh;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dot-red { color: var(--color-red); font-size: 3rem; line-height: 0; vertical-align: bottom; }

.nav-menu li { margin-bottom: 5px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #BDC3C7;
    display: block;
    padding: 12px 15px;
    font-weight: 400;
    text-transform: uppercase;
    border-left: 3px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-white);
    background-color: rgba(255,255,255,0.05);
    border-left-color: var(--color-red);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
    color: #95A5A6;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.phone-link { display: block; margin-top: 5px; color: var(--color-white); font-weight: 600; }
.iso { margin-top: 10px; font-size: 0.75rem; border: 1px solid #95A5A6; padding: 2px 5px; display: inline-block; }

/* --- Main Content --- */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
}

/* --- Hero & Headers --- */
.hero-header, .page-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-header.compact { height: 40vh; }

.overlay {
    background: linear-gradient(90deg, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.4) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    color: var(--color-white);
}

.hero-text { max-width: 700px; border-left: 5px solid var(--color-red); padding-left: 30px; }

.hero-header h1, .page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}
.highlight { color: var(--color-red); background: white; padding: 0 5px; }

.subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #ECF0F1;
}

/* --- Content Structure --- */
.content-container {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 80px 50px;
    width: 100%;
}

/* --- Typography & Sections --- */
.text-section { margin-bottom: 70px; }
h2 { 
    font-family: var(--font-heading); 
    font-size: 2.2rem; 
    margin-bottom: 25px; 
    color: var(--color-sidebar);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-red);
    display: inline-block;
    padding-bottom: 5px;
}
h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 15px; color: var(--color-sidebar); margin-top: 15px; font-weight: 600; }
p { margin-bottom: 20px; text-align: justify; font-size: 1.05rem; }

.bg-slate {
    background-color: var(--color-sidebar);
    color: white;
    padding: 50px;
    border-radius: 4px;
}
.bg-slate h2 { color: white; border-bottom-color: white; }

/* --- Grid & Cards --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 70px;
}

.grid-card {
    background: var(--color-white);
    padding: 30px;
    border-bottom: 4px solid var(--color-sidebar);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.grid-card:hover { 
    transform: translateY(-5px); 
    border-bottom-color: var(--color-red);
}

.icon-box { color: var(--color-red); margin-bottom: 20px; }

/* Split Layout */
.split-layout {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}
.split-layout img { width: 45%; border-radius: 2px; box-shadow: 10px 10px 0 var(--color-sidebar); }
.split-layout .split-content { width: 55%; }

.styled-list li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.styled-list li::before { content: '■'; color: var(--color-red); position: absolute; left: 0; font-size: 0.8em; top: 2px; }

/* --- Forms --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info { background: var(--color-white); padding: 30px; border: 1px solid #ddd; border-top: 4px solid var(--color-red); }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--color-sidebar); font-family: var(--font-heading); font-size: 0.9rem; text-transform: uppercase; }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
}
input:focus, textarea:focus { border-color: var(--color-red); outline: none; }

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}
.btn-red { background-color: var(--color-red); color: white; }
.btn-red:hover { background-color: var(--color-red-hover); }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--color-sidebar); }
.full-width { width: 100%; }

/* --- Testimonials --- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card {
    background: var(--color-white);
    padding: 30px;
    border-left: 4px solid var(--color-red);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.quote-mark { font-size: 3rem; color: var(--color-light-gray); line-height: 1; font-family: serif; }
blockquote { font-style: italic; color: #555; margin-bottom: 20px; }
cite { font-weight: 700; font-size: 0.9rem; display: block; color: var(--color-sidebar); text-transform: uppercase; }

/* --- Footer --- */
.page-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: 0.9rem;
    margin-top: auto;
    background: #fff;
}

/* --- Mobile Toggle --- */
.menu-toggle { display: none; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        width: 100%;
        transition: transform 0.3s ease;
        padding-top: 80px;
    }
    .sidebar.active { transform: translateX(0); }
    
    .main-content { margin-left: 0; width: 100%; }
    
    .menu-toggle {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: var(--color-sidebar);
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 4px;
        cursor: pointer;
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px auto;
    }

    .hero-header h1 { font-size: 2.5rem; }
    .overlay { padding: 0 30px; }
    .content-container { padding: 40px 20px; }
    .split-layout, .contact-layout { display: block; }
    .split-layout img, .split-layout .split-content { width: 100%; }
    .split-layout img { margin-bottom: 20px; }
    .contact-info { margin-bottom: 30px; }
}