/* --- Variables & Reset (Bauhaus / Concrete Palette) --- */
:root {
    --sidebar-width: 280px;
    
    /* Farben */
    --color-bg: #f4f4f4;        /* Helles Grauweiß */
    --color-sidebar: #1a1a1a;   /* Fast Schwarz (Charcoal) */
    --color-text: #444444;      /* Dunkelgrau */
    --color-heading: #222222;   /* Schwarz */
    --color-concrete: #8c8c8c;  /* Beton Grau */
    --color-concrete-light: #e0e0e0;
    --color-accent: #c0a062;    /* Subtiler Gold-Akzent für Luxus */
    
    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif; /* Elegant, klassisch */
    --font-body: 'Montserrat', sans-serif;       /* Modern, geometrisch */
}

* { 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.8;
    font-weight: 300;
}

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: #fff;
    position: fixed;
    height: 100vh;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

.brand {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 70px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}
.square-icon { color: var(--color-accent); margin-left: 5px; font-size: 1.5rem; vertical-align: middle; }

.nav-menu li { margin-bottom: 25px; }
.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #999;
    display: block;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #fff;
    padding-left: 15px;
    border-left-color: var(--color-accent);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.8rem;
    color: #666;
    padding-top: 40px;
    border-top: 1px solid #333;
    text-align: center;
}
.phone-link { display: block; margin-top: 10px; color: #fff; font-weight: 500; letter-spacing: 1px; }
.est { margin-top: 15px; font-family: var(--font-heading); font-style: italic; color: var(--color-accent); font-size: 1rem; }

/* --- Main Content --- */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
}

/* --- Hero Header --- */
.hero-header, .page-header {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-header.compact { height: 50vh; }

.overlay {
    background: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 60px;
    color: #fff;
}

.hero-text { max-width: 800px; border: 1px solid rgba(255,255,255,0.3); padding: 60px; backdrop-filter: blur(2px); }

.hero-header h1, .page-header h1 {
    font-family: var(--font-body);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 30px;
    color: #ddd;
}

/* --- Content Container --- */
.content-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 100px 60px;
    width: 100%;
    background-color: #fff; /* White canvas on grey body */
    margin-top: -50px; /* Overlap effect */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- Typography & Sections --- */
.text-section { margin-bottom: 80px; }
h2 { 
    font-family: var(--font-heading); 
    font-size: 2.8rem; 
    margin-bottom: 30px; 
    color: var(--color-heading);
    font-weight: 400;
    border-left: 1px solid var(--color-accent);
    padding-left: 20px;
}
h3 { font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 15px; color: var(--color-heading); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
p { margin-bottom: 20px; text-align: justify; font-size: 1.05rem; }

.bg-concrete-light {
    background-color: var(--color-bg);
    padding: 60px;
    border-left: 5px solid var(--color-concrete);
}

/* --- Grid & Cards (Architectural Style) --- */
.grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.grid-card {
    transition: opacity 0.3s;
}
.image-box {
    margin-bottom: 25px;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.grid-card img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}
.grid-card:hover img { transform: scale(1.05); filter: grayscale(0%); }

/* Split Layout */
.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.split-layout img { width: 45%; box-shadow: 20px 20px 0 var(--color-bg); }
.split-layout .split-content { width: 55%; }

/* --- Forms --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.contact-info { background: var(--color-sidebar); color: #fff; padding: 40px; }
.contact-info h3 { color: var(--color-accent); border-bottom: 1px solid #333; padding-bottom: 10px; }
.contact-info p { color: #ccc; }

.form-group { margin-bottom: 25px; }
label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--color-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    background: #fdfdfd;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0; /* Square corners */
    transition: 0.3s;
}
input:focus, textarea:focus { border-color: var(--color-sidebar); outline: none; background: #fff; }

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0;
}
.btn-concrete { background-color: var(--color-sidebar); color: #fff; }
.btn-concrete:hover { background-color: var(--color-accent); color: #000; }
.btn-outline { background: transparent; border: 1px solid var(--color-heading); color: var(--color-heading); }
.btn-outline:hover { background: var(--color-heading); color: #fff; }
.full-width { width: 100%; }

/* --- Testimonials --- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.review-card {
    padding: 40px;
    background: #fbfbfb;
    border: 1px solid #eee;
    text-align: center;
}
.deco-line { width: 50px; height: 1px; background: var(--color-accent); margin: 0 auto 20px auto; }
blockquote { font-style: italic; color: #555; margin-bottom: 20px; font-family: var(--font-heading); font-size: 1.2rem; }
cite { font-weight: 500; font-size: 0.8rem; display: block; color: var(--color-sidebar); text-transform: uppercase; letter-spacing: 1px; }

/* --- Footer --- */
.page-footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid #ddd;
    color: #888;
    font-size: 0.8rem;
    margin-top: auto;
    background: #fff;
}

/* --- Mobile Menu Button --- */
.menu-toggle { display: none; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        width: 100%;
        transition: transform 0.4s ease;
        padding-top: 80px;
    }
    .sidebar.active { transform: translateX(0); }
    
    .main-content { margin-left: 0; width: 100%; }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        position: fixed;
        top: 25px;
        left: 25px;
        z-index: 1001;
        background: transparent;
        border: none;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    /* Menu Icon Lines */
    .line {
        display: block;
        width: 30px;
        height: 2px;
        background: #000; /* Dark for visibility on light bg, switch via JS if needed */
        transition: 0.3s;
    }
    /* When Sidebar is active, lines become white */
    .sidebar.active ~ .menu-toggle .line { background: #fff; } /* This CSS selector is tricky, handled in JS better */

    .hero-header h1 { font-size: 2.5rem; }
    .hero-text { padding: 30px; border: none; background: rgba(0,0,0,0.6); }
    .content-container { padding: 60px 25px; }
    .grid-section, .split-layout, .contact-layout { display: block; }
    .split-layout img, .split-layout .split-content { width: 100%; }
    .split-layout img { margin-bottom: 30px; box-shadow: none; }
    .grid-card { margin-bottom: 50px; }
    .contact-info { margin-bottom: 40px; }
}