/* ============================================================
   Ingenieurbüro Lutz Woitke – Stylesheet
   Colors: Dark earth #2e2b24 | Terracotta #a86a38 | Cream #f4f0e8
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

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

:root {
    --navy:   #2e2b24;   /* dark earth / almost-black warm brown */
    --orange: #a86a38;   /* muted terracotta / burnt sienna       */
    --light:  #e6e0d5;   /* warm sand / cream section background  */
    --white:  #ede8de;   /* warm off-white instead of stark white */
    --text:   #2e2b24;   /* same dark earth for body text         */
    --muted:  #6b6055;   /* warm mid-brown for secondary text     */
    --border: #dbd5cb;   /* sandy border                          */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--navy);
}

/* ---- Layout ---- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: var(--light);
}

/* ---- Navigation ---- */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.nav-logo-sub {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 11px;
    color: var(--orange);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-menu a {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--orange);
    color: var(--white);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 760px;
}

.hero-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 3px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #8c5528;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 12px;
}

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

/* ---- Section headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header p {
    margin-top: 16px;
    color: var(--muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Services Grid ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 28px rgba(46,43,36,0.12);
    transform: translateY(-3px);
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-body {
    padding: 24px;
}

.service-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    color: var(--navy);
}

.service-card-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ---- Icon list (services icon style) ---- */
.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-icon {
    width: 36px;
    height: 36px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    font-size: 18px;
    font-weight: 800;
    font-family: 'Raleway', sans-serif;
}

.service-list-text strong {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: 4px;
}

.service-list-text span {
    font-size: 13px;
    color: var(--muted);
}

/* ---- About section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-text h2 {
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 16px;
}

.about-highlight {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    font-style: italic;
    border-left: 4px solid var(--orange);
    padding-left: 20px;
    margin: 28px 0;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: var(--navy);
    padding: 64px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(24px, 3vw, 36px);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    font-size: 16px;
}

/* ---- Contact section ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    font-size: 16px;
}

.contact-detail-body strong {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-detail-body span,
.contact-detail-body a {
    font-size: 15px;
    color: var(--muted);
}

.contact-form label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

/* ---- Photo gallery strip ---- */
.photo-strip {
    display: grid;
    grid-template-columns: 3fr 7fr 7fr 3fr 3fr;
    gap: 0;
}

.photo-strip img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}

.photo-strip img:hover {
    opacity: 0.85;
}

/* ---- Footer ---- */
.site-footer {
    background: #1e1c17;
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 100px;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 16px;
}

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

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-col ul li::before {
    content: '–  ';
    color: var(--orange);
}

.footer-col a {
    color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-bar a {
    color: rgba(255,255,255,0.5);
}

.footer-bar a:hover {
    color: var(--orange);
}

/* ---- Leistungen detail page ---- */
.leistung-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.leistung-item:last-child {
    border-bottom: none;
}

.leistung-item.reverse {
    direction: rtl;
}

.leistung-item.reverse > * {
    direction: ltr;
}

.leistung-img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.leistung-text h3 {
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    color: var(--navy);
}

.leistung-text p {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 15px;
}

/* ---- Page hero (for inner pages) ---- */
.page-hero {
    background: var(--navy);
    padding: 56px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page-hero p {
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
    font-size: 16px;
}

.breadcrumb {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.breadcrumb a {
    color: var(--orange);
}

/* ---- Impressum ---- */
.legal-content h2 {
    font-size: 20px;
    margin: 32px 0 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
    border-top: none;
    margin-top: 0;
}

.legal-content p,
.legal-content address {
    font-style: normal;
    color: var(--muted);
    margin-bottom: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid,
    .leistung-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .leistung-item.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .photo-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        height: 480px;
    }

    .nav-menu {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .photo-strip {
        grid-template-columns: 1fr 1fr;
    }

    section {
        padding: 52px 0;
    }

    .btn-outline {
        display: none;
    }
}
