/* Zimmerli Baumanagement GmbH - High-End Swiss Architecture CSS Framework */
@import url('components.css');

:root {
    /* Color Palette */
    --clr-dark-bg: #0b1325;
    --clr-dark-surface: #131f37;
    --clr-light-bg: #ffffff;
    --clr-light-surface: #ffffff;
    --clr-primary: #f7c51e;
    --clr-primary-hover: #e5b30d;
    --clr-primary-light: rgba(247, 197, 30, 0.15);
    --clr-on-light-accent: #8a6a00;
    --clr-text-main: #1e293b;
    --clr-text-muted: #64748b;
    --clr-text-light: #f8fafc;
    --clr-border: rgba(247, 197, 30, 0.35);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(11, 19, 37, 0.05);
    --shadow-md: 0 12px 32px rgba(11, 19, 37, 0.08);
    --shadow-hover: 0 16px 36px rgba(247, 197, 30, 0.22);
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-light-bg);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

#main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.page-center {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 6.5rem 1.25rem 3.5rem;
    background: var(--clr-light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--clr-primary);
    color: #0b1325;
    font-weight: 700;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 0.85rem;
}

:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 3px;
}

.text-link {
    color: #0b1325;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid var(--clr-primary);
    padding-bottom: 2px;
}

.text-link:hover {
    color: #0b1325;
}

.btn-outline {
    border-color: var(--clr-border);
    color: var(--clr-text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    color: #0b1325;
    background: var(--clr-primary-light);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 4rem;
    align-items: start;
    max-width: 1050px;
    margin: 0 auto;
}

.about-contact-grid > * {
    min-width: 0;
}

.about-contact-grid a {
    overflow-wrap: anywhere;
}

.about-contact-title {
    font-size: 2.3rem;
    margin-bottom: 0.75rem;
    color: #0b1325;
    font-weight: 800;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 92%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Header & Sticky Navigation */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 19, 37, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-border);
    transition: all var(--transition-smooth);
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--clr-text-light);
    letter-spacing: -0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-brand span {
    color: var(--clr-primary);
}

.logo-badge {
    background: var(--clr-primary-light);
    border: 1px solid var(--clr-primary);
    color: var(--clr-primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.88rem;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.lang-btn {
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 5px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--clr-primary);
    background: var(--clr-primary-light);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.25);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--clr-primary);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--clr-primary);
}

/* Buttons moved to components.css */

/* Hero Section */
.hero-architectural {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-color: #0b1325;
    background-image: linear-gradient(135deg, rgba(11, 19, 37, 0.92) 0%, rgba(22, 36, 68, 0.88) 100%), url('../img/hero/home-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    color: var(--clr-text-light);
    padding-top: 84px;
    overflow: hidden;
}

.hero-architectural::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 85% 30%, rgba(247, 197, 30, 0.15) 0%, transparent 70%);
    pointer-events: none;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--clr-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--clr-primary);
}

.hero-lead {
    font-size: 1.2rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item .stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--clr-primary);
}

.stat-item .stat-lbl {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Feature Cards Grid */
.section-padding {
    padding: 5.5rem 0;
}

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

.section-subtitle {
    color: var(--clr-on-light-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.kicker {
    color: var(--clr-on-light-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid .card-architectural {
    padding: 1.35rem 1.1rem 1.5rem;
}

.worked-projects {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
}

.worked-project {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.worked-project img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
}

.worked-project-meta {
    padding: 0.9rem 1rem 1.1rem;
}

.worked-project-meta h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    color: #0b1325;
}

.worked-project-meta p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}

.card-architectural {
    background: var(--clr-light-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-architectural:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--clr-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--clr-primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Project Reference Showcase */
.project-card {
    background: var(--clr-light-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

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

.project-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #1e293b;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(11, 19, 37, 0.85);
    backdrop-filter: blur(8px);
    color: var(--clr-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.project-content {
    padding: 1.75rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Footer Styling */
.footer-dark {
    background: var(--clr-dark-bg);
    color: var(--clr-text-light);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--clr-border);
    flex-shrink: 0;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: rgba(248, 250, 252, 0.7);
    margin-top: 1rem;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--clr-primary);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(248, 250, 252, 0.7);
}

.footer-links a:hover {
    color: var(--clr-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.5);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(11, 19, 37, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 2rem;
        gap: 0.85rem;
        border-bottom: 1px solid var(--clr-border);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        z-index: 1001;
    }

    .nav-links.is-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.05rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        display: block;
        width: 100%;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worked-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Hide brand text starting from tablet/mobile screens: only Logo Icon + Language + CTA + Menu */
@media (max-width: 992px) {
    .about-split,
    .about-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-contact-title {
        font-size: clamp(1.35rem, 7vw, 1.6rem);
        padding-inline: 0.5rem;
    }

    .logo-brand .logo-text {
        display: none !important;
    }

    .logo-brand img {
        height: 38px;
        width: auto;
    }

    .nav-actions {
        gap: 0.65rem;
    }

    .btn-nav {
        padding: 7px 13px !important;
        font-size: 0.82rem !important;
        height: 36px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-architectural {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.25rem !important;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

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

@media (max-width: 600px) {
    .header-sticky .nav-wrapper {
        height: 60px;
    }

    .nav-links {
        top: 60px;
    }

    .logo-brand img {
        height: 34px;
        width: auto;
    }

    .nav-actions {
        gap: 0.45rem;
    }

    .lang-switcher {
        font-size: 0.76rem;
        gap: 2px;
    }

    .lang-btn {
        padding: 2px 4px;
    }

    .btn-nav {
        padding: 5px 9px !important;
        font-size: 0.75rem !important;
        height: 32px;
        border-radius: 4px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        margin-left: 2px;
        flex-shrink: 0;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .about-split,
    .about-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .worked-projects {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn:not(.btn-nav):not(.testimonial-btn) {
        width: 100%;
    }

    .cta-actions .btn {
        width: auto;
        min-width: 180px;
    }
}

/* Section widgets — also in components.css. Kept here so a stale components.css cannot unstyle CTAs. */
.cta-band {
    background: var(--clr-dark-bg);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}
.cta-band h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.85rem;
}
.cta-band p {
    color: rgba(255,255,255,0.8);
    max-width: 620px;
    margin: 0 auto 1.75rem auto;
    line-height: 1.7;
}
.cta-band.reveal-zoom-in,
.cta-band.reveal-fade-up {
    opacity: 1;
    transform: none;
}
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
}
.benefit-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem 1.45rem 1.55rem;
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    color: var(--clr-text-muted);
    line-height: 1.65;
    box-shadow: var(--shadow-sm);
}
.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--clr-primary);
    color: #0b1325;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-list p { margin: 0; }
.benefit-list strong {
    color: #0b1325;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.08rem;
}
.device-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-top: 1.5rem;
}
.device-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.device-card img,
.device-card .media-placeholder {
    width: min(100%, 280px);
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    display: block;
    margin: 1.35rem auto 0;
}
.device-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.device-card-body h3 { font-size: 1.2rem; margin: 0 0 0.85rem 0; }
.device-card-body p {
    color: var(--clr-text-muted);
    margin: 0 0 0.55rem 0;
    line-height: 1.55;
    font-size: 0.95rem;
}
.scene-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    gap: 1.25rem;
    margin-top: 2rem;
    justify-content: start;
}
.scene-pair img,
.scene-pair .media-placeholder {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.subpage-hero--plain {
    background: #0b1325;
    background-image: none;
}
@media (max-width: 850px) {
    .device-grid,
    .scene-pair,
    .benefit-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .cta-band { padding: 3.5rem 0; }
}

