/* =========================================================================
   ALEXANDER RINGSMUTH IMMOBILIEN - CORPORATE DESIGN STYLESHEET
   Editorial & Architektur-Collage Edition
   Pfad: /hp26/css/default/style.css
   ========================================================================= */

/* =========================================================================
   LOKALE SCHRIFTARTEN (DSGVO-KONFORM)
   ========================================================================= */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../../fonts/lato-v25-latin-100.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../../fonts/lato-v25-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../fonts/lato-v25-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../fonts/lato-v25-latin-700.woff2') format('woff2');
}

:root {
    /* Corporate Design & Editorial Farbdefinitionen (abgestimmt auf Titelbild) */
    --color-primary: #7A1622;       /* Edles Weinrot / Bordeaux aus dem Titelbild */
    --color-primary-deep: #520D15;  /* Tiefes Bordeaux für Hover & Kontraste */
    --color-black: #1A1918;         /* Weiches Architekturschwarz */
    --color-gray: #8C8881;          /* Warmes Steingrau */
    --color-beige: #DFD7C8;         /* Sand-Beige aus den Collage-Flächen */
    --color-cream: #F6F4EF;         /* Warmes Galerie-Weiß */
    --color-brown: #734226;         /* Warmbraun */
    --color-white: #FFFFFF;

    /* Feine Editorial-Linien (1px Haarlinien wie im Titelbild) */
    --line-thin: 1px solid rgba(122, 22, 34, 0.35);
    --line-solid: 1px solid var(--color-primary);
    --line-subtle: 1px solid rgba(26, 25, 24, 0.14);

    --font-main: 'Lato', sans-serif;

    /* Schatten für weiße Schrift auf Bildern (ohne Abdunklung) */
    --shadow-on-image: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8))
                       drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Base Reset & Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    font-weight: 300;
    color: var(--color-black);
    line-height: 1.65;
    background-color: var(--color-cream);
}

/* Typografie im Editorial-Stil */
h1, h2, h3, h4 {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

h1 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Überschrift mit feiner, überstehender Editorial-Linie & kleinem Farbakzent */
h2 {
    position: relative;
    font-size: 1.75rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0 1.2rem 0.6rem;
    border-bottom: var(--line-solid);
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 24px;
    height: 5px;
    background-color: var(--color-primary);
}

h3 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
    letter-spacing: 1.8px;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a.text-link {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 22, 34, 0.4);
    transition: border-color 0.25s;
}
a.text-link:hover {
    border-bottom-color: var(--color-primary);
}

/* =========================================================================
   STICKY HEADER BASE (FEINE LINIEN & GEOMETRISCHER AKZENT)
   ========================================================================= */

header.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-bottom: var(--line-solid);
    z-index: 9999;
}

/* Feiner weinroter Block oben links am Header wie im Titelbild */
header.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background-color: var(--color-primary);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* =========================================================================
   1. DESKTOP ANSICHT (> 1024px): LOGO MITTIG, NAV MIT FEINER TRENNLINIE
   ========================================================================= */

@media (min-width: 1025px) {
    /* Außenbereich in zartem Galerie-Creme mit feinen vertikalen Rasterlinien */
    body {
        background-color: var(--color-cream);
        background-image: linear-gradient(
            90deg,
            transparent calc(50% - 600px),
            rgba(122, 22, 34, 0.18) calc(50% - 600px),
            rgba(122, 22, 34, 0.18) calc(50% - 599px),
            transparent calc(50% - 599px),
            transparent calc(50% + 599px),
            rgba(122, 22, 34, 0.18) calc(50% + 599px),
            rgba(122, 22, 34, 0.18) calc(50% + 600px),
            transparent calc(50% + 600px)
        );
    }

    header.site-header {
        background-color: var(--color-white);
    }

    /* Lesebereich klar mit feinen 1px Linien abgegrenzt statt schwerem Schatten */
    .section {
        background-color: var(--color-white);
        border-left: var(--line-thin);
        border-right: var(--line-thin);
    }

    .section-hero,
    .section-bg-beige {
        background-color: inherit;
        border-left: none;
        border-right: none;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 1.5rem 0.7rem;
    }

    .logo-link {
        display: inline-block;
        margin-bottom: 0.8rem;
    }

    .site-logo {
        max-height: 68px;
        width: auto;
        display: block;
    }

    .hamburger-btn {
        display: none;
    }

    .main-nav {
        width: 100%;
        border-top: var(--line-thin);
        padding-top: 0.65rem;
    }

    .main-nav ul {
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 2.2rem;
    }

    .main-nav a {
        position: relative;
        text-decoration: none;
        color: var(--color-black);
        font-size: 0.85rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1.4px;
        padding-bottom: 4px;
        transition: color 0.3s;
    }

    .main-nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 1px;
        background-color: var(--color-primary);
        transition: width 0.3s ease;
    }

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

    .main-nav a:hover::after {
        width: 100%;
    }
}

/* =========================================================================
   2. TABLET ANSICHT (769px BIS 1024px)
   ========================================================================= */

@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 1.5rem 0.6rem;
    }

    .site-logo {
        max-height: 55px;
        width: auto;
        margin-bottom: 0.6rem;
    }

    .hamburger-btn {
        display: none;
    }

    .main-nav {
        width: 100%;
        border-top: var(--line-thin);
        padding-top: 0.5rem;
    }

    .main-nav ul {
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 1.2rem;
    }

    .main-nav a {
        text-decoration: none;
        color: var(--color-black);
        font-size: 0.82rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }
}

/* =========================================================================
   3. HANDY / MOBIL ANSICHT (<= 768px)
   ========================================================================= */

@media (max-width: 768px) {
    header.site-header::before {
        width: 5px;
    }

    .header-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 1rem 0.6rem 1.2rem;
    }

    .logo-link {
        display: flex;
        align-items: center;
    }

    .site-logo {
        max-height: 42px;
        width: auto;
    }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10001;
    }

    .hamburger-bar {
        display: block;
        width: 100%;
        height: 1.5px;
        background-color: var(--color-primary);
        transition: all 0.3s ease-in-out;
    }

    .hamburger-btn.is-active .hamburger-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger-btn.is-active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.is-active .hamburger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        border-top: var(--line-thin);
        border-bottom: var(--line-solid);
    }

    .main-nav.is-active {
        display: block !important;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--color-beige);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 0.95rem 1.5rem;
        text-decoration: none;
        color: var(--color-black);
        font-size: 0.9rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .main-nav a:hover {
        background-color: var(--color-cream);
        color: var(--color-primary);
    }

    .btn {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .btn:first-child {
        margin-top: 0;
    }
}

/* =========================================================================
   SEKTIONS-KOPFBILDER & EDITORIAL-RAHMEN
   ========================================================================= */

/* 1. HERO-SEKTION (Titelbild 1.jpg mit feiner unterer Abschlusslinie) */
.section-hero {
    position: relative;
    background: url('images/1.jpg') center/cover no-repeat;
    color: var(--color-white);
    text-align: center;
    padding: 6rem 1.5rem 5rem;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: var(--line-solid);
}

/* Feine innere Rahmenlinie im Hero (spiegelt das Titelbild-Raster wider) */
.section-hero::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-hero h1 {
    color: var(--color-white);
    filter: var(--shadow-on-image);
    margin-bottom: 1rem;
}

.section-hero h3 {
    color: var(--color-white);
    filter: var(--shadow-on-image);
    margin-bottom: 0.5rem;
}

.section-hero p {
    color: var(--color-white);
    filter: var(--shadow-on-image);
    font-size: 1.1rem;
}

/* 2. ALLGEMEINE SEKTIONS-BANNER (Kopfbilder 2.jpg bis 5.jpg im Collage-Rahmen) */
.section-header-banner {
    position: relative;
    width: 100%;
    padding: 3.2rem 1.5rem;
    margin-bottom: 2.5rem;
    border: var(--line-solid);
    text-align: center;
    border-radius: 0; /* Scharfe Architektur-Kanten statt Rundungen */
    overflow: visible;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Versetzter feiner 1px Außenrahmen wie bei den Bildkacheln im Titelbild */
.section-header-banner::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 6px;
    right: -6px;
    bottom: 6px;
    border: var(--line-thin);
    pointer-events: none;
    z-index: 1;
}

/* Kleiner weinroter Eck-Akzent unten links */
.section-header-banner::before {
    content: '';
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: 48px;
    height: 6px;
    background-color: var(--color-primary);
    z-index: 3;
}

.section-header-banner h2 {
    position: relative;
    z-index: 2;
    color: var(--color-white) !important;
    border-bottom: 1px solid var(--color-white);
    margin-bottom: 0;
    display: inline-block;
    padding: 0 1rem 6px;
    filter: var(--shadow-on-image);
}

.section-header-banner h2::before {
    background-color: var(--color-primary);
    height: 4px;
}

.banner-sec-2 { background-image: url('images/2.jpg'); }
.banner-sec-3 { background-image: url('images/3.jpg'); }
.banner-sec-4 { background-image: url('images/4.jpg'); }
.banner-sec-5 { background-image: url('images/5.jpg'); }

.text-center {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .section-hero {
        padding: 4.5rem 1.5rem 4rem;
        min-height: 420px;
    }

    .section-header-banner {
        padding: 2.4rem 1.2rem;
        margin-bottom: 1.8rem;
    }

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

@media (max-width: 768px) {
    .section-hero {
        padding: 3.5rem 1rem 3rem;
        min-height: 340px;
    }

    .section-hero::after {
        inset: 8px;
    }

    .section-hero p {
        font-size: 0.95rem;
    }

    .section-header-banner {
        padding: 1.8rem 1rem;
        margin-bottom: 1.5rem;
    }

    .section-header-banner::after {
        display: none;
    }

    .section-header-banner h2 {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
}

/* =========================================================================
   LAYOUT SEKTIONEN, RASTER, FORMULARE & FOOTER (EDITORIAL GRID)
   ========================================================================= */

.section {
    position: relative;
    padding: 4.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: var(--line-thin);
}

.section-bg-beige {
    background-color: var(--color-cream);
    max-width: 100%;
    border-top: var(--line-solid);
    border-bottom: var(--line-solid);
}

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

/* Buttons: scharfe Kanten, feiner Rahmen & versetzte Doppelkontur beim Hover */
.btn {
    position: relative;
    display: inline-block;
    padding: 0.85rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    border: 1px solid var(--color-primary);
    border-radius: 0;
    margin: 4px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, transform 0.2s;
    font-family: var(--font-main);
    text-align: center;
}

.btn::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--color-primary);
    pointer-events: none;
    transition: transform 0.2s ease;
}

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

.btn:hover::after {
    transform: translate(-2px, -2px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.btn-secondary::after {
    border-color: rgba(26, 25, 24, 0.45);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Suchkarte & Lead-Formulare im Collage-Rahmen-Design */
.search-card,
.lead-form {
    position: relative;
    background: var(--color-white);
    padding: 2.2rem;
    border: var(--line-solid);
    max-width: 820px;
    margin: 2.2rem auto 0;
    text-align: left;
    color: var(--color-black);
}

.lead-form {
    max-width: 100%;
}

/* Weinroter geometrischer Block links (wie im Titelbild) */
.search-card::before,
.lead-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 8px;
    height: 65%;
    background-color: var(--color-primary);
}

/* Feiner versetzter 1px Außenrahmen */
.search-card::after,
.lead-form::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: -7px;
    bottom: -7px;
    border: var(--line-thin);
    pointer-events: none;
}

.search-card-title {
    margin-bottom: 1.2rem;
    color: var(--color-primary);
    padding-bottom: 0.5rem;
    border-bottom: var(--line-thin);
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(26, 25, 24, 0.25);
    border-radius: 0;
    background-color: var(--color-cream);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.25s, background-color 0.25s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.form-control-mb {
    margin-bottom: 0.5rem;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.consent-box {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-black);
}

.consent-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.consent-checkbox {
    margin-top: 3px;
    accent-color: var(--color-primary);
}

/* Raster & Karten im Architektur-Collage-Stil */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.4rem;
    margin-top: 2.2rem;
}

.grid-2-compact {
    margin-top: 0;
    gap: 1.2rem;
}

.card {
    position: relative;
    background: var(--color-white);
    padding: 2.2rem;
    border: var(--line-thin);
    transition: border-color 0.3s ease;
}

/* Weinroter geometrischer Akzent-Balken oben links auf jeder Karte */
.card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 44px;
    height: 5px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

/* Feiner versetzter 1px Editorial-Rahmen */
.card::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: -6px;
    bottom: -6px;
    border: 1px solid rgba(122, 22, 34, 0.22);
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.card:hover {
    border-color: var(--color-primary);
}

.card:hover::before {
    width: 90px;
}

.card:hover::after {
    border-color: rgba(122, 22, 34, 0.55);
}

.card-secondary::before {
    background-color: var(--color-black);
}

.card-title-black {
    color: var(--color-black);
}

.card-plain::before {
    display: none;
}

.card-list {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.card-list li {
    margin-bottom: 0.35rem;
}

/* Footer mit feiner weinroter Oberkante & Rasterlinien */
footer {
    position: relative;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 3.5rem 1.5rem 1.8rem;
    margin-top: 4rem;
    border-top: 4px solid var(--color-primary);
}

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

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

.footer-grid > div {
    padding-left: 1.2rem;
    border-left: 1px solid rgba(223, 215, 200, 0.25);
}

.footer-title {
    color: var(--color-white);
    margin-bottom: 0.8rem;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.footer-title::before {
    display: none;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--color-beige);
    margin: 0;
}

.footer-legal {
    border-top: 1px solid rgba(223, 215, 200, 0.25);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-beige);
}

.footer-legal p {
    margin-bottom: 0.5rem;
}

.footer-legal a {
    color: var(--color-beige);
    text-decoration: none;
    margin: 0 0.6rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--color-white);
}

.footer-login-link {
    color: var(--color-primary) !important;
    font-weight: 400;
}

.footer-subtext {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin: 0;
}

/* =========================================================================
   SCROLL-DYNAMIK: DIE SEITE SETZT SICH BEIM SCROLLEN SELBST ZUSAMMEN
   ========================================================================= */

html {
    overflow-x: hidden;
}
body {
    overflow-x: clip;
}

:root {
    --rs-dist: 60px;
    --rs-tilt: 0deg;
    --rs-range: entry 0% cover 30%;
}

@media (max-width: 1024px) {
    :root {
        --rs-dist: 35vw;
        --rs-tilt: 1.5deg;
    }
}

@media (max-width: 768px) {
    :root {
        --rs-dist: 70vw;
        --rs-tilt: 3deg;
        --rs-range: entry 0% cover 35%;
    }
}

@keyframes rs-in-left {
    from {
        opacity: 0;
        transform: translateX(calc(var(--rs-dist) * -1)) rotate(calc(var(--rs-tilt) * -1));
    }
    60% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes rs-in-right {
    from {
        opacity: 0;
        transform: translateX(var(--rs-dist)) rotate(var(--rs-tilt));
    }
    60% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Bildbanner werden scharfkantig wie Architektur-Schiebeelemente aufgezogen */
@keyframes rs-reveal-left {
    from { clip-path: inset(-10px 100% -10px -10px); }
    to   { clip-path: inset(-10px -10px -10px -10px); }
}

@keyframes rs-reveal-right {
    from { clip-path: inset(-10px -10px -10px 100%); }
    to   { clip-path: inset(-10px -10px -10px -10px); }
}

@keyframes rs-hero-bg {
    to { background-position: center 80%; }
}

@keyframes rs-hero-out {
    to {
        opacity: 0.15;
        transform: translateY(-60px) scale(0.96);
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {

        .section-header-banner,
        .section-header-banner h2,
        .grid-2 > *,
        :is(.section, .container-inner) > :is(h1, h3, h4, p, ul, ol, .btn, .text-center),
        .search-card,
        .lead-form,
        .footer-grid > *,
        .footer-legal {
            animation-timing-function: ease-out;
            animation-fill-mode: both;
            animation-duration: auto;
            animation-timeline: view();
            animation-range: var(--rs-range);
        }

        .banner-sec-2,
        .banner-sec-4 {
            animation-name: rs-reveal-left;
        }

        .banner-sec-3,
        .banner-sec-5 {
            animation-name: rs-reveal-right;
        }

        .banner-sec-2 h2,
        .banner-sec-4 h2 {
            animation-name: rs-in-right;
            animation-range: entry 20% cover 40%;
        }

        .banner-sec-3 h2,
        .banner-sec-5 h2 {
            animation-name: rs-in-left;
            animation-range: entry 20% cover 40%;
        }

        :is(.section, .container-inner) > :is(h1, h3, h4, p, ul, ol, .btn, .text-center):nth-child(odd) {
            animation-name: rs-in-left;
        }

        :is(.section, .container-inner) > :is(h1, h3, h4, p, ul, ol, .btn, .text-center):nth-child(even) {
            animation-name: rs-in-right;
        }

        .grid-2 > :nth-child(odd) {
            animation-name: rs-in-left;
        }

        .grid-2 > :nth-child(even) {
            animation-name: rs-in-right;
        }

        .search-card {
            animation-name: rs-in-right;
        }

        .lead-form {
            animation-name: rs-in-left;
        }

        .footer-grid > :nth-child(odd) {
            animation-name: rs-in-left;
        }

        .footer-grid > :nth-child(even) {
            animation-name: rs-in-right;
        }

        .footer-legal {
            animation-name: rs-in-left;
        }

        .section-hero {
            animation: rs-hero-bg linear both;
            animation-timeline: scroll(root);
            animation-range: 0 100vh;
        }

        .hero-content {
            animation: rs-hero-out linear both;
            animation-timeline: view();
            animation-range: exit 0% exit 100%;
        }

        .no-scroll-anim,
        .no-scroll-anim * {
            animation: none !important;
        }
    }
}
```[cite: 5]