

body {
    margin: 0;
    background: #fff !important;
    color: #222;
}
.jtpl-content  {
    max-width: 100% !important;
    width: 100% !important;
}

.jtpl-section-main, .content-options-box, .cc-content-parent {
    background: #fff !important;
}
.neubau-wrapper {
    width: 100%;
    margin-top: 40px;
    background: #fff !important;
}

.neubau-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 60px;
    background: transparent !important;
}

.neubau-intro {
    margin-bottom: 60px;
    text-align: center;
}

.neubau-intro h1 {
    font-family: 'Bellefair', serif !important;
    font-weight: 400 !important;
    margin: 0 0 16px !important;
    font-size: 4.6rem !important;
    line-height: 1.8 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.01em !important;
    color: #000 !important;
}

.neubau-intro p {
    font-family: "Source Sans 3", sans-serif  !important;
    font-weight: 300 !important;
    max-width: 84ch;
    margin: 0 auto !important;
    font-size: 2.20rem !important;
    line-height: 1.7 !important;
    color: #785a2a !important;
}

.neubau-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px !important;
    row-gap: 28px !important;
}

.neubau-thumb {
    opacity: 0;
    transform: translateY(30px);
    animation: thumbFadeUp 0.7s ease forwards;
     margin-bottom: 30px !important;
}

.neubau-thumb:nth-child(1)  { animation-delay: 0.05s; }
.neubau-thumb:nth-child(2)  { animation-delay: 0.10s; }
.neubau-thumb:nth-child(3)  { animation-delay: 0.15s; }
.neubau-thumb:nth-child(4)  { animation-delay: 0.20s; }
.neubau-thumb:nth-child(5)  { animation-delay: 0.25s; }
.neubau-thumb:nth-child(6)  { animation-delay: 0.30s; }
.neubau-thumb:nth-child(7)  { animation-delay: 0.35s; }
.neubau-thumb:nth-child(8)  { animation-delay: 0.40s; }
.neubau-thumb:nth-child(9)  { animation-delay: 0.45s; }
.neubau-thumb:nth-child(10) { animation-delay: 0.50s; }
.neubau-thumb:nth-child(11) { animation-delay: 0.55s; }
.neubau-thumb:nth-child(12) { animation-delay: 0.60s; }
.neubau-thumb:nth-child(13) { animation-delay: 0.65s; }
.neubau-thumb:nth-child(14) { animation-delay: 0.70s; }
.neubau-thumb:nth-child(15) { animation-delay: 0.75s; }
.neubau-thumb:nth-child(16) { animation-delay: 0.80s; }
.neubau-thumb:nth-child(17) { animation-delay: 0.85s; }
.neubau-thumb:nth-child(18) { animation-delay: 0.90s; }
.neubau-thumb:nth-child(19) { animation-delay: 0.95s; }
.neubau-thumb:nth-child(20) { animation-delay: 1.00s; }
.neubau-thumb:nth-child(21) { animation-delay: 1.05s; }
.neubau-thumb:nth-child(22) { animation-delay: 1.10s; }
.neubau-thumb:nth-child(23) { animation-delay: 1.15s; }
.neubau-thumb:nth-child(24) { animation-delay: 1.20s; }
.neubau-thumb:nth-child(25) { animation-delay: 1.25s; }
.neubau-thumb:nth-child(26) { animation-delay: 1.30s; }
.neubau-thumb:nth-child(27) { animation-delay: 1.35s; }
.neubau-thumb:nth-child(28) { animation-delay: 1.40s; }
.neubau-thumb:nth-child(29) { animation-delay: 1.45s; }
.neubau-thumb:nth-child(30) { animation-delay: 1.50s; }
.neubau-thumb:nth-child(31) { animation-delay: 1.55s; }
.neubau-thumb:nth-child(32) { animation-delay: 1.60s; }
.neubau-thumb:nth-child(33) { animation-delay: 1.65s; }
.neubau-thumb:nth-child(34) { animation-delay: 1.70s; }
.neubau-thumb:nth-child(35) { animation-delay: 1.75s; }
.neubau-thumb:nth-child(36) { animation-delay: 1.80s; }
.neubau-thumb:nth-child(37) { animation-delay: 1.85s; }
.neubau-thumb:nth-child(38) { animation-delay: 1.90s; }
.neubau-thumb:nth-child(39) { animation-delay: 1.95s; }
.neubau-thumb:nth-child(40) { animation-delay: 2.00s; }
.neubau-thumb:nth-child(41) { animation-delay: 2.05s; }
.neubau-thumb:nth-child(42) { animation-delay: 2.10s; }
.neubau-thumb:nth-child(43) { animation-delay: 2.15s; }
.neubau-thumb:nth-child(44) { animation-delay: 2.20s; }
.neubau-thumb:nth-child(45) { animation-delay: 2.25s; }
.neubau-thumb:nth-child(46) { animation-delay: 2.30s; }

.neubau-thumb-link {
    display: block;
    position: absolute;
    text-decoration: none;
    color: inherit;
    z-index: 20;
    inset: 0;
}

.neubau-figure {
    position: relative;
}

.neubau-thumb figure {
    margin: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    cursor: pointer !important;
    padding: 0 0 10px 0 !important;
}

.neubau-thumb:hover figure {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.neubau-thumb-image-wrap {
    position: relative;
    overflow: hidden;
}

.neubau-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.neubau-thumb:hover img {
    transform: scale(1.06);
}

.neubau-location {
    font-family: "Source Sans 3", sans-serif  !important;
    font-weight: 400 !important;
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-block;
    padding: 2px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 999px;
    font-size: 1.44rem;
    pointer-events: none !important;
}

.neubau-thumb figcaption {
    padding: 20px;
}

.neubau-thumb h2 {
    font-family: 'Bellefair', serif !important;
    font-weight: 400 !important;
    margin: 0 0 10px !important;
    font-size: 2.66rem !important;
    line-height: 1.3 !important;
    color: #000 !important;
    text-align: left !important;
}

.neubau-thumb p {
    margin: 0 0 0;
    color: #0078a8 !important;
    font-size: 1.7rem !important;
    line-height: 1.6 !important;
}
.neubau-thumb p::before {
    content: "";
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    margin-right: 8px !important;
    margin-bottom: 3px !important;
    background: url("https://www.agas-immobilien-makler.de/images/basics/neubau-projekte-berlin.png") no-repeat center / contain;
    vertical-align: middle !important;
}

.neubau-meta {
    display: inline-block !important;
    font-size: 1.3rem !important;
    color: #0078a8 !important;
}

@keyframes thumbFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .neubau-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .neubau-content {
          padding: 10px 1% 60px;
    }
    .neubau-grid {
        grid-template-columns: 1fr;
         column-gap: 0 !important;
         row-gap: 15px !important;
    }

    .neubau-intro h1 {
        font-size: 2.9rem !important;
        line-height: 1.5 !important;
    }
    .neubau-intro p {
       max-width: 84ch;
       font-size: 1.90rem !important;
       line-height: 1.7 !important;
    }
}
.neubau-closing {
    margin-top: 80px;
    padding: 40px 20px 10px;
}
.neubau-closing-inner {
    width: auto;
    margin: 0 auto 54px;
}
.neubau-closing-inner:last-child {
    margin-bottom: 0;
}

.neubau-closing h2 {
    font-family: 'Bellefair', serif !important;
    font-weight: 400 !important;
    margin: 0 0 18px !important;
    font-size: 2.7rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    color: #000 !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

.neubau-closing p {
     max-width: 133ch;
    font-family: "Source Sans 3", sans-serif !important;
    font-weight: 300 !important;
    margin: 0 0 14px !important;
    font-size: 1.6rem !important;
    line-height: 1.7 !important;
}

.closing-color-01 {
    color: #785a2a !important;
}
.closing-color-02 {
    color: #0078a8 !important;
}

.neubau-closing p:last-child {
    margin-bottom: 0 !important;
}
@media (max-width: 991px) {
    .neubau-closing {
        margin-top: 60px;
        padding-top: 40px;
    }

    .neubau-closing h2 {
        font-size: 2.35rem !important;
    }

    .neubau-closing p {
        font-size: 1.3rem !important;
        line-height: 1.75 !important;
    }
}

@media (max-width: 640px) {
    .neubau-closing {
        margin-top: 45px;
        padding-top: 32px;
    }

    .neubau-closing-inner {
        margin-bottom: 38px;
    }

    .neubau-closing h2 {
        font-size: 1.95rem !important;
        line-height: 1.25 !important;
    }

    .neubau-closing p {
        font-size: 1.08rem !important;
        line-height: 1.7 !important;
    }
}

/* **************************** Neubau Linkübersicht Premium Editorial **************************** */
 .neubau-linkuebersicht-premium {
     width: 100%;
     margin: 80px 0 60px 0;
     padding: 0;
     background: transparent !important;
}
 .neubau-linkuebersicht-premium-inner {
     max-width: 1200px;
     margin: 0 auto;
     padding: 28px 20px 0 20px;
     background: transparent !important;
}
 .neubau-linkuebersicht-intro {
     max-width: 94ch;
     margin: 12px 0 42px 0 !important;
     font-family: "Source Sans 3", sans-serif !important;
     font-size: 20px !important;
     font-weight: 300 !important;
     letter-spacing: 0.03em !important;
     line-height: 1.6 !important;
     color: #785a2a !important;
     text-align: left !important;
}
.neubau-transition {
    margin: 20px 0;
    padding: 20px 20px 0;
}
.neubau-transition-inner {
    width: auto;
    margin: 0 auto;
}
.neubau-transition-inner:last-child {
    margin-bottom: 0;
}
 .neubau-transition-inner p {
     max-width: 92ch;
     margin: 0 !important;
     font-family: "Source Sans 3", sans-serif;
     font-size: 22px;
     font-weight: 300;
     line-height: 1.7;
     letter-spacing: 0.02em;
     color: #785a2a;
}
 .neubau-linkgruppen-premium {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 42px 64px;
     align-items: start;
}
 .neubau-linkgruppe-premium {
     display: block;
}
 .neubau-linkgruppe-premium h3 {
     margin: 0 0 16px 0 !important;
     font-family: 'Bellefair', serif !important;
     font-size: 22px !important;
     font-weight: 400 !important;
     line-height: 1.35 !important;
     letter-spacing: 0 !important;
     text-transform: uppercase !important;
     color: #000 !important;
     text-align: left !important;
}
 .neubau-linkliste-premium {
     display: flex;
     flex-direction: column;
     gap: 10px;
}
 .neubau-linkliste-premium a {
     position: relative;
     display: block;
     padding-left: 22px;
     font-family: "Source Sans 3", sans-serif !important;
     font-size: 18px !important;
     font-weight: 400 !important;
     line-height: 1.65 !important;
     letter-spacing: 0.01em !important;
     color: #0078a8 !important;
     text-decoration: none !important;
     transition: color 0.2s ease-in-out !important;
}
 .neubau-linkliste-premium a::before {
     content: "";
     position: absolute;
     left: 0;
     top: 9px;
     width: 11px;
     height: 11px;
     background-image: url("https://www.agas-immobilien-makler.de/images/basics/neubau-projekte-berlin.png");
     background-size: contain;
     background-repeat: no-repeat;
     opacity: 0.5;
     transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}
 .neubau-linkliste-premium a:hover {
     color: #ff6600 !important;
}
 .neubau-linkliste-premium a:hover::before {
     opacity: 1;
     transform: scale(1.05);
}
 .neubau-linkgruppe-premium:last-child, .neubau-linkgruppe-premium:nth-last-child(2) {
     margin-bottom: 0;
}
/* **************************** Responsive **************************** */
 @media all and (max-width: 900px) {
     .neubau-linkuebersicht-premium {
         margin: 60px 0 40px 0;
    }
     .neubau-linkuebersicht-premium-inner {
         padding: 22px 15px 0 15px;
    }
     .neubau-linkgruppen-premium {
         grid-template-columns: 1fr;
         gap: 32px 0;
    }
     .neubau-linkgruppe-premium h3 {
         font-size: 20px !important;
    }
     .neubau-linkliste-premium a {
         font-size: 17px !important;
         line-height: 1.7 !important;
         padding-left: 20px;
    }
     .neubau-linkliste-premium a::before {
         width: 10px;
         height: 10px;
         top: 8px;
    }
}
 @media all and (max-width: 640px) {
     .neubau-linkuebersicht-intro {
         font-size: 17px !important;
         line-height: 1.75 !important;
    }
     .neubau-linkgruppe-premium h3 {
         font-size: 19px !important;
    }
     .neubau-linkliste-premium {
         gap: 8px;
    }
     .neubau-linkliste-premium a {
         font-size: 16px !important;
    }
}