﻿/* Fonts: switched to local delivery. Place the font files in ./fonts/ as described in FONTS_INSTRUCTIONS.md */

/* No local webfonts bundled — using system fonts only. */

:root {
    --color-navy: #142F54;
    --color-sunrise: #FF9108;
    --color-lime: #45C000;
    --color-fuchsia: #FF0046;
    --color-sky: #E8F4FF;
    --color-rose: #FFE8F1;
    --color-sand: #FFF6EB;
    --color-slate: #1D2433;
    --color-muted: #6b7280;
    --shadow-soft: 0 25px 70px rgba(20, 47, 84, 0.15);
    --radius-lg: 1.75rem;
    --text-primary: #0f172a;
    --text-secondary: #475467;
    --text-muted: #6b7280;
    --section-max: 1180px;
    --section-gap: clamp(1.5rem, 2.2vw, 3rem);
    --card-gap: clamp(1.25rem, 2vw, 2.75rem);
    --lp-card-gap: clamp(1.25rem, 2vw, 2.5rem);
    --lp-card-gap-md: clamp(1.75rem, 2.5vw, 3.25rem);
    --lp-card-gap-lg: clamp(2.5rem, 3vw, 4rem);
    --gradient-hero: linear-gradient(135deg, #e0edff 0%, #ffe6f2 45%, #fef6d6 100%);
    --gradient-iris: linear-gradient(135deg, #eef3ff 0%, #f0e8ff 50%, #fef0f5 100%);
    --gradient-rose: linear-gradient(135deg, #ffe9f4 0%, #ffeef9 100%);
    --gradient-splash: linear-gradient(135deg, #e2f3ff 0%, #f0ecff 60%, #fdf6ff 100%);
    --gradient-candy: linear-gradient(135deg, #ffeede 0%, #ffe1f2 60%, #ffe8fb 100%);
    --gradient-amber: linear-gradient(120deg, #FFD700, #FFA500);
    --gradient-navy: linear-gradient(140deg, rgba(20, 47, 84, 0.97), rgba(51, 102, 153, 0.92));
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: 1px solid rgba(255, 255, 255, 0.45);
    --border-soft: 1px solid rgba(20, 47, 84, 0.12);
    --blur-md: blur(18px);
    --header-hero-height: clamp(26rem, 68vh, 94vh);
    /* approximate sticky nav heights used to avoid the photo-card being covered
       these are conservative defaults and can be tuned if your header differs */
    --lp-nav-h: 96px; /* conservative default until JS measures actual sticky nav height */
}

html {
    scroll-padding: 8.5rem;
}

body {
    font-size: 1rem;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.75;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 145, 8, 0.15), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(108, 92, 231, 0.12), transparent 40%),
        linear-gradient(135deg, #fdf7ff, #f2f8ff);
    min-height: 100vh;
    margin: 0;
    scroll-behavior: smooth;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* DEBUG helpers: temporary, remove after alignment is confirmed */
/* debug helpers removed */


.lp-header-shell {
    position: relative;
    min-height: var(--header-hero-height);
    height: var(--header-hero-height);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: clamp(0.5rem, 2vw, 1.75rem);
    overflow: visible;
}

.lp-header-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    /* use transparent dark stop instead of white-transparent to avoid showing page background */
    background:
        linear-gradient(180deg, rgba(20, 47, 84, 0.06) 0%, rgba(20, 47, 84, 0.03) 30%, rgba(6,12,24,0) 60%);
    z-index: 1;
    pointer-events: none;
}

.lp-header-shell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.5rem, 6vw, 4rem);
    background: linear-gradient(180deg, rgba(20, 47, 84, 0.06) 0%, rgba(20, 47, 84, 0.02) 45%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    /* remove blur on header-bottom so the transition to the next section is sharp */
    backdrop-filter: none;
    box-shadow: none;
}

header.sticky-top {
    z-index: 9999;
}

/* make header inner container transparent so hero/image can reach the page edges */
header.sticky-top > .container-fluid {
    background: transparent !important;
}

html.has-js body:not(.nav-is-active) .lp-header-shell {
    padding-top: 0;
}

@media (max-width: 767.98px) {
    .lp-header-shell {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }
}

.lp-page-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* blurred background will be rendered in ::after to avoid edge fringing */
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lp-page-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    /* decorative color accents above the blurred image */
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 201, 173, 0.06), rgba(6,12,24,0) 60%),
        radial-gradient(circle at 80% 10%, rgba(150, 190, 255, 0.06), rgba(6,12,24,0) 65%),
        linear-gradient(170deg, rgba(14, 20, 42, 0.12), rgba(45, 18, 58, 0.06));
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

.lp-page-bg::after {
    /* enlarged blurred image to avoid visible white/fringe at edges */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px) saturate(0.95) brightness(0.86);
    transform: scale(1.04);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .lp-page-bg::after {
        /* ensure the blurred layer covers the hero on small screens without bleeding into the next section */
        top: 0;
        height: 100%;
    }
}

.lp-section--cta {
    background: linear-gradient(135deg, #fef6ff, #eaf5ff);
    color: var(--text-primary);
    position: relative;
}
.lp-section--cta::after,
}

img {
    max-width: 100%;
    height: auto;
}

a,
    background: radial-gradient(circle at 20% 20%, rgba(255, 145, 8, 0.08), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(255, 0, 70, 0.08), transparent 40%);
    opacity: 0.5;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-fuchsia);
.lp-section--cta p {
    color: var(--text-primary);
}
.lp-section--cta .form-control {
    background: #fff;
    color: var(--text-primary);
    border-color: rgba(20, 47, 84, 0.15);
    backdrop-filter: none;
}
.lp-section--cta .form-control::placeholder {
    color: var(--text-secondary);
}
.lp-section--cta .radio label,
    background: var(--glass-bg);
    color: var(--text-primary);
    border: var(--glass-border);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    backdrop-filter: var(--blur-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-inline: auto;
}

.lp-section .content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 65%);
    pointer-events: none;
    opacity: 0.8;
    z-index: 0;
}

.lp-section .content > * {
    position: relative;
    z-index: 1;
}

.lp-section .content > *:last-child {
    margin-bottom: 0;
}

.badge-primary,
.badge-primary:visited,
.badge-primary:hover {
    background-color: var(--color-navy) !important;
    color: #fff;
}

.menue {
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--color-navy);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.header-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 47, 84, 0.85), rgba(255, 0, 70, 0.65));
    z-index: 0;
}

.header-main div {
    padding-top: 2em;
    color: #fff;
    position: relative;
    z-index: 1;
}

.header-main h1,
.header-main h2 {
    color: #fff;
}

.lp-hero-wrapper {
    flex: 1;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}


.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 1rem;
    background: transparent;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-nav::before {
    content: '';
    display: none;
}

.lp-nav.is-condensed::before {
    display: none;
}
html.has-js body:not(.nav-is-active) .lp-nav {
    position: absolute;
    opacity: 0;
    transform: translateY(-1.25rem);
    pointer-events: none;
    visibility: hidden;
}

html.has-js body.nav-is-active .lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.lp-nav__glass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2rem;
    padding: 0.85rem 1.5rem;
    margin: 0.75rem auto 0;
    max-width: var(--section-max);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(20, 47, 84, 0.08);
    backdrop-filter: blur(16px);
    flex-wrap: wrap;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, margin 0.3s ease, border-radius 0.3s ease;
}

/* Ensure the sticky header content is constrained and centered on large viewports
   (overrides accidental full-bleed behavior). */
header.sticky-top .lp-nav__glass {
    width: 100%;
    max-width: var(--section-max);
    margin: 0.75rem auto 0;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
}

.lp-nav.is-condensed .lp-nav__glass {
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(20, 47, 84, 0.08);
    box-shadow: 0 18px 40px rgba(20, 47, 84, 0.18);
    backdrop-filter: blur(18px);
}

.lp-nav__brand {
    display: flex;
    align-items: center;
}

.lp-nav__logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.lp-nav__logo svg {
    display: block;
    height: 3.75rem;
    width: auto;
}

.lp-nav.is-condensed .lp-nav__logo svg {
    height: 3rem;
}

.lp-nav__actions {
    display: flex;
    align-items: center;
}

.lp-nav__actions .lp-nav__cta {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .lp-nav__glass {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-nav__brand {
        width: 100%;
        justify-content: center;
    }

    .lp-nav__logo {
        justify-content: center;
    }

    .lp-nav__actions {
        width: 100%;
        justify-content: center;
    }

    .lp-nav__actions .lp-nav__cta {
        width: 100%;
        text-align: center;
    }
}


.lp-hero {
    position: relative;
    min-height: var(--header-hero-height);
    height: var(--header-hero-height);
    padding-top: calc(var(--lp-nav-h) + clamp(0.75rem, 1.5vw, 1.75rem));
    padding-bottom: clamp(0.5rem, 2.5vw, 1.5rem);
    padding-inline: 0;
    margin-bottom: 0;
    background: transparent;
    overflow: visible;
    isolation: isolate;
    color: var(--color-navy);
    z-index: 5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-hero::before {
    content: none;
}

.lp-hero__card-stack {
    position: absolute;
    /* center within the full-bleed wrapper */
    left: 50%;
    transform: translateX(-50%);
    top: calc(var(--lp-nav-h) + var(--lp-card-gap));
    width: min(620px, 96vw);
    z-index: 6;
    padding-bottom: 0;
}

/* Ensure the bootstrap .container inside the hero centers the card-stack horizontally and fills height */
.lp-hero > .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

/* Remove any inner container padding or background that can create a visible strip */
.lp-hero .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    max-width: 100% !important;
    width: 100% !important;
}

.lp-hero__card-stack {
    background: transparent !important;
    outline: none !important;
    border: none !important;
}

/* Remove the default side padding from the fluid container so the hero is full-bleed */
.container-fluid.lp-hero-wrapper {
    /* make truly full-bleed while staying centered in the viewport */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    overflow: visible; /* allow the absolutely positioned card to escape the wrapper */
    z-index: 1;
}

/* Ensure the hero wrapper occupies the full header height (and full-bleed width) */
.container-fluid.lp-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-hero-height);
    min-height: var(--header-hero-height);
}

/* Screens >= 768px: raise the photo card so the header remains readable */
@media (min-width: 768px) {
    .lp-hero__card-stack {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: calc(var(--lp-nav-h) + var(--lp-card-gap-md));
        width: min(620px, 92vw);
    }
}

/* Specific override for narrow-desktop edge where user reported card too deep (<=991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .lp-hero__card-stack {
        top: 9%;
    }
}

/* Desktop: >= 992px — nudge the photo card slightly lower for better visual balance */
@media (min-width: 992px) {
    .lp-hero__card-stack {
        top: calc(var(--lp-nav-h) + var(--lp-card-gap-lg));
    }
}

/* Ensure there's comfortable space under the hero on desktop so the next
   section's heading is not too close to the card */
@media (min-width: 992px) {
    .lp-hero {
        margin-bottom: 4rem;
    }
}

/* Mobile: up to 767.98px — card placed in flow with comfortable top offset */
@media (max-width: 767.98px) {
    .lp-hero__card-stack {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        padding-bottom: 1.25rem;
        margin-top: calc(var(--lp-nav-h) + var(--lp-card-gap));
        min-height: min(380px, 86vw);
    }

    /* ensure the hero content is pushed below the sticky header on small screens */
    .lp-hero {
        padding-top: calc(var(--lp-nav-h) + clamp(0.75rem, 1.5vw, 1.75rem));
    }
}

.lp-photo-card {
    position: relative;
    background: #fffdfa;
    border-radius: 2rem;
    padding: 0.85rem 1.35rem 1.2rem;
    box-shadow: 0 30px 60px rgba(8, 15, 35, 0.25);
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lp-photo-card--primary {
    transform: rotate(-3deg);
    z-index: 8;
    animation: float-card 10s ease-in-out infinite;
}

.lp-photo-card--secondary {
    position: absolute;
    inset: 0;
    transform: rotate(4deg) translate(0.75rem, 0.9rem);
    opacity: 0.55;
    filter: saturate(0.85);
    pointer-events: none;
    z-index: 1;
}


.lp-photo-card--secondary .lp-photo-card__image::after {
    opacity: 0.35;
}

.lp-photo-card__image {
    position: relative;
    flex: none;
    aspect-ratio: 3 / 2;
    border-radius: 1.35rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.lp-photo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.lp-photo-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
    opacity: 0.2;
}

.lp-photo-card__caption {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    background: rgba(14, 17, 34, 0.82);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(7, 10, 22, 0.35);
}

.lp-photo-card__stamp {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-navy);
    box-shadow: 0 8px 20px rgba(20, 47, 84, 0.25);
}

.lp-photo-card__meta {
    background: #fff;
    border-radius: 1.5rem;
    padding: 0.75rem 1.2rem;
    box-shadow: 0 25px 40px rgba(10, 10, 35, 0.15);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* reset default heading margins for the semantic H1/H2 we introduced */
.lp-photo-card__meta,
.lp-photo-card__caption {
    margin: 0;
}

.lp-photo-card__title {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    color: var(--color-navy);
    line-height: 1.3;
}

@keyframes float-card {
    0% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
    100% {
        transform: translateY(0) rotate(-1deg);
    }
}


@media (max-width: 767.98px) {
    .lp-hero {
        padding-top: max(calc(var(--lp-nav-h) + 1rem), 3.25rem);
        padding-bottom: 2.25rem;
        /* push the following content further down so the photo-card does not overlap it */
        margin-bottom: 6rem;
    }

    .lp-hero__card-stack {
        transform: none;
        padding-bottom: 1.25rem;
        min-height: min(380px, 86vw);
    }

    .lp-photo-card {
        transform: none;
        aspect-ratio: auto;
        padding: 0.75rem 1rem 1.4rem;
        border-radius: 1.5rem;
        gap: 0.5rem;
    }

    .lp-photo-card--primary {
        animation: none;
    }

    .lp-photo-card--secondary {
        position: absolute;
        inset: 0;
        transform: rotate(2deg) translate(0.55rem, 0.75rem);
        opacity: 0.45;
    }

    .lp-photo-card__meta {
        position: relative;
        inset: auto;
        margin-top: 0.5rem;
    }
}

[data-animate] {
    margin-left: 0;
    padding-top: 0.4em;
}

.footer-info {
    padding: 2rem 0;
    background: var(--color-navy);
}

.footer-bottom {
    background: #101527;
    padding: 1.5rem 0;
}

.nav-point {
    border-radius: 999px;
    color: #fff;
    padding: 0.65rem 1.75rem;
    line-height: 1.5;
    background: linear-gradient(120deg, var(--color-fuchsia), var(--color-sunrise));
    background-size: 200%;
    animation: gradient 6s ease infinite;
    box-shadow: 0 12px 25px rgba(255, 0, 70, 0.2);
    font-weight: 600;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-corporate-blue {
    background: var(--color-navy);
    color: #fff;
}

.bg-linear-1 {
    background-image: linear-gradient(135deg, rgba(20, 47, 84, 0.03), rgba(255, 145, 8, 0.08));
}

.bg-white {
    background: #fff;
}

.bg-grey {
    background: #f4f6fb;
}

.section {
    padding-top: 4em;
    padding-bottom: 4em;
    position: relative;
}

.section-border::after {
    content: '';
    background: #edf0f7;
    position: absolute;
    bottom: 0;
    left: 30%;
    right: 30%;
    height: 2px;
}

/* DEBUG / FORCE: temporarily enforce header + hero heights and centering to diagnose layout issues */
.lp-header-shell.force-hero {
    height: var(--header-hero-height) !important;
    min-height: var(--header-hero-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: 2px dashed rgba(255,0,0,0.45) !important;
}
.lp-hero.force-hero {
    height: var(--header-hero-height) !important;
    min-height: var(--header-hero-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: 2px dashed rgba(0,255,0,0.45) !important;
}
.lp-hero-wrapper.force-hero {
    height: var(--header-hero-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: 2px dashed rgba(0,0,255,0.35) !important;
}
.lp-hero__card-stack.force-center {
    margin: 0 auto !important;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Use these utility classes temporarily in the browser or add them to the elements in templates for testing. */

h1,
h2,
h3,
h4,
h5 {
    color: var(--color-navy);
}

h1 {
    font-size: 1.9em;
    margin-bottom: 1em;
}

h2 {
    font-size: 1.6em;
    margin-bottom: 0.9em;
}

h3 {
    font-size: 1.4em;
    margin-bottom: 0.8em;
}

h4 {
    font-size: 1.25em;
    margin-bottom: 0.7em;
}

h5 {
    font-size: 1.1em;
    margin-bottom: 0.6em;
}

.preview {
    width: 100%;
}

.noLinkHighlighting a {
    text-decoration: none;
}

.noLinkHighlighting a:hover {
    text-decoration: none;
    cursor: pointer;
}

.form-control {
    margin-bottom: 1em;
    border-radius: 0.85rem;
    border: 1px solid rgba(20, 47, 84, 0.15);
    padding: 0.8rem 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-fuchsia);
    box-shadow: 0 0 0 3px rgba(255, 0, 70, 0.15);
}

.btn {
    cursor: pointer;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus,
.btn:active {
    color: #fff;
    transform: translateY(-1px);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:visited {
    background: var(--gradient-amber);
    border-color: transparent;
    color: #1f1f1f !important;
    box-shadow: 0 18px 30px rgba(255, 177, 8, 0.35);
}

.btn-warning {
    color: var(--color-slate) !important;
}

.bd-callout {
    padding: 1.25rem;
    margin: 1.25rem 0;
    border: 1px solid rgba(20, 47, 84, 0.1);
    border-left-width: 0.25rem;
    border-radius: 0.85rem;
}

.bd-callout-warning {
    border-left-color: var(--color-sunrise) !important;
}

.pointer {
    cursor: pointer;
}

.previewTile {
    padding: 0.75rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    border: var(--glass-border);
    backdrop-filter: var(--blur-md);
    overflow: hidden;
}

.previewImage50Pixel { max-width: 50px; }
.previewImage70Pixel { max-width: 70px; }
.previewImage100Pixel { max-width: 100px; }
.previewImage200Pixel { max-width: 200px; }
.previewImage300Pixel { max-width: 300px; }
.previewImage400Pixel { max-width: 400px; }
.previewImageMaxSizePixel { max-width: 468px; }

strong,
.reviewName {
    font-weight: 600;
}

.QAquestion {
    border: 1px solid rgba(20, 47, 84, 0.12);
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 1.25rem;
    margin: 0;
    transition: border 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--color-slate);
}

.QAquestion::before {
    content: "\f059";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #5eead4, #22d3ee);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.45);
}

summary.QAquestion::-webkit-details-marker,
summary.QAquestion::marker {
    display: none;
}

details[open] > summary.QAquestion {
    border-color: var(--color-sunrise);
    transform: translateY(-2px);
}

.QAanswer {
    border: var(--glass-border);
    border-radius: 1.1rem;
    padding: 1.2rem 1.35rem;
    background: rgba(248, 250, 255, 0.9);
}

.carousel-control-next,
.carousel-control-prev {
    filter: invert(100%);
}

ul.check-list,
ul.check {
    list-style: none;
    padding-left: 0;
}

ul.check-list li,
ul.check li {
    padding-left: 2.2rem;
    position: relative;
    margin-bottom: 0.6rem;
    color: var(--color-muted);
}

ul.check-list li::before,
ul.check li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--color-lime);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M8.5 13.8L4.7 10l1.4-1.4l2.4 2.4l5.4-5.4l1.4 1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.fa-check {
    color: var(--color-lime);
}

.fa-xmark {
    color: var(--color-fuchsia);
}

.paketvergleich {
    position: relative;
}

.paketvergleich h2,
.paketvergleich h3 {
    color: var(--color-navy);
    font-weight: 700;
}

.paketvergleich .leading {
    font-size: 1.5em;
    font-weight: 600;
}

.paketvergleich .card {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.paketvergleich .card-header {
    background: transparent;
    border-bottom: none;
}

.paketvergleich .col-lg-4:nth-of-type(2) .card {
    background: linear-gradient(160deg, rgba(255, 145, 8, 0.12), rgba(255, 0, 70, 0.08));
}

/* --- Fotobox vergleichen (Card Stack Grid) --- */
.lp-section--compare {
    background: linear-gradient(160deg, rgba(226, 238, 255, 0.6), rgba(255, 242, 227, 0.6));
}

.lp-compare {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2vw, 2.5rem);
}

.lp-compare__heading {
    text-align: center;
    max-width: min(760px, 100%);
    margin: 0 auto 0.5rem;
}

.lp-compare__title {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.lp-compare__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 auto;
}

.lp-compare__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
    align-items: stretch;
}

.lp-compare-card {
    position: relative;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.92));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: clamp(1.15rem, 1.8vw, 1.65rem);
    box-shadow: 0 25px 60px rgba(20, 47, 84, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
    gap: 0.65rem;
}

.lp-compare-card.is-featured {
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 255, 0.94)) padding-box,
        linear-gradient(120deg, #ff9108, #ff0046, #7f9dff) border-box;
    border: 1px solid transparent;
    box-shadow: 0 35px 90px rgba(20, 47, 84, 0.25);
    transform: translateY(-6px);
}

.lp-compare-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 90px rgba(20, 47, 84, 0.22);
}

.lp-compare-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    padding: 0.32rem 0.85rem;
    border-radius: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #ff9108, #ff0046);
    color: #fff;
    box-shadow: 0 12px 22px rgba(255, 0, 70, 0.18);
    z-index: 20;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 1.6rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-compare-card__header {
    text-align: left;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.lp-compare-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.lp-compare-card__tier {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(20, 47, 84, 0.65);
    margin-bottom: 0;
}

.lp-compare-card__rating {
    color: #ffb347;
    display: flex;
    gap: 0.15rem;
    font-size: 0.9rem;
}

.lp-compare-card__price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 0;
}

.lp-compare-card__price span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: lowercase;
}

.lp-compare-card__price span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.lp-compare-card__price strong {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: var(--color-navy);
    line-height: 1;
}

.lp-compare-card__media {
    margin: 0 auto 0.65rem;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 26px rgba(20, 47, 84, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.lp-compare-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lp-compare-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.65rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem 0.65rem;
}

.lp-compare-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(20, 47, 84, 0.03);
    border-radius: 0.75rem;
    padding: 0.3rem 0.55rem;
    line-height: 1.3;
    word-break: break-word;
    white-space: normal;
}

.lp-compare-card__features li.is-included {
    color: var(--text-primary);
}

.lp-compare-card__features li.is-excluded {
    color: var(--text-muted);
    opacity: 0.9;
}

.lp-compare-card__feature-icon {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(69, 192, 0, 0.15);
    color: var(--color-lime);
    flex-shrink: 0;
}

.lp-compare-card__features li.is-excluded .lp-compare-card__feature-icon {
    background: rgba(255, 0, 70, 0.1);
    color: var(--color-fuchsia);
}

.lp-compare-card__cta {
    margin-top: auto;
}

.lp-compare__helper {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 575.98px) {
    .lp-compare-card__features {
        grid-template-columns: 1fr;
    }
}

.glide__slide {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    margin: 0 0.5rem;
    border: var(--glass-border);
    backdrop-filter: var(--blur-md);
}

.lp-section {
    padding: clamp(3rem, 6vw, 6rem) 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-js .lp-section {
    opacity: 0;
    transform: translateY(80px);
}

.has-js .lp-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lp-section:not(:first-of-type)::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    clip-path: polygon(0 100%, 0 40%, 100% 0, 100% 100%);
    opacity: 0.6;
    z-index: 0;
}

/* Make transition from hero to the following section a sharp edge (no soft gradient) */
.lp-section:not(:first-of-type)::before {
    display: none;
}

/* Remove soft radial glow between sections to keep transitions crisp */
.lp-section::after {
    display: none;
}

.lp-section > .container,
.lp-section > .container-fluid {
    position: relative;
    z-index: 1;
    width: min(100%, var(--section-max));
    max-width: var(--section-max);
    margin-inline: auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.lp-section .row {
    row-gap: var(--section-gap);
    align-items: stretch;
}

.lp-section--intro {
    background: var(--gradient-hero);
}

.lp-section--props {
    background: var(--gradient-splash);
}

.lp-section--gallery {
    background: var(--gradient-candy);
}

.lp-section--faq {
    background: var(--gradient-rose);
}

.lp-section--reviews {
    background: linear-gradient(135deg, #ffe4ec, #ffe0d9, #fff4f1);
}

.lp-section--cta {
    background: var(--gradient-navy);
    color: #fff;
    position: relative;
}

.lp-section--cta::after,
.lp-section--stories::after {
    display: none;
}

.lp-section--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.2), transparent 40%);
    opacity: 0.8;
    z-index: 0;
}

.lp-section--cta h2,
.lp-section--cta label,
.lp-section--cta p {
    color: #fff;
}


.lp-section--cta .form-control {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.lp-section--cta .form-control::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.lp-section--cta .radio label,
.lp-section--cta .form-check-label {
    color: #fff;
}

.lp-section--stories {
    background: #f3f7ff;
}

.lp-section--stories .container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    border: var(--glass-border);
    backdrop-filter: var(--blur-md);
    position: relative;
}

.lp-section h2 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.lp-section h3,
.lp-section h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.lp-section:not(.lp-section--intro) h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding-left: 0;
    position: relative;
    font-size: clamp(1.9rem, 2.6vw, 2.4rem);
}

.lp-section:not(.lp-section--intro) h2::before {
    display: none !important;
}

/* ensure compare heading has no left padding reserved for icon */
.lp-section--compare h2,
.lp-section h2 {
    padding-left: 0 !important;
}

/* Bubbles Optimization */
.lp-section--intro .content {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto;
    animation: fadeInUp 1s ease both;
}

.lp-section--props .content.mt-lg-5 {
    margin-top: 0 !important;
}

/* Enhance form contrast and styling */
.lp-section--cta .form-control {
    background: #fff;
    border: 1px solid #ced4da;
    color: #333;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.lp-section--cta .form-control:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(20, 47, 84, 0.15);
}

.lp-section--cta label {
    color: var(--color-navy);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

/* FAQ Redesign */
.lp-faq-accordion {
    border: 1px solid rgba(20, 47, 84, 0.1);
    background: #fff;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.lp-faq-accordion:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.lp-faq-accordion summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none; /* remove default triangle */
    outline: none;
    position: relative;
    padding-left: 2.5rem; /* space for custom icon */
}

.lp-faq-accordion summary::-webkit-details-marker {
    display: none;
}

.lp-faq-accordion summary::before {
    content: "+";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--color-active);
}

.lp-faq-accordion[open] summary::before {
    content: "-";
}

.lp-faq-accordion[open] summary {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: rgba(20, 47, 84, 0.02);
}

.lp-faq-accordion .QAquestion {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 2.5rem; /* preserve space for icon */
}

/* Hide the old question mark icon if using the accordion styles */
.lp-faq-accordion .QAquestion::before {
    display: none;
}

/* Ensure the +/- icon is visible (re-asserting rule from above if needed, but it should be fine) */
.lp-faq-accordion summary::before {
    display: block;
    /* content is already set to + */
}


.lp-faq-accordion > p, 
.lp-faq-accordion > div {
    padding: 1rem 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Optimization */
.footer-shell {
    width: 100%;
    max-width: var(--section-max);
    margin: 0 auto;
    padding: 2rem 1rem;
    background: transparent; /* remove background */
    border: none; /* remove border */
    box-shadow: none;
}

.site-footer {
    background: var(--color-navy); /* Lighter/Blue background */
    padding-top: 3rem;
}

.footer-primary {
    /* "Andere Nutzer suchen auch" container */
    background: rgba(255,255,255,0.05);
    border: none;
    box-shadow: none;
    padding: 2rem;
}

/* Highlight "Fotobox in der Region" */
.footer-highlight-region {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.footer-link-list a {
    color: rgba(255,255,255,0.7);
}

.footer-link-list a:hover {
    color: #fff;
    text-decoration: underline;
}

.lp-section--stories .container::before,
.lp-section--intro > .container::after,
.lp-section--props > .container::before,
.lp-section--props > .container::after,
.lp-section--faq > .container::before,
.lp-section--faq > .container::after,
.lp-section--gallery > .container::before,
.lp-section--gallery > .container::after {
    position: absolute;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    opacity: 0.65;
    box-shadow: 0 15px 30px rgba(20, 47, 84, 0.18);
    animation: float 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    content: '';
}

.lp-section--intro > .container::before {
    content: "\f030" !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #92c5ff, #a78bfa);
    top: 0;
    left: 1rem;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.6rem;
    opacity: 0.8;
    z-index: 10;
}

.lp-section--intro > .container::after {
    content: "\f004" !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #fed7aa, #fda4af);
    bottom: 1rem;
    right: 1.5rem;
    animation-delay: 2s;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.25rem;
    z-index: 10;
}

/* Intro Card Styles Modernized */
.lp-intro-card {
    background: rgba(255, 255, 255, 0.85); /* More transparent for modern glass look */
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset; /* Inner highlight */
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 4rem;
}

.lp-intro-card__icon {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50%;
    background: #fff;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin: -6rem auto 2.5rem; /* Break out of card */
    box-shadow: 
        0 15px 35px rgba(20, 47, 84, 0.15),
        0 5px 10px rgba(0, 0, 0, 0.05);
    border: 4px solid rgba(255, 255, 255, 0.5); /* Glass border ring */
    position: relative;
    z-index: 10;
}

/* Ensure icons in bubbles are visible - FORCE FontAwesome family */
/* Base Shared Styles for Floating Bubbles */
.lp-section--stories .container::before,
.lp-section--intro > .container::after,
.lp-section--props > .container::before,
.lp-section--props > .container::after,
.lp-section--faq > .container::before,
.lp-section--faq > .container::after,
.lp-section--gallery > .container::before,
.lp-section--gallery > .container::after {
    position: absolute;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal; 
    font-variant: normal;
    font-size: 2.2rem;
    color: #fff !important;
    box-shadow: 0 15px 35px rgba(20, 47, 84, 0.2);
    animation: float 8s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: '';
}
    margin-bottom: 1.5rem;
    color: var(--color-navy);
}

.lp-intro-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.lp-intro-card .lp-lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
}

.lp-section--intro .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: relative; 
}


/* 2. PROPS: Glasses & Masks */
.lp-section--props > .container::before {
    content: "\f530" !important; /* Glasses */
    background: linear-gradient(135deg, #FF9966, #FF5E62); /* Orange/Red */
    top: 2rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(15deg);
}

.lp-section--props > .container::after {
    content: "\f630" !important; /* Theater Masks */
    background: linear-gradient(135deg, #DA22FF, #9733EE); /* Purple */
    bottom: -1.5rem;
    left: 2rem;
    width: 4.5rem;
    height: 4.5rem;
    animation-delay: 2s;
    font-size: 1.5rem;
    transform: rotate(-10deg);
}

/* 4. FAQ: Question & Lightbulb */
.lp-section--faq > .container::before {
    content: "\f128" !important; /* Question */
    background: linear-gradient(135deg, #11998e, #38ef7d); /* Green */
    top: 2rem;
    right: 3rem;
    transform: rotate(20deg);
}

.lp-section--faq > .container::after {
    content: "\f0eb" !important; /* Lightbulb */
    background: linear-gradient(135deg, #8E2DE2, #4A00E0); /* Deep Purple */
    bottom: 2rem;
    right: 3rem; /* Original pos preserved, just updated styling */
    opacity: 0.9;
}

/* 3. GALLERY: Images & Magic */
.lp-section--gallery > .container::before {
    content: "\f03e" !important; /* Image */
    background: linear-gradient(135deg, #56CCF2, #2F80ED); /* Blue */
    top: 1rem;
    right: 2.5rem;
    width: 5.5rem;
    height: 5.5rem;
}

.lp-section--gallery > .container::after {
    content: "\f0d0" !important; /* Magic Wand (was Palette f1fc) */
    background: linear-gradient(135deg, #F2994A, #F2C94C); /* Yellow/Orange */
    bottom: 1.5rem;
    left: 2rem;
    font-size: 1.4rem;
}

/* 5. STORIES: Comment Quote */
.lp-section--stories .container::before {
    content: "\f10d" !important; /* Quote Left */
    background: linear-gradient(135deg, #ff00cc, #333399); /* Deep Gradient */
    top: 1.5rem;
    left: 2rem;
    width: 5rem;
    height: 5rem;
}

.lp-section--gallery .previewTile img {
    border-radius: 1.25rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Fix for Bootstrap Grid inside Gallery Slider */
.lp-gallery-track .container-fluid,
.lp-gallery-track .row {
    display: contents;
}

.lp-gallery-track .col-sm-2,
.lp-gallery-track .col-sm-3,
.lp-gallery-track .col-sm-4,
.lp-gallery-track .col-md-3,
.lp-gallery-track .col-lg-3,
.lp-gallery-track .col-xl-2 {
    flex: 0 0 auto;
    width: 280px; /* Fixed width for slider items */
    max-width: none;
    padding: 0; /* Remove column padding */
}

.lp-section--gallery .previewTile:hover img {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 60px rgba(20, 47, 84, 0.25);
}

.lp-gallery-slider {
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    background: var(--glass-bg);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    position: relative;
    overflow: hidden;
}

.lp-gallery-track {
    display: flex;
    gap: clamp(0.85rem, 2vw, 1.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.lp-gallery-track::-webkit-scrollbar {
    height: 8px;
}

.lp-gallery-track::-webkit-scrollbar-thumb {
    background: rgba(20, 47, 84, 0.25);
    border-radius: 999px;
}

.lp-gallery-track > div {
    flex: 0 0 clamp(260px, 60vw, 360px);
    scroll-snap-align: start;
}

.lp-gallery-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.lp-gallery-control {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 47, 84, 0.15);
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 47, 84, 0.18);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-gallery-control:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(20, 47, 84, 0.25);
}

.lp-gallery-control:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.lp-gallery-control::before {
    content: '';
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.lp-gallery-control--prev::before {
    transform: translate(-50%, -50%) rotate(225deg);
}

.paketvergleich .card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.paketvergleich .card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 35px 80px rgba(20, 47, 84, 0.2);
}


.lp-section--cta .form-control {
    background: #fff;
    border-color: rgba(20, 47, 84, 0.18);
}

.lp-section--cta .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 145, 8, 0.2);
}

.lp-section--cta form {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 47, 84, 0.08);
    padding: 0;
    background: transparent;
    box-shadow: none;
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 1;
}

.lp-section--stories .container::before {
    content: '';
    position: absolute;
    inset: 1.5rem;
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    pointer-events: none;
    opacity: 0.6;
}

.glide__slide {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glide__slide:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 65px rgba(20, 47, 84, 0.2);
}

.lp-divider-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.glide__slides {
    display: flex;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .header-nav {
        height: auto;
        padding: 1.5rem 0;
    }

    .lp-hero__card-stack {
        /* keep horizontal centering but use the tuned top value for this range */
        transform: translateX(-50%);
        left: 50%;
        top: 9%;
        position: absolute;
        width: min(620px, 92vw);
    }

    .lp-section::after {
        inset: auto;
    }

    .glide__slide {
        margin: 1rem 0;
    }

    .lp-section--intro > .container::before,
    .lp-section--intro > .container::after,
    .lp-section--props > .container::before,
    .lp-section--props > .container::after,
    .lp-section--faq > .container::before,
    .lp-section--faq > .container::after,
    .lp-section--gallery > .container::before,
    .lp-section--gallery > .container::after {
        content: none;
    }
}

p,
li,
span,
label {
    color: var(--text-secondary);
}

p {
    margin-bottom: 1.1rem;
}

strong,
b {
    color: var(--text-primary);
    font-weight: 600;
}

.lp-cta-shell {
    width: min(100%, calc(var(--section-max) + 4rem));
    margin-inline: auto;
}

.lp-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1.5rem, 2.8vw, 3.5rem);
    align-items: start;
}

.lp-cta-card {
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    overflow: hidden;
}

.lp-cta-card--form {
    background: #fff;
}

.lp-cta-card--form form {
    display: grid;
    gap: 0.85rem;
}

.lp-cta-card--form .form-control {
    margin-bottom: 0;
}

.lp-cta-card--info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 239, 223, 0.95));
}

.lp-cta-benefits {
    margin-top: 1.25rem;
}

.lp-cta-card .radio-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.lp-cta-card .radio {
    background: #f5f7fb;
    border-radius: 0.85rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(20, 47, 84, 0.12);
}

.lp-cta-card .radio label {
    margin-bottom: 0;
}

.lp-reviews-shell {
    display: block;
}

.lp-reviews-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: clamp(1rem, 3vw, 3rem);
    align-items: stretch;
}

@media (max-width: 991.98px) {
    .lp-reviews-grid {
        grid-template-columns: 1fr;
    }
}

.lp-reviews-meta {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.25rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp-reviews-meta__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #ff9108, #ff4d8d);
    box-shadow: 0 12px 30px rgba(255, 0, 70, 0.25);
}

.lp-reviews-carousel {
    position: relative;
}

.lp-review-slides .glide__slide {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.lp-review-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 2vw, 2.5rem);
    backdrop-filter: var(--blur-md);
}

@media (min-width: 576px) {
    .lp-review-card {
        flex-direction: row;
        align-items: flex-start;
    }
}

.lp-review-card__media {
    flex: none;
    width: 90px;
    height: 90px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 30px rgba(20, 47, 84, 0.18);
}

.lp-review-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-review-card__body {
    flex: 1;
}

.lp-review-card__rating svg {
    filter: drop-shadow(0 4px 6px rgba(255, 181, 66, 0.35));
}

.lp-faq-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lp-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--card-gap);
}

.lp-faq-accordion {
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
    padding: 0.25rem 0;
}

.lp-stories-shell {
    padding: clamp(1.5rem, 3vw, 3rem) !important;
}

.lp-stories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.lp-stories-grid > div {
    /* Style content items as cards */
    flex: 1 1 300px;
    max-width: 500px;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(20, 47, 84, 0.08);
}

.lp-stories-grid h3 {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    color: var(--color-navy);
}

.lp-stories-grid p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.lp-review-card__body {
    flex: 1;
    color: var(--text-primary); /* Ensure readability */
}

.lp-review-card__body p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Gallery Track Styles for Auto-Scroll */
.lp-gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
}

.lp-gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto; /* Allow scrolling */
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 1rem 2rem;
}

.lp-gallery-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.lp-gallery-track > div,
.lp-gallery-track > img,
.lp-gallery-track > a {
    flex: 0 0 auto;
    width: 280px; /* Fixed width for consistent items */
    transition: transform 0.3s ease;
}

.lp-gallery-track > div:hover,
.lp-gallery-track > img:hover,
.lp-gallery-track > a:hover {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.lp-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.lp-lightbox-content {
    position: relative;
    z-index: 1;
    transform: scale(0.9);
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.lp-lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.lp-lightbox-close:hover {
    transform: scale(1.1);
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes scaleIn { to { transform: scale(1); } }

/* Mobile Optimizations */
@media (max-width: 768px) {
    .lp-section--intro h2 {
        font-size: 2rem;
    }
    
    .lp-gallery-track > div,
    .lp-gallery-track > img,
    .lp-gallery-track > a {
        width: 220px;
    }

    .lp-lightbox-close {
        top: -40px;
        right: 0;
    }
}

.lp-partner-banner {
    width: min(100%, calc(var(--section-max) + 2rem));
    margin: 0 auto;
    padding: 0 1.25rem;
}

.lp-partner-card {
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    background: var(--glass-bg);
}

/* Old Footer Styles Removed for cleanup */

.footer-heading h3,
.footer-heading a {
    color: #fff;
}

.footer-links-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.footer-column {
    display: flex;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-link-list a {
    color: #d6def2;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link-list a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 1.25rem;
    padding: 1.25rem 0 2rem;
    text-align: center;
}

.footer-bottom__inner {
    width: min(100%, calc(var(--section-max) + 2rem));
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    color: #b8c5df;
}

.footer-bottom__inner a {
    color: #fff;
    font-weight: 600;
}

/* --- GLIDE GALLERY STYLES --- */
.lp-glide-gallery {
    position: relative;
    padding: 0 3rem; /* Space for arrows */
}

/* Hide scrollbar for glide track */
.glide__track {
    overflow: hidden;
    border-radius: 1.5rem;
    cursor: grab;
}

.glide__track:active {
    cursor: grabbing;
}

.glide__slides {
    display: flex; /* Glide requirement */
    /* Remove padding/margin that might come from bootstrap unwrapping */
    margin: 0;
    padding: 0;
    list-style: none;
}

.glide__slide {
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Style the images inside the cards */
.lp-gallery-item {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(20, 47, 84, 0.1);
    border: 1px solid rgba(20, 47, 84, 0.05);
    height: 100%; /* Equal height */
}

.lp-gallery-item img,
.lp-gallery-item .previewTile img {
    width: 100%;
    height: 320px; /* Fixed height for uniformity */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.lp-gallery-item:hover img,
.lp-gallery-item .previewTile:hover img {
    transform: scale(1.05);
}

.lp-gallery-item a {
    display: block;
    height: 100%;
}

/* Arrows */
.glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--color-navy);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.glide__arrow:hover {
    background: var(--color-navy);
    color: #fff;
    box-shadow: 0 8px 25px rgba(20, 47, 84, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.glide__arrow--left {
    left: 0;
}

.glide__arrow--right {
    right: 0;
}

@media (max-width: 768px) {
    .lp-glide-gallery {
        padding: 0; /* Full width on mobile */
    }
    .glide__arrow {
        width: 2.75rem;
        height: 2.75rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(4px);
    }
    .glide__arrow--left { left: 10px; }
    .glide__arrow--right { right: 10px; }
}