/* Immokelm - Immobilienmakler Webseite CSS */
/* Autor: KI-Assistent für Alexander Kelm */
/* Farbpalette: Primär #003366 (Navy Blue), Sekundär #fdf6ed (Cremeton) */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Merriweather:wght@300;400;700&display=swap');

/* =====================================================
   CSS Custom Properties (Design Tokens)
   ===================================================== */
:root {
    /* Farben */
    --color-primary: #003366;
    --color-primary-dark: #00264d;
    --color-primary-light: #004488;
    --color-secondary: #fdf6ed;
    --color-secondary-dark: #f0e6d2;
    --color-accent: #c9a961;
    --color-accent-light: #d4b97a;
    --color-success: #28a745;
    --color-text: #333;
    --color-text-light: #666;
    --color-text-muted: #888;
    
    /* Schatten - Modern & Layered */
    --shadow-sm: 0 1px 2px rgba(0, 51, 102, 0.05), 0 1px 3px rgba(0, 51, 102, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 51, 102, 0.07), 0 2px 4px rgba(0, 51, 102, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 51, 102, 0.1), 0 6px 12px rgba(0, 51, 102, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 51, 102, 0.12), 0 10px 20px rgba(0, 51, 102, 0.08);
    --shadow-glow: 0 0 30px rgba(0, 51, 102, 0.15);
    --shadow-card-hover: 0 20px 40px rgba(0, 51, 102, 0.15), 0 10px 20px rgba(0, 51, 102, 0.1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
}

/* =====================================================
   CSS Reset und Base Styles
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-secondary);
    margin: 0;
    padding: 0;
    padding-top: 75px;
    /* Subtiler Hintergrund-Gradient für mehr Tiefe */
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(0, 51, 102, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

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

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

/* Staggered Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* =====================================================
   Typografie
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    position: relative;
}

/* Dekoratives Element für Überschriften */
.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin-top: var(--space-md);
    border-radius: var(--radius-full);
}

.section .text-center h2::after,
.section h2:only-child::after,
.text-center h2::after {
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
    position: relative;
}

a:hover {
    color: var(--color-primary-light);
}

/* Underline Animation for Links */
.link-animated {
    position: relative;
}

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

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

/* =====================================================
   Layout Container & Sections
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: 80px 0;
    position: relative;
}

/* Alternate Section Background */
.section-alt {
    background: white;
}

/* Section with Pattern */
.section-pattern {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 51, 102, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(201, 169, 97, 0.05) 0%, transparent 20%);
}

/* =====================================================
   Header und Navigation
   ===================================================== */
header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    padding: 0.4rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

/* Header shrink on scroll */
header.scrolled {
    padding: 0.2rem 0;
    box-shadow: var(--shadow-xl);
}

header.scrolled .logo img {
    height: 55px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    gap: var(--space-xl);
}

.logo img {
    height: 65px;
    width: auto;
    transition: height var(--transition-base);
}

/* Header CTA Button */
.header-cta {
    white-space: nowrap;
    font-size: 0.85rem !important;
    padding: 0.7rem 1.3rem !important;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-primary) !important;
}

.header-cta:hover {
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4) !important;
}

/* Mobile-only menu item */
.mobile-only-menu-item {
    display: none;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-xs);
}

nav a {
    color: var(--color-secondary);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
}

/* Underline Animation */
nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

nav a:hover {
    color: var(--color-secondary);
    background-color: rgba(253, 246, 237, 0.1);
}

nav a:hover::after {
    width: calc(100% - 1.6rem);
}

nav a.active {
    background-color: rgba(253, 246, 237, 0.15);
    border-color: rgba(253, 246, 237, 0.4);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fdf6ed;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Contact Info im Header - wird entfernt, daher auskommentiert */
/*
.contact-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-info a {
    color: #fdf6ed;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a:hover {
    color: #cccccc;
}
*/

/* =====================================================
   Hero Bereich
   ===================================================== */
.hero {
    background: 
        linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 38, 77, 0.9) 100%),
        url('../img/Background_House.jpg') center/cover;
    color: var(--color-secondary);
    text-align: center;
    padding: 140px 0 120px;
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Dekoratives Overlay-Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(201, 169, 97, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(253, 246, 237, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* Animierte Dekoelemente */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--color-secondary);
    clip-path: ellipse(70% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 {
    color: var(--color-secondary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

/* Accent-Farbe für wichtige Wörter im Hero */
.hero-content h1 .text-accent {
    color: var(--color-accent);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: var(--space-xl);
    color: rgba(253, 246, 237, 0.95);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* =====================================================
   Buttons - Modern Design
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* Shimmer-Effekt für Buttons */
.btn::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:hover::before {
    left: 100%;
}

.btn i {
    font-size: 0.9em;
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-secondary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* CTA Button - Auffällig mit Accent-Farbe */
.btn-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-primary) !important;
    border-color: var(--color-accent) !important;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    color: var(--color-primary) !important;
    border-color: var(--color-accent-light) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

/* Button Größen */
.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* =====================================================
   Karten/Cards - Modern Glassmorphism Design
   ===================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    align-items: stretch;
}

@media (min-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Einheitliche Button-Ausrichtung in Cards */
.cards-grid .card {
    display: flex;
    flex-direction: column;
}

.cards-grid .card > .card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cards-grid .card > .card-content .btn {
    margin-top: auto;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid rgba(0, 51, 102, 0.05);
}

/* Subtiler Gradient-Overlay */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Image Container für Overflow-Hidden */
.card > img,
.card .card-image-wrapper {
    overflow: hidden;
}

.card-content {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.card:hover .card-title {
    color: var(--color-primary-light);
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.card-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.card-features {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.feature {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--color-text-light);
    background: rgba(0, 51, 102, 0.05);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
}

.feature i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

/* Icon Cards - für Service-/Feature-Cards */
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-bounce);
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--color-secondary);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Glass Card Variant */
.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Immobilien Filter */
.filter-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 51, 102, 0.1);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: #003366;
    margin-bottom: 0.5rem;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Merriweather', serif;
    transition: border-color 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #003366;
}

/* =====================================================
   Formulare - Modern Design
   ===================================================== */
.form-group {
    margin-bottom: var(--space-lg);
    position: relative;
}

.form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(0, 51, 102, 0.15);
    border-radius: var(--radius-md);
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(0, 51, 102, 0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

/* Focus Label Animation */
.form-group:focus-within label {
    color: var(--color-primary-light);
}

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

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

/* Select Arrow */
.form-group select {
    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='%23003366' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    display: none;
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-left: 2.5rem;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.input-with-icon:focus-within i {
    color: var(--color-primary);
}

/* Bildergalerie */
.image-gallery {
    margin: 2rem 0;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    border: 3px solid #003366;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}



/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 1.5rem 2rem;
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.cookie-banner-buttons .btn-light {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.cookie-banner-buttons .btn-light:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.cookie-banner-buttons .btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.cookie-banner-buttons .btn-secondary:hover {
    background: rgba(253, 246, 237, 0.15);
    transform: translateY(-2px);
}

.cookie-settings-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
}

.cookie-settings-link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Cookie-Link im Footer - wie normale Footer-Links aussehen */
.footer-section .cookie-settings-link {
    position: static;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    box-shadow: none;
    color: rgba(253, 246, 237, 0.8);
}

.footer-section .cookie-settings-link:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    color: var(--color-accent);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    margin: 1rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-category h4 {
    margin-bottom: 0.5rem;
}

.cookie-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* =====================================================
   Footer - Modern Design
   ===================================================== */
footer {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    padding: 4rem 0 1.5rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Dekoratives Element */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
}

/* Dezentes Pattern */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(201, 169, 97, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(253, 246, 237, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.footer-section p,
.footer-section a {
    color: rgba(253, 246, 237, 0.85);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section a {
    display: inline-block;
    transition: all var(--transition-base);
    position: relative;
}

.footer-section a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(253, 246, 237, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-secondary);
    transition: all var(--transition-base);
    border: 1px solid rgba(253, 246, 237, 0.1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.social-link i {
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 246, 237, 0.15);
    padding-top: var(--space-lg);
    text-align: center;
    color: rgba(253, 246, 237, 0.6);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 65px; /* Reduziert von 70px auf 65px wegen noch schmalerem Header */
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #003366;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        gap: 0; /* Kein Gap bei mobiler Navigation */
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        padding: 1rem 1.5rem; /* Mehr Padding für bessere Touch-Targets */
        display: block;
        border-bottom: 1px solid rgba(253, 246, 237, 0.1);
        border-radius: 0; /* Keine Rundung bei mobiler Navigation */
        border-left: none;
        border-right: none;
        border-top: none;
        transform: none; /* Kein Transform bei Mobile */
    }

    nav ul li a:hover {
        background-color: rgba(253, 246, 237, 0.1);
        border-bottom: 1px solid rgba(253, 246, 237, 0.2);
        transform: none; /* Kein Lift-Effekt bei Mobile */
    }

    .header-content {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }

    .logo img {
        height: 45px; /* Angepasst für größeres Desktop-Logo */
    }
    
    /* Header CTA Button auf Mobile - komplett ausblenden */
    .header-cta {
        display: none !important;
    }
    
    /* Mobile-only menu item - anzeigen im mobilen Menü */
    .mobile-only-menu-item {
        display: block;
    }
    
    /* Spezielles Styling für den mobilen CTA-Link */
    .mobile-cta-link {
        background-color: rgba(253, 246, 237, 0.15) !important;
        border-color: rgba(253, 246, 237, 0.4) !important;
        font-weight: 700 !important;
    }
    
    .mobile-cta-link:hover {
        background-color: rgba(253, 246, 237, 0.25) !important;
    }
    
    .mobile-cta-link i {
        margin-right: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .lightbox-nav {
        position: fixed;
        top: auto;
        bottom: 2rem;
    }
    
    .lightbox-prev {
        left: 2rem;
    }
    
    .lightbox-next {
        right: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .card-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

/* Container und Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
} 

/* Professionelle Bewertungsseite Styles */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(253, 246, 237, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(253, 246, 237, 0.2);
    min-width: 120px;
}

.badge i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fdf6ed;
}

.badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fdf6ed;
}

/* Bewertungsformular Section */
.valuation-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.valuation-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-in-out;
}

.valuation-card.hidden {
    display: none;
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    background: #e9ecef;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-number.active {
    background: #003366;
    color: white;
    transform: scale(1.1);
}

.step-number.completed {
    background: #28a745;
    color: white;
}

.step-header h2 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Property Type Grid */
.property-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.property-type-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.property-type-card:hover {
    border-color: #003366;
    background: rgba(0, 51, 102, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.15);
}

.property-type-card.selected {
    border-color: #003366;
    background: rgba(0, 51, 102, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.2);
}

.property-type-card i {
    font-size: 3rem;
    color: #003366;
    margin-bottom: 1rem;
}

.property-type-card h3 {
    color: #003366;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.property-type-card p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Bewertungsformular */
.valuation-form, .contact-form {
    margin-bottom: 2rem;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: #003366;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group .unit {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    pointer-events: none;
    margin-top: 1.25rem;
}

.house-specific {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(0, 51, 102, 0.05);
}

.checkbox-item.large {
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-item span {
    font-family: 'Merriweather', serif;
    line-height: 1.5;
}

.privacy-consent {
    margin: 2rem 0;
}

.privacy-consent a {
    color: #003366;
    text-decoration: underline;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.step-navigation .btn {
    min-width: 150px;
}

/* Success Message */
.success-content {
    text-align: center;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
}

.success-content h2 {
    color: #003366;
    margin-bottom: 1rem;
}

.next-steps {
    margin: 3rem 0;
    text-align: left;
}

.next-steps h3 {
    color: #003366;
    text-align: center;
    margin-bottom: 2rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #003366;
}

.step-icon {
    background: #003366;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    flex-shrink: 0;
}

.contact-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 8px;
    text-align: center;
}

.contact-info a {
    color: #003366;
    font-weight: 600;
    text-decoration: none;
}

/* Warum Bewertung wichtig ist */
.why-valuation {
    padding: 4rem 0;
    background: white;
}

.why-valuation h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.why-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-card i {
    font-size: 3rem;
    color: #003366;
    margin-bottom: 1rem;
}

.why-card h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive Styles für Bewertungsseite */
@media (max-width: 768px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .badge {
        min-width: 150px;
    }

    .valuation-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .property-type-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .property-type-card {
        padding: 1.5rem;
    }

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

    .house-specific {
        grid-template-columns: 1fr;
    }

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

    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .step-navigation .btn {
        width: 100%;
    }

    .step-list {
        gap: 1rem;
    }

    .step-item {
        padding: 1rem;
    }

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

    .why-card {
        padding: 1.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Bewertungsergebnis Styles */
.valuation-result {
    margin-bottom: 2rem;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #003366 0%, #004488 100%);
    border-radius: 10px;
    color: white;
}

.property-summary h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.property-summary p {
    color: rgba(253, 246, 237, 0.9);
    font-size: 1.1rem;
}

.result-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.estimated-value {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid #003366;
}

.estimated-value h3 {
    color: #003366;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.value-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-from, .value-to {
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #003366;
}

.value-separator {
    font-size: 1.5rem;
    color: #6c757d;
}

.value-average {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 8px;
}

.value-per-sqm {
    font-size: 1.1rem;
    color: #6c757d;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

.value-breakdown {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.value-breakdown h4 {
    color: #003366;
    margin-bottom: 1.5rem;
    text-align: center;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: 600;
    color: #003366;
}

/* Zusätzliche Breakdown-Reihen optional ausblenden */
#year-effect-row, #condition-effect-row { }

.market-comparison, .market-trends {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.market-comparison h4, .market-trends h4 {
    color: #003366;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-grid {
    display: grid;
    gap: 1rem;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.comparison-type {
    font-weight: 600;
    color: #003366;
}

.comparison-range {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #28a745;
}

.trend-info {
    display: grid;
    gap: 1rem;
}

.trend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.trend-item.positive {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.trend-item i {
    color: #003366;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.trend-item.positive i {
    color: #28a745;
}

.trend-item.negative i {
    color: #dc3545;
}

.result-disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.result-disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Hinweis oben im Ergebnis */
.result-disclaimer-top {
    background: rgba(0, 51, 102, 0.08);
    border: 1px solid rgba(0, 51, 102, 0.2);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.result-disclaimer-top p {
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.result-disclaimer-top i {
    color: #003366;
    font-size: 1.1rem;
}

/* CTA zum Kontaktieren unter Email-Hinweis */
.result-contact-cta {
    background: linear-gradient(135deg, #003366 0%, #00264d 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: #fff;
}

.result-contact-cta h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

.result-contact-cta > p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.contact-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-cta-buttons .btn-primary {
    background: #fdf6ed;
    color: #003366;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
}

.contact-cta-buttons .btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.contact-or-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-or-call span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.phone-link {
    color: #fdf6ed;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #fff;
    transform: scale(1.05);
}

.phone-link i {
    font-size: 1.1rem;
}

@media (min-width: 600px) {
    .contact-or-call {
        flex-direction: row;
        gap: 1rem;
    }
}

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

.result-actions .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Vertrauensgrad-Anzeige */
.confidence-indicator {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 51, 102, 0.1);
}

.confidence-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.confidence-bar {
    position: relative;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 10px;
    transition: width 0.8s ease-in-out;
    width: 0%; /* Startwert für Animation */
}

.confidence-percentage {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: bold;
    color: #003366;
}

/* Animationen für Benachrichtigungen */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Responsive Styles für Bewertungsergebnisse */
@media (max-width: 768px) {
    .result-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .estimated-value {
        padding: 2rem 1.5rem;
    }

    .value-from, .value-to {
        font-size: 1.5rem;
    }

    .value-range {
        flex-direction: column;
        gap: 0.5rem;
    }

    .value-separator {
        transform: rotate(90deg);
    }

    .result-actions {
        grid-template-columns: 1fr;
    }

    .trend-info {
        gap: 0.5rem;
    }

    .trend-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .comparison-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
} 

/* Schnellbewertungs-Popup */
.quick-valuation-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.quick-valuation-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease-out;
}

.quick-result-header {
    margin-bottom: 2rem;
}

.quick-result-header i {
    font-size: 3rem;
    color: #003366;
    margin-bottom: 1rem;
}

.quick-result-header h3 {
    color: #003366;
    font-size: 1.8rem;
    margin: 0;
}

.quick-result-value {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 3px solid #003366;
}

.quick-value {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.5rem;
}

.quick-result-value p {
    margin: 0;
    color: #6c757d;
    font-size: 1.1rem;
}

.quick-result-actions p {
    margin-bottom: 1.5rem;
    color: #6c757d;
    line-height: 1.5;
}

.quick-result-actions .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

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

/* Responsive Styles für Popup */
@media (max-width: 768px) {
    .quick-valuation-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .quick-result-header i {
        font-size: 2.5rem;
    }

    .quick-result-header h3 {
        font-size: 1.5rem;
    }

    .quick-value {
        font-size: 2rem;
    }
} 

/* Property Cards - Spezifisches Styling für Immobilien - Maximal 3 Karten nebeneinander */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1200px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: auto; /* Keine erzwungene Höhe, damit Karten kompakt bleiben */
}

/* Einheitliche Button-Ausrichtung in Immobilien-Karten */
.property-card .card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-card .card-content .btn {
    margin-top: auto; /* Button an das untere Ende der Karte schieben */
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.15);
}

.property-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.property-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #003366;
    font-family: 'Lato', sans-serif;
    line-height: 1.3;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.property-details {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1; /* Nimmt verfügbaren Platz ein */
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-features .feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
}

.property-features .feature i {
    color: #003366;
    font-size: 0.8rem;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid #eee;
}

.property-location i {
    color: #003366;
}

.property-actions {
    margin-top: auto; /* Schiebt den Button nach unten */
    display: flex;
    justify-content: flex-start;
}

.property-actions .btn {
    min-width: 150px;
    text-align: center;
}

/* Responsive Anpassungen für Property Cards */
@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .property-card {
        min-height: auto;
    }

    .property-content {
        padding: 1rem;
    }

    .property-title {
        font-size: 1.2rem;
    }

    .property-price {
        font-size: 1.4rem;
    }

    .property-features {
        gap: 0.5rem;
    }

    .property-features .feature {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
} 

/* Property Details Page Styles */
.breadcrumb-container {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #003366;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

.property-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
}

.property-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.property-hero-info h1 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
    line-height: 1.2;
}

.property-hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.property-hero-location i {
    color: #003366;
}

.property-hero-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 2rem;
    font-family: 'Lato', sans-serif;
}

.property-hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-feature i {
    color: #003366;
    font-size: 1.1rem;
}

.property-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.property-hero-actions .btn {
    min-width: 200px;
    padding: 1rem 1.5rem;
    text-align: center;
}

.property-gallery {
    padding: 3rem 0;
    background: white;
}

.gallery-main-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    flex: 1;
    max-width: 100%;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 51, 102, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 51, 102, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav:disabled:hover {
    transform: translateY(-50%);
}

.gallery-nav-prev {
    left: -25px;
}

.gallery-nav-next {
    right: -25px;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 51, 102, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-info {
    padding: 3rem 0;
    background: #f8f9fa;
}

.property-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.property-description h2,
.property-details-table h2 {
    color: #003366;
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
}

.property-description p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.details-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.details-table tr {
    border-bottom: 1px solid #e9ecef;
}

.details-table tr:last-child {
    border-bottom: none;
}

.details-table td {
    padding: 1rem 1.5rem;
    vertical-align: top;
}

.details-table td:first-child {
    background: #f8f9fa;
    width: 40%;
    font-weight: 600;
    color: #003366;
}

.property-features-section,
.property-location-section,
.property-contact-section,
.related-properties-section {
    margin-bottom: 3rem;
}

.property-features-section h2,
.property-location-section h2,
.property-contact-section h2,
.related-properties-section h2 {
    color: #003366;
    margin-bottom: 2rem;
    font-family: 'Lato', sans-serif;
    text-align: center;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    color: #28a745;
    font-size: 1.1rem;
}

.location-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-info p {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-cta {
    background: linear-gradient(135deg, #003366 0%, #004488 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-cta-actions .btn {
    min-width: 200px;
}

.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.contact-item i {
    color: #fdf6ed;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Responsive Styles für Property Details */
@media (max-width: 1024px) {
    .property-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .property-hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .property-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .property-hero {
        padding: 2rem 0;
    }

    .property-hero-info h1 {
        font-size: 2rem;
    }

    .property-hero-price {
        font-size: 2rem;
    }

    .property-hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .hero-feature {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .property-hero-actions {
        flex-direction: column;
    }

    .main-image {
        height: 300px;
    }
    
    .gallery-main-wrapper {
        gap: 0;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-nav-prev {
        left: 10px;
    }
    
    .gallery-nav-next {
        right: 10px;
    }
    
    .gallery-counter {
        bottom: 10px;
        right: 10px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .property-info {
        padding: 2rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .contact-cta {
        padding: 2rem 1rem;
    }

    .contact-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .details-table td {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* =====================================================
   SCHNELLBEWERTUNG TEASER - Preview Styles
   ===================================================== */

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

.preview-value-card {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

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

.preview-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-icon i {
    font-size: 2.5rem;
    color: #fdf6ed;
}

.preview-content {
    text-align: left;
    flex: 1;
}

.preview-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.preview-value-range {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.preview-value {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    color: #fdf6ed;
}

.preview-separator {
    font-size: 1.5rem;
    opacity: 0.7;
}

.preview-sqm {
    font-size: 1rem;
    opacity: 0.85;
}

/* Teaser Box - Was der User bekommt */
.preview-teaser-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #003366;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.teaser-icon {
    background: #003366;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.teaser-icon i {
    font-size: 1.3rem;
    color: #fdf6ed;
}

.teaser-content h3 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.teaser-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.teaser-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #444;
    font-size: 0.95rem;
}

.teaser-benefits li i {
    color: #28a745;
    font-size: 0.9rem;
}

/* Trust Badges */
.preview-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.trust-item i {
    color: #003366;
}

/* Unlock Button */
.btn-unlock {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Result Success Badge */
.result-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.result-success-badge i {
    font-size: 1rem;
}

/* Responsive Preview Styles */
@media (max-width: 768px) {
    .preview-value-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .preview-content {
        text-align: center;
    }
    
    .preview-value-range {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .preview-value {
        font-size: 1.4rem;
    }
    
    .preview-teaser-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .teaser-content h3 {
        text-align: center;
    }
    
    .teaser-benefits li {
        justify-content: center;
    }
    
    .preview-trust {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* E-Mail Info nach Ergebnis */
.result-email-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
}

.result-email-info i {
    color: #003366;
    font-size: 1.1rem;
}

/* =====================================================
   PERSONALISIERTE EMPFEHLUNGEN
   ===================================================== */

.personalized-recommendation {
    margin: 2rem 0;
}

.recommendation-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #003366;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    animation: fadeInUp 0.5s ease-out;
}

.recommendation-icon {
    background: linear-gradient(135deg, #003366, #004d99);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recommendation-icon i {
    font-size: 1.5rem;
    color: #fdf6ed;
}

.recommendation-content {
    flex: 1;
    text-align: left;
}

.recommendation-content h4 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.recommendation-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.recommendation-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.recommendation-highlight i {
    color: #ffc107;
}

/* Große CTA Buttons */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.result-actions .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .recommendation-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
    
    .recommendation-content {
        text-align: center;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions .btn {
        width: 100%;
    }
}

/* =====================================================
   VERBESSERTER FORTSCHRITTSBALKEN
   ===================================================== */

.progress-wrapper {
    background: white;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
}

.progress-bar-container {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #003366, #0066cc, #28a745);
    background-size: 200% 100%;
    border-radius: 10px;
    transition: width 0.5s ease-out;
    animation: gradientMove 2s ease-in-out infinite;
}

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

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.progress-step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.progress-step-icon i {
    font-size: 1rem;
    color: #999;
    transition: all 0.3s ease;
}

.progress-step span {
    font-size: 0.75rem;
    color: #999;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

/* Aktiver Schritt */
.progress-step.active .progress-step-icon {
    background: #003366;
    border-color: #003366;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.4);
}

.progress-step.active .progress-step-icon i {
    color: white;
}

.progress-step.active span {
    color: #003366;
}

/* Abgeschlossener Schritt */
.progress-step.completed .progress-step-icon {
    background: #28a745;
    border-color: #28a745;
}

.progress-step.completed .progress-step-icon i {
    color: white;
}

.progress-step.completed .progress-step-icon::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    color: white;
}

.progress-step.completed .progress-step-icon i {
    display: none;
}

.progress-step.completed span {
    color: #28a745;
}

/* Step Subtitle */
.step-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

/* Valuation Card Animationen */
.valuation-card {
    animation: cardSlideIn 0.4s ease-out;
}

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

/* Property Type Cards Animation */
.property-type-card {
    transition: all 0.3s ease;
}

.property-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
}

.property-type-card.selected {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

/* Responsive Progress */
@media (max-width: 768px) {
    .progress-wrapper {
        padding: 1rem;
    }
    
    .progress-step span {
        font-size: 0.65rem;
    }
    
    .progress-step-icon {
        width: 38px;
        height: 38px;
    }
    
    .progress-step-icon i {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .progress-step span {
        display: none;
    }
    
    .progress-steps {
        justify-content: space-around;
    }
}

/* =====================================================
   VERTRAUENSELEMENT IM HERO
   ===================================================== */

.hero-trust-element {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trust-expert {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.trust-expert img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.trust-expert-fallback {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-expert-fallback i {
    font-size: 1.5rem;
    color: #fdf6ed;
}

.trust-expert-info {
    display: flex;
    flex-direction: column;
}

.trust-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fdf6ed;
    font-family: 'Lato', sans-serif;
}

.trust-title {
    font-size: 0.85rem;
    color: rgba(253, 246, 237, 0.8);
}

.trust-data-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(253, 246, 237, 0.9);
}

.trust-data-source i {
    color: #28a745;
}

@media (max-width: 768px) {
    .trust-expert {
        padding: 0.6rem 1rem;
    }
    
    .trust-expert img,
    .trust-expert-fallback {
        width: 40px;
        height: 40px;
    }
    
    .trust-name {
        font-size: 0.9rem;
    }
    
    .trust-title {
        font-size: 0.75rem;
    }
    
    .trust-data-source {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* =====================================================
   MODERNE UI KOMPONENTEN
   ===================================================== */

/* =====================================================
   CTA Sections - Call to Action
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(253, 246, 237, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

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

.cta-content h2 {
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-content h2::after {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    color: rgba(253, 246, 237, 0.9);
    font-size: 1.15rem;
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
}

.cta-contact-item i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.cta-contact-item a {
    color: var(--color-secondary);
    transition: color var(--transition-base);
}

.cta-contact-item a:hover {
    color: var(--color-accent);
}

/* =====================================================
   Testimonials / Kundenstimmen
   ===================================================== */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--color-primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

.testimonial-info strong {
    display: block;
    color: var(--color-primary);
    font-family: 'Lato', sans-serif;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =====================================================
   Feature Boxes / Icon Boxes
   ===================================================== */
.feature-box {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    background: white;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 51, 102, 0.05);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-box-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-bounce);
}

.feature-box-icon i {
    font-size: 2rem;
    color: var(--color-secondary);
}

.feature-box:hover .feature-box-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-box h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.feature-box p {
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.7;
}

/* Inline Feature (horizontal) */
.feature-inline {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 51, 102, 0.05);
}

.feature-inline:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.feature-inline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-inline-icon i {
    font-size: 1.3rem;
    color: var(--color-secondary);
}

.feature-inline-content h4 {
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
}

.feature-inline-content p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =====================================================
   Stats / Zahlen
   ===================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    font-family: 'Lato', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* =====================================================
   Process Steps / Timeline
   ===================================================== */
.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    align-items: flex-start;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    bottom: -var(--space-xl);
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    opacity: 0.3;
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Lato', sans-serif;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.process-content {
    flex: 1;
    padding-top: var(--space-xs);
}

.process-content h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.process-content p {
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.7;
}

/* =====================================================
   Badge / Tag Styles
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 51, 102, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--color-success);
}

.badge-accent {
    background: rgba(201, 169, 97, 0.15);
    color: var(--color-accent);
}

/* =====================================================
   Dividers / Trennlinien
   ===================================================== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 51, 102, 0.1), transparent);
    margin: var(--space-xl) 0;
}

.divider-accent {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    margin: var(--space-md) 0;
}

/* =====================================================
   Text Utilities
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-light { color: var(--color-text-light); }
.text-muted { color: var(--color-text-muted); }

.text-large { font-size: 1.2rem; }
.text-small { font-size: 0.9rem; }

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }

/* =====================================================
   Scroll Animations (On Scroll)
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
} 