/*
 * ridon IT GmbH - Premium Design
 * Verbessertes Layout mit flüssigen Übergängen und einheitlicher Ästhetik
 */

/* ======= ALLGEMEINE STYLES ======= */
:root {
    --primary-color: #ca0b5e;
    --primary-light: rgba(202, 11, 94, 0.1);
    --primary-gradient: linear-gradient(135deg, #ca0b5e, #e83e8c);
    --secondary-color: #1C1D21;
    --secondary-light: rgba(28, 29, 33, 0.8);
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --grey-color: #868e96;
    --white-color: #ffffff;
    --section-padding: 6rem 0;
    --card-border-radius: 12px;
    --section-transition: 4rem;
    --global-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: var(--white-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

.btn {
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(202, 11, 94, 0.2);
}

.section {
    position: relative;
    padding: var(--section-padding);
    position: relative;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--section-transition);
    background: linear-gradient(to bottom, transparent, var(--light-color));
    z-index: -1;
    display: none;
}

.section.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--section-transition);
    background: linear-gradient(to top, transparent, var(--white-color));
    z-index: 0;
    display: none;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-line {
    display: none;
}

.bg-light {
    background-color: var(--light-color) !important;
    position: relative;
}

/* ======= PRELOADER ======= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 100%;
    display: inline-block;
    animation: bouncedelay 1.4s infinite ease-in-out both;
    margin: 0 4px;
}

.spinner .bounce1 {
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes bouncedelay {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

/* ======= HEADER & NAVIGATION ======= */
.header {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: var(--white-color);
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.05);
    filter: blur(0);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(28, 29, 33, 0.8));
}

.header-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.navbar {
    transition: all 0.3s ease;
    padding: 1.8rem 0;
    z-index: 1000;
}

.navbar-brand img.logo {
    height: 55px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white-color);
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 30px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-dark .navbar-toggler {
    border-color: transparent;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-content {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: var(--white-color);
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ======= ABOUT SECTION ======= */
.feature-card {
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--global-shadow);
    height: 100%;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.feature-icon {
    margin-bottom: 2rem;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-icon img {
    width: 70px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ======= SERVICES SECTION ======= */
.service-intro {
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    box-shadow: var(--global-shadow);
    margin-bottom: 3rem;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-intro p {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-intro p strong {
    position: relative;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.service-intro p strong::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.service-intro p::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.service-card {
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--global-shadow);
    height: 100%;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    border-radius: 50%;
    bottom: -75px;
    right: -75px;
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::after {
    opacity: 0.3;
}

.service-icon {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-icon img {
    width: 70px;
    height: auto;
    transition: all 0.5s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.service-card:hover .service-icon img {
    transform: scale(1.15) rotate(10deg);
}

.service-card h3 {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

/* ======= INDUSTRIES SECTION ======= */
.industry-list {
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    box-shadow: var(--global-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.industry-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M95,50 C95,74.8528137 74.8528137,95 50,95 C25.1471863,95 5,74.8528137 5,50 C5,25.1471863 25.1471863,5 50,5 C74.8528137,5 95,25.1471863 95,50 Z" stroke="%23ca0b5e" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
    background-size: 200px;
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.industry-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.industry-item:last-child {
    margin-bottom: 0;
}

.industry-item:hover {
    transform: translateX(10px);
}

.industry-item i {
    color: var(--white-color);
    margin-right: 1.2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(202, 11, 94, 0.25);
    transition: all 0.3s ease;
}

.industry-item:hover i {
    transform: scale(1.2);
}

.industry-item p {
    margin-bottom: 0;
    font-weight: 500;
}

/* ======= TEAM SECTION ======= */
.team-card {
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--global-shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-img {
    overflow: hidden;
    position: relative;
}

.team-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    z-index: 1;
    transition: all 0.5s ease;
}

.team-card:hover .team-img::before {
    opacity: 0.3;
}

.team-img img {
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

.team-card:hover .team-img img {
    transform: scale(1.08);
}

.team-info {
    padding: 1.8rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.team-card:hover .team-info::before {
    width: 80px;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.team-info p {
    font-size: 0.95rem;
    color: var(--grey-color);
    margin-bottom: 0;
    opacity: 0.9;
    font-weight: 400;
}

/* ======= CONTACT SECTION ======= */
.contact-card {
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--global-shadow);
    height: 100%;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card:hover::before {
    transform: scale(1.2);
}

.contact-icon {
    margin-bottom: 2rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(135deg, rgba(202, 11, 94, 0.15), rgba(202, 11, 94, 0.05));
    border-radius: 50%;
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
    color: var(--white-color);
    background: var(--primary-gradient);
    box-shadow: 0 10px 20px rgba(202, 11, 94, 0.3);
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-card p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.contact-card a {
    color: var(--primary-color);
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
}

.contact-card a:hover::after {
    width: 100%;
}

/* ======= IMPRINT SECTION ======= */
.imprint-card {
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    box-shadow: var(--global-shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.imprint-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
}

.imprint-card:hover::before {
    height: 8px;
}

.imprint-card p {
    position: relative;
    z-index: 1;
}

.imprint-card strong {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* ======= FOOTER ======= */
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-logo {
    height: 55px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--white-color);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ======= BACK TO TOP BUTTON ======= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(202, 11, 94, 0.3);
    transform: translateY(20px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* ======= MEDIA QUERIES ======= */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: var(--secondary-color);
        padding: 1rem 0;
    }
    
    .navbar-collapse {
        background-color: var(--secondary-color);
        padding: 1.5rem;
        border-radius: var(--card-border-radius);
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card, .service-card, .team-card, .contact-card, .industry-list, .imprint-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .header {
        min-height: 550px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .footer {
        text-align: center;
        padding: 2rem 0;
    }
    
    .footer-links {
        margin: 1.5rem 0;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-card, .imprint-card, .industry-list {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .team-info h3 {
        font-size: 1.2rem;
    }
    
    .service-intro {
        padding: 2rem;
    }
    
    .feature-card h3, .service-card h3, .contact-card h3 {
        font-size: 1.2rem;
    }
}

/* ======= ZUSÄTZLICHE EFFEKTE ======= */
.section-highlight {
    animation: section-pulse 1s ease-in-out;
}

@keyframes section-pulse {
    0% { box-shadow: 0 0 0 0 rgba(202, 11, 94, 0); }
    50% { box-shadow: 0 0 30px 5px rgba(202, 11, 94, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(202, 11, 94, 0); }
}

.back-to-top.clicked {
    animation: rotate-up 0.6s ease;
}

@keyframes rotate-up {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glatter Übergang zwischen Sektionen */
.section::before,
.section::after {
    display: block;
}

/* Aktivierte Übergänge für besseren Fluss */
.section.bg-light + .section:not(.bg-light)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, var(--light-color), transparent);
    z-index: 1;
}

.section:not(.bg-light) + .section.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, var(--white-color), transparent);
    z-index: 1;
}

/* Zusätzliche Klasse für Card-Animationen */
.card-hover-3d {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Farbverlauf für Call-to-Action-Elemente */
.cta-gradient {
    background: var(--primary-gradient);
    color: var(--white-color);
    border-radius: 12px;
    padding: 4rem;
    box-shadow: 0 15px 30px rgba(202, 11, 94, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
    animation: cta-shine 15s infinite linear;
}

@keyframes cta-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card,
    .service-card,
    .team-card {
        margin-bottom: 2rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ===== DATENSCHUTZ MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-overlay.show {
    display: flex;
}

.modal-container {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-content {
    padding: 30px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.datenschutz-content h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin: 25px 0 15px 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.datenschutz-content h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin: 20px 0 10px 0;
}

.datenschutz-content p {
    color: var(--dark-color);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
    opacity: 0.9;
}

.datenschutz-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        margin: 10px auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 20px;
        max-height: calc(95vh - 70px);
    }
    
    .datenschutz-content h3 {
        font-size: 1.2rem;
    }
    
    .datenschutz-content h4 {
        font-size: 1rem;
    }
} 