/* Allgemeine Stilregeln */
:root {
    --primary-color: #c00;
    --secondary-color: #222;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Page Header & Hero Section */
.page-header {
    height: 300px;
    overflow: hidden;
}

.page-header-image img, 
.hero-image img {
    height: 100%;
    object-fit: cover;
}

.page-header-overlay,
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.page-header-content {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-content {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

/* Service Cards */
.service-card {
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.service-title {
    position: relative;
    padding-bottom: 10px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Advantage Cards */
.advantage-card {
    background-color: var(--light-gray);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

/* Forms */
.form-control {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

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

.btn-danger:hover, 
.btn-danger:focus {
    background-color: #a00;
    border-color: #a00;
}

.btn-outline-danger {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Footer */
footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .video-header {
        height: 80vh;
    }
    
    .page-header {
        height: 200px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .video-header {
        height: 60vh;
    }
}
.text-wrapper-rounded {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
  }
  /* .gallery-img {
    opacity: 0.35;
    transition: opacity 0.2s ease-in-out;
  } */
  
  .gallery-img:hover {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .flip-card {
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 200px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flip-card-front {
    background-color: #f8f9fa;
    font-weight: 700;
    font-size: 1.2rem;
  }
  
  .flip-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    font-size: 0.95rem;
  }
  .hover-zoom img:hover {
    transform: scale(1.1);
    transition: transform 0.5s ease-in-out;
}
.video-header {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}
.text-brand span:first-child {
    color: #dc3545;
}
.video-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}
#cookie-modal, #cookie-overlay {
    display: none;
  }

  .hidden-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .visible-section {
    opacity: 1;
    transform: translateY(0);
  }