:root {
    --lb-primary: #0f766e;
    --lb-primary-dark: #115e59;
    --lb-accent: #d4a853;
    --lb-dark: #0f172a;
    --lb-muted: #64748b;
    --lb-card: rgba(255, 255, 255, 0.92);
    --lb-border: rgba(255, 255, 255, 0.35);
    --lb-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.page-home {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--lb-dark);
    background-color: #0f172a;
    background-image: url("/bilder/hero-background.svg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body.page-home::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.72) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-section {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: clamp(1.5rem, 6vh, 3rem) 0 1rem;
    background: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.glass-card {
    width: min(100%, 920px);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 24px;
    background: var(--lb-card);
    border: 1px solid var(--lb-border);
    box-shadow: var(--lb-shadow);
    backdrop-filter: blur(12px);
}

.logo-wrap {
    display: flex;
    justify-content: center;
}

.site-logo {
    max-width: min(220px, 70vw);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.15));
}

.company-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
    color: var(--lb-dark);
}

.lead-text {
    color: var(--lb-muted);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.philosophy-box {
    text-align: left;
    margin: 0 auto 2rem;
    padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--lb-primary);
}

.philosophy-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    font-size: clamp(1rem, 2.8vw, 1.15rem);
    font-weight: 700;
    color: var(--lb-dark);
    line-height: 1.35;
}

.philosophy-title .bi {
    color: var(--lb-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.philosophy-text {
    margin: 0 0 0.85rem;
    font-size: clamp(0.94rem, 2.4vw, 1rem);
    line-height: 1.65;
    color: var(--lb-dark);
    text-align: justify;
    hyphens: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    text-align: left;
    margin-bottom: 2rem;
    align-items: stretch;
}

.contact-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid #e2e8f0;
    min-height: 100%;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.12);
    color: var(--lb-primary);
    flex-shrink: 0;
    font-size: 1.15rem;
    margin-top: 0.1rem;
}

.contact-body {
    flex: 1;
    min-width: 0;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lb-muted);
    margin-bottom: 0.35rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 1rem;
}

.contact-value {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--lb-dark);
    font-weight: 600;
    overflow-wrap: break-word;
}

.contact-link,
.protected-email-link {
    color: var(--lb-dark);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.contact-link:hover,
.protected-email-link:hover {
    color: var(--lb-primary);
    text-decoration: underline;
}

.cta-wrap {
    margin-top: 0.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-width: min(100%, 280px);
    padding: 0.9rem 1.5rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lb-primary), var(--lb-primary-dark));
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.cta-btn:hover,
.cta-btn:focus {
    background: linear-gradient(135deg, var(--lb-primary-dark), #134e4a);
    transform: translateY(-1px);
}

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 0.625rem 0 1.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-nav a:hover {
    color: var(--lb-accent);
}

.footer-sep {
    opacity: 0.45;
}

.footer-copy {
    font-size: 0.875rem;
    opacity: 0.75;
}

@media (max-width: 767.98px) {
    body.page-home {
        background-attachment: scroll;
    }

    body.page-home::before {
        position: absolute;
    }

    .hero-section {
        padding-top: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        border-radius: 18px;
    }

    .philosophy-box {
        border-radius: 14px;
    }

    .philosophy-title {
        flex-wrap: wrap;
    }

    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .contact-item {
        padding: 0.85rem;
    }

    .company-title {
        font-size: 1.35rem;
    }
}
