/* ========================================
   Multi Bau Ost GmbH - Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    --primary: #CC0000;
    --primary-dark: #A30000;
    --primary-light: #FF1A1A;
    --black: #1A1A1A;
    --dark: #2D2D2D;
    --gray: #555555;
    --gray-light: #999999;
    --bg-light: #F5F5F5;
    --bg-dark: #111111;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 12px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--white);
}

.section-light {
    background: var(--bg-light);
}

/* ---- Typography ---- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--dark);
    position: relative;
    padding-bottom: 20px;
}

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

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 600px;
    margin: -40px auto 60px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(204, 0, 0, 0.3);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .logo img {
    height: 45px;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-btn {
    padding: 10px 28px !important;
    font-size: 0.9rem !important;
}

.nav-btn::after {
    display: none !important;
}

.nav-btn:hover,
.nav-btn.active {
    color: var(--white) !important;
}

/* ---- Dropdown ---- */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.has-dropdown > a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    padding: 10px 25px;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}

.dropdown a:hover {
    background: rgba(204, 0, 0, 0.1);
    color: var(--primary);
}

.dropdown a::after {
    display: none;
}

/* ---- Hamburger ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotateZ(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotateZ(-45deg) translate(5px, -6px);
}

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    color: var(--white);
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.slider-nav button {
    pointer-events: all;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.slider-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

/* ---- Service Cards ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card-image {
    height: 250px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

.service-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-card-content a:hover {
    gap: 10px;
}

.service-card-content a::after {
    content: '→';
}

/* ---- About Teaser ---- */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-teaser-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--primary);
}

.about-teaser-image img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}

.about-teaser-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-teaser-content .highlight {
    color: var(--primary);
}

.about-teaser-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-teaser-content .btn {
    margin-top: 10px;
}

/* ---- Stats Section ---- */
.stats-section {
    background: var(--bg-dark);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- CTA Section ---- */
.cta-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.9), rgba(26, 26, 26, 0.9));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Page Hero ---- */
.page-hero {
    position: relative;
    height: 400px;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(204, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 15px;
}

/* ---- Cards & Grids ---- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ---- Blog Cards ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-content {
    padding: 25px;
}

.blog-card-date {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-content h3 {
    color: var(--primary);
}

.blog-card-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.blog-card-link:hover {
    gap: 10px;
}

/* ---- Blog Detail ---- */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.blog-detail-header img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.blog-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.blog-detail-content {
    line-height: 1.9;
    color: var(--dark);
}

.blog-detail-content p {
    margin-bottom: 20px;
}

.blog-detail-content h2 {
    font-family: 'Montserrat', sans-serif;
    margin: 40px 0 20px;
    color: var(--dark);
}

.related-posts {
    padding: 80px 0;
    background: var(--bg-light);
}

/* ---- Contact Form ---- */
.contact-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-light);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    background: var(--white);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    accent-color: var(--primary);
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-info-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-card p a {
    color: var(--primary);
    transition: var(--transition);
}

.contact-info-card p a:hover {
    color: var(--primary-dark);
}

/* Contact page: Office card accent */
.contact-info-card--office {
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 231,76,60), 0.04), var(--white));
}

/* Contact page: Persons grid */
.contact-persons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-info-card--person {
    padding: 22px 26px;
}

/* Contact role label */
.contact-role {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: -2px;
    margin-bottom: 10px;
}

/* Inline icons in contact details */
.contact-info-card p i.fa-sm {
    width: 18px;
    text-align: center;
    color: var(--primary);
    margin-right: 6px;
    font-size: 0.8rem;
}

/* ---- Values Grid ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.value-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- Subsidiaries ---- */
.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.subsidiary-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.subsidiary-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.subsidiary-card .sub-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.subsidiary-card h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.subsidiary-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.about-content img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-dark .about-content h2 {
    color: var(--white);
}

.about-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.section-dark .about-content p {
    color: rgba(255,255,255,0.8);
}

/* ---- Legal Pages ---- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.legal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 40px 0 15px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.legal-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin: 25px 0 10px;
    color: var(--dark);
}

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

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--gray);
    list-style: disc;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ---- Service Detail Page ---- */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.service-detail-badge i {
    font-size: 0.9rem;
}

.service-detail-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-detail-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.service-detail-description {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.9;
}

.service-detail-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--primary);
}

.service-detail-image img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    transition: transform 0.6s ease;
}

.service-detail-image:hover img {
    transform: scale(1.03);
}

/* Service Checklist */
.service-checklist {
    list-style: none;
    margin-top: 25px;
    padding: 0;
}

.service-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-checklist li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Service Gallery */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(204, 0, 0, 0.85);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ---- Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-column h3 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-column p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.logo-footer img {
    height: 50px;
    margin-bottom: 15px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact-item .icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Map Placeholder ---- */
.map-placeholder {
    height: 400px;
    border-radius: var(--radius);
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 600;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

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

/* ========================================
   RESPONSIVE - Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    /* Layout */
    .contact-persons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Header / Navigation */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-links.nav-open {
        right: 0;
    }

    .has-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .has-dropdown > a {
        justify-content: center;
        width: 100%;
    }

    .has-dropdown.open > a i {
        transform: rotate(180deg);
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
        min-width: auto;
        width: 100%;
        text-align: center;
    }

    .has-dropdown.open .dropdown {
        max-height: 300px;
        padding: 10px 0;
    }

    .has-dropdown .dropdown a {
        padding: 10px 0;
        font-size: 0.9rem;
        color: var(--gray-light);
        text-align: center;
        display: block;
        text-transform: none;
        letter-spacing: 0;
    }

    .has-dropdown .dropdown a:hover {
        color: var(--primary);
        background: transparent;
    }

    /* Grids - 2 Spalten auf Tablet */
    .services-grid,
    .blog-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .subsidiaries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Slider */
    .slide-content h1 {
        font-size: 2.8rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    /* Sections */
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .section-subtitle {
        margin: -30px auto 50px;
    }

    /* Service Detail */
    .service-detail-grid {
        gap: 40px;
    }

    .service-detail-content h2 {
        font-size: 2.2rem;
    }

    /* About */
    .about-teaser {
        gap: 40px;
    }

    .about-content {
        gap: 40px;
    }

    /* CTA */
    .cta-section {
        padding: 80px 0;
    }

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

/* ========================================
   RESPONSIVE - Tablet Portrait / Small Tablet (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    /* Layout */
    .contact-persons-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        padding-bottom: 15px;
    }

    .section-subtitle {
        margin: -25px auto 40px;
        font-size: 1rem;
    }

    /* Header */
    .site-header {
        padding: 15px 0;
    }

    .logo img {
        height: 50px;
    }

    .site-header.scrolled .logo img {
        height: 40px;
    }

    .site-header.scrolled {
        padding: 8px 0;
    }

    /* Grids - 1 Spalte auf Smartphone */
    .services-grid,
    .blog-grid,
    .values-grid,
    .subsidiaries-grid,
    .about-content,
    .about-teaser,
    .service-detail-grid,
    .contact-section,
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Service Detail */
    .service-detail-content h2 {
        font-size: 1.8rem;
    }

    .service-detail-tagline {
        font-size: 1rem;
    }

    .service-detail-image {
        box-shadow: 12px 12px 0 var(--primary);
    }

    /* Service Gallery */
    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    .service-checklist li {
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Hero Slider */
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }

    .slide img {
        height: 70vh;
        min-height: 400px;
    }

    .slide-content {
        padding: 0 25px;
    }

    .slide-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .slide-content p {
        font-size: 0.95rem;
        max-width: 90%;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .slide-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .slider-nav .prev-btn,
    .slider-nav .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Page Hero */
    .page-hero {
        height: 300px;
        padding-top: 70px;
    }

    .page-hero-overlay {
        padding-top: 70px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .page-hero-content p {
        font-size: 0.95rem;
    }

    /* Service Cards */
    .service-card {
        max-width: 500px;
        margin: 0 auto;
    }

    /* About Teaser */
    .about-teaser {
        gap: 30px;
        text-align: center;
    }

    .about-teaser-content {
        text-align: left;
    }

    .about-teaser-image img {
        border-radius: var(--radius);
    }

    /* About Content */
    .about-content {
        gap: 30px;
    }

    .about-content img {
        border-radius: var(--radius);
        width: 100%;
    }

    /* Stats */
    .stats-section {
        padding: 50px 0;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Values */
    .value-card {
        padding: 30px 20px;
    }

    /* Subsidiary Cards */
    .subsidiary-card {
        max-width: 500px;
        margin: 0 auto;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content {
        padding: 0 20px;
    }

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

    .cta-content p {
        font-size: 0.95rem;
    }

    /* Blog Cards */
    .blog-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .blog-card-content {
        padding: 20px;
    }

    /* Blog Detail */
    .blog-detail-meta {
        flex-direction: column;
        gap: 8px;
    }

    .blog-detail-content {
        font-size: 1rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-info-card {
        padding: 20px 15px;
    }

    /* Footer */
    .footer-content {
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* ========================================
   RESPONSIVE - Smartphone (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    /* Layout */
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .section-subtitle {
        margin: -15px auto 30px;
        font-size: 0.9rem;
    }

    /* Header */
    .site-header {
        padding: 12px 0;
    }

    .logo img {
        height: 42px;
    }

    .site-header.scrolled .logo img {
        height: 35px;
    }

    .nav-links {
        width: 100%;
    }

    /* Hero Slider */
    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }

    .slide img {
        height: 60vh;
        min-height: 350px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .slide-content p {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide-buttons .btn {
        padding: 10px 24px;
        font-size: 0.8rem;
    }

    .slider-dots {
        bottom: 15px;
    }

    /* Page Hero */
    .page-hero {
        height: 250px;
        padding-top: 60px;
    }

    .page-hero-overlay {
        padding-top: 60px;
    }

    .page-hero-content h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .page-hero-content p {
        font-size: 0.85rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* CTA */
    .cta-section {
        padding: 50px 0;
    }

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

    .cta-content p {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-form {
        padding: 20px 15px;
    }

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

    /* Blog */
    .blog-card-content h3 {
        font-size: 1.1rem;
    }

    /* Values */
    .value-card .icon {
        font-size: 1.8rem;
    }

    .value-card h3 {
        font-size: 1.1rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    /* Subsidiary */
    .subsidiary-card .sub-icon {
        font-size: 2rem;
    }

    /* Footer */
    .footer-column h3 {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .slide-buttons {
        gap: 10px;
    }

    /* Service Gallery & Checklist */
    .service-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .service-checklist li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .service-detail-content h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   RESPONSIVE - Very Small Phones (max-width: 360px)
   ======================================== */
@media (max-width: 360px) {
    .slide-content h1 {
        font-size: 1.3rem;
    }

    .page-hero-content h1 {
        font-size: 1.4rem;
    }

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

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

    .stat-number {
        font-size: 1.5rem;
    }

    .logo img {
        height: 36px;
    }
}

/* ========================================
   Language Switcher
   ======================================== */
.lang-switcher {
    position: fixed;
    top: 120px;
    right: 0;
    z-index: 1050;
    display: flex;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lang-switcher.open {
    transform: translateX(0);
}

.lang-switcher-tab {
    position: absolute;
    left: -54px;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    border-radius: 12px 0 0 12px;
    width: 54px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.lang-switcher-tab:hover {
    background: var(--white);
    color: var(--primary-dark);
    width: 60px;
    left: -60px;
}

.lang-switcher-dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    border-radius: 0 0 0 12px;
    width: 200px;
    box-shadow: -5px 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.lang-switcher.open .lang-switcher-tab {
    border-radius: 12px 0 0 0;
}

.lang-option {
    padding: 12px 20px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(204, 0, 0, 0.05);
    color: var(--primary);
    padding-left: 25px;
}

.lang-option.active {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.lang-option.active:hover {
    padding-left: 20px;
    background: var(--primary-dark);
}


