/*
Theme Name: Zimmerei Renz Theme
Theme URI: https://zimmerei-renz-gomaringen.de
Author: Zimmerei Renz
Author URI: https://zimmerei-renz-gomaringen.de
Description: Ein maßgeschneidertes, dunkles Theme für Zimmerei Renz.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, custom-background, fast
*/

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin/inter-v20-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin/inter-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin/inter-v20-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    src: url('fonts/merriweather-v33-latin/merriweather-v33-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    src: url('fonts/merriweather-v33-latin/merriweather-v33-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    src: url('fonts/merriweather-v33-latin/merriweather-v33-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    src: url('fonts/merriweather-v33-latin/merriweather-v33-latin-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #8B5A2B;
    --primary-dark: #654321;
    --primary-hover: #7A4F25;
    --secondary-color: #1e1e1e;
    /* Darker secondary background */
    --background-color: #121212;
    /* Main background dark */
    --text-color: #e0e0e0;
    /* Off-white text */
    --light-text: #fff;
    --button-text: #fff;
    --text-muted: #999;
    --accent-color: #4CAF50;
    --card-bg: #1e1e1e;
    /* Dark card background */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

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

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

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--background-color);
}

/* Header */
.site-header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--light-text);
}

.logo-icon {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 60px;
    /* Header height */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

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

.hero-content {
    margin-top: 45vh;
    /* Push content down to reveal background image */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    color: #ddd;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    text-align: center;
}

.value-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    background-color: #252525;
}



.value-card h3 {
    color: var(--light-text);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--light-text);
}

.separator {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: var(--transition);
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.service-image {
    height: 200px;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #444;
    background-size: cover;
    background-position: center;
}

.service-image i {
    color: var(--primary-color);
    opacity: 0.8;
}

.service-content {
    padding: 25px;
    flex-grow: 1;
}

.service-content h3 {
    color: var(--light-text);
    margin-bottom: 15px;
}

.service-content p {
    color: #ccc;
}


/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #ccc;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: var(--light-text);
}

.contact-info p {
    color: #ccc;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
}

.info-item h4 {
    color: var(--light-text);
    margin-bottom: 5px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--light-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    font-family: inherit;
    background-color: #2a2a2a;
    color: #fff;
}

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

/* Footer */
.site-footer {
    background-color: #0a0a0a;
    color: #bbb;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

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

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.5rem;
    color: #bbb;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        background-color: #1a1a1a;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
        display: none;
        border-bottom: 1px solid #333;
    }

    .main-nav ul.active {
        display: flex;
    }

    .main-nav a {
        color: var(--light-text);
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .hero-bottom-text {
        font-size: 1.8rem !important;
        /* Force override for mobile */
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .services-section,
    .values-section,
    .about-section,
    .contact-section {
        padding: 50px 0;
    }
}

/* Mobile specific fixes */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .value-card,
    .service-card {
        margin-bottom: 20px;
    }
}

.hero-bottom-text {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Merriweather', serif;
    margin-top: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    color: #fff;
}

/* Team Section Styles */
.team-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.team-member {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 250px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.member-info {
    padding: 15px;
    text-align: center;
}

.member-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.member-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .team-grid {
        justify-content: center;
    }
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background-color: var(--background-color);
    text-align: center;
}

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

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Logo Image */
.site-logo {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .site-logo {
        height: 50px;
    }
}

/* Hero Subtext */
@media (max-width: 768px) {
    .hero-buttons .btn {
        width: 100%;
        /* Full width on mobile */
    }
}

/* Wider Hero Buttons */
.hero-buttons .btn {
    min-width: 250px;
    /* Increased from default */
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-top: 2px solid var(--primary-color);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    flex: 1;
}

.cookie-content a {
    color: var(--primary-color);
}

.cookie-content .btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Lightbox Styles */
.lightbox-trigger {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    border-top-left-radius: 5px;
}

.lightbox-trigger:hover {
    background: var(--primary-color);
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
}

.lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: 'Merriweather', serif;
}

/* Contact Form 7 Styling */
.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    background-color: #333;
    color: var(--text-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.wpcf7-form input[type="submit"] {
    background-color: var(--primary-color);
    color: var(--button-text);
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--primary-hover);
}

.wpcf7-spinner {
    margin-left: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    padding: 10px 15px;
    transition: background 0.3s;
}

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

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;
    /* Moved up to avoid Cookie Badge */
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 2px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 90px;
        /* Moved up for mobile */
        right: 20px;
        font-size: 25px;
    }
}

/* Legal Pages (Datenschutz, Impressum) */
.legal-page-header {
    background-color: var(--primary-color);
    padding: 120px 0 40px;
    text-align: center;
}

.legal-page-header h1 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 0;
}

.legal-page {
    padding: 60px 0 80px;
    min-height: 60vh;
    background-color: var(--background-color);
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2a2a2a;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-section p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

.legal-section ul li {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 5px;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.legal-address {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    font-style: normal;
    line-height: 1.8;
    color: var(--text-color);
    margin: 15px 0;
}

.legal-address a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background-color: var(--card-bg);
    border-radius: 6px;
    overflow: hidden;
}

.legal-table th,
.legal-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: var(--text-color);
}

.legal-table th {
    background-color: #252525;
    color: var(--light-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-table td code {
    background-color: #333;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

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

@media (max-width: 768px) {
    .legal-page-header {
        padding: 100px 0 30px;
    }

    .legal-page-header h1 {
        font-size: 1.8rem;
    }

    .legal-page {
        padding: 40px 0 60px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-table {
        font-size: 0.85rem;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
}

/* ===== Service Subpages ===== */

/* Service Hero */
.service-page-hero {
    position: relative;
    padding: 140px 0 60px;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero-content h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: #999;
    margin: 0 8px;
}

.breadcrumb-current {
    color: #ccc;
}

/* Service Page Main */
.service-page {
    padding: 60px 0 80px;
    background-color: var(--background-color);
}

/* Intro */
.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.service-intro-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
}

.service-intro-text strong {
    color: var(--light-text);
}

/* Content + Features */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

.service-detail-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-detail-content strong {
    color: var(--light-text);
}

.service-detail-features {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
}

.service-detail-features h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.service-detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.service-detail-features li i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Gallery */
.service-gallery-section {
    margin-bottom: 60px;
    text-align: center;
}

.service-gallery-section h2 {
    color: var(--light-text);
}

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

.service-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

/* CTA */
.service-cta {
    text-align: center;
    background: var(--card-bg);
    padding: 50px 30px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    margin-bottom: 60px;
}

.service-cta h2 {
    color: var(--light-text);
    margin-bottom: 10px;
}

.service-cta p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.service-cta-buttons .btn i {
    margin-right: 8px;
}

/* Related Services */
.related-services {
    text-align: center;
}

.related-services h2 {
    color: var(--light-text);
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.related-service-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: var(--transition);
    text-decoration: none;
}

.related-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.related-service-image {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: #2a2a2a;
}

.related-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.related-service-info {
    padding: 12px;
}

.related-service-info h4 {
    color: var(--light-text);
    font-size: 0.95rem;
    margin: 0;
}

/* Service card link on front page */
.service-card-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.service-card-link i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.service-card-link:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .service-page-hero {
        padding: 110px 0 40px;
        min-height: 250px;
    }

    .service-hero-content h1 {
        font-size: 1.8rem;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .service-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .service-gallery-grid {
        grid-template-columns: 1fr;
    }

    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-buttons {
        flex-direction: column;
    }

    .service-cta-buttons .btn {
        width: 100%;
    }
}

/* ===== DSGVO All in One Plugin (tarteaucitron) – Dark Theme Override ===== */

/* Main cookie banner */
#tarteaucitronAlertBig {
    background-color: #1e1e1e !important;
    border-top: 2px solid var(--primary-color, #c8a25c) !important;
    font-family: inherit !important;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5) !important;
}

#dsgvoAlertBiginner {
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 30px !important;
}

/* Banner text area */
.dsgvopopupagbs {
    color: #b0b0b0 !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    max-height: 250px !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 15px !important;
    background: #151515 !important;
}

.dsgvopopupagbs h1,
.dsgvopopupagbs h2,
.dsgvopopupagbs h3 {
    color: #e0e0e0 !important;
    font-size: 1.2rem !important;
}

/* Checkbox area */
#dsgvoaio-checkbox-wrapper {
    margin: 15px 0 !important;
}

.dsgvoaio-checkbox {
    color: #e0e0e0 !important;
    font-weight: 600 !important;
}

.dsgvoaio-checkbox-indicator {
    background-color: var(--primary-color, #c8a25c) !important;
    border-color: var(--primary-color, #c8a25c) !important;
    border-radius: 4px !important;
}

/* Buttons container */
.dsgvonoticebtns {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

/* "Alle akzeptieren" button */
#tarteaucitronPersonalize {
    background-color: var(--primary-color, #c8a25c) !important;
    color: #1a1a1a !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 14px 25px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-align: center !important;
}

#tarteaucitronPersonalize:hover {
    background-color: var(--primary-hover, #b08d4a) !important;
}

/* "Auswahl speichern" button */
#tarteaucitronCloseAlert {
    background-color: transparent !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
    border-radius: 6px !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: border-color 0.3s ease !important;
}

#tarteaucitronCloseAlert:hover {
    border-color: var(--primary-color, #c8a25c) !important;
    color: #fff !important;
}

/* "Personalisieren" link */
#tarteaucitronCustomize {
    color: var(--primary-color, #c8a25c) !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    cursor: pointer !important;
}

#tarteaucitronCustomize:hover {
    text-decoration: underline !important;
}

/* Footer links (Impressum | Datenschutz) */
#dsgvonotice_footer {
    color: #777 !important;
    font-size: 0.85rem !important;
    margin-top: 10px !important;
    text-align: center !important;
}

#dsgvonotice_footer a {
    color: #999 !important;
}

#dsgvonotice_footer a:hover {
    color: var(--primary-color, #c8a25c) !important;
}

/* Settings / Personalize panel */
#tarteaucitron {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
}

#tarteaucitron #tarteaucitronClosePanel {
    background-color: var(--primary-color, #c8a25c) !important;
    color: #1a1a1a !important;
}

#tarteaucitron .tarteaucitronLine {
    background-color: #222 !important;
    border-color: #333 !important;
}

#tarteaucitron .tarteaucitronName {
    color: #e0e0e0 !important;
}

/* Allow/Deny buttons in settings */
#tarteaucitronAllAllowed,
#tarteaucitron .tarteaucitronAllow {
    background-color: var(--primary-color, #c8a25c) !important;
    color: #1a1a1a !important;
    border-radius: 4px !important;
}

#tarteaucitronAllDenied,
#tarteaucitron .tarteaucitronDeny {
    background-color: #555 !important;
    color: #e0e0e0 !important;
    border-radius: 4px !important;
}

/* Floating gear/cookie button */
#tarteaucitronManager {
    background-color: #1e1e1e !important;
    border: 1px solid #333 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    transition: border-color 0.3s ease !important;
}

#tarteaucitronManager:hover {
    border-color: var(--primary-color, #c8a25c) !important;
}

#tarteaucitronCookieImg {
    filter: brightness(0.7) sepia(1) hue-rotate(5deg) saturate(3) !important;
}
