/* VALBRECHT GmbH | Interior Service - Design System CSS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-bg-light: #F7F3EC;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #12161F;
    --color-bg-card-dark: #1A202C;
    --color-text-dark: #282828;
    --color-text-muted: #64748B;
    --color-text-light: #F8FAFC;
    --color-text-light-muted: #94A3B8;
    --color-gold: #C49A57;
    --color-gold-hover: #D4A968;
    --color-stone: #DED6CA;
    --color-sage: #6F756B;
    --border-light: #E2E8F0;
    --border-dark: rgba(255, 255, 255, 0.1);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.subline {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 680px;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@media (max-width: 768px) {
    .section-padding {
        padding: 3.5rem 0;
    }
}

/* Navigation Header */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 243, 236, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-stone);
    transition: background 0.3s ease;
}

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


.brand-logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
}

.main-logo-img {
    height: 52px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
    transition: transform 0.25s ease;
}

.brand-logo:hover .main-logo-img {
    transform: scale(1.02);
}

.brand-tag {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    text-transform: uppercase;
    border-left: 1px solid var(--color-stone);
    padding-left: 1rem;
    line-height: 1.2;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25 ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-gold);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(196, 154, 87, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(196, 154, 87, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
}

.btn-outline:hover {
    background-color: var(--color-text-dark);
    color: #ffffff;
}

.btn-dark {
    background-color: var(--color-text-dark);
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #000000;
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196, 154, 87, 0.12);
    border: 1px solid rgba(196, 154, 87, 0.3);
    color: var(--color-gold);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-stone);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--color-gold);
    border-radius: 3px;
}

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

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

.card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-stone);
    border-radius: 1rem;
    padding: 2.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-stone);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

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

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-top: 1.25rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-stone);
    border-radius: 1rem;
    padding: 1.75rem;
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.75rem;
}

/* Dark CTA Section */
.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
    color: var(--color-text-light);
}

.section-dark .subline {
    color: var(--color-text-light-muted);
}

.cta-box {
    background: var(--color-bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 1.5rem;
    padding: 3.5rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    text-align: left;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.section-dark label {
    color: var(--color-text-light);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
    font-family: inherit;
    font-size: 0.95rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-dark input, .section-dark select, .section-dark textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-dark);
    color: #ffffff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(196, 154, 87, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.checkbox-group input {
    width: auto;
    margin-top: 0.2rem;
}

/* Footer */
footer.site-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light-muted);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-dark);
    font-size: 0.9rem;
}

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

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.875rem;
    max-width: 320px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        background: var(--color-bg-light);
        padding: 1.5rem;
        border-bottom: 1px solid var(--color-stone);
        box-shadow: var(--shadow-card);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* VALBRECHT Navigation Polish – 22.09.2026 */
.site-header {
    background: rgba(247, 243, 236, 0.96);
    border-bottom: 1px solid rgba(196, 154, 87, 0.22);
    box-shadow: 0 8px 24px rgba(40, 40, 40, 0.035);
}

.nav-wrapper {
    min-height: 92px;
    height: auto;
    gap: 2rem;
}

.nav-links {
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid rgba(196, 154, 87, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

.nav-links li:not(:last-child) a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.035em;
    color: #4a463f;
    white-space: nowrap;
}

.nav-links li:not(:last-child) a::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 5px;
    height: 1px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-links li:not(:last-child) a:hover,
.nav-links li:not(:last-child) a.active {
    color: var(--color-text-dark);
    background: rgba(196, 154, 87, 0.12);
}

.nav-links li:not(:last-child) a:hover::after,
.nav-links li:not(:last-child) a.active::after {
    transform: scaleX(1);
}

.nav-links li:last-child a.btn-primary {
    min-height: 42px;
    padding: 0.72rem 1.25rem;
    border: 1px solid rgba(196, 154, 87, 0.45);
    border-radius: 999px;
    background: var(--color-gold);
    box-shadow: 0 6px 16px rgba(196, 154, 87, 0.24);
    font-size: 0.78rem;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.nav-links li:last-child a.btn-primary:hover {
    background: var(--color-gold-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(196, 154, 87, 0.3);
}

@media (max-width: 1100px) and (min-width: 769px) {
    .nav-wrapper {
        gap: 1rem;
    }
    .nav-links li:not(:last-child) a {
        padding: 0 0.55rem;
        font-size: 0.72rem;
    }
    .nav-links li:not(:last-child) a::after {
        left: 0.55rem;
        right: 0.55rem;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        min-height: 78px;
    }
    .nav-links.mobile-open {
        top: 78px;
        display: flex;
        gap: 0.35rem;
        padding: 1rem 1.25rem 1.25rem;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        background: rgba(247, 243, 236, 0.98);
    }
    .nav-links.mobile-open li,
    .nav-links.mobile-open li a {
        width: 100%;
    }
    .nav-links.mobile-open li:not(:last-child) a,
    .nav-links.mobile-open li:last-child a.btn-primary {
        justify-content: center;
        min-height: 44px;
    }
}

/* VALBRECHT Navigation Alignment Correction – 22.09.2026 */
.nav-wrapper > nav {
    margin-left: auto;
}

.nav-links {
    gap: 1.05rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.nav-links li:not(:last-child) a {
    min-height: 42px;
    padding: 0.25rem 0;
    border-radius: 0;
    font-size: 0.79rem;
    letter-spacing: 0.025em;
}

.nav-links li:not(:last-child) a::after {
    left: 0;
    right: 0;
    bottom: 3px;
}

.nav-links li:not(:last-child) a:hover,
.nav-links li:not(:last-child) a.active {
    background: transparent;
    color: var(--color-gold);
}

.nav-links li:last-child {
    margin-left: 0.4rem;
}

.nav-links li:last-child a.btn-primary {
    min-height: 42px;
    padding: 0.7rem 1.25rem;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .nav-links {
        gap: 0.7rem;
    }
    .nav-links li:not(:last-child) a {
        padding-left: 0;
        padding-right: 0;
        font-size: 0.72rem;
    }
    .nav-links li:last-child {
        margin-left: 0.15rem;
    }
    .nav-links li:last-child a.btn-primary {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
        font-size: 0.72rem;
    }
}

@media (max-width: 768px) {
    .nav-wrapper > nav {
        margin-left: 0;
    }
    .nav-links.mobile-open {
        gap: 0.35rem;
        padding: 1rem 1.25rem 1.25rem;
        border: 0;
        border-bottom: 1px solid var(--color-stone);
        border-radius: 0;
        background: rgba(247, 243, 236, 0.98);
    }
    .nav-links.mobile-open li:not(:last-child) a {
        min-height: 44px;
        padding: 0 0.9rem;
        border-radius: 999px;
    }
    .nav-links.mobile-open li:not(:last-child) a::after {
        display: none;
    }
    .nav-links.mobile-open li:not(:last-child) a:hover,
    .nav-links.mobile-open li:not(:last-child) a.active {
        background: rgba(196, 154, 87, 0.12);
    }
    .nav-links.mobile-open li:last-child {
        margin-left: 0;
    }
}

/* Final navigation line alignment – 22.09.2026 */
.nav-links,
.nav-links li,
.nav-links li a {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links li:not(:last-child) a {
    display: inline-flex;
    width: max-content;
    min-width: max-content;
}

.nav-links li:last-child a.btn-primary {
    width: max-content;
    min-width: max-content;
}

@media (max-width: 1180px) and (min-width: 769px) {
    .nav-links {
        gap: 0.55rem;
    }
    .nav-links li:not(:last-child) a {
        font-size: 0.7rem;
    }
    .nav-links li:last-child a.btn-primary {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        font-size: 0.7rem;
    }
}

/* Active navigation state on all service subpages */
.nav-links li:not(:last-child) a.active {
    color: var(--color-text-dark);
    background: rgba(196, 154, 87, 0.14);
    border-radius: 999px;
    padding-left: 0.72rem;
    padding-right: 0.72rem;
}

.nav-links li:not(:last-child) a.active::after {
    left: 0.72rem;
    right: 0.72rem;
    height: 2px;
    transform: scaleX(1);
}

/* VALBRECHT Navigation – Schatten entfernt */
.site-header {
    box-shadow: none;
}

.nav-links li:not(:last-child) a.active,
.nav-links li:not(:last-child) a.active:hover {
    background: transparent;
    box-shadow: none;
}

.nav-links li:not(:last-child) a.active::after {
    height: 1px;
}

/* VALBRECHT Dark Hero Test – 22.09.2026 */
.hero {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero h1,
.hero h2,
.hero h3 {
    color: var(--color-text-light);
}

.hero .subline,
.hero p {
    color: var(--color-text-light-muted);
}

.hero-tag {
    background: rgba(196, 154, 87, 0.14);
    border-color: rgba(196, 154, 87, 0.42);
    color: var(--color-gold-hover);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.48);
    color: var(--color-text-light);
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: var(--color-bg-dark);
}

.hero-card {
    background: var(--color-bg-card-dark);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.hero-card::before {
    background: var(--color-gold);
}

.hero-card p,
.hero-card div {
    color: var(--color-text-light-muted);
}

.hero-card h3 {
    color: var(--color-text-light);
}

.hero-card div[style*="border-top"] {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.hero-card span[style*="color: var(--color-gold)"] {
    color: var(--color-gold-hover) !important;
}

/* VALBRECHT Editorial Premium Refresh – 22.09.2026 */
:root {
    --editorial-ink: #262522;
    --editorial-cream: #f5f1ea;
    --editorial-line: rgba(38, 37, 34, 0.16);
    --editorial-gold: #c49a57;
}

body {
    background: var(--editorial-cream);
    color: var(--editorial-ink);
}

.site-header {
    background: rgba(245, 241, 234, 0.97);
    border-bottom: 1px solid var(--editorial-line);
}

.hero {
    position: relative;
    padding-top: 6.5rem;
    padding-bottom: 6rem;
    background: #12161f;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(196, 154, 87, 0.5);
}

.hero-grid {
    gap: 5rem;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(3.35rem, 6vw, 5.7rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.hero .subline {
    max-width: 560px;
    font-size: 1.04rem;
    line-height: 1.8;
}

.hero-card {
    border-radius: 0.25rem;
    padding: 2.75rem;
    background: #1a202c;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 18px 18px 0 rgba(196, 154, 87, 0.16);
}

.hero-card::before {
    left: 0;
    right: auto;
    width: 72px;
    border-radius: 0;
}

.card,
.step-card {
    border-radius: 0.2rem;
    border-color: var(--editorial-line);
    box-shadow: none;
}

.card:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(38, 37, 34, 0.08);
}

.card-icon,
.card-index {
    width: auto;
    height: auto;
    min-width: 42px;
    padding-bottom: 0.65rem;
    margin-bottom: 1.35rem;
    border: 0;
    border-bottom: 1px solid var(--editorial-gold);
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--editorial-gold);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
}

.card-title {
    font-size: 1.55rem;
    letter-spacing: -0.015em;
}

.grid-3 {
    gap: 0;
}

.grid-3 > .card {
    border-width: 1px 0 1px 1px;
    padding: 2.5rem 2.25rem;
}

.grid-3 > .card:last-child {
    border-right-width: 1px;
}

.process-steps {
    gap: 0;
}

.step-card {
    border-width: 1px 0 1px 1px;
    border-radius: 0;
    padding: 2rem 1.6rem;
}

.step-card:last-child {
    border-right-width: 1px;
}

.step-number {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-dark {
    background: #12161f;
}

.cta-box {
    border-radius: 0.25rem;
    box-shadow: 14px 14px 0 rgba(196, 154, 87, 0.13);
}

.btn {
    border-radius: 0.2rem;
    letter-spacing: 0.015em;
}

.btn-primary {
    box-shadow: none;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }
    .hero-card {
        padding: 2rem;
        box-shadow: 9px 9px 0 rgba(196, 154, 87, 0.16);
    }
    .grid-3 > .card,
    .step-card {
        border-width: 1px;
    }
}
