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

:root {
    --primary-red: #DC143C;
    --dark-red: #B01030;
    --light-red: #FF6B8A;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #E5E5E5;
    --dark-gray: #333333;
    --shadow: rgba(220, 20, 60, 0.2);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.logo h1 {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

.btn-full {
    width: 100%;
}

/* Floating Shapes Animation */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--light-red);
    bottom: 20%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-red);
    top: 60%;
    left: 70%;
    animation: float 7s ease-in-out infinite;
}

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

/* Fade In Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

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

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--off-white);
}

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

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
    border-color: var(--primary-red);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.services-list {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.services-list h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.services-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-item {
    padding: 1rem;
    background: var(--off-white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-red);
}

.service-item:hover {
    transform: translateX(10px);
    background: var(--light-red);
    color: var(--white);
}

/* Slide In Animations */
.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

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

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

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

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: start;
}

.location-info h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--shadow);
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.info-item h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.location-map {
    background: var(--off-white);
    border-radius: 15px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Appointment Section */
.appointment-section {
    background: var(--off-white);
}

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

.appointment-info h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.appointment-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.appointment-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--shadow);
}

.benefit-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Form Styles */
.appointment-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px var(--shadow);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* Schneiderei Section */
.schneiderei-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 4rem 0;
    text-align: center;
}

.schneiderei-content {
    max-width: 800px;
    margin: 0 auto;
}

.schneiderei-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.schneiderei-text {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.schneiderei-btn {
    background: var(--white);
    color: var(--primary-red);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.schneiderei-btn:hover {
    background: var(--off-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

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

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo-image {
        height: 40px;
    }

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

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

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

    .location-content,
    .appointment-content {
        grid-template-columns: 1fr;
    }

    .schneiderei-title {
        font-size: 1.8rem;
    }

    .schneiderei-text {
        font-size: 1rem;
    }

    .schneiderei-btn {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

    .slide-btn {
        padding: 12px 16px;
        font-size: 20px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .slide-caption {
        font-size: 1rem;
        padding: 15px;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.8rem 1.5rem;
    }

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

    .service-category {
        padding: 1.5rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-header h2 {
        font-size: 1.8rem;
    }

    .slide-btn {
        padding: 10px 12px;
        font-size: 18px;
    }

    .slide-caption {
        font-size: 0.9rem;
        padding: 10px;
    }

    .dot {
        height: 8px;
        width: 8px;
    }

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

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

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.services-hero .hero-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-hero .hero-subtitle {
    color: var(--white);
    font-size: 1.3rem;
    opacity: 0.95;
}

.services-main {
    background: var(--off-white);
}

.service-category {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-red);
}

.service-icon {
    font-size: 3.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.service-header h2 {
    color: var(--primary-red);
    font-size: 2.2rem;
    margin: 0;
}

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

.service-item-detailed {
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-item-detailed:hover {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.service-item-detailed h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-item-detailed p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-features li:hover {
    padding-left: 2.5rem;
    color: var(--primary-red);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--off-white);
    transform: translateY(-3px);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Showcase/Gallery Section - Slideshow */
.showcase-section {
    background: var(--white);
}

.showcase-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    margin-top: -2rem;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Kompakteres Seitenverhältnis */
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation-duration: 1s;
}

.slide.active {
    display: block;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Fade Animation */
.fade-slide {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(220, 20, 60, 0.8);
    color: white;
    border: none;
    padding: 16px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-btn:hover {
    background: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Dots/Indicators */
.slide-dots {
    text-align: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.5);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background-color: var(--primary-red);
    transform: scale(1.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    padding: 1rem 1.5rem;
    background: rgba(220, 20, 60, 0.7);
    border-radius: 5px;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 10px;
}

/* Impressum Page */
.impressum-section {
    background: var(--off-white);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.page-title {
    color: var(--primary-red);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.impressum-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--off-white);
}

.impressum-block:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.impressum-block h2 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.impressum-block p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.impressum-block p:last-child {
    margin-bottom: 0;
}

.impressum-block a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-block a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.impressum-source {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--off-white);
}

.impressum-source a {
    color: var(--primary-red);
    text-decoration: none;
}

.impressum-source a:hover {
    text-decoration: underline;
}

/* Responsive Impressum */
@media (max-width: 768px) {
    .impressum-content {
        padding: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .impressum-block h2 {
        font-size: 1.3rem;
    }
}

/* Datenschutz Page */
.datenschutz-section {
    background: var(--off-white);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.datenschutz-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.datenschutz-block {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--off-white);
}

.datenschutz-block:last-of-type {
    border-bottom: none;
}

.datenschutz-block h2 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.datenschutz-block h3 {
    color: var(--dark-red);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.datenschutz-block h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.datenschutz-block p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.datenschutz-block ul {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.datenschutz-block a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.datenschutz-block a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.legal-text {
    font-size: 0.9rem;
    background: var(--off-white);
    padding: 1rem;
    border-left: 3px solid var(--primary-red);
    margin: 1rem 0;
}

.datenschutz-source {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--off-white);
}

.datenschutz-source a {
    color: var(--primary-red);
    text-decoration: none;
}

.datenschutz-source a:hover {
    text-decoration: underline;
}

/* Responsive Datenschutz */
@media (max-width: 768px) {
    .datenschutz-content {
        padding: 2rem;
    }
    
    .datenschutz-block h2 {
        font-size: 1.5rem;
    }
    
    .datenschutz-block h3 {
        font-size: 1.2rem;
    }
    
    .datenschutz-block h4 {
        font-size: 1.1rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideUp 0.5s ease;
}

.cookie-consent.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-text h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

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

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary-red);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.cookie-btn-necessary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-btn-necessary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--white);
    text-decoration: underline;
}

.cookie-btn-settings:hover {
    color: var(--primary-red);
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

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

.cookie-modal-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: scaleIn 0.3s ease;
}

.cookie-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-modal-close:hover {
    color: var(--primary-red);
}

.cookie-modal-content h2 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.cookie-category {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--off-white);
    border-radius: 10px;
}

.cookie-category-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-category h3 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-category p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

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

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

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

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

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

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cookie-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--off-white);
}

.cookie-links a {
    color: var(--primary-red);
    text-decoration: none;
    margin: 0 0.5rem;
}

.cookie-links a:hover {
    text-decoration: underline;
}

/* Map Placeholder */
.map-placeholder {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--off-white);
}

.map-placeholder .map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Cookie Settings Page */
.cookie-settings-section {
    background: var(--off-white);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.cookie-settings-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.settings-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--off-white);
}

.settings-intro p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.settings-category {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.settings-category:hover {
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.1);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.settings-info h2 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.settings-info p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

.settings-details {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.settings-details h3 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.settings-details ul {
    list-style: none;
    padding: 0;
}

.settings-details li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    line-height: 1.6;
}

.settings-details a {
    color: var(--primary-red);
    text-decoration: none;
}

.settings-details a:hover {
    text-decoration: underline;
}

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

.settings-info-box {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
    margin: 2rem 0;
}

.settings-info-box h3 {
    color: #1976d2;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.settings-info-box p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.settings-info-box a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
}

.settings-info-box a:hover {
    text-decoration: underline;
}

.settings-current {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.settings-current h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.current-settings-display {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.current-settings-display p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.current-settings-display p:last-child {
    margin-bottom: 0;
}

/* Cookie Settings Icon in Footer */
.cookie-settings-icon {
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 1rem;
    vertical-align: middle;
}

/* Responsive Cookie Settings */
@media (max-width: 768px) {
    .cookie-settings-content {
        padding: 2rem;
    }
    
    .settings-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .settings-actions {
        flex-direction: column;
    }
    
    .settings-actions .btn {
        width: 100%;
    }
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-modal-content {
        padding: 2rem 1.5rem;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-weight: 500;
    animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    animation: bounce 1s ease-in-out infinite;
}

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

/* Scroll Animation Trigger */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
