/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* CI v2 token mapping — PRJ-04 SSOT */
    --primary: var(--h2t-brand-cyan);       /* Pacific Cyan #009cad */
    --secondary: var(--h2t-jet-black);      /* Jet Black #2e3a43 */
    --accent: var(--h2t-brand-cyan);
    --accent-bright: var(--h2t-cta-pink);   /* Bubblegum Pink #f1626c (functional only) */

    --cta: var(--h2t-cta-pink);
    --gold: var(--h2t-cta-pink); /* alias — no gold in CI */

    --text-light: #ffffff;
    --text-dark: var(--h2t-text);
    --gray: rgba(46, 58, 67, 0.72);         /* Jet Black alpha */
    --light-gray: color-mix(in srgb, var(--h2t-bg) 55%, #ffffff 45%);
    --border: var(--h2t-border);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--h2t-font);
    line-height: 1.6;
    color: var(--h2t-text);
    background: var(--h2t-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* CI fix: was rgba(26,26,46) — dark navy off-brand. Now Coffee Bean #221f20 */
    background: rgba(34, 31, 32, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    /* Original logo — kein Filter */
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.5));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1100;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.language-switcher select {
    background: var(--secondary);
    color: var(--text-light);
    border: 1px solid var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.language-switcher select:hover {
    background: var(--accent);
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    min-height: 55vh;
    /* CI fix: gradient Pacific Cyan → Jet Black (both primary CI colors) */
    background: linear-gradient(135deg, var(--h2t-brand-cyan) 0%, var(--h2t-jet-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-image .image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.3);
}

.image-placeholder span {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.photo-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 0 2rem;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.92);
    font-weight: 300;
}

.hero-cta {
    margin-top: 40px;
}

/* Intro Section */
.intro-section {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.intro-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.intro-lead {
    font-size: 1.3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--gray);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    color: var(--h2t-brand-cyan);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Services Section */
.services-section {
    padding: 6rem 2rem;
    background: white;
}

.services-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.service-card.buyer::before {
    background: var(--accent-bright);
}

.service-card.seller::before {
    background: var(--gold);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
}

.service-header h3 {
    font-size: 1.6rem;
    color: var(--primary);
}

.badge {
    background: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.service-card.seller .badge {
    background: var(--gold);
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.service-cta {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-bright);
}

.service-card.seller .service-cta {
    border-left-color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-bright);
    color: white;
    border-color: var(--accent-bright);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 130, 184, 0.3);
}

.btn-secondary {
    /* CI fix: secondary button = Jet Black (not gold) */
    background: var(--h2t-jet-black);
    color: white;
    border-color: var(--h2t-jet-black);
}

.btn-secondary:hover {
    background: var(--h2t-coffee-bean);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 31, 32, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

/* Assets Section */
.assets-section {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.assets-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-intro {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.asset-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.asset-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.asset-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr;
}

.asset-image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--light-gray);
}

.asset-card.featured .asset-image {
    aspect-ratio: auto;
}

.asset-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.asset-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.asset-details {
    padding: 1.5rem;
}

.asset-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.asset-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 0.9rem;
}

.asset-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.asset-highlights li {
    padding: 0.3rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.asset-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.price-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.assets-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.assets-cta p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.published-assets {
    margin-top: 4rem;
}

.published-assets-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.public-assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.public-asset-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-asset-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.public-asset-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.public-asset-code {
    font-weight: 700;
    color: var(--primary);
}

.public-status-pill {
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.public-asset-card h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--primary);
}

.public-asset-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.public-asset-button {
    margin-top: 0.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.65rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.public-asset-button:hover {
    background: var(--accent);
    color: #fff;
}

.public-assets-message {
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    background: rgba(0,0,0,0.02);
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: white;
}

.contact-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-person {
    text-align: center;
}

.person-image .image-placeholder {
    width: 250px;
    height: 250px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 4px solid var(--accent);
}

.contact-person h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.person-role {
    /* CI fix: role text = Pacific Cyan accent */
    color: var(--h2t-brand-cyan);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.contact-item:hover {
    background: var(--accent-bright);
    color: white;
    transform: translateX(5px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-form-wrapper h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-bright);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    /* CI fix: footer background = Coffee Bean (dark, professional) — not brand cyan */
    background: var(--h2t-coffee-bean);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    /* CI fix: footer headings = Pacific Cyan on dark background */
    color: var(--h2t-brand-cyan);
}

.footer-col p {
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--h2t-brand-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.legal-note {
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* ============================================================
   Hamburger Button
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .asset-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        right: 0;
        bottom: 0;
        background: rgba(34, 31, 32, 0.98);
        padding: 80px 2rem 2rem;
        gap: 0;
        z-index: 1050;
        overflow-y: auto;
        list-style: none;
    }

    .nav-links.is-open {
        display: flex !important;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .assets-grid {
        grid-template-columns: 1fr;
    }

    .intro-section h2,
    .services-section h2,
    .assets-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .language-switcher {
        display: block;
        margin-top: 12px;
    }
    .language-switcher select {
        width: 100%;
        padding: 10px 14px;
        font-size: 1rem;
    }
    .nav-right {
        z-index: 1100;
        position: relative;
    }
}

/* ─── Asset Class Cards ───────────────────────────────────────────────────── */

.asset-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.asset-class-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.asset-class-card:hover {
    box-shadow: 0 4px 20px rgba(0,156,173,0.15);
    border-color: #009cad;
    transform: translateY(-2px);
}

.asset-class-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.asset-class-icon svg {
    width: 100%;
    height: 100%;
}

.asset-class-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.asset-class-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2e3a43;
    margin: 0 0 8px 0;
}

.asset-class-body p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 16px 0;
    flex: 1;
}

.btn-class-cta {
    display: inline-block;
    padding: 8px 16px;
    background: #009cad;
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    align-self: flex-start;
}

.btn-class-cta:hover {
    background: #007a8a;
}

.more-classes-wrap {
    overflow: hidden;
}

.more-classes-wrap.hidden {
    display: none;
}

.assets-more-btn-wrap {
    margin-top: 24px;
}

.section-lead {
    color: #555;
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .asset-classes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .asset-classes-grid {
        grid-template-columns: 1fr;
    }
}

.asset-class-card.active-filter {
    border: 2px solid #009cad;
    box-shadow: 0 4px 16px rgba(0,156,173,0.2);
}
