/*
Theme Name:  Folgis Elementor
Description: Luxury investment holding theme — designed for Elementor visual editing.
Version:     1.0.0
Author:      Folgis Holding GmbH
Text Domain: folgis
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:           #F7F7F9;
  --card:         #FFFFFF;
  --text:         #111111;
  --muted:        #666666;
  --accent:       #C5A059;
  --accent-light: #E8D5A8;
  --dark:         #0A0A0C;
  --border:       #EBEBEB;
  --r:            24px;
  --shadow:       0 10px 40px rgba(0,0,0,0.03);
  --ease:         cubic-bezier(0.19,1,0.22,1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg) !important; color: var(--text); font-family: 'Inter', sans-serif; font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* Strip Elementor default padding */
.elementor-section .elementor-container { max-width: 1320px !important; }
.elementor-widget-wrap { padding: 0 !important; }
.e-con-inner { max-width: 1320px !important; }

/* ── ANIMATION ──────────────────────────────────────────────── */
.gs-fade-up { opacity: 0; transform: translateY(36px); }

/* ── NAV ────────────────────────────────────────────────────── */
#folgis-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  padding: 0 5%; height: 68px;
  display: flex; align-items: center;
  background: rgba(247,247,249,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(235,235,235,0.7);
  transition: background 0.4s ease;
}
#folgis-nav.scrolled { background: rgba(247,247,249,0.97); }
.nav-inner { max-width: 1320px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.nav-logo .gold { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 20px; border: 1px solid var(--text); border-radius: 100px; color: var(--text); transition: all 0.5s var(--ease); }
.nav-cta:hover { background: var(--text); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.2rem,5.5vw,6.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; }
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--muted); max-width: 400px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-img-wrap { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.10); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s var(--ease); }
.hero-img-wrap:hover img { transform: scale(1.04); }
.hero-badge { position: absolute; bottom: 28px; left: 28px; background: rgba(255,255,255,0.88); backdrop-filter: blur(16px); border: 1px solid rgba(235,235,235,0.8); border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.hero-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 500; color: var(--accent); line-height: 1; }
.hero-badge-label { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 28px; border-radius: 100px; border: 1px solid var(--text); transition: all 0.6s var(--ease); white-space: nowrap; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 0.4s; display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost:hover { color: var(--text); }
.btn-gold { display: inline-flex; align-items: center; gap: 12px; background: var(--accent); color: #0A0A0C; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 18px 40px; border-radius: 100px; border: 1px solid var(--accent); transition: all 0.6s var(--ease); }
.btn-gold:hover { background: transparent; color: var(--accent); box-shadow: 0 0 40px rgba(197,160,89,0.2); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--border); color: var(--text); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 22px; border-radius: 100px; transition: all 0.6s var(--ease); }
.btn-outline:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-back { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; margin-bottom: 24px; }
.btn-back:hover { color: var(--text); }

/* ── SECTION LABELS ─────────────────────────────────────────── */
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--accent); }

/* ── BENTO CARD ─────────────────────────────────────────────── */
.bento-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.07); }

/* ── STATS ──────────────────────────────────────────────────── */
.stats-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.stat-item { background: var(--card); padding: clamp(2rem,3vw,3.5rem); display: flex; flex-direction: column; gap: 10px; transition: background 0.4s; }
.stat-item:hover { background: #FAFAFA; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem,4.5vw,5rem); font-weight: 400; color: var(--accent); line-height: 1; }
.stat-label { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0.02em; }
.stat-divider { display: block; width: 24px; height: 1px; background: var(--accent-light); margin-top: 4px; }

/* ── STRATEGY ───────────────────────────────────────────────── */
.strategy-card { padding: 36px; }
.strategy-card-icon { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); }
.strategy-card-title { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.strategy-card-value { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; line-height: 1.2; color: var(--text); }
.strategy-card-desc { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.7; }

/* ── MANAGEMENT ─────────────────────────────────────────────── */
.management-card { background: var(--card); border: 1px solid var(--border); border-radius: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 45% 55%; overflow: hidden; transition: box-shadow 0.6s var(--ease); }
.management-card:hover { box-shadow: 0 30px 80px rgba(0,0,0,0.08); }
.mgmt-img-wrap { position: relative; min-height: 520px; overflow: hidden; }
.mgmt-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: filter 0.8s var(--ease), transform 8s var(--ease); }
.management-card:hover .mgmt-img-wrap img { filter: grayscale(0%); transform: scale(1.03); }
.mgmt-img-overlay { position: absolute; inset: 0; background: linear-gradient(to right, transparent 70%, var(--card) 100%); }
.mgmt-content { padding: clamp(3rem,4vw,5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.mgmt-label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.mgmt-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem,3.5vw,4rem); font-weight: 300; line-height: 1.1; color: var(--text); }
.mgmt-role { font-size: 13px; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.mgmt-bio { font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--muted); }
.mgmt-divider { width: 40px; height: 1px; background: var(--border); }
.linkedin-btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); color: var(--text); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 24px; border-radius: 100px; transition: all 0.6s var(--ease); width: fit-content; background: transparent; }
.linkedin-btn:hover { background: var(--text); border-color: var(--text); color: #fff; }

/* ── PORTFOLIO ──────────────────────────────────────────────── */
.portfolio-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; gap: 2rem; }
.portfolio-list { display: flex; flex-direction: column; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.portfolio-row { display: grid; grid-template-columns: 80px 1fr 1.5fr 40px; align-items: center; gap: 1.5rem; padding: 28px 32px; background: var(--card); position: relative; overflow: hidden; transition: background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease); text-decoration: none; color: inherit; }
.portfolio-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.portfolio-row:hover::before { transform: scaleY(1); }
.portfolio-row:hover { background: #FAFAFA; transform: translateX(6px); box-shadow: 0 4px 30px rgba(0,0,0,0.04); }
.portfolio-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--accent-light); }
.portfolio-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: var(--text); }
.portfolio-sector { display: flex; align-items: center; gap: 16px; }
.portfolio-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 5px 12px; border: 1px solid var(--border); border-radius: 100px; }
.portfolio-desc { font-size: 13px; color: var(--muted); font-weight: 300; }
.portfolio-arrow { color: var(--accent-light); transition: color 0.4s, transform 0.4s var(--ease); display: flex; align-items: center; justify-content: flex-end; }
.portfolio-row:hover .portfolio-arrow { color: var(--accent); transform: translateX(4px); }

/* ── PORTFOLIO SINGLE ───────────────────────────────────────── */
.company-meta { display: flex; flex-direction: column; gap: 12px; }
.company-meta-item { padding: 24px 28px; }
.company-meta-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.company-meta-value { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; line-height: 1.2; color: var(--text); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.status-text { font-size: 13px; font-weight: 500; color: var(--text); }

/* ── NEWS / BLOG ────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { overflow: hidden; text-decoration: none; color: inherit; display: block; }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 28px 32px; }
.news-card-cat { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.news-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: var(--text); margin-bottom: 12px; }
.news-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── FOOTER CTA ─────────────────────────────────────────────── */
#footer-cta { background: var(--dark); padding: clamp(8rem,12vw,15rem) 5%; text-align: center; position: relative; overflow: hidden; }
.footer-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3rem; }
.footer-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.footer-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem,5vw,6rem); font-weight: 300; line-height: 1.1; color: #fff; }
.footer-headline em { color: var(--accent); font-style: italic; }
.footer-sub { font-size: 15px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.45); max-width: 480px; }

/* ── SITE FOOTER ────────────────────────────────────────────── */
#site-footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 28px 5%; }
.footer-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.footer-logo .gold { color: var(--accent); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.25); transition: color 0.3s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.contact-icon { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.contact-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-value { font-size: 15px; font-weight: 400; color: var(--text); }
.contact-value a:hover { color: var(--accent); }
/* WPForms overrides */
.wpforms-form label, .wpcf7 label { font-size: 11px !important; font-weight: 500 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; color: var(--muted) !important; display: block !important; margin-bottom: 6px !important; }
.wpforms-form input[type=text], .wpforms-form input[type=email], .wpforms-form textarea, .wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea { width: 100% !important; background: var(--bg) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; padding: 13px 16px !important; font-family: 'Inter', sans-serif !important; font-size: 14px !important; color: var(--text) !important; outline: none !important; box-shadow: none !important; transition: border-color 0.3s !important; }
.wpforms-form input:focus, .wpforms-form textarea:focus, .wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--accent) !important; }
.wpforms-submit, input[type=submit] { background: var(--text) !important; color: #fff !important; font-family: 'Inter', sans-serif !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; padding: 14px 32px !important; border-radius: 100px !important; border: 1px solid var(--text) !important; transition: all 0.6s var(--ease) !important; }
.wpforms-submit:hover, input[type=submit]:hover { background: var(--accent) !important; border-color: var(--accent) !important; }

/* ── VALUES ─────────────────────────────────────────────────── */
.value-card { padding: 40px; }
.value-num { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.value-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 400; margin-bottom: 12px; color: var(--text); }
.value-desc { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ── INNER PAGE TEXT ────────────────────────────────────────── */
.page-intro { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--muted); max-width: 600px; }
.page-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.5rem,6vw,7rem); font-weight: 300; line-height: 1.05; color: var(--text); }
.page-title em { color: var(--accent); font-style: italic; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(247,247,249,0.97); backdrop-filter: blur(20px); padding: 20px 5% 28px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .management-card { grid-template-columns: 1fr; }
  .mgmt-img-wrap { min-height: 360px; }
  .mgmt-img-overlay { background: linear-gradient(to bottom, transparent 70%, var(--card) 100%) !important; }
  .stats-inner { grid-template-columns: 1fr; }
  .portfolio-row { grid-template-columns: 60px 1fr 40px; }
  .portfolio-sector { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
}
@media (max-width: 600px) {
  .portfolio-header { flex-direction: column; align-items: flex-start; }
}
