/* =============================================
   livinx gmbh – Corporate Minimal Stylesheet
   ============================================= */

/* Inter – self-hosted (latin-ext + latin subsets) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    --color-bg:          #0D1B2A;
    --color-surface:     #F8F9FB;
    --color-accent:      #1E88E5;
    --color-accent-dark: #1565C0;
    --color-text:        #1A202C;
    --color-text-muted:  #64748B;
    --color-white:       #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 4px;
    --transition: 0.2s ease;
    --max-width: 1100px;
}

html {
    scroll-behavior: smooth;
    background: var(--color-bg);
}

body {
    font-family: var(--font);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity var(--transition);
}

a:hover {
    opacity: 0.75;
}

/* =============================================
   Navigation
   ============================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    display: block;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

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

/* =============================================
   Hero
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    background-image:
        radial-gradient(ellipse at 15% 60%, rgba(30, 136, 229, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(30, 136, 229, 0.06) 0%, transparent 50%);
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    height: 56px;
    max-width: 240px;
    object-fit: contain;
    margin-bottom: 3rem;
    filter: brightness(0) invert(1);
}

.hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin-bottom: 2.75rem;
}

.hero h1 strong {
    font-weight: 500;
}

/* =============================================
   Button
   ============================================= */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
    background: var(--color-accent-dark);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.3);
}

/* =============================================
   Sections
   ============================================= */

.section {
    padding: 5rem 2rem;
}

.section--alt {
    background: var(--color-surface);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-sublabel {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 2.75rem;
    display: block;
}

/* =============================================
   Contact / Impressum Grid
   ============================================= */

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

.contact-block p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
    line-height: 1.7;
}

.contact-block .company-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-block a {
    color: var(--color-accent);
}

/* =============================================
   Footer
   ============================================= */

.footer {
    background: var(--color-bg);
    padding: 1.75rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

.footer a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--color-white);
    opacity: 1;
}

/* =============================================
   DSV / Inner Page
   ============================================= */

.page-content {
    padding-top: 8rem;
}

.narrow {
    max-width: 740px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--color-accent);
    opacity: 1;
}

.prose h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.prose p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.85;
    margin-bottom: 0.75rem;
}

.prose a {
    color: var(--color-accent);
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 768px) {
    .nav-links {
        gap: 1.25rem;
    }

    .hero-logo {
        height: 44px;
        margin-bottom: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .section {
        padding: 3.5rem 1.25rem;
    }

    .page-content {
        padding-top: 6rem;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 1.25rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}
