/* General Styles */
:root {
    --primary-color: #0063A7;
    --secondary-color: #004B87;
    --accent-color: #E19B35;
    --blue-light: #7EA0CA;
    --blue-bright: #0063A7;
    --gold-accent: #E19B35;
    --gold-dark: #B87B21;
    --green-accent: #009151;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --blue-main: #0063A7;
    --blue-dark: #004B87;
    --wave-gradient: linear-gradient(135deg, #0063A7 0%, #7EA0CA 50%, #E19B35 100%);
}

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

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

/* Top Info Bar */
.top-info-bar {
    background: var(--wave-gradient);
    color: white;
    padding: 12px 0;
    font-size: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 99, 167, 0.3);
}

.top-info-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-info-bar a:hover {
    opacity: 0.8;
}

.top-info-bar i {
    margin-right: 5px;
}

/* Mobile contact info - shows below navbar on small screens */
.mobile-contact-info {
    display: none;
    background: var(--light-color);
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--blue-main);
}

.mobile-contact-info a {
    color: var(--dark-color);
    text-decoration: none;
    margin: 0 10px;
}

.mobile-contact-info i {
    color: var(--blue-main);
    margin-right: 5px;
}

@media (max-width: 992px) {
    .mobile-contact-info {
        display: block;
    }
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar.main-nav {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.15);
    top: 44px !important;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%) !important;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue-main) !important;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1.5px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.navbar-logo {
    height: 40px;
    width: auto;
    animation: none !important;
    image-rendering: -webkit-optimize-contrast;
}

.navbar-brand img {
    filter: none;
}

.navbar-light .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.navbar-dark .nav-link {
    color: rgba(255,255,255,0.9) !important;
}

.navbar-dark .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #004B87 0%, #0063A7 50%, #7EA0CA 100%);
    background-attachment: fixed;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(126, 160, 202, 0.15) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(225, 155, 53, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Wassertropfen-Dekoration */
.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, rgba(225, 155, 53, 0.3), transparent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    filter: blur(30px);
    animation: float 6s ease-in-out infinite;
}

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

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    min-height: 100vh;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease;
}

.hero-section h2 {
    animation: fadeInDown 1.2s ease;
}

.hero-section .lead {
    font-size: 1.5rem;
    animation: fadeInUp 1.4s ease;
}

.hero-logo-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    animation: fadeInDown 0.8s ease;
}

.video-highlight-section {
    background: linear-gradient(180deg, #f6f9fc 0%, #eef4f9 100%);
}

.video-preview-card {
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 75, 135, 0.2);
}

.video-preview-button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.video-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    display: block;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 99, 167, 0.9);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-preview-button:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.06);
    background: rgba(225, 155, 53, 0.95);
}

.video-inline-frame {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.video-inline-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.hero-features {
    animation: fadeInUp 1.6s ease;
}

.feature-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(225, 155, 53, 0.3);
}

.feature-badge:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(225, 155, 53, 0.3), 0 0 20px rgba(225, 155, 53, 0.2);
}

.feature-badge p {
    margin: 0;
    font-weight: 600;
}

.feature-badge i {
    font-size: 1.6rem;
}

/* Hero Rating */
.hero-rating {
    animation: fadeInUp 1.8s ease;
}

.rating-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(225, 155, 53, 0.3);
    border: 2px solid var(--accent-color);
}

.rating-stars-hero {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(225, 155, 53, 0.3);
}

.rating-text-hero {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--wave-gradient);
    box-shadow: 0 2px 8px rgba(225, 155, 53, 0.4);
    border-radius: 2px;
}

/* About Section */
#about {
    padding: 80px 0;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-content .lead {
    color: var(--blue-main);
    font-weight: 600;
}

/* Service Cards */
.service-card, .advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.service-card:hover, .advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 99, 167, 0.2), 0 0 30px rgba(225, 155, 53, 0.15);
    border: 1px solid rgba(225, 155, 53, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}

.service-icon, .advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--wave-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 99, 167, 0.3), 0 0 30px rgba(225, 155, 53, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.service-icon::before, .advantage-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent-color), var(--blue-light), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.service-card:hover .service-icon::before,
.advantage-card:hover .advantage-icon::before {
    opacity: 0.6;
}

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

.service-card h3, .advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-card:hover h3, .advantage-card:hover h3 {
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 180, 216, 0.2);
}

.service-card:hover .service-icon::before,
.advantage-card:hover .advantage-icon::before {
    opacity: 0.6;
}

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

.service-card h3, .advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-card:hover h3, .advantage-card:hover h3 {
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 99, 167, 0.2), 0 0 20px rgba(225, 155, 53, 0.15);
    border: 1px solid rgba(225, 155, 53, 0.4);
}

.testimonial-rating {
    font-size: 1.2rem;
}

.testimonial-text {
    flex-grow: 1;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    border-top: 2px solid rgba(225, 155, 53, 0.3);
    padding-top: 1rem;
    margin-top: auto;
}

.testimonial-author strong {
    color: var(--blue-main);
    font-size: 1.1rem;
    font-weight: 600;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--blue-bright);
    filter: drop-shadow(0 2px 3px rgba(225, 155, 53, 0.3));
}

/* Gallery Section */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 99, 167, 0.25), 0 0 20px rgba(225, 155, 53, 0.2);
    border: 2px solid var(--blue-bright);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
}

/* Offer Section */
.offer-box {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.offer-item {
    text-align: center;
    padding: 1.5rem;
}

.offer-item i {
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(225, 155, 53, 0.3));
}

.offer-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #004B87 0%, #0063A7 50%, #7EA0CA 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(225, 155, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at bottom right, rgba(126, 160, 202, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(225, 155, 53, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(225, 155, 53, 0.1);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(225, 155, 53, 0.4);
}

.contact-item a {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px rgba(225, 155, 53, 0.5);
}

.contact-form-wrapper {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-form-wrapper .form-control {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 0.75rem;
}

.contact-form-wrapper .form-control:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(225, 155, 53, 0.25);
    border: 2px solid var(--accent-color);
}

.contact-form-wrapper label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Google Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-container iframe {
    display: block;
}

.btn-light {
    background: white;
    color: var(--blue-main);
    border: 2px solid var(--gold-dark);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: var(--gold-accent);
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 155, 53, 0.4), 0 0 20px rgba(225, 155, 53, 0.3);
}

.btn-primary {
    background: var(--wave-gradient);
    border: 2px solid var(--accent-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-bright), var(--accent-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 155, 53, 0.4), 0 0 30px rgba(225, 155, 53, 0.3);
}

.btn-primary:hover::before {
    left: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #004B87 0%, #0063A7 50%, #7EA0CA 100%) !important;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 -5px 20px rgba(225, 155, 53, 0.2);
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px rgba(225, 155, 53, 0.5);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--wave-gradient);
    color: white;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 99, 167, 0.4);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, var(--blue-bright), var(--accent-color));
    color: white;
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(225, 155, 53, 0.6), 0 0 30px rgba(225, 155, 53, 0.4);
}

.scroll-top-btn.show {
    display: flex;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Adjust top info bar for tablets and mobile */
    .top-info-bar {
        font-size: 0.8rem;
        padding: 10px 0;
    }
    
    /* Adjust main nav position */
    .navbar.main-nav {
        top: 42px !important;
    }
    
    /* Adjust hero section padding */
    .hero-section {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .feature-badge {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 110px;
    }
    
    .top-info-bar {
        font-size: 0.75rem;
        padding: 8px 0;
    }
    
    .navbar.main-nav {
        top: 38px !important;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .offer-box {
        padding: 1.5rem;
    }
    
    .gallery-card {
        height: 250px;
    }
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}
