:root {
    --primary-bg: #f4f4f4;
    --secondary-bg: #ffffff;
    --text-primary: #121212; /* Extrem hoher Kontrast */
    --text-secondary: #444444;
    --accent: #ff9800;
    --accent-hover: #e68900;
    --border-color: #dddddd;
    --glass-bg: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    /* Feine, helle Sichtbeton-Textur */
    background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* Header & Navbar */
header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

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

.logo-container img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
}

/* Hero Fullscreen Section */
.hero-fullscreen {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 65vh; /* Reduced from 100vh so the image appears smaller/less zoomed */
    text-align: center;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bilder/hero-startseite.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* Subpage Hero Banner */
.subpage-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.8s ease-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    margin-bottom: 3rem;
}

.subpage-hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* Subpage Backgrounds */
.hero-leistungen { background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('bilder/hero-leistungen.jpg'); }
.hero-referenzen { background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('bilder/hero-referenzen.jpg'); }
.hero-ueber-uns { background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('bilder/hero-ueber-uns.jpg'); }
.hero-kontakt { background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('bilder/hero-kontakt.jpg'); }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-fullscreen h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-fullscreen p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    text-align: justify;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--accent);
    color: #121212;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(255, 152, 0, 0.4), 0 4px 6px -2px rgba(255, 152, 0, 0.2);
    color: #121212;
}

.btn-app-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffa726, #f57c00);
    color: #ffffff !important;
    width: 130px;
    height: 130px;
    border-radius: 26px;
    box-shadow: 0 10px 15px -3px rgba(255, 152, 0, 0.3), 0 4px 6px -2px rgba(255, 152, 0, 0.15), inset 0 2px 0 rgba(255,255,255,0.2);
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.btn-app-icon i {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.btn-app-icon:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(255, 152, 0, 0.4), 0 10px 10px -5px rgba(255, 152, 0, 0.2), inset 0 2px 0 rgba(255,255,255,0.3);
}

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

.btn.secondary:hover {
    background-color: rgba(255, 152, 0, 0.1);
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: bold;
}

.instagram-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4);
}

.tiktok-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #111111;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tiktok-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #FF0000;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

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

.intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: justify;
    line-height: 1.8;
}

/* Services */
.service-card {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-details {
    flex: 1;
    min-width: 250px;
}

.service-title {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.service-desc {
    display: block;
    font-weight: normal;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.service-price {
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    font-size: 1rem;
}

.contract-terms {
    background: linear-gradient(145deg, #ffffff, #f4f4f4);
    border: 1px solid var(--accent);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.contract-terms h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Tables (legacy) */
.price-table-container {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    margin-bottom: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(0,0,0,0.02);
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--secondary-bg);
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('bilder/kontakt-bg.jpg');
    background-size: cover;
    background-position: center top;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--accent);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-size: 1.1rem;
}

.contact-info p a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input, textarea {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

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

/* About Section */
.about-content {
    background-color: var(--secondary-bg);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-content h2,
.about-content h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-list {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.about-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-list li i {
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Impressum & Legal */
.impressum-content, .legal-content {
    background-color: var(--secondary-bg);
    padding: 3rem;
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.impressum-content h3, .legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.3rem;
}

.impressum-content h3:first-child, .legal-content h3:first-child {
    margin-top: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent);
    z-index: 9999;
    padding: 2rem;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.cookie-content p {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.cookie-links {
    margin-bottom: 1.5rem;
}

.cookie-links a {
    color: #cccccc;
    text-decoration: underline;
    margin: 0 0.5rem;
}

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

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Gallery & Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent);
    color: #121212;
    border-color: var(--accent);
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1rem 1rem 1rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item.hidden {
    display: none;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-bg);
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-fullscreen h1 {
        font-size: 1.8rem;
    }
    
    .about-content {
        padding: 1.5rem 1rem;
    }
}

/* Reviews Marquee */
.reviews-section {
    padding: 2rem 0 5rem 0;
    overflow: hidden;
    background-color: transparent;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-bg), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-bg), transparent);
}

.marquee-track {
    display: inline-block;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.review-card {
    display: inline-block;
    width: 380px;
    margin: 0 1.5rem;
    padding: 2rem;
    background-color: var(--secondary-bg);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    white-space: normal; /* allow text to wrap inside the card */
    vertical-align: top;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.review-author a {
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-author a:hover {
    color: var(--accent);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

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