/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    /* Colors - Modern, Light & Harmonious */
    /* Hauptfarbe: Sanftes Himmelblau */
    --primary-color: #6ba3d8;
    --primary-dark: #5a8fc4;
    --primary-light: #7fb5e8;
    /* Sekundärfarbe: Sanftes Mintgrün */
    --secondary-color: #7fc5b5;
    --secondary-dark: #6ba89a;
    --secondary-light: #8fd4c5;
    /* Akzent: Sanftes Pfirsich/Rosa */
    --accent-color: #e8a5a5;
    --accent-light: #f5b8b8;
    --accent-dark: #d89292;
    /* Tertiär: Sanftes Lavendel */
    --tertiary-color: #b5a5d8;
    --tertiary-light: #c5b8e8;
    /* Textfarben - Optimiert für Lesbarkeit */
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    /* Hintergrund: Helle, freundliche Töne */
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-cream: #fef9f3;
    --bg-pastel-blue: #f0f7ff;
    --bg-pastel-green: #f0fdf4;
    --bg-pastel-pink: #fef2f2;
    /* Border & Divider */
    --border-color: #e2e8f0;
    --border-light: #edf2f7;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(107, 163, 216, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

/* Modern Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.5);
}

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

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Modern Glassmorphism - Warm, professional tone matching hero image */
    background: rgba(248, 250, 252, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.08),
        0 2px 4px -1px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(250, 252, 254, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.logo:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}


.logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: #1a202c;
    padding: 0.5rem 0;
    transition: var(--transition-base);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    letter-spacing: 0.01em;
}

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

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

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


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1a202c;
    border-radius: 3px;
    transition: var(--transition-base);
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.rating-summary{font-size:18px;margin-bottom:10px}
.rating-item{border:1px solid #eee;padding:10px;border-radius:10px;margin:8px 0}



/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 50px;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    z-index: 10000;
    clip-path: inset(0 0 0 0);
    pointer-events: none;
    will-change: clip-path;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(166, 124, 82, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(193, 161, 124, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(226, 201, 160, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.4) 30%,
            rgba(0, 0, 0, 0.4) 70%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url("hero-optimized.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(3px);
    transform: scale(1.02);
    z-index: -2;
}

/* Overlay-Effekte entfernt - Gradient wird direkt im background angewendet */

/* Hero-overlay entfernt - Gradient wird direkt im hero-background angewendet */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem;
    opacity: 0;
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-tagline,
.hero-description,
.hero-buttons,
.hero-stats {
    opacity: 0;
    transform: translateY(40px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    transition: transform 0.3s ease;
}

.hero-title:hover {
    transform: scale(1.02);
}

.title-line {
    display: inline-block;
}

.title-line.highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.hero-subtitle:hover {
    transform: scale(1.02);
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 2rem 0 1.5rem;
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-tagline:hover {
    transform: scale(1.02);
}

.tagline-first {
    display: inline-block;
    transform: translateY(0.5em);
    vertical-align: baseline;
    font-size: 1.2em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.tagline-gute {
    font-weight: 700;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.tagline-quote {
    font-style: italic;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.tagline-last {
    display: inline-block;
    transform: translateY(-0.5em);
    vertical-align: baseline;
}

.hero-description {
    margin: 1.5rem 0 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
}


.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.stat-box {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-rating {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rating-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.stars-display {
    display: flex;
    gap: 0.25rem;
}

.stars-display i {
    color: var(--accent-color);
    font-size: 0.875rem;
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 6px 20px rgba(107, 163, 216, 0.35);
    position: relative;
    overflow: hidden;
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}


.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 163, 216, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(107, 163, 216, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(107, 163, 216, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    background: var(--bg-pastel-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
    max-width: 100%;
}

.service-card {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.1);
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(107, 163, 216, 0.08) 0%, rgba(127, 197, 181, 0.08) 100%);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(232, 165, 165, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-content > p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-base);
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* ============================================
   Why Us Section
   ============================================ */

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
}

.feature-item h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ============================================
   Hidden Sections
   ============================================ */

.hidden-section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Zusätzliche Sicherheit für Kontaktformular */
#contact.hidden-section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ============================================
   Modern Overlay System
   ============================================ */

.modern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.modern-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-overlay.active .overlay-backdrop {
    opacity: 1;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9) translateY(20px);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.modern-overlay.active .overlay-content {
    transform: translate(-50%, -50%) scale(1) translateY(0);
    opacity: 1;
}

.overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.25rem;
    z-index: 10;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.overlay-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.overlay-body {
    padding: 3rem;
    overflow-y: auto;
    flex: 1;
}

.overlay-body::-webkit-scrollbar {
    width: 8px;
}

.overlay-body::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.overlay-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.overlay-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Overlay specific styles */
.overlay-body .section-header {
    margin-bottom: 2rem;
}

.overlay-body .about-content,
.overlay-body .gallery-grid {
    animation: fadeInUp 0.6s ease;
}

.overlay-body .contact-item {
    padding: 1.25rem;
}

@media (max-width: 968px) {
    .form-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overlay-body .form-content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .overlay-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 100%);
    }

    .modern-overlay.active .overlay-content {
        transform: translate(-50%, 0) scale(1);
    }

    .overlay-body {
        padding: 2rem 1.5rem;
    }

    .overlay-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   About Section
   ============================================ */

.about {
    background: var(--bg-pastel-green);
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow-xl);
    background: var(--bg-light);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.image-badge {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    width: fit-content;
}

.about-text .section-badge {
    margin-bottom: 1rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-feature i {
    color: var(--primary-color);
}

.our-values {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.our-values h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}


.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================
   Service Area Section
   ============================================ */

.service-area {
    background: var(--bg-white);
}

.service-area-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.service-area-map {
    position: relative;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 1;
}

.map-legend {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.map-legend h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.map-legend ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.map-legend li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.legend-color.osnabrueck {
    background: rgba(45, 134, 89, 0.6);
    border: 2px solid var(--primary-color);
}

.legend-color.rheine {
    background: rgba(37, 99, 235, 0.6);
    border: 2px solid var(--secondary-color);
}

.legend-color.lingen {
    background: rgba(245, 158, 11, 0.6);
    border: 2px solid var(--accent-color);
}

.service-area-check {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.plz-check-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.plz-check-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plz-check-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.plz-check-header h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.plz-check-header p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.plz-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.plz-input-wrapper input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-base);
    font-family: var(--font-primary);
}

.plz-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}

.plz-input-wrapper input::placeholder {
    font-weight: 400;
    color: var(--text-muted);
}

.plz-input-wrapper .btn {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.plz-result {
    min-height: 120px;
    padding: 1.5rem;
    border-radius: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-base);
}

.plz-result.show {
    display: flex;
    animation: fadeInUp 0.5s ease;
}

.plz-result.success {
    background: rgba(45, 134, 89, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-dark);
}

.plz-result.error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    color: #dc2626;
}

.plz-result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.plz-result-content i {
    font-size: 3rem;
}

.plz-result.success .plz-result-content i {
    color: var(--primary-color);
}

.plz-result.error .plz-result-content i {
    color: #ef4444;
}

.plz-result-content h4 {
    font-size: 1.5rem;
    margin: 0;
}

.plz-result-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.service-cities {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.service-cities h4 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.city-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.city-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.city-card h5 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.city-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery {
    background: var(--bg-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-medium);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
}

.gallery-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(107, 163, 216, 0.2);
}

.gallery-filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.3);
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.gallery-filter-btn i {
    font-size: 1rem;
}

/* Gallery Categories */
.gallery-category {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.gallery-category:last-child {
    margin-bottom: 0;
}

.gallery-category.hidden {
    display: none !important;
    opacity: 0;
}

.gallery-category:not(.hidden) {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.gallery-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.gallery-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background: var(--bg-pastel-pink);
}

.contact-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(107, 163, 216, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.form-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-sidebar-image {
    margin-top: 1rem;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.contact-sidebar-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-sidebar-image img:hover {
    transform: scale(1.02);
}

.contact-sidebar-header {
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.contact-sidebar-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.contact-sidebar-header p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9375rem;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.contact-item-modern:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}


.contact-icon-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-value {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-value:hover {
    color: var(--primary-color);
}

.contact-value p {
    margin: 0.25rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Contact Person Modern Styling */
.contact-person-modern {
    background: linear-gradient(135deg, rgba(107, 163, 216, 0.05), rgba(127, 197, 181, 0.05));
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-person-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-person-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 163, 216, 0.2);
    border-color: var(--primary-dark);
}

.contact-person-modern .contact-icon-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.3);
}

.contact-person-value {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-person-value strong {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
}

.contact-person-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(107, 163, 216, 0.3);
    transition: var(--transition-base);
}

.contact-person-modern:hover .contact-person-badge {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.4);
}

.contact-person-badge i {
    font-size: 0.875rem;
    color: white;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition-base);
}

.contact-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-item:hover h3,
.contact-item:hover p,
.contact-item:hover span {
    color: white;
}

.contact-item:hover a {
    color: white;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-details span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-details a {
    color: var(--primary-color);
    transition: var(--transition-base);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: var(--transition-base);
    position: relative;
    padding-left: 0.25rem;
}

.form-group label::before {
    content: '';
    position: absolute;
    left: -0.25rem;
    top: 0.25rem;
    width: 3px;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-group.focused label {
    color: var(--primary-color);
}

.form-group.focused label::before {
    opacity: 1;
}
.privacy-check {
    font-size: 14px;
    display: block;
    margin: 15px 0;
  }
  
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label span {
    color: var(--text-dark);
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition-base);
}

.privacy-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(107, 163, 216, 0.15),
        0 4px 12px rgba(107, 163, 216, 0.2);
    transform: translateY(-1px);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(107, 163, 216, 0.4);
    box-shadow: 0 2px 8px rgba(107, 163, 216, 0.1);
}

/* Focus styles moved up */

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236ba3d8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ============================================
   Floating Rating Button
   ============================================ */

.floating-rating-btn {
    position: fixed;
    right: 30px;
    bottom: 100px;
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    z-index: 998;
    transition: var(--transition-base);
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    animation: slideInRight 0.5s ease 1s forwards;
}

.floating-rating-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-rating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

.floating-rating-btn i {
    font-size: 1.125rem;
}

.floating-rating-btn span {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .floating-rating-btn {
        right: 20px;
        bottom: 80px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        font-size: 0.875rem;
    }
    
    .floating-rating-btn span {
        display: none;
    }
}

/* ============================================
   Rating Modal
   ============================================ */

.rating-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.rating-modal.active {
    display: flex;
}

.rating-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.rating-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition-base);
}

.rating-modal-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.rating-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-modal-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.rating-modal-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.rating-modal-header p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

.rating-stars-input {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-direction: row-reverse;
}

.rating-stars-input input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 2.5rem;
    color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-base);
}

.star-label:hover,
.star-label:hover ~ .star-label {
    color: var(--accent-color);
}

.rating-stars-input input[type="radio"]:checked ~ .star-label {
    color: var(--accent-color);
}

.rating-feedback {
    margin-bottom: 1.5rem;
}

.rating-feedback label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.rating-feedback textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition-base);
}

.rating-feedback textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}

.rating-privacy {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.rating-privacy i {
    color: var(--primary-color);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Cookie Consent Banner - Modern Design
   ============================================ */

.cookie-banner-modern {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-banner-modern.show {
    transform: translateY(0);
    pointer-events: all;
}

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

.cookie-banner-inner {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px 20px 0 0;
    padding: 2rem;
    box-shadow: 
        0 -10px 40px rgba(0, 0, 0, 0.1),
        0 -4px 20px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.3);
}

.cookie-banner-text-modern {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text-modern h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.cookie-banner-text-modern p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn-modern {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cookie-btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cookie-btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.cookie-btn-modern span {
    position: relative;
    z-index: 1;
}

.cookie-btn-accept-modern {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.3);
}

.cookie-btn-accept-modern:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 163, 216, 0.4);
}

.cookie-btn-reject-modern {
    background: #ffffff;
    color: var(--text-medium);
    border: 2px solid var(--border-color);
}

.cookie-btn-reject-modern:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cookie-btn-customize-modern {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-btn-customize-modern:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.3);
}

/* Cookie Modal - Modern Design */
.cookie-modal-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}

.cookie-modal-modern.show {
    display: flex;
    pointer-events: all;
}

.cookie-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal-modern.show .cookie-modal-backdrop {
    opacity: 1;
}

.cookie-modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.cookie-modal-modern.show .cookie-modal-wrapper {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.cookie-modal-inner {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.cookie-modal-header {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
}

.cookie-modal-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.cookie-modal-title-wrapper {
    flex: 1;
}

.cookie-modal-title-wrapper h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.cookie-modal-title-wrapper p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.cookie-modal-close-modern {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.cookie-modal-close-modern:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-option-modern {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.cookie-option-modern:hover {
    border-color: var(--primary-color);
    background: rgba(107, 163, 216, 0.05);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.1);
}

.cookie-option-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
    background-color: var(--primary-color);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-option-info {
    flex: 1;
}

.cookie-option-info strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cookie-option-info span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.cookie-option-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    padding-left: 68px;
}

.cookie-modal-footer {
    padding: 1.5rem 2.5rem;
    background: var(--bg-light);
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(107, 163, 216, 0.3);
}

.cookie-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 163, 216, 0.4);
}

.cookie-btn-secondary {
    background: #ffffff;
    color: var(--text-medium);
    border: 2px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cookie-btn-modern i {
    font-size: 0.875rem;
}

/* Cookie Banner Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner-container {
        padding: 1rem;
    }
    
    .cookie-banner-inner {
        padding: 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        border-radius: 16px 16px 0 0;
    }
    
    .cookie-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .cookie-banner-text-modern {
        text-align: center;
        min-width: auto;
    }
    
    .cookie-banner-text-modern h3 {
        font-size: 1.25rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-modal-wrapper {
        max-width: 100%;
        margin: 0;
    }
    
    .cookie-modal-inner {
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
    }
    
    .cookie-modal-header {
        padding: 1.5rem;
        flex-wrap: wrap;
    }
    
    .cookie-modal-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .cookie-modal-title-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .cookie-modal-close-modern {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-option-modern {
        padding: 1.25rem;
    }
    
    .cookie-option-desc {
        padding-left: 0;
        margin-top: 0.75rem;
    }
    
    .cookie-modal-footer {
        padding: 1.25rem;
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn-modern {
        width: 100%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }


    .hamburger {
        display: flex;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .service-area-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .contact-item-modern {
        padding: 1.25rem;
    }

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

    /* Services-Grid bleibt bei 2 Spalten bis 768px */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        min-height: 65vh;
        padding: 60px 20px 40px;
        clip-path: inset(0 100% 0 0);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    /* Services-Grid: 2 Spalten beibehalten bis sehr kleine Bildschirme */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

    #map {
        height: 400px;
    }

    .plz-input-wrapper {
        flex-direction: column;
    }

    .plz-input-wrapper .btn {
        width: 100%;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Nur auf sehr kleinen Bildschirmen 1 Spalte für Services */
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   Legal Content (Impressum & Datenschutz)
   ============================================ */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-section p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ============================================
   Notification Styles
   ============================================ */

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 500px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid;
}

.notification-success {
    border-left-color: #2d8659;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-content i {
    font-size: 1.25rem;
}

.notification-success .notification-content i {
    color: #2d8659;
}

.notification-error .notification-content i {
    color: #ef4444;
}

.notification-content span {
    color: #1f2937;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #1f2937;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideDown {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.form-success-toast {
    position: fixed !important;
    top: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
}

@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* ============================================
   Overlay Open - Prevent Scroll
   ============================================ */

body.overlay-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

/* ============================================
   Form Message (Success/Error)
   ============================================ */

/* ============================================
   Form Success Message - Professional Design
   ============================================ */

.form-message {
    margin-top: 2rem !important;
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    font-weight: 500;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-message.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    animation: messageSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#formMessage {
    margin-top: 2rem !important;
    margin-bottom: 0;
    padding: 0;
    font-size: 1rem;
    position: relative;
    width: 100%;
    max-width: 100%;
}

#successMessageDisplay {
    margin-top: 2rem !important;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 3px solid #10b981;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 
        0 10px 25px rgba(16, 185, 129, 0.2),
        0 4px 10px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    margin-top: 2rem !important;
    z-index: 10;
}

.form-message.success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #10b981, #059669);
    border-radius: 16px 0 0 16px;
}

.form-message.success::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.1);
    }
}

.form-message.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 
        0 10px 25px rgba(239, 68, 68, 0.15),
        0 4px 10px rgba(239, 68, 68, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

.form-message.error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    border-radius: 16px 0 0 16px;
}

.success-message-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.success-icon-wrapper {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 16px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.15) rotate(10deg);
    }
    80% {
        transform: scale(0.95) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
    animation: checkmark 0.5s ease 0.2s both;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-message-text {
    flex: 1;
    padding-top: 0.25rem;
}

.success-message-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.success-message-description {
    font-size: 1rem;
    color: #047857;
    line-height: 1.6;
    margin: 0;
}

.error-message-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.error-icon-wrapper {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
}

.error-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
}

.error-message-text {
    flex: 1;
    padding-top: 0.25rem;
}

.error-message-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.error-message-description {
    font-size: 1rem;
    color: #b91c1c;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-message.success,
    .form-message.error {
        padding: 1.5rem 1.25rem;
    }
    
    .success-icon-wrapper,
    .error-icon-wrapper {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .success-icon-wrapper i,
    .error-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .success-message-title,
    .error-message-title {
        font-size: 1.125rem;
    }
    
    .success-message-description,
    .error-message-description {
        font-size: 0.9375rem;
    }
}

