/* =========================
   MIPA HEADER
========================= */

.mipa-header {
    width: 100%;
    height: 168px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    position: relative;
    z-index: 1000;
}

.mipa-header-inner {
    position: relative;
    max-width: 1110px;
    height: 100%;
    margin: 0 auto;
}

/* Logo */

.mipa-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.mipa-logo img {
    display: block;
    width: 250px;
    height: auto;
}

/* Burger Button – standardmäßig ausgeblendet */

.mipa-menu-toggle {
    display: none;
}

/* Navigation */

.mipa-navigation {
    position: absolute;
    right: 0;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 28px;
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.mipa-navigation a {
    color: #444444;
    text-decoration: none;
}

.mipa-navigation a:hover,
.mipa-navigation a:focus {
    color: #ed1c24;
}

.mipa-navigation a.active {
    color: #ed1c24;
}

/* Dropdown */

.mipa-nav-dropdown {
    position: relative;
}

.mipa-nav-dropdown span {
    color: #999999;
    margin-left: 4px;
}

.mipa-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 8px 0;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    z-index: 1000;
}

.mipa-nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
    color: #333333;
    text-decoration: none;
}

.mipa-nav-dropdown-menu a:hover,
.mipa-nav-dropdown-menu a:focus {
    background: #f2f4f6;
}

.mipa-nav-dropdown:hover .mipa-nav-dropdown-menu,
.mipa-nav-dropdown:focus-within .mipa-nav-dropdown-menu {
    display: block;
}

/* =========================
   TABLET UND SMARTPHONE
========================= */

@media (max-width: 768px) {

    .mipa-header {
        height: 90px;
    }

    .mipa-logo {
        top: 12px;
    }

    .mipa-logo img {
        width: 190px;
    }

    /* Burger Button */

    .mipa-menu-toggle {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        right: 20px;
        bottom: 12px;
        width: 42px;
        height: 38px;
        padding: 5px;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 1100;
    }

    .mipa-menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: #07519d;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mipa-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mipa-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .mipa-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Navigation geschlossen */

    .mipa-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        bottom: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px;
        background: #ffffff;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
        z-index: 1050;
    }

    /* Navigation geöffnet */

    .mipa-navigation.is-open {
        display: flex;
    }

    .mipa-navigation > a,
    .mipa-nav-dropdown > a {
        display: block;
        padding: 14px 10px;
        border-bottom: 1px solid #eeeeee;
    }

    /* Untermenü standardmäßig geschlossen */

    .mipa-nav-dropdown-menu {
        display: none !important;
        position: static;
        width: 100%;
        min-width: 0;
        padding: 5px 0;
        background: #f5f5f5;
        box-shadow: none;
    }

    /* Untermenü nach Klick geöffnet */

    .mipa-nav-dropdown.submenu-open > .mipa-nav-dropdown-menu {
        display: block !important;
    }

    .mipa-nav-dropdown-menu a {
        display: block;
        padding: 13px 25px;
        white-space: normal;
        border-bottom: 1px solid #eeeeee;
    }
}

/* Kleine Smartphones */

@media (max-width: 420px) {

    .mipa-logo img {
        width: 170px;
    }

    .mipa-menu-toggle {
        right: 12px;
    }
}

/* =========================
   ALLGEMEINE EINSTELLUNGEN
========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    overflow-x: hidden;
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

/* ==========================
   HERO-BEREICH
========================== */

.mipa-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 752;
    min-height: 400px;
    max-height: 760px;
    overflow: hidden;
    background: white;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../images/farbdosen_hintergrund_startseite.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    opacity: 1;
    visibility: visible;
}

/* Text 1 */

.hero-title {
    position: absolute;
    z-index: 2;
    left: 8.1%;
    top: 14.2%;
    color: white;
    font-weight: 700;
    line-height: 1.15;
    font-size: clamp(32px, 3.8vw, 74px);
    opacity: 0;
    transform: translateY(26px);
    animation:
        text-in 0.75s
        cubic-bezier(.2,.7,.25,1)
        0.4s forwards;
}

/* Text 2 */

.hero-subtitle {
    position: absolute;
    z-index: 2;
    left: 8.1%;
    top: 27.1%;
    color: #ff9c98;
    font-weight: 700;
    line-height: 1.15;
    font-size: clamp(30px, 3.5vw, 68px);
    opacity: 0;
    transform: translateY(26px);
    animation:
        text-in 0.75s
        cubic-bezier(.2,.7,.25,1)
        0.9s forwards;
}

/* Farbdosen */

.hero-products {
    position: absolute;
    z-index: 3;
    width: 33%;
    right: 15.2%;
    bottom: 0;
    opacity: 0;
    transform: translateY(55px) scale(.97);
    animation:
        products-in 1s
        cubic-bezier(.18,.7,.2,1)
        1.4s forwards;
}

.hero-products img {
    display: block;
    width: 100%;
    height: auto;
}

/* Animationen */

@keyframes text-in {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes products-in {
    from {
        opacity: 0;
        transform: translateY(55px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero Mobile */

@media (max-width: 760px) {
    .mipa-hero {
        height: 680px;
        min-height: 680px;
        max-height: none;
        aspect-ratio: auto;
    }

    .hero-background {
        background-size: cover;
        background-position: center top;
    }

    .hero-title {
        top: 8%;
        left: 6%;
        right: 5%;
        font-size: clamp(28px, 8vw, 42px);
    }

    .hero-subtitle {
        top: 17%;
        left: 6%;
        right: 5%;
        font-size: clamp(26px, 7vw, 38px);
    }

    .hero-products {
        width: 88%;
        right: 3%;
        bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-products {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ==========================================
   PRODUKTSERIEN - 产品系列
========================================== */

.product-series {
    width: 100%;
    background: #ffffff;
    padding: 100px 0 65px;
}

.product-series-container {
    width: 78%;
    max-width: 1120px;
    margin: 0 auto;
}

.product-series-heading {
    text-align: center;
    color: #595959;
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 30px;
    line-height: 1.3;
}

.product-series-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-series-card {
    text-align: center;
}

.product-series-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.product-series-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.product-series-image-link:hover .product-series-image {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.product-series-card h3 {
    color: #5b5b5b;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 7px;
    margin: 18px 0 28px;
}

.product-series-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 50px;
    border: 2px solid #ed1c24;
    background: #ffffff;
    color: #ed1c24;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.product-series-button:hover {
    background: #ed1c24;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 900px) {
    .product-series-container {
        width: 88%;
    }

    .product-series-heading {
        font-size: 46px;
    }

    .product-series-card h3 {
        font-size: 34px;
        letter-spacing: 5px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .product-series {
        padding: 35px 0 50px;
    }

    .product-series-container {
        width: 90%;
    }

    .product-series-heading {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .product-series-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .product-series-card h3 {
        font-size: 30px;
        letter-spacing: 4px;
        margin: 18px 0 22px;
    }

    .product-series-button {
        width: 125px;
        height: 48px;
    }
}

/* =========================
   CAR BANNER
========================= */

.car-banner {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}

.car-banner img {
    display: block;
    width: 62%;
    height: auto;
    margin: 0;
}

/* ==========================================
   MIPA ABOUT SECTION
========================================== */

.mipa-about {
    width: 100%;
    background: #eeeeee;
    padding: 120px 0 80px;
    overflow: hidden;
}

.mipa-about-container {
    width: 78%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.9fr;
    align-items: center;
    gap: 8%;
}

.mipa-about-text {
    color: #555555;
    padding: 20px 0;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-weight: 300;
}

.mipa-about-text h2 {
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.3px;
    color: #595959;
    margin: 0 0 45px;
}

.mipa-about-text p {
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.1px;
    color: #555555;
    margin: 0 0 14px;
}

.mipa-about-image {
    width: 96%;
    justify-self: center;
    background: #eeeeee;
    box-shadow:
        0 0 45px rgba(0, 0, 0, 0.14),
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.mipa-about-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Tablet */

@media (max-width: 1000px) {
    .mipa-about {
        padding: 90px 0 110px;
    }

    .mipa-about-container {
        width: 88%;
        grid-template-columns: 1fr 1fr;
        gap: 5%;
    }

    .mipa-about-text h2 {
        font-size: 34px;
        margin-bottom: 30px;
    }

    .mipa-about-text p {
        font-size: 15px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .mipa-about {
        padding: 60px 0 80px;
    }

    .mipa-about-container {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .mipa-about-text {
        padding: 0;
    }

    .mipa-about-text h2 {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .mipa-about-text p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    .mipa-about-image {
        box-shadow:
            0 0 25px rgba(0, 0, 0, 0.12),
            0 10px 25px rgba(0, 0, 0, 0.07);
    }
}

/* ==========================================
   MIPA CONTACT SECTION
========================================== */

.mipa-contact {
    width: 100%;
    background: #ffffff;
    padding: 0 0 60px;
}

.mipa-contact-box {
    width: 60%;
    max-width: 1200px;
    min-height: 570px;
    margin: 0 auto;
    background: #07519d;
    color: #ffffff;
    padding: 85px 5% 70px;
    box-sizing: border-box;
}

.mipa-contact-box h2 {
    text-align: center;
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 95px;
}

.mipa-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    text-align: center;
    gap: 30px;
}

.mipa-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mipa-contact-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
}

.mipa-contact-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffa18f;
}

.mipa-contact-item h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 22px;
}

.mipa-contact-info {
    width: 100%;
    max-width: 300px;
    min-height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2165a8;
    color: #ffffff;
    font-size: 17px;
    box-sizing: border-box;
    padding: 12px;
}

/* WeChat / QR Code */

.mipa-wechat-label {
    font-size: 20px;
    margin-bottom: 5px;
    color: #ffffff;
}

.mipa-qr {
    width: 166px;
    height: 166px;
    background: #ffffff;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 4px;
}

.mipa-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mipa-wechat-number {
    margin-top: 10px;
    font-size: 17px;
    color: #ffffff;
}

/* Tablet */

@media (max-width: 1100px) {
    .mipa-contact-box {
        width: 85%;
        min-height: auto;
        padding: 70px 5% 60px;
    }

    .mipa-contact-box h2 {
        font-size: 40px;
        margin-bottom: 70px;
    }

    .mipa-contact-grid {
        gap: 20px;
    }

    .mipa-contact-info {
        font-size: 15px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .mipa-contact {
        padding-bottom: 30px;
    }

    .mipa-contact-box {
        width: 100%;
        padding: 55px 25px;
    }

    .mipa-contact-box h2 {
        font-size: 34px;
        margin-bottom: 50px;
    }

    .mipa-contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .mipa-contact-info {
        max-width: 320px;
    }
}

.contact-box,
.contact-box:visited,
.contact-box:hover,
.contact-box:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* =========================
   VIDEO SECTION
========================= */

.mipa-video-section {
    width: 100%;
    background: #ffffff;
    padding: 70px 0 90px;
}

.mipa-video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mipa-video-wrapper {
    width: 42%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background: #eeeeee;
    border: 3px solid #eeeeee;
    overflow: hidden;
}

.mipa-video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Tablet */

@media (max-width: 1024px) {
    .mipa-video-wrapper {
        width: 65%;
    }
}

/* Smartphone */

@media (max-width: 768px) {
    .mipa-video-section {
        padding: 40px 20px 60px;
    }

    .mipa-video-wrapper {
        width: 100%;
    }
}

/* =========================
   MIPA STATISTICS SECTION
========================= */

.mipa-stats-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    background-image: url("../images/standort-essenbach_schraege.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dunkles Overlay */

.mipa-stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(5, 18, 43, 0.40) 0%,
        rgba(8, 35, 77, 0.26) 50%,
        rgba(12, 53, 105, 0.16) 100%
    );
    z-index: 1;
}

/* Schräge roséfarbene Fläche */

.mipa-stats-diagonal {
    position: absolute;
    top: -90px;
    right: -5%;
    width: 75%;
    height: 230px;
    background: rgba(235, 174, 166, 0.72);
    transform: rotate(8deg);
    transform-origin: top right;
    z-index: 2;
}

/* Inhalt */

.mipa-stats-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1250px;
    padding: 80px 40px;
    text-align: center;
    color: #ffffff;
}

.mipa-stats-content h2 {
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0 0 65px;
}

/* Statistik Grid */

.mipa-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mipa-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mipa-stat-top {
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
}

.mipa-stat-number {
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 82px;
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 15px;
}

.mipa-stat-bottom {
    font-size: 19px;
    font-weight: 400;
    color: #ffffff;
}

/* Tablet */

@media (max-width: 1024px) {
    .mipa-stats-section {
        min-height: 600px;
    }

    .mipa-stats-content h2 {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .mipa-stat-number {
        font-size: 65px;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .mipa-stats-section {
        min-height: auto;
        padding: 70px 0;
        background-position: center;
    }

    .mipa-stats-content {
        padding: 30px 20px;
    }

    .mipa-stats-content h2 {
        font-size: 32px;
        margin-bottom: 45px;
    }

    .mipa-stats-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .mipa-stat-number {
        font-size: 65px;
    }

    .mipa-stat-top {
        font-size: 18px;
    }

    .mipa-stat-bottom {
        font-size: 17px;
    }

    .mipa-stats-diagonal {
        width: 100%;
        height: 140px;
        top: -60px;
    }
}

/* =========================
   CHINA CONTACT SECTION
========================= */

.mipa-china-contact {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
}

/* Bild */

.china-bg-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Text über dem Bild */

.china-contact-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: flex-start;
    gap: 20px;

    width: 500px;
    max-width: 90%;

    margin: 0;
    color: #ffffff;
    font-family: Arial, sans-serif;
    z-index: 2;
}

.china-location-icon {
    display: block;
    width: 25px;
    height: 30px;
    fill: #ffffff;
    flex-shrink: 0;
}

.china-contact-copy {
    width: 100%;
}

.china-contact-heading {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    margin: 0 0 16px 0;
}

.china-contact-address {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

/* Tablet */

@media (max-width: 1024px) {
    .mipa-china-contact {
        min-height: 350px;
    }

    .china-contact-text {
        width: 500px;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .mipa-china-contact {
        min-height: 320px;
    }

    .china-bg-image {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

    .china-contact-text {
        width: 90%;
        max-width: 90%;
        gap: 12px;
    }

    .china-contact-copy {
        width: 100%;
    }

    .china-contact-heading {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .china-contact-address {
        font-size: 13px;
        line-height: 1.4;
    }

    .china-location-icon {
        width: 20px;
    }
}

/* =========================
   MIPA FOOTER
========================= */

.mipa-footer {
    width: 100%;
    font-family: Arial, sans-serif;
}

.mipa-footer-top {
    width: 100%;
    height: 59px;
    background: #303030;
}

.mipa-footer-inner {
    max-width: 1110px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.mipa-footer-top .mipa-footer-inner {
    gap: 22px;
}

.mipa-footer-top a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.mipa-footer-top a:hover {
    color: #cccccc;
}

.mipa-footer-bottom {
    width: 100%;
    height: 58px;
    background: #202020;
    color: #555555;
    font-size: 14px;
}

.mipa-footer-bottom .mipa-footer-inner {
    display: flex;
    align-items: center;
}

/* Mobile */

@media (max-width: 768px) {
    .mipa-footer-top {
        height: 55px;
    }

    .mipa-footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mipa-footer-top .mipa-footer-inner {
        gap: 16px;
    }

    .mipa-footer-top a,
    .mipa-footer-bottom {
        font-size: 12px;
    }

    .mipa-footer-bottom {
        height: 55px;
    }
}








/* ==========================================
   CAR REFINISHING SECTION
========================================== */

.car-refinishing,
.industry{
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 773px;
    background: #ffffff;
    overflow: hidden;
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

/* ==========================================
   BLAUER DIAGONALER BALKEN
========================================== */

.car-refinishing-top,
.industry-top {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: #31577f;
    clip-path: polygon(0 0, 100% 0, 100% 79%, 0 24%);
}

.car-refinishing-top::after,
.industry-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(120, 143, 167, 0.65);
    clip-path: polygon(0 24%, 100% 79%, 100% 100%, 0 36%);
}

/* ==========================================
   HAUPTCONTAINER
========================================== */

.car-refinishing-container,
.industry-container {
    position: relative;
    z-index: 1;
    width: min(100% - 48px, 1120px);
    min-height: 773px;
    margin: 0 auto;
    padding-top: 100px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 45px;
}

/* ==========================================
   TEXTBEREICH
========================================== */

.car-refinishing-text,
.industry-text {
    position: relative;
    width: 100%;
    max-width: 550px;
    min-width: 0;

    transform: translateY(-70px);
    opacity: 0;

    animation: carTextFade 1.4s ease 0.3s forwards;
}

.car-refinishing-text h1,
.industry-text h1 {
    color: #555555;
    font-size: clamp(38px, 3.5vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px 0;
}

.car-refinishing-text p,
.industry-text p {
    color: #333333;
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   BILDBEREICH
========================================== */

.car-refinishing-images,
.industry-images {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 600px;
    min-width: 0;
    aspect-ratio: 0.92 / 1;
    margin-top: 30px;
}

/* Hinteres Bild */

.car-image-back,
.industry-image-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    aspect-ratio: 8 / 9;
    overflow: hidden;
    opacity: 0;
    animation: carImageFade 1.5s ease 0.4s forwards;
}

.car-image-back img,
.industry-image-back img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(0.55);
}

/* Vorderes Bild */

.car-image-front,
.industry-image-front {
    position: absolute;
    top: 13%;
    left: 0;
    width: 66%;
    aspect-ratio: 8 / 9;
    overflow: hidden;
    opacity: 0;
    animation: carImageFade 1.5s ease 0.7s forwards;
}

.car-image-front img,
.industry-image-front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ==========================================
   ANIMATIONEN
========================================== */

@keyframes carTextFade {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(-70px);
    }
}

@keyframes carImageFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   KLEINERE DESKTOP-BILDSCHIRME
========================================== */

@media (max-width: 1200px) {

    .car-refinishing {
        min-height: 680px;
    }

    .car-refinishing-top {
        height: 130px;
    }

    .car-refinishing-container {
        width: calc(100% - 60px);
        min-height: 680px;
        padding-top: 75px;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        column-gap: 30px;
    }

    .car-refinishing-text h1 {
        font-size: 46px;
    }

    .car-refinishing-text p {
        font-size: 16px;
    }

    .car-refinishing-images {
        max-width: 520px;
    }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) and (min-width: 701px) {

    .car-refinishing {
        min-height: 600px;
    }

    .car-refinishing-top {
        height: 110px;
    }

    .car-refinishing-container {
        width: calc(100% - 40px);
        min-height: 600px;
        padding-top: 55px;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        column-gap: 20px;
    }

    .car-refinishing-text h1 {
        font-size: 36px;
    }

    .car-refinishing-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .car-refinishing-images {
        max-width: 440px;
        margin-top: 40px;
    }

    .car-image-front {
        top: 13%;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .car-refinishing {
        min-height: auto;
        padding: 25px 0 45px;
    }

    .car-refinishing-top {
        width: 100%;
        height: 90px;
    }

    .car-refinishing-container {
        width: calc(100% - 40px);
        min-height: auto;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .car-refinishing-text {
        width: 100%;
        max-width: none;
        transform: none;
        animation: carTextFadeMobile 1.2s ease 0.2s forwards;
    }

    .car-refinishing-text h1 {
        font-size: clamp(30px, 8vw, 38px);
        margin-bottom: 14px;
    }

    .car-refinishing-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .car-refinishing-images {
        width: 100%;
        max-width: 520px;
        align-self: center;
        aspect-ratio: 0.92 / 1;
        margin: 0;
    }

    .car-image-back {
        width: 82%;
    }

    .car-image-front {
        top: 13%;
        width: 66%;
    }
}

@keyframes carTextFadeMobile {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   KLEINE SMARTPHONES
========================================== */

@media (max-width: 420px) {

    .car-refinishing-container {
        width: calc(100% - 32px);
    }

    .car-refinishing-text h1 {
        font-size: 30px;
    }
}

/* ==========================================
   REDUZIERTE ANIMATION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .car-refinishing-text,
    .car-image-back,
    .car-image-front {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

















/* ==========================================
   MIPA CONTACT AREA
========================================== */

.mipa-contact-area {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 0 0 75px !important;
    overflow: hidden;
    background: #ffffff;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #ffffff;
    display: flow-root;
    box-sizing: border-box;
}

/* ==========================================
   HINTERGRUNDBILD
========================================== */

.mipa-contact-background {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-image: url("../images/standort-essenbach_welle.png");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

/* ==========================================
   WELLENBEREICH
========================================== */

.mipa-contact-area::before {
    content: none;
}

.mipa-contact-wave {
    display: none;
}

/* ==========================================
   INHALTSBEREICH
========================================== */

.mipa-contact-content {
    position: relative;
    z-index: 2;
    width: min(100% - 60px, 1120px);
    margin: 0 auto;
    padding-top: 190px;
    padding-bottom: 0;
    box-sizing: border-box;
}

/* ==========================================
   ÜBERSCHRIFT
========================================== */

.mipa-contact-heading {
    text-align: center;
    margin-bottom: 58px;
}

.mipa-contact-heading h2 {
    color: #ffffff;
    font-size: clamp(34px, 3.3vw, 56px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.mipa-contact-heading > a {
    display: inline-block;
    color: #ffa397;
    font-size: clamp(30px, 3vw, 52px);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

/* ==========================================
   KONTAKTSPALTEN
========================================== */

.mipa-contact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    align-items: start;
    column-gap: 45px;
    width: 100%;
}

.mipa-contact-column {
    min-width: 0;
    color: #ffffff;
}

/* ==========================================
   E-MAIL
========================================== */

.mipa-email-column {
    padding-top: 8px;
}

.mipa-email-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.mipa-email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 26px;
    color: #ffa397;
    font-size: 30px;
    line-height: 1;
}

.mipa-email-row a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mipa-email-row a:hover {
    color: #ffa397;
}

/* ==========================================
   WECHAT
========================================== */

.mipa-wechat-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mipa-wechat-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 7px;
}

.mipa-wechat-qr {
    width: 166px;
    height: 166px;
    padding: 8px;
    background: #ffffff;
    border-radius: 4px;
    box-sizing: border-box;
}

.mipa-wechat-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mipa-wechat-number {
    display: inline-block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    margin-top: 10px;
    text-decoration: none;
}

.mipa-wechat-number:hover {
    color: #ffa397;
}

/* ==========================================
   ADRESSE UND STANDORT-ICON
========================================== */

.mipa-address-row {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.mipa-address-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 34px;
    color: #ffa397;
}

.mipa-address-icon svg {
    display: block;
    width: 27px;
    height: 34px;
    fill: #ffa397;
}

.mipa-address-content {
    min-width: 0;
}

.mipa-address-chinese {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 2;
    margin: 0 0 12px;
}

.mipa-address-english {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0;
}

/* ==========================================
   KLEINERE DESKTOP-BILDSCHIRME
========================================== */

@media (max-width: 1100px) {

    .mipa-contact-area {
        padding-bottom: 55px !important;
    }

    .mipa-contact-content {
        width: calc(100% - 60px);
        padding-top: 175px;
    }

    .mipa-contact-columns {
        column-gap: 25px;
    }

    .mipa-email-row {
        gap: 10px;
    }

    .mipa-email-row a {
        font-size: 14px;
    }

    .mipa-address-chinese {
        font-size: 13px;
        line-height: 1.8;
    }

    .mipa-address-english {
        font-size: 13px;
    }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 800px) {

    .mipa-contact-area {
        padding-bottom: 50px !important;
    }

    .mipa-contact-content {
        width: calc(100% - 50px);
        padding-top: 165px;
    }

    .mipa-contact-heading {
        margin-bottom: 45px;
    }

    .mipa-contact-columns {
        grid-template-columns: 1fr 1fr;
        row-gap: 45px;
    }

    .mipa-email-column {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .mipa-address-column {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
    }

    .mipa-address-row {
        justify-content: flex-start;
    }

    .mipa-wechat-column {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 550px) {

    .mipa-contact-area {
        padding-bottom: 40px !important;
    }

    .mipa-contact-background {
        background-size: auto 100%;
        background-position: center top;
    }

    .mipa-contact-content {
        width: calc(100% - 36px);
        padding-top: 125px;
    }

    .mipa-contact-heading {
        margin-bottom: 38px;
    }

    .mipa-contact-heading h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .mipa-contact-heading > a {
        font-size: 28px;
    }

    .mipa-contact-columns {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
    }

    .mipa-email-column {
        width: 100%;
    }

    .mipa-email-row {
        justify-content: center;
        gap: 10px;
    }

    .mipa-email-row a {
        font-size: 14px;
    }

    .mipa-wechat-column {
        width: 100%;
    }

    .mipa-wechat-qr {
        width: 155px;
        height: 155px;
    }

    .mipa-address-column {
        width: 100%;
        max-width: 380px;
    }

    .mipa-address-row {
        gap: 12px;
    }

    .mipa-address-chinese {
        font-size: 13px;
        line-height: 1.8;
    }

    .mipa-address-english {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ==========================================
   SEHR KLEINE SMARTPHONES
========================================== */

@media (max-width: 360px) {

    .mipa-contact-content {
        width: calc(100% - 28px);
    }

    .mipa-contact-heading h2 {
        font-size: 27px;
    }

    .mipa-contact-heading > a {
        font-size: 24px;
    }

    .mipa-email-row a {
        font-size: 12px;
    }
}






/* ==========================================
   MIPA – LEGAL PAGES
   Imprint und Privacy Notice
========================================== */

/* Gemeinsame Seitenbereiche */

.mipa-imprint-section,
.mipa-privacy-notice-section {
    width: 100%;
    background: #ffffff;
    color: #3f4b57;
    padding: 42px 0 70px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}

/* Inhaltscontainer */

.mipa-imprint-container,
.mipa-privacy-notice-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hauptüberschriften */

.mipa-imprint-container h1,
.mipa-privacy-notice-container h1 {
    margin: 0 0 38px;
    padding: 0;
    color: #555555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
}

/* Zwischenüberschriften */

.mipa-imprint-container h2,
.mipa-privacy-notice-container h2 {
    margin: 20px 0 2px;
    padding: 0;
    color: #3f4b57;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

/* Fließtext */

.mipa-imprint-container p,
.mipa-privacy-notice-container p {
    margin: 0 0 14px;
    padding: 0;
    color: #3f4b57;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}

/* Imprint – einzelne Textbereiche */

.mipa-imprint-company {
    margin-bottom: 18px;
}

.mipa-imprint-block {
    margin-bottom: 18px;
}

/* Links */

.mipa-imprint-container a,
.mipa-privacy-notice-container a {
    color: #3f4b57;
    text-decoration: none;
}

.mipa-imprint-container a:hover,
.mipa-privacy-notice-container a:hover {
    color: #31577f;
    text-decoration: underline;
}

/* Tablet */

@media (max-width: 900px) {

    .mipa-imprint-section,
    .mipa-privacy-notice-section {
        padding: 35px 0 55px;
    }

    .mipa-imprint-container,
    .mipa-privacy-notice-container {
        width: 88%;
    }

    .mipa-imprint-container h1,
    .mipa-privacy-notice-container h1 {
        font-size: 52px;
        margin-bottom: 32px;
    }

    .mipa-imprint-container p,
    .mipa-imprint-container h2,
    .mipa-privacy-notice-container p,
    .mipa-privacy-notice-container h2 {
        font-size: 17px;
    }
}

/* Smartphone */

@media (max-width: 600px) {

    .mipa-imprint-section,
    .mipa-privacy-notice-section {
        padding: 10px 0 45px;
    }

    .mipa-imprint-container,
    .mipa-privacy-notice-container {
        width: 90%;
    }

    .mipa-imprint-container h1,
    .mipa-privacy-notice-container h1 {
        font-size: 40px;
        margin-bottom: 26px;
    }

    .mipa-imprint-container p,
    .mipa-imprint-container h2,
    .mipa-privacy-notice-container p,
    .mipa-privacy-notice-container h2 {
        font-size: 15px;
        line-height: 1.65;
    }

    .mipa-imprint-container h2,
    .mipa-privacy-notice-container h2 {
        margin-top: 18px;
    }
}






/* =========================================
   SCROLL REVEAL – EINBLENDEN OHNE VERSCHIEBUNG
========================================= */

.mipa-reveal-element {
    opacity: 0;
    transition: opacity 2s ease;
}

.mipa-reveal-element.mipa-reveal-visible {
    opacity: 1;
}

/* China Standort: Icon und Text gemeinsam einblenden */

.china-contact-text.mipa-reveal-element {
    transition: opacity 3.5s ease;
}

/* Standort-Icon */

.china-location-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 25px;
    height: 30px;
    flex-shrink: 0;
}

.china-location-icon svg {
    display: block;
    width: 25px;
    height: 30px;
    fill: #ffffff;
}

/* Mobile */

@media (max-width: 768px) {
    .china-location-icon {
        width: 20px;
    }

    .china-location-icon svg {
        width: 20px;
        height: 25px;
    }
}

/* Barrierefreiheit */

@media (prefers-reduced-motion: reduce) {
    .mipa-reveal-element {
        opacity: 1;
        transition: none;
    }
}


/* =========================================
   ABOUT TEXT – SLIDE IN VON RECHTS
========================================= */

.mipa-about-text.mipa-reveal-element {
    opacity: 0;
    transform: translateX(35px);

    transition:
        opacity 1.2s ease,
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);

    transition-delay: 0.3s;
}

.mipa-about-text.mipa-reveal-element.mipa-reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .mipa-about-text.mipa-reveal-element {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ==========================================
   INDUSTRY – MOBILE wie CAR REFINISHING
========================================== */

@media (max-width: 700px) {

    .industry {
        min-height: auto;
        padding: 25px 0 45px;
    }

    .industry-top {
        width: 100%;
        height: 90px;
    }

    .industry-container {
        width: calc(100% - 40px);
        min-height: auto;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .industry-text {
        width: 100%;
        max-width: none;
        transform: none;
        animation: carTextFadeMobile 1.2s ease 0.2s forwards;
    }

    .industry-text h1 {
        font-size: clamp(30px, 8vw, 38px);
        margin-bottom: 14px;
    }

    .industry-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .industry-images {
        width: 100%;
        max-width: 520px;
        align-self: center;
        aspect-ratio: 0.92 / 1;
        margin: 0;
    }

    .industry-image-back {
        width: 82%;
    }

    .industry-image-front {
        top: 13%;
        width: 66%;
    }
}

@media (max-width: 420px) {

    .industry-container {
        width: calc(100% - 32px);
    }

    .industry-text h1 {
        font-size: 30px;
    }
}



/* Footer auf Smartphones zentrieren */
@media (max-width: 768px) {

    .mipa-footer-top .mipa-footer-inner {
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
        gap: 16px;
    }

    .mipa-footer-bottom .mipa-footer-inner {
        justify-content: center;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
}



/* Mobile: Hero-Bereich näher an den Header */
@media (max-width: 760px) {
    .mipa-hero {
        margin-top: 25px;
    }
}


/* ==========================================
   RECHTSSEITEN – FOOTER UNTEN FIXIEREN
========================================== */

html {
    min-height: 100%;
}

body.mipa-legal-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.mipa-legal-page > header {
    flex: 0 0 auto;
}

body.mipa-legal-page > main {
    flex: 1 0 auto;
}

body.mipa-legal-page > footer {
    flex: 0 0 auto;
    margin-top: auto;
}








