/* =========================================================
   Hello4You – Grunddesign
   ========================================================= */

:root {
    --h4y-primary: #c98663;
    --h4y-primary-dark: #a9684b;
    --h4y-rose: #e7c1b2;
    --h4y-gold: #d7a878;

    --h4y-dark: #231f20;
    --h4y-text: #4d4542;
    --h4y-muted: #7c706a;

    --h4y-bg: #fbf7f3;
    --h4y-bg-soft: #f7eee8;
    --h4y-white: #ffffff;

    --h4y-border: #eadfd8;

    --h4y-radius-sm: 10px;
    --h4y-radius: 16px;
    --h4y-radius-lg: 22px;

    --h4y-shadow:
        0 10px 30px rgba(72, 48, 38, 0.08);
}


/* =========================================================
   Seitenbasis
   ========================================================= */

body {
    background-color: var(--h4y-bg);
    color: var(--h4y-text);
}


/* =========================================================
   Header
   ========================================================= */

#astroid-header,
.astroid-header-section {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--h4y-border);
    box-shadow: 0 4px 18px rgba(72, 48, 38, 0.04);
}


/* etwas mehr Luft im Header */
#astroid-header .container,
.astroid-header-section .container {
    padding-top: 8px;
    padding-bottom: 8px;
}


/* =========================================================
   Logo
   ========================================================= */

.astroid-logo img,
.astroid-logo-default img {
    max-height: 82px;
    width: auto;
}


/* =========================================================
   Hauptnavigation
   ========================================================= */

.astroid-nav .nav-link,
.astroid-nav .menu-item > a,
.astroid-nav a {
    color: var(--h4y-dark);
    font-weight: 500;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* Hover */
.astroid-nav .nav-link:hover,
.astroid-nav .menu-item > a:hover,
.astroid-nav a:hover {
    color: var(--h4y-primary);
}


/* aktiver Menüpunkt */
.astroid-nav .active > .nav-link,
.astroid-nav .current > .nav-link,
.astroid-nav .menu-item.active > a,
.astroid-nav .menu-item.current > a {
    color: var(--h4y-primary);
}


/* =========================================================
   Dropdown
   ========================================================= */

.astroid-nav .dropdown-menu,
.astroid-nav .megamenu-container {
    background: var(--h4y-white);
    border: 1px solid var(--h4y-border);
    border-radius: var(--h4y-radius-sm);
    box-shadow: var(--h4y-shadow);
}


/* Dropdown Links */
.astroid-nav .dropdown-menu a {
    color: var(--h4y-dark);
}


/* Dropdown Hover */
.astroid-nav .dropdown-menu a:hover {
    background-color: var(--h4y-bg-soft);
    color: var(--h4y-primary);
}


/* =========================================================
   Buttons – Grundstil
   ========================================================= */

.btn-primary,
.uk-button-primary {
    background-color: var(--h4y-primary);
    border-color: var(--h4y-primary);
    color: #fff;
    border-radius: var(--h4y-radius-sm);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.btn-primary:hover,
.btn-primary:focus,
.uk-button-primary:hover,
.uk-button-primary:focus {
    background-color: var(--h4y-primary-dark);
    border-color: var(--h4y-primary-dark);
    color: #fff;
}


/* sekundärer Button */
.btn-outline-primary {
    color: var(--h4y-primary);
    border-color: var(--h4y-primary);
    border-radius: var(--h4y-radius-sm);
}


.btn-outline-primary:hover {
    background-color: var(--h4y-primary);
    border-color: var(--h4y-primary);
    color: #fff;
}

/* =========================================================
   Hello4You – Header Feintuning
   ========================================================= */

/* Header insgesamt */
#astroid-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eadfd8;
    box-shadow: 0 4px 18px rgba(72, 48, 38, 0.05);
}


/* Header-Innenbereich */
#astroid-header .container {
    min-height: 92px;
}


/* Logo */
#astroid-header .astroid-logo img {
    max-height: 72px;
    width: auto;
}


/* Hauptnavigation */
#astroid-header .astroid-nav > li > a,
#astroid-header .nav-item > a {
    color: #231f20;
    font-size: 15px;
    font-weight: 500;
    padding-left: 13px;
    padding-right: 13px;
}


/* Hover */
#astroid-header .astroid-nav > li > a:hover,
#astroid-header .nav-item > a:hover {
    color: #c98663;
}


/* Aktiver Menüpunkt */
#astroid-header .astroid-nav > li.active > a,
#astroid-header .nav-item.active > a,
#astroid-header .nav-item.current > a {
    color: #c98663;
}


/* Dropdown */
#astroid-header .dropdown-menu {
    border: 1px solid #eadfd8;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(72, 48, 38, 0.10);
    padding: 8px;
}


/* Dropdown-Menüpunkte */
#astroid-header .dropdown-menu a {
    border-radius: 8px;
    padding: 9px 14px;
}


/* Dropdown Hover */
#astroid-header .dropdown-menu a:hover {
    background: #fbf7f3;
    color: #c98663;
}


/* =========================================================
   Sticky Header
   ========================================================= */

#astroid-sticky-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eadfd8;
    box-shadow: 0 6px 20px rgba(72, 48, 38, 0.08);
}


/* Sticky Logo etwas kleiner */
#astroid-sticky-header .astroid-logo img {
    max-height: 80px;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 991px) {

    #astroid-header .container {
        min-height: 74px;
    }

    #astroid-header .astroid-logo img {
        max-height: 58px;
    }

}

/* =========================================================
   Hello4You – Hero
   ========================================================= */

.h4y-hero {
    background:
        linear-gradient(
            90deg,
            #fbf7f3 0%,
            #fffaf7 48%,
            #f8e9df 100%
        );

    overflow: hidden;
}


.h4y-hero .container {
    padding-top: 70px;
    padding-bottom: 70px;
}


/* Textbereich */

.h4y-hero-content {
    position: relative;
    z-index: 2;
}


.h4y-hero h1 {
    margin: 0 0 24px;

    color: var(--h4y-dark);

    font-size: clamp(48px, 5vw, 76px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -1.5px;
}


.h4y-hero p {
    max-width: 440px;

    margin-bottom: 30px;

    color: var(--h4y-text);

    font-size: 18px;
    line-height: 1.6;
}


/* Buttons */

.h4y-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


.h4y-hero-buttons .btn {
    padding: 13px 24px;
}


/* Bild */

.h4y-hero-image {
    position: relative;
}


.h4y-hero-image img {
    display: block;

    width: 100%;
    max-height: 520px;

    object-fit: cover;

    border-radius: 140px 0 0 140px;

    box-shadow:
        0 20px 45px rgba(72, 48, 38, 0.12);
}


/* Tablet / Mobile */

@media (max-width: 991px) {

    .h4y-hero .container {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .h4y-hero-content {
        margin-bottom: 35px;
    }

    .h4y-hero h1 {
        font-size: 52px;
    }

    .h4y-hero-image img {
        border-radius: 30px;
    }

}


@media (max-width: 576px) {

    .h4y-hero h1 {
        font-size: 42px;
    }

    .h4y-hero p {
        font-size: 16px;
    }

    .h4y-hero-buttons {
        display: grid;
    }

}

/* =========================================================
   Hello4You – Main Top / Info Cards
   ========================================================= */

.h4y-info-card {
    height: 100%;
    padding: 32px;

    background: #fff;
    border: 1px solid var(--h4y-border);
    border-radius: var(--h4y-radius);

    box-shadow: var(--h4y-shadow);
}


/* Icon */

.h4y-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    margin-bottom: 20px;

    color: var(--h4y-primary);
    background: var(--h4y-bg-soft);

    border-radius: 50%;

    font-size: 23px;
}


/* Überschrift */

.h4y-info-card h3 {
    margin: 0 0 12px;

    color: var(--h4y-dark);

    font-size: 21px;
    font-weight: 600;
}


/* Text */

.h4y-info-card p {
    margin-bottom: 18px;

    color: var(--h4y-text);

    line-height: 1.65;
}


/* Textlink */

.h4y-card-link {
    color: var(--h4y-primary);
    font-weight: 600;
    text-decoration: none;
}


.h4y-card-link:hover {
    color: var(--h4y-primary-dark);
}


/* mittlere Karte leicht hervorheben */

.h4y-info-card-featured {
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fffaf7 100%
        );
}


/* CTA */

.h4y-info-card-cta .btn {
    width: 100%;
    margin-top: 4px;
}


/* Astroid Main Top etwas luftiger */

#top-b {
    padding-top: 55px;
    padding-bottom: 55px;
}


/* Mobile */

@media (max-width: 991px) {

    .h4y-info-card {
        margin-bottom: 20px;
        padding: 26px;
    }

}
/* =========================================================
   Hello4You – Main Top: einheitliche Kartenhöhe
   ========================================================= */

#top-b .h4y-info-card {
    min-height: 365px;

    display: flex;
    flex-direction: column;
}


/* Links und Button immer nach unten */
#top-b .h4y-info-card .h4y-card-link,
#top-b .h4y-info-card .btn {
    margin-top: auto;
}


/* Tablet / Mobile wieder automatisch */
@media (max-width: 991px) {

    #top-b .h4y-info-card {
        min-height: 0;
        height: auto;
    }

}

/* =========================================================
   Hello4You – Kennenlernen / Werte
   ========================================================= */

.h4y-intro-section {
    padding-top: 70px;
    padding-bottom: 70px;
}


/* Linke Seite */

.h4y-intro {
    padding: 20px 35px 20px 0;
}


.h4y-eyebrow {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--h4y-primary);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.h4y-intro h2 {
    margin: 0 0 25px;

    color: var(--h4y-dark);

    font-size: clamp(38px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.05;
}


.h4y-intro p {
    max-width: 520px;

    color: var(--h4y-text);

    font-size: 17px;
    line-height: 1.7;
}


/* Rechte Seite */

.h4y-values {
    display: grid;
    gap: 16px;
}


.h4y-value {
    display: flex;
    gap: 20px;

    padding: 24px 26px;

    background: #fff;
    border: 1px solid var(--h4y-border);
    border-radius: var(--h4y-radius);

    box-shadow: 0 8px 24px rgba(72, 48, 38, 0.05);
}


.h4y-value-icon {
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color: var(--h4y-primary);
    background: var(--h4y-bg-soft);

    border-radius: 50%;

    font-size: 22px;
}


.h4y-value h3 {
    margin: 1px 0 7px;

    color: var(--h4y-dark);

    font-size: 20px;
    font-weight: 600;
}


.h4y-value p {
    margin: 0;

    color: var(--h4y-text);

    line-height: 1.6;
}


/* Mobile */

@media (max-width: 991px) {

    .h4y-intro {
        padding-right: 0;
        margin-bottom: 30px;
    }

}

/* =========================================================
   Hello4You – So funktioniert's
   ========================================================= */

.h4y-howto-section {
    position: relative;

    padding-top: 75px;
    padding-bottom: 80px;

    background:
        linear-gradient(
            135deg,
            #fbf7f3 0%,
            #f8eee8 50%,
            #fbf7f3 100%
        );
}


/* =========================================================
   Überschrift
   ========================================================= */

.h4y-section-head {
    max-width: 720px;

    margin: 0 auto 50px;

    text-align: center;
}


.h4y-section-head h2 {
    margin: 0 0 16px;

    color: var(--h4y-dark);

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.1;
}


.h4y-section-head p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--h4y-text);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   Schritte
   ========================================================= */

.h4y-step {
    position: relative;

    height: 100%;
    min-height: 285px;

    padding: 34px 32px 30px;

    background: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(201, 134, 99, 0.18);
    border-radius: var(--h4y-radius);

    box-shadow:
        0 10px 30px rgba(72, 48, 38, 0.05);
}


/* große Nummer im Hintergrund */

.h4y-step-number {
    position: absolute;
    top: 18px;
    right: 24px;

    color: rgba(201, 134, 99, 0.13);

    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}


/* Icon */

.h4y-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 24px;

    color: var(--h4y-primary);
    background: var(--h4y-bg-soft);

    border-radius: 50%;

    font-size: 24px;
}


/* Titel */

.h4y-step h3 {
    margin: 0 0 12px;

    color: var(--h4y-dark);

    font-size: 23px;
    font-weight: 600;
}


/* Text */

.h4y-step p {
    margin: 0;

    color: var(--h4y-text);

    line-height: 1.65;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px) {

    .h4y-howto-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .h4y-section-head {
        margin-bottom: 35px;
    }

    .h4y-step {
        min-height: 0;
        margin-bottom: 20px;
    }

}

/* =========================================================
   Hello4You – Registrierungs CTA
   ========================================================= */

.h4y-cta-section {
    padding-top: 35px;
    padding-bottom: 35px;

    background: var(--h4y-bg);
}


.h4y-register-cta {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    padding: 52px 60px;

    background:
        linear-gradient(
            135deg,
            #231f20 0%,
            #302829 60%,
            #49332c 100%
        );

    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(35, 31, 32, 0.16);
}


/* dezenter Hintergrund-Akzent */

.h4y-register-cta::after {
    content: "♡";

    position: absolute;
    top: -75px;
    right: 30%;

    color: rgba(255, 255, 255, 0.035);

    font-size: 260px;
    line-height: 1;

    transform: rotate(-12deg);

    pointer-events: none;
}


/* Inhalt */

.h4y-register-cta-content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}


.h4y-cta-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--h4y-rose);

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.7px;
}


.h4y-register-cta h2 {
    margin: 0 0 17px;

    color: #fff;

    font-size: clamp(38px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.02;
}


.h4y-register-cta p {
    max-width: 520px;

    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 17px;
    line-height: 1.65;
}


/* rechte Seite */

.h4y-register-cta-action {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 275px;
}


/* heller Button */

.h4y-btn-light {
    width: 100%;

    padding: 14px 25px;

    background: #fff;
    border: 1px solid #fff;
    border-radius: 11px;

    color: var(--h4y-dark);

    font-weight: 700;
}


.h4y-btn-light:hover,
.h4y-btn-light:focus {
    background: var(--h4y-rose);
    border-color: var(--h4y-rose);

    color: var(--h4y-dark);
}


/* kleiner Hinweis */

.h4y-register-cta-action span {
    margin-top: 12px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px) {

    .h4y-register-cta {
        flex-direction: column;
        align-items: flex-start;

        padding: 40px;
    }

    .h4y-register-cta-action {
        align-items: flex-start;

        width: 100%;
        min-width: 0;
    }

    .h4y-btn-light {
        width: auto;
    }

}


@media (max-width: 576px) {

    .h4y-register-cta {
        padding: 32px 25px;

        border-radius: 18px;
    }

    .h4y-register-cta h2 {
        font-size: 38px;
    }

    .h4y-btn-light {
        width: 100%;
    }

}

/* =========================================================
   Hello4You – Sicherheit & Vertrauen
   ========================================================= */

.h4y-security-section {
    padding-top: 80px;
    padding-bottom: 80px;

    background: #fff;
}


/* ---------------------------------------------------------
   Einleitung
   --------------------------------------------------------- */

.h4y-security-intro {
    padding: 15px 40px 15px 0;
}


.h4y-security-intro h2 {
    margin: 0 0 22px;

    color: var(--h4y-dark);

    font-size: clamp(36px, 3.5vw, 50px);
    font-weight: 500;
    line-height: 1.08;
}


.h4y-security-intro > p {
    color: var(--h4y-text);

    font-size: 16px;
    line-height: 1.7;
}


.h4y-security-note {
    position: relative;

    margin-top: 28px !important;
    padding: 17px 20px 17px 23px;

    background: var(--h4y-bg-soft);

    border-left: 3px solid var(--h4y-primary);
    border-radius: 0 10px 10px 0;

    color: var(--h4y-dark) !important;

    font-weight: 600;
}


/* ---------------------------------------------------------
   2 x 2 Sicherheitsraster
   --------------------------------------------------------- */

.h4y-security-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    height: 100%;
}


.h4y-security-item {
    display: flex;
    gap: 17px;

    padding: 25px;

    background: var(--h4y-bg);

    border: 1px solid var(--h4y-border);
    border-radius: var(--h4y-radius);
}


/* Icon */

.h4y-security-icon {
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: #fff;
    background: var(--h4y-primary);

    border-radius: 50%;

    font-size: 19px;
    font-weight: 600;
}


/* Inhalt */

.h4y-security-item h3 {
    margin: 2px 0 8px;

    color: var(--h4y-dark);

    font-size: 19px;
    font-weight: 600;
}


.h4y-security-item p {
    margin: 0;

    color: var(--h4y-text);

    font-size: 14px;
    line-height: 1.6;
}


/* dezenter Hover – kein Herumspringen */

.h4y-security-item {
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.h4y-security-item:hover {
    border-color: rgba(201, 134, 99, 0.45);

    box-shadow:
        0 10px 25px rgba(72, 48, 38, 0.06);
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .h4y-security-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .h4y-security-intro {
        padding-right: 0;
        margin-bottom: 35px;
    }

}


@media (max-width: 650px) {

    .h4y-security-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   Hello4You – Footer
   ========================================================= */

.h4y-footer-section {
    padding-top: 65px;
    padding-bottom: 55px;

    background:
        linear-gradient(
            135deg,
            #231f20 0%,
            #2c2526 100%
        );

    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   Logo / Beschreibung
   ========================================================= */

.h4y-footer-logo {
    display: block;

    width: 210px;
    max-width: 100%;

    margin-bottom: 22px;

    border-radius: 8px;
}


.h4y-footer-brand p {
    max-width: 390px;

    margin-bottom: 16px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.7;
}


.h4y-footer-claim {
    color: var(--h4y-rose);

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   Überschriften
   ========================================================= */

.h4y-footer-section h3,
.h4y-footer-section .module-title {
    margin: 0 0 20px;

    color: #fff;

    font-size: 17px;
    font-weight: 600;
}


/* =========================================================
   Joomla-Menüs
   ========================================================= */

.h4y-footer-section ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.h4y-footer-section li {
    margin-bottom: 9px;
}


.h4y-footer-section a {
    color: rgba(255, 255, 255, 0.68);

    text-decoration: none;

    transition: color 0.2s ease;
}


.h4y-footer-section a:hover {
    color: var(--h4y-rose);
}


/* =========================================================
   Copyright
   ========================================================= */

.h4y-copyright-section {
    padding-top: 18px;
    padding-bottom: 18px;

    background: #1b1819;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;
}


.h4y-copyright-section a {
    color: rgba(255, 255, 255, 0.62);
}


.h4y-copyright-section a:hover {
    color: var(--h4y-rose);
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px) {

    .h4y-footer-section {
        padding-top: 50px;
        padding-bottom: 35px;
    }

    .h4y-footer-section .astroid-module-position,
    .h4y-footer-section .module {
        margin-bottom: 30px;
    }

}