/* ==========================================================================
   Local Fonts (DSGVO compliant / self-hosted)
   ========================================================================== */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/outfit-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/outfit-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/outfit-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-display-600-normal.woff2') format('woff2');
}

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    /* Colors - Dusty Rose & Soft Beige Boutique Scheme */
    --color-primary: #C57B7B; /* Dusty rose */
    --color-primary-hover: #A86565;
    --color-secondary: #9DB4AB; /* Soft sage/mint */
    --color-bg-main: #FDFBFA; /* Very light warm white */
    --color-bg-light: #F4EFEB; /* Soft beige/blush bg */
    --color-text-main: #2D3134; /* Dark slate */
    --color-text-muted: #6C7275;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text-main);
}

h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 131, 82, 0.2);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: padding var(--transition-fast);
    padding: 1.5rem 0;
}

.site-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 600;
}

.logo span {
    color: var(--color-primary);
    font-style: italic;
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 49, 52, 0.65); /* Dark overlay for better text contrast */
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content h1 {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content .subtitle {
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Image is larger */
    gap: var(--spacing-xl);
    align-items: center;
}

.intro-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.intro-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-img {
    height: 300px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-md);
    text-align: center;
}

.card-content h3 {
    font-size: 1.3rem; /* Slightly smaller to fit long words */
    margin-bottom: var(--spacing-xs);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Highlight Section
   ========================================================================== */
.highlight {
    position: relative;
    padding: 5rem 0;
    color: var(--color-white);
}

.highlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 49, 46, 0.7); /* Dark overlay */
    z-index: -1;
}

.highlight h2 {
    color: var(--color-white);
}

.highlight p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Map & Location Section & GDPR Privacy Notice
   ========================================================================== */
.location-section {
    width: 100%;
}

.map-container {
    width: 100%;
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    filter: grayscale(20%) contrast(1.1);
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-md);
    box-sizing: border-box;
}

.map-privacy-card {
    max-width: 500px;
    background: var(--color-white);
    padding: 2.5rem var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.map-icon {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.map-privacy-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.4rem;
    font-family: var(--font-heading);
}

.map-privacy-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-body);
}

.map-link {
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: underline;
    margin-top: 0.25rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.map-link:hover {
    color: var(--color-primary-hover);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-text-main);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    color: var(--color-white);
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-links a {
    margin-left: 1rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        background: rgba(45, 49, 52, 0.7); /* Darker on mobile for readability */
    }

    .main-nav {
        display: none; /* simple mobile hide for now, would need JS menu */
    }

    .mobile-menu-toggle {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

/* ==========================================================================
   Content Page Layout (Impressum, Datenschutz etc.)
   ========================================================================== */
.content-page {
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.content-page h1 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.content-page h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
}

.content-page h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.content-page p {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.content-page ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}

.content-page li {
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    line-height: 1.6;
}

.content-page strong {
    color: var(--color-text-main);
}
