/* ============================================
   GTEHub — Shared Stylesheet (Entwurf 1 Style)
   Navy + Amber · Cormorant Garamond + Jost
   ============================================ */

:root {
  --cream: #faf7f2;
  --warm-white: #f5f0e8;
  --amber-deep: #c17d3c;
  --amber-light: #e8a95c;
  --navy: #1a2744;
  --navy-mid: #243358;
  --navy-dark: #111827;
  --text-dark: #1c1c1c;
  --text-muted: #6b6660;
  --border: #e0d8cc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Jost', sans-serif; background: var(--cream); color: var(--text-dark); }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }

/* HEADER */
header { position: fixed; top: 0; left: 0; width: 100%; background: var(--navy); color: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 50; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
header img { height: 48px; }
nav { display: flex; gap: 1.5rem; }
nav a { color: white; text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
nav a:hover { color: var(--amber-light); }
#hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
#hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: .3s; }
#hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.active span:nth-child(2) { opacity: 0; }
#hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

/* SCROLL ANIMATION */
section { opacity: 0; transform: translateY(30px); transition: all 0.65s ease; scroll-margin-top: 72px; }
section.visible { opacity: 1; transform: translateY(0); }
@media (scripting: none) { section { opacity: 1; transform: none; } }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8rem 2rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(193,125,60,0.18) 0%, transparent 65%), radial-gradient(ellipse at 20% 80%, rgba(193,125,60,0.1) 0%, transparent 50%); }
.hero-icon { position: absolute; font-size: 18rem; opacity: 0.04; color: var(--amber-light); right: -3rem; top: 50%; transform: translateY(-50%); }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-tag { display: inline-block; border: 1px solid var(--amber-light); color: var(--amber-light); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.4rem 1.2rem; border-radius: 100px; margin-bottom: 1.5rem; font-family: 'Jost', sans-serif; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); color: white; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 600; }
.hero h1 em { color: var(--amber-light); font-style: italic; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 560px; margin: 0 auto 2.5rem; font-weight: 300; }

/* STATS BAR */
.stats-bar { background: var(--navy); color: white; padding: 1.5rem 2rem; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat-label { font-size: 0.95rem; font-weight: 600; color: var(--amber-light); font-family: 'Jost', sans-serif; }
.stat-sub { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.2rem; font-family: 'Jost', sans-serif; }

/* BUTTONS */
.btn-primary { background: var(--amber-deep); color: white; padding: 0.9rem 2.2rem; border-radius: 100px; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.05em; text-decoration: none; display: inline-block; transition: 0.3s; font-family: 'Jost', sans-serif; }
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }

/* SECTION HELPERS */
.section-tag { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 0.8rem; font-family: 'Jost', sans-serif; }
.section-title { font-size: 2.6rem; color: var(--navy); margin-bottom: 1.2rem; line-height: 1.2; }
.section-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; }

/* CARDS */
.card { background: white; padding: 2rem; border-radius: 16px; border: 1px solid var(--border); transition: all 0.3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--amber-light); }
.card i { color: var(--amber-deep); font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 0.6rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* APPROACH CARDS */
.approach-card { padding: 2.5rem 2rem; border-radius: 16px; border: 1px solid var(--border); text-align: center; transition: all 0.3s; background: var(--cream); }
.approach-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.07); }
.approach-card i { color: var(--amber-deep); font-size: 2rem; margin-bottom: 1rem; display: block; }
.approach-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 0.7rem; }
.approach-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* HOW WE WORK */
.how-item { text-align: center; }
.how-item i { color: var(--amber-deep); font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
.how-item h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.4rem; }
.how-item p { font-size: 0.85rem; color: var(--text-muted); font-weight: 300; }

/* CTA SECTION */
.cta-section { padding: 5rem 2rem; background: var(--navy); text-align: center; color: white; }
.cta-section .section-tag { color: #c8a97a; }
.cta-section h2 { font-size: 2.8rem; color: white; margin-bottom: 1rem; }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,0.65); font-weight: 300; max-width: 540px; margin: 0 auto 2rem; line-height: 1.8; }

/* BACK BAR */
.back-bar { background: var(--navy-dark); text-align: center; padding: 1.2rem; }
.back-bar a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: 0.2s; font-family: 'Jost', sans-serif; }
.back-bar a:hover { color: var(--amber-light); }

/* FOOTER */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); text-align: center; padding: 1.5rem; font-size: 0.85rem; font-family: 'Jost', sans-serif; }
footer a { color: rgba(255,255,255,0.5); text-decoration: underline; margin-left: 1rem; }
footer a:hover { color: var(--amber-light); }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media(max-width:900px) { .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } .stats-inner { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } nav { display: none; } #hamburger { display: flex; } }

/* GALLERY */
#gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.gallery-item { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; cursor: pointer; transition: all .3s; border: 1px solid var(--border); }
.gallery-item:hover { opacity: 0.88; transform: scale(1.02); }
.filter-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-btn { padding: 0.5rem 1.3rem; background: var(--warm-white); border: 1px solid var(--border); color: var(--navy); border-radius: 100px; font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: 0.25s; font-family: 'Jost', sans-serif; }
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
@media(max-width:768px) { #gallery { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px) { #gallery { grid-template-columns: 1fr; } }

/* LIGHTBOX */
#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 100; display: none; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lb-close { position: absolute; top: 1.2rem; right: 1.5rem; color: white; cursor: pointer; background: rgba(255,255,255,0.1); width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border: none; transition: .2s; }
.lb-close:hover { background: var(--amber-deep); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; cursor: pointer; background: rgba(255,255,255,0.12); width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border: none; transition: .2s; }
.lb-nav:hover { background: var(--amber-deep); }
.lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; }
#lightbox-counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: .85rem; }

/* MARKET CARD */
.market-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.3s; text-decoration: none; display: block; color: var(--text-dark); }
.market-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--amber-light); }
.market-card i { font-size: 2.2rem; color: var(--amber-deep); margin-bottom: 1rem; display: block; }
.market-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 0.4rem; }
.market-card p { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

/* PARTNER VISUAL */
.partner-visual { background: var(--navy); border-radius: 20px; padding: 2.5rem; color: white; text-align: center; }
.partner-visual i { font-size: 4rem; color: var(--amber-light); margin-bottom: 1.2rem; display: block; }
.partner-visual h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.partner-visual p { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 300; line-height: 1.7; }
.partner-badge-pill { display: inline-block; background: var(--amber-deep); color: white; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 100px; margin-top: 1.2rem; font-family: 'Jost', sans-serif; }
.partner-link-item { display: flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.08); padding: 0.6rem 1rem; border-radius: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.85); text-decoration: none; transition: 0.2s; margin-top: 0.5rem; font-family: 'Jost', sans-serif; }
.partner-link-item:hover { background: rgba(193,125,60,0.3); color: white; }
.partner-link-item i { color: var(--amber-light); font-size: 0.85rem; }
.social-link { width: 42px; height: 42px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; text-decoration: none; transition: 0.3s; }
.social-link:hover { background: var(--amber-deep); transform: scale(1.1); }

/* LEGAL / TEXT PAGE */
.text-page { max-width: 860px; margin: 0 auto; padding: 7rem 2rem 4rem; }
.text-page h1 { font-size: 3rem; color: var(--navy); margin-bottom: 0.5rem; }
.text-page .meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2.5rem; letter-spacing: 0.05em; font-family: 'Jost', sans-serif; }
.text-page h2 { font-size: 1.6rem; color: var(--navy); margin: 2rem 0 0.6rem; }
.text-page p, .text-page li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.85; font-weight: 300; margin-bottom: 0.8rem; }
.text-page ul { list-style: disc; padding-left: 1.5rem; }
.text-page a { color: var(--amber-deep); text-decoration: underline; }

/* DIVIDER */
.divider { height: 1px; background: var(--border); margin: 0; }
