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

:root {
    /* Gray Dark Theme Colors */
    --primary-color: #6b7280;
    --secondary-color: #9ca3af;
    --accent-color: #d1d5db;
    --bg-dark: #111827;
    --bg-darker: #0a0e17;
    --bg-card: #1f2937;
    --bg-card-hover: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --success-color: #10b981;
    --error-color: #ef4444;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================
   Preloader
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    width: 150px;
    height: auto;
    animation: blink 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(156, 163, 175, 0.5));
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(17, 24, 39, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
}

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

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

.logo img:hover {
    transform: scale(1.05);
}

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

.nav-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after {
    width: 80%;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--accent-color);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1a1f2e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(107, 114, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(156, 163, 175, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-location {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-location::before {
    content: '📍';
    font-size: 1.4rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Image - Minimalistisches Design */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-icon-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(156, 163, 175, 0.05) 100%);
    border-radius: 50%;
    border: 2px solid rgba(156, 163, 175, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

.hero-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 50%;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.hero-center-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(156, 163, 175, 0.3));
    animation: float-logo 3s ease-in-out infinite;
}

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

.hero-icon-wrapper i {
    position: absolute;
    font-size: 4rem;
    color: var(--accent-color);
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.hero-icon-wrapper i:nth-child(2) {
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    animation: float-centered 3s ease-in-out infinite;
    animation-delay: 0s;
}

.hero-icon-wrapper i:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.hero-icon-wrapper i:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.6);
}

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

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

/* ==========================================
   Section Header
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-dark);
}

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

.service-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-card-hover);
    box-shadow: 0 15px 40px rgba(107, 114, 128, 0.3);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
}

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

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(107, 114, 128, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 72px;
}

.stat-icon i {
    filter: drop-shadow(0 5px 15px rgba(156, 163, 175, 0.4));
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==========================================
   Testimonials Section (Google Reviews)
   ========================================== */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--bg-dark);
}

.google-reviews-wrapper {
    margin-top: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    box-shadow: 0 15px 40px rgba(107, 114, 128, 0.3);
    border-color: var(--secondary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-rating i {
    filter: drop-shadow(0 0 3px rgba(251, 187, 36, 0.5));
}

.review-rating .far.fa-star {
    opacity: 0.3;
}

.review-content {
    flex: 1;
    margin-bottom: 20px;
}

.review-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.review-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.review-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.review-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-platform i {
    color: #4285f4;
    font-size: 1.1rem;
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.reviews-cta * {
    margin-left: auto;
    margin-right: auto;
}

.reviews-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.reviews-cta .btn i {
    font-size: 1.2rem;
}

.cta-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
    text-align: center;
}

.no-reviews-message {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.no-reviews-message h3,
.no-reviews-message p {
    text-align: center;
}

.no-reviews-message .btn {
    margin: 0 auto;
    display: block;
    width: fit-content;
}

/* Google Reviews Embed Styling */
.google-reviews-embed {
    margin-bottom: 30px;
}

.google-review-widget iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 15px;
}

/* Responsive Design für Testimonials */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 25px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-rating {
        margin-top: 10px;
    }

    .testimonials .section-header h2 {
        font-size: 2rem;
    }
}

/* ==========================================
   Legal Pages Section
   ========================================== */
.legal-section {
    padding: 180px 0 80px;
    background-color: var(--bg-dark);
}

.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 60px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-height: none;
    overflow: visible;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal-content h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h4 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 15px 0 15px 30px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-content a[href^="http"],
.legal-content a[target="_blank"] {
    color: var(--secondary-color);
}

.legal-back {
    margin-top: 50px;
    text-align: center;
}

/* ==========================================
   404 Error Page
   ========================================== */
.error-404 {
    padding: 150px 0 100px;
    min-height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
}

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

.error-icon {
    font-size: 6rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.error-title {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.error-subtitle {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.error-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.error-suggestions {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-top: 40px;
}

.error-suggestions h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.error-suggestions ul li {
    text-align: left;
}

.error-suggestions ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}

.error-suggestions ul li a:hover {
    color: var(--accent-color);
    background-color: rgba(156, 163, 175, 0.1);
}

.error-suggestions ul li a i {
    color: var(--secondary-color);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: var(--section-padding);
    background-color: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-item a,
.footer-section a[href^="mailto"],
.footer-section a[href^="tel"] {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover,
.footer-section a[href^="mailto"]:hover,
.footer-section a[href^="tel"]:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.checkbox-label a:hover {
    color: var(--accent-color);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.h-captcha {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.h-captcha > div {
    margin: 0 auto;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.alert-success {
    background-color: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-section i {
    color: var(--accent-color);
    margin-right: 10px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.footer-section .highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

/* ==========================================
   WhatsApp Button
   ========================================== */
.whatsapp-button {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 998;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-button i {
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* ==========================================
   Cookie Banner
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border-top: 2px solid var(--border-color);
    padding: 25px 20px;
    z-index: 999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

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

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

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

.cookie-text h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-text a:hover {
    color: var(--accent-color);
}

.cookie-details {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(156, 163, 175, 0.1);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cookie-details summary {
    cursor: pointer;
    color: var(--secondary-color);
    font-weight: 600;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-details summary::-webkit-details-marker {
    display: none;
}

.cookie-details summary::before {
    content: '▶';
    transition: transform 0.3s ease;
}

.cookie-details[open] summary::before {
    transform: rotate(90deg);
}

.cookie-details ul {
    margin-top: 10px;
    padding-left: 20px;
}

.cookie-details ul li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 163, 175, 0.4);
}

.cookie-essential {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.cookie-essential:hover {
    background-color: rgba(156, 163, 175, 0.1);
    border-color: var(--secondary-color);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
}

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

@keyframes float-centered {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -20px);
    }
}

/* ==========================================
   Toast Notifications
   ========================================== */

.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    min-width: 320px;
    max-width: 450px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--accent-color);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    border-left-color: #10b981;
}

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

.toast-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.toast-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toast-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Loading Button State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading .btn-text {
    opacity: 0;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

/* Tablet */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }

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

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

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-icon-wrapper {
        width: 300px;
        height: 300px;
    }

    .hero-center-logo {
        width: 60px;
        height: 60px;
    }

    .hero-icon-wrapper i {
        font-size: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-location {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

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

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

    .section-header h2 {
        font-size: 2rem;
    }

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

/* Mobile */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-icon-wrapper {
        width: 250px;
        height: 250px;
    }

    .hero-center-logo {
        width: 50px;
        height: 50px;
    }

    .hero-icon-wrapper i {
        font-size: 2.5rem;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-location {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }

    .error-title {
        font-size: 6rem;
    }

    .error-subtitle {
        font-size: 2rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-icon {
        font-size: 5rem;
    }

    .error-buttons {
        flex-direction: column;
    }

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

    .service-card {
        padding: 30px 20px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .stat {
        padding: 25px;
    }

    .stat-number {
        font-size: 2.5rem;
        height: 60px;
    }

    .stat-icon {
        font-size: 3rem;
        height: 60px;
    }

    .legal-content {
        padding: 40px 30px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

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

    .hero-icon-wrapper {
        width: 450px;
        height: 450px;
    }

    .hero-center-logo {
        width: 100px;
        height: 100px;
    }

    .hero-icon-wrapper i {
        font-size: 4.5rem;
    }
}

/* ==========================================
   Cal.com Terminbuchungs-Button
   ========================================== */

/* Cal.com Button Positionierung (direkt über WhatsApp Button) */
[id*="cal-floating-button"],
[class*="cal-floating-button"],
.cal-floating-button {
    position: fixed !important;
    bottom: 170px !important;
    right: 30px !important;
    left: auto !important;
    z-index: 999 !important;
    transform: none !important;
}

/* Back to Top Button Styling (ergänzend zu JS) */
.back-to-top {
    left: 30px !important;
    right: auto !important;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    [id*="cal-floating-button"],
    [class*="cal-floating-button"],
    .cal-floating-button {
        bottom: 160px !important;
        right: 20px !important;
    }
    
    .back-to-top {
        left: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
}

/* ==========================================
   Footer Logo - Easter Egg
   ========================================== */
.footer-logo {
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-logo:active {
    transform: scale(0.95);
}
