:root {
    /* Typographic Scale (Major Third - 1.25) */
    --font-size-xs: 0.8rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.563rem;
    --font-size-3xl: 1.953rem;
    --font-size-4xl: 2.441rem;
    --font-size-5xl: 3.052rem;

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
header {
    background-color: #1a1a2e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
    color: #e94560;
}

.logo span {
    color: white;
}

.contact-info {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.01em;
}

.contact-info a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.contact-info a:hover {
    color: #e94560;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5)), url('bilder/IMG_4297 Medium.jpeg') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero p {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-snug);
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero .highlight {
    color: #e94560;
    font-weight: var(--font-weight-bold);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    text-align: left;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.015em;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.section-title p {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #666;
}

.price-info {
    text-align: left;
    margin: 2rem auto 3rem;
    max-width: 800px;
}

.price-info .price {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.01em;
    color: #e94560;
    margin-bottom: 0.75rem;
}

.price-info .details {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #666;
}

/* Specifications Section */
.specifications {
    padding: 4rem 0;
    background-color: #1a1a2e;
    color: white;
}

.specifications .section-title {
    text-align: center;
    max-width: 100%;
}

.specifications .section-title h2 {
    color: white;
}

.specifications .section-title p {
    color: #aaa;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-card {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.spec-card .number {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #e94560;
    margin-bottom: 0.5rem;
}

.spec-card .unit {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    color: #aaa;
    margin-bottom: 0.5rem;
}

.spec-card h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    color: white;
    margin-bottom: 0.5rem;
}

.spec-card p {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #aaa;
}

.spec-card .icon {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 1rem;
    display: block;
}

.spec-card.map-card {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.spec-card.map-card:hover {
    transform: scale(1.05);
}

.spec-card.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.spec-card.map-card .map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.spec-card.map-card:hover .map-overlay {
    background: rgba(0,0,0,0.3);
}

.spec-card.map-card .map-overlay span {
    background: rgba(233, 69, 96, 0.95);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.spec-card.map-card:hover .map-overlay span {
    opacity: 1;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.01em;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: #555;
    margin-bottom: 1rem;
    max-width: 65ch;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-image img {
    width: 100%;
    display: block;
}

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

.property-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    letter-spacing: -0.005em;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #555;
}

/* Suitable For Section */
.suitable-section {
    padding: 4rem 0;
    background-color: white;
}

.suitable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.suitable-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e94560;
    transition: transform 0.3s ease;
}

.suitable-card:hover {
    transform: translateX(5px);
}

.suitable-card h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    letter-spacing: -0.005em;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.suitable-card h3 i {
    color: #e94560;
    margin-right: 0.5rem;
}

.suitable-card p {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #666;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e94560;
}

/* Responsive */
@media (max-width: 768px) {
    /* Reduce padding on mobile */
    .features, .specifications, .about, .suitable-section, .faq-section {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
        line-height: 1.15;
    }

    .hero p {
        font-size: var(--font-size-lg);
    }

    .section-title h2 {
        font-size: var(--font-size-3xl);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .property-images {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info a {
        margin: 0 10px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
