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

:root {
    --primary: rgb(161, 186, 201);
    --primary-dark: rgb(120, 150, 168);
    --primary-darker: rgb(80, 110, 130);
    --primary-light: rgb(200, 216, 225);
    --primary-lighter: rgb(230, 238, 243);
    --text-dark: rgb(40, 50, 58);
    --text-medium: rgb(80, 95, 105);
    --text-light: rgb(130, 145, 155);
    --white: #ffffff;
    --bg-section: rgb(245, 248, 250);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
}

/* ───── Header ───── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--primary-light);
    box-shadow: 0 1px 8px rgba(120, 150, 168, 0.1);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    width: auto;
}

nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 2rem;
    transition: color 0.2s;
}

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

/* ───── Hero ───── */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1515488764276-beab7607c1e6?w=1400&q=80&auto=format') center/cover no-repeat;
    padding: 6rem 1.5rem;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--primary-darker);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-medium);
}

.hero .cta-btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: var(--primary-darker);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.25s, transform 0.15s;
}

.hero .cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ───── Section shared ───── */
section {
    padding: 4.5rem 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ───── Services ───── */
#services {
    background: var(--bg-section);
}

.services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.6rem;
    box-shadow: 0 2px 12px rgba(120, 150, 168, 0.12);
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(120, 150, 168, 0.2);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-darker);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ───── Contact ───── */
#kontakt {
    background: var(--white);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
    font-size: 1.1rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-darker);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--primary-darker);
}

.contact-note {
    margin-top: 2rem;
    padding: 1.4rem 1.8rem;
    background: var(--primary-lighter);
    border-radius: 10px;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ───── Footer ───── */
footer {
    background: var(--text-dark);
    color: var(--primary-light);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
}

footer span {
    color: var(--primary);
}

/* ───── Responsive ───── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 3rem 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    nav a {
        margin-left: 1rem;
        font-size: 0.85rem;
    }

    .logo img {
        height: 48px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        flex-direction: column;
        gap: 0.6rem;
    }

    nav {
        display: flex;
        gap: 0;
    }

    nav a {
        margin-left: 0.8rem;
    }

    nav a:first-child {
        margin-left: 0;
    }

    .hero {
        padding: 3rem 1rem 2.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .contact-item {
        font-size: 1rem;
    }
}
