/* =========================================================
   GERMAN PATHWAYS — Design System
   Palette drawn from the brand mark: deep Prussian navy,
   antique gold, and the black-red-gold "pathway" tricolor.
   ========================================================= */

:root {
  --navy: #0c1b3f;
  --navy-2: #142a5c;
  --navy-soft: #1e3a72;
  --gold: #c69a3a;
  --gold-light: #e5c878;
  --red: #a3222f;
  --black: #14141a;
  --cream: #faf6ee;
  --paper: #fffdf9;
  --ink: #1b2033;
  --muted: #656c7e;
  --line: #e7e0d2;
  --white: #ffffff;

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-eyebrow: 'Source Sans 3', sans-serif;

  --radius: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(12, 27, 63, 0.07);
  --shadow-md: 0 10px 30px rgba(12, 27, 63, 0.12);
  --shadow-lg: 0 20px 60px rgba(12, 27, 63, 0.18);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink); }
.text-muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-eyebrow);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--black), var(--red) 50%, var(--gold) 100%);
  display: inline-block;
}

/* ---------- Pathway divider (signature element) ---------- */
.pathway-divider {
  height: 4px;
  width: 96px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--black) 0%, var(--black) 30%, var(--red) 30%, var(--red) 63%, var(--gold) 63%, var(--gold) 100%);
  margin: 18px 0 28px;
}
.pathway-divider.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline.light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline.light:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--black);
  color: #cfd3dc;
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #cfd3dc; }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-links { display: flex; gap: 20px; align-items: center; }
.topbar .tb-contact { display: flex; gap: 20px; }
.topbar .tb-contact span { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.lang-switch a { font-weight: 700; letter-spacing: .04em; opacity: .65; }
.lang-switch a.active { opacity: 1; color: var(--gold-light); }
.lang-switch span { color: #555b6a; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 50px; width: auto; flex-shrink: 0; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand .brand-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  white-space: nowrap;
}
.brand .brand-text .name span { color: var(--gold); display: block; }
.brand .brand-text .tag {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.main-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; min-width: 0; }
.mobile-lang-switch, .nav-close, .nav-backdrop { display: none; }
.main-nav > ul { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  font-weight: 600;
  font-size: .82rem;
  color: var(--navy);
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
}
.main-nav a.nav-link:hover { background: rgba(198,154,58,.12); color: var(--navy); }
.main-nav li.active > a.nav-link { color: var(--red); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  border-top: 3px solid var(--gold);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.dropdown a:hover { background: var(--cream); color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, var(--navy-soft), var(--navy) 55%, var(--black) 130%);
  color: var(--white);
  overflow: hidden;
  padding: 76px 0 40px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 16px;
  display: inline-block;
}
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lead { color: #d6dcec; font-size: 1.12rem; max-width: 520px; }
.hero .pathway-divider { background: linear-gradient(90deg, #cfd3dc 0%, #cfd3dc 30%, var(--red) 30%, var(--red) 63%, var(--gold) 63%, var(--gold) 100%); }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 24px 32px; margin-top: 48px; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-light); display: block; }
.hero-stats .stat span { font-size: .82rem; color: #f0f2fa; line-height: 1.35; display: block; }

.hero-art { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-art-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,201,118,0.22) 0%, rgba(230,201,118,0.06) 55%, transparent 75%);
  z-index: 1;
}
.hero-art-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-art-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.hero-art-img {
  position: relative;
  z-index: 3;
  max-width: 72%;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.45));
}

.hero-bottom-fade {
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--cream));
  position: relative;
  z-index: 1;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-2) 60%, var(--navy-soft));
  color: var(--white);
  padding: 60px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .breadcrumbs { font-size: .85rem; color: #b8c0da; margin-bottom: 14px; }
.page-hero .breadcrumbs a { color: var(--gold-light); }
.page-hero p { color: #d6dcec; max-width: 640px; margin-bottom: 0; }
.page-hero .pathway-divider { background: linear-gradient(90deg, #cfd3dc 0%, #cfd3dc 30%, var(--red) 30%, var(--red) 63%, var(--gold) 63%, var(--gold) 100%); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .pathway-divider { margin-left: auto; margin-right: auto; }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #d6dcec; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-light);
}
.card .icon-badge svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card a.card-link { color: var(--red); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }

/* ---------- Visa type tabs ---------- */
.visa-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.visa-tabs button {
  background: none;
  border: none;
  padding: 12px 6px;
  font-weight: 700;
  font-size: .98rem;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-right: 14px;
}
.visa-tabs button.active { color: var(--navy); border-color: var(--gold); }
.visa-panel { display: none; }
.visa-panel.active { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }

.visa-detail { display: grid; grid-template-columns: 1.3fr .9fr; gap: 44px; align-items: start; }
.visa-detail .checklist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 600;
  color: var(--ink);
}
.visa-detail .checklist li:last-child { border-bottom: none; }
.visa-detail .checklist li .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
}
.side-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  position: sticky;
  top: 100px;
}
.side-panel .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.side-panel .row:last-of-type { border-bottom: none; }
.side-panel .row b { color: var(--navy); }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process .step { position: relative; padding-top: 10px; }
.process .step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  opacity: .55;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding: 46px 0;
}
.stats-band .grid-4 { text-align: center; }
.stats-band b { font-family: var(--font-display); font-size: 2.3rem; color: var(--gold-light); display: block; }
.stats-band span { color: #b8c0da; font-size: .88rem; }

/* ---------- Opportunities / listing cards ---------- */
.opp-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.opp-filters select, .opp-filters input {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  min-width: 170px;
}
.opp-list { display: flex; flex-direction: column; gap: 18px; }
.opp-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  transition: box-shadow .2s ease;
}
.opp-card:hover { box-shadow: var(--shadow-md); }
.opp-card .badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(163,34,47,.1);
  color: var(--red);
  margin-bottom: 10px;
}
.opp-card .badge.gold { background: rgba(198,154,58,.15); color: #8a6a1e; }
.opp-card .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.opp-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--gold);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 7px; }
.form-group .req { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: #e7f6ec; color: #1c6b3a; border: 1px solid #b9e3c6; }
.alert-error { background: #fdecec; color: #a3222f; border: 1px solid #f4bcbc; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
}
.testimonial .quote-mark { font-family: var(--font-display); font-size: 3rem; color: var(--gold); opacity: .5; line-height: 0; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-weight: 700; font-family: var(--font-display);
}
.testimonial .who b { display: block; color: var(--navy); font-size: .92rem; }
.testimonial .who span { font-size: .78rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--black));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 54px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--black) 0%, var(--black) 30%, var(--red) 30%, var(--red) 63%, var(--gold) 63%, var(--gold) 100%);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #d6dcec; margin: 0; max-width: 460px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #c9cddb;
  padding: 70px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--black) 0%, var(--black) 30%, var(--red) 30%, var(--red) 63%, var(--gold) 63%, var(--gold) 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 50px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand .name { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); }
.footer-col h4 { color: var(--white); font-family: var(--font-eyebrow); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; font-size: .92rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: #8b91a5;
  flex-wrap: wrap;
  gap: 10px;
}
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--gold); color: var(--black); }

/* ---------- Admin ---------- */
.admin-body { background: #f2f4f8; min-height: 100vh; font-family: var(--font-body); }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px;
  background: var(--navy);
  color: #cfd6ea;
  padding: 26px 18px;
  flex: none;
}
.admin-sidebar .brand { color: var(--white); margin-bottom: 30px; padding: 0 8px;}
.admin-sidebar .brand img { height: 40px; }
.admin-sidebar .brand .name { color: var(--white); font-size: 1.05rem; }
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 4px;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.08); color: var(--gold-light); }
.admin-main { flex: 1; padding: 34px 40px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 16px;}
.admin-topbar h1 { font-size: 1.6rem; margin: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 34px; }
.stat-cards-5 { grid-template-columns: repeat(5, 1fr); }
.stat-card { background: var(--white); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); }
.stat-card b { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); display: block; }
.stat-card span { color: var(--muted); font-size: .85rem; }
.panel { background: var(--white); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.admin-table th { text-align: left; padding: 12px 14px; background: #f5f6fa; color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
table.admin-table td { padding: 12px 14px; border-bottom: 1px solid #eef0f5; vertical-align: top; }
table.admin-table tr:hover td { background: #fbfbfd; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.pill.new { background: #e6f0ff; color: #2952a3; }
.pill.contacted { background: #fff4d9; color: #8a6a1e; }
.pill.in_process { background: #eae2ff; color: #5b34c9; }
.pill.placed, .pill.fulfilled, .pill.active { background: #e2f7e8; color: #1c6b3a; }
.pill.closed { background: #f1f1f4; color: #6b7280; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, var(--navy), var(--black)); padding: 20px; }
.login-card { background: var(--white); width: 400px; max-width: 100%; border-radius: 16px; padding: 40px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); }
.login-card .brand { justify-content: center; margin-bottom: 20px; }
.action-links { display: flex; gap: 10px; }
.action-links a, .action-links button { font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); }
.action-links a.danger, .action-links button.danger { color: var(--red); border-color: #f4bcbc; }
.action-links a:hover { background: var(--cream); }

/* ---------- Floating contact bubble (WhatsApp / Telegram / Call / Email) ---------- */
.contact-bubble-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.bubble-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  position: relative;
  transition: transform .2s ease;
  animation: bubbleIn .4s ease both;
}
.bubble-btn:hover { transform: scale(1.08); }
.bubble-btn svg { width: 28px; height: 28px; }
.bubble-btn.wa { background: #25D366; }
.bubble-btn.tg { background: #229ED9; }
.bubble-btn.call { background: var(--navy); }
.bubble-btn.mail { background: var(--gold); }
.bubble-tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
}
.bubble-btn:hover .bubble-tooltip { opacity: 1; visibility: visible; right: 68px; }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }

/* ---------- Google Translate widget cleanup (kept invisible; we drive it via our own EN/DE buttons) ---------- */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget-icon { display: none !important; }
#google_translate_element { display: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.skiptranslate iframe { display: none !important; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.text-center{text-align:center}
.flex{display:flex} .items-center{align-items:center} .justify-between{justify-content:space-between} .gap-10{gap:10px}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .brand .brand-text .tag { display: none; }
}

@media (max-width: 1300px) {
  .main-nav a.nav-link { padding: 12px 8px; font-size: .8rem; }
  .header-cta .btn span.hide-mobile { display: none; }
}

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .visa-detail { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(12,27,63,.45); z-index: 499; opacity: 0; transition: opacity .3s ease; }
  .nav-backdrop.open { display: block; opacity: 1; }
  .main-nav { position: fixed; top: 0; right: -100%; width: 82%; max-width: 340px; height: 100vh; background: var(--white); flex-direction: column; align-items: stretch; padding: 76px 24px 30px; transition: right .3s ease; box-shadow: var(--shadow-lg); overflow-y: auto; z-index: 500; }
  .main-nav.open { right: 0; }
  .nav-close {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--cream); border: none; color: var(--navy);
    font-size: 1rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }
  .nav-close:hover { background: var(--gold-light); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li:last-child { border-bottom: none; }
  .main-nav a.nav-link { padding: 14px 4px; font-size: .95rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; border-top: none; border-left: 2px solid var(--gold); margin: 0 0 8px 10px; padding-left: 4px; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open > a.nav-link { color: var(--red); }
  .menu-toggle { display: flex; }
  .mobile-lang-switch {
    display: flex; align-items: center; gap: 10px;
    margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
  }
  .mobile-lang-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
  .mobile-lang-switch a { font-weight: 700; font-size: .88rem; color: var(--muted); padding: 6px 12px; border-radius: 20px; border: 1px solid var(--line); }
  .mobile-lang-switch a.active { color: var(--white); background: var(--navy); border-color: var(--navy); }
  .header-cta .btn span.hide-mobile { display: none; }
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-art { height: 220px; order: -1; overflow: hidden; margin-bottom: 8px; }
  .hero-art-img { max-height: 190px; max-width: 80%; }
  .form-grid { grid-template-columns: 1fr; }
  .visa-detail { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; text-align: center; justify-content: center; }
  .cta-band p { margin: 0 auto; }
  .admin-sidebar { position: fixed; left: -260px; top: 0; height: 100vh; z-index: 400; transition: left .25s ease; }
  .admin-sidebar.open { left: 0; }
  .admin-main { padding: 24px 18px; }
  .admin-menu-toggle { display: inline-flex !important; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .contact-bubble-stack { right: 14px; bottom: 14px; gap: 10px; }
  .bubble-btn { width: 48px; height: 48px; }
  .bubble-btn svg { width: 24px; height: 24px; }
  .bubble-tooltip { display: none; }
  section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .opp-card { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; }
  .stats-band .grid-4 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .form-card { padding: 26px; }
  .stat-cards { grid-template-columns: 1fr; }
  table.admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}
