/* ===============================
   FINANZBERATUNG – SCROLL REDESIGN
   Steven Donke · Dark/Gold
================================ */

:root {
    --fb-bg: #2a2a2a;
    --fb-bg2: #242424;
    --fb-gold: #C9A24D;
    --fb-gold-dim: rgba(201, 162, 77, 0.15);
    --fb-white: #e5e5e5;
    --fb-muted: #555;
    --fb-text: #888;
}

body {
    margin: 0;
    padding: 0;
    background: var(--fb-bg);
    color: var(--fb-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.fb-sticky-visual {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    display: grid;
    place-items: center;
    z-index: 50;
    pointer-events: none;
    border-left: 1px solid rgba(255,255,255,0.04);
}

.fb-progress-bar {
    position: absolute;
    left: -1px;
    top: 5em;
    bottom: 0;
    width: 2px;
    background: var(--fb-gold);
    z-index: 20;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.1s linear;
}

.fb-shape {
    position: absolute;
    width: 320px;
    height: 320px;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fb-shape.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fb-cube-scene {
    width: 200px;
    height: 200px;
    perspective: 600px;
}

.fb-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: fb-cube-spin 20s linear infinite;
}

.fb-cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1.5px solid rgba(201, 162, 77, 0.3);
    background: rgba(201, 162, 77, 0.02);
    backface-visibility: visible;
}

.fb-cube-front  { transform: translateZ(100px); }
.fb-cube-back   { transform: translateZ(-100px) rotateY(180deg); }
.fb-cube-left   { transform: translateX(-100px) rotateY(-90deg); }
.fb-cube-right  { transform: translateX(100px) rotateY(90deg); }
.fb-cube-top    { transform: translateY(-100px) rotateX(90deg); }
.fb-cube-bottom { transform: translateY(100px) rotateX(-90deg); }

@keyframes fb-cube-spin {
    0%   { transform: rotateX(-20deg) rotateY(0deg); }
    100% { transform: rotateX(-20deg) rotateY(360deg); }
}

.fb-rings {
    position: relative;
    width: 280px;
    height: 280px;
    display: grid;
    place-items: center;
}

.fb-ring-el {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 162, 77, 0.2);
    animation: fb-ring-pulse 4s ease-in-out infinite;
}

.fb-ring-1 { width: 280px; height: 280px; animation-delay: 0s; }
.fb-ring-2 { width: 200px; height: 200px; border-color: rgba(201, 162, 77, 0.35); animation-delay: 0.8s; }
.fb-ring-3 { width: 120px; height: 120px; border-color: rgba(201, 162, 77, 0.5); background: rgba(201, 162, 77, 0.03); animation-delay: 1.6s; }

.fb-ring-icon { position: relative; z-index: 2; }

@keyframes fb-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.05); opacity: 0.7; }
}

/* --- Shape 3: Animated 3-Topf Pillars --- */

.fb-pillars-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.fb-pillars {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    height: 260px;
    position: relative;
    z-index: 2;
}

.fb-pillar {
    width: 64px;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(201, 162, 77, 0.15);
    border-bottom: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(201, 162, 77, 0.02);
}

.fb-pillar-num {
    position: absolute;
    bottom: 10px;
    font-size: 0.8em;
    font-weight: 700;
    color: var(--fb-gold);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 3;
}

.fb-pillar-label {
    position: absolute;
    top: -28px;
    font-size: 0.65em;
    font-weight: 600;
    color: var(--fb-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}

.fb-pillar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, rgba(201,162,77,0.45) 0%, rgba(201,162,77,0.08) 100%);
    height: 0%;
    transition: height 1.4s cubic-bezier(.22,.61,.36,1);
}

.fb-pillar-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 6px;
    background: var(--fb-gold);
    border-radius: 0 0 50% 50%;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.8s ease 1.2s;
}

.fb-pillar-1 { height: 0; transition: height 1s cubic-bezier(.22,.61,.36,1) 0.2s; }
.fb-pillar-2 { height: 0; transition: height 1s cubic-bezier(.22,.61,.36,1) 0.4s; }
.fb-pillar-3 { height: 0; transition: height 1s cubic-bezier(.22,.61,.36,1) 0.6s; }

.fb-shape-3.active .fb-pillar-1 { height: 100px; }
.fb-shape-3.active .fb-pillar-2 { height: 170px; }
.fb-shape-3.active .fb-pillar-3 { height: 240px; }

.fb-shape-3.active .fb-pillar-1 .fb-pillar-fill { height: 100%; transition-delay: 0.6s; }
.fb-shape-3.active .fb-pillar-2 .fb-pillar-fill { height: 100%; transition-delay: 0.8s; }
.fb-shape-3.active .fb-pillar-3 .fb-pillar-fill { height: 100%; transition-delay: 1s; }

.fb-shape-3.active .fb-pillar-num { opacity: 0.6; transform: translateY(0); }
.fb-shape-3.active .fb-pillar-1 .fb-pillar-num { transition-delay: 0.8s; }
.fb-shape-3.active .fb-pillar-2 .fb-pillar-num { transition-delay: 1s; }
.fb-shape-3.active .fb-pillar-3 .fb-pillar-num { transition-delay: 1.2s; }

.fb-shape-3.active .fb-pillar-label { opacity: 0.7; transform: translateY(0); }
.fb-shape-3.active .fb-pillar-1 .fb-pillar-label { transition-delay: 1s; }
.fb-shape-3.active .fb-pillar-2 .fb-pillar-label { transition-delay: 1.2s; }
.fb-shape-3.active .fb-pillar-3 .fb-pillar-label { transition-delay: 1.4s; }

.fb-shape-3.active .fb-pillar-glow { opacity: 0.5; }
.fb-shape-3.active .fb-pillar-1 .fb-pillar-glow { transition-delay: 1.2s; }
.fb-shape-3.active .fb-pillar-2 .fb-pillar-glow { transition-delay: 1.4s; }
.fb-shape-3.active .fb-pillar-3 .fb-pillar-glow { transition-delay: 1.6s; }

.fb-pillar-base {
    width: 260px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201,162,77,0.3), transparent);
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}

.fb-shape-3.active .fb-pillar-base { opacity: 1; }

.fb-pillar-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fb-gold);
    opacity: 0;
    z-index: 1;
}

.fb-shape-3.active .fb-pillar-particle {
    animation: fb-particle-float 3s ease-in-out infinite;
}

.fb-pp-1 { left: 15%; bottom: 30%; animation-delay: 0s !important; }
.fb-pp-2 { left: 40%; bottom: 50%; animation-delay: 0.5s !important; width: 3px; height: 3px; }
.fb-pp-3 { left: 65%; bottom: 40%; animation-delay: 1s !important; }
.fb-pp-4 { left: 80%; bottom: 60%; animation-delay: 1.5s !important; width: 5px; height: 5px; }
.fb-pp-5 { left: 25%; bottom: 70%; animation-delay: 2s !important; width: 3px; height: 3px; }
.fb-pp-6 { left: 55%; bottom: 20%; animation-delay: 2.5s !important; }

@keyframes fb-particle-float {
    0%   { opacity: 0; transform: translateY(0) scale(0); }
    20%  { opacity: 0.5; transform: translateY(-10px) scale(1); }
    80%  { opacity: 0.3; transform: translateY(-50px) scale(0.6); }
    100% { opacity: 0; transform: translateY(-70px) scale(0); }
}

/* --- Shape 4: Grid Art --- */

.fb-grid-art {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(3, 80px);
    gap: 12px;
}

.fb-grid-box {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.fb-grid-accent {
    border-color: rgba(201, 162, 77, 0.4);
    background: rgba(201, 162, 77, 0.06);
    box-shadow: 0 0 30px rgba(201, 162, 77, 0.08);
}

.fb-shape-4.active .fb-grid-box:nth-child(odd) {
    border-color: rgba(201, 162, 77, 0.15);
}

/* --- Shape 5: Light Orb --- */

.fb-orb {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--fb-gold), transparent 60%);
    filter: blur(50px);
    opacity: 0.4;
    animation: fb-orb-breathe 5s ease-in-out infinite;
}

.fb-orb-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 162, 77, 0.25);
    animation: fb-orb-ring-spin 12s linear infinite;
}

@keyframes fb-orb-breathe {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50%      { transform: scale(1.15); opacity: 0.55; }
}

@keyframes fb-orb-ring-spin {
    0%   { transform: rotate(0deg) scaleX(0.7); }
    100% { transform: rotate(360deg) scaleX(0.7); }
}

/* ===============================
   CONTENT LAYOUT
================================ */

.fb-scroll-content {
    width: 50%;
    position: relative;
    z-index: 20;
}

.fb-hero-new {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8vw;
    padding-right: 3em;
}

.fb-hero-label {
    font-size: 0.8em;
    font-weight: 500;
    color: var(--fb-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5em;
    opacity: 0;
    animation: fb-fade-in 0.7s ease-out 0.3s forwards;
}

.fb-hero-title {
    font-size: 4em;
    font-weight: 700;
    line-height: 1.05;
    color: var(--fb-white);
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fb-fade-in 0.8s ease-out 0.5s forwards;
}

.fb-hero-title span { color: var(--fb-gold); }

.fb-hero-desc {
    font-size: 1.05em;
    color: var(--fb-text);
    max-width: 28em;
    line-height: 1.7;
    margin: 0 0 2.5em;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 300;
    border-left: 2px solid var(--fb-gold);
    padding-left: 1.5em;
    opacity: 0;
    animation: fb-fade-in 0.7s ease-out 0.8s forwards;
}

.fb-hero-cta {
    display: inline-block;
    align-self: flex-start;
    padding: 0.9em 2.4em;
    border-radius: 0.4em;
    background: var(--fb-gold);
    color: #1e1e1e;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    opacity: 0;
    animation: fb-fade-in 0.7s ease-out 1.1s forwards;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.fb-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    background: #3a3a3a;
    color: #C9A24D;
}

@keyframes fb-fade-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===============================
   SECTIONS
================================ */

.fb-scroll-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18vh 3em 6em 8vw;
}

.fb-section-num {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--fb-gold);
    letter-spacing: 0.15em;
    opacity: 0.4;
    margin-bottom: 1.5em;
}

.fb-focus-text {
    font-size: 2.6em;
    font-weight: 600;
    line-height: 1.15;
    color: var(--fb-muted);
    margin: 0 0 0.8em;
    max-width: 480px;
    letter-spacing: -0.02em;
    transition: color 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}

.fb-scroll-section.in-view .fb-focus-text { color: var(--fb-white); }
.fb-focus-text span { color: var(--fb-gold); }

.fb-section-desc {
    font-size: 1em;
    color: var(--fb-text);
    max-width: 400px;
    line-height: 1.7;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 300;
    border-left: 2px solid transparent;
    padding-left: 1.5em;
    margin: 0 0 2.5em;
    transition: border-color 0.6s ease, color 0.6s ease;
}

.fb-scroll-section.in-view .fb-section-desc {
    border-color: var(--fb-gold);
    color: #999;
}

/* ===============================
   PINNED VORSORGE
================================ */

.fb-pinned-section { height: 300vh; position: relative; }
.fb-pinned-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.fb-pinned-content { padding: 0 3em 0 8vw; max-width: 480px; }
.fb-pinned-section .fb-focus-text { transition: color 0.6s ease; }
.fb-pinned-section.in-view .fb-focus-text { color: var(--fb-white); }
.fb-pinned-section .fb-section-desc { transition: border-color 0.6s ease, color 0.6s ease; }
.fb-pinned-section.in-view .fb-section-desc { border-color: var(--fb-gold); color: #999; }

.fb-vorsorge-stack { display: flex; flex-direction: column; gap: 1em; margin-top: 1.5em; }

.fb-vs-card {
    display: flex; gap: 1em; align-items: flex-start;
    padding: 1.2em 1.4em; border-radius: 0.7em;
    border: 1px solid rgba(255,255,255,0.04); background: rgba(255,255,255,0.015);
    opacity: 0; transform: translateY(40px); filter: blur(4px);
    transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1), filter 0.7s cubic-bezier(.22,.61,.36,1), border-color 0.3s ease, background 0.3s ease;
}

.fb-vs-card.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.fb-vs-card.visible:hover { border-color: rgba(201, 162, 77, 0.2); background: rgba(201, 162, 77, 0.03); }

.fb-vs-icon {
    width: 42px; height: 42px; border-radius: 50%; background: var(--fb-gold-dim);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    opacity: 0; transform: scale(0.5);
    transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(.22,.61,.36,1) 0.15s;
}

.fb-vs-card.visible .fb-vs-icon { opacity: 1; transform: scale(1); }

.fb-vs-text { opacity: 0; transform: translateX(16px); transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s; }
.fb-vs-card.visible .fb-vs-text { opacity: 1; transform: translateX(0); }
.fb-vs-text strong { display: block; font-size: 0.95em; color: var(--fb-white); margin-bottom: 0.35em; }
.fb-vs-text p { font-size: 0.88em; color: var(--fb-text); line-height: 1.6; margin: 0; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

/* ===============================
   ACCORDION
================================ */

.fb-accordion { max-width: 460px; }
.fb-acc-item { border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.fb-acc-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
.fb-acc-header { display: flex; align-items: center; gap: 0.9em; padding: 1.15em 0; background: none; border: none; cursor: pointer; width: 100%; text-align: left; font-family: inherit; transition: padding-left 0.3s ease; }
.fb-acc-header:hover { padding-left: 0.4em; }
.fb-acc-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--fb-gold-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fb-acc-header span:nth-child(2) { flex: 1; font-size: 1.1em; font-weight: 500; color: var(--fb-white); }
.fb-acc-arrow { font-size: 1.6em; color: var(--fb-gold); transition: transform 0.35s cubic-bezier(.22,.61,.36,1); }
.fb-acc-item.open .fb-acc-arrow { transform: rotate(90deg); }
.fb-acc-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease; opacity: 0; }
.fb-acc-item.open .fb-acc-body { max-height: 200px; opacity: 1; }
.fb-acc-body p { font-size: 0.9em; line-height: 1.7; color: var(--fb-text); margin: 0; padding: 0 0 1.2em 2.8em; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

/* ===============================
   TOPF LIST
================================ */

.fb-topf-list { display: flex; flex-direction: column; gap: 0; max-width: 420px; }
.fb-topf-item { display: flex; gap: 1.2em; align-items: flex-start; padding: 1.4em 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.fb-topf-num { font-size: 1.8em; font-weight: 700; color: var(--fb-gold); opacity: 0.3; line-height: 1; min-width: 50px; }
.fb-topf-item strong { display: block; font-size: 0.95em; color: var(--fb-white); margin-bottom: 0.3em; }
.fb-topf-item p { font-size: 0.88em; color: var(--fb-text); line-height: 1.6; margin: 0; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

/* ===============================
   CHECK GRID
================================ */

.fb-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; max-width: 380px; }
.fb-check-card { display: flex; align-items: center; gap: 0.6em; padding: 0.9em 1em; border-radius: 0.5em; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); transition: border-color 0.3s ease, background 0.3s ease; }
.fb-check-card:hover { border-color: rgba(201, 162, 77, 0.25); background: rgba(201, 162, 77, 0.04); }
.fb-check-card svg { flex-shrink: 0; }
.fb-check-card span { font-size: 0.85em; font-weight: 500; color: var(--fb-white); }

/* ===============================
   SERVICE GRID
================================ */

.fb-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; max-width: 480px; }
.fb-svc-card { padding: 1.6em 1.4em; border-radius: 0.7em; border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,0.02); transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease; }
.fb-svc-card:hover { border-color: rgba(201, 162, 77, 0.25); background: rgba(201, 162, 77, 0.03); transform: translateY(-4px); }
.fb-svc-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--fb-gold-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 1em; transition: background 0.35s ease, box-shadow 0.35s ease; }
.fb-svc-card.entered .fb-svc-icon { animation: fb-icon-pop 0.9s cubic-bezier(.22,.61,.36,1) forwards; }
.fb-svc-card:hover .fb-svc-icon { background: rgba(201, 162, 77, 0.2); box-shadow: 0 0 20px rgba(201, 162, 77, 0.15); animation: fb-icon-pop 0.7s cubic-bezier(.22,.61,.36,1); }

@keyframes fb-icon-pop {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.2) rotate(-5deg); }
    55%  { transform: scale(0.92) rotate(3deg); }
    75%  { transform: scale(1.05) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.fb-svc-card strong { display: block; font-size: 0.95em; color: var(--fb-white); margin-bottom: 0.4em; }
.fb-svc-card p { font-size: 0.85em; color: var(--fb-text); line-height: 1.6; margin: 0; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

/* ===============================
   CTA SECTION
================================ */

.fb-cta-new { width: 100%; padding: 8em 0; text-align: center; position: relative; overflow: hidden; background: var(--fb-bg2); z-index: 60; }
.fb-cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 0 2em; }
.fb-cta-content h2 { font-size: 2.6em; font-weight: 600; color: var(--fb-white); margin: 0 0 0.5em; }
.fb-cta-content h2 span { color: var(--fb-gold); }
.fb-cta-content p { font-size: 1.05em; color: var(--fb-text); margin: 0 0 2.2em; line-height: 1.7; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

.fb-cta-btn {
    display: inline-block;
    padding: 0.9em 2.6em;
    border-radius: 0.4em;
    background: var(--fb-gold);
    color: #1e1e1e;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.fb-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    background: #3a3a3a;
    color: #C9A24D;
}

/* ===============================
   MOBILE PROGRESS RING
================================ */

.fb-mobile-progress { display: none; }
.fb-mobile-progress svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fb-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 6; }
.fb-ring { fill: none; stroke: var(--fb-gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.15s linear; }

#footer-container { position: relative; z-index: 60; width: 100%; }

/* Hide shapes at CTA but keep progress bar */
.fb-sticky-visual.shapes-hidden .fb-shape {
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
}


/* ===============================
   TABLET (max 960px)
================================ */

@media (max-width: 960px) {

    /* ---- Background shapes: subtle ambient glow ---- */
    .fb-sticky-visual {
        opacity: 0.25;
        width: 100%;
        z-index: 0;
        border-left: none;
    }

    .fb-progress-bar { display: none; }

    /* ---- Full-width content ---- */
    .fb-scroll-content {
        width: 100%;
    }

    /* ---- Hero ---- */
    .fb-hero-new {
        padding: 9em 2em 4em;
        height: auto;
        min-height: 85vh;
    }

    .fb-hero-title {
        font-size: 2.8em;
    }

    .fb-hero-desc {
        font-size: 0.95em;
        max-width: 100%;
    }

    /* ---- Sections ---- */
    .fb-scroll-section {
        padding: 5em 2em 4em;
        min-height: auto;
    }

    .fb-focus-text {
        font-size: 2.1em;
        max-width: 100%;
    }

    .fb-section-desc {
        max-width: 100%;
    }

    /* ---- Pinned → Static on tablet ---- */
    .fb-pinned-section {
        height: auto;
    }

    .fb-pinned-sticky {
        position: relative;
        height: auto;
        padding: 5em 0;
    }

    .fb-pinned-content {
        padding: 0 2em;
        max-width: 100%;
    }

    /* Cards sofort sichtbar */
    .fb-vs-card {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .fb-vs-icon {
        opacity: 1;
        transform: none;
    }

    .fb-vs-text {
        opacity: 1;
        transform: none;
    }

    /* ---- Accordion ---- */
    .fb-accordion {
        max-width: 100%;
    }

    .fb-acc-body p {
        padding-left: 0;
    }

    /* ---- Topf ---- */
    .fb-topf-list {
        max-width: 100%;
    }

    /* ---- Check Grid: keep 2 columns ---- */
    .fb-check-grid {
        max-width: 100%;
    }

    /* ---- Service Grid: 2 columns ---- */
    .fb-service-grid {
        max-width: 100%;
    }

    /* ---- CTA ---- */
    .fb-cta-new {
        padding: 5em 0;
    }

    .fb-cta-content h2 {
        font-size: 2.2em;
    }

    /* ---- Disable hover effects on touch ---- */
    @media (hover: none) {
        .fb-svc-card:hover {
            transform: none;
            border-color: rgba(255,255,255,0.05);
            background: rgba(255,255,255,0.02);
        }

        .fb-check-card:hover {
            border-color: rgba(255,255,255,0.06);
            background: rgba(255,255,255,0.02);
        }

        .fb-vs-card.visible:hover {
            border-color: rgba(255,255,255,0.04);
            background: rgba(255,255,255,0.015);
        }

        .fb-acc-header:hover {
            padding-left: 0;
        }
    }
}


/* ===============================
   PHONE (max 600px)
================================ */

@media (max-width: 600px) {

    /* ---- Hero compact ---- */
    .fb-hero-new {
        padding: 8em 1.4em 3em;
        min-height: 80vh;
    }

    .fb-hero-label {
        font-size: 0.72em;
        letter-spacing: 0.15em;
        margin-bottom: 1.2em;
    }

    .fb-hero-title {
        font-size: 2.2em;
    }

    .fb-hero-desc {
        font-size: 0.88em;
        padding-left: 1.2em;
        margin-bottom: 2em;
    }

    .fb-hero-cta {
        padding: 0.75em 2em;
        font-size: 0.85em;
    }

    /* ---- Sections: tighter ---- */
    .fb-scroll-section {
        padding: 3.5em 1.4em 3em;
    }

    .fb-section-num {
        font-size: 0.7em;
        margin-bottom: 1em;
    }

    .fb-focus-text {
        font-size: 1.7em;
        margin-bottom: 0.6em;
    }

    .fb-section-desc {
        font-size: 0.88em;
        padding-left: 1.2em;
        margin-bottom: 2em;
    }

    /* ---- Pinned Section ---- */
    .fb-pinned-sticky {
        padding: 3.5em 0;
    }

    .fb-pinned-content {
        padding: 0 1.4em;
    }

    .fb-pinned-content .fb-focus-text {
        font-size: 1.7em;
    }

    .fb-pinned-content .fb-section-desc {
        font-size: 0.88em;
        padding-left: 1.2em;
    }

    /* ---- Vorsorge Cards ---- */
    .fb-vorsorge-stack {
        gap: 0.8em;
    }

    .fb-vs-card {
        padding: 1em 1.1em;
        gap: 0.8em;
    }

    .fb-vs-icon {
        width: 36px;
        height: 36px;
    }

    .fb-vs-icon svg {
        width: 18px;
        height: 18px;
    }

    .fb-vs-text strong {
        font-size: 0.88em;
    }

    .fb-vs-text p {
        font-size: 0.82em;
    }

    /* ---- Accordion ---- */
    .fb-acc-header {
        gap: 0.7em;
        padding: 1em 0;
    }

    .fb-acc-icon {
        width: 34px;
        height: 34px;
    }

    .fb-acc-icon svg {
        width: 16px;
        height: 16px;
    }

    .fb-acc-header span:nth-child(2) {
        font-size: 0.92em;
    }

    .fb-acc-body p {
        font-size: 0.84em;
        padding: 0 0 1em 0;
    }

    .fb-acc-item.open .fb-acc-body {
        max-height: 300px;
    }

    /* ---- Topf Items ---- */
    .fb-topf-item {
        gap: 0.8em;
        padding: 1.1em 0;
    }

    .fb-topf-num {
        font-size: 1.4em;
        min-width: 36px;
    }

    .fb-topf-item strong {
        font-size: 0.88em;
    }

    .fb-topf-item p {
        font-size: 0.82em;
    }

    /* ---- Check Grid: single column ---- */
    .fb-check-grid {
        grid-template-columns: 1fr;
        gap: 0.6em;
    }

    .fb-check-card {
        padding: 0.8em 1em;
    }

    .fb-check-card span {
        font-size: 0.88em;
    }

    /* ---- Service Grid: single column ---- */
    .fb-service-grid {
        grid-template-columns: 1fr;
        gap: 0.8em;
    }

    .fb-svc-card {
        padding: 1.3em 1.2em;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1em;
    }

    .fb-svc-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .fb-svc-card strong {
        font-size: 0.88em;
        margin-bottom: 0.2em;
    }

    .fb-svc-card p {
        font-size: 0.82em;
    }

    /* ---- CTA ---- */
    .fb-cta-new {
        padding: 4em 0;
    }

    .fb-cta-content {
        padding: 0 1.4em;
    }

    .fb-cta-content h2 {
        font-size: 1.8em;
    }

    .fb-cta-content p {
        font-size: 0.9em;
    }

    .fb-cta-btn {
        padding: 0.75em 2em;
        font-size: 0.88em;
    }
}


/* ===============================
   VERY SMALL PHONES (max 400px)
================================ */

@media (max-width: 400px) {

    .fb-hero-new {
        padding: 7em 1.2em 2.5em;
    }

    .fb-hero-title {
        font-size: 1.85em;
    }

    .fb-hero-desc {
        font-size: 0.84em;
    }

    .fb-scroll-section {
        padding: 3em 1.2em 2.5em;
    }

    .fb-pinned-content {
        padding: 0 1.2em;
    }

    .fb-focus-text,
    .fb-pinned-content .fb-focus-text {
        font-size: 1.5em;
    }

    .fb-cta-content h2 {
        font-size: 1.5em;
    }
}