/* CSS Reset & Variables */
:root {
    --primary: #D97757;
    --primary-light: #FCECE8;
    --primary-hover: #c46445;

    --secondary: #8FA27F;
    --secondary-dark: #6e8260;

    --bg-cream: #FDFBF7;
    --bg-white: #ffffff;

    --text-main: #2D3748;
    --text-muted: #718096;
    --text-light: #ffffff;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-white,
.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-primary-sm::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px rgba(217, 119, 87, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(217, 119, 87, 0.3);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 2px solid #E2E8F0;
    margin-left: 16px;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-white {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-main);
    position: relative;
    padding: 4px 0;
}

/* Underline Animation for Links */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
    opacity: 0;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-links li a:hover::after {
    width: 100%;
    opacity: 1;
}

.btn-primary-sm {
    background-color: var(--primary);
    color: white !important;
    /* Force override of link color */
    padding: 10px 24px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
    border: 1px solid transparent;
    /* Align sizing with buttons */
}

/* Remove underline for the button inside nav */
.nav-links li a.btn-primary-sm::after {
    display: none;
}

.btn-primary-sm:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(217, 119, 87, 0.35);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.image-blob {
    position: relative;
    z-index: 1;
}

.image-blob img {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
    animation: blob-bounce 8s infinite ease-in-out;
}

@keyframes blob-bounce {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 60% 40% 30% 70% / 60% 40% 70% 30%;
    }

    66% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Quote Section */
.quote-section {
    background-color: var(--secondary-dark);
    /* Using darker green for contrast */
    padding: 80px 0;
    text-align: center;
    color: white;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

cite {
    display: block;
    margin-top: 24px;
    font-style: normal;
    font-size: 1.1rem;
    opacity: 0.9;
    font-family: var(--font-body);
}

/* Features/Konzept */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 24px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.9rem;
    margin-top: 4px;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

/* Contact / Call to Action */
.contact-section {
    padding: 100px 0;
}

.contact-card {
    background: var(--primary);
    color: white;
    border-radius: 32px;
    padding: 80px;
    background-image: linear-gradient(135deg, var(--primary) 0%, #c46445 100%);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.contact-content {
    max-width: 600px;
}

.contact-content h2 {
    color: white;
    margin-bottom: 16px;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 250px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1A202C;
    color: #A0AEC0;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #2D3748;
    padding-top: 30px;
}

.footer-links a {
    margin-left: 24px;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 960px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-btns,
    .contact-card {
        justify-content: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 48px 24px;
    }

    .contact-actions {
        width: 100%;
        align-items: center;
    }

    .navbar .nav-links {
        display: none;
        /* Mobile menu implementation usually requires JS toggle, for now hidden */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* ------------------------------------------------------------------ */
/* Premium Features & Mechanics */
/* ------------------------------------------------------------------ */

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Location / Map Section */
.location-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    /* Slightly darker than cream */
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: #E2E8F0;
    min-height: 450px;
    isolation: isolate;
    /* Create new stacking context */
}

.map-placeholder {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdfbf7 0%, #eef2f6 100%);
    position: relative;
}

.map-overlay-content {
    text-align: center;
    z-index: 2;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    max-width: 400px;
}

.map-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.map-overlay-content h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.map-overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Refined Premium Polish */
.shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.features,
.about,
.contact-section,
.location-section {
    position: relative;
}

/* Subtle pattern overlay example - makes it feel premium ? */
/* 
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#D97757 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.03;
    z-index: -1;
} 
*/