/* CSS Reset & Variables */
:root {
    --primary-color: #1b51d0; /* ImPPPact Blue */
    --primary-hover: #143e9e;
    --accent-color: #ffc107;  /* ImPPPact Yellow */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 6rem 0;
}

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

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: white; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--primary-color); }
.bg-dark h2.section-title, .bg-dark p { color: white; }

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.bg-dark p { color: #e5e7eb; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.w-100 { width: 100%; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo span { color: var(--accent-color); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: url('assets/stella_cover.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(27, 81, 208, 0.8), rgba(27, 81, 208, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
}

.hero-content p {
    color: #f3f4f6;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Split Layouts (Konzept & Pflege) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-layout.reverse .text-content { order: 2; }
.split-layout.reverse .image-content { order: 1; }

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-list .icon { font-size: 1.5rem; }

.glass-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}
.glass-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.care-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}
.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Pricing / Residenzen */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 81, 208, 0.1);
}

.pricing-card.highlighted {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}
.pricing-card.highlighted:hover { transform: scale(1.05) translateY(-10px); }

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 2rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.card-content ul {
    margin-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}
.card-content ul li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}
.card-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Contact */
.contact-wrapper {
    background: white;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    color: var(--text-dark);
}
.contact-info p { color: var(--text-light); }

.contact-form .input-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.contact-form input, .contact-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
}
.contact-form input:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-content p { margin: 0; color: #9ca3af; font-size: 0.9rem; }
.footer-links a {
    color: #9ca3af;
    margin-left: 1rem;
    font-size: 0.9rem;
}
.footer-links a:hover { color: white; }

/* Language Switcher & Icons */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.lang-switcher a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    transition: var(--transition);
}
.lang-switcher a.active, .lang-switcher a:hover {
    color: var(--primary-color);
}
.feature-list .icon, .feature-box h4 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 968px) {
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .split-layout.reverse .text-content { order: 1; }
    .split-layout.reverse .image-content { order: 2; }
    
    .pricing-card.highlighted { transform: none; }
    .pricing-card.highlighted:hover { transform: translateY(-10px); }
    
    .contact-wrapper { grid-template-columns: 1fr; padding: 2rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    
    .hamburger { display: block; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-item { margin: 16px 0; }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 2rem 0; }
    
    .hero-buttons { flex-direction: column; }
}
