/* =============================================
   Gasser Vermögensverwaltung AG
   Normales Scroll-Layout (kein Full-Page-Slider)
   ============================================= */

/* ── Basis-Layout ── */
html, body {
    height: auto;
    overflow: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ── Haupt-Wrapper ── */
#fp-wrapper {
    position: relative;
    width: 100%;
}

/* ── Page-Content (Sidebar-Offset-Wrapper) ── */
#page-content {
    flex: 1;
    min-width: 0;
}

/* ── Sections ── */
.fp-slide {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--w80);
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}

/* Diagonaler Hintergrund-Dekor */
.fp-slide::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: repeating-linear-gradient(
        -58deg,
        transparent 0px,
        transparent 36px,
        rgba(255,255,255,.018) 36px,
        rgba(255,255,255,.018) 37px
    );
    pointer-events: none;
    z-index: 0;
}

/* Goldene Akzentlinie oben je Section */
.fp-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line) 30%, var(--gold-line) 70%, transparent);
    opacity: .35;
    z-index: 1;
}

/* Erste Section – kein Trennstrich oben */
.fp-slide:first-child::after { display: none; }

/* Alternative Section (leicht hellerer Hintergrund) */
.fp-slide--alt { background: var(--bg-mid); }

/* ── Slide-Inhalte ── */
.slide-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 5rem var(--pad) 5rem;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.slide-inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.slide-inner--center {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2.5rem;
}

.slide-inner--narrow {
    flex-direction: column;
    justify-content: flex-start;
    max-width: 860px;
    gap: 2rem;
}

/* ── HERO ── */
#s-hero {
    min-height: 100vh;
    padding-bottom: 60px; /* Platz für Feature-Bar */
}
#s-hero .slide-inner {
    align-items: center;
    min-height: calc(100vh - 60px);
    padding-top: 5rem;
}
.hero-left  { flex: 1; max-width: 580px; }
.hero-right { flex-shrink: 0; width: 420px; }

.hero-pretitle {
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.6rem;
    display: flex; align-items: center; gap: .75rem;
}
.hero-pretitle::before {
    content: ''; width: 28px; height: 1px;
    background: var(--gold); opacity: .7; flex-shrink: 0;
}
.hero-title {
    font-family: var(--serif);
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 400;
    color: var(--w100);
    line-height: 1.07;
    letter-spacing: -.04em;
    margin-bottom: 1.8rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero-lead {
    font-size: .97rem;
    line-height: 1.88;
    color: var(--w55);
    font-weight: 300;
    margin-bottom: 2.4rem;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero-divider {
    width: 100%; height: 1px;
    background: var(--border);
    margin-bottom: 1.6rem;
}
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.hero-trust-item {
    display: flex; align-items: center; gap: .45rem;
    font-size: .6rem; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--w35);
}
.hero-trust-item i { color: var(--gold); font-size: .58rem; }

/* Hero-Karte */
.hero-card {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    position: relative;
    padding: 2.2rem 2rem 1.8rem;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light) 60%, transparent);
}
.hero-card-label {
    font-size: .58rem; font-weight: 600;
    letter-spacing: .26em; text-transform: uppercase;
    color: var(--gold-light); margin-bottom: .8rem;
    display: flex; align-items: center; gap: .5rem;
}
.hero-card h3 {
    font-family: var(--serif);
    font-size: 1.35rem; font-weight: 400;
    color: var(--w100); margin-bottom: .4rem;
}
.hero-card-sub {
    font-size: .8rem; color: var(--w35);
    font-weight: 300; line-height: 1.6; margin-bottom: 1.5rem;
}

/* Feature-Bar */
.fp-feat-bar {
    position: relative;
    z-index: 10;
    background: rgba(12,15,22,.9);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: .9rem 4rem;
    backdrop-filter: blur(8px);
}
.fp-feat-bar-item {
    display: flex; align-items: center; gap: .42rem;
    font-size: .57rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--w35);
    padding: .25rem 1.1rem;
    white-space: nowrap;
}
.fp-feat-bar-item i { color: var(--gold); font-size: .58rem; }
.fp-feat-bar-sep {
    width: 1px; height: .75rem;
    background: var(--border); flex-shrink: 0;
}

/* ── Scroll-Reveal Animationen ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1),
                transform .7s cubic-bezier(.22,.61,.36,1);
}
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.delay-1 { transition-delay: .12s; }
.scroll-reveal.delay-2 { transition-delay: .24s; }
.scroll-reveal.delay-3 { transition-delay: .38s; }
.scroll-reveal.delay-4 { transition-delay: .52s; }
.scroll-reveal.delay-5 { transition-delay: .66s; }
.scroll-reveal.delay-6 { transition-delay: .80s; }

/* ── Sticky "Zurück nach oben" Button ── */
#back-to-top {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    z-index: 900;
    width: 44px; height: 44px;
    background: var(--gold);
    color: #080a0e;
    border: none;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, background .2s ease;
    pointer-events: none;
}
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
#back-to-top:hover { background: var(--gold-light); }

/* ── Section-Anker Offset (kein Top-Header mehr → kein Offset nötig) ── */
.section-anchor {
    display: block;
    position: relative;
    top: -1.5rem;
    visibility: hidden;
}

/* ── Nav: aktive Section hervorheben (Sidebar übernimmt das) ── */

/* ── DOTS verstecken (nicht mehr nötig) ── */
#fp-dots,
#fp-arrow-down,
#fp-num,
#fp-progress { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    :root { --pad: 3rem; }
    .slide-inner--split { grid-template-columns: 1fr; gap: 3rem; }
    #s-hero .slide-inner { flex-direction: column; align-items: flex-start; gap: 2.5rem; }
    .hero-right { width: 100%; max-width: 520px; }
    .services-grid  { grid-template-columns: repeat(2, 1fr); }
    .ziel-grid      { grid-template-columns: repeat(2, 1fr); }
    .differenz-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .awards-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --pad: 1.8rem; }
    .fp-feat-bar { padding: .7rem 1rem; }
    .hero-title  { font-size: 2.6rem; }
    .section-title { font-size: 2rem; }
    .services-grid  { grid-template-columns: 1fr; }
    .ziel-grid      { grid-template-columns: 1fr; }
    .differenz-grid { grid-template-columns: 1fr; }
    .awards-grid    { grid-template-columns: 1fr; }
    .rate-cards     { grid-template-columns: 1fr; }
    .form-row       { grid-template-columns: 1fr; }
    #back-to-top    { bottom: 1.2rem; right: 1.2rem; }
    .fp-slide { min-height: auto; padding: 5rem 0 4rem; }
    #s-hero   { min-height: 100vh; padding: 0; }
}

@media (max-width: 480px) {
    .hero-title  { font-size: 2.1rem; }
    .awards-grid { grid-template-columns: 1fr; }
}
