/* ==========================================================================
   Marion Fiel Health Academy — bespoke stylesheet
   1:1 port of the React/Tailwind design (light, Hellblau/Grün/Rosé, Inter).
   ========================================================================== */

:root {
    /* Brand */
    --primary: hsl(200 65% 54%);          /* #3B9FD9 Hellblau */
    --primary-dark: hsl(200 65% 45%);
    --primary-light: hsl(200 65% 70%);
    --secondary: hsl(145 51% 62%);        /* #6FCF97 Grün */
    --accent: hsl(345 82% 80%);           /* #F4A5B9 Rosé */

    /* Neutrals */
    --background: hsl(0 0% 100%);
    --foreground: hsl(220 20% 20%);
    --muted: hsl(210 40% 96.1%);
    --muted-foreground: hsl(215 16% 47%);
    --border: hsl(214 32% 91%);
    --card: hsl(0 0% 100%);
    --footer-bg: #1F2937;

    /* Tokens */
    --radius: 1rem;
    --gradient-hero: linear-gradient(135deg, hsl(200 65% 54% / 0.05) 0%, hsl(145 51% 62% / 0.05) 100%);
    --gradient-cta: linear-gradient(135deg, hsl(200 65% 54%) 0%, hsl(200 65% 45%) 100%);
    --shadow-sm: 0 2px 8px hsl(200 65% 54% / 0.08);
    --shadow-md: 0 4px 16px hsl(200 65% 54% / 0.12);
    --shadow-lg: 0 8px 32px hsl(200 65% 54% / 0.16);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 5rem;
    --container-max: 1400px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

ul, ol { list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

svg { flex-shrink: 0; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }

.star-filled { fill: #facc15; stroke: #facc15; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

@media (min-width: 768px) {
    .container { padding-inline: 2rem; }
}

.section { padding-block: 4rem; }

@media (min-width: 768px) {
    .section { padding-block: 6rem; }
}

.section--muted { background: hsl(210 40% 96.1% / 0.3); }

.section--fade-top { background: linear-gradient(to bottom, hsl(210 40% 96.1% / 0.3), var(--background)); }

.section__head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
    display: grid;
    gap: 1rem;
}

.section__head--wide { max-width: 56rem; }

.section__headline {
    font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section__headline--left { text-align: left; }

.section__intro {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .section__intro { font-size: 1.25rem; }
}

.section__intro--small { font-size: 1rem; max-width: 42rem; margin-inline: auto; }

@media (min-width: 768px) {
    .section__intro--small { font-size: 1.125rem; }
}

.section__intro-block {
    display: grid;
    gap: 1rem;
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.65;
    text-align: center;
}

@media (min-width: 768px) {
    .section__intro-block { font-size: 1.125rem; }
}

.section__cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 0.875rem 1.5rem;
    border-radius: calc(var(--radius) - 2px);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.btn--primary {
    background: var(--primary);
    color: #fff;
}

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

.btn--gradient {
    background: var(--gradient-cta);
    color: #fff;
}

.btn--gradient:hover { opacity: 0.9; }

.btn--outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn--outline:hover {
    background: hsl(200 65% 54% / 0.05);
    border-color: var(--primary);
}

.btn--lg { padding: 1rem 2rem; font-size: 1.0625rem; }

.btn--xl { padding: 1.35rem 2rem; font-size: 1.0625rem; }

@media (min-width: 768px) {
    .btn--xl { font-size: 1.125rem; }
}

.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

.btn:hover .btn__arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Hover lift
   -------------------------------------------------------------------------- */

.hover-lift { transition: var(--transition-smooth); }

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll (JS-gated: without JS everything stays visible)
   -------------------------------------------------------------------------- */

html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html.js .reveal--delay-1.is-visible { transition-delay: 0.05s; }
html.js .reveal--delay-2.is-visible { transition-delay: 0.15s; }
html.js .reveal--delay-3.is-visible { transition-delay: 0.25s; }
html.js .reveal--delay-4.is-visible { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: hsl(0 0% 100% / 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    flex-shrink: 0;
}

.header__logo-icon { color: var(--primary); }

.header__logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: var(--muted-foreground);
}

.header__nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.header__nav-link {
    font-weight: 500;
    text-decoration: none;
    color: var(--foreground);
    transition: color 0.2s ease;
}

.header__nav-link:hover { color: var(--primary); }

.header__cta { margin-left: 1rem; }

.header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__cta-tablet { display: none; }

@media (min-width: 768px) {
    .header__cta-tablet { display: inline-flex; }
}

@media (min-width: 1024px) {
    .header__nav { display: flex; }
    .header__mobile-actions { display: none; }
}

.header__burger {
    padding: 0.5rem;
    display: grid;
}

.header__burger-open,
.header__burger-close { grid-area: 1 / 1; display: flex; }

.header__burger .header__burger-close { display: none; }

.header__burger[aria-expanded="true"] .header__burger-open { display: none; }

.header__burger[aria-expanded="true"] .header__burger-close { display: flex; }

/* Mobile menu lives OUTSIDE .header — backdrop-filter on the header would
   trap position:fixed children to the header box (iPad burger bug). */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 49;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu__link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.625rem;
    transition: var(--transition-smooth);
}

.mobile-menu__link:hover {
    color: var(--primary);
    background: var(--muted);
}

.mobile-menu__cta { padding: 0.75rem 1rem 0; }

@media (min-width: 1024px) {
    .mobile-menu { display: none; }
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero__blob--primary {
    top: 5rem;
    right: 0;
    width: 600px;
    height: 600px;
    background: hsl(200 65% 54% / 0.1);
}

.hero__blob--secondary {
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: hsl(145 51% 62% / 0.1);
}

.hero__inner {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
    align-items: center;
    padding-block: 4rem;
}

@media (min-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr 1fr; padding-block: 5rem; }
}

.hero__content { display: grid; gap: 2rem; }

.hero__eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.hero__headline {
    font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 1rem;
}

.hero__subheadline {
    font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
    font-weight: 500;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

.hero__paragraph {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .hero__paragraph { font-size: 1.125rem; }
}

.hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero__ctas { flex-direction: row; }
}

.hero__badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero__badges { grid-template-columns: repeat(3, 1fr); }
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero__image-frame {
    aspect-ratio: 4 / 5;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Pain points
   -------------------------------------------------------------------------- */

.pain-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 768px) {
    .pain-card { padding: 2rem; }
}

.pain-card__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: hsl(345 82% 80% / 0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.pain-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pain-card__desc {
    color: var(--muted-foreground);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pain-card__solution {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    margin-top: auto;
}

.pain-card__arrow { font-size: 1.125rem; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Benefits
   -------------------------------------------------------------------------- */

.benefit-card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .benefit-card { padding: 2rem; }
}

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

.benefit-card__icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover .benefit-card__icon { transform: scale(1.1); }

.benefit-card__icon--primary { background: hsl(200 65% 54% / 0.2); color: var(--primary); }
.benefit-card__icon--secondary { background: hsl(145 51% 62% / 0.2); color: var(--secondary); }
.benefit-card__icon--accent { background: hsl(345 82% 80% / 0.2); color: var(--accent); }

.benefit-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.benefit-card__desc {
    color: var(--muted-foreground);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.benefit-card__benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.steps__line {
    display: none;
    position: absolute;
    top: 4rem;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dashed hsl(200 65% 54% / 0.3);
}

@media (min-width: 1024px) {
    .steps__line { display: block; }
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.step__badge {
    position: absolute;
    top: -1rem;
    right: calc(50% - 4.5rem);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

@media (min-width: 768px) {
    .step__badge { width: 3rem; height: 3rem; font-size: 1.125rem; right: calc(50% - 5.5rem); }
}

.step__icon {
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius);
    background: var(--gradient-cta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

@media (min-width: 768px) {
    .step__icon { width: 8rem; height: 8rem; }
}

.step__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.step__desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--muted-foreground);
}

.step__time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   Trust: insurance box, indicators, testimonials
   -------------------------------------------------------------------------- */

.insurance-box {
    max-width: 56rem;
    margin: 0 auto 4rem;
    border: 2px solid var(--secondary);
    border-radius: var(--radius);
    background: linear-gradient(to right, hsl(145 51% 62% / 0.1), hsl(345 82% 80% / 0.1));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .insurance-box { flex-direction: row; align-items: flex-start; }
}

.insurance-box__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insurance-box__body { display: grid; gap: 0.75rem; }

.insurance-box__title {
    font-size: 1.5rem;
    font-weight: 700;
}

.insurance-box__text {
    color: var(--muted-foreground);
    line-height: 1.65;
}

.insurance-box__tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.insurance-box__tip svg { margin-top: 0.125rem; }

.trust-indicators {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .trust-indicators { grid-template-columns: repeat(3, 1fr); }
}

.trust-indicator {
    text-align: center;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.trust-indicator__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: hsl(200 65% 54% / 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-indicator__title {
    font-size: 1.875rem;
    font-weight: 700;
}

.trust-indicator__desc { color: var(--muted-foreground); }

.testimonial {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial__quote {
    font-style: italic;
    color: var(--muted-foreground);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial__person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.testimonial__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial__name { font-weight: 600; }

.testimonial__info {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about { grid-template-columns: 2fr 3fr; }
}

.about__media { order: 2; overflow: hidden; }

@media (min-width: 1024px) {
    .about__media { order: 1; overflow: visible; }
}

.about__content { order: 1; display: grid; gap: 2rem; }

@media (min-width: 1024px) {
    .about__content { order: 2; }
}

.about__image-wrap { position: relative; }

.about__image-bg {
    position: absolute;
    inset: -1rem;
    background: hsl(145 51% 62% / 0.2);
    border-radius: 1.5rem;
    transform: rotate(-6deg);
    z-index: -1;
}

.about__image-frame {
    aspect-ratio: 4 / 5;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__paragraphs {
    display: grid;
    gap: 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .about__paragraphs { font-size: 1.125rem; }
}

.about__credentials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .about__credentials { grid-template-columns: repeat(3, 1fr); }
}

.credential {
    background: var(--card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: grid;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.credential__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential__icon--primary { background: hsl(200 65% 54% / 0.2); color: var(--primary); }
.credential__icon--secondary { background: hsl(145 51% 62% / 0.2); color: var(--secondary); }
.credential__icon--accent { background: hsl(345 82% 80% / 0.2); color: var(--accent); }

.credential__title { font-weight: 600; }

.credential__desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   Certifications
   -------------------------------------------------------------------------- */

#certifications-section .section__headline { margin-bottom: 3rem; }

.trainers {
    max-width: 48rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.trainers__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trainers__intro {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .trainers__intro { font-size: 1.125rem; }
}

.trainers__list {
    display: inline-block;
    text-align: left;
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--muted-foreground);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .trainers__list { font-size: 1.125rem; }
}

.trainers__list li { margin-bottom: 0.5rem; }

.certificates {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .certificates { grid-template-columns: repeat(2, 1fr); }
}

.certificate {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.certificate:hover { box-shadow: var(--shadow-lg); }

.certificate img { width: 100%; }

/* --------------------------------------------------------------------------
   CTA / pricing
   -------------------------------------------------------------------------- */

.cta {
    position: relative;
    overflow: hidden;
    padding-block: 4rem;
}

@media (min-width: 768px) {
    .cta { padding-block: 6rem; }
}

.cta__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-cta);
    opacity: 0.95;
}

.cta__blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: hsl(0 0% 100% / 0.1);
    filter: blur(100px);
}

@media (min-width: 768px) {
    .cta__blob { width: 500px; height: 500px; }
}

.cta__blob--tr { top: 5rem; right: 0; }
.cta__blob--bl { bottom: 5rem; left: 0; }

.cta__inner { position: relative; z-index: 10; }

.cta__head {
    text-align: center;
    color: #fff;
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .cta__head { margin-bottom: 4rem; }
}

.cta__headline {
    font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta__intro {
    font-size: 1.25rem;
    color: hsl(0 0% 100% / 0.9);
    max-width: 48rem;
    margin-inline: auto;
}

.pricing {
    max-width: 64rem;
    margin-inline: auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: grid;
}

@media (min-width: 768px) {
    .pricing { grid-template-columns: 1fr 1fr; }
}

.pricing__left {
    padding: 1.5rem;
    background: hsl(210 40% 96.1% / 0.3);
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

@media (min-width: 768px) {
    .pricing__left { padding: 2.5rem; gap: 2rem; }
}

.pricing__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pricing__price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

@media (min-width: 768px) {
    .pricing__price { font-size: 4.5rem; }
}

.pricing__currency { font-size: 1.5rem; }

@media (min-width: 768px) {
    .pricing__currency { font-size: 2.25rem; }
}

.pricing__note {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.pricing__old {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
    margin-top: 0.25rem;
}

.pricing__included-heading {
    font-size: 1.125rem;
    font-weight: 600;
}

.pricing__features {
    display: grid;
    gap: 1rem;
}

.pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted-foreground);
}

.pricing__features svg { margin-top: 0.125rem; }

.pricing__right {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .pricing__right { padding: 2.5rem; }
}

.pricing__cta {
    align-self: center;
    width: 100%;
    max-width: 20rem;
}

.pricing__notice {
    background: hsl(145 51% 62% / 0.1);
    border: 2px solid var(--secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing__notice-icon { flex-shrink: 0; }

.pricing__notice-title {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.pricing__notice-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.pricing__seals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .pricing__seals { grid-template-columns: repeat(2, 1fr); }
}

.pricing__seal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   Partner
   -------------------------------------------------------------------------- */

.partner-card {
    max-width: 64rem;
    margin-inline: auto;
    background: var(--card);
    border: 2px solid hsl(200 65% 54% / 0.2);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 1.5rem;
    display: grid;
    gap: 2rem;
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .partner-card { padding: 2.5rem; }
}

.partner-card__image {
    justify-self: center;
    width: 8rem;
    height: 8rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .partner-card__image { width: 12rem; height: 12rem; }
}

.partner-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card__title {
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
    font-weight: 700;
    text-align: center;
}

.partner-card__text {
    color: var(--muted-foreground);
    line-height: 1.65;
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.partner-card__benefits {
    display: grid;
    gap: 0.5rem;
    justify-items: center;
}

.partner-card__benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.partner-card__cta {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
    max-width: 56rem;
    margin-inline: auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding-inline: 1.5rem;
    transition: border-color 0.2s ease;
}

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

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question:hover { color: var(--primary); }

.faq-item__chevron {
    width: 0.625rem;
    height: 0.625rem;
    border-right: 2px solid var(--muted-foreground);
    border-bottom: 2px solid var(--muted-foreground);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.faq-item[open] .faq-item__chevron { transform: rotate(225deg); }

.faq-item__answer {
    padding-bottom: 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
    background: var(--footer-bg);
    color: #fff;
    padding-block: 4rem 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.footer__brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__tagline {
    color: #9ca3af;
    line-height: 1.65;
}

.footer__heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__links { display: grid; gap: 0.75rem; }

.footer__links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__links a:hover { color: #fff; }

.footer__mail {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.footer__bottom {
    border-top: 1px solid #374151;
    padding-block: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

@media (min-width: 768px) {
    .footer__bottom { flex-direction: row; }
}

/* --------------------------------------------------------------------------
   Legal pages + 404
   -------------------------------------------------------------------------- */

.legal-page { min-height: 100vh; }

.legal {
    max-width: 56rem;
    padding-block: calc(var(--header-height) + 3rem) 5rem;
}

.legal__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.legal__lead {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.legal__section { margin-bottom: 2.5rem; }

.legal__section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal__section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.legal__section ul {
    list-style: disc;
    padding-left: 1.5rem;
    display: grid;
    gap: 0.5rem;
    line-height: 1.7;
}

.legal__section a {
    color: var(--primary);
    text-decoration: none;
}

.legal__section a:hover { text-decoration: underline; }

.legal p a { color: var(--primary); text-decoration: none; }
.legal p a:hover { text-decoration: underline; }

.not-found {
    text-align: center;
    display: grid;
    gap: 1.25rem;
    justify-items: center;
}

.not-found__code {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.not-found__title { font-size: 2rem; font-weight: 700; }

.not-found__text { color: var(--muted-foreground); }

/* --------------------------------------------------------------------------
   Cookie consent — floaty glass card, bottom-left (house style).
   consent.js renders fixed class names, hence the !important overrides.
   -------------------------------------------------------------------------- */

.consent-banner {
    position: fixed !important;
    left: 1.25rem !important;
    bottom: 1.25rem !important;
    right: auto !important;
    top: auto !important;
    max-width: 340px !important;
    width: auto !important;
    z-index: 9000 !important;
    background: rgba(20, 16, 24, 0.72) !important;
    -webkit-backdrop-filter: blur(26px) saturate(180%) !important;
    backdrop-filter: blur(26px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.18) !important;
    padding: 1rem 1.1rem 1.05rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    animation: consentSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes consentSlideUp {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 480px) {
    .consent-banner {
        left: 0.85rem !important;
        right: 0.85rem !important;
        max-width: none !important;
    }
}

.consent-banner__title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 !important;
}

.consent-banner__text {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    margin: 0 !important;
}

.consent-banner__text a,
.consent-banner__link {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.consent-banner__text a:hover,
.consent-banner__link:hover { color: var(--primary-light) !important; }

.consent-banner__actions {
    display: flex !important;
    gap: 0.6rem !important;
    margin: 0 !important;
}

.consent-banner__btn {
    flex: 1 1 0 !important;
    border-radius: 999px !important;
    padding: 0.55rem 0.9rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    white-space: normal !important;
    transition: opacity 0.2s ease, background 0.2s ease !important;
}

.consent-banner__btn.btn--primary {
    background: var(--primary) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
}

.consent-banner__btn.btn--primary:hover { background: var(--primary-dark) !important; }

.consent-banner__btn.btn--ghost {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.consent-banner__btn.btn--ghost:hover { background: rgba(255, 255, 255, 0.08) !important; }
