/* ===== FONTS (self-hosted, DSGVO) ===== */
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans-Regular.woff2') format('woff2'), url('/fonts/DMSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans-Medium.woff2') format('woff2'), url('/fonts/DMSans-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans-Bold.woff2') format('woff2'), url('/fonts/DMSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces-SemiBold.woff2') format('woff2'), url('/fonts/Fraunces-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

/* ===== CSS VARIABLES ===== */
:root {
  --frost-50: #eff6ff; --frost-100: #dbeafe; --frost-200: #bfdbfe;
  --frost-300: #7bbfff; --frost-400: #4a9fe8; --frost-500: #1a7ce6;
  --frost-600: #0d5fb8; --frost-700: #0a4a8f;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
  --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
  --slate-600: #475569; --slate-800: #1e293b; --slate-900: #0f172a;
  --emerald-500: #10b981; --emerald-600: #059669; --emerald-700: #047857;
  --amber-500: #f59e0b;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.7;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; line-height: 1.3; }
a { color: var(--frost-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-200); padding: 12px 0; position: sticky; top: 0; z-index: 100; }
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; color: var(--slate-900); }
.nav-logo span { color: var(--frost-600); }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { color: var(--slate-500); font-size: 0.85rem; font-weight: 500; }
.nav-links a:hover { color: var(--frost-600); text-decoration: none; }
.nav-cta { background: var(--frost-600); color: #fff !important; padding: 7px 16px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; }
.nav-cta:hover { background: var(--frost-700); text-decoration: none !important; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 12px 0; font-size: 0.85rem; color: var(--slate-400); }
.breadcrumb a { color: var(--slate-500); }
.breadcrumb span { margin: 0 6px; }

/* ===== HERO (shared base) ===== */
.hero { background: linear-gradient(135deg, var(--slate-900) 0%, #0B1D3A 50%, #0D2847 100%); color: #fff; padding: 64px 0 80px; }
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--frost-300); }
.hero-sub { font-size: 1.1rem; color: var(--slate-400); max-width: 700px; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 680px; }
.hero-stat { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 20px; text-align: center; }
.hero-stat-value { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; color: var(--frost-300); }
.hero-stat-label { font-size: 0.85rem; color: var(--slate-400); margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section-alt { background: #fff; }
.section h2 { font-size: 1.8rem; margin-bottom: 16px; }
.section-intro { font-size: 1.05rem; color: var(--slate-500); margin-bottom: 32px; max-width: 720px; }

/* ===== CTA ===== */
.cta-btn { display: inline-block; background: var(--frost-600); color: #fff; padding: 14px 36px; border-radius: 10px; font-weight: 700; font-size: 1.05rem; }
.cta-btn:hover { background: var(--frost-700); color: #fff; text-decoration: none; }
.cta-section { background: linear-gradient(135deg, var(--slate-900), #0D2847); color: #fff; padding: 64px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: var(--slate-400); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== WHATSAPP STICKY ===== */
.wa-sticky { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 99; transition: transform 0.2s; }
.wa-sticky:hover { transform: scale(1.1); text-decoration: none; }
.wa-sticky svg { width: 28px; height: 28px; fill: #fff; }

/* ===== FOOTER (full version) ===== */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer h4, .footer .footer-title { color: #fff; font-size: 0.95rem; margin-bottom: 12px; font-family: 'DM Sans', sans-serif; display: block; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--slate-400); font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.85rem; }
/* Simple footer variant (legal pages) */
.footer-simple { background: var(--slate-900); color: var(--slate-400); padding: 32px 0; text-align: center; font-size: 0.85rem; }
.footer-simple a { color: var(--slate-400); }

/* ===== INSIDER TIP ===== */
.insider-tip { background: linear-gradient(135deg, var(--frost-50), #f0f0ff); border-left: 4px solid var(--frost-500); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 32px 0; }
.insider-tip-title { font-weight: 700; color: var(--frost-600); margin-bottom: 6px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ===== TABLES (shared base) ===== */
.table-wrap { overflow-x: auto; margin-bottom: 32px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
thead { background: var(--slate-900); color: #fff; }
th { padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 14px 16px; border-bottom: 1px solid var(--slate-100); font-size: 0.95rem; }
tr:last-child td { border-bottom: none; }
tr:hover { background: #f8fafc; }
.salary-highlight { font-weight: 700; color: var(--frost-600); }

/* ===== LEGAL PAGE CONTENT ===== */
.content { padding: 48px 0 80px; }
.content h1 { font-size: 2rem; margin-bottom: 12px; }
.content h2 { font-size: 1.3rem; margin-top: 32px; margin-bottom: 12px; }
.content h3 { font-size: 1.1rem; margin-top: 20px; margin-bottom: 8px; }
.content p, .content li { color: var(--slate-500); margin-bottom: 12px; }
.content ul { padding-left: 20px; margin-bottom: 12px; }
.update-date { color: var(--slate-400); font-size: 0.9rem; margin-bottom: 32px; }

/* ===== NAV BACK LINK (legal pages) ===== */
.nav-back { color: var(--slate-500); font-size: 0.9rem; }

/* ===== FOOTER CONTAINER MAX-WIDTH (legal pages) ===== */
.footer-container-wide { max-width: 1120px; }

/* ===== LINK DISTINGUISHABILITY ===== */
p a, .section-intro a, .content a, li a:not(.nav-cta):not(.city-link):not(.card):not(.cta-btn) { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .nav-links { display: none; }
  .section { padding: 40px 0; }
}
