/* --------------------------------------------------------
   Designsystem – Zimmerermeister Max Scheinmaier
--------------------------------------------------------- */
:root {
    --cream-50: #fdfcf8;
    --cream-100: #f7f1e6;
    --cream-200: #ede2d1;
    --sand-200: #e1d0c0;
    --sand-400: #c9aa8c;
    --forest-500: #2c6045;
    --forest-600: #1f4c33;
    --forest-700: #153827;
    --slate-700: #3f3a33;
    --text-primary: #2b2925;
    --text-muted: #000000;
    --border-soft: rgba(41, 37, 31, 0.14);
    --border-strong: rgba(41, 37, 31, 0.24);
    --shadow-soft: 0 25px 65px rgba(20, 40, 32, 0.08);
    --shadow-lift: 0 18px 45px rgba(20, 40, 32, 0.16);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --nav-height: 110px;
}

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

body {
    font-family: 'Manrope', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, var(--cream-50) 0%, #f4ecdf 55%, #f8f3eb 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    letter-spacing: 0.01em;
}

body.no-scroll {
    overflow: hidden;
}

img,
picture {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

main {
    padding-bottom: 60px;
}

section {
    position: relative;
}

.section {
    padding: clamp(60px, 8vw, 110px) 0;
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.015em;
}

p {
    color: var(--text-muted);
}

.eyebrow {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: var(--forest-600);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    max-width: 560px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.9rem 1.85rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--forest-600);
    color: #fff;
    box-shadow: 0 15px 25px rgba(31, 76, 51, 0.28);
}

.btn-primary:hover {
    background: var(--forest-700);
}

.btn-secondary {
    background: transparent;
    border-color: var(--forest-600);
    color: var(--forest-600);
}

.btn-secondary:hover {
    background: rgba(31, 76, 51, 0.08);
}

/* --------------------------------------------------------
   Header & Navigation
--------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: var(--cream-50);
}

.utility-bar {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 230, 0.96));
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.95rem;
}

.utility-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0;
    flex-wrap: wrap;
}

.utility-bar__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted);
}

.utility-badge {
    font-weight: 600;
    color: var(--forest-600);
}

.utility-divider {
    width: 26px;
    height: 2px;
    background: var(--border-strong);
    display: inline-flex;
}

.utility-pill {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #fff;
    font-weight: 600;
    color: var(--forest-600);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.utility-pill:hover {
    border-color: var(--forest-600);
}

.utility-bar__contacts {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.nav-bar {
    background: var(--cream-50);
    border-bottom: 1px solid rgba(41, 37, 31, 0.1);
    box-shadow: 0 8px 40px rgba(20, 32, 25, 0.05);
}

.nav-bar.is-elevated {
    box-shadow: var(--shadow-lift);
}

.nav-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--nav-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--text-primary);
    transition: transform 0.25s ease;
}

.brand-mark {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.brand-mark img {
    width: 100%;
    height: auto;
    display: block;
}

.brand:hover .brand-mark {
    transform: scale(1.08);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-kicker {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--forest-600);
}

.brand-name {
    font-size: 1.55rem;
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.98rem;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--forest-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-cta .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
}

.nav-links .btn-primary {
    color: #fff;
}

.nav-mobile-note,
.nav-mobile-contact {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #fff;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 18px rgba(20, 40, 32, 0.12);
    position: relative;
    z-index: 2000;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 14, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.nav-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 960px) {
    .utility-bar {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(420px, 88vw);
        border-radius: 0;
        background: rgba(255, 255, 255, 0.96);
        border-left: 1px solid rgba(41, 37, 31, 0.1);
        flex-direction: column;
        padding: calc(var(--nav-height) + 1rem) clamp(1.4rem, 5vw, 2.2rem) 2.5rem;
        gap: 1.4rem;
        box-shadow: -20px 0 40px rgba(20, 40, 32, 0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateX(24px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 1500;
        overflow-y: auto;
        backdrop-filter: blur(16px);
    }

    .nav-links.is-open {
        opacity: 1;
        pointer-events: all;
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: left;
    }

    .nav-links li a {
        display: block;
        padding-bottom: 0.4rem;
        font-size: 1.1rem;
    }

    .nav-links li a::after {
        bottom: 0;
        height: 2px;
        width: 60%;
    }

    .nav-mobile-note,
    .nav-mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .nav-mobile-note {
        color: var(--forest-600);
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }

    .nav-mobile-note span {
        font-size: 0.8rem;
        letter-spacing: 0;
        text-transform: none;
        color: var(--text-muted);
    }

    .nav-mobile-contact {
        padding-top: 1rem;
        border-top: 1px solid rgba(41, 37, 31, 0.16);
    }

    .nav-mobile-contact a {
        font-weight: 600;
        color: var(--forest-600);
    }

    .nav-mobile-contact a + a {
        color: var(--text-muted);
    }

    .nav-cta {
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero {
    padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 7vw, 110px);
}

.hero-home {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(44, 96, 69, 0.25), transparent 55%), var(--cream-50);
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(244, 236, 223, 0.7), rgba(255, 255, 255, 0.95)), url("/assets/img/hero_holz.jpg") center/cover no-repeat;
    opacity: 0.25;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    margin-bottom: 1.2rem;
}

.hero-text .lead {
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.hero-highlights {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.hero-highlights li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: var(--text-primary);
    font-weight: 500;
}

.hero-highlights li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--forest-600);
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.hero-highlights--icons {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: clamp(1rem, 2vw, 1.4rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
    margin-top: clamp(1rem, 2vw, 1.8rem);
}

.hero-highlights--icons li {
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 76, 51, 0.14);
    background: rgba(31, 76, 51, 0.05);
}

.hero-highlights--icons li::before {
    display: none;
}

.hero-highlight__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(31, 76, 51, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-600);
    box-shadow: inset 0 1px 2px rgba(20, 40, 32, 0.08);
    flex-shrink: 0;
}

.hero-highlight__icon svg {
    width: 24px;
    height: 24px;
}

.hero-highlight__copy strong {
    display: block;
    font-size: 1.25rem;
    color: var(--forest-700);
}

.hero-highlight__copy span {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    gap: clamp(1rem, 2vw, 2.5rem);
    flex-wrap: wrap;
}

.stat {
    min-width: 135px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--forest-600);
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero-panel {
    display: grid;
    gap: 1.4rem;
}

.panel-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(41, 37, 31, 0.12);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.contact-card .contact-link {
    display: block;
    font-weight: 700;
    color: var(--forest-600);
    font-size: 1.1rem;
    margin-top: 0.8rem;
}

.promise-card ul {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.promise-card li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    color: var(--text-primary);
}

.promise-card li::before {
    content: "✓";
    color: var(--forest-600);
    font-weight: 700;
}

/* --------------------------------------------------------
   Intro / Services / Brand
--------------------------------------------------------- */
.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(30px, 6vw, 70px);
    align-items: center;
}

.intro-text h2 {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    margin: 0.6rem 0 1rem;
}

.intro-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.point-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    box-shadow: 0 12px 30px rgba(20, 40, 32, 0.1);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.section-header h2 {
    margin: 0.6rem 0;
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.service-card {
    padding: 1.8rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 26px rgba(22, 34, 26, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card h3 {
    margin-bottom: 0.8rem;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.brand-promise {
    background: var(--cream-100);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
}

.brand-text h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0.7rem 0 1.1rem;
}

.brand-callout {
    margin-top: 1.8rem;
    padding: 1.4rem 1.8rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border-soft);
    display: inline-flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--forest-600);
}

.brand-callout span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.brand-list {
    display: grid;
    gap: 1rem;
}

.brand-list li {
    border-left: 4px solid var(--forest-500);
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    box-shadow: 0 6px 16px rgba(20, 40, 32, 0.08);
}

.brand-list strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--forest-600);
}

/* --------------------------------------------------------
   Leistungen page
--------------------------------------------------------- */
.hero-leistungen {
    background: radial-gradient(circle at 10% 20%, rgba(44, 96, 69, 0.15), transparent 55%), var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero-leistungen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(247, 241, 230, 0.9), rgba(255, 255, 255, 0.95));
    opacity: 0.45;
    pointer-events: none;
}

.hero-leistungen__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.hero-leistungen__text {
    position: relative;
    z-index: 1;
}

.hero-leistungen__list {
    margin: 1.6rem 0 2rem;
    padding-left: 1.5rem;
    color: var(--text-primary);
}

.hero-leistungen__list li {
    position: relative;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero-leistungen__list li::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--forest-600);
    box-shadow: 0 0 0 6px rgba(31, 76, 51, 0.15);
}

.hero-leistungen__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(41, 37, 31, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.quality-card {
    background: var(--forest-600);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 1.8rem;
}

.quality-card__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.6rem;
}

.quality-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.quality-card__list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.quality-card__list li {
    padding-left: 1.3rem;
    position: relative;
    font-size: 0.95rem;
}

.quality-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.hero-leistungen__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.hero-leistungen__stats div {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(31, 76, 51, 0.25);
    background: rgba(247, 241, 230, 0.6);
    text-align: center;
}

.hero-leistungen__stats strong {
    display: block;
    font-size: 1.25rem;
    color: var(--forest-600);
}

.hero-leistungen__stats span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-leistungen__hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
}

.services-section {
    background: #fff;
}

.services-grid--detail {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card--detail {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(31, 76, 51, 0.1);
    color: var(--forest-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.service-card--detail ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: grid;
    gap: 0.3rem;
}

.process-section {
    background: var(--cream-100);
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.process-steps {
    list-style: none;
    display: grid;
    gap: 1.4rem;
    counter-reset: step;
}

.process-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: #fff;
    box-shadow: 0 12px 24px rgba(20, 40, 32, 0.08);
}

.step-index {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--forest-600);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.process-steps h3 {
    margin-bottom: 0.35rem;
}

.process-steps p {
    margin: 0;
    color: var(--text-muted);
}

.material-section {
    background: #fff;
}

.material-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.material-highlights {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.material-highlights article {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    background: var(--cream-50);
    box-shadow: 0 8px 20px rgba(20, 40, 32, 0.06);
}

.material-highlights strong {
    display: block;
    font-size: 1rem;
    color: var(--forest-600);
    margin-bottom: 0.3rem;
}

.material-panel {
    display: grid;
    gap: 1rem;
}

.material-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(22, 34, 26, 0.08);
}

.material-card h3 {
    margin-bottom: 0.8rem;
}

.material-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.3rem;
}

.contact-section {
    background: var(--forest-600);
    color: #fff;
}

.contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 3vw, 3rem);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

.contact-cta h2,
.contact-cta p,
.contact-cta .eyebrow {
    color: #fff;
}

.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* --------------------------------------------------------
   Referenzen page
--------------------------------------------------------- */
.hero-referenzen {
    background: radial-gradient(circle at 15% 20%, rgba(44, 96, 69, 0.16), transparent 55%), var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero-referenzen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(247, 241, 230, 0.85), rgba(255, 255, 255, 0.95));
    opacity: 0.55;
    pointer-events: none;
}

.hero-referenzen__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.hero-referenzen__text {
    position: relative;
    z-index: 1;
}

.hero-referenzen__panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(41, 37, 31, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.hero-referenzen__panel article {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(31, 76, 51, 0.06);
    border: 1px solid rgba(31, 76, 51, 0.12);
}

.hero-referenzen__panel h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.projects-section {
    background: var(--cream-50);
}

.projects-list {
    display: grid;
    gap: 2rem;
}

.project-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: grid;
    gap: 1.4rem;
}

.project-card__header h3 {
    margin: 0.4rem 0;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.project-location {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--forest-600);
    font-weight: 600;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
    padding: 0;
}

.project-features li {
    background: rgba(31, 76, 51, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
}

.project-gallery {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.gallery-thumb {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 0;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb img {
    width: 110px;
    height: 72px;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.gallery-thumb.is-active {
    border-color: var(--forest-600);
    box-shadow: 0 0 0 2px rgba(31, 76, 51, 0.15);
}

.project-gallery__stage figure {
    margin: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.project-gallery__stage img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 280px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-gallery__stage img.is-transitioning {
    opacity: 0.35;
    transform: scale(0.98);
}

.contact-section--light {
    background: #fff;
}

.contact-cta--light {
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
}

.contact-cta--light .eyebrow,
.contact-cta--light h2,
.contact-cta--light p {
    color: var(--text-primary);
}

.contact-cta--light .btn-outline {
    border-color: rgba(31, 76, 51, 0.4);
    color: var(--forest-600);
}

/* --------------------------------------------------------
   Footer
--------------------------------------------------------- */
.footer {
    background: var(--forest-600);
    color: #fff;
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.footer a {
    color: #fff;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------
   Forms & Misc
--------------------------------------------------------- */
form {
    display: grid;
    gap: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(41, 37, 31, 0.25);
    padding: 0.85rem 1rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--forest-600);
    box-shadow: 0 0 0 3px rgba(31, 76, 51, 0.15);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

/* --------------------------------------------------------
   Responsive tweaks
--------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .intro-grid,
    .brand-grid {
        grid-template-columns: 1fr;
    }

    .hero-leistungen__grid,
    .hero-referenzen__grid,
    .process-grid,
    .material-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-card {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .utility-bar__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        gap: 0.9rem;
    }

    .brand-mark {
        width: 78px;
        height: 78px;
    }

    .brand-kicker {
        font-size: 0.9rem;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-leistungen__panel {
        padding: 1.5rem;
    }

    .hero-referenzen__panel {
        padding: 1.2rem;
    }

    .process-steps li {
        grid-template-columns: 1fr;
    }

    .step-index {
        width: 36px;
        height: 36px;
        margin-bottom: 0.4rem;
    }

    .contact-cta__actions {
        width: 100%;
    }

    .contact-cta__actions .btn {
        flex: 1;
    }

    .project-gallery {
        flex-wrap: wrap;
    }

    .gallery-thumb img {
        width: 86px;
        height: 60px;
    }

    .project-gallery__stage img {
        min-height: 220px;
    }
}

/* --------------------------------------------------------
   Über mich Seite
--------------------------------------------------------- */
.section-heading {
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    margin-top: 0.5rem;
}

.section-heading .lead {
    margin-top: 1rem;
}

.label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--forest-600);
    font-weight: 600;
}

.about-hero {
    padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.95), rgba(247, 241, 230, 0.8));
}

.about-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.about-hero__points {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    margin: 1.5rem 0 1.8rem;
}

.about-hero__points li {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-soft);
}

.about-hero__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-hero__meta div {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 45px rgba(20, 40, 32, 0.1);
}

.about-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-hero__image {
    position: relative;
}

.about-hero__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
}

.about-hero__plan-card {
    position: absolute;
    bottom: clamp(12px, 3vw, 32px);
    right: clamp(12px, 3vw, 32px);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lift);
    width: min(320px, 85%);
}

.about-hero__plan-card ul {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: 0.7rem;
}

.about-hero__plan-card li {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
}

.about-hero__plan-card span {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--forest-600);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.about-story {
    background: #fff;
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 3vw, 3.5rem);
}

.about-story__bio {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.85));
}

.about-story__bio p + p {
    margin-top: 1rem;
}

.about-story__timeline {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.6rem;
}

.about-story__timeline li {
    font-weight: 600;
    color: var(--text-primary);
}

.about-story__timeline strong {
    color: var(--forest-600);
    margin-right: 0.6rem;
}

.about-story__card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--forest-600), var(--forest-700));
    color: #fff;
    box-shadow: 0 25px 60px rgba(21, 56, 39, 0.4);
}

.about-story__card p {
    color: rgba(255, 255, 255, 0.9);
}

.about-story__card h3 {
    color: #fff;
}

.about-story__card .label {
    color: rgba(255, 255, 255, 0.7);
}

.about-story__facts {
    margin: 1.5rem 0;
    display: grid;
    gap: 1rem;
}

.about-story__facts div {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.about-highlights {
    background: #fff;
}

.about-highlights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.2rem;
}

.highlight-card {
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.highlight-card .value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest-600);
    margin-bottom: 0.4rem;
}

.about-values {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, #f4ece0 100%);
}

.about-values__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 3vw, 4rem);
    align-items: center;
}

.about-values__intro {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.about-values__intro p {
    margin: 1rem 0 1.5rem;
}

.about-values__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.value-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.value-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--forest-600);
    margin-bottom: 0.8rem;
}

.about-process {
    background: #fff;
}

.about-process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}

.process-step {
    padding: 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--forest-600);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.about-cta {
    background: linear-gradient(120deg, var(--forest-700), var(--forest-500));
    color: #fff;
}

.about-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.about-cta__inner p {
    color: rgba(255, 255, 255, 0.85);
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-story__card .btn {
    background: #fff;
    border-color: #fff;
    color: var(--forest-700);
}

.about-story__card .btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

.about-cta .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.about-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.about-cta h2 {
    color: #fff;
}

@media (max-width: 1024px) {
    .about-story__grid,
    .about-values__grid {
        grid-template-columns: 1fr;
    }

    .about-hero__plan-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1.5rem;
        width: 100%;
    }

    .about-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .about-hero__grid {
        grid-template-columns: 1fr;
    }

    .about-hero__cta {
        flex-direction: column;
    }

    .about-values__cards,
    .about-process__steps {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------
   Kontakt page
--------------------------------------------------------- */
.hero-contact {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 12% 18%, rgba(44, 96, 69, 0.15), transparent 55%), var(--cream-50);
}

.hero-contact::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(244, 236, 223, 0.9), rgba(255, 255, 255, 0.95));
    opacity: 0.6;
    pointer-events: none;
}

.contact-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
}

.contact-hero__text h1 {
    margin: 0.35rem 0 1.25rem;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.contact-hero__text .lead {
    margin-bottom: 1.5rem;
}

.contact-hero__highlights {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.contact-hero__highlights li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.contact-hero__highlights li::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--forest-600);
    opacity: 0.85;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-hero__panel {
    position: relative;
}

.contact-panel {
    padding: clamp(1.8rem, 3vw, 2.4rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.2rem;
}

.contact-panel__logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    background: var(--cream-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-panel__logo img {
    width: 60px;
    height: auto;
}

.contact-panel__meta {
    display: grid;
    gap: 0.8rem;
}

.contact-panel__meta div {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(44, 96, 69, 0.12);
    background: rgba(44, 96, 69, 0.04);
}

.contact-panel__meta span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--forest-600);
    margin-bottom: 0.2rem;
}

.contact-panel__meta strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.contact-panel__meta small {
    color: rgba(47, 43, 36, 0.7);
}

.contact-panel__direct {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(41, 37, 31, 0.12);
}

.contact-panel__direct div {
    flex: 1;
    min-width: 140px;
}

.contact-panel__direct p {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    color: var(--forest-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-panel__direct a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--forest-700);
}

.contact-panel__note {
    font-size: 0.9rem;
    color: rgba(47, 43, 36, 0.78);
    line-height: 1.5;
}

.contact-split {
    background: #fff;
}

.contact-split__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.contact-form-card {
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.contact-form-card__header h2 {
    margin: 0.4rem 0 0.8rem;
}

.contact-form-card__header p {
    color: var(--text-muted);
}

.form-alert {
    margin: 1.2rem 0;
    padding: 0.95rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(41, 37, 31, 0.16);
    background: rgba(255, 228, 196, 0.45);
    font-weight: 500;
}

.form-alert--error {
    border-color: rgba(191, 52, 34, 0.35);
    background: rgba(191, 52, 34, 0.08);
    color: #a3291c;
}

.form-alert--warning {
    border-color: rgba(240, 173, 78, 0.4);
    background: rgba(240, 173, 78, 0.14);
    color: #9d4d12;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form__field label {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: #fff;
    padding: 0.85rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__field textarea {
    resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: rgba(44, 96, 69, 0.45);
    box-shadow: 0 0 0 3px rgba(44, 96, 69, 0.15);
}

.contact-form__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.contact-form__actions p {
    font-size: 0.9rem;
    color: rgba(47, 43, 36, 0.8);
    max-width: 360px;
}

.contact-details {
    display: grid;
    gap: 1.2rem;
}

.contact-detail {
    padding: 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.contact-detail h3 {
    margin: 0.3rem 0 0.6rem;
}

.contact-detail address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.contact-detail ul,
.contact-detail ol {
    margin: 0 0 0.8rem 1.2rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-detail ul {
    list-style: disc;
}

.contact-detail ol {
    list-style: decimal;
}

.contact-detail__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--forest-600);
}

.contact-callout {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--forest-700), var(--forest-500));
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-callout span {
    color: rgba(255, 255, 255, 0.85);
}

.contact-values {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), #f4ede3);
}

.contact-values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.contact-value-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-value__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(44, 96, 69, 0.2);
    color: var(--forest-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .contact-hero__grid,
    .contact-split__grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        margin-top: 1.5rem;
    }

    .contact-form__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .contact-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
