/* vier1.ch - Unified Card Design */

:root {
    --teal: #4a7c7e;
    --teal-light: #5d9a9c;
    --teal-dark: #3a6264;
    --text: #1a1a1a;
    --text-muted: #666;
    --bg: #fff;
    --bg-alt: #f5f7f8;
    --border: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.2s;
}

nav a:hover {
    color: var(--teal);
}

/* Hero */
.hero {
    padding: 160px 24px 80px;
    text-align: center;
    background: var(--bg-alt);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    color: var(--teal);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--teal);
    margin: 0 auto 24px;
}

.subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-muted);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--teal);
    margin: 0 auto 50px;
}

/* Philosophy */
.philosophy {
    padding: 80px 24px;
    background: var(--bg);
}

.philosophy-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px 40px;
    text-align: center;
}

.philosophy-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.philosophy-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.2;
}

blockquote {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 500;
    color: var(--teal);
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: 20px;
}

.philosophy-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards */
.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 44px 28px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card.featured {
    border: 2px solid var(--teal);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 4px;
}

.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.card-icon svg {
    width: 44px;
    height: 44px;
    stroke-width: 1.2;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 8px;
}

.card-type {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--teal);
    transition: all 0.2s;
}

.card-link span {
    font-size: 16px;
    transition: transform 0.2s;
}

.card-link:hover {
    color: var(--teal-light);
}

.card-link:hover span {
    transform: translateX(3px);
}

.card-link-email {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: var(--teal);
    padding: 12px 28px;
    background: var(--bg-alt);
    border-radius: 6px;
    transition: all 0.2s;
}

.card-link-email:hover {
    background: var(--teal);
    color: #fff;
}

/* Contact Card */
.contact-card {
    padding: 44px 32px 36px;
}

.contact-card p {
    margin-bottom: 24px;
}

/* Sections */
.projects {
    padding: 80px 24px;
    background: var(--bg);
}

.services {
    padding: 80px 24px;
    background: var(--bg-alt);
}

.contact {
    padding: 80px 24px;
    background: var(--bg);
}

/* Footer */
footer {
    background: var(--teal-dark);
    color: #fff;
    padding: 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-company {
    font-size: 14px;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 16px 0;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .philosophy,
    .projects,
    .services,
    .contact {
        padding: 60px 24px;
    }

    .philosophy-card {
        padding: 36px 24px;
    }

    .card-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 36px 24px 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        gap: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .section-divider {
        margin-bottom: 36px;
    }
}
