/* ==========================================================================
   Menz Sanitär GmbH - Premium Redesign
   ========================================================================== */

:root {
    --clr-dark: #0D1117;
    --clr-dark-2: #161B22;
    --clr-dark-card: #1C2333;
    --clr-light: #F8FAFC;
    --clr-light-2: #EEF2F7;
    --clr-brand: #1B6CA8;
    --clr-brand-light: #2B8FDB;
    --clr-accent: #E67E22;
    --clr-accent-light: #F39C12;
    --clr-text-dark: #1A202C;
    --clr-text-mid: #4A5568;
    --clr-text-light: #CBD5E0;
    --clr-border-dark: rgba(255, 255, 255, 0.08);
    --clr-border-light: #E2E8F0;
    --clr-white: #FFFFFF;
    --font-heading: 'Archivo', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --max-width: 1200px;
    --nav-h: 72px;
    --section-pad: 100px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 0.25s var(--ease-out);
    --t-med: 0.5s var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--clr-dark);
    color: var(--clr-text-light);
    overflow-x: hidden;
}

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5%, 4rem);
}

/* Typography */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-brand-light);
    margin-bottom: 0.75rem;
}

.section-label.light {
    color: var(--clr-accent-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--clr-text-dark);
}

.section-title.light {
    color: var(--clr-white);
}

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 600px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 1rem auto 0;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: var(--clr-brand);
    margin: 1.25rem 0 1.75rem;
    border-radius: 2px;
}

.body-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--clr-text-mid);
    margin-bottom: 1rem;
}

.body-text.light-text {
    color: var(--clr-text-light);
}

.text-accent {
    color: var(--clr-accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--t-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-brand);
    color: var(--clr-white);
    border: 2px solid var(--clr-brand);
}

.btn-primary:hover {
    background: var(--clr-brand-light);
    border-color: var(--clr-brand-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 108, 168, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--clr-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    border-color: var(--clr-white);
    background: rgba(255, 255, 255, 0.08);
}

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

/* Sections */
.section {
    padding: var(--section-pad) 0;
}

.section-dark {
    background: var(--clr-dark);
}

.section-light {
    background: var(--clr-light);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 900;
    transition: background var(--t-fast), box-shadow var(--t-fast);
}

.nav.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--clr-border-dark);
}

.nav-inner {
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5%, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-symbol {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--clr-brand);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--clr-white);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--clr-text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.nav-links li {
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-light);
    transition: color var(--t-fast);
}

.nav-links a:hover {
    color: var(--clr-white);
}

.nav-cta {
    background: var(--clr-brand) !important;
    color: white !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 4px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--clr-brand-light) !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--t-fast);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(27, 108, 168, 0.18) 0%, transparent 65%), radial-gradient(ellipse at 20% 90%, rgba(230, 126, 34, 0.08) 0%, transparent 50%), var(--clr-dark);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
    padding-bottom: 3rem;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(27, 108, 168, 0.15);
    border: 1px solid rgba(27, 108, 168, 0.3);
    color: #7EC8E3;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clr-brand-light);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    opacity: 0;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--clr-text-light);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
}

/* Hero Stats Bar */
.hero-stats {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 2rem clamp(1.5rem, 5%, 4rem);
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid var(--clr-border-dark);
    backdrop-filter: blur(8px);
    opacity: 0;
}

.stat-item {
    padding: 0 4rem;
    text-align: center;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: -0.05em;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--clr-text-light);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--clr-border-dark);
}

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 160px;
    left: clamp(1.5rem, 5%, 4rem);
    z-index: 10;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--clr-light-2);
    overflow: hidden;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 0, 0, 0.025) 10px, rgba(0, 0, 0, 0.025) 20px);
}

.about-image-accent {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 2;
}

.accent-top-right {
    top: 16px;
    right: 16px;
    border-top: 3px solid var(--clr-brand);
    border-right: 3px solid var(--clr-brand);
}

.accent-bottom-left {
    bottom: 16px;
    left: 16px;
    border-bottom: 3px solid var(--clr-accent);
    border-left: 3px solid var(--clr-accent);
}

.year-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 110px;
    background: var(--clr-brand);
    color: white;
    text-align: center;
    padding: 1.25rem 1rem;
}

.year-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.year-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-top: 2px;
}

.trust-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--clr-text-mid);
    font-weight: 500;
}

.trust-item svg {
    color: var(--clr-brand);
    flex-shrink: 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5px;
    background: var(--clr-border-dark);
    border: 1px solid var(--clr-border-dark);
    margin-top: 4rem;
}

.service-card {
    background: var(--clr-dark-card);
    padding: 2.5rem 2rem;
    transition: background var(--t-med);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--clr-dark-2);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(27, 108, 168, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand-light);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #8B95A2;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #6B7685;
}

.service-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--clr-accent);
    flex-shrink: 0;
}

.card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--clr-brand), var(--clr-accent));
    transition: width 0.6s var(--ease-out);
}

.service-card:hover .card-line {
    width: 100%;
}

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.trust-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--clr-border-light);
    border-radius: 8px;
    transition: box-shadow var(--t-med), transform var(--t-med);
}

.trust-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.trust-icon-big {
    width: 60px;
    height: 60px;
    background: var(--clr-light-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand);
    margin-bottom: 1.5rem;
}

.trust-icon-big svg {
    width: 28px;
    height: 28px;
}

.trust-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-text-dark);
    margin-bottom: 0.6rem;
}

.trust-card p {
    font-size: 0.92rem;
    color: var(--clr-text-mid);
    line-height: 1.7;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: rgba(27, 108, 168, 0.15);
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand-light);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.detail-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text-light);
    opacity: 0.6;
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 0.98rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

.detail-value a {
    color: var(--clr-brand-light);
    transition: color var(--t-fast);
}

.detail-value a:hover {
    color: var(--clr-white);
}

/* Form */
.contact-form {
    background: var(--clr-dark-card);
    border: 1px solid var(--clr-border-dark);
    border-radius: 8px;
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group label span {
    color: var(--clr-accent);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--clr-border-dark);
    border-radius: 4px;
    padding: 0.8rem 1rem;
    color: var(--clr-white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color var(--t-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--clr-brand);
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--clr-text-light);
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--clr-border-dark);
    border-radius: 30px;
    transition: border-color var(--t-fast);
}

.checkbox-label:hover,
.radio-label:hover {
    border-color: var(--clr-brand);
}

.checkbox-label input,
.radio-label input {
    accent-color: var(--clr-brand);
}

/* Footer */
.footer {
    background: var(--clr-dark-2);
    border-top: 1px solid var(--clr-border-dark);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--clr-border-dark);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-top: 0.75rem;
    opacity: 0.6;
    font-style: italic;
}

.footer-links-group {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text-light);
    opacity: 0.5;
    margin-bottom: 0.25rem;
}

.footer-col a,
.footer-col span {
    font-size: 0.92rem;
    color: var(--clr-text-light);
    transition: color var(--t-fast);
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem clamp(1.5rem, 5%, 4rem) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.3);
    transition: color var(--t-fast);
}

.footer-legal a:hover {
    color: var(--clr-white);
}

/* Animations */
.anim-up {
    opacity: 0;
    transform: translateY(30px);
}

.anim-left {
    opacity: 0;
    transform: translateX(-40px);
}

.anim-right {
    opacity: 0;
    transform: translateX(40px);
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --section-pad: 72px;
    }

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

    .about-image-wrapper {
        max-width: 400px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
    }

    .nav-links {
        display: none;
        gap: 1.5rem;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--clr-border-dark);
    }

    .nav-links.open {
        display: flex;
    }

    .burger {
        display: flex;
    }

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

    .stat-item {
        padding: 0.5rem 0;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links-group {
        gap: 2rem;
    }

    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
}