/* ============================================
   kobeinvest GmbH - Visitenkarten-Website
   Design: Full-Page Images, Alpine, Investment
   ============================================ */

/* --- Self-hosted Fonts (DSGVO-konform) --- */

/* Inter - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter - latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display - latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/playfair-display-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display - latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/playfair-display-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display italic - latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url(fonts/playfair-display-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display italic - latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url(fonts/playfair-display-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --gold: #5b9bd5;
    --gold-light: #89bee0;
    --gold-dark: #3a7bbf;
    --white: #ffffff;
    --off-white: #f5f2ed;
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.5);

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow: hidden;
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--white);
    display: block;
    margin-bottom: 32px;
}

.loader-bar {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--gold);
    animation: load-progress 2s var(--ease) forwards;
}

@keyframes load-progress {
    to { width: 100%; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 48px;
    mix-blend-mode: difference;
    transition: padding 0.4s var(--ease);
}

.nav.scrolled {
    padding: 18px 48px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--white);
    transition: opacity 0.3s;
}

.nav-logo span {
    font-weight: 600;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    transition: opacity 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.4s var(--ease);
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   SECTION DOTS
   ============================================ */
.section-dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 16px;
    mix-blend-mode: difference;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    padding: 0;
}

.dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    border-color: var(--white);
}

/* ============================================
   FULLPAGE SECTIONS
   ============================================ */
/* Fullpage Scroll Container */
.fullpage-wrapper {
    position: fixed;
    inset: 0;
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
}

.fullpage-wrapper.no-transition {
    transition: none;
}

.fullpage-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Background Image */
.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 8s var(--ease-out);
    filter: saturate(0.6) brightness(0.9) contrast(1.1) hue-rotate(10deg);
}

.fullpage-section.in-view .section-img {
    transform: scale(1);
}

/* Overlays */
.section-overlay {
    position: absolute;
    inset: 0;
}

.overlay-dark {
    background: rgba(0, 0, 0, 0.45);
}

.overlay-dark-strong {
    background: rgba(0, 0, 0, 0.6);
}

.overlay-gradient-left {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 100%
    );
}

.overlay-gradient-right {
    background: linear-gradient(270deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 100%
    );
}

.overlay-gradient-bottom {
    background: linear-gradient(0deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        transparent 100%
    );
}

/* Section Content Positioning */
.section-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 120px 80px 80px;
}

.content-left {
    justify-content: center;
    align-items: flex-start;
    max-width: 600px;
}

.content-right {
    justify-content: center;
    align-items: flex-end;
    padding-left: 50%;
}

.content-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content-center-bottom {
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 100px;
}

/* ============================================
   HERO
   ============================================ */
.hero-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0;
}

.title-line {
    display: block;
    font-size: clamp(4rem, 12vw, 10rem);
    letter-spacing: 0.05em;
    color: var(--white);
}

.title-accent {
    font-weight: 700;
    color: var(--gold);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 40px 0;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 1.8;
    color: var(--text-light);
}

/* Scroll Cue */
.scroll-cue {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-cue span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scroll-pulse 2s infinite ease-in-out;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   TEXT BLOCKS
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}

.section-title em {
    font-style: italic;
    color: var(--gold-light);
}

.section-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 16px;
    max-width: 480px;
}

.text-block {
    max-width: 520px;
}

/* ============================================
   FOCUS GRID
   ============================================ */
.focus-grid {
    text-align: center;
    width: 100%;
    max-width: 1100px;
}

.focus-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
}

.focus-item {
    padding: 48px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s var(--ease);
}

.focus-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateY(-4px);
}

.focus-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.focus-item h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.focus-item p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================
   VALUES
   ============================================ */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.value-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-top: 12px;
    flex-shrink: 0;
    opacity: 0.6;
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.value-item p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-block {
    max-width: 600px;
}

.contact-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 40px auto;
    opacity: 0.5;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact-card h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s var(--ease);
}

.contact-link:hover {
    border-color: var(--gold);
    background: rgba(91, 155, 213, 0.05);
}

.contact-link-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-link-value {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px 48px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ============================================
   IMPRESSUM
   ============================================ */
.impressum-section {
    background: var(--black);
}

.impressum-block {
    max-width: 720px;
    text-align: left;
}

.impressum-block .section-title {
    margin-bottom: 48px;
}

.impressum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 48px;
    margin-bottom: 48px;
}

.impressum-item h4 {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.impressum-item p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
}

.impressum-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}

.impressum-back:hover {
    color: var(--gold);
    gap: 12px;
}

/* Datenschutz scrollable area */
.datenschutz-block {
    max-width: 760px;
}

.datenschutz-block .section-title {
    margin-bottom: 32px;
}

.datenschutz-scroll {
    max-height: calc(100vh - 380px);
    overflow-y: auto;
    padding-right: 16px;
    margin-bottom: 32px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) transparent;
}

.datenschutz-scroll::-webkit-scrollbar {
    width: 4px;
}

.datenschutz-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.datenschutz-scroll::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
}

.ds-section {
    margin-bottom: 28px;
}

.ds-section h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
}

.ds-section p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .section-content {
        padding: 100px 48px 60px;
    }

    .content-right {
        padding-left: 48px;
        align-items: flex-start;
    }

    .focus-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
    }

    .focus-item {
        padding: 32px 24px;
    }

    .section-dots {
        right: 20px;
    }
}

@media (max-width: 768px) {
    html {
        overflow: auto;
        height: auto;
        scroll-snap-type: y proximity;
    }

    body {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .fullpage-wrapper {
        position: relative;
        transition: none;
        transform: none !important;
    }

    .fullpage-section {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        scroll-snap-align: start;
    }

    .nav {
        padding: 20px 24px;
    }

    .nav.scrolled {
        padding: 14px 24px;
    }

    .nav-links {
        display: none;
    }

    .section-dots {
        display: none;
    }

    .section-content {
        padding: 80px 24px 48px;
        height: auto;
        min-height: 100vh;
    }

    .content-left,
    .content-right {
        align-items: flex-start;
        padding-left: 24px;
        max-width: 100%;
    }

    .content-right {
        padding-left: 24px;
    }

    .hero-title .title-line {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .focus-items {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .focus-item {
        padding: 28px 24px;
    }

    .content-center-bottom {
        justify-content: center;
        padding-bottom: 48px;
    }

    .footer {
        position: relative;
        padding: 20px 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .text-block {
        max-width: 100%;
    }

    .impressum-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .impressum-block,
    .datenschutz-block {
        max-width: 100%;
        width: 100%;
    }

    .datenschutz-scroll {
        max-height: calc(100vh - 300px);
    }

    .contact-block {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-text {
        font-size: 0.9rem;
    }

    .contact-link {
        padding: 16px 32px;
    }
}
