/*
 * Theme Name:  Maler Pro #01
 * Theme URI:   https://bytebizz.com/themes/malerpro01
 * Description: Professionelles WordPress-Theme für Malerbetriebe. Vollständig über den Customizer und ACF konfigurierbar. Branchenoptimiertes Design mit modernem, hellem Erscheinungsbild.
 * Version:     1.3.7
 * Author:      Bytebizz Internetagentur
 * Author URI:  https://bytebizz.com
 * Text Domain: malerpro01
 * Domain Path: /languages
 * License:     Proprietär
 * License URI: https://bytebizz.com/lizenzen
 *
 * © 2025 Bytebizz Internetagentur – Alle Rechte vorbehalten.
 * Weitergabe und Weiterverkauf ohne ausdrückliche schriftliche Genehmigung ist untersagt.
 */

/* ═══════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES – dynamisch via Customizer befüllt
═══════════════════════════════════════════════════════════ */
:root {
    /* Farben */
    --mp-color-accent:      #F07C38;
    --mp-color-primary:     #2A2A2A;
    --mp-color-bg-light:    #FDF8F0;
    --mp-color-bg-gray:     #F5F0E8;
    --mp-color-text:        #5A5A5A;
    --mp-color-border:      rgba(0, 0, 0, 0.08);

    /* Buttons */
    --mp-btn-bg:            #F07C38;
    --mp-btn-color:         #ffffff;
    --mp-btn-hover-bg:      #d96820;

    /* Rundungen */
    --mp-radius-btn:        14px;
    --mp-radius-img:        18px;
    --mp-radius-card:       18px;

    /* Schriften (Fallbacks, werden per PHP überschrieben) */
    --mp-font-heading:      'Nunito', sans-serif;
    --mp-font-body:         'Nunito', sans-serif;

    /* Scroll-Top */
    --mp-scrolltop-bg:      #F07C38;
    --mp-scrolltop-color:   #ffffff;
    --mp-scrolltop-hover:   #d96820;
    --mp-scrolltop-radius:  12px;

    /* Abstände */
    --mp-section-gap:       80px;
    --mp-container-max:     1200px;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--mp-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mp-color-text);
    background-color: var(--mp-color-bg-light);
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAFIE
═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--mp-font-heading);
    color: var(--mp-color-primary);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.875rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.625rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--mp-color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--mp-btn-hover-bg); }

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--mp-radius-img);
}

ul, ol { padding-left: 1.5rem; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT UTILS
═══════════════════════════════════════════════════════════ */
.mp-container {
    max-width: var(--mp-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 6%;
    padding-right: 6%;
}

.mp-section {
    padding-top: var(--mp-section-gap);
    padding-bottom: var(--mp-section-gap);
}

.mp-section--light  { background-color: var(--mp-color-bg-light); }
.mp-section--gray   { background-color: var(--mp-color-bg-gray); }
.mp-section--white  { background-color: #ffffff; }
.mp-section--dark   {
    background-color: var(--mp-color-primary);
    color: #ffffff;
}
.mp-section--dark h1,
.mp-section--dark h2,
.mp-section--dark h3,
.mp-section--dark h4 { color: #ffffff; }

/* Grid helpers */
.mp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.mp-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ═══════════════════════════════════════════════════════════
   SECTION LABEL
═══════════════════════════════════════════════════════════ */
.mp-label {
    display: inline-block;
    background: rgba(240, 124, 56, 0.12);
    color: var(--mp-color-accent);
    border-radius: 100px;
    padding: 5px 18px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.mp-label--teal {
    background: rgba(58, 140, 140, 0.12);
    color: #3A8C8C;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.mp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mp-btn-bg);
    color: var(--mp-btn-color);
    border: none;
    border-radius: var(--mp-radius-btn);
    padding: 14px 28px;
    font-family: var(--mp-font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(240, 124, 56, 0.35);
}
.mp-btn:hover {
    background: var(--mp-btn-hover-bg);
    color: var(--mp-btn-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 124, 56, 0.45);
}

.mp-btn--outline {
    background: transparent;
    color: var(--mp-color-primary);
    border: 2px solid var(--mp-color-border);
    box-shadow: none;
}
.mp-btn--outline:hover {
    border-color: var(--mp-color-accent);
    color: var(--mp-color-accent);
    background: transparent;
    box-shadow: none;
}

.mp-btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.mp-btn--lg { padding: 18px 36px; font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.mp-card {
    background: #ffffff;
    border-radius: var(--mp-radius-card);
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ═══════════════════════════════════════════════════════════
   HEADER  –  1:1 Prototyp
═══════════════════════════════════════════════════════════ */
.mp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240, 124, 56, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    height: 70px;
    transition: box-shadow 0.3s ease;
}

/* Sticky optional – wird per JS-Klasse gesteuert */
.mp-header:not(.is-sticky) {
    position: relative;
}

/* Logo */
.mp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--mp-color-primary);
    font-family: var(--mp-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}
.mp-logo:hover { color: var(--mp-color-primary); text-decoration: none; }

/* Orange Icon-Badge (wie im Prototyp) */
.mp-logo__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--mp-color-accent);
    color: #fff;
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}
/* Custom Logo Bild */
.mp-logo img,
.mp-logo .mp-logo-img {
    height: var(--mp-logo-height, 40px);
    width: auto;
    max-width: 240px;
    object-fit: contain;
    border-radius: 0;
    display: block;
}
.mp-logo__text { color: var(--mp-color-primary); }

/* Desktop Nav */
.mp-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mp-nav > li > a {
    color: var(--mp-color-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}
.mp-nav > li > a:hover,
.mp-nav > .current-menu-item > a,
.mp-nav > .current-page-ancestor > a {
    color: var(--mp-color-accent);
}

/* CTA Button im Header */
.mp-nav-cta {
    background: var(--mp-color-accent);
    color: #fff !important;
    border-radius: 12px;
    padding: 10px 22px;
    font-family: var(--mp-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(240, 124, 56, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.mp-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 124, 56, 0.45);
    color: #fff !important;
}

/* Hamburger */
.mp-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 310;
}
.mp-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mp-color-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.mp-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mp-hamburger.is-open span:nth-child(2) { opacity: 0; }
.mp-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Fullscreen Menü */
.mp-mobile-menu {
    display: none;
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--mp-color-bg-light);
    z-index: 300;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 0 40px;
    overflow-y: auto;
}
.mp-mobile-menu.is-open { display: flex; }

/* Links im Mobile-Menü – großes Serif wie im Prototyp */
.mp-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 80%;
    text-align: center;
}
.mp-mobile-menu ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.mp-mobile-menu ul li:last-child { border-bottom: none; }
.mp-mobile-menu ul li a {
    display: block;
    padding: 16px 0;
    font-family: var(--mp-font-heading);
    font-size: 1.6rem;
    color: var(--mp-color-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.mp-mobile-menu ul li a:hover { color: var(--mp-color-accent); }

/* Mobile CTA */
.mp-mobile-cta {
    display: inline-block;
    margin-top: 28px;
    background: var(--mp-color-accent);
    color: #fff !important;
    border-radius: 14px;
    padding: 16px 36px !important;
    font-family: var(--mp-font-body) !important;
    font-size: 1rem !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(240, 124, 56, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.mp-footer {
    text-align: center;
    padding: 40px 6%;
    color: var(--mp-color-text);
    font-size: 0.85rem;
    border-top: 1px solid var(--mp-color-border);
    background: var(--mp-color-bg-light);
}
.mp-footer a {
    color: var(--mp-color-accent);
    text-decoration: none;
}
.mp-footer a:hover { text-decoration: underline; }

/* Social Icons */
.mp-footer__social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}
.mp-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--mp-color-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.mp-footer__social a:hover {
    background: var(--mp-color-accent);
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Copyright line */
.mp-footer__copy {
    color: var(--mp-color-text);
    font-size: 0.85rem;
}
.mp-footer__extra {
    color: var(--mp-color-text);
    opacity: 0.65;
    font-size: 0.78rem;
    margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════════════════ */
#mp-scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
    width: 46px;
    height: 46px;
    border-radius: var(--mp-scrolltop-radius);
    background: var(--mp-scrolltop-bg);
    color: var(--mp-scrolltop-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
#mp-scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}
#mp-scroll-top:hover { background: var(--mp-scrolltop-hover); }
#mp-scroll-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO SECTION
═══════════════════════════════════════════════════════════ */
.mp-hero {
    min-height: 88vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 80px 6%;
    position: relative;
    overflow: hidden;
    background: var(--mp-color-bg-light);
}
.mp-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(240,124,56,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.mp-hero__content { position: relative; z-index: 1; }
.mp-hero__visual { position: relative; z-index: 1; }
.mp-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.mp-hero__stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.mp-hero__stat-num {
    font-family: var(--mp-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--mp-color-primary);
    line-height: 1;
}
.mp-hero__stat-num em { font-style: normal; color: var(--mp-color-accent); }
.mp-hero__stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--mp-color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE CARDS (Leistungen)
═══════════════════════════════════════════════════════════ */
.mp-service-card {
    background: var(--mp-color-bg-gray);
    border-radius: var(--mp-radius-card);
    padding: 2rem;
    border: 1px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.mp-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: rgba(240,124,56,0.2);
    color: inherit;
}
.mp-service-card__icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: rgba(240,124,56,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.mp-service-card__thumb {
    margin: -2rem -2rem 1.25rem;
    border-radius: var(--mp-radius-card) var(--mp-radius-card) 0 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.mp-service-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.mp-service-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--mp-color-accent);
}

/* ═══════════════════════════════════════════════════════════
   REVIEW CARDS
═══════════════════════════════════════════════════════════ */
.mp-review-card {
    background: #ffffff;
    border-radius: var(--mp-radius-card);
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}
.mp-review-card:hover { transform: translateY(-4px); }
.mp-review-card__stars { color: #FFB800; font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 0.875rem; }
.mp-review-card__text { font-style: italic; color: var(--mp-color-text); flex: 1; margin-bottom: 1.25rem; line-height: 1.75; }
.mp-review-card__author { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--mp-color-border); padding-top: 1rem; }
.mp-review-card__avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(240,124,56,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--mp-color-accent);
    flex-shrink: 0;
}
.mp-review-card__name { font-weight: 700; font-size: 0.93rem; }

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════════════════════ */
.mp-form { display: flex; flex-direction: column; gap: 1rem; }
.mp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mp-form__group { display: flex; flex-direction: column; gap: 6px; }
.mp-form__label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mp-color-text); }
.mp-form__input,
.mp-form__select,
.mp-form__textarea {
    background: var(--mp-color-bg-gray);
    border: 1px solid var(--mp-color-border);
    border-radius: 12px;
    padding: 13px 16px;
    font-family: var(--mp-font-body);
    font-size: 0.95rem;
    color: var(--mp-color-primary);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}
.mp-form__input:focus,
.mp-form__select:focus,
.mp-form__textarea:focus {
    border-color: var(--mp-color-accent);
    background: #fff;
}
.mp-form__textarea { resize: vertical; min-height: 120px; }

/* Dark form variant */
.mp-form--dark .mp-form__label { color: rgba(255,255,255,0.65); }
.mp-form--dark .mp-form__input,
.mp-form--dark .mp-form__select,
.mp-form--dark .mp-form__textarea {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}
.mp-form--dark .mp-form__input::placeholder,
.mp-form--dark .mp-form__textarea::placeholder { color: rgba(255,255,255,0.3); }
.mp-form--dark .mp-form__input:focus,
.mp-form--dark .mp-form__select:focus,
.mp-form--dark .mp-form__textarea:focus {
    border-color: var(--mp-color-accent);
    background: rgba(255,255,255,0.12);
}

/* ═══════════════════════════════════════════════════════════
   MAINTENANCE / COMING SOON
═══════════════════════════════════════════════════════════ */
.mp-maintenance {
    min-height: 100vh;
    background: var(--mp-color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 6%;
    text-align: center;
}
.mp-maintenance__inner { max-width: 600px; }
.mp-maintenance__badge {
    display: inline-block;
    background: rgba(240,124,56,0.12);
    color: var(--mp-color-accent);
    border-radius: 100px;
    padding: 6px 20px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.mp-maintenance__title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.mp-maintenance__text { font-size: 1.05rem; color: var(--mp-color-text); margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════════
   ADMIN BAR OFFSET
═══════════════════════════════════════════════════════════ */
.admin-bar .mp-header { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .mp-header { top: 46px; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION TOGGLE (Admin only)
═══════════════════════════════════════════════════════════ */
.mp-section-hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════════ */
.mp-breadcrumb {
    font-size: 0.82rem;
    color: var(--mp-color-text);
    margin-bottom: 1rem;
}
.mp-breadcrumb a { color: var(--mp-color-accent); }
.mp-breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR CTA BANNER
═══════════════════════════════════════════════════════════ */
.mp-sidebar-cta {
    background: var(--mp-color-accent);
    color: #fff;
    border-radius: var(--mp-radius-card);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.mp-sidebar-cta h3 { color: #fff; margin-bottom: 0.75rem; }
.mp-sidebar-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; font-size: 0.93rem; }
.mp-sidebar-cta .mp-btn {
    background: #fff;
    color: var(--mp-color-accent);
    box-shadow: none;
    width: 100%;
    justify-content: center;
}
.mp-sidebar-cta .mp-btn:hover { background: rgba(255,255,255,0.9); color: var(--mp-color-accent); }

/* ═══════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════ */
.mp-post-card {
    background: #ffffff;
    border-radius: var(--mp-radius-card);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.mp-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.mp-post-card__thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; }
.mp-post-card__body { padding: 1.5rem; }
.mp-post-card__meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--mp-color-text); margin-bottom: 0.75rem; }
.mp-post-card__meta span { display: flex; align-items: center; gap: 4px; }
.mp-post-card__title { font-size: 1.1rem; margin-bottom: 0.625rem; }
.mp-post-card__title a { color: var(--mp-color-primary); }
.mp-post-card__title a:hover { color: var(--mp-color-accent); }
.mp-post-card__excerpt { font-size: 0.88rem; color: var(--mp-color-text); }

/* Author box */
.mp-author-box {
    background: var(--mp-color-bg-gray);
    border-radius: var(--mp-radius-card);
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-top: 2.5rem;
}
.mp-author-box__avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.mp-author-box__name a { color: var(--mp-color-primary); font-weight: 800; }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */
.mp-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 3rem;
}
.mp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--mp-color-text);
    background: var(--mp-color-bg-gray);
    transition: background 0.2s, color 0.2s;
}
.mp-pagination .page-numbers.current,
.mp-pagination .page-numbers:hover {
    background: var(--mp-color-accent);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .mp-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .mp-hero { min-height: auto; padding: 60px 6%; }
}

@media (max-width: 900px) {
    .mp-nav { display: none; }
    .mp-nav-cta { display: none; }
    .mp-hamburger { display: flex; }
    .mp-hero { grid-template-columns: 1fr; }
    .mp-hero__visual { display: none; }
    .mp-grid-2 { grid-template-columns: 1fr; }
    .mp-grid-3 { grid-template-columns: 1fr 1fr; }
    :root { --mp-section-gap: 56px; }
}

@media (max-width: 600px) {
    .mp-container { padding-left: 5%; padding-right: 5%; }
    .mp-grid-3 { grid-template-columns: 1fr; }
    .mp-grid-4 { grid-template-columns: 1fr; }
    .mp-form__row { grid-template-columns: 1fr; }
    .mp-hero__actions { flex-direction: column; align-items: stretch; }
    .mp-hero__actions .mp-btn { justify-content: center; }
    .mp-footer { padding: 28px 5%; }
    :root { --mp-section-gap: 44px; }
}

/* ═══════════════════════════════════════════════════════════
   LEISTUNG DETAIL PAGE  –  1:1 Prototyp
═══════════════════════════════════════════════════════════ */

/* Split Hero */
.mp-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}
.mp-detail-hero__text {
    padding: 70px 6% 60px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mp-detail-hero__text h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin: .5rem 0 1rem;
}
.mp-detail-hero__desc {
    font-size: 1.05rem;
    color: var(--mp-color-text);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.mp-detail-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.mp-detail-hero__visual {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(240,124,56,.15) 0%, rgba(240,124,56,.05) 100%);
}
.mp-detail-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.mp-detail-hero__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    font-size: 8rem;
}

/* Body + Sidebar grid */
.mp-detail-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    padding: 70px 6%;
    align-items: start;
    background: var(--mp-color-bg-light);
}

/* Prose */
.mp-detail-prose {
    font-size: .97rem;
    color: var(--mp-color-text);
    line-height: 1.85;
    margin-bottom: 0;
}
.mp-detail-prose p { margin-bottom: 1rem; }

/* Checklist with teal checkmarks */
.mp-detail-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mp-detail-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--mp-color-primary);
}
.mp-detail-checklist li::before {
    content: '✓';
    background: rgba(58, 140, 140, 0.15);
    color: #3A8C8C;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .85rem;
    flex-shrink: 0;
}

/* Steps – vertical timeline */
.mp-detail-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 2.5rem;
    position: relative;
}
.mp-detail-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--mp-color-accent), #3A8C8C);
    opacity: .3;
}
.mp-detail-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}
.mp-detail-step__num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(240, 124, 56, 0.12);
    color: var(--mp-color-accent);
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(240, 124, 56, .2);
    z-index: 1;
    position: relative;
}
.mp-detail-step__num.is-teal {
    background: rgba(58, 140, 140, 0.12);
    color: #3A8C8C;
    box-shadow: 0 2px 8px rgba(58, 140, 140, .2);
}
.mp-detail-step__content h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.mp-detail-step__content p {
    font-size: .88rem;
    color: var(--mp-color-text);
    line-height: 1.6;
}

/* Tags */
.mp-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2rem;
}
.mp-detail-tag {
    background: #ffffff;
    border-radius: 100px;
    padding: 5px 14px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--mp-color-text);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Sidebar */
.mp-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}
.mp-detail-sidebar-card {
    background: #ffffff;
    border-radius: var(--mp-radius-card);
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.mp-detail-sidebar-card h3 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

/* Contact items in sidebar */
.mp-detail-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.mp-detail-contact-item:last-child { margin-bottom: 0; }
.mp-detail-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(240, 124, 56, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.mp-detail-contact-icon.is-teal {
    background: rgba(58, 140, 140, 0.12);
}
.mp-detail-contact-label {
    font-size: .72rem;
    font-weight: 800;
    color: var(--mp-color-text);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 2px;
}
.mp-detail-contact-value {
    font-weight: 700;
    font-size: .92rem;
}
.mp-detail-contact-value a {
    color: var(--mp-color-primary);
    text-decoration: none;
}
.mp-detail-contact-value a:hover { color: var(--mp-color-accent); }

/* Kostenlos-Box */
.mp-detail-price-note {
    background: rgba(240, 124, 56, 0.1);
    border-radius: var(--mp-radius-card);
    padding: 24px;
}
.mp-detail-price-note h3 {
    color: var(--mp-color-accent);
    font-size: 1rem;
    margin-bottom: .625rem;
}
.mp-detail-price-note p {
    font-size: .88rem;
    color: var(--mp-color-primary);
    line-height: 1.7;
}

/* Other services list in sidebar */
.mp-detail-other-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.mp-detail-other-list li a {
    color: var(--mp-color-primary);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem 0;
    border-bottom: 1px solid var(--mp-color-border);
    transition: color .2s;
}
.mp-detail-other-list li:last-child a { border-bottom: none; }
.mp-detail-other-list li a:hover { color: var(--mp-color-accent); }

/* Responsive */
@media (max-width: 960px) {
    .mp-detail-hero { grid-template-columns: 1fr; }
    .mp-detail-hero__visual { min-height: 260px; }
    .mp-detail-hero__fallback { min-height: 200px; font-size: 5rem; }
    .mp-detail-body { grid-template-columns: 1fr; gap: 32px; padding: 40px 5%; }
    .mp-detail-sidebar { position: static; }
}
@media (max-width: 600px) {
    .mp-detail-hero__text { padding: 40px 5%; }
    .mp-detail-hero__actions { flex-direction: column; align-items: stretch; }
    .mp-detail-hero__actions .mp-btn { justify-content: center; }
}

/* ── Leistung Detailseite: optionale Bildergalerie ──────────── */
.mp-detail-gallery {
    display: grid;
    gap: 14px;
    margin: 2rem 0 2.5rem;
}
/* 1 Bild: volle Breite */
.mp-detail-gallery--1 {
    grid-template-columns: 1fr;
}
/* 2 Bilder: nebeneinander */
.mp-detail-gallery--2 {
    grid-template-columns: 1fr 1fr;
}
/* 3 Bilder: erstes groß, zwei klein darunter */
.mp-detail-gallery--3 {
    grid-template-columns: 1fr 1fr;
}
.mp-detail-gallery--3 .mp-detail-gallery__item:first-child {
    grid-column: 1 / -1;
}
.mp-detail-gallery__item {
    margin: 0;
    border-radius: var(--mp-radius-img);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.mp-detail-gallery__item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .4s ease;
}
.mp-detail-gallery--1 .mp-detail-gallery__item img {
    aspect-ratio: 21 / 9;
}
.mp-detail-gallery__item:hover img {
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .mp-detail-gallery--2,
    .mp-detail-gallery--3 {
        grid-template-columns: 1fr;
    }
    .mp-detail-gallery--3 .mp-detail-gallery__item:first-child {
        grid-column: auto;
    }
}

/* ═══════════════════════════════════════════════════════════
   LEISTUNGEN ÜBERSICHT  –  template-leistungen-uebersicht.php
═══════════════════════════════════════════════════════════ */

/* Page Hero */
.mp-leistungen-hero {
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.mp-leistungen-hero::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(240,124,56,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.mp-leistungen-hero__inner { position: relative; z-index: 1; }
.mp-leistungen-hero h1 { margin: .5rem 0 1rem; }
.mp-leistungen-hero__lead {
    font-size: 1.1rem;
    color: var(--mp-color-text);
    max-width: 620px;
    line-height: 1.8;
}

/* Karten-Grid */
.mp-lu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

/* Einzelne Karte */
.mp-lu-card {
    background: #ffffff;
    border-radius: var(--mp-radius-card);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.mp-lu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
    color: inherit;
}

/* Visual: Bild oder Gradient mit Emoji */
.mp-lu-card__visual {
    aspect-ratio: 16 / 8;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-lu-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .4s ease;
}
.mp-lu-card:hover .mp-lu-card__img {
    transform: scale(1.04);
}
.mp-lu-card__emoji {
    font-size: 3.5rem;
    line-height: 1;
}

/* Badge top-right */
.mp-lu-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 800;
    color: var(--mp-color-primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.4;
}

/* Card Body */
.mp-lu-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Tags */
.mp-lu-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.mp-lu-card__tag {
    background: var(--mp-color-bg-gray);
    border-radius: 100px;
    padding: 3px 12px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--mp-color-text);
}

/* Title + Text */
.mp-lu-card__title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-bottom: .5rem !important;
    color: var(--mp-color-primary);
}
.mp-lu-card__text {
    font-size: .9rem;
    color: var(--mp-color-text);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* "Mehr erfahren →" link */
.mp-lu-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 800;
    color: var(--mp-color-accent);
    margin-top: auto;
}
.mp-lu-card__link::after {
    content: '→';
    transition: transform .2s ease;
}
.mp-lu-card:hover .mp-lu-card__link::after {
    transform: translateX(4px);
}

/* Warum-wir Kacheln */
.mp-lu-warum-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--mp-color-bg-gray);
    border-radius: var(--mp-radius-card);
}
.mp-lu-warum-item__icon {
    font-size: 2rem;
    margin-bottom: 14px;
    line-height: 1;
}
.mp-lu-warum-item h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .5rem;
}
.mp-lu-warum-item p {
    font-size: .85rem;
    color: var(--mp-color-text);
    line-height: 1.65;
    margin: 0;
}

/* CTA Bar (dark, rounded – wie im Prototyp) */
.mp-lu-cta {
    background: var(--mp-color-primary);
    border-radius: 24px;
    margin: 0 4% 80px;
    padding: 60px 0;
}
.mp-lu-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 860px) {
    .mp-lu-grid { grid-template-columns: 1fr; }
    .mp-lu-cta__inner { flex-direction: column; text-align: center; }
    .mp-lu-cta { margin: 0 0 60px; border-radius: 20px; }
}
@media (max-width: 560px) {
    .mp-leistungen-hero { padding: 50px 0 40px; }
    .mp-lu-cta { padding: 40px 0; }
}

/* ═══════════════════════════════════════════════════════════
   REFERENZEN ÜBERSICHT  –  template-referenzen.php
═══════════════════════════════════════════════════════════ */

/* Page Hero – teal Gradient-Kugel rechts */
.mp-refs-hero {
    padding: 80px 0 70px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.mp-refs-hero::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(58,140,140,.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.mp-refs-hero__inner { position: relative; z-index: 1; }
.mp-refs-hero h1 { margin: .5rem 0 1rem; }
.mp-refs-hero__lead {
    font-size: 1.1rem;
    color: var(--mp-color-text);
    max-width: 600px;
    line-height: 1.8;
}

/* teal label variant */
.mp-label--teal {
    background: rgba(58, 140, 140, 0.12);
    color: #3A8C8C;
}

/* Filter Bar */
.mp-refs-filter {
    padding: 32px 0 0;
}
.mp-refs-filter .mp-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.mp-refs-filter__btn {
    background: #ffffff;
    border: 2px solid rgba(0,0,0,.1);
    border-radius: 100px;
    padding: 8px 20px;
    font-family: var(--mp-font-body);
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    color: var(--mp-color-text);
    transition: background .2s, border-color .2s, color .2s;
}
.mp-refs-filter__btn:hover,
.mp-refs-filter__btn.is-active {
    background: var(--mp-color-accent);
    border-color: var(--mp-color-accent);
    color: #fff;
}

/* Gallery Grid – 3 Spalten, wide = span 2 */
.mp-refs-gallery {
    padding: 40px 6% 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 340px;
    gap: 20px;
}

/* Einzelnes Gallery-Item */
.mp-refs-item {
    border-radius: var(--mp-radius-card);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.mp-refs-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.mp-refs-item.is-wide { grid-column: span 2; }

.mp-refs-item__inner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    height: 100%;
}
.mp-refs-item.is-wide .mp-refs-item__inner {
    height: 100%;
}

/* Bild */
.mp-refs-item__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .4s ease;
}
.mp-refs-item:hover .mp-refs-item__img {
    transform: scale(1.04);
}

/* Hover Overlay */
.mp-refs-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1;
}
.mp-refs-item:hover .mp-refs-item__overlay {
    opacity: 1;
}

/* Kategorie-Badge oben rechts (orange) */
.mp-refs-item__cat {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--mp-color-accent);
    color: #fff;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    z-index: 2;
    line-height: 1.4;
}

/* Titel-Tag unten links (weißes Pill) */
.mp-refs-item__tag {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--mp-color-primary);
    position: relative;
    z-index: 2;
    line-height: 1.3;
    max-width: calc(100% - 120px); /* Platz für Cat-Badge */
}

/* Hidden via Filter */
.mp-refs-item[hidden] { display: none; }

/* ── Kundenstimmen ──────────────────────────────────────── */
.mp-refs-reviews {
    padding: 80px 0;
    background: #ffffff;
}
.mp-refs-reviews__header {
    text-align: center;
    margin-bottom: 3rem;
}
.mp-refs-reviews__header h2 { margin-top: .5rem; }
.mp-refs-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.mp-refs-review-card {
    background: var(--mp-color-bg-gray);
    border-radius: var(--mp-radius-card);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform .3s;
}
.mp-refs-review-card:hover { transform: translateY(-4px); }
.mp-refs-review-card__stars {
    color: #FFB800;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}
.mp-refs-review-card__text {
    font-size: .95rem;
    color: var(--mp-color-text);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.25rem;
}
.mp-refs-review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mp-refs-review-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    flex-shrink: 0;
}
.mp-refs-review-card__avatar.is-orange { background: rgba(240,124,56,.12); color: var(--mp-color-accent); }
.mp-refs-review-card__avatar.is-teal   { background: rgba(58,140,140,.12);  color: #3A8C8C; }
.mp-refs-review-card__avatar.is-green  { background: rgba(88,148,88,.12);   color: #589458; }
.mp-refs-review-card__name { font-weight: 700; font-size: .95rem; }
.mp-refs-review-card__date { font-size: .78rem; color: var(--mp-color-text); }

/* CTA Bar */
.mp-refs-cta {
    background: var(--mp-color-primary);
    border-radius: 24px;
    margin: 0 4% 80px;
    padding: 60px 0;
}
.mp-refs-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 860px) {
    .mp-refs-gallery { grid-template-columns: 1fr 1fr; }
    .mp-refs-cta { margin: 0 0 60px; border-radius: 20px; }
    .mp-refs-cta__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
    .mp-refs-gallery { grid-template-columns: 1fr; grid-auto-rows: 280px; padding: 24px 5% 60px; }
    .mp-refs-item.is-wide { grid-column: span 1; }
    .mp-refs-gallery { grid-auto-rows: 260px; }
    .mp-refs-hero { padding: 50px 0 40px; }
}

/* ═══════════════════════════════════════════════════════════
   LEISTUNGEN ÜBERSICHT  –  mp-lue-*  (1:1 leistungen.html)
═══════════════════════════════════════════════════════════ */

/* Volle Breite mit 6% Seitenabstand – kein max-width */
.mp-lue-inner {
    width: 100%;
    padding-left: 6%;
    padding-right: 6%;
}

/* Page Hero – orange Gradient-Kugel rechts */
.mp-lue-hero {
    padding: 80px 0 70px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.mp-lue-hero::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(240,124,56,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.mp-lue-hero__inner { position: relative; z-index: 1; }
.mp-lue-hero h1 { margin: .5rem 0 1rem; }
.mp-lue-hero h1 em { font-style: italic; color: var(--mp-color-accent); }
.mp-lue-hero__lead {
    font-size: 1.1rem;
    color: var(--mp-color-text);
    max-width: 620px;
    line-height: 1.8;
}

/* Leistungen Section */
.mp-lue-section {
    padding: 70px 0;
    background: var(--mp-color-bg-light);
}

/* Grid – alle Karten in einer Zeile nebeneinander (Desktop) */
.mp-lue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Karte */
.mp-lue-card {
    background: #ffffff;
    border-radius: var(--mp-radius-card);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}
.mp-lue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
    color: inherit;
}

/* Visual: 16:8 Ratio */
.mp-lue-card__visual {
    aspect-ratio: 16 / 8;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bild füllt Visual */
.mp-lue-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .4s ease;
}
.mp-lue-card:hover .mp-lue-card__img {
    transform: scale(1.04);
}

/* Emoji (kein Bild) */
.mp-lue-card__emoji {
    font-size: 3.5rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Badge oben rechts: weißes Pill */
.mp-lue-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 800;
    color: var(--mp-color-primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    z-index: 2;
    line-height: 1.4;
}

/* Card Body */
.mp-lue-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Tags */
.mp-lue-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.mp-lue-card__tag {
    background: var(--mp-color-bg-light);
    border-radius: 100px;
    padding: 2px 10px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--mp-color-text);
}

/* Titel */
.mp-lue-card__title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: var(--mp-color-primary) !important;
    margin-bottom: .5rem !important;
    font-family: var(--mp-font-heading) !important;
}

/* Beschreibung */
.mp-lue-card__text {
    font-size: .82rem;
    color: var(--mp-color-text);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

/* „Mehr erfahren →" */
.mp-lue-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 800;
    color: var(--mp-color-accent);
    margin-top: auto;
}
.mp-lue-card__link::after {
    content: '→';
    transition: transform .2s ease;
}
.mp-lue-card:hover .mp-lue-card__link::after {
    transform: translateX(4px);
}

/* ── Warum wir ─────────────────────────────────────────────── */
.mp-lue-warum {
    padding: 80px 0 70px;
    background: #ffffff;
}
.mp-lue-warum h2 {
    text-align: center;
    margin-bottom: 3rem;
}
.mp-lue-warum__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.mp-lue-warum__item {
    text-align: center;
    padding: 28px 20px;
    background: var(--mp-color-bg-light);
    border-radius: var(--mp-radius-card);
}
.mp-lue-warum__icon {
    font-size: 2rem;
    margin-bottom: 14px;
    line-height: 1;
}
.mp-lue-warum__item h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.mp-lue-warum__item p {
    font-size: .85rem;
    color: var(--mp-color-text);
    line-height: 1.6;
    margin: 0;
}

/* ── CTA Bar ───────────────────────────────────────────────── */
.mp-lue-cta {
    background: var(--mp-color-primary);
    border-radius: 24px;
    margin: 0 6% 80px;
    padding: 60px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.mp-lue-cta h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 .5rem;
}
.mp-lue-cta p {
    color: rgba(255,255,255,.5);
    margin: 0;
    font-size: .95rem;
}

/* ── Responsive ────────────────────────────────────────────── */
/* mp-lue-inner narrower on mobile */
@media (max-width: 1024px) {
    .mp-lue-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .mp-lue-grid { grid-template-columns: repeat(2, 1fr); }
    .mp-lue-cta { flex-direction: column; text-align: center; border-radius: 20px; margin: 0 4% 60px; }
}
@media (max-width: 560px) {
    .mp-lue-grid { grid-template-columns: 1fr; }
    .mp-lue-hero { padding: 50px 0 40px; }
    .mp-lue-warum__grid { grid-template-columns: 1fr; }
    .mp-lue-cta { padding: 40px 6%; margin: 0 0 50px; }
}

/* ═══════════════════════════════════════════════════════════
   NAV DROPDOWN (Sub-Menü)
═══════════════════════════════════════════════════════════ */

/* Eltern-Item mit Untermenü */
.mp-nav > li {
    position: relative;
}

/* Pfeil-Indikator bei Items mit Sub-Menü */
.mp-nav > li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.65rem;
    margin-left: 5px;
    opacity: 0.6;
    display: inline-block;
    transition: transform 0.2s ease;
    vertical-align: middle;
}
.mp-nav > li.menu-item-has-children:hover > a::after,
.mp-nav > li.menu-item-has-children.is-open > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown-Panel */
.mp-nav > li > ul.sub-menu {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.07);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

/* Kleines Dreieck oben */
.mp-nav > li > ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(0,0,0,0.07);
    border-top: 1px solid rgba(0,0,0,0.07);
    transform: rotate(45deg);
}

/* Sichtbar bei Hover oder Fokus */
.mp-nav > li:hover > ul.sub-menu,
.mp-nav > li.is-open > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Sub-Menü Links */
.mp-nav > li > ul.sub-menu li {
    padding: 0;
}
.mp-nav > li > ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--mp-color-text);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.mp-nav > li > ul.sub-menu li a:hover {
    background: var(--mp-color-bg-gray);
    color: var(--mp-color-accent);
}
.mp-nav > li > ul.sub-menu .current-menu-item > a {
    color: var(--mp-color-accent);
    background: var(--mp-color-bg-gray);
}

/* ── Mobile: Sub-Menü als Einrückung ───────────────────────── */
.mp-mobile-menu ul li ul.sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0,0,0,0.04);
    border-radius: 12px;
    overflow: hidden;
}
.mp-mobile-menu ul li.is-open > ul.sub-menu {
    display: block;
}
.mp-mobile-menu ul li ul.sub-menu li a {
    font-size: 1.1rem !important;
    padding: 12px 0 !important;
    color: var(--mp-color-text) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    opacity: 0.85;
}
.mp-mobile-menu ul li ul.sub-menu li:last-child a {
    border-bottom: none !important;
}

/* Pfeil für Mobile-Items mit Sub-Menü */
.mp-mobile-menu ul li.menu-item-has-children > a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.mp-mobile-menu ul li.menu-item-has-children > a .mp-sub-arrow {
    font-size: 0.6rem;
    opacity: 0.5;
    transition: transform 0.2s;
}
.mp-mobile-menu ul li.menu-item-has-children.is-open > a .mp-sub-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Jobs: Bewerbungsprozess ────────────────────────────────── */
.mp-jobs-steps {
    display: flex;
    gap: 0;
    position: relative;
}
.mp-jobs-steps__line {
    position: absolute;
    top: 28px;
    left: calc(10% + 20px);
    right: calc(10% + 20px);
    height: 2px;
    background: linear-gradient(to right, var(--mp-color-accent), #3A8C8C);
    opacity: .25;
    pointer-events: none;
}
.mp-jobs-step {
    flex: 1;
    text-align: center;
    padding: 0 8px;
    position: relative;
}
.mp-jobs-step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(240, 124, 56, .12);
    color: var(--mp-color-accent);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    position: relative;
    z-index: 1;
}
.mp-jobs-step__num.is-teal {
    background: rgba(58, 140, 140, .12);
    color: #3A8C8C;
}
.mp-jobs-step__title { font-size: .9rem; margin-bottom: .375rem; }
.mp-jobs-step__text  { font-size: .78rem; color: var(--mp-color-text); line-height: 1.6; }

@media (max-width: 700px) {
    .mp-jobs-steps { flex-direction: column; gap: 1.5rem; }
    .mp-jobs-steps__line { display: none; }
    .mp-jobs-step { text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
    .mp-jobs-step__num { flex-shrink: 0; margin: 0; }
}

/* ── Kundenstimmen Grid – gleiche Kartenhöhe ────────────────── */
.mp-ks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.mp-ks-grid > div {
    display: flex;
    flex-direction: column;
}
.mp-ks-grid .mp-review-card,
.mp-ks-grid .mp-refs-review-card {
    flex: 1;
    height: 100%;
}

/* ═══════════════════════════════════════════════════════════
   KONTAKT SEITE  –  1:1 nach kontakt.html
═══════════════════════════════════════════════════════════ */

/* Page Hero */
.mp-k-hero {
    padding: 80px 0 70px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.mp-k-hero::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(240,124,56,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.mp-k-hero > .mp-lue-inner { position: relative; z-index: 1; }
.mp-k-hero h1 { margin: .5rem 0 1rem; }
.mp-k-hero h1 em { font-style: italic; color: var(--mp-color-accent); }
.mp-k-hero__lead {
    font-size: 1.1rem;
    color: var(--mp-color-text);
    max-width: 680px;
    line-height: 1.8;
}

/* Section */
.mp-k-section {
    background: var(--mp-color-bg-light);
    padding: 70px 0;
}

/* 2-Spalten Grid */
.mp-k-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

/* ── Linke Spalte ── */
.mp-k-info__title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Info-Karten */
.mp-k-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}
.mp-k-info-card {
    background: #ffffff;
    border-radius: var(--mp-radius-card);
    padding: 24px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform .3s ease;
}
.mp-k-info-card:hover { transform: translateY(-4px); }
.mp-k-info-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(240, 124, 56, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.mp-k-info-icon.is-teal {
    background: rgba(58, 140, 140, 0.12);
}
.mp-k-info-label {
    font-size: .75rem;
    font-weight: 800;
    color: var(--mp-color-text);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}
.mp-k-info-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--mp-color-primary);
}
.mp-k-info-value a {
    color: var(--mp-color-primary);
    text-decoration: none;
}
.mp-k-info-value a:hover { color: var(--mp-color-accent); }
.mp-k-info-sub {
    font-size: .82rem;
    color: var(--mp-color-text);
    margin-top: 2px;
}

/* Karte */
.mp-k-map { margin-top: 20px; }
.mp-k-map-placeholder {
    background: linear-gradient(135deg, #d4eeee 0%, #a8d8d8 100%);
    border-radius: var(--mp-radius-card);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 700;
    color: #3A8C8C;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.mp-k-map-placeholder::before {
    content: '📍';
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
}
.mp-k-map-placeholder span { margin-top: 40px; }

/* ── Rechte Spalte: Form-Box ── */
.mp-k-form-box {
    background: var(--mp-color-primary);
    border-radius: 24px;
    padding: 48px 44px;
}
.mp-k-form-box h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.mp-k-form-sub {
    color: rgba(255,255,255,.55);
    font-size: .95rem;
    margin-bottom: 32px;
}

/* Form Row */
.mp-k-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Form Groups */
.mp-k-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.mp-k-form-group label {
    font-size: .78rem;
    font-weight: 800;
    color: rgba(255,255,255,.6);
    letter-spacing: .05em;
    text-transform: uppercase;
}
.mp-k-form-group input,
.mp-k-form-group select,
.mp-k-form-group textarea {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 14px 16px;
    color: #ffffff;
    font-family: var(--mp-font-body);
    font-size: .95rem;
    outline: none;
    transition: border-color .2s ease;
    width: 100%;
}
.mp-k-form-group input::placeholder,
.mp-k-form-group textarea::placeholder {
    color: rgba(255,255,255,.3);
}
.mp-k-form-group input:focus,
.mp-k-form-group select:focus,
.mp-k-form-group textarea:focus {
    border-color: var(--mp-color-accent);
}
.mp-k-form-group select { cursor: pointer; }
.mp-k-form-group select option { background: var(--mp-color-primary); color: #ffffff; }
.mp-k-form-group textarea {
    resize: vertical;
    min-height: 110px;
}

/* Send Button */
.mp-k-btn-send {
    width: 100%;
    background: var(--mp-color-accent);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 18px;
    font-family: var(--mp-font-body);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(240,124,56,.4);
    transition: transform .2s ease, box-shadow .2s ease;
    margin-top: 4px;
}
.mp-k-btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(240,124,56,.5);
}

/* Privacy note */
.mp-k-privacy {
    font-size: .75rem;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin-top: 14px;
}
.mp-k-privacy a { color: rgba(255,255,255,.5); }
.mp-k-privacy a:hover { color: rgba(255,255,255,.8); }

/* Form status */
.mp-k-form-box .mp-form__status {
    margin-top: .75rem;
    font-size: .88rem;
    text-align: center;
    min-height: 1.2em;
}
.mp-k-form-box .mp-form__status--ok  { color: #6ee7b7; }
.mp-k-form-box .mp-form__status--err { color: #fca5a5; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .mp-k-grid { grid-template-columns: 1fr; gap: 40px; }
    .mp-k-form-box { padding: 36px 28px; }
}
@media (max-width: 560px) {
    .mp-k-hero { padding: 50px 0 40px; }
    .mp-k-section { padding: 50px 0; }
    .mp-k-form-row { grid-template-columns: 1fr; }
    .mp-k-form-box { padding: 28px 20px; border-radius: 18px; }
}

/* ── Rechtliche Seiten: lesbarer Textbereich ────────────────── */
.mp-legal-wrap {
    max-width: 860px;
}

/* ═══════════════════════════════════════════════════════════
   EINHEITLICHE CTA-BAR  –  mp-cta-bar
   Gilt für alle Seiten. Ersetzt mp-lue-cta, mp-refs-cta etc.
═══════════════════════════════════════════════════════════ */
.mp-cta-bar {
    background: var(--mp-color-primary);
    border-radius: 24px;
    margin: 0 6% 80px;
    overflow: hidden;
}
.mp-cta-bar .mp-lue-inner {
    padding-top: 60px;
    padding-bottom: 60px;
}
.mp-cta-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.mp-cta-bar__headline {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 0 0 .5rem;
}
.mp-cta-bar__sub {
    color: rgba(255,255,255,.5);
    margin: 0;
    font-size: .95rem;
}

/* Weißer Button-Stil für dunkle CTA */
.mp-btn--white {
    background: var(--mp-color-accent) !important;
    color: #ffffff !important;
    white-space: nowrap;
}
.mp-btn--white:hover {
    background: var(--mp-color-accent-hover, #d96c28) !important;
}

@media (max-width: 860px) {
    .mp-cta-bar { margin: 0 4% 60px; }
    .mp-cta-bar__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
    .mp-cta-bar { margin: 0 0 50px; border-radius: 18px; }
    .mp-cta-bar .mp-lue-inner { padding-top: 40px; padding-bottom: 40px; }
}

/* ── Custom Logo Bild (Sicherheits-Fallback für the_custom_logo) ── */
.mp-logo .custom-logo-link {
    display: contents; /* löst doppeltes <a> auf */
}
.mp-logo .custom-logo {
    height: var(--mp-logo-height, 40px);
    width: auto;
    max-width: 240px;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   STARTSEITE: Referenzen-Masonry (wie Screenshot)
═══════════════════════════════════════════════════════════ */
.mp-home-refs {
    padding: 70px 0;
    background: var(--mp-color-bg-light);
}

/* Kopfzeile: H2 links, Button rechts */
.mp-home-refs__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.mp-home-refs__header h2 {
    margin: .4rem 0 0;
}

/* Masonry-Grid: 3 Spalten, erste Kachel wide */
.mp-home-refs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 16px;
}

/* Einzelnes Grid-Item */
.mp-home-refs__item {
    border-radius: var(--mp-radius-card);
    overflow: hidden;
    display: block;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
}
.mp-home-refs__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.14);
}
.mp-home-refs__item.is-wide {
    grid-column: span 2;
}

/* Inner – Bild oder Gradient */
.mp-home-refs__inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.mp-home-refs__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .4s ease;
}
.mp-home-refs__item:hover .mp-home-refs__img {
    transform: scale(1.04);
}

/* Hover-Overlay */
.mp-home-refs__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1;
}
.mp-home-refs__item:hover .mp-home-refs__overlay {
    opacity: 1;
}

/* Weißes Pill-Tag unten links */
.mp-home-refs__tag {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--mp-color-primary);
    position: relative;
    z-index: 2;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 24px);
}

/* Responsive */
@media (max-width: 860px) {
    .mp-home-refs__grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }
}
@media (max-width: 560px) {
    .mp-home-refs__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .mp-home-refs__item.is-wide {
        grid-column: span 1;
    }
    .mp-home-refs__header { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE REFERENZ
═══════════════════════════════════════════════════════════ */

/* Split Hero */
.mp-ref-single-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    background: #ffffff;
}
.mp-ref-single-hero__visual {
    overflow: hidden;
    position: relative;
    background: var(--mp-color-bg-gray);
}
.mp-ref-single-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.mp-ref-single-hero__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 360px;
    font-size: 6rem;
    background: linear-gradient(135deg,rgba(240,124,56,.1) 0%,rgba(240,124,56,.03) 100%);
}
.mp-ref-single-hero__text {
    padding: 60px 6% 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mp-ref-single-hero__text h1 { margin: .5rem 0 1rem; }
.mp-ref-single-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.mp-ref-single-hero__meta-item {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--mp-color-text);
}
.mp-ref-single-hero__desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mp-color-text);
    max-width: 520px;
    margin-bottom: 2rem;
}
.mp-ref-single-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Galerie */
.mp-ref-single-gallery {
    padding: 60px 0;
    background: var(--mp-color-bg-light);
}
.mp-ref-single-gallery__grid {
    display: grid;
    gap: 16px;
}
.mp-ref-single-gallery--1 { grid-template-columns: 1fr; }
.mp-ref-single-gallery--2 { grid-template-columns: 1fr 1fr; }
.mp-ref-single-gallery__item {
    margin: 0;
    border-radius: var(--mp-radius-card);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.mp-ref-single-gallery__item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .4s ease;
}
.mp-ref-single-gallery__item:hover img { transform: scale(1.02); }

/* Weitere Referenzen */
.mp-ref-single-more {
    padding: 60px 0 80px;
    background: #ffffff;
}
.mp-ref-single-more__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

/* Responsive */
@media (max-width: 860px) {
    .mp-ref-single-hero { grid-template-columns: 1fr; }
    .mp-ref-single-hero__visual { min-height: 280px; }
    .mp-ref-single-hero__text { padding: 40px 5%; }
    .mp-ref-single-gallery--2 { grid-template-columns: 1fr; }
    .mp-ref-single-more__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .mp-ref-single-hero__actions { flex-direction: column; }
    .mp-ref-single-more__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}
