/* Container & Layout */
.angie-firma-single-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

/* Breadcrumbs & Header */
.angie-firma-header-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.angie-firma-logo-container {
    width: 250px;
    height: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 40px;
    overflow: hidden;
}

.angie-firma-logo-container img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.angie-firma-title-area {
    flex-grow: 1;
}

.angie-firma-title-area h1 {
    font-size: 32px;
    color: #0b3c68; /* FirmenA-Z Blau */
    margin: 0 0 10px 0;
    font-weight: 700;
}

.angie-firma-slogan {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.angie-firma-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.angie-firma-meta i {
    color: #0b3c68;
    margin-right: 5px;
}

.angie-firma-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.angie-firma-stars {
    color: #f39c12; /* Orange Sterne */
}

.angie-firma-verified {
    background: #f0f7ff;
    color: #0b3c68;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.angie-firma-verified i {
    color: #3498db;
}

/* Gallery */
.angie-firma-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px; /* Zurückgesetzt, damit es nicht überlappt */
    height: 350px;
    position: relative;
    z-index: 1;
}

.angie-firma-gallery img, .angie-firma-gallery .gallery-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Action Buttons */
.angie-firma-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    clear: both;
    position: relative;
    z-index: 2;
    padding: 0; /* Entfernt */
}

.angie-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.angie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #fff;
}

.angie-btn i {
    font-size: 28px;
    margin-right: 15px;
}

.angie-btn .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.angie-btn .btn-text span:first-child {
    font-size: 20px;
    font-weight: 700;
}

.angie-btn .btn-text span:last-child {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
}

.angie-btn-call { background: #0b3c68; } /* FirmenA-Z Blau */
.angie-btn-whatsapp { background: #25D366; }
.angie-btn-website { background: #f39c12; } /* FirmenA-Z Orange */

/* Content Area Layout */
.angie-firma-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Tabs */
.angie-firma-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.angie-tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.angie-tab-btn i {
    font-size: 18px;
    color: #0b3c68; /* Icons in Tab-Buttons blau */
}

.angie-tab-btn.active {
    color: #f39c12; /* FirmenA-Z Orange */
}

.angie-tab-btn.active i {
    color: #f39c12;
}

.angie-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f39c12;
    border-radius: 3px 3px 0 0;
}

.angie-tab-content {
    display: none;
}

.angie-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Feature Boxes (Leistungen/Eigenschaften) */
.angie-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.angie-feature-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
}

.angie-feature-box i {
    font-size: 36px;
    color: #0b3c68; /* FirmenA-Z Blau */
    margin-bottom: 15px;
}
.angie-feature-box .orange-icon { color: #f39c12; }

.angie-feature-box h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.angie-feature-box p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Sidebar Contact Form */
.angie-firma-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.angie-firma-sidebar h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    color: #0b3c68;
    font-size: 20px;
}

.angie-firma-sidebar h3 i {
    color: #f39c12;
}

.angie-contact-form input,
.angie-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    box-sizing: border-box;
}

.angie-contact-form textarea {
    height: 120px;
    resize: vertical;
}

.angie-contact-form button {
    width: 100%;
    background: #f39c12;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.angie-contact-form button:hover {
    background: #d68910;
}

/* Promise Box */
.angie-promise-box {
    background: #f0f7ff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.angie-promise-box i {
    font-size: 30px;
    color: #0b3c68;
    margin-bottom: 15px;
}

.angie-promise-box h4 {
    margin: 0 0 10px 0;
    color: #0b3c68;
    font-size: 18px;
}

.angie-promise-box p {
    margin: 0;
    color: #555;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .angie-firma-header-area {
        flex-direction: column;
    }
    .angie-firma-logo-container {
        margin: 0 auto 30px auto;
    }
    .angie-firma-title-area {
        text-align: center;
    }
    .angie-firma-meta {
        justify-content: center;
    }
    .angie-firma-content-layout {
        grid-template-columns: 1fr;
    }
    .angie-firma-gallery {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    .angie-firma-gallery img:first-child, .angie-firma-gallery .gallery-placeholder:first-child {
        grid-column: span 2;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .angie-firma-actions {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    .angie-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    .angie-firma-tabs {
        flex-wrap: wrap;
    }
    .angie-tab-btn {
        width: 50%;
        justify-content: center;
    }
}