/*
|--------------------------------------------------------------------------
| Project Pierre – Startseite
|--------------------------------------------------------------------------
|
| Diese Datei enthält ausschließlich die Gestaltung der Startseite.
| Gemeinsame Farben und Grundregeln kommen aus variables.css und
| frontend.css.
|
*/

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero {
    position: relative;

    width: 100%;
    min-height: 515px;

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

    overflow: hidden;

    border-bottom:
        var(--border-width)
        solid
        var(--color-border-soft);

	background-image:
		linear-gradient(
			rgba(7, 9, 13, 0.28),
			rgba(7, 9, 13, 0.62)
		),
		url("/assets/images/home/hero-background.webp");

	background-position: center 78%;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;

}

.hero::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 130px;

    background:
        linear-gradient(
            180deg,
            rgba(7, 9, 13, 0) 0%,
            rgba(7, 9, 13, 0.92) 100%
        );

    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;

    width: min(
        calc(100% - (var(--container-padding) * 2)),
        900px
    );

    margin-right: auto;
    margin-left: auto;

	padding:
		45px
		0
		105px;
	
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.hero__title {
    margin:
        0
        0
        42px;

    color: #f7f3ea;

    font-family: var(--font-family-heading);
    font-size: clamp(4rem, 6vw, 5.6rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.05;

    text-shadow:
        0 4px 18px
        rgba(0, 0, 0, 0.55);
}

.hero__dates {
    margin:
        0
        0
        12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

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

    font-size: 1.1rem;
    letter-spacing: 0.08em;
    line-height: 1.7;

    text-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.52);
}

.hero__dates span {
    display: block;
}

.hero__cross {
    color: var(--color-accent-light);

    font-family: var(--font-family-heading);
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1;
}

/*
|--------------------------------------------------------------------------
| Hero – Trennlinie mit Herz
|--------------------------------------------------------------------------
*/

.hero__divider {
    width: 420px;

    margin:
        30px
        auto
        26px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero__divider-line {
    height: 1px;

    flex: 1;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--color-accent-light)
        );

    box-shadow:
        0 0 8px
        rgba(239, 211, 154, 0.32);
}

.hero__divider-line:last-child {
    background:
        linear-gradient(
            90deg,
            var(--color-accent),
            transparent
        );
}

.hero__divider-heart {
    color: #dcb66f;

    font-family: var(--font-family-heading);
    font-size: 1.25rem;
    line-height: 1;

    text-shadow:
        0 0 12px
        rgba(220, 182, 111, 0.62);
}

.hero__quote {
    margin: 0;

    color: #f5f3ee;

    font-family: var(--font-family-heading);
    font-size: clamp(1.65rem, 2vw, 2rem);
    font-style: italic;
    line-height: 1.5;

    text-shadow:
        0 2px 12px
        rgba(0, 0, 0, 0.68);
}

/*
|--------------------------------------------------------------------------
| Navigation unter dem Hero
|--------------------------------------------------------------------------
*/

.home-navigation {
    width: 100%;

    border-bottom:
        var(--border-width)
        solid
        var(--color-border-soft);

    background-color: rgba(7, 9, 13, 0.96);
}

.home-navigation .main-navigation {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        var(--container-width)
    );

    margin-right: auto;
    margin-left: auto;
}

.home-navigation .main-navigation__list {
    min-height: 72px;
}

.home-navigation .main-navigation__link {
    padding:
        var(--space-4)
        0;

    font-size: 0.95rem;
}

/*
|--------------------------------------------------------------------------
| Bibelvers
|--------------------------------------------------------------------------
*/

.bible-verse {
    background:
        linear-gradient(
            180deg,
            rgba(7, 9, 13, 0.98) 0%,
            rgba(10, 18, 34, 0.96) 100%
        );
}

.bible-verse__inner {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        950px
    );

    margin: 0 auto;

    padding:
		25px
		0
		75px;
		
		display: flex;
		flex-direction: column;
		align-items: center;
		
}

.bible-verse__text {

    max-width: 920px;

    margin: 0 auto;

    color: rgba(255,255,255,.92);

    font-family: var(--font-family-heading);

    font-size: clamp(1rem, 1.2vw, 1.2rem);

    font-weight: 400;

    line-height: 1.95;

    text-align: center;

    text-shadow:
        0 2px 10px rgba(0,0,0,.45);

}

.bible-verse__reference {

    margin-top: 10px;

    color: var(--color-accent);

    font-size: .52rem;

    font-weight: 600;

    letter-spacing: .22em;

    text-transform: uppercase;

    opacity: .95;

}

/*
|--------------------------------------------------------------------------
| Seine Geschichte
|--------------------------------------------------------------------------
*/

.home-story {
    position: relative;

	padding:
		5px
		0
		10px;
		
    background:
        linear-gradient(
            180deg,
            rgba(10, 18, 34, 0.96) 0%,
            rgba(7, 9, 13, 1) 100%
        );
}

.home-story__inner {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        1250px
    );

    margin:
        0
        auto;

    display: grid;
    grid-template-columns:
        minmax(320px, 470px)
        minmax(0, 1fr);

    align-items: start;

    gap:
        70px;
}

.home-story__image-column {
    position: relative;

    padding: 12px;

    border:
        1px
        solid
        rgba(220, 182, 111, 0.42);

    box-sizing: border-box;
}

.home-story__image-column::before {
    display: none;
}

.home-story__image {
    position: relative;
    z-index: 1;

    width: 100%;
    height: auto;

    display: block;

    object-fit: cover;

    box-shadow:
        0
        24px
        60px
        rgba(0, 0, 0, 0.42);
}

.home-story__content {
    padding-top: 8px;
}

.home-story__eyebrow {
    margin:
        0
        0
        14px;

    color: var(--color-accent);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.5;

    text-transform: uppercase;
}

.home-story__title {
    margin:
        0
        0
        34px;

    color: #f7f3ea;

    font-family: var(--font-family-heading);
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.08;

    text-shadow:
        0
        4px
        18px
        rgba(0, 0, 0, 0.38);
}

.home-story__intro {
    margin:
        0
        0
        30px;

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

    font-family: var(--font-family-heading);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-style: italic;
    line-height: 1.65;
}

.home-story__text {
    color: rgba(255, 255, 255, 0.78);

    font-size: 1rem;
    line-height: 1.9;
}

.home-story__text p {
    margin:
        0
        0
        22px;
}

.home-story__text p:last-child {
    margin-bottom: 0;
}

/*
|--------------------------------------------------------------------------
| Kerzenbereich der Startseite
|--------------------------------------------------------------------------
*/

.home-candles {
    position: relative;

    padding:
        74px
        0
        82px;

    overflow: hidden;

	border-top: none;
	
	background:
		linear-gradient(
			180deg,
			var(--color-black) 0%,
			rgba(10, 18, 34, 0.68) 52%,
			var(--color-black) 100%
		);
}

.home-candles__inner {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        1180px
    );

    margin: 0 auto;

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

.home-candles__header {
    width: min(100%, 760px);

    margin-bottom: 38px;

    text-align: center;
}

.home-candles__eyebrow {
    margin:
        0
        0
        12px;

    color: var(--color-accent);

    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.2em;
    line-height: var(--line-height-tight);
    text-transform: uppercase;
}

.home-candles__title {
    margin: 0;

    color: var(--color-white-soft);

    font-family: var(--font-family-heading);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-tight);

    text-shadow:
        0
        4px
        18px
        rgba(0, 0, 0, 0.35);
}

.home-candles__divider {
    width: min(420px, 78%);

    margin:
        24px
        auto
        0;

    display: grid;
    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;
    gap: 18px;
}

.home-candles__divider > span:not(.home-candles__heart) {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(239, 211, 154, 0.72)
        );
}

.home-candles__divider > span:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(239, 211, 154, 0.72),
            transparent
        );
}

.home-candles__heart {
    color: var(--color-accent);

    font-family: var(--font-family-heading);
    font-size: 1.05rem;
    line-height: 1;

    text-shadow:
        0
        0
        12px
        rgba(214, 170, 98, 0.4);
}

.home-candles__statistics {
    width: 100%;

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

    gap: 22px;
}

.home-candles__statistic {
    position: relative;

    min-width: 0;
    min-height: 138px;

    padding:
        26px
        20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border:
        var(--border-width)
        solid
        rgba(214, 170, 98, 0.22);

    border-radius: var(--border-radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(16, 28, 51, 0.58),
            rgba(7, 9, 13, 0.86)
        );

    box-shadow:
        0
        18px
        44px
        rgba(0, 0, 0, 0.22);

    text-align: center;

    transition:
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.home-candles__statistic:hover {
    border-color:
        rgba(214, 170, 98, 0.42);

    box-shadow:
        0
        22px
        52px
        rgba(0, 0, 0, 0.28);
}

.home-candles__statistic-symbol {
    position: absolute;

    top: 14px;
    right: 16px;

    color: var(--color-accent);

    font-size: var(--font-size-sm);
}

.home-candles__statistic-value {
    color: var(--color-accent-light);

    font-family: var(--font-family-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-normal);
    line-height: 1;

    text-shadow:
        0
        0
        18px
        rgba(214, 170, 98, 0.13);
}

.home-candles__statistic-label {
    color: rgba(199, 195, 186, 0.9);

    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

.home-candles__text {
    width: min(100%, 720px);

    margin-top: 34px;

    color: var(--color-text-soft);

    font-family: var(--font-family-heading);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
}

.home-candles__actions {
    width: 100%;

    margin:
        0
        0
        38px;

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

    gap: 48px;
}

.home-candles__button {
    min-height: 54px;

    padding:
        15px
        34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    border:
        1px
        solid
        var(--color-accent);

    border-radius: var(--border-radius-sm);

    background:
        rgba(214, 170, 98, 0.055);

    color: var(--color-accent-light);

    font-size: 0.88rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;

    box-shadow:
        0
        12px
        28px
        rgba(0, 0, 0, 0.18);

    transition:
        color var(--transition-normal),
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.home-candles__button:hover,
.home-candles__button:focus-visible {
    border-color: var(--color-accent-light);

    background: var(--color-accent);

    color: var(--color-black);

    box-shadow:
        0
        16px
        32px
        rgba(0, 0, 0, 0.24),
        0
        0
        20px
        rgba(214, 170, 98, 0.12);

    transform: translateY(-2px);
}

.home-candles__overview-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--color-accent-light);

    font-family: var(--font-family-heading);
    font-size: 1rem;
    line-height: 1.4;
}

.home-candles__overview-link span {
    transition:
        transform var(--transition-normal);
}

.home-candles__overview-link:hover span,
.home-candles__overview-link:focus-visible span {
    transform: translateX(4px);
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .hero {
        min-height: 500px;
    }

    .hero__inner {
        padding:
            65px
            0
            120px;
    }

    .home-navigation .main-navigation__list {
        min-height: auto;

        padding:
            var(--space-4)
            0;
    }

    .home-story {
        padding:
            90px
            0;
    }

    .home-story__inner {
        grid-template-columns:
            minmax(260px, 340px)
            minmax(0, 1fr);

        gap: 45px;
    }

    .home-story__title {
        font-size: 3rem;
    }

    .home-candles {
        padding:
            68px
            0
            76px;
    }

    .home-candles__statistics {
        gap: 16px;
    }

}

/*
|--------------------------------------------------------------------------
| Smartphone
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .hero {
        min-height: 460px;

        background-position: center 80%;
    }

    .hero__inner {
        padding:
            70px
            0
            90px;
    }

    .hero__title {
        margin-bottom: 30px;

        font-size: clamp(2.7rem, 12vw, 3.6rem);
    }

    .hero__dates {
        margin-bottom: 10px;

        font-size: 0.92rem;
    }

    .hero__quote {
        font-size: 1.3rem;
    }

    .hero__divider {
        width: 260px;

        margin:
            22px
            auto
            16px;

        gap: 12px;
    }

    .hero__divider-heart {
        font-size: 1.2rem;
    }

    .home-navigation .main-navigation__list {
        padding:
            var(--space-3)
            0;

        gap:
            var(--space-1)
            var(--space-4);
    }

    .bible-verse__inner {
        padding: 45px 0;
    }

    .bible-verse__text {
        font-size: 1.32rem;
    }

    .home-story {
        padding:
            70px
            0;
    }

    .home-story__inner {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .home-story__image-column {
        width: calc(100% - 18px);

        margin-left: 18px;
    }

    .home-story__image-column::before {
        top: 14px;
        right: 14px;
        bottom: -14px;
        left: -14px;
    }

    .home-story__content {
        padding-top: 0;
    }

    .home-story__title {
        margin-bottom: 26px;

        font-size: clamp(2.5rem, 12vw, 3.3rem);
    }

    .home-story__intro {
        margin-bottom: 25px;

        font-size: 1.25rem;
    }

    .home-story__text {
        font-size: 0.96rem;
        line-height: 1.85;
    }

    .home-candles {
        padding:
            58px
            0
            64px;
    }

    .home-candles__header {
        margin-bottom: 30px;
    }

    .home-candles__statistics {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .home-candles__statistic {
        min-height: 116px;

        padding:
            22px
            18px;
    }

    .home-candles__statistic-value {
        font-size: 3rem;
    }

    .home-candles__text {
        margin-top: 28px;

        font-size: 1rem;
        line-height: 1.75;
    }

.home-candles__actions {
    width: 100%;

    margin:
        0
        0
        30px;

    flex-direction: column;

    gap: 18px;
}

    .home-candles__button {
        width: 100%;
    }

}
