/* =========================================
   fritts — Mobile Home Styles
   Uses shared mobile components
   ========================================= */

/* Shared mobile header, sidemenu, footer */
@import url('shared/mobile-header.css');
@import url('shared/mobile-sidemenu.css');
@import url('shared/mobile-footer.css');

/* Match product-page header sizing (product page scales via body 4em;
   home doesn't, so anchor header contact items + padding directly). */
header { padding: 2em 4.5em !important; }
.header-actions { gap: 8em; }
.header-contact { gap: 0.2em; align-self: flex-end;}
.header-contact-item { font-size: 3em; gap: 0.5em; }
.header-contact-icon { width: 1.1em; height: 1.1em; }
.hamburger { width: 33px !important; height: 33px !important; min-width: 33px !important; flex: 0 0 33px !important; gap: 8px !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; padding: 0 !important; box-sizing: border-box !important; }
.hamburger .hamburger-line { width: 100% !important; height: 2px !important; background: #ffffff !important; border-radius: 2px !important; display: block !important; margin: 0 !important; }

/* =========================================
   Animation Wrapper
   ========================================= */
.animation-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background-color: var(--color-brand-dark-teal);
}

/* =========================================
   Hero Container — scroll runway
   ========================================= */
.hero-container {
    position: relative;
    height: 400vh;
    height: 400svh;
}

/* =========================================
   Orange Circle
   ========================================= */
.orange-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5em;
    height: 5em;
    border-radius: 50%;
    background-color: var(--color-brand-red);
    will-change: width, height;
}

/* =========================================
   Home Content (headline + scroll icon)
   ========================================= */
.home-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 0 1.2em;
}

.home-headline {
    color: var(--color-brand-white);
    font-family: var(--font-family-primary);
    font-size: 5em;
    font-weight: var(--font-weight-bold);
    text-align: center;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(2em);
}

.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    width: 80%;
    margin: 1.25em auto 0;
    pointer-events: none;
}

.hero-keyword {
    color: var(--color-brand-white);
    font-family: var(--font-family-primary);
    font-size: 3em;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(2em);
}

.scroll-down-icon {
    position: absolute;
    bottom: 2.5em;
    left: 50%;
    transform: translateX(-50%);
    width: 6em;
    height: auto;
    opacity: 0;
    cursor: pointer;
    /* parent layers are pointer-events:none — re-enable so the icon is tappable */
    pointer-events: auto;
    z-index: 10;
    animation: scroll-icon-bounce 1.2s ease-in-out infinite;
}

/* click feedback — !important so the fade wins over the scrub's inline opacity */
.scroll-down-icon.is-clicked {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

@keyframes scroll-icon-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-0.5em); }
}

/* =========================================
   Building image — rises from bottom
   ========================================= */
.building-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    transform: translateY(100%);
}

.building-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Hero subtitle + Termin button — CENTERED
   ========================================= */
.hero-text-2 {
    position: absolute;
    bottom: 43svh;
    left: 15%;
    transform: translateY(-50%);
    z-index: 15;
    pointer-events: auto;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.hero-subtitle {
    color: var(--color-brand-white);
    font-family: var(--font-family-primary);
    font-size: 5em;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 0.8em;
    text-align: center;
    width: 100%;
}

/* Glass pill button — bigger for mobile */
.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    background: var(--btn-glass-bg);
    color: var(--color-brand-white);
    text-decoration: none;
    padding: 0.4em 0.8em 0.4em 2em;
    border-radius: var(--btn-glass-radius);
    font-size: 3em;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    backdrop-filter: blur(var(--btn-glass-blur));
    border: 1px solid var(--btn-glass-border-color);
    cursor: pointer;
}

.btn-glass .arrow-circle {
    width: 2.4em;
    height: 2.4em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-glass .arrow-circle img {
    width: 100%;
    height: 100%;
}

/* =========================================
   Home Stories — 3 full-bleed video cards with overlaid text/badges
   ========================================= */
.home-stories {
    position: relative;
    width: 100%;
    padding: 2.5em 1.2em;
    display: flex;
    flex-direction: column;
    gap: 7em;
    background-color: var(--color-brand-white);
    font-family: var(--font-family-primary);
}

.home-story {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.4em;
    color: var(--color-brand-navy);
}

.home-story__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5em;
    padding: 0 0.2em;
}

.home-story__title {
    font-family: var(--font-family-primary);
    font-size: 5.5em;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    color: inherit;
    margin: 0;
}

.home-story__text {
    font-family: var(--font-family-primary);
    font-size: 3.5em;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: inherit;
    margin: 0;
}

.home-story__badge-img {
    display: block;
    margin-top: 0.4em;
    height: 7.5em !important;
    width: auto !important;
    max-width: 20em !important;
    object-fit: contain;
}

.home-story__price {
    margin-top: 0.4em;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--color-brand-red);
    color: var(--color-brand-white);
    padding: 0.9em 1.5em;
    border-radius: 0.9em;
    box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.25);
}
.home-story__price-label {
    font-size: 1.4em;
    opacity: 0.95;
    line-height: 1.2;
}
.home-story__price-value {
    font-size: 2.6em;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-top: 0.1em;
}

.home-story__media {
    position: relative;
    width: 100%;
    height: 55svw;
    border-radius: 2em;
    overflow: hidden;
    isolation: isolate;
    margin: 3em 0em;
}

.home-story__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   White Interlude — sections below the Hero
   ========================================= */
.white-interlude {
    position: relative;
    width: 100%;
    background-color: var(--color-brand-white);
    color: var(--color-brand-dark-teal);
    font-family: var(--font-family-primary);
    display: flex;
    flex-direction: column;
}

/* Fade-in animation for white interlude sections */
.wi-cta{
    display: none;
}

.wi-brands,
.wi-company,
.wi-meinungen,
.wi-cta {
    opacity: 0;
    transform: translateY(3em);
}

.wi-brands.is-visible,
.wi-company.is-visible,
.wi-meinungen.is-visible,
.wi-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.wi-meinungen.is-visible {
    padding-bottom: 8vh;
}

/* Each section gets a minimum viewport height */
.wi-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4em 0
}

.wi-company {
    min-height: 30svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wi-meinungen {
    min-height: 30svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 2em 0;
    overflow-x: clip;
    width: 100%;
    background: #ffffff;
}

.wi-cta {
    min-height: 30svh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sub-section 1: Brand carousel (infinite marquee) */
.wi-brands {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wi-brands-track {
    display: flex;
    width: max-content;
    animation: wi-brand-marquee 20s linear infinite;
}

.wi-brand-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4em 0.6em;
    margin-right: 4em;
}
.wi-brand-item img {
    display: block;
    height: 8em;
    width: auto;
    max-width: 24em;
    object-fit: contain;
}

@keyframes wi-brand-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Sub-section 2: Customer video stories — stacked on mobile */
.wi-stories {
    width: 100%;
    padding: 4em 0 2em;
}
.wi-stories-inner {
    width: 100%;
    padding: 0 1.2em;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6em;
}
.wi-story {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 2em;
    overflow: hidden;
    box-shadow: 0 2em 4em rgba(40, 53, 88, 0.10);
}
.wi-story-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}
.wi-story-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wi-story-play {
    position: absolute;
    inset: 0;
    margin: auto;
    font-size: 1em;
    width: 16em;
    height: 16em;
    border-radius: 50%;
    border: none;
    background: var(--color-brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2em 4em rgba(0, 0, 0, 0.35);
}
.wi-story-play svg {
    width: 6em;
    height: 6em;
    margin-left: 0.5em;
    position: relative;
    z-index: 1;
}
.wi-story-play::before,
.wi-story-play::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--color-brand-red);
    opacity: 0.55;
    z-index: 0;
    animation: wi-play-pulse 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.wi-story-play::after { animation-delay: 1.1s; }
@keyframes wi-play-pulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    80%  { transform: scale(1.9); opacity: 0;    }
    100% { transform: scale(1.9); opacity: 0;    }
}
.wi-story.is-playing .wi-story-play { display: none; }
.wi-story-text {
    background: #f3f1ee;
    padding: 4em 3em;
    font-family: var(--font-family-primary);
}
.wi-story-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 5em;
    line-height: 1.15;
    color: var(--color-brand-dark-teal);
    margin: 0 0 0.4em 0;
}
.wi-story-body {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 3em;
    line-height: var(--leading-body, 1.55);
    color: var(--color-brand-dark-teal);
    opacity: 0.85;
    margin: 0;
}

/* Sub-section 2 (legacy): What fritts does */
.wi-company {
    text-align: center;
}

.wi-company-heading {
    font-family: var(--font-family-primary);
    font-size: 5.5em;
    font-weight: var(--font-weight-bold);
    color: var(--color-brand-dark-teal);
    line-height: 1.2;
    margin-bottom: 0.8em;
}

.wi-company-body {
    font-family: var(--font-family-primary);
    font-size: 3em;
    font-weight: var(--font-weight-regular);
    color: var(--color-brand-dark-teal);
    line-height: var(--leading-body);
    opacity: 0.8;
}

/* Sub-section 3: Testimonials — swipe carousel (mirrors mobile product .pv-meinungen).
   Mobile home root font-size ≈ 3.79px (vs. mobile product root=16px), so em values
   below are scaled by ~4.22× to render at the same pixel sizes as .pv-meinung-* on
   mobile/product.html. */
.wi-meinungen-inner {
    width: 100%;
    padding: 0 5em;
    box-sizing: border-box;
}
.wi-meinungen-title {
    font-family: var(--font-family-primary);
    font-size: 5.5em;
    font-weight: var(--font-weight-bold);
    color: var(--color-brand-dark-teal);
    line-height: 1.2;
    text-align: center;
    margin: 0 0 0.6em 0;
}
.wi-meinungen-inner { text-align: center; }
.wi-meinungen-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    margin: 0 0 4em 0;
    padding: 0.6em 1.1em;
    background: var(--color-brand-white);
    border: 1px solid rgba(40, 53, 88, 0.12);
    border-radius: 50px;
    text-decoration: none;
    color: var(--color-brand-dark-teal);
    font-family: var(--font-family-primary);
    font-size: 3.8em;
    line-height: 1.2;
    max-width: 100%;
    box-sizing: border-box;
}
.wi-meinungen-trust-label {
    font-weight: var(--font-weight-bold);
    min-width: 0;
    flex: 0 1 auto;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: left;
}
.wi-meinungen-trust-g {
    width: 1.2em;
    height: 1.2em;
    flex: 0 0 auto;
}
.wi-meinungen-trust-stars {
    color: #fbbf24;
    letter-spacing: 0.08em;
    line-height: 1;
    font-size: 0.95em;
    flex: 0 0 auto;
}

.wi-meinungen-marquee {
    width: 100svw;
    max-width: 100svw;
    margin-left: calc(50% - 50svw);
    overflow: hidden;
    box-sizing: border-box;
}
.wi-meinungen-track {
    display: flex;
    gap: 4.2em;
    width: max-content;
    padding-left: 17.5svw;
    padding-right: 17.5svw;
    will-change: transform;
}

.wi-meinung-card {
    flex: 0 0 65svw;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 3.4em;
    opacity: 0.5;
    transition: opacity 0.55s ease;
}
.wi-meinung-card.is-active { opacity: 1; }

.wi-meinung-stars {
    color: #fbbf24;
    font-size: 4.2em;
    letter-spacing: 0.15em;
    line-height: 1;
}
.wi-meinung-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #efe9e2;
    overflow: hidden;
    border-radius: 2.95em;
}
.wi-meinung-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wi-meinung-quote {
    margin: 0;
    font-family: var(--font-family-primary);
    font-size: 4.2em;
    line-height: 1.45;
    color: var(--color-brand-dark-teal);
}
.wi-meinung-author {
    margin: 0;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 3.8em;
    line-height: var(--leading-heading);
    color: rgba(40, 53, 88, 0.65);
}

.wi-meinungen-controls {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 3em;
}
.wi-meinungen-btn {
    width: 2.6em;
    height: 2.6em;
    border-radius: 50%;
    border: 1px solid var(--color-brand-dark-teal);
    background: var(--color-brand-white);
    color: var(--color-brand-dark-teal);
    font-family: var(--font-family-primary);
    font-size: 5em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.wi-meinungen-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Sub-section 4: CTA */
.wi-cta {
    width: 100%;
}

.wi-cta-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    text-align: center;
}

.wi-cta-heading {
    font-family: var(--font-family-primary);
    font-size: 5.5em;
    font-weight: var(--font-weight-bold);
    color: var(--color-brand-dark-teal);
    line-height: 1.2;
}

.wi-cta-body {
    font-family: var(--font-family-primary);
    font-size: 3em;
    font-weight: var(--font-weight-regular);
    color: var(--color-brand-dark-teal);
    line-height: var(--leading-body);
    opacity: 0.8;
    margin-bottom: 0.8em;
}

.wi-cta #pulse-app-btn {
    background: var(--color-brand-dark-teal);
    color: var(--color-brand-white);
    border: none;
    font-size: 3.2em;
    padding: 0.5em 1em 0.5em 2em;
}

/* =========================================
   Pulse App Section — green circle + centered text
   ========================================= */
.pulse-section {
    position: relative;
    width: 100%;
    height: 90svh;
    overflow: hidden;
    background-color: var(--color-brand-dark-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 250vmax;
    height: 250vmax;
    border-radius: 50%;
    background-color: var(--color-brand-dark-teal);
    z-index: 1;
    will-change: transform;
}

.pulse-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2em;
    padding: 0 3em;
    opacity: 0;
    transform: translateY(2em);
}

.pulse-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse-h2 {
    font-family: var(--font-family-primary);
    font-size: 5.5em;
    font-weight: var(--font-weight-bold);
    color: var(--color-brand-white);
    line-height: 1.2;
}

.pulse-h2-sub {
    width: 100%;
    font-family: var(--font-family-primary);
    font-size: 4.5em;
    font-weight: var(--font-weight-bold);
    color: var(--color-brand-white);
    line-height: 1.3;
    opacity: 0.85;
}

.pulse-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    margin-top: 1.5em;
}

.pulse-buttons .btn-glass {
    font-size: 3em;
    padding: 0.4em 0.8em 0.4em 1.5em;
}

.pulse-buttons .btn-glass--download,
.btn-glass--download {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
}

/* Activation overlay — fixed circle that covers screen during transition */
.pulse-activation-overlay {
    position: fixed;
    border-radius: 50%;
    background-color: var(--color-brand-dark-teal);
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    will-change: width, height;
}

/* =========================================
   Pulse Page — phone with pulsing rings
   ========================================= */
.pulse-page-section {
    position: relative;
    width: 100%;
    background-color: var(--color-brand-dark-teal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6em 3em 0;
    overflow: hidden;
    min-height: 50svh;
}

.pulse-page-section .pulse-page-bg {
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 110vw;
    height: 90vw;
    border-radius: 50%;
}

.pulse-page-section .pulse-page-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-page-section .pulse-page-ring-1 {
    width: 100%;
    height: 100%;
    animation: pp-ring-outer 4s ease-in-out infinite;
}

.pulse-page-section .pulse-page-ring-2 {
    width: 82%;
    height: 82%;
    animation: pp-ring-mid 4s ease-in-out infinite 0.5s;
}

.pulse-page-section .pulse-page-ring-3 {
    width: 64%;
    height: 64%;
    animation: pp-ring-inner 4s ease-in-out infinite 1s;
}

@keyframes pp-ring-outer {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
    50%      { transform: translate(-50%, -50%) scale(1.06); opacity: 0.6; }
}

@keyframes pp-ring-mid {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.85; }
    50%      { transform: translate(-50%, -50%) scale(1.10); opacity: 0.5; }
}

@keyframes pp-ring-inner {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.7; }
    50%      { transform: translate(-50%, -50%) scale(1.14); opacity: 0.35; }
}

.pulse-page-section .pulse-page-title {
    position: relative;
    z-index: 2;
    color: var(--color-brand-white);
    font-family: var(--font-family-primary);
    font-size: 5.5em;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 0.4em;
}

.pulse-page-section .pulse-page-subtitle {
    position: relative;
    z-index: 2;
    color: var(--color-brand-white);
    font-family: var(--font-family-primary);
    font-size: 3em;
    font-weight: var(--font-weight-regular);
    text-align: center;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 100%;
    margin-bottom: 1em;
}

.pulse-page-section .pulse-page-phone {
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 60%;
    height: auto;
}

.pulse-page-section .pulse-page-phone img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Pulse Detail — PV-Anlage background + embedded Termin wizard
   ========================================= */
.pulse-detail {
    position: relative;
    width: 100%;
    /* background-image: url('../Assets/image-termin.jpeg'); */
    background-color: var(--color-brand-dark-teal);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Brand dark-teal @ 25% overlay on the PV background */
.pulse-detail::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(34, 103, 107, 0.25);
    z-index: 1;
    pointer-events: none;
}

.pulse-detail-inner {
    position: relative;
    z-index: 2;
    padding: 0 1.5em 4em;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    align-items: stretch;
}

.pulse-detail-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pulse-detail-cta .termin-stage {
    width: 100%;
    padding: 0;
    min-height: 0;
}

/* Experts card — stacked below the termin wizard on mobile */
.pulse-experts {
    display: flex;
    flex-direction: column;
    background: var(--color-brand-dark-teal);
    border-radius: 1.5em;
    padding: 1em 1em 0.5em;
    color: #fff;
    font-family: var(--font-family-primary);
    font-size: 3em;
    gap: 0.75em;
    width: 100%;
}
.pulse-experts-card {
    background: #fff;
    color: #1a2c2e;
    border-radius: 1em;
    padding: 1.75em 1.25em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6em;
}
.pulse-experts-portraits { display: flex; justify-content: center; align-items: center; }
.pulse-experts-portrait {
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: 3px solid var(--color-brand-dark-teal);
    background: #eee;
    margin: 0 -0.5em;
    overflow: hidden;
    display: block;
    flex: 0 0 auto;
}
.pulse-experts-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.25);
    display: block;
}
.pulse-experts-portraits .pulse-experts-portrait:nth-child(2) { z-index: 1; transform: translateY(-0.3em); }
.pulse-experts-names {
    font-weight: 700;
    color: var(--color-brand-dark-teal);
    font-size: 1.4em;
    margin: 0.25em 0 0;
}
.pulse-experts-names span { color: var(--color-brand-red); margin: 0 0.2em; font-weight: 400; }
.pulse-experts-role {
    font-style: italic;
    font-size: 1em;
    color: #4a4a4a;
    margin: 0;
}
.pulse-experts-pill {
    background: #1a1a1a;
    color: #fff;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.04em;
    padding: 0.75em 1.4em;
    border-radius: 50px;
    display: inline-block;
    margin: 0.5em 0 0.25em;
    text-align: center;
}
.pulse-experts-body {
    font-size: 1em;
    line-height: 1.5;
    color: #333;
    margin: 0;
}
.pulse-experts-body strong { color: #1a1a1a; }
.pulse-experts-body em strong { color: var(--color-brand-dark-teal); font-style: italic; }
.pulse-experts-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
    margin-top: 0.5em;
}
.pulse-experts-stars {
    color: var(--color-brand-dark-teal);
    font-size: 1.3em;
    letter-spacing: 0.15em;
}
.pulse-experts-rating p {
    font-size: 0.95em;
    color: #333;
    margin: 0;
    line-height: 1.35;
}
.pulse-experts-trust {
    list-style: none;
    padding: 0.5em 0.75em 0.75em;
    margin: 0;
    color: #fff;
    font-size: 0.85em;
    display: flex;
    flex-direction: column;
    gap: 0.45em;
    text-align: center;
}
.pulse-experts-trust li::before {
    content: "✓  ";
    color: #fff;
    font-weight: 700;
}

/* =========================================
   Responsive fine-tuning
   ========================================= */

/* Small phones (< 375px, e.g. iPhone SE) */
@media (max-width: 374px) {
    html {
        font-size: calc(16px * 100vw / 320);
    }
    .home-headline {
        font-size: 5em;
    }
    .hero-subtitle {
        font-size: 5em;
    }
    .btn-glass {
        font-size: 3em;
    }
}

/* Larger phones (>= 414px, e.g. iPhone Plus / Pro Max) */
@media (min-width: 414px) {
    .home-headline {
        font-size: 5em;
    }
    .hero-subtitle {
        font-size: 5em;
    }
    .btn-glass {
        font-size: 3em;
    }
}

/* Landscape phones */
@media (orientation: landscape) and (max-height: 500px) {
    html {
        font-size: calc(16px * 100vh / 390);
    }
    .home-headline {
        font-size: 1.3em;
    }
    .hero-subtitle {
        font-size: 1.4em;
    }
    .btn-glass {
        font-size: 1em;
    }
    .scroll-down-icon {
        bottom: 1.5em;
        width: 4.8em;
    }
    header {
        padding: 0.5em 0.8em;
    }
    .logo img {
        width: 6em;
    }
}

/* =========================================
   Variation-2 deltas (merged pulse section)
   ========================================= */

/* Merged section: dark teal background, full content stack */
.pulse-section.pulse-merged {
    height: auto;
    padding: 24em 3em 0;
}

/* Guy-image variant: full-width, flush to section bottom (no rings) */
.pulse-phone-wrap--guy {
    aspect-ratio: auto !important;
    margin-top: 1.5em !important;
    margin-bottom: 0 !important;
    margin-left: -3em;
    margin-right: -3em;
    width: calc(100% + 6em);
    display: block;
    line-height: 0;
}
.pulse-phone-wrap--guy .pulse-page-bg { display: none; }
.pulse-phone-wrap--guy .pulse-page-phone {
    width: 100%;
}
.pulse-phone-wrap--guy .pulse-page-phone img {
    width: 100%;
    height: auto;
    display: block;
}

.pulse-merged .pulse-content {
    gap: 2em;
    padding: 0;
    width: 100%;
}

/* Combined title — replaces pulse-h2 + pulse-page-title */
.pulse-merged .pulse-h2 {
    font-size: 5em;
    line-height: 1.18;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* Subtitle paragraph (from old pulse-page-section) */
.pulse-merged .pulse-page-subtitle {
    position: relative;
    z-index: 2;
    color: var(--color-brand-white);
    font-family: var(--font-family-primary);
    font-size: 3em;
    font-weight: var(--font-weight-regular);
    text-align: center;
    line-height: 1.55;
    opacity: 0.9;
    margin: 0;
    max-width: 100%;
}

/* Download button row — only one button now */
.pulse-merged .pulse-buttons {
    margin: 0;
}

.pulse-merged .pulse-buttons .btn-glass {
    font-size: 3em;
}

/* Phone + rings wrapper — replaces the absolute pulse-page-bg layout */
.pulse-phone-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5em;
    margin-bottom: -25em;
}

.pulse-phone-wrap .pulse-page-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: none;
    left: auto;
    bottom: auto;
}

.pulse-phone-wrap .pulse-page-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pulse-phone-wrap .pulse-page-ring-1 {
    width: 100%;
    height: 100%;
    animation: pp-ring-outer 4s ease-in-out infinite;
}
.pulse-phone-wrap .pulse-page-ring-2 {
    width: 80%;
    height: 80%;
    animation: pp-ring-mid 4s ease-in-out infinite 0.5s;
}
.pulse-phone-wrap .pulse-page-ring-3 {
    width: 62%;
    height: 62%;
    animation: pp-ring-inner 4s ease-in-out infinite 1s;
}

.pulse-phone-wrap .pulse-page-phone {
    position: relative;
    z-index: 2;
    width: 60%;
    height: auto;
}

.pulse-phone-wrap .pulse-page-phone img {
    width: 100%;
    height: auto;
    display: block;
}

/* Small phones */
@media (max-width: 374px) {
    .pulse-merged .pulse-h2 { font-size: 4.4em; }
    .pulse-merged .pulse-page-subtitle { font-size: 3em; }
    .pulse-merged .pulse-buttons .btn-glass { font-size: 3em; }
}

/* Larger phones */
@media (min-width: 414px) {
    .pulse-merged .pulse-h2 { font-size: 5em; }
    .pulse-merged .pulse-page-subtitle { font-size: 2.6em; }
}

/* Landscape — keep proportional */
@media (orientation: landscape) and (max-height: 500px) {
    .pulse-section.pulse-merged {
        padding: 4em 4em 3em;
    }
    .pulse-merged .pulse-h2 { font-size: 1.6em; }
    .pulse-merged .pulse-page-subtitle { font-size: 1em; }
    .pulse-merged .pulse-buttons .btn-glass { font-size: 1em; }
    .pulse-phone-wrap { aspect-ratio: 2 / 1; }
    .pulse-phone-wrap .pulse-page-phone { width: 22%; }
}

/* ============================================================
   Kununu floating badge (mobile) — bottom-right corner, compact
   ============================================================ */
.kununu-badge {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: block;
    width: 20em;
    aspect-ratio: 574 / 800;
    overflow: hidden;
    box-shadow: 0 0.6em 1.6em rgba(0, 0, 0, 0.22);
    -webkit-tap-highlight-color: transparent;
}

.kununu-badge:active { transform: scale(0.97); }

.kununu-badge img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

/* =========================================
   Promo Marquee Bar (mobile)
   Slides in below the header after the hero.
   ========================================= */
.promo-marquee {
    position: fixed;
    top: var(--mobile-header-h, 9em);
    left: 0;
    right: 0;
    padding: 1.4em 0;
    background-color: var(--color-brand-red);
    color: var(--color-brand-white);
    text-decoration: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.promo-marquee.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.promo-marquee__track {
    display: flex;
    width: max-content;
    animation: promo-marquee-scroll 45s linear infinite;
}

.promo-marquee__item {
    flex-shrink: 0;
    padding-right: 4em;
    white-space: nowrap;
    font-family: var(--font-family-primary);
    font-size: 2.6em;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 1px;
}

@keyframes promo-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

